A method, device, electronic device and storage medium for processing equipment shutdown
By automating the acquisition and processing of shutdown requests for power plant equipment and determining the target section and current power flow, the problem of long shutdown processing time and low efficiency caused by manual estimation in the existing technology is solved, and more efficient and accurate equipment shutdown processing is achieved. Electricity safety is ensured.
Patent Information
- Application Number
- CN202111476239.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-06
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2041-12-06
AI Technical Summary
Existing power plant equipment shutdown processing methods rely on manual estimation, resulting in long processing time, low efficiency and low accuracy, affecting the safety of equipment and users.
By obtaining the shutdown request of the equipment to be shut down, the target section and the current target power flow are determined, and the shutdown request is rejected when the power flow exceeds the preset limit, and automated processing is implemented using software and hardware.
It reduces the time-consuming equipment shutdown process, improves processing efficiency and accuracy, and ensures the safety of equipment and users' electricity consumption.
Smart Images

Figure CN114188988B
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a method and apparatus for processing device downtime, an electronic device, and a storage medium. Background Art
[0002] In the power grid system, the state in which the power plant equipment can generate active power and reactive power is called the equipment startup state, and the state in which the power plant equipment cannot generate active power and reactive power is called the equipment shutdown state. The shutdown of the power plant equipment will affect the section flow of the section associated with the power plant equipment. If the power plant equipment is blindly placed in the shutdown state, it may cause the transformer or transmission line to overload, that is, exceed the rated limit of the transformer or transmission line, affecting the power safety of the equipment and users. Therefore, before the power plant equipment is shut down, it is necessary to determine whether the power plant equipment can be shut down.
[0003] The existing equipment shutdown processing method usually uses manual estimation to estimate the cross-sectional flow after the equipment is shut down, and compares the cross-sectional flow after the equipment is shut down with the cross-sectional flow limit to determine whether the equipment can be shut down. However, there are many cross-sections corresponding to the existing power plant equipment, and the process of calculating the cross-sectional flow is complicated. When the equipment shutdown is processed by manual estimation, the processing time is long, the processing efficiency is low, and the processing accuracy is low. Summary of the invention
[0004] The embodiments of the present invention provide a method, an apparatus, an electronic device and a storage medium for processing equipment downtime, which can reduce the processing time consumption of equipment downtime and improve the processing efficiency and processing accuracy of equipment downtime.
[0005] In a first aspect, an embodiment of the present invention provides a method for processing a device shutdown, comprising:
[0006] Obtaining a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time;
[0007] Determine the target section according to the shutdown request of the equipment to be shut down;
[0008] Determine a current target power flow matching the target section according to the shutdown start time;
[0009] When it is determined that the current target power flow exceeds the preset power flow limit, the shutdown request of the device to be shut down is rejected.
[0010] In a second aspect, an embodiment of the present invention further provides a device for processing equipment downtime, comprising:
[0011] A shutdown request acquisition module, used to acquire a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time;
[0012] A target section determination module, used for determining a target section according to a shutdown request of the equipment to be shut down;
[0013] A current target power flow determination module, used to determine a current target power flow matching the target section according to the shutdown start time;
[0014] The shutdown request processing module is used to reject the shutdown request of the device to be shut down when it is determined that the current target power flow exceeds the preset power flow limit.
[0015] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:
[0016] one or more processors;
[0017] A storage device for storing one or more programs;
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the device shutdown processing method provided by any embodiment of the present invention.
[0019] In a fourth aspect, an embodiment of the present invention further provides a computer storage medium on which a computer program is stored, and when the program is executed by a processor, the device shutdown processing method provided by any embodiment of the present invention is implemented.
[0020] The embodiment of the present invention obtains a shutdown request of the equipment to be shut down, wherein the shutdown request includes a shutdown start time, and determines a target section according to the shutdown request of the equipment to be shut down, so as to determine a current target flow that matches the target section according to the shutdown start time, thereby rejecting the shutdown request of the equipment to be shut down when it is determined that the current target flow exceeds a preset flow limit. This solves the problems of long processing time, low processing efficiency and low processing accuracy caused by the existing method of processing equipment shutdown through manual estimation, and can reduce the processing time of equipment shutdown and improve the processing efficiency and processing accuracy of equipment shutdown. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flow chart of a method for processing equipment shutdown provided by Embodiment 1 of the present invention;
[0022] Figure 2 is a flow chart of a method for processing equipment shutdown provided by Embodiment 2 of the present invention;
[0023] Figure 3 is an example flow chart of a method for processing equipment shutdown provided by Embodiment 2 of the present invention;
[0024] Figure 4is a schematic diagram of a device shutdown processing apparatus provided by Embodiment 3 of the present invention;
[0025] Figure 5 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention.
[0027] It should also be noted that, for ease of description, only the part relevant to the present invention but not all content is shown in the accompanying drawings. It should be mentioned before discussing exemplary embodiments in more detail that some exemplary embodiments are described as processing or methods depicted as flow charts. Although the flow chart describes each operation (or step) as sequential processing, many operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. When its operation is completed, the processing can be terminated, but it can also have additional steps not included in the accompanying drawings. The processing can correspond to methods, functions, procedures, subroutines, subprograms, etc.
[0028] The terms "first" and "second" and the like in the description, claims and drawings of the embodiments of the present invention are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may include steps or units that are not listed.
[0029] Embodiment 1
[0030] Figure 1 This is a flowchart of a device downtime processing method provided by the first embodiment of the present invention. This embodiment can be applied to reduce the processing time of device downtime, improve the processing efficiency and processing accuracy of device downtime. The method can be executed by a device downtime processing device, which can be implemented by software and / or hardware, and can generally be directly integrated into an electronic device that executes this method. The electronic device can be a terminal device or a server device. The embodiment of the present invention does not limit the type of electronic device that executes the device downtime processing method. Specifically, Figure 1 As shown, the device shutdown processing method may specifically include the following steps:
[0031] S110, obtaining a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time.
[0032] Among them, the equipment to be shut down can be equipment that needs to be shut down in a power plant, for example, it can be equipment that needs to be shut down due to regular maintenance, or it can be equipment that needs to be shut down due to fault repair, etc., and the embodiment of the present invention does not limit this. It can be understood that the equipment to be shut down can be equipment to be shut down in a power plant, or it can be equipment to be shut down in multiple power plants. A power plant can include multiple equipment to be shut down, and the shutdown processing of the equipment to be shut down can be the shutdown processing of some of the equipment to be shut down, or it can be the shutdown processing of all the equipment to be shut down. It should be noted that in the embodiment of the present invention, the shutdown request of the equipment to be shut down is a shutdown request for all the equipment to be shut down in a power plant. The shutdown request can be a request to shut down the equipment to be shut down. The shutdown start time can be the time when the equipment to be shut down starts to shut down.
[0033] In an embodiment of the present invention, a shutdown request of a device to be shut down is obtained to determine a target section according to the shutdown request of the device to be shut down. Specifically, the shutdown request of the device to be shut down may include a shutdown start time to more accurately determine whether the device to be shut down can be shut down. It is understandable that before the device to be shut down is shut down, a shutdown request needs to be made, and the shutdown request of the device to be shut down is processed to determine whether the device to be shut down can be put into a shutdown state. It should be noted that the embodiment of the present invention does not limit the specific method of obtaining the shutdown request of the device to be shut down, as long as the acquisition of the shutdown request of the device to be shut down can be achieved.
[0034] S120. Determine a target section according to a shutdown request of the equipment to be shut down.
[0035] The target section may be the cross section of all power supply lines supplying power to the load, except for the power supply line supplying power to the equipment to be shut down. For example, in a power grid system, if power grid line A, power grid line B, and equipment to be shut down D supply power to load F at the same time, the target section may be the cross section of power grid line A and power grid line B. It is understandable that the load may be a power-consuming community, a power-consuming shopping mall, a power-consuming factory, etc., and the embodiment of the present invention does not limit the specific type of the load.
[0036] In the embodiment of the present invention, after obtaining the shutdown request of the device to be shut down, the target section can be further determined according to the shutdown request of the device to be shut down. It can be understood that the device to be shut down can supply power to multiple loads, that is, multiple target sections can be determined according to the shutdown request of the device to be shut down.
[0037] S130. Determine a current target power flow matching the target section according to the shutdown start time.
[0038] Among them, the current target flow can be the flow of the target section when the current device to be shut down is shut down. It can be understood that the flow of the target section when the device to be shut down is not shut down is different from the flow of the target section when the device to be shut down is shut down. Exemplarily, in a power grid system, the grid line A, the grid line B and the device to be shut down D simultaneously supply power to the load F. If the device to be shut down D is not shut down, the flow of the target section is the power consumption of the load F minus the flow of the device to be shut down D; if the device to be shut down D is shut down, the flow of the target section is the power consumption of the load F.
[0039] In an embodiment of the present invention, after determining the target section according to the shutdown request of the equipment to be shut down, the current target flow matching the target section can be further determined according to the shutdown start time to further determine whether the current target flow exceeds the preset flow limit.
[0040] S140: When it is determined that the current target power flow exceeds a preset power flow limit, reject the shutdown request of the device to be shut down.
[0041] The preset power flow limit value may be a preset power flow limit value that the target section can withstand. It is understandable that the preset power flow limit value of each section is different. If the current target power flow exceeds the preset power flow limit value that matches the target section, it will cause damage to the power supply line or power supply equipment.
[0042] In the embodiment of the present invention, after determining the current target flow matching the target section according to the shutdown start time, it can be further determined whether the current target flow exceeds the preset flow limit, and when the current target flow exceeds the preset flow limit, the shutdown request of the device to be shut down is rejected. It can be understood that if the current target flow exceeds the preset flow limit, it means that the flow of the target section is too large, that is, the shutdown of the device to be shut down may damage the power supply line or power supply equipment, and the device to be shut down is not allowed to shut down.
[0043] The technical solution of this embodiment obtains a shutdown request of the equipment to be shut down, wherein the shutdown request includes a shutdown start time, and determines a target section according to the shutdown request of the equipment to be shut down, so as to determine a current target flow that matches the target section according to the shutdown start time, thereby rejecting the shutdown request of the equipment to be shut down when it is determined that the current target flow exceeds a preset flow limit. This solves the problems of long processing time, low processing efficiency and low processing accuracy caused by the existing method of processing equipment shutdown through manual estimation, and can reduce the processing time of equipment shutdown and improve the processing efficiency and processing accuracy of equipment shutdown.
[0044] Embodiment 2
[0045] Figure 2It is a flow chart of a method for processing equipment shutdown provided in the second embodiment of the present invention. This embodiment is a further refinement of the above-mentioned technical solutions, and provides a variety of specific optional implementation methods, including determining the current target flow that matches the target section according to the shutdown start time, and determining the preset historical time of the equipment to be shut down when it is determined that the current target flow does not exceed the preset flow limit; determining the reference target flow that matches the target section according to the preset historical time; and responding to the shutdown request of the equipment to be shut down when it is determined that the reference target flow does not exceed the preset flow limit. The technical solution in this embodiment can be combined with the various optional solutions in one or more of the above-mentioned embodiments. Figure 2 As shown, the method may include the following steps:
[0046] S210, obtaining a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time.
[0047] S220. Determine a target section according to a shutdown request of the equipment to be shut down.
[0048] S230. Determine a current target power flow matching the target section according to the shutdown start time.
[0049] Optionally, determining the current target flow that matches the target section based on the shutdown start time may include: determining the current target section flow of the target section based on the shutdown start time; determining the current target equipment flow of the equipment to be shut down that matches the target section based on the shutdown start time; determining the current target flow based on the current target section flow and the current target equipment flow.
[0050] The current target section power flow may be the power flow of the target section at the shutdown start time of the current equipment to be shut down. The current target equipment power flow may be the power flow of the equipment to be shut down at the shutdown start time. It is understandable that the power flow of the equipment to be shut down at different times may be different. Determining the power flow of the equipment to be shut down at the shutdown start time can ensure the accuracy of the equipment shutdown process.
[0051] Specifically, the current target section flow of the target section is determined according to the shutdown start time, and the current target equipment flow of the equipment to be shut down that matches the target section is determined according to the shutdown start time, so as to determine the current target flow according to the current target section flow and the current target equipment flow. For example, if the current target section flow is P1 and the current target equipment flow is P 设备 , then the current target power flow P can be P 设备+P1. It can be understood that, in order to ensure the power consumption of the load, the power flow of the target section when the equipment to be shut down is shut down can be the sum of the power flow of the target section and the power flow of the equipment to be shut down before the equipment to be shut down is shut down. Exemplarily, in the power grid system, the grid line A, the grid line B and the equipment to be shut down D simultaneously supply power to the load F, that is, the power consumption of the load F is the sum of the current target section power flow and the current target equipment power flow. If the equipment to be shut down is shut down, the current target power flow is the power consumption of the load F. If the power consumption of the load F remains unchanged, the current target power flow can be the sum of the current target section power flow and the current target equipment power flow.
[0052] Optionally, determining the current target section flow that matches the target section at the shutdown start time based on the target section may include: determining the target section flow calculation formula based on the target section; determining the target section flow calculation formula parameters based on the target section flow calculation formula; determining the target section flow calculation formula parameter data of the target section flow calculation formula parameters for the shutdown start time; determining the current target section flow that matches the target section based on the target section flow calculation formula and the target section flow calculation formula parameter data.
[0053] The target section flow calculation formula may be a formula for calculating the target section flow. The target section flow calculation formula parameter may be a parameter in the formula for calculating the target section flow. The target section flow calculation formula parameter data may be data of the parameter in the formula for calculating the target section flow. It is understandable that the target section flow calculation formula parameter data is a variable value, and the target section flow calculation formula parameter data at each time is different.
[0054] Specifically, the target section flow calculation formula is determined according to the target section, and the target section flow calculation formula parameters are determined according to the target section flow calculation formula to determine the target section flow calculation formula parameter data of the target section flow calculation formula parameters at the shutdown start time, thereby determining the current target section flow that matches the target section according to the target section flow calculation formula and the target section flow calculation formula parameter data. It can be understood that the target section flow calculation formula for each target section is different, and each target section flow calculation formula can include multiple target section flow calculation formula parameters. Specifically, after determining the parameter data of each target section flow calculation formula at the shutdown start time, the target section flow calculation formula parameter data can be substituted into the target section flow calculation formula to determine the current target section flow.
[0055] S240, determine whether the current target flow exceeds the preset flow limit; if not, execute S250; if so, execute S290.
[0056] In the embodiment of the present invention, after determining the current target flow matching the target section according to the shutdown start time, it can be further determined whether the current target flow exceeds the preset flow limit. If the current target flow does not exceed the preset flow limit, the preset historical time of the equipment to be shut down can be determined to further determine whether the shutdown request of the equipment to be shut down can be responded to. If the current target flow exceeds the preset flow limit, the equipment to be shut down is not allowed to shut down, that is, the shutdown request of the equipment to be shut down is rejected.
[0057] S250: Determine the preset historical time of the equipment to be shut down.
[0058] The preset historical time may be a preset historical time, such as yesterday, a certain day of last week, or a certain day of last month, etc. The embodiment of the present invention does not limit this.
[0059] In an embodiment of the present invention, after determining that the current target flow exceeds the preset flow limit, the preset historical time of the equipment to be shut down can be further determined to determine a reference target flow matching the target section according to the preset historical time of the equipment to be shut down.
[0060] Optionally, the shutdown request may also include a shutdown end time; wherein, determining the preset historical time of the equipment to be shut down may include: determining a first preset historical time that matches the shutdown start time; determining a second preset historical time that matches the shutdown end time; determining the preset historical time based on the first preset historical time and the second preset historical time.
[0061] Among them, the shutdown end time may be the time when the device to be shut down ends the shutdown. It is understandable that when the device to be shut down sends a shutdown request, the shutdown start time and the shutdown end time may be determined so as to process the shutdown request of the device to be shut down. The first preset historical time may be a preset historical time that matches the shutdown start time in the shutdown request. The second preset historical time may be another preset historical time that matches the shutdown end time in the shutdown request. Exemplarily, if the shutdown start time is 3 pm on Tuesday this week and the shutdown end time is 5 pm on Tuesday this week, the first preset historical time may be 3 pm on Tuesday last week, and the second preset historical time may be 5 pm on Tuesday last week.
[0062] Specifically, when the shutdown request includes the shutdown end time, a first preset historical time matching the shutdown start time is determined, and a second preset historical time matching the shutdown structure time is determined, so as to determine the preset historical time according to the first preset historical time and the second preset historical time.
[0063] S260. Determine a reference target tidal current matching the target section according to the preset historical time.
[0064] The reference target flow may be the flow of the target section used as a reference. It is understandable that the load power consumption may be different at different times. During the period from the start time of the shutdown of the equipment to be shut down to the end time of the shutdown, the load power consumption may increase, causing the flow of the target section to exceed the preset flow limit. Therefore, by determining the reference target flow and comparing the reference target flow with the preset flow limit, it is determined whether the flow of the target section will exceed the preset flow limit during the period from the start time of the shutdown of the equipment to be shut down to the end time of the shutdown, thereby further determining whether to respond to the shutdown request of the equipment to be shut down.
[0065] In the embodiment of the present invention, after determining the preset historical time of the equipment to be shut down, a reference target flow matching the target section can be further determined according to the preset historical time to determine whether the reference target flow exceeds the preset flow limit. It is understandable that the equipment to be shut down can be in a shutdown state or in an unshutdown state within the preset historical time, or can be in a shutdown state for a certain period of time within the preset historical time, etc., and the embodiment of the present invention does not limit this.
[0066] Optionally, determining a reference target flow that matches the target section based on a preset historical time may include: obtaining a first flow threshold within the preset historical time when the equipment to be shut down has not shut down within the preset historical time; determining a reference target section flow of the target section based on the first preset historical time; determining the reference target flow based on the first flow threshold, the reference target section flow and the current target flow.
[0067] Among them, the first flow threshold value may be the flow threshold value of the target section within the preset historical time, for example, it may be the maximum flow value of the target section within the preset historical time. The reference target section flow may be the flow of the target section at the first preset historical time. For example, assuming that the shutdown start time in the shutdown request is 3 pm this Tuesday and the shutdown end time is 5 pm this Tuesday, the first preset historical time may be 3 pm last Tuesday, the second preset historical time may be 5 pm last Tuesday, the first flow threshold may be the maximum flow value between 3 pm and 5 pm last Tuesday, and the reference target section flow may be the flow of the target section at 3 pm last Tuesday.
[0068] Specifically, if the equipment to be shut down does not shut down within the preset historical time, the first power flow threshold within the preset historical time can be obtained, and the reference target section power flow of the target section can be determined according to the first preset historical time, so as to determine the reference target power flow according to the first power flow threshold, the reference target section power flow and the current target power flow. For example, if the first power flow threshold is P max1, the reference target section flow is P2, the current target flow is P, then the reference target flow can be P max1 +P-P2.
[0069] Optionally, the reference target flow may include a first reference target flow and a second reference target flow; wherein, determining the reference target flow that matches the target section based on the preset historical time may include: when the equipment to be shut down is shut down within the preset historical time, determining a third preset historical time of the equipment to be shut down; obtaining a second flow threshold within the first preset historical time and the third preset historical time; determining a reference target section flow of the target section based on the first preset historical time; determining the first reference target flow based on the second flow threshold, the reference target section flow and the current target flow; and, obtaining a third flow threshold within the second preset historical time and the third preset historical time; determining the second reference target flow based on the third flow threshold, the reference target section flow and the current target section flow.
[0070] Among them, the first reference target flow may be a flow of a target section used as a reference. The second reference target flow may be another flow of a target section used as a reference. The third preset historical time may be the historical time when the equipment to be shut down is shut down within the preset historical time. The second flow threshold may be the flow threshold of the target section within the first preset historical time and the third preset historical time, for example, it may be the maximum flow value of the target section within the first preset historical time and the third preset historical time. The third flow threshold may be the flow threshold of the target section within the second preset historical time and the third preset historical time, for example, it may be the maximum flow value of the target section within the second preset historical time and the third preset historical time.
[0071] Specifically, when the equipment to be shut down is shut down within the preset historical time, the third preset historical time of the equipment to be shut down within the preset historical time is determined to obtain the second power flow threshold within the first preset historical time and the third preset historical time, and the reference target section power flow of the target section is determined according to the first preset historical time, so as to determine the first reference target power flow according to the second power flow threshold, the reference target section power flow and the current target power flow, and obtain the third power flow threshold within the second preset historical time and the third preset historical time, so as to determine the second reference target power flow according to the third power flow threshold, the reference target section power flow and the current target section power flow. It can be understood that when the first reference target power flow does not exceed the preset power flow limit and the second reference target power flow does not exceed the preset power flow limit, it can be determined that the reference target power flow does not exceed the preset power flow limit. Correspondingly, when the first reference target power flow exceeds the preset power flow limit and the second reference target power flow exceeds the preset power flow limit, it can be determined that the reference target power flow exceeds the preset power flow limit. Exemplarily, if the second power flow threshold is P max2, the reference target section flow is P2, the current target flow is P, then the first reference target flow can be P max2 +P-P2. If the third power flow threshold is P max3 , the reference target section flow is P2, the current target section flow is P1, then the second reference target flow can be P max3 +P1-P2.
[0072] S270, determine whether the reference target flow exceeds the preset flow limit; if not, execute S280; if so, execute S290.
[0073] In an embodiment of the present invention, after determining the reference target flow matching the target section according to the preset historical time, it can be further determined whether the reference target flow exceeds the preset flow limit. If the reference target flow exceeds the preset flow limit, the equipment to be shut down is not allowed to shut down, that is, the shutdown request of the equipment to be shut down is rejected. If the reference target flow does not exceed the preset flow limit, the equipment to be shut down is allowed to shut down, that is, the shutdown request of the equipment to be shut down is responded to.
[0074] S280: Respond to the shutdown request of the device to be shut down.
[0075] In the embodiment of the present invention, when the reference target power flow does not exceed the preset power flow limit, a shutdown request of the device to be shut down can be responded to so as to put the device to be shut down into a shutdown state.
[0076] S290: Reject the shutdown request of the device to be shut down.
[0077] In the embodiment of the present invention, when the current target power flow exceeds the preset power flow limit, the shutdown request of the device to be shut down can be rejected. Alternatively, when the current target power flow does not exceed the preset power flow limit, and the reference target power flow exceeds the preset power flow limit, the shutdown request of the device to be shut down can be rejected.
[0078] In a specific example, Figure 3 is an example flow chart of a method for processing equipment downtime provided by Embodiment 2 of the present invention, such as Figure 3 As shown, the method specifically includes the following contents:
[0079] (1) After obtaining the shutdown request of the equipment to be shut down issued by the power plant, the shutdown start time T1 and the shutdown end time T2 are determined.
[0080] (2) Determine whether the current target flow will exceed the preset flow limit at the shutdown start time T1, that is, whether the target section is overloaded at time T1; if the current target flow will exceed the preset flow limit at the shutdown start time T1, then reject the shutdown request of the equipment to be shut down issued by the power plant; if the current target flow will not exceed the preset flow limit at the shutdown start time T1, then further determine the preset historical time.
[0081] Specifically, determine the target section affected by the shutdown of the equipment to be shut down, and determine the target section power flow calculation formula of each target section, obtain the target section power flow calculation formula parameter data of each target section at the shutdown start time T1, and substitute the target section power flow calculation formula parameter data into the target section power flow calculation formula to determine the current target section power flow P1; determine the current target equipment power flow P at the shutdown start time T1 设备 ; then the current target flow P can be P 设备 +P1, that is, when P 设备 +P1≤P 限值 When the reference target power flow of the preset historical time is determined, the shutdown request of the equipment to be shut down issued by the power plant is rejected.
[0082] (3) Determine the reference target flow of the preset historical time, and judge whether the reference target flow will exceed the preset flow limit between the shutdown start time T1 and the shutdown end time T2, that is, whether the target section will be overloaded from T1 to T2; if the reference target flow will exceed the preset flow limit between the shutdown start time T1 and the shutdown end time T2, then reject the shutdown request of the equipment to be shut down issued by the power plant; if the reference target flow will not exceed the preset flow limit between the shutdown start time T1 and the shutdown end time T2, then approve the shutdown request of the equipment to be shut down issued by the power plant.
[0083] Specifically, the reference target flow of the target section 7 days ago is determined, and the first preset historical time T3 matching the shutdown start time T1 7 days ago is determined, and the second preset historical time T4 matching the shutdown end time T2 7 days ago is determined. If the equipment to be shut down has not been shut down within the first preset historical time T3 and the second preset historical time T4, or has been shut down before the first preset historical time T3, the reference target section flow of the first preset historical time T3 is further determined to be P2, and the first flow threshold value P within the first preset historical time T3 and the second preset historical time T4 is determined. max1 , then when P max1 +P 设备 +P1-P2≤P 限值If the equipment to be shut down is shut down within the first preset historical time T3 and the second preset historical time T4, the third preset historical time T5 of the equipment to be shut down is determined, and the second power flow threshold P within the first preset historical time T3 and the third preset historical time T5 is determined. max2 , the third power flow threshold value within the second preset historical time T4 and the third preset historical time T5 is P max3 , then when P max2 +P 设备 +P1-P2≤P 限值 And P max3 +P1-P2≤P 限值 When the shutdown request of the equipment to be shut down issued by the power plant is approved, the shutdown request of the equipment to be shut down issued by the power plant can be approved; otherwise, the shutdown request of the equipment to be shut down issued by the power plant can be rejected.
[0084] The above technical scheme can not only determine whether the shutdown start time in the shutdown request of the equipment to be shut down will cause section overload, but also compare and calculate with the historical time to determine whether the shutdown start time to the shutdown end time will cause section overload, thereby improving the accuracy of the shutdown processing of the equipment to be shut down; there is no need for manual estimation, which improves the shutdown processing efficiency of the equipment to be shut down.
[0085] The technical solution of this embodiment obtains the shutdown start time in the shutdown request of the device to be shut down, and determines the target section according to the shutdown request of the device to be shut down, so as to determine the current target flow matching the target section according to the shutdown start time, thereby judging whether the current target flow exceeds the preset flow limit, and rejecting the shutdown request of the device to be shut down when the current target flow exceeds the preset flow limit. When the current target flow does not exceed the preset flow limit, further determine the preset historical time of the device to be shut down, and determine the reference target flow matching the target section according to the preset historical time, so as to judge whether the reference target flow exceeds the preset flow limit, so as to respond to the shutdown request of the device to be shut down when the reference target flow does not exceed the preset flow limit, and reject the shutdown request of the device to be shut down when the reference target flow exceeds the preset flow limit, so as to solve the problems of long processing time, low processing efficiency and low processing accuracy caused by the existing method of manually estimating the device shutdown, and can reduce the processing time of the device shutdown, and improve the processing efficiency and processing accuracy of the device shutdown.
[0086] Embodiment 3
[0087] Figure 4 is a schematic diagram of a device shutdown processing device provided by Embodiment 3 of the present invention, such as Figure 4As shown, the device includes: a shutdown request acquisition module 410, a target section determination module 420, a current target flow determination module 430 and a shutdown request processing module 440, wherein:
[0088] The shutdown request acquisition module 410 is used to acquire a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time;
[0089] A target section determination module 420, configured to determine a target section according to a shutdown request of the equipment to be shut down;
[0090] A current target power flow determination module 430 is used to determine a current target power flow matching the target section according to the shutdown start time;
[0091] The shutdown request processing module 440 is used to reject the shutdown request of the device to be shut down when it is determined that the current target power flow exceeds a preset power flow limit.
[0092] The technical solution of this embodiment obtains a shutdown request of the equipment to be shut down, wherein the shutdown request includes a shutdown start time, and determines a target section according to the shutdown request of the equipment to be shut down, so as to determine a current target flow that matches the target section according to the shutdown start time, thereby rejecting the shutdown request of the equipment to be shut down when it is determined that the current target flow exceeds a preset flow limit. This solves the problems of long processing time, low processing efficiency and low processing accuracy caused by the existing method of processing equipment shutdown through manual estimation, and can reduce the processing time of equipment shutdown and improve the processing efficiency and processing accuracy of equipment shutdown.
[0093] Optionally, the current target flow determination module 430 can be specifically used to: determine the current target section flow of the target section according to the shutdown start time; determine the current target equipment flow of the equipment to be shut down that matches the target section according to the shutdown start time; determine the current target flow based on the current target section flow and the current target equipment flow.
[0094] Optionally, the current target flow determination module 430 can be further used to: determine the target section flow calculation formula based on the target section; determine the target section flow calculation formula parameters based on the target section flow calculation formula; determine the target section flow calculation formula parameter data of the target section flow calculation formula parameters for the shutdown start time; determine the current target section flow matching the target section based on the target section flow calculation formula and the target section flow calculation formula parameter data.
[0095] Optionally, the equipment shutdown processing device can also be used to: determine the preset historical time of the equipment to be shut down when it is determined that the current target flow does not exceed the preset flow limit; determine the reference target flow that matches the target section based on the preset historical time; and respond to the shutdown request of the equipment to be shut down when it is determined that the reference target flow does not exceed the preset flow limit.
[0096] Optionally, the shutdown request may also include the shutdown end time; accordingly, the equipment shutdown processing device may also be specifically used to: determine a first preset historical time that matches the shutdown start time; determine a second preset historical time that matches the shutdown end time; determine the preset historical time based on the first preset historical time and the second preset historical time.
[0097] Optionally, the equipment shutdown processing device can also be specifically used for: obtaining a first flow threshold within a preset historical time when the equipment to be shut down does not shut down within a preset historical time; determining a reference target section flow of the target section according to the first preset historical time; determining a reference target flow according to the first flow threshold, the reference target section flow and the current target flow.
[0098] Optionally, the reference target flow may include a first reference target flow and a second reference target flow; accordingly, the equipment shutdown processing device can also be specifically used to: when the equipment to be shut down is shut down within a preset historical time, determine a third preset historical time of the equipment to be shut down; obtain a second flow threshold within the first preset historical time and the third preset historical time; determine a reference target section flow of the target section according to the first preset historical time; determine the first reference target flow according to the second flow threshold, the reference target section flow and the current target flow; and, obtain a third flow threshold within the second preset historical time and the third preset historical time; determine the second reference target flow according to the third flow threshold, the reference target section flow and the current target section flow.
[0099] The above-mentioned equipment shutdown processing device can execute the equipment shutdown processing method provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, please refer to the equipment shutdown processing method provided by any embodiment of the present invention.
[0100] Since the equipment shutdown processing device introduced above is a device that can execute the equipment shutdown processing method in the embodiment of the present invention, based on the equipment shutdown processing method introduced in the embodiment of the present invention, the technical personnel of the field can understand the specific implementation of the equipment shutdown processing device of the present embodiment and its various variations, so how the equipment shutdown processing device implements the equipment shutdown processing method in the embodiment of the present invention is not described in detail here. As long as the technical personnel of the field implement the device used in the equipment shutdown processing method in the embodiment of the present invention, it belongs to the scope of protection of this application.
[0101] Embodiment 4
[0102] Figure 5 It is a structural schematic diagram of an electronic device provided in Embodiment 4 of the present invention. Figure 5 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 5 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.
[0103] like Figure 5 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors 16, a memory 28, and a bus 18 that connects various system components (including the memory 28 and the processor 16).
[0104] Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures. For example, these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MCA) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
[0105] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0106] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a read-only optical disk (Compact Disc-Read Only Memory, CD-ROM), a digital video disk (Digital Video Disc-Read Only Memory, DVD-ROM) or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0107] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0108] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the electronic device 12, and / or any device that enables the electronic device 12 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the electronic device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN) and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 12 through the bus 18. It should be understood that although Figure 5Not shown, other hardware and / or software modules may be used in conjunction with the electronic device 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, (Redundant Arrays of Independent Disks, RAID) systems, tape drives, and data backup storage systems.
[0109] The processor 16 executes various functional applications and data processing by running the program stored in the memory 28, thereby implementing the equipment shutdown processing method provided by the embodiment of the present invention: obtaining a shutdown request of the equipment to be shut down; wherein the shutdown request includes a shutdown start time; determining a target section according to the shutdown request of the equipment to be shut down; determining a current target flow matching the target section according to the shutdown start time; and rejecting the shutdown request of the equipment to be shut down if it is determined that the current target flow exceeds a preset flow limit.
[0110] Embodiment 6
[0111] Embodiment 6 of the present invention further provides a computer storage medium storing a computer program, wherein the computer program, when executed by a computer processor, is used to execute the equipment shutdown processing method described in any one of the above embodiments of the present invention: obtaining a shutdown request of the equipment to be shut down; wherein the shutdown request includes a shutdown start time; determining a target section according to the shutdown request of the equipment to be shut down; determining a current target flow matching the target section according to the shutdown start time; and rejecting the shutdown request of the equipment to be shut down when it is determined that the current target flow exceeds a preset flow limit.
[0112] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.
[0113] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0114] The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wire, optical cable, radio frequency (RF), etc., or any suitable combination of the foregoing.
[0115] Computer program code for performing the operations of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0116] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for processing equipment shutdown, characterized in that: include: Obtaining a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time; Determine the target section according to the shutdown request of the equipment to be shut down; Determine a current target power flow matching the target section according to the shutdown start time; If it is determined that the current target power flow exceeds the preset power flow limit, rejecting the shutdown request of the equipment to be shut down; Wherein, determining the current target power flow matching the target section according to the shutdown start time includes: Determine the current target section power flow of the target section according to the shutdown start time; Determine the current target equipment flow of the equipment to be shut down that matches the target section according to the shutdown start time; The current target power flow is determined according to the current target section power flow and the current target equipment power flow.
2. The method according to claim 1, characterized in that: The step of determining the current target section power flow of the target section according to the shutdown start time includes: Determine a target section power flow calculation formula according to the target section; Determining target section power flow calculation formula parameters according to the target section power flow calculation formula; Determine target section power flow calculation formula parameter data of the target section power flow calculation formula parameters at the shutdown start time; The current target section flow matching the target section is determined according to the target section flow calculation formula and the target section flow calculation formula parameter data.
3. The method according to claim 2, characterized in that The method further comprises: When it is determined that the current target power flow does not exceed the preset power flow limit, determining a preset historical time of the equipment to be shut down; Determine a reference target tidal current matching the target section according to the preset historical time; When it is determined that the reference target power flow does not exceed the preset power flow limit, respond to the shutdown request of the device to be shut down.
4. The method according to claim 3, characterized in that The shutdown request also includes a shutdown end time; Wherein, determining the preset historical time of the equipment to be shut down includes: Determine a first preset historical time that matches the shutdown start time; Determine a second preset historical time that matches the shutdown end time; The preset historical time is determined according to the first preset historical time and the second preset historical time.
5. The method according to claim 4, characterized in that The step of determining a reference target flow matching the target section according to the preset historical time includes: When the device to be shut down does not shut down within the preset historical time, obtaining a first power flow threshold within the preset historical time; Determine a reference target section flow of the target section according to the first preset historical time; The reference target flow is determined according to the first flow threshold, the reference target section flow and the current target flow.
6. The method according to claim 4, characterized in that The reference target power flow includes a first reference target power flow and a second reference target power flow; Wherein, determining the reference target flow matching the target section according to the preset historical time includes: In the case where the device to be shut down is shut down within the preset historical time, determining a third preset historical time of the device to be shut down; Obtaining a second power flow threshold value within the first preset historical time and the third preset historical time; Determine a reference target section flow of the target section according to the first preset historical time; Determine the first reference target power flow according to the second power flow threshold, the reference target section power flow and the current target power flow; and Obtaining a third power flow threshold value within the second preset historical time and the third preset historical time; The second reference target flow is determined according to the third flow threshold, the reference target section flow and the current target section flow.
7. A device for processing equipment shutdown, characterized in that: include: A shutdown request acquisition module is used to acquire a shutdown request of the device to be shut down; wherein the shutdown request includes a shutdown start time; A target section determination module, used for determining a target section according to a shutdown request of the equipment to be shut down; A current target power flow determination module, used to determine a current target power flow matching the target section according to the shutdown start time; A shutdown request processing module, configured to reject the shutdown request of the device to be shut down when it is determined that the current target power flow exceeds a preset power flow limit; The current target flow determination module is specifically used for: Determine the current target section power flow of the target section according to the shutdown start time; Determine the current target equipment flow of the equipment to be shut down that matches the target section according to the shutdown start time; The current target power flow is determined according to the current target section power flow and the current target equipment power flow.
8. An electronic device, characterized in that: The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the device shutdown processing method as described in any one of claims 1-6.
9. A computer storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the device shutdown processing method as described in any one of claims 1 to 6 is implemented.
