CN113919683A - Method and device for calculating process man-hour, storage medium and processor - Google Patents

Method and device for calculating process man-hour, storage medium and processor Download PDF

Info

Publication number
CN113919683A
CN113919683A CN202111166758.9A CN202111166758A CN113919683A CN 113919683 A CN113919683 A CN 113919683A CN 202111166758 A CN202111166758 A CN 202111166758A CN 113919683 A CN113919683 A CN 113919683A
Authority
CN
China
Prior art keywords
attribute
target
target process
setting
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111166758.9A
Other languages
Chinese (zh)
Inventor
王五常
张传会
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Caxa Technology Co Ltd
Original Assignee
Caxa Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Caxa Technology Co Ltd filed Critical Caxa Technology Co Ltd
Priority to CN202111166758.9A priority Critical patent/CN113919683A/en
Publication of CN113919683A publication Critical patent/CN113919683A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/04Manufacturing
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Theoretical Computer Science (AREA)
  • Marketing (AREA)
  • General Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Physics & Mathematics (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Health & Medical Sciences (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Manufacturing & Machinery (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Quality & Reliability (AREA)
  • General Factory Administration (AREA)

Abstract

The application discloses a method and a device for calculating process working hours, a storage medium and a processor. The method comprises the following steps: acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and step information in the process machining process; determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas; analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and processing the analysis result to obtain a working hour calculation result of the process. By the method and the device, the problem of low calculation efficiency of process working hours in the related technology is solved.

Description

Method and device for calculating process man-hour, storage medium and processor
Technical Field
The application relates to the technical field of manufacturing labor hour calculation, in particular to a method and a device for calculating process labor hours, a storage medium and a processor.
Background
The labor-hour calculation rule in the manufacturing enterprise is complex, special labor-hour personnel are needed to compile the labor hour, and the manual calculation or the empirical value estimation mode is adopted, so that errors and inaccuracy exist, and the calculation efficiency is low.
Aiming at the problem of low calculation efficiency of process working hours in the related technology, an effective solution is not provided at present.
Disclosure of Invention
The present application mainly aims to provide a method, an apparatus, a storage medium, and a processor for calculating process time, so as to solve the problem of low efficiency in calculating process time in the related art.
In order to achieve the above object, according to one aspect of the present application, a method of calculating process man-hours is provided. The method comprises the following steps: acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and step information in the process machining process; determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas; analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and processing the analysis result to obtain a working hour calculation result of the process.
Further, the processing the analysis result to obtain the man-hour calculation result of the process includes: obtaining an attribute type from attribute information of a target process, wherein the attribute type comprises at least one of the following: manual input type, system setting type, process card filling type and data query type; setting the values of different types of attributes of the target process according to a preset setting mode to obtain the attribute value of the target process; and determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
Further, performing numerical value setting on the attributes of different types of the target process according to a preset setting mode, and obtaining the attribute value of the target process includes: if the attribute type of the target process is the system setting type, carrying out numerical value setting on the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process; if the attribute type of the target process is the process card filling type, performing numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process; and if the attribute type of the target process is the data query type, setting the value of the attribute of the target process in a mode of setting by querying the data table to obtain the attribute value of the target process.
Further, after the analysis result is processed to obtain a man-hour calculation result of the process, the method further includes: sending the work hour calculation result of the process to a process chart; and filling the process cards according to the work hour calculation result of the process in the process chart.
Further, after analyzing the man-hour calculation rule to obtain an analysis result, the method further includes: judging whether the attribute type of the target process is a manual input type or not according to the attribute type of the target process; and if the attribute type of the target process is the manual input type, setting the value of the attribute of the target process in a manual input setting mode, and displaying an interface of the manual input type.
In order to achieve the above object, according to another aspect of the present application, there is provided a calculation apparatus of process man-hours. The device includes: the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring target information from a target process file, and the target information comprises process information in a process machining process and process step information in the process machining process; a first determining unit, configured to determine a working hour calculation rule of the target process file according to the process information and the process step information, where the working hour calculation rule includes: the working hours are calculated according to preset conditions and preset formulas; the first analysis unit is used for analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and the first processing unit is used for processing the analysis result to obtain a working hour calculation result of the process.
Further, the first processing unit includes: the first obtaining module is used for obtaining an attribute type from attribute information of a target process, wherein the attribute type comprises at least one of the following types: manual input type, system setting type, process card filling type and data query type; the first setting module is used for carrying out numerical value setting on different types of attributes of the target process according to a preset setting mode to obtain an attribute value of the target process; and the first determining module is used for determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
Further, the first setting module includes: the first setting submodule is used for setting the value of the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process if the attribute type of the target process is the system setting type; the second setting submodule is used for setting the value of the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process if the attribute type of the target process is the process card filling type; and the third setting submodule is used for setting the value of the attribute of the target process in a mode of setting by inquiring the data table to obtain the attribute value of the target process if the attribute type of the target process is the data inquiry type.
Further, the apparatus further comprises: the first sending unit is used for sending the man-hour calculation result of the process to the process chart after the analysis result is processed to obtain the man-hour calculation result of the process; and the first filling unit is used for filling the process cards according to the work hour calculation result of the process in the process chart.
Further, the apparatus further comprises: the first judgment unit is used for judging whether the attribute type of the target process is a manual input type or not according to the attribute type of the target process after analyzing the man-hour calculation rule and obtaining an analysis result; and the first setting unit is used for setting the value of the attribute of the target process in a mode of setting through manual input and displaying an interface of the manual input type if the attribute type of the target process is the manual input type.
According to another aspect of the embodiments of the present application, there is also provided a processor configured to execute a program, where the program executes to perform the method of any one of the above.
According to another aspect of embodiments of the present application, there is also provided a computer-readable storage medium having stored thereon a computer program/instructions which, when executed by a processor, perform the method of any one of the above.
Through the application, the following steps are adopted: acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and step information in the process machining process; determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas; analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and processing the analysis result to obtain a process working hour calculation result, so that the problem of low process working hour calculation efficiency in the related technology is solved. The working hour calculation rule of the target process file is determined according to the process information and the process step information, and the working hour calculation result of the process is determined according to the working hour calculation rule, so that the effect of improving the calculation efficiency of the process working hour is achieved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
FIG. 1 is a flow chart of a method for calculating process man-hours provided according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a man-hour calculation rule of a method for calculating process man-hours according to an embodiment of the present application;
FIG. 3 is a schematic diagram showing an expression configuration of a method for calculating process man-hours according to an embodiment of the present application;
FIG. 4 is a system execution flow chart of a method for calculating process man-hours provided according to an embodiment of the present application;
fig. 5 is a schematic diagram of a computing device for processing man-hours provided according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, 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 only partial embodiments of the present application, but not all embodiments. 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 the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an embodiment of the present application, a method of calculating process man-hours is provided.
Fig. 1 is a flowchart of a method of calculating process man-hours according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and process step information in the process machining process.
Specifically, the target structure information in the target process file is obtained, wherein the target structure information includes identification information of a process name in a process machining process and identification information of a process step name in the process machining process.
Step S102, determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas.
Specifically, the present application determines the labor hour calculation rule corresponding to the target process file according to the identification information of the process name and the identification information of the process step name, for example, as shown in fig. 2, the labor hour calculation rule includes a determination condition and a calculation formula, where the determination condition and the calculation formula are a combination of expressions, and specifically, as shown in fig. 3, the expressions are composed of variables, operators, constants and mathematical functions.
Step S103, analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of the target process in the preset condition and attribute information of the target process in the preset formula.
Specifically, before analyzing the man-hour calculation rule, the application defines different attribute types of the target process through variables in the man-hour calculation rule, and obtains attribute information (corresponding to an analysis result in the application) of the target process through analyzing the variables.
And step S104, processing the analysis result to obtain a man-hour calculation result of the process.
Specifically, fig. 4 is a system execution flow chart of the method for calculating process man-hours according to the embodiment of the present application, and as shown in fig. 4, information of processes and steps is first extracted from a process file, a calculation rule of each process and step is found according to the extracted structure, then a determination condition in the extracted rule and a variable in a formula are analyzed to obtain a variable, whether the variable needs to be manually input by a user exists or not is determined, if the variable exists, an input interface is popped up for the user to input, values are finally assigned to the variables of different types, calculation is performed according to the variable value and the extracted formula calculation rule, a man-hour calculation result of each process and step is obtained, and the calculation result is back filled into a process card.
Optionally, in the method for calculating process man-hour provided in the embodiment of the present application, processing the analysis result, and obtaining a calculation result of process man-hour includes: obtaining an attribute type from attribute information of a target process, wherein the attribute type comprises at least one of the following: manual input type, system setting type, process card filling type and data query type; and performing numerical value setting on different types of attributes of the target process according to a preset setting mode to obtain an attribute value of the target process, and determining a working hour calculation result of the process according to the attribute value of the target process and a working hour calculation rule.
For example, the variables may be assigned by a manual input type, a system setup type, a process card fill type, or a data query type.
Optionally, in the method for calculating process time provided in the embodiment of the present application, the performing, according to a preset setting mode, numerical setting on different types of attributes of the target process, and obtaining the attribute value of the target process includes: if the attribute type of the target process is the system setting type, carrying out numerical value setting on the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process; if the attribute type of the target process is the process card filling type, performing numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process; and if the attribute type of the target process is the data query type, setting the value of the attribute of the target process in a mode of setting by querying the data table to obtain the attribute value of the target process.
Specifically, if the type of the attribute (corresponding to the above variable, the same applies below) of the target process is the system setting parameter type, the parameters of the material in the target process are assigned, for example, the weight parameter of the material and the specification parameter of the material are set; if the attribute type of the target process is a process card filling type, the attribute of the target process is assigned based on the value in the process card, for example, the blanking size of the material is assigned by the value filled in the process card, and if the attribute type of the target process is a data query type, the attribute of the target process is assigned based on a table lookup mode, for example, the blanking length of the material is 1-3, the thickness is 2-4, and the processing working hour is 1, according to the method, the variables of the target processes of different types are assigned, so that the working hour calculation does not need to depend on working hours for manual calculation, the working hours do not need to depend on the working hours in the process of process compilation, the compilation efficiency of the process personnel is greatly improved, and the efficiency and the accuracy of the working hour calculation are improved.
Optionally, in the method for calculating process man-hour provided in this embodiment of the application, after analyzing the man-hour calculation rule to obtain an analysis result, the method further includes: judging whether the attribute type of the target process is a manual input type or not according to the attribute type of the target process; and if the attribute type of the target process is the manual input type, setting the value of the attribute of the target process in a manual input setting mode, and displaying an interface of the manual input type.
For example, if the attribute type of the target process is a manual input type, the system pops up an interface box of the manual input type, and the coefficient of the material of the target process is set in a mode of setting through manual input.
Optionally, in the method for calculating process man-hour provided in this embodiment of the application, after processing the analysis result to obtain a man-hour calculation result of the process, the method further includes: sending the work hour calculation result of the process to a process chart; and filling the process cards according to the work hour calculation result of the process in the process chart.
Specifically, the process cards are filled with the work hour calculation results of the process, so that workers in work hours do not need to perform manual calculation, the work hours can be calculated subsequently directly according to the filling results of the process cards, the compiling efficiency of the workers can be greatly improved, and meanwhile, the work hour calculation accuracy is improved.
In summary, the method for calculating the process man-hour provided by the embodiment of the application acquires the target information from the target process file, wherein the target information includes process information in the process processing process and process step information in the process processing process; determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas; analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and processing the analysis result to obtain a process working hour calculation result, so that the problem of low process working hour calculation efficiency in the related technology is solved. The working hour calculation rule of the target process file is determined according to the process information and the process step information, and the working hour calculation result of the process is determined according to the working hour calculation rule, so that the effect of improving the calculation efficiency of the process working hour is achieved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides a device for calculating process man-hour, and it should be noted that the device for calculating process man-hour of the embodiment of the present application may be used to execute the method for calculating process man-hour provided in the embodiment of the present application. The following describes a calculation apparatus for processing man-hours provided in the embodiments of the present application.
Fig. 5 is a schematic diagram of a calculation apparatus of process man-hours according to an embodiment of the present application. As shown in fig. 5, the apparatus includes: a first acquiring unit 501, a first determining unit 502, a first analyzing unit 503, and a first processing unit 504.
Specifically, the first obtaining unit 501 is configured to obtain target information from a target process file, where the target information includes process information in a process processing procedure and process step information in the process processing procedure;
a first determining unit 502, configured to determine a working hour calculation rule of the target process file according to the process information and the process step information, where the working hour calculation rule includes: the working hours are calculated according to preset conditions and preset formulas;
a first analyzing unit 503, configured to analyze the labor hour calculation rule to obtain an analysis result, where the analysis result includes: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula;
a first processing unit 504, configured to process the analysis result to obtain a work hour calculation result of the process.
To sum up, the device for calculating the process time provided in the embodiment of the present application obtains target information from a target process file through the first obtaining unit 501, where the target information includes process information in a process processing procedure and process step information in the process processing procedure; the first determination unit 502 determines a man-hour calculation rule of the target process file according to the process information and the process step information, wherein the man-hour calculation rule includes: the working hours are calculated according to preset conditions and preset formulas; the first analysis unit 503 analyzes the man-hour calculation rule to obtain an analysis result, where the analysis result includes: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; the first processing unit 504 processes the analysis result to obtain a calculation result of the process man-hour, thereby solving the problem of low calculation efficiency of the process man-hour in the related art. The working hour calculation rule of the target process file is determined according to the process information and the process step information, and the working hour calculation result of the process is determined according to the working hour calculation rule, so that the effect of improving the calculation efficiency of the process working hour is achieved.
Optionally, in the device for calculating process man-hours provided in the embodiment of the present application, the first processing unit includes: the first obtaining module is used for obtaining an attribute type from attribute information of a target process, wherein the attribute type comprises at least one of the following types: manual input type, system setting type, process card filling type and data query type; the first setting module is used for carrying out numerical value setting on different types of attributes of the target process according to a preset setting mode to obtain an attribute value of the target process; and the first determining module is used for determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
Optionally, in the apparatus for calculating process man-hours provided in the embodiment of the present application, the first setting module includes: the first setting submodule is used for setting the value of the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process if the attribute type of the target process is the system setting type; the second setting submodule is used for setting the value of the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process if the attribute type of the target process is the process card filling type; and the third setting submodule is used for setting the value of the attribute of the target process in a mode of setting by inquiring the data table to obtain the attribute value of the target process if the attribute type of the target process is the data inquiry type.
Optionally, in the device for calculating process man-hours provided in the embodiment of the present application, the device further includes: the first sending unit is used for sending the man-hour calculation result of the process to the process chart after the analysis result is processed to obtain the man-hour calculation result of the process; and the first filling unit is used for filling the process cards according to the work hour calculation result of the process in the process chart.
Optionally, in the device for calculating process man-hours provided in the embodiment of the present application, the device further includes: the first judgment unit is used for judging whether the attribute type of the target process is a manual input type or not according to the attribute type of the target process after analyzing the man-hour calculation rule and obtaining an analysis result; and the first setting unit is used for setting the value of the attribute of the target process in a mode of setting through manual input and displaying an interface of the manual input type if the attribute type of the target process is the manual input type.
The calculating device of the process man-hour includes a processor and a memory, the first acquiring unit 501, the first determining unit 502, the first analyzing unit 503, the first processing unit 504, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more than one kernel can be set, and the process working hours are calculated by adjusting the kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, the program implementing a method of calculating a process man-hour when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein the method for calculating the process working hours is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and step information in the process machining process; determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas; analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and processing the analysis result to obtain a working hour calculation result of the process.
The processor executes the program and further realizes the following steps: obtaining an attribute type from attribute information of a target process, wherein the attribute type comprises at least one of the following: manual input type, system setting type, process card filling type and data query type; setting the values of different types of attributes of the target process according to a preset setting mode to obtain the attribute value of the target process; and determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
The processor executes the program and further realizes the following steps: if the attribute type of the target process is the system setting type, carrying out numerical value setting on the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process; if the attribute type of the target process is the process card filling type, performing numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process; and if the attribute type of the target process is the data query type, setting the value of the attribute of the target process in a mode of setting by querying the data table to obtain the attribute value of the target process.
The processor executes the program and further realizes the following steps: after the analysis result is processed to obtain a process working hour calculation result, the process working hour calculation result is sent to a process chart; and filling the process cards according to the work hour calculation result of the process in the process chart.
The processor executes the program and further realizes the following steps: after analyzing the man-hour calculation rule to obtain an analysis result, judging whether the attribute type of the target process is a manual input type according to the attribute type of the target process; and if the attribute type of the target process is the manual input type, setting the value of the attribute of the target process in a manual input setting mode, and displaying an interface of the manual input type.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and step information in the process machining process; determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas; analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of a target process in a preset condition and attribute information of the target process in a preset formula; and processing the analysis result to obtain a working hour calculation result of the process.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: obtaining an attribute type from attribute information of a target process, wherein the attribute type comprises at least one of the following: manual input type, system setting type, process card filling type and data query type; setting the values of different types of attributes of the target process according to a preset setting mode to obtain the attribute value of the target process; and determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: if the attribute type of the target process is the system setting type, carrying out numerical value setting on the attribute of the target process according to the setting mode of the preset parameters of the system to obtain the attribute value of the target process; if the attribute type of the target process is the process card filling type, performing numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process; and if the attribute type of the target process is the data query type, setting the value of the attribute of the target process in a mode of setting by querying the data table to obtain the attribute value of the target process.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: after the analysis result is processed to obtain a process working hour calculation result, the process working hour calculation result is sent to a process chart; and filling the process cards according to the work hour calculation result of the process in the process chart.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: after analyzing the man-hour calculation rule to obtain an analysis result, judging whether the attribute type of the target process is a manual input type according to the attribute type of the target process; and if the attribute type of the target process is the manual input type, setting the value of the attribute of the target process in a manual input setting mode, and displaying an interface of the manual input type.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that 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 the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A method for calculating process man-hour is characterized by comprising the following steps:
acquiring target information from a target process file, wherein the target information comprises process information in a process machining process and process step information in the process machining process;
determining a working hour calculation rule of the target process file according to the process information and the process step information, wherein the working hour calculation rule comprises the following steps: the working hours are calculated according to preset conditions and preset formulas;
analyzing the man-hour calculation rule to obtain an analysis result, wherein the analysis result comprises: attribute information of the target process in the preset condition and attribute information of the target process in the preset formula;
and processing the analysis result to obtain a working hour calculation result of the process.
2. The method of claim 1, wherein processing the analysis results to obtain process man-hour calculation results comprises:
obtaining an attribute type from the attribute information of the target process, wherein the attribute type includes at least one of the following: manual input type, system setting type, process card filling type and data query type;
setting the values of the different types of attributes of the target process according to a preset setting mode to obtain the attribute value of the target process;
and determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
3. The method according to claim 2, wherein the performing numerical setting on the different types of attributes of the target process according to a preset setting mode to obtain the attribute value of the target process comprises:
if the attribute type of the target process is a system setting type, performing numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process;
if the attribute type of the target process is the process card filling type, performing numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process;
and if the attribute type of the target process is a data query type, performing numerical value setting on the attribute of the target process in a mode of setting by querying a data table to obtain the attribute value of the target process.
4. The method of claim 1, wherein after processing the analysis results to obtain man-hour calculation results for the process, the method further comprises:
sending the work hour calculation result of the process to a process chart;
and filling the process cards according to the work hour calculation result of the process in the process chart.
5. The method of claim 1, wherein after parsing the man-hour calculation rule to obtain a parsing result, the method further comprises:
judging whether the attribute type of the target process is a manual input type according to the attribute type of the target process;
and if the attribute type of the target process is the manual input type, setting the value of the attribute of the target process in a manual input setting mode, and displaying an interface of the manual input type.
6. An apparatus for calculating a process time, comprising:
the system comprises a first acquisition unit, a second acquisition unit and a processing unit, wherein the first acquisition unit is used for acquiring target information from a target process file, and the target information comprises process information in a process machining process and step information in the process machining process;
a first determining unit, configured to determine a man-hour calculation rule of the target process file according to the process information and the process step information, wherein the man-hour calculation rule includes: the working hours are calculated according to preset conditions and preset formulas;
a first analysis unit, configured to analyze the labor hour calculation rule to obtain an analysis result, where the analysis result includes: attribute information of the target process in the preset condition and attribute information of the target process in the preset formula;
and the first processing unit is used for processing the analysis result to obtain a working hour calculation result of the process.
7. The apparatus of claim 6, wherein the first processing unit comprises:
a first obtaining module, configured to obtain an attribute type from attribute information of the target process, where the attribute type includes at least one of: manual input type, system setting type, process card filling type and data query type;
the first setting module is used for carrying out numerical value setting on different types of attributes of the target process according to a preset setting mode to obtain an attribute value of the target process;
and the first determining module is used for determining the working hour calculation result of the process according to the attribute value of the target process and the working hour calculation rule.
8. The apparatus of claim 7, wherein the first setup module comprises:
the first setting submodule is used for carrying out numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process if the attribute type of the target process is a system setting type;
the second setting submodule is used for carrying out numerical value setting on the attribute of the target process according to a mode of setting preset parameters of a system to obtain an attribute value of the target process if the attribute type of the target process is the process card filling type;
and the third setting submodule is used for setting the value of the attribute of the target process in a mode of setting by inquiring a data table to obtain the attribute value of the target process if the attribute type of the target process is the data inquiry type.
9. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 5.
10. A computer-readable storage medium, characterized in that the storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 5.
CN202111166758.9A 2021-09-30 2021-09-30 Method and device for calculating process man-hour, storage medium and processor Pending CN113919683A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111166758.9A CN113919683A (en) 2021-09-30 2021-09-30 Method and device for calculating process man-hour, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111166758.9A CN113919683A (en) 2021-09-30 2021-09-30 Method and device for calculating process man-hour, storage medium and processor

Publications (1)

Publication Number Publication Date
CN113919683A true CN113919683A (en) 2022-01-11

Family

ID=79237827

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111166758.9A Pending CN113919683A (en) 2021-09-30 2021-09-30 Method and device for calculating process man-hour, storage medium and processor

Country Status (1)

Country Link
CN (1) CN113919683A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756913A (en) * 2022-04-22 2022-07-15 苏州浪潮智能科技有限公司 Method, device, equipment and medium for determining component installation position

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114756913A (en) * 2022-04-22 2022-07-15 苏州浪潮智能科技有限公司 Method, device, equipment and medium for determining component installation position
CN114756913B (en) * 2022-04-22 2024-01-19 苏州浪潮智能科技有限公司 Component mounting position determining method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN109542789B (en) Code coverage rate statistical method and device
CN106897342B (en) Data verification method and equipment
CN110019298B (en) Data processing method and device
CN111124871A (en) Interface test method and device
CN109284115A (en) A kind of method and device generating tracker script
CN114239097A (en) Method and device for generating process file, storage medium and electronic device
CN111026080A (en) Hardware-in-loop test method and device for controller
CN108874379B (en) Page processing method and device
CN112583944B (en) Processing method and device for updating domain name certificate
CN110968565A (en) Database creation method and system
CN110888922A (en) Method and device for creating target table during data synchronization
CN113919683A (en) Method and device for calculating process man-hour, storage medium and processor
CN110928941A (en) Data fragment extraction method and device
CN112559313A (en) Test case setting method and device, storage medium and electronic equipment
CN114817209A (en) Monitoring rule processing method and device, processor and electronic equipment
CN110968500A (en) Test case execution method and device
CN113468384B (en) Processing method, device, storage medium and processor for network information source information
CN110019198B (en) Data query method and device
CN109561121B (en) Method and device for monitoring deployment
CN108810299B (en) Information analysis method, medium and equipment
CN110362595A (en) A kind of SQL statement dynamic analysis method
CN112580827A (en) Work order generation method and device
CN112559444A (en) SQL (structured query language) file migration method and device, storage medium and equipment
CN110852539A (en) Drawing processing method and device
CN110727888B (en) Page processing method and device, computer storage medium and processor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination