Method, system and device for automatically calculating commissioning duration and medium

By obtaining the current information and status type of the equipment, combining it with the millisecond timestamp to calculate the commissioning time, and automatically updating it through scheduled tasks, the problems of low efficiency and insufficient accuracy in calculating the commissioning time in the existing technology are solved, and real-time and accurate calculation of the equipment commissioning time is achieved.

CN120598518APending Publication Date: 2025-09-05YANCHI ZHONGYING CHUANGNENG NEW ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510673696.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-23
Publication Date
2025-09-05

AI Technical Summary

Technical Problem

Existing technologies have low efficiency and insufficient accuracy in calculating the operating time of equipment, high manual maintenance costs, and difficulty in achieving real-time and accurate operating time verification.

Method used

By obtaining the current information of the equipment, determining its status type, and using the current millisecond timestamp to calculate the operation duration, a scheduled task is set for automatic update to achieve automatic calculation and real-time update of the equipment operation duration.

Benefits of technology

It achieves accurate and real-time calculation of equipment operation time, reduces manual maintenance costs, and improves calculation efficiency and accuracy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120598518A_ABST
    Figure CN120598518A_ABST
Patent Text Reader

Abstract

The invention discloses a method and system for automatically calculating commissioning time, equipment and a medium. The method comprises the following steps: acquiring current information of the equipment; judging the state type of the equipment according to the current information of the equipment, wherein the state type of the equipment comprises a decommissioning state and a non-decommissioning state; according to the method, the system, the equipment and the medium, the current millisecond timestamp is determined, the commissioning duration of the equipment is calculated according to the current millisecond timestamp and the state type of the equipment, and the commissioning duration of the equipment can be accurately calculated in real time through the method, the system, the equipment and the medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of data calculation and relates to a method, system, equipment and medium for automatically calculating the commissioning time. Background Art

[0002] With the continuous development and advancement of new energy technologies, the performance of wind turbines and photovoltaic equipment continues to improve, and construction and installation techniques are becoming increasingly mature. This provides technical support for shortening project commissioning times. At the same time, the application of new technologies may also bring about changes in project construction and operation models, necessitating a reassessment and optimization of commissioning times to fully leverage the advantages of new technologies and improve the overall project benefits.

[0003] As the group's business continues to expand, the quality and accuracy of basic equipment information are becoming increasingly demanding. To ensure project profitability, accurate and real-time verification of operational hours, including equipment, site information, and project duration, is essential. Manual maintenance is not only inefficient and wasteful, but also lacks accuracy and timeliness. Summary of the Invention

[0004] The purpose of the present invention is to overcome the shortcomings of the above-mentioned prior art and provide a method, system, device and medium for automatically calculating the commissioning time. This method, system, device and medium can calculate the commissioning time of the equipment in real time and accurately.

[0005] To achieve the above object, the present invention discloses a method for automatically calculating the commissioning time, comprising:

[0006] Get the current information of the device;

[0007] Determine the device status type based on the current information of the device, where the device status type includes retired status and non-retired status;

[0008] Determine the current millisecond timestamp and calculate the device's operating hours based on the current millisecond timestamp and the device's status type.

[0009] The method for automatically calculating the commissioning time of the present invention is further improved in that:

[0010] Furthermore, the process of calculating the equipment's operational duration based on the current millisecond timestamp and the equipment's status type is as follows:

[0011] When the status type of the device is retired, the retirement time of the device is obtained, and the retirement time of the device is converted into a millisecond timestamp time1, and the operation time of the device is calculated based on the millisecond timestamp time1 and the current millisecond timestamp nowTime;

[0012] When the status type of the device is a non-retired state, the commissioning time of the device is obtained. When the commissioning time of the device is converted to a millisecond timestamp time2, the commissioning duration of the device is calculated based on the millisecond timestamp time2 and the current millisecond timestamp nowTime.

[0013] Furthermore, when the status type of the equipment is retired, the operation time of the equipment = Math.abs(time1-nowTime) / (1000*60*60*24*365).

[0014] Furthermore, when the status type of the equipment is a non-retired state, the operation time of the equipment = Math.abs(time2-nowTime) / (1000*60*60*24*365).

[0015] Furthermore, it also includes:

[0016] A scheduled task is constructed, and the operation duration of the equipment is regularly updated according to the scheduled task.

[0017] The present invention discloses a system for automatically calculating the commissioning time, comprising:

[0018] Acquisition module, used to obtain the current information of the device;

[0019] a determination module, configured to determine a state type of the device according to current information of the device, wherein the state type of the device includes a retired state and a non-retired state;

[0020] The calculation module is used to determine the current millisecond timestamp and calculate the operation time of the equipment according to the current millisecond timestamp and the status type of the equipment.

[0021] The system for automatically calculating the commissioning time of the present invention is further improved in that:

[0022] Furthermore, the process of calculating the equipment's operational duration based on the current millisecond timestamp and the equipment's status type is as follows:

[0023] A first determining module is configured to, when the status type of the device is a retired state, obtain the retirement time of the device, convert the retirement time of the device into a millisecond timestamp time1, and calculate the operation time of the device based on the millisecond timestamp time1 and a current millisecond timestamp nowTime;

[0024] The second determination module is used to obtain the commissioning time of the equipment when the status type of the equipment is a non-retired state. When the commissioning time of the equipment is converted into a millisecond timestamp time2, the commissioning time of the equipment is calculated based on the millisecond timestamp time2 and the current millisecond timestamp nowTime.

[0025] Furthermore, it also includes:

[0026] The timing module is used to construct a timing task and regularly update the operation time of the equipment according to the timing task.

[0027] The present invention discloses a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for automatically calculating the commissioning time are implemented.

[0028] The present invention discloses a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method for automatically calculating the commissioning time are implemented.

[0029] The present invention has the following beneficial effects:

[0030] The method, system, device and medium for automatically calculating the operation duration described in the present invention, during specific operation, judge whether the device is in a retired state or a non-retired state based on the current information of the device, and then calculate the operation duration of the device in combination with the current millisecond timestamp, and automatically generate the duration by program automatic calculation or supplementing information to achieve the purpose of accuracy, real-time and high efficiency.

[0031] Furthermore, the present invention sets a timed task to automatically update the operation time of the equipment regularly to avoid manual operation as much as possible. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which constitute part of the present invention, are intended to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are intended to explain the present invention and do not constitute an undue limitation of the present invention. In the accompanying drawings:

[0033] Figure 1 Flow chart of the method of the present invention. DETAILED DESCRIPTION

[0034] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present invention without making any creative efforts shall fall within the scope of protection of the present invention.

[0035] In the description of the present invention, it is to be understood that the terms “include” and “comprise” indicate the presence of the described features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or collections thereof.

[0036] It should also be understood that the terms used in the present specification are only for the purpose of describing particular embodiments and are not intended to limit the present invention. As used in the present specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms unless the context clearly indicates otherwise.

[0037] It should be further understood that the term "and / or" as used in the present specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items. For example, A and / or B may represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in the present invention generally indicates that the associated objects are in an "or" relationship.

[0038] It should be understood that although the terms "first," "second," and "third" may be used to describe preset ranges in embodiments of the present invention, these preset ranges should not be limited to these terms. These terms are merely used to distinguish one preset range from another. For example, without departing from the scope of embodiments of the present invention, the first preset range may also be referred to as the second preset range, and similarly, the second preset range may also be referred to as the first preset range.

[0039] The word "if," as used herein, may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting," depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to the determination" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)," depending on the context.

[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Generally, the components of the embodiments of the present invention described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0041] The accompanying drawings illustrate various schematic diagrams of structures according to embodiments disclosed herein. These figures are not drawn to scale; for clarity, some details are exaggerated and some details may be omitted. The shapes of the various regions and layers shown in the figures, as well as their relative sizes and positional relationships, are merely exemplary and may deviate in practice due to manufacturing tolerances or technical limitations. Those skilled in the art may design regions / layers with different shapes, sizes, and relative positions as needed.

[0042] Example 1

[0043] refer to Figure 1 The method for automatically calculating the commissioning time of the present invention comprises the following steps:

[0044] 1) Operation and maintenance personnel enter the current information of the equipment;

[0045] 2) Determine the status type of the device according to the current device information, where the status type of the device includes a retired state or a non-retired state.

[0046] 3) If the device is in a retired state, determine the retirement time of the device, convert the retirement time of the device into a millisecond timestamp time1, and go to step 4); if the device is in a non-retired state, obtain the commissioning time of the device, and go to step 5)

[0047] 4) Obtain the current millisecond timestamp nowTime, subtract the current millisecond timestamp from the millisecond timestamp time1 of the retirement time obtained in step 3), and calculate the absolute value. Then, calculate the operating time of the equipment based on the calculation result of the absolute value (Math.abs(time1-nowTime)): Operation time (years) = Math.abs(time1-nowTime) / (1000*60*60*24*365);

[0048] 5) When the commissioning time of the equipment is converted to the millisecond timestamp time2, the millisecond timestamp time2 of the commissioning time is subtracted from the current millisecond timestamp nowTime, and the absolute value is obtained. Then, the operation time of the equipment is calculated based on the calculation result of the absolute value Math.abs(time2-nowTime). Commissioning time (years) = Math.abs(time2-nowTime) / (1000*60*60*24*365).

[0049] It should be noted that the operation duration calculation in the present invention is a scheduled calculation, that is, it is completed through a scheduled task, saving labor maintenance costs, and using scheduled updates to regularly modify the operation duration so that the result is always the most accurate.

[0050] It should be noted that the present invention uses a program to automatically calculate or supplement information to automatically generate the duration to achieve accurate, real-time and efficient results.

[0051] Example 2

[0052] The present invention discloses a system for automatically calculating the commissioning time, comprising:

[0053] Acquisition module, used to obtain the current information of the device;

[0054] a determination module, configured to determine a state type of the device according to current information of the device, wherein the state type of the device includes a retired state and a non-retired state;

[0055] The calculation module is used to determine the current millisecond timestamp and calculate the operation time of the equipment according to the current millisecond timestamp and the status type of the equipment.

[0056] In this embodiment, the process of calculating the operation time of the device according to the current millisecond timestamp and the status type of the device is as follows:

[0057] A first determining module is configured to, when the status type of the device is a retired state, obtain the retirement time of the device, convert the retirement time of the device into a millisecond timestamp time1, and calculate the operation time of the device based on the millisecond timestamp time1 and a current millisecond timestamp nowTime;

[0058] The second determination module is used to obtain the commissioning time of the equipment when the status type of the equipment is a non-retired state. When the commissioning time of the equipment is converted into a millisecond timestamp time2, the commissioning time of the equipment is calculated based on the millisecond timestamp time2 and the current millisecond timestamp nowTime.

[0059] In this embodiment, it also includes:

[0060] The timing module is used to construct a timing task and regularly update the operation time of the equipment according to the timing task.

[0061] In this embodiment, when the status type of the device is the retired state, the operation time of the device=Math.abs(time1-nowTime) / (1000*60*60*24*365).

[0062] In this embodiment, when the status type of the device is a non-retired state, the operation time of the device=Math.abs(time2-nowTime) / (1000*60*60*24*365).

[0063] The division of modules in the embodiments of the present application is illustrative and is merely a logical functional division. In actual implementation, other division methods may be used. Furthermore, the functional modules in the various embodiments of the present application may be integrated into a single processor, or may exist physically separately, or two or more modules may be integrated into a single module. The aforementioned integrated modules may be implemented in the form of hardware or software functional modules.

[0064] Example 3

[0065] A computer device comprises a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, the steps of the method for automatically calculating the operation duration are implemented, for example, including: obtaining current information of the device; judging the status type of the device based on the current information of the device, the status type of the device including a retired state and a non-retired state; determining a current millisecond timestamp, and calculating the operation duration of the device based on the current millisecond timestamp and the status type of the device. The process of calculating the operation duration of the equipment according to the current millisecond timestamp and the status type of the equipment is as follows: when the status type of the equipment is retired status, the retirement time of the equipment is obtained, and the retirement time of the equipment is converted into the millisecond timestamp time1, and the operation duration of the equipment is calculated according to the millisecond timestamp time1 and the current millisecond timestamp nowTime; when the status type of the equipment is non-retired status, the commissioning time of the equipment is obtained, and when the commissioning time of the equipment is converted into the millisecond timestamp time2, the operation duration of the equipment is calculated according to the millisecond timestamp time2 and the current millisecond timestamp nowTime; when the status type of the equipment is retired status, the operation duration of the equipment = Math.abs(time1-nowTime) / (1000*60*60*24*365); when the status type of the equipment is non-retired status, the operation duration of the equipment = Math.abs(time2-nowTime) / (1000*60*60*24*365). The memory may include internal memory, such as high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device. The processor, network interface, and memory are interconnected via an internal bus. This internal bus may be an Industry Standard Architecture bus, a Peripheral Component Interconnect Standard bus, an Extended Industry Standard Architecture bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. The memory is used to store programs. Specifically, the program may include program code, and the program code includes computer operating instructions. The memory may include internal memory and non-volatile memory, and provides instructions and data to the processor.

[0066] Example 4

[0067] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the method for automatically calculating the commissioning time, for example, including: obtaining current information of a device; judging the status type of the device based on the current information of the device, the status type of the device including a retired state and a non-retired state; determining a current millisecond timestamp, and calculating the commissioning time of the device based on the current millisecond timestamp and the status type of the device. The process of calculating the operation duration of the device based on the current millisecond timestamp and the status type of the device is as follows: when the status type of the device is retired, the retirement time of the device is obtained, and the retirement time of the device is converted into a millisecond timestamp time1, and the operation duration of the device is calculated based on the millisecond timestamp time1 and the current millisecond timestamp nowTime; when the status type of the device is non-retired, the commissioning time of the device is obtained, and when the commissioning time of the device is converted into a millisecond timestamp time2, the operation duration of the device is calculated based on the millisecond timestamp time2 and the current millisecond timestamp nowTime; when the status type of the device is retired, the operation duration of the device = Math.abs(time1-nowTime) / (1000*60*60*24*365); when the status type of the device is non-retired, the operation duration of the device = Math.abs(time2-nowTime) / (1000*60*60*24*365). Specifically, the computer-readable storage medium includes, but is not limited to, volatile memory and / or non-volatile memory. The volatile memory may include a random access memory and / or a cache memory, etc. The non-volatile memory may include a read-only memory, a hard disk, a flash memory, an optical disk, a magnetic disk, etc.

[0068] 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 take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present application may take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0069] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the 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 the 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 produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the steps in the process. 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.

[0070] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work 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 The function specified in one or more boxes.

[0071] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.

[0072] Those skilled in the art will readily identify other embodiments of the present invention after considering the specification and disclosure of the invention. This application is intended to cover any variations, uses, or adaptations of the present invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the invention being indicated by the following claims.

[0073] It should be understood that the present invention is not limited to the exact construction described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

[0074] The above description is only a preferred embodiment of the present invention and does not limit the present invention in any way. Any simple modification, change and equivalent structural change made to the above embodiment based on the technical essence of the present invention shall still fall within the scope of protection of the technical solution of the present invention.

Claims

1. A method for automatically calculating the commissioning time, characterized in that: include: Get the current information of the device; Determine the status type of the device according to the current information of the device, wherein the status type of the device includes a retired state and a non-retired state; Determine the current millisecond timestamp and calculate the device's operating hours based on the current millisecond timestamp and the device's status type.

2. The method for automatically calculating the commissioning time according to claim 1, characterized in that: The process of calculating the equipment's operating time based on the current millisecond timestamp and the equipment's status type is as follows: When the status type of the device is retired, the retirement time of the device is obtained, and the retirement time of the device is converted into a millisecond timestamp time1, and the operation time of the device is calculated based on the millisecond timestamp time1 and the current millisecond timestamp nowTime; When the status type of the device is a non-retired state, the commissioning time of the device is obtained. When the commissioning time of the device is converted to a millisecond timestamp time2, the commissioning duration of the device is calculated based on the millisecond timestamp time2 and the current millisecond timestamp nowTime.

3. The method for automatically calculating the commissioning time according to claim 2, characterized in that: When the status type of the equipment is retired, the operation time of the equipment = Math.abs(time1-nowTime) / (1000*60*60*24*365).

4. The method for automatically calculating the commissioning time according to claim 2, characterized in that: When the status type of the equipment is non-retired, the operation time of the equipment = Math.abs(time2-nowTime) / (1000*60*60*24*365).

5. The method for automatically calculating the commissioning time according to claim 2, characterized in that: Also includes: A scheduled task is constructed, and the operation duration of the equipment is regularly updated according to the scheduled task.

6. A system for automatically calculating the commissioning time, characterized in that: include: Acquisition module, used to obtain the current information of the device; a determination module, configured to determine a state type of the device according to current information of the device, wherein the state type of the device includes a retired state and a non-retired state; The calculation module is used to determine the current millisecond timestamp and calculate the operation time of the equipment according to the current millisecond timestamp and the status type of the equipment.

7. The system for automatically calculating the commissioning time according to claim 6, characterized in that: The process of calculating the equipment's operating time based on the current millisecond timestamp and the equipment's status type is as follows: A first determining module is configured to, when the status type of the device is a retired state, obtain the retirement time of the device, convert the retirement time of the device into a millisecond timestamp time1, and calculate the operation time of the device based on the millisecond timestamp time1 and a current millisecond timestamp nowTime; The second determination module is used to obtain the commissioning time of the equipment when the status type of the equipment is a non-retired state. When the commissioning time of the equipment is converted into a millisecond timestamp time2, the commissioning time of the equipment is calculated based on the millisecond timestamp time2 and the current millisecond timestamp nowTime.

8. The system for automatically calculating the commissioning time according to claim 6, characterized in that: Also includes: The timing module is used to construct a timing task and regularly update the operation time of the equipment according to the timing task.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for automatically calculating the commissioning time as described in any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for automatically calculating the commissioning time as described in any one of claims 1 to 5 are implemented.