Method, device and system for determining effective duration of work order and storage medium
By obtaining the maintenance information of the work order and the scheduling information of the maintenance personnel, calculating the actual maintenance time of the work order on each date, and considering the suspension incident, the problem of inaccurate calculation of the effective time of the work order is solved, and a more accurate work order progress and cost assessment is achieved.
Patent Information
- Application Number
- CN202411940764.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-26
- Publication Date
- 2025-05-16
AI Technical Summary
In the prior art, the calculation of the effective duration of the work order is inaccurate, and the attendance time, leave and leave adjustment status of the work order handler cannot be considered, and dynamic time conditions do not support, such as the work order suspension process or spare parts application process.
By obtaining the maintenance information of the work order, including the equipment to be repaired, the maintenance personnel, the maintenance start time and the maintenance completion time, the maintenance personnel schedule information is determined, and the actual maintenance time occupied by the work order on each date is calculated, considering the impact of the suspension incident, and finally determining the effective duration of the work order.
It improves the accuracy of the calculation of the effective time of the work order, can more accurately evaluate the work order progress and cost, and supports dynamic time conditions and complex work order processing.
Smart Images

Figure CN120013511A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of intelligent manufacturing technology, and specifically to a method, device, system, storage medium and computer program product for determining the effective duration of a work order. Background Art
[0002] With the continuous advancement of information technology and intelligent technology, manufacturing enterprises have higher and higher requirements for information technology and intelligent technology. Intelligent manufacturing has become an inevitable trend and technical core of the development of modern manufacturing technology. To realize intelligent manufacturing and intelligent factories, it is necessary not only to work hard on manufacturing, but also to carry out daily inspection, maintenance and repair of equipment. The time spent on inspection, maintenance and repair of each equipment is a very important indicator. This indicator can measure the work efficiency of workers and affect the operation and maintenance cost of the factory.
[0003] Traditional work order time calculation generally uses the time difference between the work order completion time and the work order start time to calculate. This calculation method neither takes into account the attendance time, leave and adjustment of the work order handler, nor supports dynamic time conditions, such as adding a work order suspension process or adding a spare parts application process. As a result, the actual effective working time of the work order is inconsistent with the recorded working time, affecting the accurate assessment of the work order progress and cost. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a method, device, system, storage medium and computer program product for determining the effective duration of a work order, so as to solve the technical defect of inaccurate calculation of the effective duration of a work order in the prior art.
[0005] In order to achieve the above-mentioned purpose, the first aspect of the present application provides a method for determining the effective duration of a work order, the determination method comprising:
[0006] Obtain maintenance information of the work order, including the equipment to be repaired, the maintenance personnel corresponding to the equipment to be repaired, the maintenance start time and the maintenance completion time;
[0007] Determine a first date on which the maintenance start time is located and a second date on which the maintenance completion time is located, wherein the second date is greater than or equal to the first date;
[0008] Determine the shift schedule information of the maintenance personnel on each of all dates included between the first date and the second date, wherein the shift schedule information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of the morning shift, the afternoon shift and the evening shift;
[0009] Determine the actual maintenance time taken by the work order on each date;
[0010] Determine the validity period of the work order based on the actual maintenance time.
[0011] In an embodiment of the present application, determining the actual maintenance time occupied by a work order in each shift includes: for any date among all dates, determining the start time and end time of the maintenance personnel repairing the equipment to be repaired on that date; determining the shift in which the start time and the end time are located according to the shift information of the date; determining the maintenance time of the work order on that date according to the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located; judging whether there is a pause event triggered by the maintenance personnel between the start time and the end time on that date; if there is a pause event, obtaining the pause duration of the pause event; subtracting the pause duration from the maintenance duration to determine the actual maintenance duration.
[0012] In an embodiment of the present application, the determination method further includes: in the absence of a pause event, determining the maintenance duration as the actual maintenance duration.
[0013] In an embodiment of the present application, the suspension event includes any one of maintenance suspension, spare parts, maintenance personnel adjustment and maintenance personnel leave.
[0014] In an embodiment of the present application, determining the maintenance time of the work order within the date according to the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located includes: when it is determined that the shift in which the start time and the end time are the same shift, determining the maintenance time of the work order within the date according to the start time and the end time; when it is determined that the shift in which the start time and the end time are not the same shift, determining the maintenance time of the work order within the date according to the start time, the end time, and the shift interval between the shift in which the start time is located and the shift in which the end time is located.
[0015] In an embodiment of the present application, the determination method further includes: evaluating the efficiency and cost of the work orders according to the effective duration, so as to allocate the work orders to be processed based on the evaluation results.
[0016] A second aspect of the present application provides a device for counting the effective duration of a work order, comprising:
[0017] a memory configured to store instructions;
[0018] The processor is configured to call the instructions from the memory and implement the above-mentioned method for determining the effective duration of the work order when executing the instructions.
[0019] A third aspect of the present application provides a system for counting the effective duration of a work order, including the above-mentioned device for counting the effective duration of a work order.
[0020] A fourth aspect of the present application provides a machine-readable storage medium having instructions stored thereon, which, when executed by a processor, configures the processor to execute the above-mentioned method for determining the effective duration of a work order.
[0021] A fifth aspect of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above-mentioned method for determining the effective duration of a work order.
[0022] The above technical scheme obtains maintenance information of the work order, where the maintenance information includes the equipment to be repaired, the maintenance personnel corresponding to the equipment to be repaired, the maintenance start time and the maintenance completion time; determines a first date where the maintenance start time is located and a second date where the maintenance completion time is located, wherein the second date is greater than or equal to the first date; determines the scheduling information of the maintenance personnel for each of all dates included between the first date and the second date, wherein the scheduling information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of the morning shift, the afternoon shift and the evening shift; determines the actual maintenance time occupied by the work order on each date; determines the effective time of the work order based on the actual maintenance time, thereby effectively improving the accuracy of the calculation of the effective time of the work order.
[0023] Other features and advantages of the embodiments of the present application will be described in detail in the subsequent specific implementation section. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] The accompanying drawings are used to provide a further understanding of the embodiments of the present application and constitute a part of the specification. Together with the following specific implementations, they are used to explain the embodiments of the present application, but do not constitute a limitation on the embodiments of the present application. In the accompanying drawings:
[0025] Figure 1 A schematic diagram of a process for determining the effective duration of a work order according to an embodiment of the present application is shown;
[0026] Figure 2 A schematic diagram schematically shows the maintenance time occupied by a work order according to an embodiment of the present application;
[0027] Figure 3 A schematic diagram schematically shows the maintenance time occupied by another work order according to an embodiment of the present application;
[0028] Figure 4 The internal structure diagram of a computer device according to an embodiment of the present application is schematically shown. DETAILED DESCRIPTION
[0029] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. It should be understood that the specific implementation methods described herein are only used to illustrate and explain the embodiments of the present application, and are not used to limit the embodiments of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0030] In addition, if there are descriptions involving "first", "second", etc. in the embodiments of the present application, the descriptions of "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or suggesting their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of such features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.
[0031] Figure 1 The following is a schematic diagram showing a flow chart of a method for determining the effective duration of a work order according to an embodiment of the present application. Figure 1 As shown, an embodiment of the present application provides a method for determining the effective duration of a work order, and the determination method may include the following steps:
[0032] Step 101, obtaining maintenance information of the work order, the maintenance information includes the equipment to be maintained, the maintenance personnel corresponding to the equipment to be maintained, the maintenance start time and the maintenance completion time.
[0033] In the embodiments of the present application, it should be noted that the work order may refer to a maintenance work order. When there is equipment to be repaired, the processor will generate a maintenance work order for the equipment to be repaired. The maintenance work order should include the equipment to be repaired, the maintenance personnel corresponding to the equipment to be repaired, the work order claim period, and the maintenance completion period. The maintenance personnel should claim and start the maintenance within the claim period, and complete the maintenance of the equipment to be repaired within the maintenance completion period. After the maintenance personnel completes the maintenance task of the equipment to be repaired, the processor can obtain the maintenance information of the work order, and the maintenance information includes the equipment to be repaired, the maintenance personnel corresponding to the equipment to be repaired, the maintenance start time, and the maintenance completion time.
[0034] Step 102, determining a first date where the maintenance start time is located and a second date where the maintenance completion time is located, wherein the second date is greater than or equal to the first date.
[0035] In an embodiment of the present application, it should be noted that after the processor obtains the maintenance information of the work order, it can further determine the first date of the maintenance start time and the second date of the maintenance completion time according to the historical record dates of the maintenance start time and the maintenance completion time.
[0036] Step 103, determining the scheduling information of the maintenance personnel for each of all dates included in the period from the first date to the second date, wherein the scheduling information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of the morning shift, the mid-day shift and the evening shift.
[0037] In the embodiment of the present application, it should be noted that after respectively determining the first date where the maintenance start time is located and the second date where the maintenance completion time is located, all dates included in the period from the first date to the second date can be further obtained, and the scheduling information of the maintenance personnel on each date within all the dates can be further obtained. Among them, the scheduling information can refer to the shift information of the maintenance personnel on each date. In the present technical solution, the shift information can include the shift type and the shift start time and shift end time of each shift. The shift type can include the morning shift, the middle shift and the evening shift. Specifically, taking the first date as January 1 and the second date as January 3 as an example, all dates included in the first date to the second date device are January 1, January 2 and January 3. In this way, the processor can further obtain the scheduling information of the maintenance personnel on January 1, January 2 and January 3 respectively.
[0038] Step 104, determining the actual maintenance time occupied by the work order on each date.
[0039] In the embodiment of the present application, it should be noted that on each date, the maintenance personnel may have a pause event during the maintenance process. Therefore, the actual maintenance time occupied by the work order on each date cannot be directly calculated based on the maintenance start time and maintenance end time of the maintenance personnel on each date, which will lead to inaccurate calculated actual maintenance time. When calculating the actual maintenance time on each date, the time occupied by the pause event should be used as an influencing factor, so as to accurately calculate the actual maintenance time occupied by the work order on each date.
[0040] In an embodiment of the present application, determining the actual maintenance time occupied by a work order in each shift includes: for any date among all dates, determining the start time and end time of the maintenance personnel repairing the equipment to be repaired on that date; determining the shift in which the start time and the end time are located according to the shift information of the date; determining the maintenance time of the work order on that date according to the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located; judging whether there is a pause event triggered by the maintenance personnel between the start time and the end time on that date; if there is a pause event, obtaining the pause duration of the pause event; subtracting the pause duration from the maintenance duration to determine the actual maintenance duration.
[0041] In this embodiment, it should be noted that when calculating the actual maintenance time occupied by the work order in each shift, for any date among all dates, the start time and end time of the maintenance personnel repairing the equipment to be repaired on that date can be determined first, and the shift in which the start time and the end time are located can be determined based on the shift information of the date. Secondly, the maintenance time of the work order on that date is further determined based on the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located. At this point, the maintenance time obtained does not exclude whether there is a maintenance event during the maintenance process. Therefore, the processor needs to further determine whether there is a pause event triggered by the maintenance personnel between the start time and the end time on that date. If there is a pause event, the processor can obtain the pause duration of the pause event, subtract the pause duration from the maintenance time, so as to calculate the actual maintenance time occupied by the work order on that date. Specifically, if Figure 2 As shown in Figure 1, a schematic diagram of the maintenance time taken by a work order is provided. Figure 2 As shown, for each date, there may be a pause event during the maintenance process of the maintenance personnel. Therefore, taking any date as January 1 as an example, the processor obtains the maintenance start time and maintenance end time of the maintenance personnel on January 1, which are 9 am to 4 pm respectively. According to the shift information on January 1, the maintenance start time is in the morning shift, and the maintenance end time is in the middle shift. The end time of the morning shift is 12 noon, and the start time of the middle shift is 2 pm. Therefore, it can be calculated that the maintenance time of the maintenance personnel on January 1 is 5 hours. Secondly, it is further determined whether there is a pause event triggered by the maintenance personnel within these 5 hours. If the processor detects that a pause event occurs in the 30 minutes from 10 am to 10:30 am, the maintenance time is subtracted from the pause time to calculate the actual maintenance time as 4.5 hours.
[0042] In an embodiment of the present application, the determination method further includes: in the absence of a pause event, determining the maintenance duration as the actual maintenance duration.
[0043] In this embodiment, it should be noted that for any date, when the processor determines that there is no pause event triggered by the maintenance personnel between the start time and the end time of the date, the maintenance time can be determined as the actual maintenance time occupied by the work order on the date. Specifically, taking any date as January 1 as an example, the processor obtains the maintenance start time and maintenance end time of the maintenance personnel on January 1, which are 9 am to 4 pm respectively. According to the shift information on January 1, the maintenance start time is in the morning shift, the maintenance end time is in the middle shift, the end time of the morning shift is 12 noon, and the start time of the middle shift is 2 pm. Therefore, it can be calculated that the maintenance time of the maintenance personnel on January 1 is 5 hours. Secondly, it is further determined whether there is a pause event triggered by the maintenance personnel within these 5 hours. If the processor does not detect that a pause event has occurred, the maintenance time can be determined as the actual maintenance time occupied by the work order on January 1, so as to calculate that the actual maintenance time is 5 hours.
[0044] In the embodiment of the present application, the suspension event includes any one of maintenance suspension, spare parts, maintenance personnel adjustment and maintenance personnel leave.
[0045] In this embodiment, it should be noted that, for any date, the suspension events triggered by the maintenance personnel between the start time and the end time of the date may include maintenance suspension, spare parts, maintenance personnel adjustment and maintenance personnel leave.
[0046] In an embodiment of the present application, determining the maintenance time of the work order within the date based on the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located includes: when it is determined that the shift in which the start time and the end time are located is the same shift, determining the maintenance time of the work order within the date based on the start time and the end time; when it is determined that the shift in which the start time and the end time are not the same shift, determining the maintenance time of the work order within the date based on the start time, the end time, and the shift interval between the shift in which the start time is located and the shift in which the end time is located.
[0047] In this embodiment, it should be noted that, for any date among all dates, when the processor determines the maintenance duration of the work order within the date based on the start time, the end time, the shift in which the start time falls, and the shift in which the end time falls, if the processor determines that the shift in which the start time and the end time fall is the same shift, the processor can determine the maintenance duration of the work order within the date based on the start time and the end time. If the processor determines that the shift in which the start time and the end time fall is not the same shift, the processor can determine the maintenance duration of the work order within the date based on the start time, the end time, and the shift interval between the shift in which the start time falls and the shift in which the end time falls. Specifically, Figure 3As shown in FIG. , a schematic diagram of the maintenance time occupied by another work order is provided. Figure 3 As shown, each date includes the morning shift, the middle shift and the evening shift, and the maintenance time occupied by the work order can be interspersed in one or more shifts. Therefore, taking any date as January 1 as an example, if the processor obtains the maintenance start time and maintenance end time of the maintenance personnel on January 1 as 9 am to 4 pm respectively, according to the shift information on January 1, the maintenance start time is in the morning shift, the maintenance end time is in the middle shift, the end time of the morning shift is 12 noon, and the start time of the middle shift is 2 pm, that is, the time interval between the morning shift and the middle shift is 2 hours. Therefore, it can be calculated that the maintenance time of the maintenance personnel on January 1 is 5 hours. Taking any date as January 1 as an example, if the processor obtains the maintenance start time and maintenance end time of the maintenance personnel on January 1 as 2 am to 5 pm respectively, according to the shift information on January 1, the maintenance start time and maintenance end time are both in the middle shift, therefore, it can be calculated that the maintenance time of the maintenance personnel on January 1 is 3 hours.
[0048] Step 105, determining the effective duration of the work order according to the actual maintenance duration.
[0049] In the embodiment of the present application, it should be noted that after the processor calculates the actual maintenance time occupied by the work order on each date among all dates respectively, the actual maintenance time occupied on each date is added up to obtain the effective time of the work order.
[0050] The above technical scheme obtains maintenance information of the work order, where the maintenance information includes the equipment to be repaired, the maintenance personnel corresponding to the equipment to be repaired, the maintenance start time and the maintenance completion time; determines a first date where the maintenance start time is located and a second date where the maintenance completion time is located, wherein the second date is greater than or equal to the first date; determines the scheduling information of the maintenance personnel for each of all dates included between the first date and the second date, wherein the scheduling information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of the morning shift, the afternoon shift and the evening shift; determines the actual maintenance time occupied by the work order on each date; determines the effective time of the work order based on the actual maintenance time, thereby effectively improving the accuracy of the calculation of the effective time of the work order.
[0051] This technical solution has:
[0052] (1) Configurability: The factory work calendar, morning, noon and evening shifts can be dynamically configured and adjusted according to the actual situation of the factory. It is suitable for various shift arrangements and work time divisions, has strong adaptability and flexibility, and can adjust the time arrangements of each shift according to actual needs.
[0053] (2) Combined with attendance data: Supports pulling attendance data from the OA system and combining it with the attendance data for calculation.
[0054] (3) Improved accuracy: Existing technologies often simply calculate the difference between the start and end time of a work order, ignoring the difference in working hours between different shifts. This technical solution significantly improves the accuracy of calculating the effective time of a work order by dividing it into multiple shifts and processing the time interval.
[0055] (4) Complex work order processing: For work orders that span multiple days, this technical solution can use a cross-day time calculation method to ensure that the effective time of each day is calculated accurately and can correctly accumulate the total effective time of work orders that span multiple days.
[0056] The present application provides a device for counting the effective duration of a work order, including:
[0057] a memory configured to store instructions;
[0058] The processor is configured to call the instructions from the memory and implement the above-mentioned method for determining the effective duration of the work order when executing the instructions.
[0059] An embodiment of the present application provides a system for counting the effective duration of a work order, including the above-mentioned counting device for counting the effective duration of a work order.
[0060] An embodiment of the present application provides a machine-readable storage medium having instructions stored thereon. When the instructions are executed by a processor, the processor is configured to execute the above-mentioned method for determining the effective duration of a work order.
[0061] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4 As shown. The computer device includes a processor A01, a network interface A02, a memory (not shown in the figure) and a database (not shown in the figure) connected via a system bus. Among them, the processor A01 of the computer device is used to provide computing and control capabilities. The memory of the computer device includes an internal memory A03 and a non-volatile storage medium A04. The non-volatile storage medium A04 stores an operating system B01, a computer program B02 and a database (not shown in the figure). The internal memory A03 provides an environment for the operation of the operating system B01 and the computer program B02 in the non-volatile storage medium A04. The database of the computer device is used to store data on a method for determining the effective duration of a work order. The network interface A02 of the computer device is used to communicate with an external terminal via a network connection. When the computer program B02 is executed by the processor A01, a method for determining the effective duration of a work order is implemented.
[0062] Those skilled in the art will understand that Figure 4 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0063] An embodiment of the present application provides a device, which includes a processor, a memory, and a program stored in the memory and executable on the processor. When the processor executes the program, the following steps are implemented: obtaining maintenance information of a work order, the maintenance information including equipment to be maintained, maintenance personnel corresponding to the equipment to be maintained, maintenance start time, and maintenance completion time; determining a first date where the maintenance start time is located and a second date where the maintenance completion time is located, wherein the second date is greater than or equal to the first date; determining scheduling information of the maintenance personnel for each of all dates included between the first date and the second date, wherein the scheduling information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of the morning shift, the afternoon shift, and the evening shift; determining the actual maintenance time occupied by the work order on each date; and determining the effective time of the work order based on the actual maintenance time.
[0064] In one embodiment, determining the actual maintenance time occupied by a work order in each shift includes: for any date among all dates, determining the start time and end time of the maintenance personnel repairing the equipment to be repaired on that date; determining the shift in which the start time and the end time are located according to the shift information of the date; determining the maintenance time of the work order on that date according to the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located; judging whether there is a pause event triggered by the maintenance personnel between the start time and the end time on that date; if there is a pause event, obtaining the pause duration of the pause event; subtracting the pause duration from the maintenance duration to determine the actual maintenance duration.
[0065] In one embodiment, the determination method further comprises: in the absence of a pause event, determining the maintenance duration as the actual maintenance duration.
[0066] In one embodiment, the suspension event includes any one of maintenance suspension, spare parts, maintenance personnel adjustment and maintenance personnel leave.
[0067] In one embodiment, determining the maintenance duration of the work order within the date according to the start time, the end time, the shift in which the start time falls, and the shift in which the end time falls includes: when it is determined that the shift in which the start time and the end time fall is the same shift, determining the maintenance duration of the work order within the date according to the start time and the end time; when it is determined that the shift in which the start time and the end time fall is not the same shift, determining the maintenance duration of the work order within the date according to the start time, the end time, and the shift interval duration between the shift in which the start time falls and the shift in which the end time falls.
[0068] In one embodiment, the determination method further includes: evaluating the efficiency and cost of the work orders according to the effective duration, so as to allocate the work orders to be processed based on the evaluation results.
[0069] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that is initialized with the following method steps: obtaining maintenance information of a work order, the maintenance information including the equipment to be maintained, the maintenance personnel corresponding to the equipment to be maintained, the maintenance start time and the maintenance completion time; determining a first date where the maintenance start time is located and a second date where the maintenance completion time is located, wherein the second date is greater than or equal to the first date; determining the scheduling information of the maintenance personnel for each of all dates included between the first date and the second date, wherein the scheduling information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of the morning shift, the mid-shift and the evening shift; determining the actual maintenance time occupied by the work order on each date; and determining the effective time of the work order based on the actual maintenance time.
[0070] In one embodiment, determining the actual maintenance time occupied by a work order in each shift includes: for any date among all dates, determining the start time and end time of the maintenance personnel repairing the equipment to be repaired on that date; determining the shift in which the start time and the end time are located according to the shift information of the date; determining the maintenance time of the work order on that date according to the start time, the end time, the shift in which the start time is located, and the shift in which the end time is located; judging whether there is a pause event triggered by the maintenance personnel between the start time and the end time on that date; if there is a pause event, obtaining the pause duration of the pause event; subtracting the pause duration from the maintenance duration to determine the actual maintenance duration.
[0071] In one embodiment, the determination method further comprises: in the absence of a pause event, determining the maintenance duration as the actual maintenance duration.
[0072] In one embodiment, the suspension event includes any one of maintenance suspension, spare parts, maintenance personnel adjustment and maintenance personnel leave.
[0073] In one embodiment, determining the maintenance duration of the work order within the date according to the start time, the end time, the shift in which the start time falls, and the shift in which the end time falls includes: when it is determined that the shift in which the start time and the end time fall is the same shift, determining the maintenance duration of the work order within the date according to the start time and the end time; when it is determined that the shift in which the start time and the end time fall is not the same shift, determining the maintenance duration of the work order within the date according to the start time, the end time, and the shift interval duration between the shift in which the start time falls and the shift in which the end time falls.
[0074] In one embodiment, the determination method further includes: evaluating the efficiency and cost of the work orders according to the effective duration, so as to allocate the work orders to be processed based on the evaluation results.
[0075] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.
[0076] The present application is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0077] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0078] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0079] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0080] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.
[0081] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.
[0082] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.
[0083] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.
Claims
1. A method for determining the effective duration of a work order, characterized in that: The determination method comprises: Obtain maintenance information of the work order, the maintenance information including the equipment to be repaired, the maintenance personnel corresponding to the equipment to be repaired, the maintenance start time and the maintenance completion time; Determine a first date where the maintenance start time is located and a second date where the maintenance completion time is located, wherein the second date is greater than or equal to the first date; Determine the shift schedule information of the maintenance personnel on each of all dates included between the first date and the second date, wherein the shift schedule information includes the shift type of the maintenance personnel on each date and the shift start time and shift end time of each shift, and the shift type includes at least one of a morning shift, a mid-day shift, and a night shift; Determine the actual maintenance time occupied by the work order on each of the dates; The effective duration of the work order is determined according to the actual maintenance duration.
2. The method for determining the effective duration of a work order according to claim 1, characterized in that: Determining the actual maintenance time occupied by the work order in each shift includes: For any date among all the dates, determine the start time and end time of the maintenance personnel repairing the equipment to be repaired on that date; Determine the shifts that the start time and the end time belong to according to the shift information of the date; Determine the maintenance duration of the work order within the date according to the start time, the end time, the shift in which the start time falls, and the shift in which the end time falls; Determine whether there is a pause event triggered by the maintenance personnel between the start time and the end time on the date; In the case where the pause event exists, obtaining the pause duration of the pause event; The maintenance time is subtracted from the pause time to determine the actual maintenance time.
3. The method for determining the effective duration of a work order according to claim 2, characterized in that: The determination method further comprises: In the absence of the pause event, the maintenance duration is determined as the actual maintenance duration.
4. The method for determining the effective duration of a work order according to claim 2, characterized in that: The suspension event includes any one of maintenance suspension, spare parts, the maintenance personnel's adjustment of leave, and the maintenance personnel's leave.
5. The method for determining the effective duration of a work order according to claim 2, characterized in that: Determining the maintenance duration of the work order within the date according to the start time, the end time, the shift in which the start time falls, and the shift in which the end time falls includes: When it is determined that the shifts in which the start time and the end time are located are the same shift, determining the maintenance duration of the work order within the date according to the start time and the end time; When it is determined that the shifts at the start time and the end time are not the same shift, the maintenance duration of the work order within the date is determined according to the start time, the end time, and the shift interval between the start time and the end time.
6. The method for determining the effective duration of a work order according to claim 1, characterized in that: The determination method further comprises: The efficiency and cost of the work orders are evaluated according to the effective time, so as to allocate the work orders to be processed based on the evaluation results.
7. A statistical device for the effective duration of a work order, characterized in that: include: a memory configured to store instructions; A processor is configured to call the instruction from the memory and implement the method for determining the effective duration of a work order according to any one of claims 1 to 6 when executing the instruction.
8. A statistical system for the effective duration of a work order, characterized in that: It includes a statistical device for the effective duration of a work order according to claim 7.
9. A machine-readable storage medium having instructions stored thereon, characterized in that: When the instruction is executed by a processor, the processor is configured to execute the method for determining the effective duration of a work order according to any one of claims 1 to 6.
10. A computer program product, characterized in that It comprises a computer program, which, when executed by a processor, implements the method for determining the effective duration of a work order as described in any one of claims 1 to 6.
Citation Information
Cited By
Equipment operation effective time calculation method and device, storage medium and related equipment
CN120910463A