Method and device for calculating labor cost of product, computer equipment and storage medium
1. A method for calculating human costs of a product, the method comprising:
acquiring a target engineering bill of material (EBOM), a target process bill of material (PPBOM) and a target manufacturing bill of material (MBOM) corresponding to a target product;
searching product design human resource data corresponding to a target EBOM in a pre-stored human resource database, and calculating the product design human resource consumption of the target product based on the product design human resource data;
searching process design human resource data corresponding to the target PPBOM in the human resource database, and calculating the process design human resource consumption of the target product based on the process design human resource data;
searching process implementation human resource data corresponding to a target MBOM in the human resource database, and calculating process implementation human resource loss of the target product based on the process implementation human resource data;
and determining the actual production labor cost of the target product according to the product design labor loss, the process design labor loss and the process implementation labor loss.
2. The method of claim 1, wherein the step of searching the pre-stored human resources database for product design human resources data corresponding to a target EBOM and calculating the product design human resources loss of the target product based on the product design human resources data comprises:
determining a target part designer of each target product part of the target product in the human resource database according to the design incidence relation between different product parts and different part designers recorded by the human resource database;
searching the manpower cost and the part design duration of each target part designer in unit time when designing the corresponding target product part at the manpower resource database;
aiming at each target product part under the target product, calculating the part design labor cost of the target product part according to the labor cost per unit time and the part design duration of a target part designer corresponding to the target product part;
and adding the part design labor cost of each part of all the target products under the target products to obtain the product design labor loss of the target products.
3. The method of claim 1, wherein the step of searching the human resources database for process design human resources data corresponding to a target PPBOM and calculating process design human consumption of the target product based on the process design human resources data comprises:
determining a target process designer of the part manufacturing process of each target product part under the target product recorded by the target PPBOM at the human resource database according to the design incidence relation between the part manufacturing process of different product parts recorded by the human resource database and different process designers;
searching the human resource database for the unit time human cost and the process design duration of each target process designer when designing the part manufacturing process of the corresponding target product part;
aiming at each target product part under the target product, calculating the process design labor cost of the target product part according to the unit time labor cost and the process design duration of a target process designer corresponding to the target product part;
and adding the respective process design labor costs of all target product parts under the target product to obtain the process design labor loss of the target product.
4. The method according to any one of claims 1-3, wherein the step of searching the human resources database for process implementation human resources data corresponding to the target MBOM and calculating the process implementation human resources loss of the target product based on the process implementation human resources data comprises:
determining a target process implementer of the part manufacturing process of each target product part under the target product recorded by the target MBOM at the human resource database according to the implementation incidence relation between the part manufacturing process of different product parts recorded by the human resource database and different process implementers;
searching the human resource database for the unit time human cost and the process implementation duration of each target process implementer when implementing the part manufacturing process of the corresponding target product part;
aiming at each target product part under the target product, calculating the process implementation labor cost of the target product part according to the unit time labor cost and the process implementation duration of a target process implementation personnel corresponding to the target product part;
and adding the respective process implementation labor costs of all target product parts under the target product to obtain the process implementation labor loss of the target product.
5. A product human cost calculation apparatus, the apparatus comprising:
the product bill of material acquisition module is used for acquiring a target engineering bill of material EBOM, a target process bill of material PPBOM and a target manufacturing bill of material MBOM corresponding to a target product;
the product design manpower calculation module is used for searching product design manpower resource data corresponding to the target EBOM in a prestored manpower resource database and calculating the product design manpower loss of the target product based on the product design manpower resource data;
the process design human resource calculation module is used for searching process design human resource data corresponding to the target PPBOM in the human resource database and calculating the process design human resource loss of the target product based on the process design human resource data;
the process implementation human resource calculation module is used for searching process implementation human resource data corresponding to the target MBOM in the human resource database and calculating the process implementation human resource loss of the target product based on the process implementation human resource data;
and the product production manpower calculation module is used for determining the actual production manpower cost of the target product according to the product design manpower loss, the process design manpower loss and the process implementation manpower loss.
6. The apparatus of claim 5, wherein the product design human calculation module comprises:
the part designer determining sub-module is used for determining a target part designer of each target product part of the target product at the human resource database according to the design incidence relation between different product parts and different part designers recorded by the human resource database;
the part design information searching submodule is used for searching the labor cost per unit time and the part design duration of each target part designer when designing the corresponding target product part at the human resource database;
the part design cost calculation submodule is used for calculating the part design labor cost of the target product part according to the unit time labor cost and the part design duration of a target part designer corresponding to the target product part aiming at each target product part under the target product;
and the product design loss calculation submodule is used for performing addition operation on the part design labor cost of each of all target product parts under the target product to obtain the product design labor loss of the target product.
7. The apparatus of claim 5, wherein the process design human calculation module comprises:
a process designer determining submodule, configured to determine, according to a design association relationship between part manufacturing processes of different product parts recorded in the human resource database and different process designers, a target process designer of the part manufacturing process of each target product part under the target product recorded in the target PPBOM at the human resource database;
the process design information searching submodule is used for searching the labor cost per unit time and the process design duration of each target process designer when designing the part manufacturing process of the corresponding target product part at the manpower resource database;
the process design cost calculation submodule is used for calculating the process design labor cost of the target product part according to the unit time labor cost and the process design duration of a target process designer corresponding to the target product part aiming at each target product part under the target product;
and the process design loss calculation submodule is used for performing addition operation on the respective process design labor cost of all target product parts under the target product to obtain the process design labor loss of the target product.
8. The apparatus of any one of claims 5-7, wherein the process implementation human calculation module comprises:
a process implementer determination sub-module, configured to determine, according to implementation association relationships between part manufacturing processes of different product parts recorded in the human resource database and different process implementers, a target process implementer of the part manufacturing process of each target product part under the target product recorded in the target PPBOM at the human resource database;
the process implementation information searching submodule is used for searching the labor cost per unit time and the process implementation duration of each target process implementer when implementing the part manufacturing process of the corresponding target product part at the human resource database;
the process implementation cost calculation submodule is used for calculating the process implementation labor cost of the target product part according to the unit time labor cost and the process implementation duration of a target process implementation worker corresponding to the target product part aiming at each target product part under the target product;
and the process implementation loss calculation submodule is used for performing addition operation on the respective process implementation labor cost of all target product parts under the target product to obtain the process implementation labor loss of the target product.
9. A computer device comprising a processor and a memory, the memory storing a computer program executable by the processor, the processor being configured to execute the computer program to implement the product human cost calculation method of any one of claims 1-4.
10. A storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the method of calculating human costs for a product of any of claims 1-4.
Background
With the continuous development of society, product manufacturing enterprises often have the problem that enterprise data management difficulty is large due to the characteristics of complex products, huge human resource scale, mutual interweaving of business links and the like, and for the product manufacturing enterprises, how to determine the directly related human resource cost attached to the products from the corresponding enterprise data is an important basis for the enterprises to clear the base number, accurately measure the cost, reasonably determine the product price and realize refined management.
Disclosure of Invention
In view of this, an object of the present application is to provide a method and an apparatus for calculating human resource cost of a product, a computer device and a storage medium, which can accurately calculate human resource cost directly serving for the product itself, so as to facilitate effective implementation of subsequent enterprise data fine management operation.
In order to achieve the above purpose, the embodiments of the present application employ the following technical solutions:
in a first aspect, the present application provides a method for calculating human costs of a product, the method comprising:
acquiring a target engineering bill of material (EBOM), a target process bill of material (PPBOM) and a target manufacturing bill of material (MBOM) corresponding to a target product;
searching product design human resource data corresponding to a target EBOM in a pre-stored human resource database, and calculating the product design human resource consumption of the target product based on the product design human resource data;
searching process design human resource data corresponding to the target PPBOM in the human resource database, and calculating the process design human resource consumption of the target product based on the process design human resource data;
searching process implementation human resource data corresponding to a target MBOM in the human resource database, and calculating process implementation human resource loss of the target product based on the process implementation human resource data;
and determining the actual production labor cost of the target product according to the product design labor loss, the process design labor loss and the process implementation labor loss.
In an optional embodiment, the step of searching for product design human resource data corresponding to a target EBOM in a pre-stored human resource database, and calculating the product design human resource loss of the target product based on the product design human resource data includes:
determining a target part designer of each target product part of the target product in the human resource database according to the design incidence relation between different product parts and different part designers recorded by the human resource database;
searching the manpower cost and the part design duration of each target part designer in unit time when designing the corresponding target product part at the manpower resource database;
aiming at each target product part under the target product, calculating the part design labor cost of the target product part according to the labor cost per unit time and the part design duration of a target part designer corresponding to the target product part;
and adding the part design labor cost of each part of all the target products under the target products to obtain the product design labor loss of the target products.
In an optional embodiment, the step of searching the human resource database for process design human resource data corresponding to the target PPBOM, and calculating the process design human resource loss of the target product based on the process design human resource data includes:
determining a target process designer of the part manufacturing process of each target product part under the target product recorded by the target PPBOM at the human resource database according to the design incidence relation between the part manufacturing process of different product parts recorded by the human resource database and different process designers;
searching the human resource database for the unit time human cost and the process design duration of each target process designer when designing the part manufacturing process of the corresponding target product part;
aiming at each target product part under the target product, calculating the process design labor cost of the target product part according to the unit time labor cost and the process design duration of a target process designer corresponding to the target product part;
and adding the respective process design labor costs of all target product parts under the target product to obtain the process design labor loss of the target product.
In an optional embodiment, the step of searching the human resource database for process implementation human resource data corresponding to the target MBOM, and calculating the process implementation human resource loss of the target product based on the process implementation human resource data includes:
determining a target process implementer of the part manufacturing process of each target product part under the target product recorded by the target MBOM at the human resource database according to the implementation incidence relation between the part manufacturing process of different product parts recorded by the human resource database and different process implementers;
searching the human resource database for the unit time human cost and the process implementation duration of each target process implementer when implementing the part manufacturing process of the corresponding target product part;
aiming at each target product part under the target product, calculating the process implementation labor cost of the target product part according to the unit time labor cost and the process implementation duration of a target process implementation personnel corresponding to the target product part;
and adding the respective process implementation labor costs of all target product parts under the target product to obtain the process implementation labor loss of the target product.
In a second aspect, the present application provides a product human cost calculation apparatus, the apparatus comprising:
the product bill of material acquisition module is used for acquiring a target engineering bill of material EBOM, a target process bill of material PPBOM and a target manufacturing bill of material MBOM corresponding to a target product;
the product design manpower calculation module is used for searching product design manpower resource data corresponding to the target EBOM in a prestored manpower resource database and calculating the product design manpower loss of the target product based on the product design manpower resource data;
the process design human resource calculation module is used for searching process design human resource data corresponding to the target PPBOM in the human resource database and calculating the process design human resource loss of the target product based on the process design human resource data;
the process implementation human resource calculation module is used for searching process implementation human resource data corresponding to the target MBOM in the human resource database and calculating the process implementation human resource loss of the target product based on the process implementation human resource data;
and the product production manpower calculation module is used for determining the actual production manpower cost of the target product according to the product design manpower loss, the process design manpower loss and the process implementation manpower loss.
In an alternative embodiment, the product design human calculation module comprises:
the part designer determining sub-module is used for determining a target part designer of each target product part of the target product at the human resource database according to the design incidence relation between different product parts and different part designers recorded by the human resource database;
the part design information searching submodule is used for searching the labor cost per unit time and the part design duration of each target part designer when designing the corresponding target product part at the human resource database;
the part design cost calculation submodule is used for calculating the part design labor cost of the target product part according to the unit time labor cost and the part design duration of a target part designer corresponding to the target product part aiming at each target product part under the target product;
and the product design loss calculation submodule is used for performing addition operation on the part design labor cost of each of all target product parts under the target product to obtain the product design labor loss of the target product.
In an alternative embodiment, the process design human calculation module comprises:
a process designer determining submodule, configured to determine, according to a design association relationship between part manufacturing processes of different product parts recorded in the human resource database and different process designers, a target process designer of the part manufacturing process of each target product part under the target product recorded in the target PPBOM at the human resource database;
the process design information searching submodule is used for searching the labor cost per unit time and the process design duration of each target process designer when designing the part manufacturing process of the corresponding target product part at the manpower resource database;
the process design cost calculation submodule is used for calculating the process design labor cost of the target product part according to the unit time labor cost and the process design duration of a target process designer corresponding to the target product part aiming at each target product part under the target product;
and the process design loss calculation submodule is used for performing addition operation on the respective process design labor cost of all target product parts under the target product to obtain the process design labor loss of the target product.
In an alternative embodiment, the process implementation human calculation module comprises:
a process implementer determination sub-module, configured to determine, according to implementation association relationships between part manufacturing processes of different product parts recorded in the human resource database and different process implementers, a target process implementer of the part manufacturing process of each target product part under the target product recorded in the target PPBOM at the human resource database;
the process implementation information searching submodule is used for searching the labor cost per unit time and the process implementation duration of each target process implementer when implementing the part manufacturing process of the corresponding target product part at the human resource database;
the process implementation cost calculation submodule is used for calculating the process implementation labor cost of the target product part according to the unit time labor cost and the process implementation duration of a target process implementation worker corresponding to the target product part aiming at each target product part under the target product;
and the process implementation loss calculation submodule is used for performing addition operation on the respective process implementation labor cost of all target product parts under the target product to obtain the process implementation labor loss of the target product.
In a third aspect, the present application provides a computer device, comprising a processor and a memory, wherein the memory stores a computer program executable by the processor, and the processor can execute the computer program to implement the product human cost calculation method according to any one of the foregoing embodiments.
In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the method for calculating human cost of a product according to any one of the foregoing embodiments.
In this case, the beneficial effects of the embodiments of the present application include the following:
after the target EBOM, the target PPBOM and the target MBOM of the target product are obtained, the corresponding human resource data of product design corresponding to the target EBOM is searched in the pre-stored human resource database to calculate the corresponding human consumption of product design, searching the process design human resource data corresponding to the target PPBOM in the human resource database to calculate the corresponding process design human resource loss, and searching the corresponding process implementation human resource data corresponding to the target MBOM in the human resource database to calculate the corresponding process implementation human resource loss, then, the actual production labor cost really attached to the target product is determined according to the product design labor loss, the process design labor loss and the process implementation labor loss, therefore, the cost of human resources directly serving the product is accurately calculated, and the follow-up fine enterprise data management operation is effectively implemented.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a schematic diagram of a computer device according to an embodiment of the present disclosure;
FIG. 2 is a schematic flowchart of a method for calculating a labor cost of a product according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating the sub-steps included in step S220 in FIG. 2;
FIG. 4 is a flowchart illustrating the sub-steps included in step S230 of FIG. 2;
FIG. 5 is a flowchart illustrating the sub-steps included in step S240 in FIG. 2;
FIG. 6 is a schematic diagram illustrating an embodiment of a device for calculating human costs of products;
FIG. 7 is a schematic diagram of the product design labor calculation module of FIG. 6;
FIG. 8 is a schematic diagram of the process design manpower calculation module of FIG. 6;
FIG. 9 is a schematic diagram of the human computing module implemented in the process of FIG. 6.
Icon: 10-a computer device; 11-a memory; 12-a processor; 13-a communication unit; 100-product human cost calculating means; 110-product bill of material acquisition module; 120-product design manpower calculation module; 130-a process design manpower calculation module; 140-process implementation manpower calculation module; 150-product production manpower calculation module; 121-part designer determines sub-module; 122-part design information search submodule; 123-part design cost calculation submodule; 124-product design loss calculation submodule; 131-process designer determining sub-module; 132-a process design information lookup sub-module; 133-process design cost calculation submodule; 134-process design loss calculation submodule; 141-process implementers determine submodules; 142-process implementation information searching submodule; 143-a process implementation cost calculation submodule; 144-process implementation loss calculation submodule.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
In the description of the present application, it is to be understood that relational terms such as the terms first and second, and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art.
The applicant finds, through diligent research, that the existing method for calculating the human resource cost in the product manufacturing process is generally realized by roughly spreading all the human resource cost of a manufacturing enterprise on each product, namely, firstly, determining all the total expenses provided by a financial department and a human resource department for the aspects of personnel wages, benefits, subsidies and the like, then determining the number of products provided by a production and manufacturing department, and spreading the total expenses on each product, wherein the corresponding obtained result is regarded as the human resource cost related to the unit product. The human resource cost calculation scheme belongs to the technical field of comprehensively transferring the human resource cost of enterprises to the product value, does not really determine the human resource cost actually required by the product manufacturing, and cannot accurately calculate the human resource cost actually required by the product manufacturing.
Under the circumstance, in order to realize accurate calculation of the human resource cost directly serving for the product, so as to effectively implement subsequent enterprise data fine management operation, the embodiment of the application realizes the functions by providing a product human resource cost calculation method and device, a computer device and a storage medium.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic diagram illustrating a computer device 10 according to an embodiment of the present disclosure. In the embodiment of the present application, the computer device 10 is used for accurately calculating the human resource cost directly related to a specific product, so as to facilitate effective implementation of subsequent enterprise data fine management operation. The computer device 10 may be, but is not limited to, a smart phone, a tablet computer, a personal computer, a server, etc.
The computer device 10 may include a memory 11, a processor 12, a communication unit 13, and a product human cost calculation apparatus 100. The various elements of the memory 11, the processor 12 and the communication unit 13 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, the memory 11, the processor 12 and the communication unit 13 may be electrically connected to each other through one or more communication buses or signal lines.
In this embodiment, the Memory 11 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 11 is used for storing a computer program, and the processor 12 can execute the computer program after receiving an execution instruction. The memory 11 is further configured to store a human resource database, where the human resource database records respective unit-time human costs of different employees and execution time consumption of different employees in different enterprises for executing different manufacturing tasks, where the unit-time human costs include, but are not limited to, compensation, bonus, benefit, and the like, the execution time consumption corresponding to each manufacturing task may be pre-specified before the task is not executed, or may be measured after the task is executed, and the manufacturing tasks include, but are not limited to, product design tasks, manufacturing process design tasks, process implementation tasks, and the like corresponding to the same product.
In this embodiment, the processor 12 may be an integrated circuit chip having signal processing capabilities. The Processor 12 may be a general-purpose Processor including at least one of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Network Processor (NP), a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, a discrete gate or transistor logic device, and discrete hardware components. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like that implements or executes the methods, steps and logic blocks disclosed in the embodiments of the present application.
In this embodiment, the communication unit 13 is configured to establish a communication connection between the computer device 10 and other electronic devices through a network, and to send and receive data through the network, where the network includes a wired communication network and a wireless communication network. For example, the computer device 10 may obtain, from a central control center of a product production system through the communication unit 13, an Engineering Bill of Materials (EBOM), a Manufacturing Bill of Materials (MBOM), and a Process Bill of Materials (PPBOM) corresponding to a specific product, where the EBOM is used to represent structural relationships among assemblies, sub-assemblies, components, parts, and parts of the corresponding product, the PPBOM specifies specific Process operation contents to be executed when Manufacturing each component in the EBOM, and the MBOM specifies specific Manufacturing flow contents such as Manufacturing equipment, a production line, and a production scheduling plan to be used when Manufacturing each component in the EBOM.
In this embodiment, the product human cost calculating apparatus 100 includes at least one software functional module capable of being stored in the memory 11 or in the operating system of the computer device 10 in the form of software or firmware. The processor 12 may be used to execute executable modules stored by the memory 11, such as software functional modules and computer programs included in the product human cost computing device 100. The computer device 10 can precisely calculate the human resource cost directly serving the product itself through the product human cost calculating device 100, so as to facilitate effective implementation of subsequent enterprise data fine management operation.
It is understood that the block diagram shown in fig. 1 is only one constituent schematic diagram of the computer device 10, and that the computer device 10 may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1. The components shown in fig. 1 may be implemented in hardware, software, or a combination thereof.
In this application, in order to ensure that the computer device 10 can accurately calculate the human resource cost directly serving the product itself, and facilitate effective implementation of subsequent enterprise data fine management operations, the embodiment of the present application implements the foregoing function by providing a product human cost calculation method, which is described in detail below.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for calculating a labor cost of a product according to an embodiment of the present disclosure. In the embodiment of the present application, the method for calculating the labor cost of a product may include steps S210 to S250.
Step S210, obtain a target EBOM, a target PPBOM, and a target MBOM corresponding to the target product.
In this embodiment, the target product is a product that needs to calculate the actual human cost required in manufacturing, and the computer device 10 can obtain the target EBOM, the target PPBOM, and the target MBOM of the target product from other electronic devices (for example, a central control center of a product manufacturing system) through the communication unit 13.
Step S220, searching product design human resource data corresponding to the target EBOM in a pre-stored human resource database, and calculating the product design human resource consumption of the target product based on the product design human resource data.
In this embodiment, when the computer device 10 obtains the target EBOM of the target product, the product design human resource data related to the product part design task and respectively corresponding to each target product part under the target product recorded by the target EBOM may be searched in the human resource database, and then the product design human resource consumption corresponding to the target product in the product design stage is accurately calculated based on the searched product design human resource data corresponding to the target EBOM.
Optionally, referring to fig. 3, fig. 3 is a flowchart illustrating sub-steps included in step S220 in fig. 2. In this embodiment, the step S220 may include sub-steps S221 to S224, so as to accurately calculate the labor consumption of product design related to the target product in the product design stage.
And a substep S221 of determining a target part designer of each target product part at the position of the human resource database under the target product recorded by the target EBOM according to the design incidence relation between different product parts and different part designers recorded by the human resource database.
In this embodiment, the human resource database records design association relationships between different product parts and different part designers, where the design association relationships recorded by the human resource database may belong to only the same product or to different products. Thus, when the computer device 10 obtains the target EBOM of the target product, the target part designer corresponding to each target product part of the target product individually can be searched in the human resource database accordingly.
And a substep S222 of searching the manpower cost per unit time and the part design duration of each target part designer when designing the corresponding target product part in the manpower resource database.
In this embodiment, the part design time length is used to represent the overall time consumption required by the corresponding target part designer to design the corresponding target product part. The computer device 10 can find the labor cost per unit time and the part design duration for the target part designer, which are matched with the target product part and the target part designer, in the human resource data stored in the human resource database when determining the target part designer corresponding to each target product part of the target product.
And a substep S223 of calculating the part design labor cost of the target product part according to the unit time labor cost and the part design time length of a target part designer corresponding to the target product part for each target product part under the target product.
In this embodiment, for a single target product part, the part design labor cost of the target product part is calculated by multiplying the unit time labor cost of the corresponding target part designer by the part design time length.
And a substep S224 of adding the respective part design labor costs of all the parts of the target product under the target product to obtain the product design labor loss of the target product.
Therefore, the product design labor loss of the corresponding target product in the product design stage can be accurately calculated by executing the substeps S221 to the substep S224.
Step S230, searching the process design human resource data corresponding to the target PPBOM in the human resource database, and calculating the process design human resource consumption of the target product based on the process design human resource data.
In this embodiment, when the computer device 10 obtains the target PPBOM of the target product, the process design human resource data related to the product manufacturing process design task and corresponding to the part manufacturing process of each target product part under the target product recorded by the target PPBOM may be searched in the human resource database, and then the process design human resource consumption corresponding to the target product in the process design stage is accurately calculated based on the searched process design human resource data corresponding to the target PPBOM.
Optionally, referring to fig. 4, fig. 4 is a flowchart illustrating the sub-steps included in step S230 in fig. 2. In this embodiment, the step S230 may include sub-steps S231 to S234 to accurately calculate the process design manpower loss of the corresponding target product in the process design stage.
And a substep S231 of determining a target process designer of the part manufacturing process of each target product part in the target product recorded by the target PPBOM at the human resource database according to the design association relationship between the part manufacturing process of different product parts recorded by the human resource database and different process designers.
In this embodiment, the human resource database records design association relationships between the respective part manufacturing processes of different product parts and different process designers. The computer device 10 may search, in the human resource database, a target process designer corresponding to the part manufacturing process of each target product part individually for the part manufacturing process of each target product under the target product recorded by the target PPBOM according to the design association relationship.
And a substep S232 of searching the manpower cost and the process design time per unit time when each target process designer designs the part manufacturing process of the corresponding target product part in the manpower resource database.
In this embodiment, the process design time length is used to represent the overall time consumption required by the corresponding target process designer to design the part manufacturing process of the corresponding target product part. The computer device 10 may search the human resource data stored in the human resource database for the unit time human cost and the process design duration of the target process designer corresponding to each target product part individually.
And a substep S233, calculating the process design labor cost of the target product part according to the unit time labor cost and the process design time length of the target process designer corresponding to the target product part for each target product part under the target product.
In this embodiment, for a single target product part, the process design labor cost of the target product part is calculated by multiplying the unit time labor cost of the corresponding target process designer by the process design time.
And a substep S234 of adding the respective process design labor costs of all the target product parts under the target product to obtain the process design labor loss of the target product.
Therefore, the process design manpower loss of the corresponding target product in the process design stage can be accurately calculated by executing the substeps S231 to the substep S234.
Step S240, searching the process implementation human resource data corresponding to the target MBOM in the human resource database, and calculating the process implementation human resource loss of the target product based on the process implementation human resource data.
In this embodiment, when the computer device 10 obtains the target MBOM of the target product, the process implementation human resource data related to the manufacturing process implementation task and corresponding to the part manufacturing process of each target product part under the target product recorded by the target MBOM may be searched in the human resource database, and then the process implementation human resource loss corresponding to the target product in the process implementation stage is accurately calculated based on the searched process implementation human resource data corresponding to the target PPBOM.
Optionally, referring to fig. 5, fig. 5 is a flowchart illustrating sub-steps included in step S240 in fig. 2. In this embodiment, the step S240 may include substeps S241 to substep S244, so as to accurately calculate the process implementation labor loss of the corresponding target product in the process implementation stage.
And a substep S241 of determining a target process implementer of the part manufacturing process of each target product part under the target product recorded by the target MBOM at the human resource database according to the implementation incidence relation between the part manufacturing process of different product parts recorded by the human resource database and different process implementers.
In this embodiment, the human resource database records the implementation association relationship between the part manufacturing process of different product parts and different process implementers. The computer device 10 may search, according to the implementation association relationship, a target process implementer corresponding to the part manufacturing process of each target product part individually in the human resource database for the part manufacturing process of each target product part under the target product recorded by the target MBOM.
And a substep S242 of searching the human cost and the process implementation time length of each target process implementer in unit time when implementing the part manufacturing process of the corresponding target product part in the human resource database.
In this embodiment, the process implementation duration is used to represent an overall time consumption required by a corresponding target process implementer to implement a part manufacturing process of a corresponding target product part. The computer device 10 may search the human resource data stored in the human resource database for the unit-time human cost and the process implementation duration of the target process implementer corresponding to the part manufacturing process of each target product part individually.
And a substep S243, calculating the process implementation labor cost of the target product part according to the unit time labor cost and the process implementation time length of the target process implementation personnel corresponding to the target product part for each target product part under the target product.
In this embodiment, for a single target product part, the process implementation labor cost of the target product part is calculated by multiplying the unit time labor cost of the corresponding target process implementer by the process implementation time length.
And a substep S244 of adding the process implementation labor costs of all the target product parts under the target product to obtain the process implementation labor loss of the target product.
Therefore, the method can accurately calculate the process implementation manpower loss of the corresponding target product in the process implementation stage by executing the substeps S241 to S244.
And step S250, determining the actual production labor cost of the target product according to the product design labor loss, the process design labor loss and the process implementation labor loss.
In this embodiment, after the computer device 10 calculates the corresponding product design labor loss, process design labor loss, and process implementation labor loss for the target product, the actual production labor cost actually attached to the target product is obtained by adding the product design labor loss, the process design labor loss, and the process implementation labor loss corresponding to the target product, so as to accurately calculate the labor resource cost directly serving the product itself, and facilitate effective implementation of subsequent enterprise data fine management operation.
Therefore, the method can accurately calculate the cost of the human resources directly serving the product by executing the steps S210 to S250, and is convenient for effective implementation of subsequent enterprise data fine management operation.
In this application, to ensure that the computer device 10 can execute the product human cost calculation method through the product human cost calculation apparatus 100, the present application implements the aforementioned functions by dividing the product human cost calculation apparatus 100 into functional modules. The following describes specific components of the product human cost calculation apparatus 100 provided in the present application.
Referring to fig. 6, fig. 6 is a schematic composition diagram of a product human cost calculation apparatus 100 according to an embodiment of the present disclosure. In the embodiment of the present application, the product human cost calculation apparatus 100 may include a product bill of materials acquisition module 110, a product design human calculation module 120, a process design human calculation module 130, a process implementation human calculation module 140, and a product production human calculation module 150.
The product bill of material obtaining module 110 is configured to obtain a target engineering bill of material EBOM, a target process bill of material PPBOM, and a target manufacturing bill of material MBOM corresponding to a target product.
And the product design manpower calculation module 120 is configured to search product design manpower resource data corresponding to the target EBOM in a prestored manpower resource database, and calculate the product design manpower loss of the target product based on the product design manpower resource data.
A process design human resource calculation module 130, configured to search the human resource database for process design human resource data corresponding to the target PPBOM, and calculate the process design human resource loss of the target product based on the process design human resource data.
And the process implementation human resource calculation module 140 is configured to search the human resource database for process implementation human resource data corresponding to the target MBOM, and calculate the process implementation human resource loss of the target product based on the process implementation human resource data.
And the product production manpower calculation module 150 is used for determining the actual production manpower cost of the target product according to the product design manpower loss, the process design manpower loss and the process implementation manpower loss.
Optionally, referring to fig. 7, fig. 7 is a schematic diagram illustrating the product design manpower calculation module 120 in fig. 6. In this embodiment, the product design manpower calculation module 120 may include a part designer determination sub-module 121, a part design information search sub-module 122, a part design cost calculation sub-module 123, and a product design loss calculation sub-module 124.
The part designer determining sub-module 121 is configured to determine, according to the design association relationship between different product parts and different part designers recorded in the human resource database, a target part designer of each target product part of the target product at the human resource database, where the target part designer is recorded by the target EBOM.
The part design information searching sub-module 122 is configured to search, in the human resource database, a human cost per unit time and a part design duration when each target part designer designs a corresponding target product part.
And the part design cost calculation submodule 123 is configured to calculate, for each target product part under the target product, a part design labor cost of the target product part according to the labor cost per unit time and the part design duration of a target part designer corresponding to the target product part.
And the product design loss calculation submodule 124 is configured to perform addition operation on the part design labor costs of all target product parts under the target product, so as to obtain the product design labor loss of the target product.
Optionally, referring to fig. 8, fig. 8 is a schematic composition diagram of the process design manpower calculation module 130 in fig. 6. In this embodiment, the process design manpower calculation module 130 may include a process designer determination sub-module 131, a process design information search sub-module 132, a process design cost calculation sub-module 133, and a process design loss calculation sub-module 134.
The process designer determining sub-module 131 is configured to determine, according to the design association relationship between the part manufacturing process of the different product parts recorded in the human resource database and different process designers, a target process designer at the human resource database of the part manufacturing process of each target product part under the target product recorded in the target PPBOM.
The process design information searching sub-module 132 is configured to search, in the human resource database, a unit time human cost and a process design time length when each target process designer designs a part manufacturing process of a corresponding target product part.
The process design cost calculation submodule 133 is configured to calculate, for each target product part under the target product, the process design labor cost of the target product part according to the labor cost per unit time and the process design duration of a target process designer corresponding to the target product part.
And the process design loss calculation submodule 134 is configured to perform addition operation on the respective process design labor costs of all target product parts under the target product to obtain the process design labor loss of the target product.
Optionally, referring to fig. 9, fig. 9 is a schematic diagram illustrating the process implementation manpower calculation module 140 in fig. 6. In this embodiment, the process implementation manpower calculation module 140 may include a process implementer determination sub-module 141, a process implementation information search sub-module 142, a process implementation cost calculation sub-module 143, and a process implementation loss calculation sub-module 144.
The process implementer determining sub-module 141 is configured to determine, according to implementation association relationships between the part manufacturing processes of the different product parts recorded in the human resource database and different process implementers, a target process implementer of the part manufacturing process of each target product part under the target product recorded in the target PPBOM at the human resource database.
The process implementation information searching sub-module 142 is configured to search, in the human resource database, a unit time human cost and a process implementation duration of each target process implementer when implementing the part manufacturing process of the corresponding target product part.
The process implementation cost calculation sub-module 143 is configured to calculate, for each target product part of the target product, the process implementation labor cost of the target product part according to the unit time labor cost and the process implementation duration of the target process implementer corresponding to the target product part.
And the process implementation loss calculation submodule 144 is configured to add the respective process implementation labor costs of all the target product parts under the target product to obtain the process implementation labor loss of the target product.
It should be noted that the basic principle and the technical effect of the product human cost calculating apparatus 100 provided in the embodiment of the present application are the same as those of the product human cost calculating method described above. For a brief description, the embodiment is not mentioned in part, and reference may be made to the above description of the method for calculating the labor cost of the product.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, functional modules in the embodiments of the present application may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part. The functions may be stored in a storage medium if they are implemented in the form of software function modules and sold or used as separate products. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
To sum up, in the product human cost calculation method and apparatus, the computer device and the storage medium provided by the present application, after the target EBOM, the target PPBOM and the target MBOM of the target product are obtained, the present application searches the pre-stored human resource database for the product design human resource data corresponding to the target EBOM to calculate the corresponding product design human consumption, searches the human resource database for the process design human resource data corresponding to the target PPBOM to calculate the corresponding process design human consumption, and searches the human resource database for the process implementation human resource data corresponding to the target MBOM to calculate the corresponding process implementation human consumption, and then determines the actual production human cost really attached to the target product according to the product design human consumption, the process design human consumption and the process implementation human consumption, thereby realizing the accurate calculation of the human resource cost directly serving for the product itself, so as to facilitate the effective implementation of the subsequent enterprise data fine management operation.
The above description is only for various embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of changes or substitutions within the technical scope of the present application, and all such changes or substitutions are included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种实现多索引内存数据并发读写的方法