Device operation effective time calculation method, device, storage medium and related device

By acquiring the planned processing data of the target workstation, determining the job type, calculating the actual start and end times, and filtering the actual rest and handover times, the problem of low accuracy in calculating the effective operating time of the equipment is solved, and high-precision equipment efficiency analysis is achieved.

CN120910463BActive Publication Date: 2026-07-28GUANGZHOU MINO AUTOMOTIVE EQUIP CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-08-04
Publication Date
2026-07-28

AI Technical Summary

Technical Problem

The calculation accuracy of the effective operating time of equipment in the existing technology is poor, resulting in low reliability of the overall equipment efficiency analysis and an inability to effectively correlate production cycle deviation with equipment status.

Method used

By acquiring the planned processing data of the target workstation, the job type is determined, and the shift calculation rules corresponding to the job type are adopted to determine the actual start and end times from the actual cycle time. The actual rest times are filtered by combining the planned rest time and equipment fault signals. When multiple shifts are working, the handover time is considered, and the effective operating time of the equipment is calculated.

Benefits of technology

It improves the accuracy of calculating the effective operating time of equipment, provides highly reliable overall equipment efficiency analysis data, and overcomes the problem of the disconnect between planned time and actual production capacity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120910463B_ABST
    Figure CN120910463B_ABST
Patent Text Reader

Abstract

The device operation effective time calculation method and device, storage medium and related device provided by the application can obtain the planned processing data and the job type of the target station in the current operation cycle, and determine the actual start pace and the actual end pace of the current operation cycle by using the shift calculation rule corresponding to the job type, and then determine the actual shift time, so that the problem of disconnection between the planned time and the actual production capacity can be overcome by using the actual pace; then, the actual rest time of the current operation cycle is determined based on the planned processing data and the device fault signal, so as to avoid the influence of the rest time caused by shutdown on the device operation; for the multi-shift job type, the actual handover time of the current operation cycle is further determined based on the planned processing data. Finally, based on the determined time, the device operation effective time with high precision can be calculated, and high-credibility analysis data for the overall device efficiency can be provided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of data analysis technology, and in particular to a method, apparatus, storage medium and related equipment for calculating the effective operating time of a device. Background Technology

[0002] With the transformation and upgrading of my country's manufacturing industry and the in-depth advancement of intelligent manufacturing, core equipment such as CNC machine tools and automated production lines are playing an increasingly crucial role in the production system. Their operating efficiency directly determines the overall performance of the production system. In order to accurately evaluate and improve equipment performance, overall equipment efficiency (OEE) has become a core indicator for measuring the comprehensive performance of equipment, playing a vital role in production optimization, capacity planning, and cost control.

[0003] Currently, the industry generally uses planned production cycle time as a benchmark to calculate equipment effective operating time, thereby deriving the OEE value. This calculation method facilitates standardized management for enterprises to a certain extent, providing a unified reference standard for production management. However, in actual production applications, the production site is often affected by various factors, leading to deviations between the actual and planned equipment operating times. Moreover, the planned time model lacks effective consideration of the correlation between production cycle time deviation and equipment status, resulting in a serious disconnect between theoretical and actual capacity. This leads to poor accuracy in calculating the effective operating time of equipment, thus affecting the reliability analysis of overall equipment efficiency. Summary of the Invention

[0004] The purpose of this application is to at least solve one of the aforementioned technical defects, particularly the technical defect in the prior art where the calculation accuracy of the effective operating time of the equipment is poor, thus affecting the overall equipment efficiency.

[0005] This application provides a method for calculating the effective operating time of a device, the method comprising:

[0006] Obtain the planned processing data of the target workstation in the current operating cycle, and determine the operation type of the target workstation based on the planned processing data; wherein, the current operating cycle is formed by a combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval; the operation type includes single shift and multi-shift;

[0007] Using the shift calculation rules corresponding to the operation type, the actual start and end beats of the current operation cycle are determined from each actual beat based on each beat interval, and the actual shift time is determined based on the actual start and end beats.

[0008] Based on the planned rest time and equipment fault signals in the planned processing data, the actual rest time of the current operating cycle is obtained by filtering from each production cycle, and the actual rest time is determined according to the actual rest time.

[0009] When the job type is multi-shift, the actual handover time of the current operating cycle is obtained by filtering from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and the actual handover time is determined according to the actual handover time.

[0010] The actual shift time, actual rest time, and actual handover time are calculated based on the job type to obtain the effective operating time of the equipment at the target workstation in the current operating cycle.

[0011] Optionally, the step of using shift calculation rules corresponding to the job type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval includes:

[0012] When the job type is single shift, the first prediction period is defined according to the planned shift time in the planned processing data, and the beat interval in the first prediction period is compared with the threshold from the forward and reverse order respectively.

[0013] When three consecutive beat intervals in the positive sequence are less than the first preset duration, the actual beat corresponding to the first beat interval among the three consecutive beat intervals is taken as the actual start beat of the current running cycle.

[0014] When three consecutive beat intervals in the reverse sequence are less than the first preset duration, the actual beat corresponding to the last beat interval among the three consecutive beat intervals is taken as the actual end beat of the current running cycle.

[0015] Optionally, the step of using shift calculation rules corresponding to the job type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval further includes:

[0016] When the operation type is multi-shift, a second prediction period is defined based on the current operating cycle; the second prediction period spans the current operating cycle and the previous operating cycle.

[0017] The beat intervals in the second prediction period are compared using thresholds in ascending order to obtain the comparison results.

[0018] If there are two consecutive beat intervals in the comparison results, where the first beat interval is greater than the second preset duration and the second beat interval is greater than the first preset duration, then the actual beat corresponding to the second beat interval is taken as the actual start beat of the current running cycle, and the actual beat corresponding to the first beat interval is taken as the actual end beat of the current running cycle.

[0019] Wherein, the second preset duration is longer than the first preset duration.

[0020] Optionally, the process of determining the actual shift time further includes:

[0021] When the job type is multi-shift, if there are no two consecutive beat intervals in the comparison results, and the previous beat interval is greater than the second preset duration and the next beat interval is greater than the first preset duration, then the third prediction period is determined according to the planned shift time in the planned processing data.

[0022] Production cycles with a duration longer than the third preset duration are selected from the third prediction period to form a shift cycle list;

[0023] If the schedule list is empty, the start time of the planned schedule will be taken as the start time of the actual schedule and the end time will be taken as the end time of the actual schedule.

[0024] If the shift rhythm list is a production rhythm, then the end time of the rhythm interval in the production rhythm is taken as the start time of the actual shift, and the start time is taken as the end time of the actual shift.

[0025] If the shift rhythm list consists of multiple production rhythms, then the end time of the rhythm interval in the production rhythm closest to the planned shift time is taken as the start time of the actual shift, and the start time is taken as the end time of the actual shift.

[0026] The actual trip time is calculated based on the actual start time and the actual end time of the trip.

[0027] Optionally, the step of filtering the actual rest time of the current operating cycle from each production cycle based on the planned rest time and equipment fault signals in the planned processing data includes:

[0028] The fourth prediction period is defined based on the planned rest time in the planned processing data, and the presence of equipment failure in the fourth prediction period is determined by the equipment failure signal.

[0029] If it does not exist, then production beats with a production beat duration longer than the fourth preset duration are selected from the fourth prediction period to form a rest beat list;

[0030] If the rest time list is empty or there is a equipment malfunction, the actual rest time of the current operating cycle is generated based on the planned rest time.

[0031] If the rest beat list is a production beat, then the production beat is used as the actual rest beat of the current operating cycle;

[0032] If the rest time list consists of multiple production timeframes, then the production timeframe closest to the planned rest time will be taken as the actual rest timeframe for the current operating cycle.

[0033] Optionally, the step of selecting the actual handover time of the current operating cycle from each production cycle based on the planned handover time in the planned processing data and the actual cycle duration of each production cycle includes:

[0034] The fifth prediction period is defined based on the planned handover time in the planned processing data, and production cycles with a production cycle duration longer than the fifth preset duration are selected from the fifth prediction period to form a handover cycle list;

[0035] If the handover cycle list is empty, the actual handover cycle of the current operating cycle is generated according to the planned handover time.

[0036] If the handover cycle list is a production cycle, then the production cycle is used as the actual handover cycle of the current operating cycle;

[0037] If the handover cycle list consists of multiple production cycles, then the production cycle closest to the planned handover time will be taken as the actual handover cycle for the current operating cycle.

[0038] Optionally, the step of calculating the actual shift time, the actual rest time, and the actual handover time based on the job type to obtain the effective equipment operating time of the target workstation in the current operating cycle includes:

[0039] When the job type is a single shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time from the actual shift time.

[0040] When the job type is multi-shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time and the actual social time from the actual shift time.

[0041] This application also provides a device for calculating the effective operating time of an equipment, comprising:

[0042] The data acquisition module is used to acquire the planned processing data of the target workstation in the current operating cycle, and determine the operation type of the target workstation based on the planned processing data; wherein, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval; the operation type includes single shift and multi-shift.

[0043] The shift determination module is used to determine the actual start and end times of the current operating cycle from each actual beat based on each beat interval using shift calculation rules corresponding to the operation type, and to determine the actual shift time based on the actual start and end times.

[0044] The rest determination module is used to filter the actual rest time of the current operating cycle from each production cycle based on the planned rest time and equipment fault signals in the planned processing data, and to determine the actual rest time based on the actual rest time.

[0045] The handover determination module is used to, when the job type is multi-shift, filter the actual handover time of the current operating cycle from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and determine the actual handover time based on the actual handover time.

[0046] The effective time calculation module is used to calculate the actual shift time, the actual rest time and the actual handover time based on the job type, so as to obtain the effective equipment operation time of the target workstation in the current operating cycle.

[0047] This application also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the device operating time calculation method as described in any of the above embodiments.

[0048] This application also provides a computer device, including: one or more processors, and memory;

[0049] The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the device operating time calculation method as described in any of the above embodiments.

[0050] As can be seen from the above technical solutions, the embodiments of this application have the following advantages:

[0051] The equipment operating time calculation method, apparatus, storage medium, and related equipment provided in this application, when calculating the effective operating time of equipment, can first obtain the planned processing data of the target workstation in the current operating cycle. Here, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval. Then, the operation type of the target workstation can be determined according to the planned processing data, so as to associate the calculation process of effective time with the equipment status. That is, the shift calculation rules corresponding to the operation type are adopted, and the actual start cycle and actual end cycle of the current operating cycle are determined from each actual cycle based on each cycle interval, thereby determining the actual shift time. In this way, the problem of the disconnect between planned time and actual production capacity can be overcome by using actual cycle times. Furthermore, based on the planned rest times and equipment fault signals in the planned processing data, the actual rest time for the current operating cycle can be obtained by filtering from each production cycle, thus determining the actual rest time and avoiding the impact of downtime on equipment operation. To further improve the accuracy of effective equipment operating time, the impact of handover time also needs to be considered for multi-shift operations. Here, based on the planned handover time in the planned processing data and the duration of each production cycle, the actual handover time for the current operating cycle is obtained by filtering from each production cycle, thus determining the actual handover time. Finally, based on the determined times, a high-precision effective equipment operating time can be calculated, providing highly reliable analytical data for overall equipment efficiency. Attached Figure Description

[0052] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0053] Figure 1 A flowchart illustrating a method for calculating the effective operating time of a device, provided in an embodiment of this application;

[0054] Figure 2 A schematic diagram illustrating the relationship between planned and actual shifts for a single-shift operation type, provided as an embodiment of this application;

[0055] Figure 3 A schematic diagram illustrating the calculation of the actual shift start time for a single-shift operation type, provided as an embodiment of this application;

[0056] Figure 4 A schematic diagram illustrating the calculation of the actual shift end time for a single-shift operation type provided in this application embodiment;

[0057] Figure 5A schematic diagram illustrating the relationship between planned and actual shifts in a multi-shift operation type, provided as an embodiment of this application;

[0058] Figure 6 A schematic diagram illustrating the calculation of actual shift times for a multi-shift operation type, provided for an embodiment of this application;

[0059] Figure 7 A schematic diagram illustrating the calculation of actual rest time during workstation operation, provided for an embodiment of this application;

[0060] Figure 8 A schematic diagram illustrating the calculation of actual handover time for a multi-shift operation type provided in this application embodiment;

[0061] Figure 9 This is a schematic diagram of the structure of a device for calculating the effective operating time of a device, provided in an embodiment of this application.

[0062] Figure 10 This is a schematic diagram of the internal structure of a computer device provided in an embodiment of this application. Detailed Implementation

[0063] 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 skilled in the art without creative effort are within the scope of protection of this application.

[0064] Currently, the industry generally uses planned production cycle time as a benchmark to calculate equipment effective operating time, thereby deriving the OEE value. This calculation method facilitates standardized management for enterprises to a certain extent, providing a unified reference standard for production management. However, in actual production applications, the production site is often affected by various factors, leading to deviations between the actual and planned equipment operating times. Moreover, the planned time model lacks effective consideration of the correlation between production cycle time deviation and equipment status, resulting in a serious disconnect between theoretical and actual capacity. This leads to poor accuracy in calculating the effective operating time of equipment, thus affecting the reliability analysis of overall equipment efficiency.

[0065] Based on this, this application proposes the following technical solution, as detailed below:

[0066] In one embodiment, such as Figure 1 As shown, Figure 1 This is a flowchart illustrating a method for calculating the effective operating time of a device, provided in an embodiment of this application. The method includes the following specific steps:

[0067] S110: Obtain the planned processing data of the target workstation in the current operating cycle, and determine the operation type of the target workstation based on the planned processing data; wherein, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval; the operation type includes single shift and multi-shift.

[0068] In this step, when calculating the effective operating time of the equipment, the computer equipment can first obtain the planned processing data of the target workstation in the current operating cycle. Here, the current operating cycle is formed by the combination of multiple production cycles. Each production cycle consists of an actual cycle and a cycle interval. Then, the operation type of the target workstation can be determined according to the planned processing data, so as to associate the calculation process of the effective time with the equipment status, so as to make it fit the actual production situation to evaluate the equipment operation and avoid the calculation results from being out of touch with the actual capacity due to the uniform use of a single standard.

[0069] In this context, "production takt time" refers to the smallest unit of time within a standard operating cycle of a workstation on a production line within an industrial IoT big data platform; it represents the timeframe of a complete production action and can be used to measure workstation rhythm. "Actual takt time" refers to the actual time a workstation spends processing products within a production takt time, i.e., the period during which the equipment is in an "operating" state. "Takt interval" refers to the non-processing time between two actual takt times, i.e., the period during which the equipment is in a "waiting / stopping" state. Therefore, multiple production takt times can constitute an operating cycle within a workstation, and the operating cycle in this application can be measured in days.

[0070] It should be noted that the actual cycle time and cycle time interval included in each production cycle of the target workstation within the current operating cycle are all actual operating data generated by the equipment at the target workstation during the production process. Each operating cycle is pre-set with corresponding planned processing data, including planned shift time, planned handover time and planned rest time, which are used to describe the operating arrangement of the equipment under ideal conditions.

[0071] Specifically, after the computer equipment obtains the planned processing data for the target workstation, it can first determine whether there is a planned handover time in the planned processing data, and then determine whether the operation type of the target workstation is single-shift or multi-shift. A single-shift workstation means that the equipment at the workstation has only one complete processing period within an operating cycle, and the work is completed within a fixed shift; while a multi-shift workstation means that there are two or more processing periods within the same operating cycle, and there is a handover time between each processing period, requiring multiple shifts to complete the work. Therefore, if there is no planned handover time in the planned processing data, it indicates that the operation type of the target workstation is single-shift; conversely, if there is, it indicates that the operation type of the target workstation is multi-shift.

[0072] It is understandable that, since planned processing data is difficult to correlate with production cycle deviation and equipment status, and determining the type of operation is an important prerequisite for the subsequent accurate calculation of actual processing data, this application, based on planned processing data, can combine actual production cycle data and the judgment of workstation operation type to closely link the calculation process of effective time with the equipment operating status, thereby more realistically restoring the actual operation of the equipment in a complex production environment.

[0073] S120: Using the shift calculation rules corresponding to the work type, the actual start and end beats of the current operating cycle are determined from each actual beat based on each beat interval, and the actual shift time is determined based on the actual start and end beats.

[0074] In this step, after determining the work type of the target workstation through step S110, the computer equipment can use the shift calculation rules corresponding to the work type to determine the actual start and end times of the current operating cycle from each actual time interval, and then determine the actual shift time. In this way, the problem of the planned time being out of sync with the actual capacity can be overcome by using the actual time interval.

[0075] The actual start time refers to the time interval during which a workstation performs its first effective processing action within a single operating cycle, marking the beginning of the equipment's formal commencement of production for that shift. The actual end time, on the other hand, refers to the time interval during which a workstation completes its last effective processing action within a single operating cycle, marking the end of the equipment's production task for that shift. Therefore, the actual shift time refers to the production duration between the actual start time and the actual end time.

[0076] Specifically, since different types of workstations exhibit significant differences in rhythm and behavior during actual operation, using a uniform shift calculation rule would easily lead to deviations in the computer equipment's identification of cycle time and time period. Therefore, the computer equipment can select a shift calculation rule that is compatible with the target workstation's work type, analyze the production cycle sequence within the current operating cycle, and combine it with the cycle interval information between each actual cycle to identify the actual start cycle of the equipment's actual processing operation and the actual end cycle of completing the last effective processing. This allows the computer equipment to calculate the actual shift time of the target workstation within the current operating cycle.

[0077] More specifically, when calculating actual shift times, computer equipment can first determine the start time of the actual start cycle and the end time of the actual end cycle, and then subtract the start time from the end time to obtain the actual shift time of the target workstation in the current operating cycle.

[0078] S130: Based on the planned rest time and equipment fault signals in the planned processing data, the actual rest time of the current operating cycle is obtained by filtering from each production cycle, and the actual rest time is determined according to the actual rest time.

[0079] In this step, after calculating the actual shift time through step S120, the computer equipment can also filter out the actual rest time of the current operating cycle from each production cycle based on the planned rest time and equipment fault signals in the planned processing data, thereby determining the actual rest time and avoiding the impact of downtime on equipment operation.

[0080] Among them, the planned rest time refers to the non-processing time period preset in a working cycle for the purpose of equipment operation safety; while the equipment fault signal refers to the fault status information collected and reported in real time by the industrial control system or the equipment itself, which is used to indicate that the equipment has experienced unplanned shutdown due to sudden or accumulated problems during operation.

[0081] Specifically, since the rest time and non-processing time of equipment failure both far exceed the production cycle time in the normal production process, and the corresponding production cycle times are similar, this application can combine the planned rest time and equipment failure signal to filter out the actual rest cycle time of the current operating cycle from each production cycle time, so as to avoid mistaking the production cycle time corresponding to the shutdown due to equipment failure as the actual rest cycle time of the workstation, thereby misleading the calculation of the actual rest time.

[0082] More specifically, when calculating the actual rest time, the computer equipment can first determine the start and end times of the actual rest cycle, and then subtract the start time from the end time to obtain the actual rest time for the target workstation to rest and restore performance within the current operating cycle.

[0083] S140: When the job type is multi-shift, the actual handover time of the current operating cycle is obtained by filtering from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and the actual handover time is determined based on the actual handover time.

[0084] In this step, since the handover time also needs to be considered for multi-shift operations, when the target workstation is operating in multiple shifts, the computer equipment also needs to filter the actual handover time of the current operating cycle from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and then determine the actual handover time to further improve the accuracy of the calculation of the effective operating time of the equipment.

[0085] Specifically, computer equipment can analyze all production cycles within the current operating period based on the pre-set planned handover time in the planned processing data and the duration of each production cycle. It can then identify production cycles that are in the handover process, not in a processing state but not in a rest state, and mark them as actual handover cycles. These actual handover cycles typically represent short periods of non-processing caused by shift changes, equipment status switching, task inventory and handover, environmental adjustments, etc. Although not part of the normal processing, they are essential processes for multi-shift operations.

[0086] More specifically, when calculating the actual handover time of multi-shift operations, computer equipment can first determine the start and end times of the actual handover cycle, and then subtract the start time from the end time to obtain the actual handover time of the target workstation within the current operating cycle.

[0087] S150: Calculate the actual shift time, actual rest time and actual handover time based on the job type to obtain the effective operating time of the equipment at the target workstation in the current operating cycle.

[0088] In this step, after calculating the various time periods within the current operating cycle through steps S120-S140, the computer equipment can calculate the actual shift time, actual rest time, and actual handover time according to the job type, thereby obtaining the effective operating time of the target workstation in the current operating cycle and providing highly reliable analytical data for overall equipment efficiency.

[0089] For example, when the job type is single shift, the workstation does not need to hand over the work, so there is no actual handover time. The computer equipment can directly calculate the effective operating time of the equipment based on the actual shift time and actual rest time. When the job type is multi-shift, the workstation needs to hand over the work, so there is an actual handover time. The computer equipment can calculate the effective operating time of the equipment based on the actual shift time, actual rest time, and actual handover time.

[0090] In the above embodiments, when calculating the effective operating time of the equipment, the planned processing data of the target workstation in the current operating cycle can be obtained first. Here, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval. Then, the operation type of the target workstation can be determined according to the planned processing data, so as to associate the calculation process of the effective time with the equipment status. That is, the shift calculation rules corresponding to the operation type are adopted, and the actual start cycle and actual end cycle of the current operating cycle are determined from each actual cycle based on each cycle interval, thereby determining the actual shift time. In this way, the actual cycle time can be determined through the actual cycle. This approach overcomes the disconnect between planned time and actual production capacity. Furthermore, based on planned rest times and equipment fault signals in the planned processing data, the actual rest time for the current operating cycle can be determined from each production cycle, thus mitigating the impact of downtime on equipment operation. To further improve the accuracy of effective equipment operating time, multi-shift operations also need to consider the impact of handover time. Here, based on the planned handover time in the planned processing data and the duration of each production cycle, the actual handover time for the current operating cycle is determined from each production cycle. Finally, based on the determined time periods, high-precision effective equipment operating time can be calculated, providing highly reliable analytical data for overall equipment efficiency.

[0091] In one embodiment, step S120, which uses shift calculation rules corresponding to the job type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval, may include:

[0092] S1211: When the job type is single shift, the first prediction period is defined based on the planned shift time in the planned processing data, and the beat interval in the first prediction period is compared with the threshold in both the forward and reverse order.

[0093] S1212: When three consecutive beat intervals in the forward sequence are less than the first preset duration, the actual beat corresponding to the first beat interval among the three consecutive beat intervals is taken as the actual start beat of the current running cycle.

[0094] S1213: When three consecutive beat intervals are less than the first preset duration in the reverse sequence, the actual beat corresponding to the last beat interval among the three consecutive beat intervals shall be taken as the actual end beat of the current running cycle.

[0095] In this embodiment, when the job type is single shift, the computer equipment can define the first prediction period based on the planned shift time in the planned processing data, and compare the beat intervals in the first prediction period in both ascending and descending order. Then, based on the comparison results, the actual start beat and actual end beat of the current operating cycle can be determined from each actual beat, which serves as the basis for calculating the actual shift time.

[0096] Specifically, such as Figure 2 As shown, Figure 2 This application provides a schematic diagram illustrating the relationship between planned and actual shifts for a single-shift operation type; from Figure 2 It can be seen that there are some deviations between the planned shift time and the actual shift time during the single-shift operation of the workstation equipment. Therefore, to improve the accuracy of the effective operating time of the equipment, the computer equipment can define a first prediction period based on the planned shift time in the planned processing data. The range of this first prediction period needs to cover all possible deviations in the planned shift time. Then, the beat intervals in the first prediction period can be compared with thresholds in both forward and reverse order. Thus, when three consecutive beat intervals in the forward order are less than a first preset duration, the actual beat corresponding to the first beat interval of the three consecutive beat intervals is taken as the actual start beat of the current operating cycle. Similarly, when three consecutive beat intervals in the reverse order are less than the first preset duration, the actual beat corresponding to the last beat interval of the three consecutive beat intervals is taken as the actual end beat of the current operating cycle.

[0097] For example, the start time of the first predicted period can be two hours before the start time of the planned trip, and the end time can be two hours after the end time of the planned trip; the first preset duration can be 0.5 times the average actual beat duration. Through forward and reverse threshold comparisons, the start and end times of the actual start beat are found to be 07:35:59 and 07:36:58 on January 1, 2025, respectively, and the start and end times of the actual end beat are 18:49:58 and 18:50:56 on January 1, 2025, respectively. Based on this, the actual trip time is the period between 07:35:59 and 18:50:56 on January 1, 2025.

[0098] Indicatively, such as Figure 3 and Figure 4 As shown, Figure 3 A schematic diagram illustrating the calculation of the actual shift start time for a single-shift operation type, provided as an embodiment of this application; Figure 4 A schematic diagram illustrating the calculation of the actual shift end time for a single-shift operation type provided in this application embodiment; Figure 3 In the process of comparing the intervals in ascending order, if the first interval is greater than 0.5 times the average actual cycle time, it indicates that the first actual cycle corresponding to this interval may be the first cycle in the current operating cycle during trial operation. If the intervals between the next three consecutive actual cycles all meet the condition of being less than 0.5 times the average actual cycle time, it means that the workstation equipment has officially started processing and production from the second actual cycle. Therefore, the first actual cycle among the three consecutive actual cycles that meet this condition is the actual start cycle. Similarly, Figure 4 In the process of comparing the intervals of the clock cycles in reverse order, if the intervals between three consecutive actual clock cycles meet the conditions, the last actual clock cycle can be taken as the actual end clock cycle, marking the end of the current workstation operation.

[0099] In one embodiment, step S120, which uses shift calculation rules corresponding to the job type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval, further includes:

[0100] S1221: When the job type is multi-shift, the second forecast period is determined based on the current operating cycle; the second forecast period spans the current operating cycle and the previous operating cycle.

[0101] S1222: Compare the beat intervals in the second prediction period according to the ascending order to obtain the comparison results.

[0102] S1223: If there are two consecutive beat intervals in the comparison results, and the previous beat interval is greater than the second preset duration and the next beat interval is greater than the first preset duration, then the actual beat corresponding to the next beat interval is taken as the actual start beat of the current running cycle, and the actual beat corresponding to the previous beat interval is taken as the actual end beat of the current running cycle.

[0103] In this embodiment, when the job type is multi-shift, the computer equipment can define a second prediction period based on the current operating cycle, and compare the beat intervals in the second prediction period in ascending order to obtain the comparison result. Then, based on the comparison result, the actual start beat and actual end beat of the current operating cycle can be determined from each actual beat, which serves as the basis for calculating the actual shift time.

[0104] It is understandable that the target workstation operates at the same pace across two consecutive operating cycles. Therefore, this application can consider the actual end beat of the previous operating cycle as the actual end beat of the current operating cycle. Here, there is a beat interval between the last actual beat of the previous operating cycle and the first actual beat of the current operating cycle. This beat interval spans two operating cycles and is much larger than the beat interval during the workstation's operation.

[0105] Specifically, such as Figure 5 As shown, Figure 5 This application provides a schematic diagram illustrating the relationship between planned and actual shifts in a multi-shift operation type; from Figure 5 It can be seen that during multi-shift operation of the workstation equipment, there are also some deviations between the planned shift time and the actual shift time. Therefore, to improve the accuracy of the effective operating time of the equipment, the computer equipment can define a second prediction period based on the current operating cycle. This second prediction period spans both the current and previous operating cycles. Then, the beat intervals within the second prediction period can be compared with thresholds in ascending order. If two consecutive beat intervals exist, with the first beat interval greater than the second preset duration and the second beat interval greater than the first preset duration, then the actual beat corresponding to the second beat interval is taken as the actual start beat of the current operating cycle, and the actual beat corresponding to the first beat interval, i.e., the actual end beat of the previous operating cycle, is taken as the actual end beat of the current operating cycle. It should be noted that since the beat interval corresponding to the second preset duration spans two operating cycles, while the beat interval corresponding to the first preset duration is the beat interval during normal workstation operation, the second preset duration needs to be set much larger than the first preset duration.

[0106] For example, the second predicted time period is the time between 12:00 in the previous operating cycle and 12:00 in the current operating cycle; the first preset duration can be 0.5 times the average actual beat duration, and the second preset duration can be 4 hours. Through positive threshold comparison, two consecutive beat intervals that meet the conditions are obtained. The start and end times of the actual start beat corresponding to the latter beat interval are 07:45:59 and 07:46:58 on January 2, 2025, respectively; the start and end times of the actual end beat corresponding to the former beat interval are 18:49:58 and 18:50:56 on January 1, 2025, respectively. Based on this, the actual shift time is the time period between 07:45:59 and 18:50:56 on January 2, 2025.

[0107] Indicatively, such as Figure 6 As shown, Figure 6 A schematic diagram illustrating the calculation of actual shift times for a multi-shift operation type, provided for an embodiment of this application; Figure 6In the process of comparing the intervals of the second prediction period in ascending order, the first interval is greater than 4 hours, and the intervals of the subsequent intervals are all less than 0.5 times the average actual interval duration. This indicates that the actual interval before the first interval is the last actual interval of the previous operating cycle, which can be regarded as the actual end interval of the current operating cycle. The actual interval after the first interval is the first actual interval of the current operating cycle, which is the actual start interval of the current operating cycle. Therefore, the actual shift time of multi-shift operations can be determined based on the start time of the actual start interval and the end time of the actual end interval.

[0108] In one embodiment, the process of determining the actual shift time in step S120 may further include:

[0109] S1224: When the job type is multi-shift, if there are no two consecutive beat intervals in the comparison results, and the previous beat interval is greater than the second preset duration and the next beat interval is greater than the first preset duration, then the third prediction period is determined according to the planned shift time in the planned processing data.

[0110] S1225: Select production beats whose actual beat duration is greater than the third preset duration from the third prediction period to form a shift beat list.

[0111] S1226: If the shift schedule list is empty, the start time of the planned shift will be taken as the start time of the actual shift, and the end time will be taken as the end time of the actual shift.

[0112] S1227: If the shift rhythm list is a single production rhythm, then the end time of the rhythm interval in the production rhythm is taken as the start time of the actual shift, and the start time is taken as the end time of the actual shift.

[0113] S1228: If the shift rhythm list consists of multiple production rhythms, the end time of the rhythm interval in the production rhythm closest to the planned shift time shall be taken as the start time of the actual shift, and the start time shall be taken as the end time of the actual shift.

[0114] S1229: The actual schedule time is calculated based on the actual start time and the actual end time of the actual schedule.

[0115] In this embodiment, if the target workstation operates in multiple shifts and there are no two consecutive beat intervals within the second prediction period (i.e., the previous beat interval is longer than the second preset duration and the next beat interval is longer than the first preset duration), the computer equipment can define a third prediction period based on the planned shift time in the planned processing data. Then, it can filter out production beats with a production beat duration longer than the third preset duration from the third prediction period to form a shift beat list. Finally, it can determine the final actual shift time based on the number of beats in the shift beat list.

[0116] Specifically, the third predicted time period in this application can be based on the start time of the planned shift, shifted forward and backward by one hour; in addition, the third preset duration can refer to a duration that is five minutes longer than the average production cycle time during normal operation of the workstation. The production cycle time in the third predicted time period that is longer than the third preset duration can be regarded as a cycle time that meets the calculation of the shift time. At this time, the computer equipment can construct a shift cycle time list based on all the production cycle times that meet the conditions, and determine the most suitable actual shift end time and actual shift start time based on the number of cycles in the shift cycle time list, and then calculate the actual shift time.

[0117] More specifically, when the shift timetable list is empty, it means there is no production timetable that matches the shift time calculation in the third prediction period. In this case, the computer equipment can use the start time of the planned shift as the actual shift start time and the end time as the actual shift end time. When the shift timetable list contains only one production timetable, it means the interval between the timetables in that production timetable connects the actual timetables of two operating cycles. In this case, the computer equipment can use the end time of the interval between the timetables in that production timetable as the actual shift start time and the start time as the actual shift end time. When the shift timetable list contains multiple production timetables, it means that there are factors such as work handover during the workstation operation that result in relatively long intervals between production timetables. In this case, the computer equipment can use the end time of the interval between the timetables in the production timetable closest to the planned shift as the actual shift start time and the start time as the actual shift end time.

[0118] In one embodiment, step S130, which involves filtering the actual rest time of the current operating cycle from each production cycle based on the planned rest time and equipment fault signals in the planned processing data, may include:

[0119] S131: Determine the fourth prediction period based on the planned rest time in the planned processing data, and determine whether there is equipment failure in the fourth prediction period through equipment failure signals.

[0120] S132: If it does not exist, then select production beats with a production beat duration longer than the fourth preset duration from the fourth prediction period to form a rest beat list.

[0121] S133: If the rest time list is empty or there is a equipment failure, the actual rest time for the current operating cycle will be generated based on the planned rest time.

[0122] S134: If the rest beat list is a production beat, then the production beat is used as the actual rest beat for the current running cycle.

[0123] S135: If the rest time list consists of multiple production timers, the production timer closest to the planned rest time will be taken as the actual rest timer for the current operating cycle.

[0124] In this embodiment, when determining the actual rest time of the previous operating cycle, the computer equipment can define a fourth prediction period based on the planned rest time in the planned processing data, and select production timers with a production timer duration greater than the fourth preset duration from the fourth prediction period to form a rest timer list. Then, the final actual rest timer can be determined based on the number of timers in the rest timer list and the equipment fault signal.

[0125] Specifically, if a equipment fault signal appears in the fourth prediction period, it indicates that there is a corresponding production cycle time for the fault in that period. To avoid the equipment fault affecting the determination of the actual rest cycle time, the computer equipment can construct the actual rest cycle time for the current operating cycle based on the start and end times of the planned rest time. If there is no equipment fault signal in the fourth prediction period, the computer equipment can filter out production cycles time longer than the fourth preset duration from the fourth prediction period to form a rest cycle time list. Then, based on the number of cycles in the rest cycle time list, the actual rest cycle time is determined, with the start time of the actual rest cycle time used as the start time of the actual rest time, and the end time used as the end time of the actual rest time. For example, when the rest cycle time list is empty, it indicates that there is no production cycle time in the fourth prediction period that meets the rest time calculation criteria. In this case, the computer equipment can construct the actual rest cycle time based on the start and end times of the planned rest time. When the rest time list contains only one production time, it means that the production time is consistent with the rest time calculation and there is no interference from other times. In this case, the computer equipment can use the production time as the actual rest time of the current operating cycle. When the rest time list contains multiple production times, it means that there are factors such as work handover during the work station operation that cause multiple production times to be close to the rest time. In this case, the computer equipment can use the production time closest to the planned rest time as the actual rest time of the current operating cycle.

[0126] For example, such as Figure 7 As shown, Figure 7 A schematic diagram illustrating the calculation of actual rest time during workstation operation, provided for an embodiment of this application; Figure 7In this context, the fourth predicted period can refer to the time interval between 0.5 times the planned rest time before the start time of the planned rest time and 0.5 times the planned rest time after the end time of the planned rest time. The fourth preset duration can be 0.5 times the planned rest time. During the operation at this workstation, if there is an actual rest rhythm that meets the rest conditions, with a start time of 2025-01-01 11:56:42 and an end time of 2025-01-01 12:45:11, then it means that the actual rest time for this workstation starts at 2025-01-01 11:56:42 and ends at 2025-01-01 12:45:11.

[0127] In one embodiment, step S140, which involves filtering the actual handover time of the current operating cycle from the planned handover time in the planned processing data and the actual cycle duration of each production cycle, may include:

[0128] S141: Determine the fifth forecast period based on the planned handover time in the planned processing data, and select production cycles with a production cycle length greater than the fifth preset length from the fifth forecast period to form a handover cycle list.

[0129] S142: If the handover cycle list is empty, the actual handover cycle for the current operating cycle will be generated based on the planned handover time.

[0130] S143: If the handover cycle list is a production cycle, then the production cycle is used as the actual handover cycle for the current operating cycle.

[0131] S144: If the handover cycle list consists of multiple production cycles, the production cycle closest to the planned handover time will be used as the actual handover cycle for the current operating cycle.

[0132] In this embodiment, when determining the actual handover rhythm of multi-shift operations in the current operating cycle, the computer equipment can define a fifth prediction period based on the planned handover time in the planned processing data, and select production rhythms with a production rhythm duration longer than the fifth preset duration from the fifth prediction period to form a handover rhythm list. Then, the final actual rest rhythm can be determined based on the number of rhythms in the handover rhythm list and the equipment fault signal.

[0133] Specifically, the computer equipment can filter production cycles with a duration longer than the fifth preset duration from the fifth prediction period to form a handover cycle list. Then, based on the number of cycles in this handover cycle list, the actual handover cycle is determined, with the start time of the actual handover cycle used as the start time of the actual handover time, and the end time used as the end time of the actual handover time. For example, when the handover cycle list is empty, it means there are no production cycles in the fifth prediction period that meet the handover time calculation. In this case, the computer equipment can construct the actual handover cycle based on the start and end times of the planned handover time. When the handover cycle list contains only one production cycle, it means that the production cycle meets the handover time calculation and there is no interference from other cycles. In this case, the computer equipment can use the production cycle as the actual handover cycle for the current operating cycle. When the handover cycle list contains multiple production cycles, it means that other factors during the workstation operation cause multiple production cycles to be close to the handover time. In this case, the computer equipment can use the production cycle closest to the planned handover time as the actual handover cycle for the current operating cycle.

[0134] For example, such as Figure 8 As shown, Figure 8 This application provides a schematic diagram illustrating the calculation of actual handover time for a multi-shift work type; from Figure 8 It can be seen that the fifth predicted time period in this application can refer to the time period from one hour before the start time of the planned handover time to one hour after the end time, and the fifth preset duration can be 5 minutes. During the operation at this workstation, there exists an actual handover cycle that meets the handover conditions, with a start time of 2025-01-01 20:33:09 and an end time of 2025-01-01 20:39:49, respectively. This indicates that the actual handover time at this workstation starts at 2025-01-01 20:33:09 and ends at 2025-01-01 20:39:49.

[0135] In one embodiment, step S150, which calculates the actual shift time, actual rest time, and actual handover time based on the job type to obtain the effective equipment operating time of the target workstation in the current operating cycle, may include:

[0136] S151: When the job type is single shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time from the actual shift time.

[0137] S152: When the job type is multi-shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time and actual social time from the actual shift time.

[0138] In this embodiment, the target workstation's operation type can include single-shift and multi-shift operations. Unlike single-shift operations, multi-shift operations involve actual handover time. Therefore, when the operation type is single-shift, the computer equipment can subtract the actual rest time from the actual shift time to obtain the effective equipment operation time of the target workstation in the current operating cycle. When the operation type is multi-shift, the computer equipment can subtract the actual rest time and actual social interaction time from the actual shift time to obtain the effective equipment operation time of the target workstation in the current operating cycle.

[0139] The device for calculating the effective operating time of the equipment provided in the embodiments of this application is described below. The device for calculating the effective operating time of the equipment described below can be referred to in correspondence with the device for calculating the effective operating time of the equipment described above.

[0140] In one embodiment, such as Figure 9 As shown, Figure 9 This application provides a schematic diagram of a device for calculating effective operating time of equipment, as shown in an embodiment of the present application. The application also provides a device for calculating effective operating time of equipment, including a data acquisition module 210, a shift determination module 220, a rest determination module 230, a handover determination module 240, and an effective time calculation module 250, specifically comprising the following:

[0141] The data acquisition module 210 is used to acquire the planned processing data of the target workstation in the current operating cycle and determine the operation type of the target workstation based on the planned processing data; wherein, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval; the operation type includes single shift and multi-shift.

[0142] The shift determination module 220 is used to determine the actual start and end times of the current operating cycle from each actual beat based on the shift calculation rules corresponding to the operation type, and to determine the actual shift time based on the actual start and end times.

[0143] The rest determination module 230 is used to filter the actual rest time of the current operating cycle from each production cycle based on the planned rest time and equipment fault signals in the planned processing data, and to determine the actual rest time based on the actual rest time.

[0144] The handover determination module 240 is used to, when the job type is multi-shift, filter out the actual handover time of the current operating cycle from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and determine the actual handover time based on the actual handover time.

[0145] The effective time calculation module 250 is used to calculate the actual shift time, actual rest time and actual handover time based on the job type, so as to obtain the effective operating time of the equipment at the target workstation in the current operating cycle.

[0146] In the above embodiments, when calculating the effective operating time of the equipment, the planned processing data of the target workstation in the current operating cycle can be obtained first. Here, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval. Then, the operation type of the target workstation can be determined according to the planned processing data, so as to associate the calculation process of the effective time with the equipment status. That is, the shift calculation rules corresponding to the operation type are adopted, and the actual start cycle and actual end cycle of the current operating cycle are determined from each actual cycle based on each cycle interval, thereby determining the actual shift time. In this way, the actual cycle time can be determined through the actual cycle. This approach overcomes the disconnect between planned time and actual production capacity. Furthermore, based on planned rest times and equipment fault signals in the planned processing data, the actual rest time for the current operating cycle can be determined from each production cycle, thus mitigating the impact of downtime on equipment operation. To further improve the accuracy of effective equipment operating time, multi-shift operations also need to consider the impact of handover time. Here, based on the planned handover time in the planned processing data and the duration of each production cycle, the actual handover time for the current operating cycle is determined from each production cycle. Finally, based on these determined times, a high-precision effective equipment operating time can be calculated, providing highly reliable analytical data for overall equipment efficiency.

[0147] In one embodiment, the shift determination module 220 may include:

[0148] The first time period delineation submodule is used to delineate the first prediction time period based on the planned shift time in the planned processing data when the operation type is single shift, and to perform threshold comparisons on the beat intervals in the first prediction time period from both ascending and descending order.

[0149] The start beat determination submodule is used to determine the actual beat corresponding to the first beat interval among the three consecutive beat intervals in the forward sequence when the interval is less than the first preset duration.

[0150] The end-of-cycle determination submodule is used to determine the actual end-of-cycle beat of the current running cycle when three consecutive beat intervals are less than a first preset duration in reverse order.

[0151] In one embodiment, the shift determination module 220 may further include:

[0152] The second time period delineation submodule is used to delineate the second prediction time period based on the current operating cycle when the job type is multi-shift. The second prediction time period spans the current operating cycle and the previous operating cycle.

[0153] The threshold comparison submodule is used to perform threshold comparisons on the beat intervals in the second prediction period in ascending order to obtain the comparison results.

[0154] The beat determination submodule is used to determine the actual beat of the current running cycle if there are two consecutive beat intervals in the comparison result, where the previous beat interval is greater than the second preset duration and the subsequent beat interval is greater than the first preset duration. In this case, the actual beat corresponding to the subsequent beat interval is taken as the actual start beat of the current running cycle, and the actual beat corresponding to the previous beat interval is taken as the actual end beat of the current running cycle.

[0155] The second preset duration is longer than the first preset duration.

[0156] In one embodiment, the shift determination module 220 may further include:

[0157] The third time period delineation submodule is used when the job type is multi-shift. If there are no two consecutive beat intervals in the comparison results, and the previous beat interval is greater than the second preset duration and the next beat interval is greater than the first preset duration, then the third prediction time period is delineated based on the planned shift time in the planned processing data.

[0158] The first list formation submodule is used to filter out the actual production cycle lengths that are longer than the third preset duration from the third prediction period, and form a shift cycle length list.

[0159] The first-moment determination submodule is used to determine the start time of the planned shift as the start time of the actual shift and the end time as the end time of the actual shift if the shift rhythm list is empty.

[0160] The second time determination submodule is used to determine the start time of the actual shift if the shift rhythm list is a single production rhythm, and the start time is used as the end time of the actual shift.

[0161] The third time determination submodule is used to determine the start time of the actual shift if the shift time list consists of multiple production time intervals. The end time of the interval in the production time interval closest to the planned shift time is taken as the start time of the actual shift, and the start time is taken as the end time of the actual shift.

[0162] The shift calculation submodule is used to calculate the actual shift time based on the actual shift start time and the actual shift end time.

[0163] In one embodiment, the rest determination module 230 may include:

[0164] The equipment fault judgment submodule is used to define the fourth prediction period based on the planned rest time in the planned processing data, and to determine whether there is an equipment fault in the fourth prediction period through equipment fault signals.

[0165] The second list determination submodule is used to filter out production beats with a production beat duration longer than the fourth preset duration from the fourth prediction period if the beat does not exist, and form a rest beat list.

[0166] The first beat determination submodule is used to generate the actual rest beat of the current operating cycle based on the planned rest time if the rest beat list is empty or there is a equipment failure.

[0167] The second beat determination submodule is used to determine the actual rest beat of the current running cycle if the rest beat list is a production beat.

[0168] The third beat determination submodule is used to determine the actual rest beat for the current operating cycle if the rest beat list consists of multiple production beats.

[0169] In one embodiment, the handover determination module 240 may include:

[0170] The third list formation submodule is used to define the fifth forecast period based on the planned handover time in the planned processing data, and to filter out the production cycle time with a duration longer than the fifth preset duration from the fifth forecast period to form a handover cycle time list.

[0171] The fourth beat module is used to generate the actual handover beat for the current running cycle based on the planned handover time if the handover beat list is empty.

[0172] The fifth beat module is used to use a production beat as the actual handover beat for the current running cycle if the handover beat list is a production beat.

[0173] The sixth beat module is used to select the production beat closest to the planned handover time as the actual handover beat for the current operating cycle if the handover beat list consists of multiple production beats.

[0174] In one embodiment, the step effective time calculation module 250 may include:

[0175] The single-shift calculation submodule is used to calculate the effective operating time of the target workstation in the current operating cycle by subtracting the actual rest time from the actual shift time when the job type is single-shift.

[0176] The multi-shift calculation submodule is used to calculate the effective operating time of the target workstation in the current operating cycle by subtracting the actual rest time and actual social time from the actual shift time when the job type is multi-shift.

[0177] In one embodiment, this application also provides a storage medium storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the device operating time calculation method as described in any of the above embodiments.

[0178] In one embodiment, this application also provides a computer device storing computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the device operation effective time calculation method as described in any of the above embodiments.

[0179] Indicatively, such as Figure 10 As shown, Figure 10 This is a schematic diagram of the internal structure of a computer device 300 provided in an embodiment of this application. The computer device 300 can be provided as a server. (Refer to...) Figure 10 The computer device 300 includes a processing component 302, which further includes one or more processors, and memory resources represented by memory 301 for storing instructions executable by the processing component 302, such as application programs. The application programs stored in memory 301 may include one or more modules, each corresponding to a set of instructions. Furthermore, the processing component 302 is configured to execute instructions to perform the device operating time calculation method of any of the above embodiments.

[0180] The computer device 300 may also include a power supply component 303 configured to perform power management of the computer device 300, a wired or wireless network interface 304 configured to connect the computer device 300 to a network, and an input / output (I / O) interface 305. The computer device 300 may operate on an operating system stored in memory 301, such as Windows Server™, Mac OS X™, Unix™, Linux™, Free BSD™, or similar.

[0181] Those skilled in the art will understand that Figure 10 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0182] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0183] The various embodiments in this specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments. The various embodiments can be combined as needed, and the same or similar parts can be referred to each other.

[0184] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A method for calculating the effective operating time of equipment, characterized in that, The method includes: Obtain the planned processing data of the target workstation in the current operating cycle, and determine the operation type of the target workstation based on the planned processing data; wherein, the current operating cycle is formed by a combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval; the operation type includes single shift and multi-shift; Using the shift calculation rules corresponding to the operation type, the actual start and end beats of the current operation cycle are determined from each actual beat based on each beat interval, and the actual shift time is determined based on the actual start and end beats. Based on the planned rest time and equipment fault signals in the planned processing data, the actual rest time of the current operating cycle is obtained by filtering from each production cycle, and the actual rest time is determined according to the actual rest time. When the job type is multi-shift, the actual handover time of the current operating cycle is obtained by filtering from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and the actual handover time is determined according to the actual handover time. The actual shift time, actual rest time, and actual handover time are calculated based on the job type to obtain the effective equipment operating time of the target workstation in the current operating cycle. The step of using shift calculation rules corresponding to the work type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval includes: When the operation type is a single shift, the first prediction period is defined according to the planned shift time in the planned processing data, and the beat interval in the first prediction period is compared with the threshold in both the forward and reverse order. Based on the comparison results, the actual start beat and actual end beat of the current operation cycle are determined from each actual beat. When the job type is multi-shift, a second prediction period is defined according to the current operating cycle, and the beat intervals in the second prediction period are compared with thresholds in ascending order. Based on the comparison results, the actual start beat and actual end beat of the current operating cycle are determined from each actual beat. The step of calculating the actual shift time, actual rest time, and actual handover time based on the job type to obtain the effective equipment operating time of the target workstation in the current operating cycle includes: When the job type is a single shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time from the actual shift time. When the job type is multi-shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time and the actual handover time from the actual shift time.

2. The method for calculating the effective operating time of equipment according to claim 1, characterized in that, The step of using shift calculation rules corresponding to the work type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval includes: When the job type is single shift, the first prediction period is defined according to the planned shift time in the planned processing data, and the beat interval in the first prediction period is compared with the threshold from the forward and reverse order respectively. When three consecutive beat intervals in the positive sequence are less than the first preset duration, the actual beat corresponding to the first beat interval among the three consecutive beat intervals is taken as the actual start beat of the current running cycle. When three consecutive beat intervals in the reverse sequence are less than the first preset duration, the actual beat corresponding to the last beat interval among the three consecutive beat intervals is taken as the actual end beat of the current running cycle.

3. The method for calculating the effective operating time of equipment according to claim 1, characterized in that, The step of using shift calculation rules corresponding to the work type to determine the actual start and end beats of the current operating cycle from each actual beat based on each beat interval also includes: When the operation type is multi-shift, a second prediction period is defined based on the current operating cycle; the second prediction period spans the current operating cycle and the previous operating cycle. The beat intervals in the second prediction period are compared using thresholds in ascending order to obtain the comparison results. If there are two consecutive beat intervals in the comparison results, where the first beat interval is greater than the second preset duration and the second beat interval is greater than the first preset duration, then the actual beat corresponding to the second beat interval is taken as the actual start beat of the current running cycle, and the actual beat corresponding to the first beat interval is taken as the actual end beat of the current running cycle. Wherein, the second preset duration is longer than the first preset duration.

4. The method for calculating the effective operating time of equipment according to claim 3, characterized in that, The process of determining the actual shift time also includes: When the job type is multi-shift, if there are no two consecutive beat intervals in the comparison results, and the previous beat interval is greater than the second preset duration and the next beat interval is greater than the first preset duration, then the third prediction period is determined according to the planned shift time in the planned processing data. Production cycles with a duration longer than the third preset duration are selected from the third prediction period to form a shift cycle list; If the schedule list is empty, the start time of the planned schedule will be taken as the start time of the actual schedule and the end time will be taken as the end time of the actual schedule. If the shift rhythm list is a production rhythm, then the end time of the rhythm interval in the production rhythm is taken as the start time of the actual shift, and the start time is taken as the end time of the actual shift. If the shift rhythm list consists of multiple production rhythms, then the end time of the rhythm interval in the production rhythm closest to the planned shift time is taken as the start time of the actual shift, and the start time is taken as the end time of the actual shift. The actual trip time is calculated based on the actual start time and the actual end time of the trip.

5. The method for calculating the effective operating time of equipment according to claim 1, characterized in that, The step of filtering the planned rest time and equipment fault signals from each production cycle to obtain the actual rest time of the current operating cycle includes: The fourth prediction period is defined based on the planned rest time in the planned processing data, and the presence of equipment failure in the fourth prediction period is determined by the equipment failure signal. If it does not exist, then production beats with a production beat duration longer than the fourth preset duration are selected from the fourth prediction period to form a rest beat list; If the rest time list is empty or there is no equipment malfunction, the actual rest time of the current operating cycle is generated based on the planned rest time. If the rest beat list is a production beat, then the production beat is used as the actual rest beat of the current operating cycle; If the rest time list consists of multiple production timeframes, then the production timeframe closest to the planned rest time will be taken as the actual rest timeframe for the current operating cycle.

6. The method for calculating the effective operating time of equipment according to claim 1, characterized in that, The step of obtaining the actual handover time of the current operating cycle by filtering from each production cycle based on the planned handover time in the planned processing data and the actual cycle duration of each production cycle includes: The fifth prediction period is defined based on the planned handover time in the planned processing data, and production cycles with a production cycle duration longer than the fifth preset duration are selected from the fifth prediction period to form a handover cycle list; If the handover cycle list is empty, the actual handover cycle of the current operating cycle is generated according to the planned handover time. If the handover cycle list is a production cycle, then the production cycle is used as the actual handover cycle of the current operating cycle; If the handover cycle list consists of multiple production cycles, then the production cycle closest to the planned handover time will be taken as the actual handover cycle for the current operating cycle.

7. A device for calculating the effective operating time of equipment, characterized in that, include: The data acquisition module is used to acquire the planned processing data of the target workstation in the current operating cycle, and determine the operation type of the target workstation based on the planned processing data; wherein, the current operating cycle is formed by the combination of multiple production cycles, and each production cycle consists of an actual cycle and a cycle interval; the operation type includes single shift and multi-shift. The shift determination module is used to determine the actual start and end times of the current operating cycle from each actual beat based on each beat interval using shift calculation rules corresponding to the operation type, and to determine the actual shift time based on the actual start and end times. The rest determination module is used to filter the actual rest time of the current operating cycle from each production cycle based on the planned rest time and equipment fault signals in the planned processing data, and to determine the actual rest time based on the actual rest time. The handover determination module is used to, when the job type is multi-shift, filter the actual handover time of the current operating cycle from each production cycle based on the planned handover time in the planned processing data and the production cycle duration of each production cycle, and determine the actual handover time based on the actual handover time. The effective time calculation module is used to calculate the actual shift time, the actual rest time and the actual handover time based on the job type to obtain the effective equipment operation time of the target workstation in the current operating cycle; The shift determination module employs shift calculation rules corresponding to the job type. The process of determining the actual start and end beats of the current operating cycle from each actual beat based on each beat interval includes: When the operation type is a single shift, the first prediction period is defined according to the planned shift time in the planned processing data, and the beat interval in the first prediction period is compared with the threshold in both the forward and reverse order. Based on the comparison results, the actual start beat and actual end beat of the current operation cycle are determined from each actual beat. When the operation type is multi-shift, a second prediction period is defined according to the current operation cycle, and the beat intervals in the second prediction period are compared with thresholds in ascending order. Based on the comparison results, the actual start beat and actual end beat of the current operation cycle are determined from each actual beat. The effective time calculation module calculates the actual shift time, actual rest time, and actual handover time based on the job type to obtain the effective equipment operating time of the target workstation in the current operating cycle, including: When the job type is a single shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time from the actual shift time. When the job type is multi-shift, the effective operating time of the target workstation in the current operating cycle is obtained by subtracting the actual rest time and the actual handover time from the actual shift time.

8. A storage medium, characterized in that: The storage medium stores computer-readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the device operating time calculation method as described in any one of claims 1 to 6.

9. A computer device, characterized in that, include: One or more processors, and memory; The memory stores computer-readable instructions, which, when executed by the one or more processors, perform the steps of the device operating time calculation method as described in any one of claims 1 to 6.