Method, device and equipment for obtaining output index and storage medium
By establishing parameter groups in the MES system and recording the on/off times of the piece counters in real time, the piece count and planned output are calculated, solving the problem of the disconnect between the piece counter status and the number of personnel. This achieves the correlation between piece count information and the actual number of personnel, improving the accuracy of labor cost and efficiency accounting.
Patent Information
- Application Number
- CN202610870298.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-06-16
- Publication Date
- 2026-08-25
AI Technical Summary
In the MES system, the status of the piece counter is disconnected from the number of personnel. The piece counter can be modified at will when it is turned on, resulting in lagging and inaccurate calculation of labor costs and efficiency.
Establish a parameter group corresponding to the processing unit, including a unique piece counter number, unit standard working hours and actual number of people involved, record the start and stop times of the piece counter in real time, calculate the piece count and planned output, and calculate efficiency indicators through a start and stop event-driven approach.
This system links piecework information with the actual number of employees, ensuring accurate and timely calculation of relevant indicators, preventing arbitrary modification of the piecework machine status, and improving the accuracy of labor cost and efficiency accounting.
Smart Images

Figure CN122635979A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of output indicator acquisition technology, and in particular to a method, apparatus, device and storage medium for acquiring output indicators. Background Technology
[0002] Currently, during production, the daily work time management of the MES system typically adopts the following approach: The operator first manually fills in the planned completion count and the number of personnel involved for the day, and then goes to the piece counter management page to activate the piece counter separately. The piece counter information (ID, piece counter status, etc.) is stored completely separately from the personnel information.
[0003] Even after the piece counter is activated, operators are still allowed to modify the number of workers or change the piece counter at any time in the background, and the system does not prevent this.
[0004] The above solution has the following drawbacks: (1) The status of the piece counter is disconnected from the number of personnel. Reason: The operation of the piece counter switch and the personnel entry are two independent operations, and the piece counter information is not associated with the number of personnel involved.
[0005] (2) Personnel / piece counters can be modified at will when the piece counter is on. Reason: The system lacks a state protection mechanism and does not write-protect the data fields (counterId / people) when the piece counter is on.
[0006] (3) Labor cost and efficiency accounting are lagging and inaccurate. Reason: The relevant indicators rely on manual post-event calculations and cannot be linked to the output data of the piece counting machine in real time. Labor cost accounting relies on "post-event recall" or "batch averaging", which affects the accuracy of the calculation. Summary of the Invention
[0007] This application provides a method, apparatus, computer device, computer-readable storage medium, and computer program product for obtaining output indicators, which can solve at least one of the technical problems mentioned in the background art.
[0008] In view of this, firstly, embodiments of this application provide a method for obtaining output indicators, including: Establish a parameter group corresponding to the processing unit. The parameter group includes a unique piece counter number, standard working hours per unit, and actual number of workers involved. The piece counter's startup time is recorded in real time; The shutdown time of the piece counter is recorded in real time; Obtain the piece count from the start time to the shutdown time, and obtain the running time based on the start time and the shutdown time, and calculate the planned output based on the running time, the unit standard working hours and the actual number of people involved; The ratio of the piecework quantity to the planned output is calculated to obtain the first efficiency index.
[0009] Optionally, the method further includes: The standard working hours consumed are calculated based on the unit standard working hours and the actual output of good products.
[0010] Optionally, the method further includes: Obtain the actual working hours entered; The ratio of the standard working hours consumed to the actual working hours invested is calculated to obtain the second efficiency index.
[0011] Optionally, the actual output of good products is obtained based on the cumulative output of the piece counter.
[0012] Optionally, the parameter group further includes: piecework objects; The method further includes: When the control terminal receives the power-on trigger information for the piece counter, it checks whether the piece counter object is set in the corresponding parameter group. If the piece counter object is not set, it refuses to power on the piece counter and issues an alarm message in real time.
[0013] Optionally, the method further includes: After confirming that the parameter group has been set to the piece counting object, check whether there are other parameter groups that have been set to the same piece counting object and the corresponding piece counter is in the on state; If the check result is yes, then the piece counter will be refused to be powered on and a conflict will be indicated.
[0014] Optionally, the parameter set may also include the piece counter status; After passing the power-on test, the piece counter is set to the on state, and a log for the operating interval is created. The log for the operating interval records the power-on time, the unit standard working hours, and the actual number of people involved. After receiving the shutdown trigger information from the control terminal for the piece counter, the end time is written for the corresponding running interval, and the running time is calculated.
[0015] Optionally, during the operating interval between the power-on time and the power-off time, it is prohibited to modify the piece counter number, the piece counting object, and the actual number of people involved.
[0016] Optionally, after completing the output indicator calculation, the following may also be included: The submitted daily reports undergo status verification, which includes: Determine the status of other piece counters corresponding to all associated processing units, and force the other piece counters that are in the on state to shut down.
[0017] Secondly, embodiments of this application also provide a device for acquiring output indicators, including: A module is established to create a parameter group corresponding to the processing unit. The parameter group includes a unique piece counter number, standard working hours per unit, and actual number of workers. The first recording module is used to record the power-on time of the piece counter in real time; The second recording module is used to record the shutdown time of the piece counter in real time. The first calculation module is used to obtain the number of pieces from the power-on time to the power-off time, and to obtain the running time based on the power-on time and the power-off time, and to calculate the planned output based on the running time, the unit standard working hours and the actual number of people involved. The second calculation module is used to calculate the ratio of the piece count to the planned output to obtain the first efficiency index.
[0018] Thirdly, embodiments of this application also provide a computer device, including a memory and a processor; The memory is connected to the processor, the memory is used to store computer programs, and the processor is used to call the computer programs to cause the computer device to execute the method for obtaining output indicators as described in any one of the first aspects.
[0019] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program adapted to be loaded by a processor and executed as described in any one of the first aspects for obtaining output indicators.
[0020] Fifthly, embodiments of this application also provide a computer program product, including a computer program that, when executed by a processor, implements the steps of the method for obtaining output indicators as described in any of the first aspects.
[0021] The aforementioned methods, apparatus, computer equipment, computer-readable storage media, and computer program products for obtaining output indicators set up corresponding parameter sets for each processing unit. These parameter sets include at least a unique piece counter number, standard working hours per unit, and the actual number of workers involved. The system then acquires the piece counter's start-up and shutdown times, as well as the number of pieces produced in between. Based on the piece counter's runtime, standard working hours per unit, and the actual number of workers involved, the planned output is calculated. Finally, the ratio of the number of pieces produced to the planned output is calculated to obtain the first efficiency indicator. In this embodiment, piece counting is transformed from "manual post-event estimation" to "reducible calculation driven by start-up / shutdown events," linking piece counting information with the actual number of workers involved, thereby facilitating accurate and timely calculation of relevant indicators. Attached Figure Description
[0022] Figure 1 This is a flowchart illustrating the method for obtaining output indicators in an embodiment of this application.
[0023] Figure 2 This is a schematic diagram of the device for obtaining output indicators in an embodiment of this application.
[0024] Figure 3 This is a schematic diagram of a computer device according to an embodiment of this application. Detailed Implementation
[0025] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of this application.
[0026] Please see Figure 1 This application discloses a method for obtaining output indicators, which is executed by the system side, specifically a Manufacturing Execution System (MES).
[0027] The methods for obtaining this output indicator include: S1. Establish the parameter group corresponding to the processing unit. The parameter group includes the unique piece counter number (ID), the standard working hours per unit, and the actual number of people involved.
[0028] It should be noted that once a parameter group is created, it can be maintained and modified during each shutdown phase, which is also considered as creating a parameter group.
[0029] Specifically, a processing unit can be a single processing unit used to complete the processing of a product or a specific step of the product's production. It includes multiple processing stations and requires a number of operators (who can perform different or identical processing tasks). A piece counter is located at the end of the production line; that is, one piece counter is configured for each processing unit. Each completed piece is counted once by a designated operator (e.g., by tapping it). For each processing unit, the system sets a corresponding parameter group, specifying the piece counter, standard working hours, and actual number of operators. These parameters can be modified when the piece counter is not in operation. For example, if the current piece counter is damaged and replaced with a new one, the piece counter number for that processing unit changes, requiring modification of the piece counter number in the system's parameter group. The standard working hours and actual number of operators can also be modified when the piece counter is not in operation.
[0030] In addition, to prevent production line personnel from affecting the statistics by abnormally turning the piece counter on and off, the piece counter is set so that it cannot be turned on or off by human intervention. A control terminal can be set up for each processing unit (i.e., each piece counter), and the designated personnel can control the piece counter's on / off state through the control terminal.
[0031] Standard working hours per unit can be understood as the standardized time required for a worker with an average skill level to complete a single product (or a single process) under specific production conditions. This includes normal operating time and reasonable allowance time (such as rest and equipment adjustments). Assuming a processing unit normally requires 10 workers to complete 10 different processing steps, the standard working hour per unit can be the standardized time for one processing unit to complete a single product divided by the number of workers involved. This can be obtained and updated through daily data. The actual number of workers involved refers to the number of workers that will actually be involved in the entire processing unit during the subsequent production process (corresponding to the piece counter's operating range).
[0032] S2 records the start-up time of the piece counter in real time.
[0033] In some embodiments, a check is performed before the piece counter is turned on to ensure that it is not already occupied by other processing units, thus preventing a piece counter from being turned on simultaneously in multiple locations.
[0034] In some embodiments, the parameter group further includes: piecework object; The method also includes: Upon receiving a power-on trigger message from the control terminal for the piece counter, the system checks whether a piece counter object is set in the corresponding parameter group. If no piece counter object is set, the system refuses to power on the piece counter and issues an alarm message in real time. In other words, a piece counter object must be set to complete the power-on process, thus ensuring that the system can clearly identify the piece counter object.
[0035] Specifically, after confirming that the parameter group has been set with piece count objects, check whether there are other parameter groups that have set the same piece count objects and the corresponding piece counters are in the on state. If the check result is yes, the piece counter will be refused to be powered on and a conflict will be indicated.
[0036] It should be noted that the other parameter sets refer to the parameter sets corresponding to other processing units. Piecework objects are the processing objects, which can be represented by specific identifiers.
[0037] The above-mentioned technical means can ensure that the same piecework item can only be occupied by one production record at any given time.
[0038] Specifically, when the relevant personnel (such as the line leader) want to turn on the piece counter, they can trigger the operation on the control terminal. The system will receive the power-on trigger information and then perform the above-mentioned inspection process. After passing the inspection, the system can directly control the piece counter to turn on (this moment can be recorded as the power-on moment of the piece counter). Of course, it is also possible that the control terminal will turn on the piece counter immediately after the system issues the power-on approval information.
[0039] S3 records the shutdown time of the piece counter in real time.
[0040] Specifically, upon receiving the shutdown trigger information from the piece counter, that moment can be recorded as the shutdown moment of the piece counter.
[0041] Specifically, the shutdown trigger information can be sent by the control terminal (operated by the relevant personnel). After receiving the shutdown trigger information, the system can issue a shutdown command for the piece counter.
[0042] In some embodiments, the parameter group also includes the piece counter status; After passing the power-on test, the piece counter is set to the on state, and a log for the operating interval is created. The log for the operating interval records the power-on time, standard working hours per unit, and the actual number of people involved. After receiving the shutdown trigger information for the piece counter from the control terminal, the end time is written for the corresponding running interval, and the running time is calculated.
[0043] In some embodiments, during the operating interval between the power-on and power-off times, modification of parameters such as the piece counter number, the items being counted, and the actual number of personnel involved is prohibited. That is, the piece counter must be shut down before modifications are allowed to prevent affecting the calculation results.
[0044] S4 obtains the piece count from the start time to the shutdown time (which can be all completed products or only good products), and obtains the runtime based on the start time and shutdown time, and calculates the planned output based on the runtime, unit standard working hours and actual number of people involved.
[0045] The piece counter can provide feedback after each piece count, either directly to the system or to a control terminal, from which the control terminal then provides real-time feedback to the system, or it can provide the total count to the system after the count is completed, and so on. This application does not restrict how the piece counter provides feedback information to the system, as long as the system can obtain the final counted quantity.
[0046] Specifically, the planned output can be calculated by multiplying the runtime, standard working hours per unit, and the actual number of personnel involved. This means the output that should theoretically be completed under a given standard working hours and personnel configuration.
[0047] In actual production, the unit of standard working hours is seconds per piece, and the unit of running time is seconds. Of course, this is not a limitation.
[0048] If no corresponding unfinished running interval is found during shutdown, the settlement write will not be executed.
[0049] S5 calculates the ratio of piecework quantity to planned output to obtain the first efficiency index.
[0050] In some embodiments, the method further includes: The standard working hours consumed are calculated based on the unit standard working hours and the actual output of good products.
[0051] In actual production, the standard working hours are calculated by converting the unit of standard working hours from "seconds / piece" to "hours / piece" and then multiplying it by the actual output of good products. This gives the standard working hours consumed, which is usually the standard working hours consumed on that day (if no unexpected events occur on that day).
[0052] Specifically, the actual output of good products is obtained based on the cumulative piece count from the piece counter. Piece counting can be performed only when a product is confirmed as good, or the piece counter can have more than one piece counting button, allowing for separate piece counting for all products and good products.
[0053] Specifically, the method also includes: Obtain the actual working hours entered; The ratio of standard working hours consumed to actual working hours input is used to obtain the second efficiency index.
[0054] It is important to note that the units for both need to be converted to be consistent. Real-time work hours can be entered by relevant personnel, such as supervisors, to reflect the actual time invested.
[0055] In some embodiments, after the output index calculation is completed, the method further includes: The submitted daily reports undergo status verification, which includes: The status of other piece counters corresponding to all associated processing units is determined, and those piece counters that are turned on are forcibly shut down. This ensures that there are no residual operating states.
[0056] In addition, the system checks for conflicts where multiple records simultaneously open the same piecework item; if such conflicts exist, submission is prevented. Records are archived after approval; when a record is rejected, the reason for rejection and the operation log are retained.
[0057] In this embodiment, a corresponding parameter set is set for each processing unit. The parameter set includes at least a unique piece counter number, standard working hours per unit, and the actual number of workers involved. Then, the start-up and shutdown times of the piece counter, as well as the number of pieces counted between them, are obtained. Based on the piece counter's runtime, standard working hours per unit, and the actual number of workers involved, the planned output is calculated. Finally, the ratio of the number of pieces counted to the planned output is calculated to obtain the first efficiency index. In this embodiment, piece counting is transformed from "manual post-event estimation" to "reducible calculation driven by start-up and shutdown events," linking piece counting information with the actual number of workers involved, thereby facilitating accurate and timely calculation of relevant indicators.
[0058] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.
[0059] Based on the same inventive concept, this application also provides an apparatus for acquiring output indicators to implement the above-mentioned method for acquiring output indicators. The solution provided by this apparatus is similar to the solution described in the above-described method. Therefore, the specific limitations / descriptions in the embodiments of the apparatus for acquiring output indicators provided below can be found in the limitations / descriptions of the method for acquiring output indicators above, and will not be repeated here.
[0060] Please see Figure 2 The output indicator acquisition device according to this application embodiment includes: Module 201 is used to establish a parameter group corresponding to the processing unit. The parameter group includes a unique piece counter number, standard working hours per unit, and actual number of workers. The first recording module 202 is used to record the power-on time of the piece counter in real time. The second recording module 203 is used to record the shutdown time of the piece counter in real time. The first calculation module 204 is used to obtain the number of pieces from the power-on time to the power-off time, and to obtain the running time based on the power-on time and the power-off time, and to calculate the planned output based on the running time, the unit standard working hours and the actual number of people involved. The second calculation module 205 is used to calculate the ratio of the piece count to the planned output to obtain the first efficiency index.
[0061] In this embodiment, a corresponding parameter set is set for each processing unit. The parameter set includes at least a unique piece counter number, standard working hours per unit, and the actual number of workers involved. Then, the start-up and shutdown times of the piece counter, as well as the number of pieces counted between them, are obtained. Based on the piece counter's runtime, standard working hours per unit, and the actual number of workers involved, the planned output is calculated. Finally, the ratio of the number of pieces counted to the planned output is calculated to obtain the first efficiency index. In this embodiment, piece counting is transformed from "manual post-event estimation" to "reducible calculation driven by start-up and shutdown events," linking piece counting information with the actual number of workers involved, thereby facilitating accurate and timely calculation of relevant indicators.
[0062] In this application embodiment, the term "module" refers to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.
[0063] Figure 3 This is a schematic diagram of the structure of a computer device provided in an embodiment of this application. Figure 3 As shown, the computer device may include a processor 601 and a memory 602. The memory 602 is connected to the processor 601 and is used to store computer programs. The processor 601 calls the computer programs to cause the computer device to execute the output indicator acquisition method described in the above embodiments. Furthermore, the computer device may also include at least one communication bus 603. The communication bus 603 is used to implement communication between components. The memory 602 may be a high-speed RAM or a non-volatile memory, such as at least one disk storage device.
[0064] This application also provides a computer-readable storage medium storing a computer program adapted to be loaded by a processor and executed by the method for obtaining output indicators described in the above embodiments.
[0065] This application also provides a computer program product or computer program that includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the electronic device to perform the output indicator acquisition method as described in the above embodiments.
[0066] It should be understood that, in the embodiments of this application, the processor may be a central processing unit (CPU), but it may also be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0067] Those skilled in the art will understand that all or part of the processes in the above embodiments can be implemented by hardware related to computer program instructions. The program can be stored in a computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. The storage medium can be a magnetic disk, optical disk, read-only memory (ROM), or random access memory (RAM), etc.
[0068] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0069] The above-disclosed examples are merely preferred embodiments of this application and should not be construed as limiting the scope of this application. Therefore, any equivalent variations made in accordance with the claims of this application shall fall within the scope of this application.
Claims
1. A method for obtaining output indicators, characterized in that, The method includes: Establish a parameter group corresponding to the processing unit. The parameter group includes a unique piece counter number, standard working hours per unit, and actual number of workers involved. The piece counter's startup time is recorded in real time; The shutdown time of the piece counter is recorded in real time; Obtain the piece count from the start time to the shutdown time, and obtain the running time based on the start time and the shutdown time, and calculate the planned output based on the running time, the unit standard working hours and the actual number of people involved; The ratio of the piecework quantity to the planned output is calculated to obtain the first efficiency index.
2. The method for obtaining output indicators according to claim 1, characterized in that, Also includes: The standard working hours consumed are calculated based on the unit standard working hours and the actual output of good products.
3. The method for obtaining output indicators according to claim 2, characterized in that, Also includes: Obtain the actual working hours entered; The ratio of the standard working hours consumed to the actual working hours invested is calculated to obtain the second efficiency index.
4. The method for obtaining output indicators according to claim 2, characterized in that, The actual output of good products is obtained based on the cumulative output of the piece counter.
5. The method for obtaining output indicators according to claim 1, characterized in that, The parameter group also includes: piecework objects; The method further includes: When the control terminal receives the power-on trigger information for the piece counter, it checks whether the piece counter object is set in the corresponding parameter group. If the piece counter object is not set, it refuses to power on the piece counter and issues an alarm message in real time.
6. The method for obtaining output indicators according to claim 5, characterized in that, Also includes: After confirming that the parameter group has been set to the piece counting object, check whether there are other parameter groups that have been set to the same piece counting object and the corresponding piece counter is in the on state; If the check result is yes, then the piece counter will be refused to be powered on and a conflict will be indicated.
7. The method for obtaining output indicators according to claim 5 or 6, characterized in that, The parameter group also includes the piece counter status; After passing the power-on test, the piece counter is set to the on state, and a log for the operating interval is created. The log for the operating interval records the power-on time, the unit standard working hours, and the actual number of people involved. After receiving the shutdown trigger information from the control terminal for the piece counter, the end time is written for the corresponding running interval, and the running time is calculated.
8. The method for obtaining output indicators according to claim 5, characterized in that, During the operating interval between the power-on time and the power-off time, it is prohibited to modify the piece counter number, the piece counting object, and the actual number of people involved.
9. The method for obtaining output indicators according to claim 1, characterized in that, After completing the output indicator calculation, the following is also included: The submitted daily reports undergo status verification, which includes: Determine the status of other piece counters corresponding to all associated processing units, and force the other piece counters that are in the on state to shut down.
10. A device for acquiring output indicators, characterized in that, The device includes: A module is established to create a parameter group corresponding to the processing unit. The parameter group includes a unique piece counter number, standard working hours per unit, and actual number of workers. The first recording module is used to record the power-on time of the piece counter in real time; The second recording module is used to record the shutdown time of the piece counter in real time. The first calculation module is used to obtain the number of pieces from the power-on time to the power-off time, and to obtain the running time based on the power-on time and the power-off time, and to calculate the planned output based on the running time, the unit standard working hours and the actual number of people involved. The second calculation module is used to calculate the ratio of the piece count to the planned output to obtain the first efficiency index.
11. A computer device, characterized in that, Including memory and processor; The memory is connected to the processor, the memory is used to store computer programs, and the processor is used to call the computer programs so that the computer device executes the method for obtaining output indicators as described in any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program adapted to be loaded by a processor and executed by the method for obtaining output indicators according to any one of claims 1 to 9.