Power maintenance control method and device, computing device and computer-readable storage medium
By planning the power outage period and sending maintenance control instructions to the equipment, and automatically controlling the power outage, the problems of low power maintenance efficiency and safety hazards in the existing technology are solved, and a more efficient and safe construction process is achieved.
Patent Information
- Application Number
- CN202111588169.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-23
- Publication Date
- 2025-03-18
- Estimated Expiration
- 2041-12-23
AI Technical Summary
During the existing power maintenance process, frequent trips to and from the distribution room and construction sites are required, resulting in inefficiency and safety hazards of manual power outages and power transmission.
By reasonably planning the power outage period, using neural network model or fitting function to determine the power outage period, sending maintenance control instructions to the equipment to automatically control the power outage, and preventing construction personnel from directly contacting the power switch.
It reduces the capacity loss caused by power outages, improves construction safety, saves working time and improves work efficiency.
Smart Images

Figure CN114282694B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of artificial intelligence technology, and in particular to a power maintenance control method and apparatus, a computing device, and a computer-readable storage medium. Background Art
[0002] At present, during the power maintenance process, enterprises and factories need to stop the power supply in the relevant areas where maintenance is being carried out. After the power supply is stopped, the power construction personnel carry out maintenance work such as cable maintenance and equipment installation. The power supply will be restored after the maintenance work is completed. Regarding the above operation process, the traditional operation method is: when there is a need to stop the power supply, the power construction personnel fill out the "power outage ticket" and it will be approved by relevant personnel and departments. After the approval is completed, the power construction personnel go to the distribution room to cut off the power. If the power outage range is wide and the non-power outage areas are not connected, it is necessary to go to multiple distribution rooms to cut off the power. After the power construction personnel complete the maintenance work, they go to the distribution room again to close the power supply, and then return to the construction site to confirm the power supply situation and the completion of the construction. With the above traditional operation methods, it takes a certain amount of time for the power construction personnel to travel back and forth between the distribution room and the construction site, resulting in low efficiency. In addition, there are certain safety hazards in manual power outage and power supply, which reduces the safety of construction. Summary of the invention
[0003] In view of the above problems in the prior art, the embodiments of the present application provide a power maintenance control method and apparatus, a computing device and a computer-readable storage medium. The embodiments of the present application can reduce the production capacity loss caused by power outages by reasonably planning the power outage period. By sending maintenance control instructions to the equipment, the power supply can be automatically stopped at the starting time of the power outage period, thereby preventing construction personnel from directly contacting the switch, thereby improving construction safety, saving working time and improving work efficiency.
[0004] To achieve the above objectives, the present application provides a first aspect of a power maintenance control method, comprising:
[0005] receiving a power outage request message, wherein the power outage request message includes a power outage location and a power outage duration in the power system;
[0006] According to the power outage location and the line relationship of each power outage control area divided in the power system, determining at least one power outage area corresponding to the power outage location from the power outage control area;
[0007] Rounding up the power outage duration to obtain the number n of power outage periods, where n is an integer greater than or equal to 1;
[0008] According to at least one power indicator of the blackout area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the blackout period;
[0009] At the start time of the power outage period, a maintenance control instruction is sent to a first device in the power outage area; wherein the maintenance control instruction includes a power outage instruction.
[0010] As a possible implementation of the first aspect, the power indicator includes power consumption;
[0011] According to at least one power indicator of the blackout area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the blackout period, including:
[0012] Predicting the power consumption of at least one of the power outage areas corresponding to each time period within a specified time range;
[0013] Calculate the sum of power consumption of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0014] The n consecutive time periods in which the sum of the power consumption is the smallest are determined as the power outage time periods.
[0015] As a possible implementation manner of the first aspect, the power indicator includes power consumption and equipment capacity loss, and the equipment capacity loss is a capacity loss of a second device in the power outage area caused by a power outage;
[0016] According to at least one power indicator of the blackout area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the blackout period, including:
[0017] Predicting the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within a specified time range;
[0018] Calculate the sum of power consumption and equipment capacity loss of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0019] According to the sum of the power consumption and the sum of the equipment production capacity losses, n consecutive time periods within a specified time range are determined as the power outage time periods.
[0020] As a possible implementation of the first aspect, the method further includes:
[0021] In response to receiving maintenance request information requesting power supply, a maintenance control instruction is sent to a first device in the power outage area; wherein the maintenance control instruction includes a power supply instruction.
[0022] As a possible implementation manner of the first aspect, sending a maintenance control instruction to a first device in the power outage area includes:
[0023] Utilize message middleware to publish maintenance request information, wherein the maintenance request information includes maintenance request information requesting power outage or maintenance request information requesting power supply;
[0024] According to the maintenance request information, a maintenance task workflow is called to send a maintenance control instruction to the first device.
[0025] As a possible implementation manner of the first aspect, calling a maintenance task workflow according to the maintenance request information and sending a maintenance control instruction to the first device includes:
[0026] Acquire current status information of the first device;
[0027] In the case where the current status information is inconsistent with the device status information carried in the maintenance request information, recording the current status information and the device status information carried in the maintenance request information;
[0028] When the current status information is consistent with the device status information carried in the maintenance request information, a maintenance control instruction is sent to the first device.
[0029] As a possible implementation manner of the first aspect, sending a maintenance control instruction to the first device includes:
[0030] Filtering the maintenance control instructions to obtain filtered maintenance control instructions;
[0031] Send the filtered maintenance control instruction to the first device.
[0032] As a possible implementation manner of the first aspect, after sending the maintenance control instruction to the first device, the method further includes:
[0033] receiving return information from the first device, wherein the return information includes command reception success information or command reception failure information;
[0034] When receiving the command reception success information, using the message middleware to publish the device operation success information;
[0035] In the case where the number of times the command reception failure information is received is less than the predetermined number, returning to the step of sending the maintenance control instruction to the first device;
[0036] When the command reception failure information is received a predetermined number of times, the device operation failure information is published by using the message middleware.
[0037] A second aspect of the present application provides a power maintenance control device, comprising:
[0038] A receiving unit, configured to receive power outage request information, wherein the power outage request information includes a power outage location and a power outage duration in the power system;
[0039] A regional processing unit, configured to determine at least one power outage area corresponding to the power outage position from the power outage control area according to the power outage position and the line relationship of each power outage control area divided in the power system;
[0040] A time period processing unit, used for rounding up the power outage duration to obtain the number n of the power outage time periods, where n is an integer greater than or equal to 1;
[0041] a determining unit, configured to determine n consecutive time periods within a specified time range as the power outage period by using a neural network model or a fitting function according to at least one power indicator of the power outage area;
[0042] A sending unit is used to send a maintenance control instruction to a first device in the power outage area at the start time of the power outage period; wherein the maintenance control instruction includes a power outage instruction.
[0043] As a possible implementation of the second aspect, the power indicator includes power consumption;
[0044] The determining unit is used for:
[0045] Predicting the power consumption of at least one of the power outage areas corresponding to each time period within a specified time range;
[0046] Calculate the sum of power consumption of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0047] The n consecutive time periods in which the sum of the power consumption is the smallest are determined as the power outage time periods.
[0048] As a possible implementation manner of the second aspect, the power indicator includes power consumption and equipment capacity loss, and the equipment capacity loss is a capacity loss of a second device in the power outage area caused by a power outage;
[0049] The determining unit is used for:
[0050] Predicting the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within a specified time range;
[0051] Calculate the sum of power consumption and equipment capacity loss of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0052] According to the sum of the power consumption and the sum of the equipment production capacity losses, n consecutive time periods within a specified time range are determined as the power outage time periods.
[0053] As a possible implementation manner of the second aspect, the sending unit is further configured to:
[0054] In response to receiving maintenance request information requesting power supply, a maintenance control instruction is sent to a first device in the power outage area; wherein the maintenance control instruction includes a power supply instruction.
[0055] As a possible implementation manner of the second aspect, the sending unit is used to:
[0056] Utilize message middleware to publish maintenance request information, wherein the maintenance request information includes maintenance request information requesting power outage or maintenance request information requesting power supply;
[0057] According to the maintenance request information, a maintenance task workflow is called to send a maintenance control instruction to the first device.
[0058] As a possible implementation manner of the second aspect, the sending unit is used to:
[0059] Acquire current status information of the first device;
[0060] In the case where the current status information is inconsistent with the device status information carried in the maintenance request information, recording the current status information and the device status information carried in the maintenance request information;
[0061] When the current status information is consistent with the device status information carried in the maintenance request information, a maintenance control instruction is sent to the first device.
[0062] As a possible implementation manner of the second aspect, the sending unit is further configured to:
[0063] Filtering the maintenance control instructions to obtain filtered maintenance control instructions;
[0064] Send the filtered maintenance control instruction to the first device.
[0065] As a possible implementation manner of the second aspect, the apparatus further includes a message publishing unit, wherein the message publishing unit is configured to:
[0066] After sending the maintenance control instruction to the first device, receiving return information from the first device, the return information including command reception success information or command reception failure information;
[0067] When receiving the command reception success information, using the message middleware to publish the device operation success information;
[0068] In the case where the number of times the command reception failure information is received is less than the predetermined number, returning to the step of sending the maintenance control instruction to the first device;
[0069] When the command reception failure information is received a predetermined number of times, the device operation failure information is published by using the message middleware.
[0070] A third aspect of the present application provides a computing device, including:
[0071] Communication interface;
[0072] at least one processor connected to the communication interface; and
[0073] At least one memory is connected to the processor and stores program instructions, and when the program instructions are executed by the at least one processor, the at least one processor executes any method described in the first aspect.
[0074] A fourth aspect of the present application provides a computer-readable storage medium having program instructions stored thereon, wherein when the program instructions are executed by a computer, the computer executes any of the methods described in the first aspect.
[0075] These and other aspects of the invention will become more apparent from the following description of the embodiment(s). BRIEF DESCRIPTION OF THE DRAWINGS
[0076] The following further illustrates the various features of the present invention and the relationship between the various features with reference to the accompanying drawings. The accompanying drawings are all exemplary, some features are not shown in actual proportion, and some drawings may omit the conventional features in the field involved in the present application and are not necessary for the present application, or additionally show the features that are not necessary for the present application. The combination of the various features shown in the accompanying drawings is not intended to limit the present application. In addition, throughout this specification, the same figure numerals refer to the same content. The specific description of the drawings is as follows:
[0077] Figure 1 A schematic diagram of the maintenance process of the power maintenance control method in the prior art;
[0078] Figure 2 A schematic diagram of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0079] Figure 3 A schematic diagram of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0080] Figure 4 A schematic diagram of a process for generating maintenance request information according to an embodiment of the power maintenance control method provided in an embodiment of the present application;
[0081] Figure 5 A schematic diagram of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0082] Figure 6 A schematic diagram of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0083] Figure 7 A schematic diagram of a process for generating maintenance request information according to an embodiment of the power maintenance control method provided in an embodiment of the present application;
[0084] Figure 8 A flowchart of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0085] Fig. 9 A flowchart of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0086] Fig.10 A schematic diagram of a workflow of an embodiment of a power maintenance control method provided in an embodiment of the present application;
[0087] Fig.11 A schematic diagram of an embodiment of a power maintenance control device provided in an embodiment of the present application;
[0088] Fig.12 A schematic diagram of an embodiment of a power maintenance control device provided in an embodiment of the present application;
[0089] Fig.13 A schematic diagram of a computing device provided for an embodiment of the present application. DETAILED DESCRIPTION
[0090] The words "first, second, third, etc." or module A, module B, module C and other similar terms in the specification and claims are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that the specific order or sequence can be interchanged where permitted so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0091] In the following description, the numbers representing the steps, such as S110, S120, etc., do not necessarily mean that the steps must be executed in this manner. If permitted, the order of the previous and next steps can be interchanged, or they can be executed simultaneously.
[0092] The term "comprising" as used in the description and claims should not be interpreted as being limited to what is listed thereafter; it does not exclude other elements or steps. Therefore, it should be interpreted as specifying the presence of the features, integers, steps or components mentioned, but does not exclude the presence or addition of one or more other features, integers, steps or components and groups thereof. Therefore, the expression "a device comprising means A and B" should not be limited to a device consisting of components A and B only.
[0093] References to "one embodiment" or "an embodiment" in this specification mean that a particular feature, structure, or characteristic described in conjunction with the embodiment is included in at least one embodiment of the present invention. Therefore, the phrases "in one embodiment" or "in an embodiment" appearing in various places in this specification do not necessarily refer to the same embodiment, but may refer to the same embodiment. In addition, in one or more embodiments, the particular features, structures, or characteristics can be combined in any appropriate manner, as would be apparent to one of ordinary skill in the art from this disclosure.
[0094] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of this application. In the event of any inconsistency, the meaning described in this specification or the meaning derived from the contents recorded in this specification shall prevail. In addition, the terms used herein are only for the purpose of describing the embodiments of the present application and are not intended to limit the present application. In order to accurately describe the technical content in this application and to accurately understand the present invention, the following explanations or definitions are given to the terms used in this specification before describing the specific embodiments:
[0095] 1) Message middleware: Message middleware is a supporting software system based on queue and message passing technology that provides synchronous or asynchronous, reliable message transmission for application systems in a network environment. Message middleware uses efficient and reliable message passing mechanisms for platform-independent data exchange and integrates distributed systems based on data communication. By providing message passing and message queuing models, it can expand inter-process communication in a distributed environment.
[0096] 2) Remote Dictionary Server Redis: It is an open source log-type, key-value database written in C language, supporting the network, memory-based and persistent, and provides application programming interfaces (APIs) in multiple languages.
[0097] 3) Transmission Control Protocol (TCP) is a connection-oriented, reliable, byte-stream-based transport layer communication protocol. TCP is a transmission protocol specifically designed to provide reliable end-to-end byte streams over unreliable internet networks. TCP is designed to adapt to a layered protocol hierarchy that supports multi-network applications. Pairs of processes in host computers connected to different but interconnected computer communication networks rely on TCP to provide reliable communication services. TCP assumes that it can obtain simple, potentially unreliable datagram services from lower-level protocols. In principle, TCP should be able to operate on a variety of communication systems from hard-wired connections to packet switching or circuit switching networks.
[0098] The following first introduces the existing method, and then introduces the technical solution of the present application in detail.
[0099] Existing technology: Generally speaking, the power systems of enterprises and factories need to be maintained when failures or safety hazards occur, and they also need to be maintained regularly. The maintenance process can be referred to as "maintenance". Figure 1 The diagram is a schematic diagram of the maintenance process of the power maintenance control method in the prior art. Figure 1 Taking coal mines as an example, power outages in coal mines are related to safety, production, daily office work and other issues of coal mines. It can be said that power outages in coal mines have a huge impact on all aspects of operation and production. Therefore, each coal mine has a strict power outage application process, namely the "power outage ticket". This approval process is a paper approval form, and it requires the signatures of multiple leaders, departments, and section personnel to take effect.
[0100] The maintenance operation method based on the existing technology of "power outage ticket" is as follows:
[0101] When a power outage is required, the power construction personnel fill out a "power outage ticket" and it will be approved by relevant personnel and departments. After the approval is completed, the power construction personnel go to the distribution room to cut off the power. If the power outage is wide and the non-power outage areas are not connected, it is necessary to go to multiple distribution rooms to cut off the power. After the power outage, the power construction personnel will carry out cable maintenance, equipment installation and other work. After the work is completed, the power construction personnel will go to the distribution room again to close the power supply, and then return to the construction site to confirm the power supply situation and the completion of the construction.
[0102] The prior art has the following defects:
[0103] 1) Inefficiency: It takes a certain amount of time for power construction workers to travel back and forth between the distribution room and the construction site, resulting in inefficiency.
[0104] 2) Low safety: Manual power off and on poses certain safety risks.
[0105] Based on the technical problems existing in the above-mentioned prior art, the present application provides a method for power maintenance control. After planning the power outage period, the embodiment of the present application sends a maintenance control instruction to the first device in the power outage area at the beginning of the power outage period, which can avoid direct contact between construction personnel and the switch, eliminate the potential safety hazards of manual power outage and power supply, and solve the problem of low safety. In addition, by sending a maintenance control instruction to the equipment, the embodiment of the present application can automatically control the power supply to be stopped at the beginning of the power outage period during the maintenance process, saving the time wasted by power construction personnel traveling back and forth between the power distribution room and the construction site, and can solve the problem of low efficiency mentioned in the prior art.
[0106] Figure 2 This is a schematic diagram of an embodiment of the power maintenance control method provided in the present application. Figure 2 As shown, the power maintenance control method may include:
[0107] Step S210, receiving power outage request information, wherein the power outage request information includes a power outage location and a power outage duration in the power system;
[0108] Step S220, generating maintenance request information for requesting a power outage according to the power outage request information, wherein the maintenance request information for requesting a power outage includes a power outage area and a power outage period for requesting a power outage in the power system;
[0109] Step S230: sending a maintenance control instruction to a first device in the power outage area at the start time of the power outage period; wherein the maintenance control instruction includes a power outage instruction.
[0110] In the embodiment of the present application, the power construction personnel can directly initiate a power outage application based on the electronic process platform and send a power outage request information to the power outage analysis system; or the monitoring system automatically initiates a power outage application according to the cause of the fault and sends a power outage request information to the power outage analysis system. After receiving the power outage request information, the power outage analysis system can call the big data analysis interface to analyze the power outage situation and give a reasonable power outage time suggestion, such as giving the power outage area and power outage period, and the suggestion content is used as part of the maintenance request information.
[0111] In step S210, the power outage analysis system receives the power outage request information sent by the construction personnel; or, the power outage analysis system receives the power outage request information automatically sent by the monitoring system according to the cause of the fault. For example, when the monitoring system detects that the temperature of a certain device is too high, in order to ensure safe production, it automatically initiates a power outage application and requests to shut down the power to inspect, repair or maintain the device. The power outage request information may include the power outage location and power outage duration for the power system. For example, the power outage location requested can be the location of the circuit where the fault occurs in the power system, or it can be the location of some circuits in the power system that need to be maintained; the power outage duration requested can be 2.5 hours.
[0112] In step S220, the power outage analysis system analyzes the power outage location and power outage duration to obtain the power outage area and power outage period. The power outage location and power outage duration can be analyzed using a pre-trained neural network model or a function obtained based on big data fitting. In the inference stage of the neural network model, the input is the power outage location and power outage duration, and the output is the power outage area and power outage period. Alternatively, the power outage area and power outage period are obtained according to the fitting function. For example, the power outage area can be the relevant area where the faulty circuit is located, or it can be the relevant area in the power system where maintenance is to be performed; the power outage period can be from 23:00 to 2:00. The starting time of the power outage period is 23:00.
[0113] In step S230, the power outage analysis system implements a power outage operation in the power outage area at the start time of the power outage period. Specifically, a maintenance control instruction can be sent to the first device in the power outage area. Among them, the maintenance control instruction may include a power outage instruction. The first device may be a power supply, a device switch, or a line switch in the power outage area. After receiving the power outage instruction, the first device turns off the power supply and the switch. After the power outage operation is completed, the power construction personnel can start related maintenance work.
[0114] The embodiment of the present application reduces the production capacity loss caused by power outages by rationally planning the power outage period. By sending maintenance control instructions to the equipment, the power supply can be automatically stopped at the start of the power outage period during the maintenance process, avoiding direct contact between construction personnel and the switch, thereby improving construction safety, saving working time, and improving work efficiency.
[0115] Figure 3 This is a schematic diagram of an embodiment of the power maintenance control method provided in the present application. Figure 3 As shown, in one embodiment, Figure 2 In step S220, generating maintenance request information for requesting a power outage according to the power outage request information may specifically include:
[0116] Step S310, determining at least one power outage area corresponding to the power outage location from the power outage control area according to the power outage location and the line relationship of each power outage control area divided in the power system;
[0117] Step S320, rounding up the power outage duration to obtain the number n of the power outage time periods, where n is an integer greater than or equal to 1;
[0118] Step S330, based on at least one power indicator of the power outage area, using a neural network model or a fitting function, determine n consecutive time periods within a specified time range as the power outage time periods.
[0119] Figure 4 A schematic diagram of a process for generating maintenance request information according to an embodiment of the power maintenance control method provided in the present application. Figure 3 and Figure 4 In step S310, the power outage location pre-processing module is used to determine the power outage area involved in the power outage at the location according to the power outage location. Taking a coal mine as an example, the implementation method can be to obtain the relationship between the lines of each power outage control area based on the target coal mine power supply line, so as to design the relevant power outage area involved when a certain location in the coal mine needs to be powered off. The power outage area determined according to the power outage location can be one area or multiple areas. For example, Figure 4 There are three planned blackout areas A, B, and C. Among them, each blackout control area in the power system can be divided in advance according to management needs.
[0120] In step S320, the time pre-processing module is used to divide the requested power outage duration into hours. If it is less than one hour, it can be rounded up. For example, if the requested power outage duration is 2.5 hours, the result of rounding up is 3 hours. The time pre-processing module outputs 3 consecutive time periods, that is, Figure 4 , n=3.
[0121] In step S330, the power index may include power consumption or equipment capacity loss. The specified time range in the embodiment of the present application may include all time periods within a day. If one hour is a time period, then a day includes 24 time periods. According to the power index of the power outage area determined in step S310, when n=3, using a neural network model or a fitting function, the three consecutive time periods with the best power index in the 24 time periods within a day can be determined as the power outage period.
[0122] Figure 5 This is a schematic diagram of an embodiment of the power maintenance control method provided in the present application. Figure 5 As shown, in one embodiment, the power indicator includes power consumption; Figure 4Step S330 in the method, according to at least one power indicator of the power outage area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the power outage period, may specifically include:
[0123] Step S510, predicting the power consumption of at least one of the power outage areas corresponding to each time period within a specified time range;
[0124] Step S520, calculating the sum of the power consumption of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0125] Step S530: determine the n consecutive time periods in which the sum of the power consumption is the smallest as the power outage time period.
[0126] See also Figure 4 and Figure 5 , the power outage planning module can realize its function with a neural network model. Among them, the neural network model may include a recurrent neural network model (RNN), a fully convolutional neural network model (FCN), a bidirectional encoder representation model from a transformer (BERT), etc. In another embodiment, the power outage planning module can also realize its function through a fitting function by a data fitting method. In the data fitting method, each power outage area can perform data fitting separately.
[0127] In step S510, the power outage planning module is used to predict the power consumption of at least one power outage area corresponding to each time period within the specified time range. When the power outage planning module is in the inference stage, the input is the power outage area, and the output is the power consumption of each time period in the area. For example, one hour is a time period, and there are 24 time periods in a day. In one example, area A is input, and the output is the predicted power consumption of each time period in the 24 time periods of area A in one day. When the input is two areas A and B, that is, the requested power outage location involves two power outage areas, the two areas A and B are respectively input into the power outage planning module in turn, and the predicted power consumption of each time period in the 24 time periods of the two areas A and B in one day is output respectively.
[0128] In one example, one hour is a time period, and there are 24 time periods in a day. When the power outage planning module is in the training stage, its samples can be: each sample corresponds to the total power consumption of an area and a time period, that is, each sample is marked with "area ID, time period ID, power consumption". For example, time period 1 represents 0:00-1:00; the power consumption can be normalized between 0-1. For the 24 time periods in area A within a day, 24 samples can be generated. The required neural network model is trained through the samples. In another embodiment, the required function is pre-fitted, and the fitted function is used to predict the power consumption of at least one of the power outage areas corresponding to each time period within the specified time range.
[0129] See also Figure 4 and Figure 5 In step S520, the planning post-processing module is used to calculate the sum of the power consumption of all consecutive n time periods within one day according to the predicted power consumption of each time period output by the power outage planning module and the number of power outage time periods n obtained in step S320. For example, when n=3, the consecutive n time periods may be 22:00 to 1:00, 23:00 to 2:00, etc.
[0130] In step S530, the time period with the smallest sum of power consumption among the above-mentioned n consecutive time periods is calculated, and the consecutive time period is output. For example, when a power outage involves a power outage area A, the power outage period obtained is 3 hours. The power outage planning module outputs the predicted power consumption of 24 time periods in area A. With 3 consecutive time periods as the condition, select the three consecutive time periods with the smallest sum of power consumption as the power outage period.
[0131] In another example, a power outage involves two power outage areas A and B, and the power outage period is 3 hours. The power outage planning module outputs the predicted power consumption of area A for 24 periods and area B for 24 periods. The power consumption of area A and area B for 24 periods is calculated. Based on the condition of 3 consecutive periods, the three consecutive periods with the smallest power consumption are selected as the power outage period. In another example, see Figure 4 If the power outage involves three power outage areas A, B, and C, the three consecutive time periods with the smallest sum of power consumption in the three power outage areas are finally output as the power outage time periods.
[0132] Figure 6 This is a schematic diagram of an embodiment of the power maintenance control method provided in the present application. Figure 6 As shown, in one embodiment, the power index includes power consumption and equipment capacity loss, and the equipment capacity loss is the capacity loss of the second equipment in the power outage area caused by the power outage;
[0133] Figure 4Step S330 in the method, according to at least one power indicator of the power outage area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the power outage period, may specifically include:
[0134] Step S610, predicting the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within a specified time range;
[0135] Step S620, calculating the sum of power consumption and equipment capacity loss of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0136] Step S630: According to the sum of the power consumption and the sum of the equipment capacity loss, n consecutive time periods within a specified time range are determined as the power outage period.
[0137] Figure 7 A schematic diagram of a process for generating maintenance request information according to an embodiment of the power maintenance control method provided in the present application. Figure 6 and Figure 7 In other embodiments, for refined management, the output result of the power outage location pre-processing module may further include the planned power outage area and the relevant power equipment contained in the power outage area. The relevant power equipment is also the second equipment. The second equipment may include: the power equipment that stops working due to the power outage in the power outage area. Compared with the example of only outputting the power outage area, the output result of the second equipment makes the planning result have a finer granularity.
[0138] Correspondingly, when the power outage planning module is in the inference stage, the input is the power outage planning area A and the relevant power-consuming equipment N1 and N2 in the area A, and the output is the capacity loss caused by the suspension of work of the relevant power equipment N1 and N2 in each time period and the total power consumption of the area A. Still taking one hour as a time period and a total of 24 time periods as an example, the equipment N1 and N2 in area A are input, and the output is the predicted equipment capacity loss due to power outages of the affected equipment N1 and N2 in each time period of the 24 time periods in area A in one day, and the power consumption in each time period of the 24 time periods in area A. In another example, the same method is used for multiple areas to predict the power consumption and equipment capacity loss of the power outage area corresponding to each time period, which will not be repeated here. In step S610, the power outage planning module is used to predict the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within the specified time range.
[0139] In one example, one hour is a time period, and there are 24 time periods in a day. When the power outage planning module is in the training stage, its samples can be: each sample corresponds to a device in an area, the total power consumption of the area in a time period, and the equipment capacity loss of the second device. That is, each sample is marked with "equipment ID, area ID, time period ID, regional power consumption, equipment capacity loss". For example, time period 1 represents 0:00-1:00; power consumption can be normalized to between 0-1. For the 24 time periods in area A in one day, the number of samples that can be generated is 24*the number of second devices.
[0140] See also Figure 6 and Figure 7 In step S620, the planning post-processing module is used to calculate the sum of the equipment capacity losses of all consecutive n periods within one day and the power consumption of area A according to the power consumption of each period predicted by the equipment N1 and N2 output by the power outage planning module and the number of power outage periods n obtained in step S320. The sum of equipment capacity losses is the sum of the capacity losses of the affected equipment N1 and N2 in the power outage area.
[0141] Step S630, according to the sum of the power consumption and the sum of the equipment capacity loss, determining n consecutive time periods within a specified time range as the power outage period, which may specifically include:
[0142] Selecting n consecutive time periods with the smallest sum of equipment capacity losses as candidate power outage time periods;
[0143] In the case where there is only one candidate power outage period, the candidate power outage period is determined as the power outage period;
[0144] When there are more than two candidate power outage time periods, the candidate power outage time period with the smallest sum of power consumption among the selected candidate power outage time periods is determined as the power outage time period.
[0145] Specifically, the continuous time period with the smallest sum of equipment capacity loss among the above-mentioned n consecutive time periods is calculated, that is, the candidate time period for power outage. When there is only one candidate time period for power outage with the smallest sum of equipment capacity loss, the candidate time period for power outage is used as the power outage time period. When there are more than two candidate time periods for power outage with the smallest sum of equipment capacity loss, for example, one is from 20:00 to 23:00 and the other is from 21:00 to 24:00, the time period with the smallest power consumption is further selected from the above two candidate time periods for power outage as the power outage time period.
[0146] In one example, a power outage involves a power outage area A: the planned power outage period is 3 hours; the power outage planning module outputs the predicted sum of equipment capacity loss and power consumption in 24 time periods in area A; based on the three consecutive time periods, three consecutive time periods with the smallest sum of equipment capacity loss and the smallest power consumption are selected as the power outage period. Among them, the smallest sum of equipment capacity loss is the priority selection condition, and the smallest power consumption is the second selection condition.
[0147] In one embodiment, the above method further comprises:
[0148] In response to receiving maintenance request information requesting power supply, a maintenance control instruction is sent to a first device in the power outage area; wherein the maintenance control instruction includes a power supply instruction.
[0149] Figure 8 This is a flow chart of an embodiment of the power maintenance control method provided in the present application. Figure 8 As shown, during the power maintenance process, enterprises and factories need to stop power supply in the relevant areas where maintenance is being carried out. After the power supply is stopped, the power construction personnel carry out maintenance work such as cable maintenance and equipment installation. After the maintenance work is completed, the power supply is restored. The power construction personnel can directly initiate a power outage application based on the process electronic platform, send a power outage request information to the power outage analysis system, and generate a maintenance request information for requesting a power outage based on this. After receiving the maintenance request information for requesting a power outage, the power outage analysis system approves it through an electronic process. After approval, the process electronic platform can call the maintenance task workflow and send a power outage instruction to the first device. After the power is cut off, the power construction personnel start the maintenance work. After the maintenance work is completed, the power construction personnel can directly initiate a power supply application based on the process electronic platform, and send a maintenance request information for requesting power supply to the process electronic platform. After receiving the power supply request information, the process electronic platform can call the maintenance task workflow and send a maintenance control instruction to the first device in the power outage area. The maintenance control instruction includes a power supply instruction.
[0150] In one implementation, sending a maintenance control instruction to a first device in the power outage area includes:
[0151] Utilize message middleware to publish maintenance request information, wherein the maintenance request information includes maintenance request information requesting power outage or maintenance request information requesting power supply;
[0152] According to the maintenance request information, a maintenance task workflow is called to send a maintenance control instruction to the first device.
[0153] Fig. 9 This is a flow chart of an embodiment of the power maintenance control method provided in the present application. Fig. 9After receiving the power outage request information, the power outage analysis system can call the big data analysis interface, use the machine learning model to analyze the power outage situation and provide the power outage area and power outage period, which are used as part of the maintenance request information. In another way, the power outage area and power outage period of the maintenance request information can also be determined by the power maintenance personnel. After the electronic process platform receives the maintenance request information requesting a power outage, it performs power outage and power supply operations and Figure 8 Similar, no further elaboration is required here.
[0154] Fig.10 A schematic diagram of a work flow of an embodiment of the power maintenance control method provided in the present application. Fig.10 Before calling the maintenance task workflow, you can use the message middleware ActiveMQ to publish the maintenance request information. ActiveMQ is a pure Java program, so it can be executed as long as the operating system supports the Java virtual machine.
[0155] In the embodiment of the present application, after the power outage is approved through the electronic process, the electronic process sends maintenance request information in the RESTFUL style JavaScript Object Notation (JSON) format through the ActiveMQ message middleware in the form of message subscription. The maintenance request information includes maintenance request information for requesting a power outage and maintenance request information for requesting power supply.
[0156] Among them, Representational State Transfer (RESTFUL) is a design style and development method for network applications based on the Hyper Text Transfer Protocol (HTTP) and can be defined in Extensible Markup Language (XML) format or JSON format.
[0157] Fig. 9 The automated workflow in the maintenance task workflow is short for maintenance task workflow. For the specific process of maintenance task workflow, see Fig.10 As shown. The maintenance task workflow is equipped with an ActiveMQ receiving mechanism. When the maintenance task workflow receives the maintenance request information, it suspends and starts the task according to the power outage period in the maintenance request information. Among them, the task suspension state means that the running task needs to wait for a certain event to occur. If the event does not occur, the task is in a suspended state. The timer can be used to determine whether the power outage time has arrived. When the scheduled power outage time is reached, the process automatically flows to the device information module.
[0158] In the embodiment of the present application, after receiving the maintenance request information requesting a power outage and receiving the maintenance request information requesting power supply, the maintenance task workflow can be called to send a maintenance control instruction to the first device.
[0159] In one implementation, calling a maintenance task workflow according to the maintenance request information and sending a maintenance control instruction to the first device includes:
[0160] Acquire current status information of the first device;
[0161] In the case where the current status information is inconsistent with the device status information carried in the maintenance request information, recording the current status information and the device status information carried in the maintenance request information;
[0162] When the current status information is consistent with the device status information carried in the maintenance request information, a maintenance control instruction is sent to the first device.
[0163] See also Fig.10 The device information module obtains the device identification, latest command, latest command time and other information of each first device according to the content of the maintenance request information, and then transfers it to the device status module. Among them, the latest command may include a power outage instruction or a power supply instruction.
[0164] In addition, the content of the maintenance request information may also include the equipment status information of the first device. For example, when the power construction personnel send the power outage request information to the power outage analysis system, they can also report the value of the working voltage of the relevant first device at the same time. That is to say, the power outage request information may include the equipment status information of the first device, and specifically may include the value of the working voltage of the first device viewed. Alternatively, the monitoring system automatically initiates a power outage application based on the cause of the fault, and when sending the power outage request information to the power outage analysis system, it may also report the value of the working voltage of the relevant first device monitored at the same time. Similarly, the power outage request information may also include the equipment status information of the first device, and specifically may include the value of the working voltage of the first device monitored. After receiving the power outage request information, the power outage analysis system generates maintenance request information requesting a power outage based on the power outage request information. The maintenance request information requesting a power outage may carry the equipment status information of the first device.
[0165] See also Fig.10, the device status module uses the TCP protocol to interact with the first device according to the IP address of the device to obtain the current status information of the first device. For example, the current operating voltage value of the first device can be obtained. The device status module uses the device status information returned by the device information module to compare with the current status information of the device to find out whether the device is operating normally. If the device status information returned by the device information module is different from the current status information of the device, it means that there may be a problem with the operation of the device, and the information recording module will be triggered at this time. The information recording module stores the corresponding related information and judgment information mentioned above. If the device status information returned by the device information module is the same as the current status information of the device, the workflow flows to the command filtering module.
[0166] In the embodiment of the present application, by further monitoring and judging the current state of the equipment, the operating state of the equipment can be grasped in real time, and possible safety hazards and unexpected situations can be judged in time. On this basis, unexpected situations can be handled in time. This avoids the situation mentioned in the prior art where an unexpected situation occurs after power supply and the equipment returns to the construction site for secondary processing.
[0167] In one implementation, sending a maintenance control instruction to the first device may include:
[0168] Filtering the maintenance control instructions to obtain filtered maintenance control instructions;
[0169] Send the filtered maintenance control instruction to the first device.
[0170] See also Fig.10 The filtering module determines whether the maintenance control instruction needs to be executed based on the received maintenance control instruction and the current operating status of the equipment. If the maintenance control instruction is to turn on the power, and the current operating status is that the power is already on, then this maintenance control instruction will no longer be executed, otherwise it will be executed. The filtering module will filter out invalid commands and repeated commands. After the filtering is completed, the process flows to the control module.
[0171] In one implementation, after sending the maintenance control instruction to the first device, the method further includes:
[0172] receiving return information from the first device, wherein the return information includes command reception success information or command reception failure information;
[0173] When receiving the command reception success information, using the message middleware to publish the device operation success information;
[0174] In the case where the number of times the command reception failure information is received is less than the predetermined number, returning to the step of sending the maintenance control instruction to the first device;
[0175] When the command reception failure information is received a predetermined number of times, the device operation failure information is published by using the message middleware.
[0176] See also Fig.10 In one example, the predetermined number of times can be set to 3 times. The control module uses the TCP protocol to send corresponding maintenance control instructions to multiple first devices in sequence. The control module receives the information returned by each first device and summarizes and integrates it. When it is found that the first device fails to receive the command, 3 attempts are made. If the results of the 3 attempts are all reception failures, the power supply instruction or power outage instruction fails to execute. On the contrary, if the first device receives the command successfully within no more than 3 attempts, the power supply instruction or power outage instruction is executed successfully. After the power supply instruction or power outage instruction is executed successfully or fails, the process flows to the notification module.
[0177] The notification module calls the electronic process interface through the ActiveMQ message middleware and returns the operation success information or the device operation failure information, as well as the corresponding success and failure identification. Then it determines whether the returned information is the operation success information or the device operation failure information. If the returned information is the device operation failure information, the information recording module will be triggered. The information recording module records the corresponding related information in the database.
[0178] In an embodiment of the present application, after receiving a maintenance request message requesting a power outage, the maintenance task workflow will be triggered to send a power outage instruction to the first device, and execute the relevant steps corresponding to the maintenance request message requesting a power outage. After the power outage, the power construction personnel begin construction, such as performing maintenance operations and inspection operations on the equipment. After the construction is completed, the completion of the construction is confirmed through the process electronic platform. At this time, the maintenance task workflow will be triggered to send a power supply instruction to the first device, and execute the relevant steps corresponding to the maintenance request message requesting power supply. In summary, in an embodiment of the present application, after receiving a maintenance request message requesting a power outage and receiving a maintenance request message requesting power supply, the maintenance task workflow can be called to send a maintenance control instruction to the first device.
[0179] In addition, in the embodiment of the present application, the power outage period in the maintenance request information is the estimated construction duration. Regardless of whether the actual construction duration exceeds the estimated duration, the power supply instruction is executed based on the confirmation of the power construction personnel through the process electronic platform after the construction is completed. In the case of exceeding the estimated construction duration, only a reminder message can be sent. This implementation method can ensure construction safety.
[0180] The embodiment of the present application is based on electronic office processes and automated control processes, combined with technologies such as big data analysis and machine learning to achieve intelligent and automated power outages. Based on this method, unnecessary work for power construction personnel can be reduced, for example: it can reduce the work of going back and forth to the distribution room, fault cause analysis, positioning, etc., greatly improving work efficiency, while reducing the duration of power outages. This method reduces the possibility of construction personnel directly contacting the switch through remote control methods, thereby increasing the safety of construction personnel. Taking mines as an example, this method provides an intelligent, efficient, automatic way of stopping and supplying power in scenarios such as mine power outage maintenance, equipment loading and unloading, and fault power outages, solving the pain points of difficult power outages and power outage reductions in mines. At the same time, the speed and accuracy of fault cause positioning are improved, thereby achieving the purpose of loss reduction.
[0181] See also Fig.10 Taking coal mines as an example, the power maintenance and control method provided in the embodiment of the present application can be used to build a coal mine information platform. The corresponding interface in the above platform can be developed using the JAVA language, and the above method can be used to reduce the loss and increase the efficiency of the coal mine circuit, so that each power outage construction tends to minimize the loss. The workflow for implementing maintenance control can specifically include the following steps:
[0182] 1) There are two ways to initiate the process: manual initiation and machine initiation. After initiation, the system can call the big data analysis interface, analyze the power outage time through the power outage analysis system, and give reasonable power outage time suggestions, such as power outage area and power outage period.
[0183] 2) After the process is approved, the ActiveMQ based on the process electronic platform extension calls the automated workflow. The automated workflow obtains the device information and device status to analyze and determine whether the command needs to be issued. The maintenance request information can be saved in the database. If the current status information of the device is inconsistent with the status comparison result in the database, it means that the status of the device has changed, but the system has not recorded the changed status. In this case, it can be considered that there is a problem with the device. The automated workflow can save the corresponding device information and device status in the database through the information recording module for later fault analysis. Such data is very important for big data analysis, machine learning, and troubleshooting. The level of detail of information recording is inversely proportional to the difficulty of problem location. When the current status information of the device is consistent with the status in the database, the command filtering module verifies the command according to the specified rules and filters out incomplete commands. The command filtering module saves the specified operation command for the specified device in the form of key-value to the remote dictionary service (redis) to filter repeated commands caused by repeated operations by customers. After the command filtering is completed, it is sent to the controlled device through the control module. The controlled device performs the corresponding operation according to the command. When the controlled device has executed the relevant command, it will inform the control module and then return the operation success message, otherwise it will return the operation failure message. If the operation fails, the control module will continue to try to send the corresponding command to the controlled device. The number of attempts in the above process can be adjusted according to actual needs. For example, a maximum of 3 attempts. If the control module has not received the operation success message after 3 attempts, the control module will consider the device to be faulty and return a failure message. When all operations and commands are executed, the message is sent to the process electronic platform through the ActiveMQ of the automated process.
[0184] 3) After completing the above operations, the power construction personnel need to confirm that the power has been cut off and start construction, such as performing maintenance operations and inspection operations on the equipment.
[0185] 4) After the power construction personnel have completed the construction, they can confirm the completion of the construction through the mobile process electronic platform, submit and trigger the automatic control process. The automatic control process will perform the above step 2 again to complete the power supply operation, and the power outage maintenance is now over.
[0186] One or more technical solutions provided in the embodiments of the present application have at least the following technical effects or advantages:
[0187] 1) Loss reduction. The embodiments of the present application optimize the traditional power outage process and reduce manual involvement, thereby shortening the power outage duration and greatly reducing the production losses caused by power outages.
[0188] 2) Increase efficiency. The embodiment of the present application greatly optimizes the approval complexity of the traditional "power outage ticket" through electronic approval process, intelligent analysis, and automatic power outage and power supply, reduces the difficulty of fault cause analysis and location positioning, saves the time wasted by power construction personnel traveling back and forth between the power distribution room and the construction site, and greatly improves work efficiency.
[0189] 3) Easy to maintain. The functions implemented in the embodiments of the present application can be modified and maintained online, and the data is directly stored in the database for storage, which reduces the difficulty of organizing, maintaining and saving offline paper materials. At the same time, the embodiments of the present application store the relevant information of all variable factors in the power maintenance process in the database, which greatly improves the maintainability of the system.
[0190] 4) Wide application scope. The embodiments of the present application can be applied to many industrial production scenarios, such as scenarios where power outages can affect production. Specific application scenarios may include metal mines, oil mining, manufacturing plants, etc.
[0191] like Fig.11 As shown, the present application also provides a corresponding embodiment of an electric power maintenance and control device. For the beneficial effects or technical problems solved by the device, please refer to the descriptions in the methods corresponding to each device, or refer to the descriptions in the content of the invention, which will not be repeated here.
[0192] In an embodiment of the power maintenance control device, the device includes:
[0193] A receiving unit 1110 is configured to receive power outage request information, wherein the power outage request information includes a power outage location and a power outage duration in the power system;
[0194] The area processing unit 1121 is used to determine at least one power outage area corresponding to the power outage position from the power outage control area according to the power outage position and the line relationship of each power outage control area divided in the power system;
[0195] The time period processing unit 1122 is used to round up the power outage duration to obtain the number n of the power outage time periods, where n is an integer greater than or equal to 1;
[0196] A determination unit 1123 is used to determine n consecutive time periods within a specified time range as the power outage period according to at least one power indicator of the power outage area by using a neural network model or a fitting function;
[0197] The sending unit 1130 is used to send a maintenance control instruction to the first device in the power outage area at the start time of the power outage period; wherein the maintenance control instruction includes a power outage instruction.
[0198] In one embodiment, the power indicator includes power consumption;
[0199] The determining unit 1123 is used for:
[0200] Predicting the power consumption of at least one of the power outage areas corresponding to each time period within a specified time range;
[0201] Calculate the sum of power consumption of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0202] The n consecutive time periods in which the sum of the power consumption is the smallest are determined as the power outage time periods.
[0203] In one implementation, the power index includes power consumption and equipment capacity loss, and the equipment capacity loss is the capacity loss of the second equipment in the power outage area caused by the power outage;
[0204] The determining unit 1123 is used for:
[0205] Predicting the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within a specified time range;
[0206] Calculate the sum of power consumption and equipment capacity loss of at least one of the power outage areas in n consecutive time periods within a specified time range;
[0207] According to the sum of the power consumption and the sum of the equipment production capacity losses, n consecutive time periods within a specified time range are determined as the power outage time periods.
[0208] In one implementation, the sending unit 1130 is further configured to:
[0209] In response to receiving maintenance request information requesting power supply, a maintenance control instruction is sent to a first device in the power outage area; wherein the maintenance control instruction includes a power supply instruction.
[0210] In one implementation, the sending unit 1130 is configured to:
[0211] Utilize message middleware to publish maintenance request information, wherein the maintenance request information includes maintenance request information requesting power outage or maintenance request information requesting power supply;
[0212] According to the maintenance request information, a maintenance task workflow is called to send a maintenance control instruction to the first device.
[0213] In one implementation, the sending unit 1130 is configured to:
[0214] Acquire current status information of the first device;
[0215] In the case where the current status information is inconsistent with the device status information carried in the maintenance request information, recording the current status information and the device status information carried in the maintenance request information;
[0216] When the current status information is consistent with the device status information carried in the maintenance request information, a maintenance control instruction is sent to the first device.
[0217] In one implementation, the sending unit 1130 is further configured to:
[0218] Filtering the maintenance control instructions to obtain filtered maintenance control instructions;
[0219] Send the filtered maintenance control instruction to the first device.
[0220] like Fig.12 As shown, in one implementation, the device further includes a message publishing unit 1140, and the message publishing unit 1140 is used to:
[0221] After sending the maintenance control instruction to the first device, receiving return information from the first device, the return information including command reception success information or command reception failure information;
[0222] When receiving the command reception success information, using the message middleware to publish the device operation success information;
[0223] In the case where the number of times the command reception failure information is received is less than the predetermined number, returning to the step of sending the maintenance control instruction to the first device;
[0224] When the command reception failure information is received a predetermined number of times, the device operation failure information is published by using the message middleware.
[0225] Fig.13 9 is a schematic structural diagram of a computing device 900 provided in an embodiment of the present application. The computing device 900 includes: a processor 910 , a memory 920 , and a communication interface 930 .
[0226] It should be understood that Fig.13 The communication interface 930 in the computing device 900 shown in FIG. 9 may be used to communicate with other devices.
[0227] The processor 910 may be connected to a memory 920. The memory 920 may be used to store the program code and data. Therefore, the memory 920 may be a storage unit inside the processor 910, or an external storage unit independent of the processor 910, or a component including a storage unit inside the processor 910 and an external storage unit independent of the processor 910.
[0228] Optionally, the computing device 900 may further include a bus. The memory 920 and the communication interface 930 may be connected to the processor 910 via a bus. The bus may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc.
[0229] It should be understood that in the embodiment of the present application, the processor 910 may adopt a central processing unit (CPU). The processor may also be other general-purpose processors, digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. Alternatively, the processor 910 may adopt one or more integrated circuits to execute relevant programs to implement the technical solutions provided in the embodiment of the present application.
[0230] The memory 920 may include a read-only memory and a random access memory, and provides instructions and data to the processor 910. A portion of the processor 910 may also include a nonvolatile random access memory. For example, the processor 910 may also store information on the device type.
[0231] When the computing device 900 is running, the processor 910 executes the computer-executable instructions in the memory 920 to perform the operating steps of the above method.
[0232] It should be understood that the computing device 900 according to the embodiment of the present application can correspond to the corresponding subjects in the methods according to the embodiments of the present application, and the above-mentioned and other operations and / or functions of each module in the computing device 900 are respectively for realizing the corresponding processes of each method of the present embodiment, which will not be repeated here for the sake of brevity.
[0233] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0234] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0235] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0236] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0237] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0238] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0239] An embodiment of the present application also provides a computer-readable storage medium having a computer program stored thereon. When the program is executed by a processor, the program is used to execute a method for generating diversified questions, which includes at least one of the solutions described in the above embodiments.
[0240] The computer storage medium of the embodiment of the present application can adopt any combination of one or more computer-readable media. Computer-readable media can be computer-readable signal media or computer-readable storage media. Computer-readable storage media can be, for example, but not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any combination of the above. More specific examples (non-exhaustive lists) of computer-readable storage media include: electrical connections with one or more wires, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this document, computer-readable storage media can be any tangible medium containing or storing programs, which can be used by instruction execution systems, devices or devices or used in combination with them.
[0241] 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.
[0242] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0243] Computer program code for performing the operation of the present application can 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" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as an independent 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 can 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 can be connected to an external computer (e.g., using an Internet service provider to connect through the Internet).
[0244] Note that the above are only preferred embodiments of the present application 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 application is described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may also include more other equivalent embodiments without departing from the concept of the present invention, all of which belong to the protection scope of the present invention.
Claims
1. A power maintenance control method, characterized in that: include: receiving a power outage request message, wherein the power outage request message includes a power outage location and a power outage duration in the power system; According to the power outage location and the line relationship of each power outage control area divided in the power system, determining at least one power outage area corresponding to the power outage location from the power outage control area; The power outage duration is rounded up to obtain the number of power outage periods n, where n is an integer greater than or equal to 1; According to at least one power indicator of the blackout area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the blackout period; At the start time of the power outage period, sending a maintenance control instruction to a first device in the power outage area; wherein the maintenance control instruction includes a power outage instruction; The power index includes power consumption and equipment capacity loss, wherein the equipment capacity loss is the capacity loss of the second equipment in the power outage area caused by the power outage; According to at least one power indicator of the blackout area, using a neural network model or a fitting function, determining n consecutive time periods within a specified time range as the blackout period, including: Predicting the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within a specified time range; Calculate the sum of power consumption and equipment capacity loss of at least one of the power outage areas in n consecutive time periods within a specified time range; Based on the sum of the power consumption and the sum of the equipment production capacity losses, n consecutive time periods within a specified time range are determined as the power outage time periods, specifically including: selecting n consecutive time periods with the smallest sum of the equipment production capacity losses as candidate power outage time periods; when there is only one candidate power outage time period, the candidate power outage time period is determined as the power outage time period; when there are more than two candidate power outage time periods, among the selected candidate power outage time periods, the candidate power outage time period with the smallest sum of the power consumption is determined as the power outage time period.
2. The method according to claim 1, characterized in that The method further comprises: In response to receiving maintenance request information requesting power supply, a maintenance control instruction is sent to a first device in the power outage area; wherein the maintenance control instruction includes a power supply instruction.
3. The method according to claim 2, characterized in that Sending a maintenance control instruction to a first device in the power outage area includes: Utilize message middleware to publish maintenance request information, wherein the maintenance request information includes maintenance request information requesting power outage or maintenance request information requesting power supply; According to the maintenance request information, a maintenance task workflow is called to send a maintenance control instruction to the first device.
4. The method according to claim 3, characterized in that According to the maintenance request information, calling the maintenance task workflow and sending a maintenance control instruction to the first device includes: Acquire current status information of the first device; In the case where the current status information is inconsistent with the device status information carried in the maintenance request information, recording the current status information and the device status information carried in the maintenance request information; When the current status information is consistent with the device status information carried in the maintenance request information, a maintenance control instruction is sent to the first device.
5. The method according to claim 3, characterized in that: Sending a maintenance control instruction to the first device includes: Filtering the maintenance control instructions to obtain filtered maintenance control instructions; Send the filtered maintenance control instruction to the first device.
6. The method according to claim 4 or 5, characterized in that: After sending the maintenance control instruction to the first device, the method further includes: receiving return information from the first device, wherein the return information includes command reception success information or command reception failure information; When receiving the command reception success information, using the message middleware to publish the device operation success information; In the case where the number of times the command reception failure information is received is less than the predetermined number, returning to the step of sending the maintenance control instruction to the first device; When the command reception failure information is received a predetermined number of times, the device operation failure information is published by using the message middleware.
7. A power maintenance control device, characterized in that: include: A receiving unit, configured to receive power outage request information, wherein the power outage request information includes a power outage location and a power outage duration in the power system; A regional processing unit, configured to determine at least one power outage area corresponding to the power outage position from the power outage control area according to the power outage position and the line relationship of each power outage control area divided in the power system; The time period processing unit is used to round up the power outage duration to obtain the number n of power outage time periods, where n is an integer greater than or equal to 1; a determining unit, configured to determine n consecutive time periods within a specified time range as the power outage period by using a neural network model or a fitting function according to at least one power indicator of the power outage area; A sending unit, configured to send a maintenance control instruction to a first device in the power outage area at the start time of the power outage period; wherein the maintenance control instruction includes a power outage instruction; Among them, the power indicators include power consumption and equipment capacity loss, and the equipment capacity loss is the capacity loss of the second equipment in the power outage area caused by the power outage; the determination unit is specifically used to: predict the power consumption and equipment capacity loss of at least one of the power outage areas corresponding to each time period within a specified time range; calculate the sum of power consumption and equipment capacity loss of at least one of the power outage areas in n consecutive time periods within a specified time range; determine n consecutive time periods within the specified time range as the power outage time period based on the sum of power consumption and the sum of equipment capacity loss, specifically including: selecting n consecutive time periods with the smallest sum of equipment capacity loss as candidate power outage time periods; when there is only one candidate power outage time period, determining the candidate power outage time period as the power outage time period; when there are more than two candidate power outage time periods, among the selected candidate power outage time periods, determine the candidate power outage time period with the smallest sum of power consumption as the power outage time period.
8. A computing device, characterized in that include: Communication interface; at least one processor connected to the communication interface; as well as At least one memory connected to the processor and storing program instructions, wherein when the program instructions are executed by the at least one processor, the at least one processor executes the method according to any one of claims 1 to 6.
9. A computer-readable storage medium having program instructions stored thereon, characterized in that: When the program instructions are executed by a computer, the computer executes the method according to any one of claims 1 to 6.
Citation Information
Patent Citations
Outage loss evaluation method based on cloud data
CN106600135A
System for reporting and releasing power outage information
CN108053042A
A medium voltage distribution network control method and system
CN109245314A