Distribution transformer power failure determination method and device, and storage medium

By monitoring communication status of distribution transformer terminals and judging offline events, the problem of inaccurate power outage monitoring in extreme natural disasters is solved, and accurate and timely analysis of power outage events is achieved, and the efficiency of power emergency repairs is improved.

CN120016468APending Publication Date: 2025-05-16JIANGSU FRONTIER ELECTRIC TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510225455.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-27
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

It is difficult for the prior art to accurately monitor the power outage of distribution transformers under extreme natural disasters, resulting in underreporting power outages and channel blockage, affecting the progress and efficiency of power emergency repairs.

Method used

By performing communication task processing on the target terminal based on the preset time information, the current communication status offline information is determined, including the first communication failure time, the second communication failure time and the number of communication failures, and the terminal offline time and status are then judged, and the terminal offline event and suspected power outage event are generated.

Benefits of technology

It effectively avoids the missed report of power outage events, improves the real-time and accuracy of power outage monitoring of distribution transformers, and thus improves the timeliness and efficiency of power emergency repairs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120016468A_ABST
    Figure CN120016468A_ABST
Patent Text Reader

Abstract

The invention discloses a power failure determination method and device for a distribution transformer and a storage medium, and belongs to the technical field of power data analysis. The method comprises the following steps: performing communication task processing on a target terminal to obtain a communication task result; under the condition that the communication task result indicates that the response of the target terminal in communication task processing is not received, determining current first and second communication failure time and current communication failure times; determining an offline duration based on a difference value between the current first communication failure time and the current second communication failure time; when the offline duration is greater than or equal to the preset duration and the current communication failure frequency is greater than or equal to the preset frequency, generating a distribution transformer suspected power failure event; under the condition of determining that the target terminal is recovered to be online, the power failure record of the electric energy metering equipment is read; and under the condition that the power failure record is matched with the historical first communication failure time, generating a distribution transformer power failure event based on the distribution transformer suspected power failure event. According to the invention, the power failure monitoring accuracy of the distribution transformer can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power data analysis, and in particular to a method, device and storage medium for determining power outage of a distribution transformer. Background Art

[0002] With the advancement of power grid construction, the requirements for the reliability of power distribution and power supply are constantly increasing. Especially when extreme natural disasters such as typhoons and earthquakes cause large-scale power outages at the end of the power grid, it is necessary to accurately grasp the real-time power outage range of the end power grid to support the coordinated dispatch of power repairs and restore power supply as soon as possible, thereby ensuring residents' living needs and reducing economic losses.

[0003] In the prior art, based on the power outage sensing capability of the terminals in the substation area, the terminals report the power outage event to the main station when the power outage occurs. However, when the power outage occurs, the terminal loses its power supply and only relies on its own remaining power to work, which will cause the terminal function to be unstable, and the power outage underreporting often occurs. In addition, in extreme natural disasters, a large number of terminals report quickly at the same time, competing for communication channels, causing channel blockage, and the mobile base station itself has a weak signal in harsh environments, resulting in a large number of terminals underreporting power outages, which cannot accurately reflect the actual power outage situation, affecting the progress and efficiency of power repair. Summary of the invention

[0004] The purpose of the present invention is to overcome the deficiencies in the prior art and to provide a method, device and storage medium for determining power outages of distribution transformers, which can avoid underreporting of power outage events and effectively improve the real-time and accuracy of power outage monitoring of distribution transformers.

[0005] In order to achieve the above object, the present invention adopts the following technical solutions:

[0006] In one aspect, the present invention provides a method for determining a power outage of a distribution transformer, the method comprising:

[0007] Process the communication task on the target terminal according to the preset time information to obtain the communication task result;

[0008] In the case where the communication task result indicates that no response from the target terminal in the communication task processing has been received, determining the current communication status offline information, wherein the current communication status offline information includes the current first communication failure time, the current second communication failure time and the current number of communication failures; the current first communication failure time is the time corresponding to the first communication failure in the current number of communication failures, and the current second communication failure time is the time corresponding to the last communication failure in the current number of communication failures;

[0009] Determining an offline duration of the target terminal based on a difference between the current first communication failure time and the current second communication failure time;

[0010] When the offline time is greater than or equal to the preset time, and the current number of communication failures is greater than or equal to the preset number, setting the current communication state of the target terminal to an offline state;

[0011] According to the current communication state of the target terminal being an offline state, generating a terminal offline event corresponding to the target terminal and a distribution transformer suspected power outage event corresponding to the distribution transformer;

[0012] When it is determined that the target terminal is back online, the power-off record corresponding to the electric energy metering equipment in the target area is copied;

[0013] When the power failure record matches the first historical communication failure time, a distribution transformer power failure event corresponding to the distribution transformer is generated based on the suspected power failure event of the distribution transformer.

[0014] In some possible implementations, the preset time information includes a preset call test cycle; the communication task result includes a call test result;

[0015] The performing communication task processing on the target terminal according to the preset time information to obtain the communication task result includes:

[0016] According to the preset call test cycle, the target terminal is subjected to a call test process to obtain a call test result.

[0017] In some possible implementations, when the communication task result indicates that no response from the target terminal in the communication task processing is received, determining the current communication status offline information includes:

[0018] If the call test result indicates that the call test data has not been received, determine the current communication failure time, and determine the current communication failure number as the historical communication failure number plus one;

[0019] When the current number of communication failures is greater than or equal to a preset number, determining the current second communication failure time as the current communication failure time;

[0020] And when the offline duration is greater than or equal to the preset duration, the current communication status offline information is generated according to the current first communication failure time, the current communication failure time and the current number of communication failures; the offline duration is the difference between the current first communication failure time and the current communication failure time.

[0021] In some possible implementations, the preset time information includes a preset inspection time; the communication task result includes a test result;

[0022] The performing communication task processing on the target terminal according to the preset time information to obtain the communication task result includes:

[0023] Patrol the communication status information of the target terminal according to the preset patrol time, and obtain the communication status time in the communication status information;

[0024] Determining a target time difference based on the communication status time and the current inspection time;

[0025] When the target time difference is greater than or equal to the preset time, a communication test task is initiated for the target terminal to obtain a test result.

[0026] In some possible implementations, when the communication task result indicates that no response from the target terminal in the communication task processing is received, determining the current communication status offline information includes:

[0027] In the case where the test result indicates that no response to the communication test task from the target terminal has been received, determining a current communication failure time, and determining the current number of communication failures as the number of historical communication failures plus one;

[0028] When the current number of communication failures is greater than or equal to a preset number, determining the current second communication failure time as the current communication failure time;

[0029] And when the offline duration is greater than or equal to the preset duration, the current communication status offline information is generated according to the current first communication failure time, the current communication failure time and the current number of communication failures; the offline duration is the difference between the current first communication failure time and the current communication failure time.

[0030] In some possible implementations, when it is determined that the target terminal is back online, before copying the power-off record corresponding to the electric energy metering device in the target area, the method includes:

[0031] In the case where the communication task result indicates that a response of the target terminal in the communication task processing is received, setting the current communication state of the target terminal to an online state, and determining the current communication state online information;

[0032] In the case that the historical communication state of the target terminal is an offline state, according to the current communication state of the target terminal being an online state, it is determined that the target terminal is restored online, and a terminal online event corresponding to the target terminal is generated.

[0033] In some possible implementations, when it is determined that the target terminal is back online, before transparently copying the power-off record corresponding to the electric energy metering device in the target area, the method further includes:

[0034] When receiving the target communication information sent by the target terminal, setting the current communication state of the target terminal to an online state, and determining the online information of the current communication state;

[0035] In the case that the historical communication state of the target terminal is an offline state, according to the current communication state of the target terminal being an online state, it is determined that the target terminal is restored online, and a terminal online event corresponding to the target terminal is generated.

[0036] In some possible implementations, the current communication status online information includes a current communication success time; and setting the current communication status of the target terminal as an online state and determining the current communication status online information includes:

[0037] Determine the current communication success time;

[0038] Updating the historical communication success time to the current communication success time;

[0039] Clear the historical communication failure times to get the current communication failure times after clearing;

[0040] Clearing the historical first communication failure time and the historical second communication failure time to obtain the cleared current first communication failure time and the cleared current second communication failure time;

[0041] The current communication status online information is generated according to the current communication success time, the current first communication failure time after being cleared, the current second communication failure time after being cleared, and the current communication failure times after being cleared.

[0042] On the other hand, an electronic device is provided, comprising a processor and a memory, wherein the memory stores at least one instruction and at least one program, and the at least one instruction and the at least one program are loaded and executed by the processor to implement the distribution transformer power outage determination method as described above.

[0043] On the other hand, a computer-readable storage medium is provided, in which at least one instruction and at least one program are stored, and the at least one instruction and the at least one program are loaded and executed by a processor to implement the distribution transformer power outage determination method as described above.

[0044] Compared with the prior art, the present invention has the following beneficial effects:

[0045] In the present invention, by performing communication task processing on the target terminal according to preset time information and obtaining the communication task result, the communication status of the target terminal can be monitored in real time; when the communication task result indicates that no response from the target terminal in the communication task processing is received, the current communication status offline information is determined, and the current first communication failure time, the current second communication failure time and the current number of communication failures can be obtained; then, based on the difference between the current first communication failure time and the current second communication failure time, the offline duration of the target terminal is determined, so that it is possible to determine whether the target terminal is offline according to the offline duration of the target terminal and the current number of communication failures, and when the offline duration is greater than or equal to the preset duration and the current number of communication failures is greater than or equal to the preset number, the current communication status of the target terminal is set to the offline state, and when the above conditions are met, it is determined that the target terminal is offline; then, according to the current The previous communication status is offline, and a terminal offline event corresponding to the target terminal and a suspected power outage event of the distribution transformer corresponding to the distribution transformer that supplies power to the target terminal are generated. According to the monitoring of the communication status of the terminal, the distribution transformer power outage event can be analyzed and judged in real time to avoid the underreporting of power outage events. When it is determined that the target terminal is restored to the line, the power-off record corresponding to the electric energy metering equipment in the target area is copied, and then when the power-off record matches the time of the first historical communication failure, the distribution transformer power outage event corresponding to the distribution transformer is generated based on the suspected power outage time of the distribution transformer. After the terminal is restored to the line, the power outage event of the distribution transformer can be reviewed and inspected to determine that the suspected power outage event of the distribution transformer is indeed a distribution transformer power outage event, which can effectively improve the accuracy of the power outage monitoring of the distribution transformer, and then improve the timeliness and effectiveness of the determination of the power outage event of the distribution transformer, so as to improve the progress and efficiency of power emergency repair. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present invention or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0047] Figure 1 It is a flow chart of a method for determining power outage of a distribution transformer provided by an embodiment of the present invention;

[0048] Figure 2 It is a flow chart of another method for determining power outage of a distribution transformer provided by an embodiment of the present invention;

[0049] Figure 3 It is a flow chart of another method for determining power outage of a distribution transformer provided by an embodiment of the present invention;

[0050] Figure 4 It is a flow chart of another method for determining power outage of a distribution transformer provided by an embodiment of the present invention;

[0051] Figure 5 It is a structural schematic diagram of a distribution transformer power outage determination device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0052] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0053] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product, or server that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products, or devices.

[0054] In the embodiments of the present invention, the term "module" or "unit" refers to a computer program or a part of a computer program that has a predetermined function and works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as processing circuits or memories) or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be part of an overall module or unit that includes the function of the module or unit.

[0055] Various exemplary embodiments, features and aspects of the present invention will be described in detail below with reference to the accompanying drawings. The same reference numerals in the accompanying drawings represent elements with the same or similar functions. Although various aspects of the embodiments are shown in the accompanying drawings, the drawings are not necessarily drawn to scale unless otherwise specified.

[0056] The word “exemplary” is used exclusively herein to mean “serving as an example, example, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.

[0057] The term "and / or" herein is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C can represent including any one or more elements selected from the set consisting of A, B, and C.

[0058] In addition, in order to better illustrate the present invention, numerous specific details are provided in the following specific embodiments. It should be understood by those skilled in the art that the present invention can be implemented without certain specific details. In some examples, methods, means, components and circuits well known to those skilled in the art are not described in detail in order to highlight the subject matter of the present invention.

[0059] Figure 1 It is a flow chart of a method for determining power outage of a distribution transformer provided by an embodiment of the present invention. This specification provides method operation steps such as the embodiment or flow chart, but may include more or fewer operation steps based on conventional or non-creative labor. The order of steps listed in the embodiment is only one way of executing the steps among many orders, and does not represent the only order of execution. When the actual system or server product is executed, it can be executed in the order shown in the embodiment or the drawings or in parallel (for example, in a parallel processor or multi-threaded processing environment). Specifically, Figure 1 As shown, the above method may include:

[0060] S101: Processing a communication task for a target terminal according to preset time information to obtain a communication task result;

[0061] In a specific embodiment, the preset time information may be a time interval or time period for processing a communication task on the target terminal; the preset time information may include a preset inspection time and a preset call test period; optionally, the preset time information may be set in combination with actual application requirements. The target terminal may be a device installed in a power grid, used to perform data collection, monitoring, control, etc.; optionally, the target terminal may be a distribution transformer terminal, used to monitor the operating status of the distribution transformer, record and save operating parameters. The distribution transformer is a device used to convert high-voltage electrical energy into low-voltage electrical energy; optionally, the distribution transformer can supply power to the target terminal. The communication task result may be a result used by the master station to determine whether the target terminal is online; the optional communication task result may include a test result and a call test result.

[0062] In a specific embodiment, the master station may be a device for collecting terminal data and issuing control instructions. The master station processes the communication task of the target terminal according to the preset time information, obtains the communication task result, and can realize real-time monitoring of the target terminal. Through real-time monitoring of the target terminal, the communication status of the target terminal is determined, and then, according to the communication status of the target terminal, it can be judged whether the distribution transformer voltage is out of power, thereby improving the simplicity and real-time performance of the distribution transformer power outage monitoring.

[0063] In a specific embodiment, the file status of the target terminal corresponding to the distribution transformer power outage determination method is normal, that is, the target terminal is operating normally; when the target terminal is operating normally, the accuracy of determining the power outage situation by applying the distribution transformer power outage determination method can be improved.

[0064] In an optional embodiment, the preset time information includes a preset call test period; the communication task result includes a call test result; the communication task processing is performed on the target terminal according to the preset time information to obtain the communication task result, including:

[0065] According to the preset call test cycle, the target terminal is called for test processing to obtain the call test result.

[0066] In a specific embodiment, the preset call test period can be the periodic time for the master station to call the target terminal; optionally, the preset call test period can be set in combination with actual application requirements; specifically, the preset call test period can be 15 minutes. Calling the target terminal for testing can be sending a data call test instruction to the target terminal, so as to obtain data of the target terminal in real time.

[0067] In the above embodiment, by performing a call test process on the target terminal to obtain a call test result, it is possible to determine in time whether the target terminal is online, thereby improving the real-time performance of determining the communication status of the target terminal.

[0068] In an optional embodiment, the preset time information includes a preset inspection time; the communication task result includes a test result; the communication task result is obtained by performing communication task processing on the target terminal according to the preset time information, including:

[0069] According to the preset inspection time, the communication status information of the target terminal is inspected to obtain the communication status time in the communication status information;

[0070] Determine the target time difference based on the communication status time and the current patrol time;

[0071] When the target time difference is greater than or equal to the preset time, a communication test task is initiated to the target terminal to obtain a test result.

[0072] In a specific embodiment, the preset inspection time may be the time when the main station regularly inspects the target terminal; optionally, the preset inspection time may be set in combination with actual application requirements; specifically, the preset inspection time may be every 5 minutes, specifically, the main station inspects the communication status information of the target terminal every five minutes. The communication status information may be information characterizing the communication success time or communication failure time of the target terminal. Optionally, the communication status information may include communication status offline information and communication status online information. The communication status offline information may include the first communication failure time, the second communication failure time, and the number of communication failures. The communication status online information may include communication success information. The communication status time in the communication status information may include the communication success time, the first communication failure time, and the second communication failure time. The first communication failure time may be the time corresponding to the first communication failure in the number of communication failures, and the second communication failure time may be the time corresponding to the last communication failure in the number of communication failures.

[0073] The current inspection time may be the time when the master station inspects the communication status time of the target terminal. The target time difference may be the time difference between the communication success time or the second communication failure time and the current inspection time. Optionally, the preset time may be set in combination with actual application requirements, and specifically, the preset time may be 20 minutes.

[0074] The communication test task may be a test task for detecting the reliability of the network connection between the target terminal and the master station. Optionally, the communication test task may be a test task for detecting whether the target terminal is online. The communication test task may be set in combination with actual application requirements. Specifically, the communication test task may be a heartbeat test task. Optionally, the heartbeat test task periodically sends a data packet (heartbeat packet) to the target terminal through the master station to detect the communication status of the target terminal in real time. If the master station receives a response from the target terminal within a certain period of time, the communication status of the target terminal is online. If the master station does not receive a response from the target terminal within a certain period of time, the communication status of the target terminal is offline.

[0075] In a specific embodiment, after determining the target time difference based on the communication status time and the current patrol time, the method may further include: when the target time difference is less than the preset time, patrolling the communication status time of the target terminal according to the preset patrol time, and obtaining the communication status time in the communication status information.

[0076] In a specific embodiment, the main station patrols the communication status information of the target terminal every five minutes to obtain the communication success time or the second communication failure time; determines the target time difference based on the communication success time or the second communication failure time and the current patrol time; when the target time difference is greater than or equal to 20 minutes, initiates a heartbeat test task for the target terminal to obtain the heartbeat test result, so as to timely determine whether the target terminal is online, thereby improving the real-time determination of the communication status of the target terminal.

[0077] S102: if the communication task result indicates that no response from the target terminal in the communication task processing is received, determine current communication status offline information, where the current communication status offline information includes a current first communication failure time, a current second communication failure time, and a current number of communication failures;

[0078] In the case of a specific embodiment, the current communication status offline information may be information characterizing the current communication failure time of the target terminal. The current first communication failure time is the time corresponding to the first communication failure in the current number of communication failures, and the current second communication failure time is the time corresponding to the last communication failure in the current number of communication failures; that is, the current first communication failure time is the time corresponding to the first communication failure with the target terminal in the current number of communication failures, and the current second communication failure time is the time corresponding to the last communication failure with the target terminal in the current number of communication failures; optionally, the current first communication failure time may be the earliest communication failure time, and the current second communication failure time may be the most recent communication failure time;

[0079] In an optional embodiment, when the communication task result indicates that no response from the target terminal in the communication task processing is received, determining the current communication status offline information includes:

[0080] If the call test result indicates that no call test data has been received, determine the current communication failure time, and determine the current communication failure number as the historical communication failure number plus one;

[0081] When the current number of communication failures is greater than or equal to the preset number of times, determining the current second communication failure time as the current communication failure time;

[0082] And when the offline duration is greater than or equal to the preset duration, the current communication status offline information is generated according to the current first communication failure time, the current communication failure time and the current number of communication failures; the offline duration is the difference between the current first communication failure time and the current communication failure time.

[0083] In an optional embodiment, the current communication status time includes the current first communication failure time and the current second communication failure time. When the communication task result indicates that no response from the target terminal in the communication task processing is received, determining the current communication status offline information includes:

[0084] If the test result indicates that no response to the communication test task is received from the target terminal, determine the current communication failure time, and determine the current communication failure number as the historical communication failure number plus one;

[0085] When the current number of communication failures is greater than or equal to the preset number of times, determining the current second communication failure time as the current communication failure time;

[0086] And when the offline duration is greater than or equal to the preset duration, the current communication status offline information is generated according to the current first communication failure time, the current communication failure time and the current number of communication failures; the offline duration is the difference between the current first communication failure time and the current communication failure time.

[0087] In a specific embodiment, the current number of communication failures is 3, which can represent three consecutive communication failures between the main station and the target terminal. The current first communication failure time is the time corresponding to the first communication failure between the main station and the target terminal, and the current second communication failure time is the time corresponding to the third communication failure between the main station and the target terminal; after the current number of communication failures is updated to 4, the current first communication failure time is the time corresponding to the first communication failure between the main station and the target terminal, and the current second communication failure time is the time corresponding to the fourth communication failure between the main station and the target terminal.

[0088] In a specific embodiment, the current communication failure time may be the current time point of the communication failure during the communication between the main station and the target terminal. When the current number of communication failures is less than the preset number, the current first communication failure time is determined as the current communication failure time, so that the current first communication failure time can be determined. Optionally, when the current number of communication failures is less than the preset number, the main station and the target terminal fail to communicate for the first time, and the first communication failure time is empty at this time, and the current communication failure time is used as the current first communication failure time; when the current number of communication failures is greater than or equal to the preset number, the main station and the target terminal fail for the current number of communication failures, and the first communication failure time is not empty at this time, and the current first communication failure time is the first communication failure time, and then the current communication failure time can be used as the current second communication failure time. Optionally, the first communication failure time can be the time corresponding to the first communication failure in the number of communication failures. Specifically, the preset number of times can be set in combination with actual application requirements, and the preset number of times can be 2 times.

[0089] In the above embodiment, the current communication status information includes the current communication status offline information and the current communication status online information; the current communication status information is determined so that the current communication status of the target terminal can be further determined based on the determined current communication status information, thereby improving the accuracy of determining the terminal communication status, and further improving the accuracy of determining the distribution transformer power outage event.

[0090] S103: Determine the offline duration of the target terminal based on the difference between the current first communication failure time and the current second communication failure time;

[0091] In a specific embodiment, when there is only the current first communication failure time, which indicates that the target terminal has failed to communicate with the master station for the first time, the master station performs communication task processing on the target terminal according to the preset time information.

[0092] S104: When the offline time is greater than or equal to the preset time, and the current number of communication failures is greater than or equal to the preset number, setting the current communication state of the target terminal to an offline state;

[0093] In a specific embodiment, the preset time can be set in combination with actual application requirements, and specifically, the preset time can be 28 minutes. Specifically, when the offline event is greater than or equal to 28 minutes and the current number of communication failures is greater than or equal to 2 times, the current communication state of the target terminal is set to the offline state.

[0094] In the above embodiment, the current communication state of the target terminal is further determined according to the offline duration, which can improve the accuracy of determining the terminal communication state, and further improve the accuracy of determining the distribution transformer power outage event.

[0095] S105: Further determining the current communication state of the target terminal according to the offline duration of the target terminal, the current communication state of the terminal communication state determination terminal can be improved to an offline state, and a terminal offline event corresponding to the target terminal and a suspected power outage event of the distribution transformer corresponding to the distribution transformer are generated.

[0096] In a specific embodiment, when the current communication state of the target terminal is offline, it indicates that the power supply to the target terminal is interrupted, so a suspected power outage event of the distribution transformer is generated accordingly, which can improve the timeliness of the determination of the power outage event, thereby improving the progress and efficiency of power emergency repair. After determining the suspected power outage event of the distribution transformer, the suspected power outage event of the distribution transformer can be further verified in combination with the power failure record of the electric energy metering equipment under the distribution transformer, so as to make the power outage event of the distribution transformer more accurate.

[0097] S106: When it is determined that the target terminal is back online, the power failure record corresponding to the electric energy metering device in the target area is copied;

[0098] In a specific embodiment, the target terminal coming online again indicates that the target terminal can communicate with the master station; the target area may be a power supply area of ​​a distribution transformer, and specifically, the target area is a transformer substation.

[0099] The electric energy metering device may be a device for measuring, recording and monitoring electric energy consumption. Optionally, the electric energy metering device may be configured in accordance with actual application requirements. Specifically, the electric energy metering device may be an electric meter.

[0100] The power failure record may be power failure information recorded by the electric energy metering device when the power fails (ie, a power outage); optionally, the power failure information may include power failure time, recovery time, power failure duration, etc.

[0101] In an optional embodiment, when it is determined that the target terminal is back online, before copying the power-off record corresponding to the electric energy metering device in the target area, the method includes:

[0102] In the case where the communication task result indicates that a response of the target terminal in the communication task processing is received, setting the current communication state of the target terminal to an online state, and determining current communication state online information;

[0103] In the case that the historical communication state of the target terminal is an offline state, according to the current communication state of the target terminal being an online state, it is determined that the target terminal is restored online, and a terminal online event corresponding to the target terminal is generated.

[0104] In a specific embodiment, when the communication task result indicates that a response from the target terminal in the communication task processing is received, setting the current communication state of the target terminal to an online state and determining the current communication state online information may include: when the call test result indicates that call test data is received, setting the current communication state of the target terminal to an online state and determining the current communication state online information; or, when the test result indicates that a response from the target terminal to the communication test task is received, setting the current communication state of the target terminal to an online state and determining the current communication state online information. Optionally, when the communication task result indicates that a response from the target terminal in the communication task processing is received, it indicates that the master station and the target terminal have successfully communicated, and the master station may receive the response from the target terminal in the communication task processing.

[0105] In a specific embodiment, when the communication status of the target terminal is updated from an offline state to an online state, the target terminal is restored online; when the historical communication status of the target terminal is an offline state, a terminal offline event and a suspected power outage event of the distribution transformer are generated, indicating that the target terminal is powered off. After powering on, the target terminal sends a login request to the master station. When the master station responds to the login request sent by the target terminal, the target terminal establishes a communication connection with the master station. At this time, the master station can continue to process the communication task of the target terminal according to the preset time. Optionally, the process of the master station processing the communication task of the target terminal is performed when the target terminal has logged in to the master station.

[0106] In a specific embodiment, when the communication task result indicates that a response from the target terminal in the communication task processing is received, the current communication status of the target terminal is set to an online status, and the historical communication status of the target terminal is an online status. At this time, the target terminal is always in an online status, and the communication connection between the target terminal and the main station is stable.

[0107] In an optional embodiment, when it is determined that the target terminal is back online, before copying the power-off record corresponding to the electric energy metering device in the target area, the method further includes:

[0108] When receiving the target communication information sent by the target terminal, setting the current communication state of the target terminal to an online state, and determining the current communication state online information;

[0109] In the case that the historical communication state of the target terminal is an offline state, according to the current communication state of the target terminal being an online state, it is determined that the target terminal is restored online, and a terminal online event corresponding to the target terminal is generated.

[0110] In a specific embodiment, the target communication information may include target communication data and target communication events; optionally, when the target terminal sends a login request to the main station and the main station responds to the login request of the target terminal, that is, the target terminal successfully establishes a communication connection with the main station, then the current communication status of the target terminal is set to an online state; when the target terminal actively sends communication data or communication events to the main station and the main station receives the communication data or communication events, the current communication status of the target terminal is set to an online state. If the historical communication status of the target terminal is an online state, then the target terminal has been online all the time; if the historical communication status of the target terminal is an offline state, then the target terminal is back online at this time.

[0111] In an optional embodiment, the current communication status online information includes the current communication success time; the above setting the current communication status of the target terminal to the online status and determining the current communication status online information includes:

[0112] Determine the current communication success time;

[0113] Update the historical communication success time to the current communication success time;

[0114] Clear the historical communication failure times to get the current communication failure times after clearing;

[0115] Clear the historical first communication failure time and the historical second communication failure time to obtain the cleared current first communication failure time and the cleared current second communication failure time;

[0116] The current communication status online information is generated according to the current communication success time, the current first communication failure time after being cleared, the current second communication failure time after being cleared, and the current communication failure times after being cleared.

[0117] In a specific embodiment, when the current communication state of the target terminal is online, the current communication success time can be determined, and then the historical communication success time can be updated, and the historical communication success time is updated to the current communication success time, so that the communication success time is updated.

[0118] In the above embodiment, the communication status information may include communication status online information and communication status offline information. The recording of communication status online information and communication status offline information facilitates real-time understanding of the communication status between the main station and the target terminal during power outage and power restoration, which facilitates power maintenance.

[0119] S107: When the power failure record matches the first historical communication failure time, a distribution transformer power failure event corresponding to the distribution transformer is generated based on the suspected power failure event of the distribution transformer.

[0120] In a specific embodiment, when the target terminal is restored to the online state, the power-off record corresponding to the electric energy metering device in the target area is copied; when the power-off record matches the first historical communication failure time, a distribution transformer power-on event corresponding to the distribution transformer is generated; or, when the recovery time in the power-off record matches the communication success time (terminal online time), a distribution transformer power-on event corresponding to the distribution transformer is generated.

[0121] In a specific embodiment, when the power outage time in the power outage record matches the first historical communication failure time, a distribution transformer power outage event corresponding to the distribution transformer is generated based on the suspected power outage event of the distribution transformer; or, when the recovery time in the power outage record matches the communication success time (terminal online time), a distribution transformer power outage event corresponding to the distribution transformer is generated based on the suspected power outage event of the distribution transformer.

[0122] In a specific embodiment, the suspected power outage event of the distribution transformer can be further determined by matching the power failure record with the first historical communication failure time. When the power failure record matches the first historical communication failure time, it indicates that the distribution transformer was out of power at the first historical communication failure time. The distribution transformer power outage event can be determined. Based on the suspected power outage event of the distribution transformer, a corresponding distribution transformer power outage event can be generated. The first historical communication failure time can be the power outage time of the distribution transformer; so when the target terminal is restored online, the distribution transformer voltage is also restored, and a distribution transformer restoration event corresponding to the distribution transformer is generated; when the power failure record does not match the first historical communication failure time, it indicates that the distribution transformer was not out of power at the first historical communication failure time, and the suspected power outage event of the distribution transformer can be denied. Then the event corresponding to the power failure time in the power failure record can be updated to a non-distribution transformer power outage. Specifically, the distribution transformer power outage event can be further determined based on the matching of the power failure time in the power failure record with the first historical communication failure time.

[0123] In a specific embodiment, when the target terminal is restored online, the power-off record corresponding to the electric energy metering device in the target area is copied; when the power-off record matches the time of the first historical communication failure, a distribution transformer power-on event corresponding to the distribution transformer is generated; and based on the suspected power outage event of the distribution transformer, a distribution transformer power outage event corresponding to the distribution transformer is generated. After the terminal is restored online, the distribution transformer power outage event can be reviewed and verified to improve the accuracy of the determination of the distribution transformer power outage event.

[0124] In a specific embodiment, Figure 2 is a flow chart of another method for determining power outage of a distribution transformer provided by an embodiment of the present invention; Figure 2 As shown,

[0125] S201: every 5 minutes, inspect the communication status information of the target terminal and obtain the communication status time in the communication status information;

[0126] S202: Determine a target time difference based on the communication status time and the current patrol time;

[0127] S203: Determine whether the target time difference is greater than or equal to 20 minutes; if the target time difference is greater than or equal to 20 minutes, execute S204; if the target time difference is less than 20 minutes, return to S201;

[0128] S204: Initiate a communication test task for the target terminal and obtain the test result;

[0129] S205: Determine whether the target terminal successfully communicates according to the test result; if the communication task result indicates that the response of the target terminal in the communication task processing is not received, the communication fails, and S206 is executed; if the communication task result indicates that the response of the target terminal in the communication task processing is received, the communication is successful, and S211 is executed;

[0130] S206: Determine the current communication status offline information; the current communication status offline information includes the current first communication failure time, the current second communication failure time and the current number of communication failures;

[0131] S207: Determine the offline duration of the target terminal based on the difference between the current first communication failure time and the current second communication failure time;

[0132] S208: Determine whether the offline time is greater than or equal to 28 minutes, and whether the current number of communication failures is greater than or equal to 2 times; if the offline time is greater than or equal to the preset time, and the current number of communication failures is greater than or equal to the preset number, execute S208; if the offline time is less than the preset time, or the current number of communication failures is less than the preset number, return to S201;

[0133] S209: Setting the current communication state of the target terminal to an offline state;

[0134] S210: According to the current communication state of the target terminal being an offline state, generating a terminal offline event corresponding to the target terminal and a distribution transformer suspected power outage event corresponding to the distribution transformer;

[0135] S211: Setting the current communication state of the target terminal to an online state;

[0136] S212: Determine current communication status online information;

[0137] S213: Determine whether the target terminal is back online. If the historical communication state of the target terminal is offline, the target terminal is back online based on the current communication state of the target terminal being online, and execute S214. If the historical communication state of the target terminal is online, the target terminal is determined to be online all the time based on the current communication state of the target terminal being online.

[0138] S214: Confirm the power outage event by reading the power-off record corresponding to the electric energy metering equipment in the target area.

[0139] In a specific embodiment, Figure 3 is a flow chart of another method for determining power outage of a distribution transformer provided by an embodiment of the present invention; Figure 3 As shown,

[0140] S301: Periodically perform a call test process on the target terminal to obtain a call test result;

[0141] S302: Determine whether the target terminal has successfully communicated according to the call test result; if the call test result indicates that the call test data has not been received, the communication fails, and S303 is executed; if the call test result indicates that the call test data has been received, the communication is successful, and S308 is executed;

[0142] S303: Determine the current communication status offline information; the current communication status offline information includes the current first communication failure time, the current second communication failure time and the current number of communication failures;

[0143] S304: Determine the offline duration of the target terminal based on the difference between the current first communication failure time and the current second communication failure time;

[0144] S305: Determine whether the offline time is greater than or equal to 28 minutes, and whether the current number of communication failures is greater than or equal to 2 times; if the offline time is greater than or equal to the preset time, and the current number of communication failures is greater than or equal to the preset number, execute S306; if the offline time is less than the preset time, or the current number of communication failures is less than the preset number, return to S301;

[0145] S306: Setting the current communication state of the target terminal to an offline state;

[0146] S307: According to the current communication state of the target terminal being an offline state, a terminal offline event corresponding to the target terminal and a suspected power outage event corresponding to the distribution transformer are generated;

[0147] S308: Setting the current communication state of the target terminal to an online state;

[0148] S309: Determine the current communication status online information;

[0149] S310: Determine whether the target terminal is back online. If the historical communication state of the target terminal is offline, the target terminal is back online based on the current communication state of the target terminal being online, and execute S311; if the historical communication state of the target terminal is online, the target terminal is determined to be online all the time based on the current communication state of the target terminal being online.

[0150] S311: Confirm the power outage event by reading the power-off record corresponding to the electric energy metering equipment in the target area.

[0151] In a specific embodiment, Figure 4 is a flow chart of another method for determining power outage of a distribution transformer provided by an embodiment of the present invention; Figure 4 As shown,

[0152] S401: responding to a login request sent by a target terminal;

[0153] S402: receiving communication data sent by the target terminal;

[0154] S403: accepting the communication event sent by the target terminal;

[0155] S404: Setting the current communication state of the target terminal to an online state;

[0156] S405: Determine current communication status online information;

[0157] S406: Determine whether the target terminal is back online. If the historical communication status of the target terminal is offline, the target terminal is back online based on the current communication status of the target terminal being online, and execute S407. If the historical communication status of the target terminal is online, the target terminal is determined to be online based on the current communication status of the target terminal being online.

[0158] S407: Confirm the power outage event by reading the power-off record corresponding to the electric energy metering equipment in the target area.

[0159] It can be seen from the technical solutions provided in the embodiments of the present specification that the present specification can monitor the communication status of the target terminal in real time by performing communication task processing on the target terminal according to preset time information to obtain the communication task result; when the communication task result indicates that no response from the target terminal in the communication task processing has been received, the current communication status offline information is determined, and the current first communication failure time, the current second communication failure time and the current number of communication failures can be obtained; then, based on the difference between the current first communication failure time and the current second communication failure time, the offline duration of the target terminal is determined, so that whether the target terminal is offline can be determined based on the offline duration of the target terminal and the current number of communication failures. When the offline duration is greater than or equal to the preset duration and the current number of communication failures is greater than or equal to the preset number, the current communication status of the target terminal is set to the offline state. After the above conditions are met, it is determined that the target terminal is offline; then According to the current communication status of the target terminal being offline, a terminal offline event corresponding to the target terminal and a suspected power outage event of the distribution transformer corresponding to the distribution transformer supplying power to the target terminal are generated. According to the monitoring of the communication status of the terminal, the power outage event of the distribution transformer can be analyzed and judged in real time to avoid the underreporting of the power outage event. When it is determined that the target terminal is restored online, the power-off record corresponding to the electric energy metering equipment in the target area is copied, and then when the power-off record matches the first historical communication failure time, the distribution transformer power outage event corresponding to the distribution transformer is generated based on the suspected power outage time of the distribution transformer. After the terminal is restored online, the power outage event of the distribution transformer can be reviewed and inspected to determine that the suspected power outage event of the distribution transformer is indeed a distribution transformer power outage event, which can effectively improve the accuracy of the power outage monitoring of the distribution transformer, and then improve the timeliness and effectiveness of the determination of the power outage event of the distribution transformer, so as to improve the progress and efficiency of power emergency repair.

[0160] The embodiment of the present invention further provides a device for determining power outage of a distribution transformer. Figure 5 is a schematic diagram of the structure of a device for determining power outage of a distribution transformer provided by an embodiment of the present invention; Figure 5 As shown, the above device comprises:

[0161] The task processing module 510 is used to perform communication task processing on the target terminal according to the preset time information to obtain the communication task result;

[0162] A first information determination module 520 is used to determine the current communication status offline information when the communication task result indicates that the response of the target terminal in the communication task processing has not been received, and the current communication status offline information includes the current first communication failure time, the current second communication failure time and the current number of communication failures; the current first communication failure time is the time corresponding to the first communication failure in the current number of communication failures, and the current second communication failure time is the time corresponding to the last communication failure in the current number of communication failures;

[0163] The state setting module 530 is used to determine the offline duration of the target terminal based on the difference between the current first communication failure time and the current second communication failure time; if the offline duration is greater than or equal to the preset duration and the current number of communication failures is greater than or equal to the preset number, set the current communication state of the target terminal to the offline state;

[0164] A first event generating module 540 is configured to generate a terminal offline event corresponding to the target terminal and a suspected power outage event corresponding to the distribution transformer according to the current communication state of the target terminal being an offline state;

[0165] The record reading module 550 is used to read the power-off record corresponding to the electric energy metering device in the target area when it is determined that the target terminal is back online;

[0166] The second event generating module 560 is configured to generate a distribution transformer power outage event corresponding to the distribution transformer based on the suspected power outage event of the distribution transformer when the power outage record matches the historical first communication failure time.

[0167] In an optional embodiment, the preset time information includes a preset call test cycle; the communication task result includes a call test result; and the task processing module 510 includes:

[0168] The second task processing unit is used to perform a call test process on the target terminal according to a preset call test cycle to obtain a call test result.

[0169] In an optional embodiment, the first information determination module 520 includes:

[0170] A second data updating unit is configured to determine the current communication failure time when the call test result indicates that the call test data has not been received, and determine the current number of communication failures as the number of historical communication failures plus one; and determine the current second communication failure time as the current communication failure time when the current number of communication failures is greater than or equal to a preset number;

[0171] The second information determination unit is used to generate the current communication status offline information according to the current first communication failure time, the current communication failure time and the current number of communication failures when the offline time is greater than or equal to the preset time; the offline time is the difference between the current first communication failure time and the current communication failure time.

[0172] In an optional embodiment, the preset time information includes a preset inspection time; the communication task result includes a test result; and the task processing module 510 includes:

[0173] A data determination unit, configured to inspect the communication status information of the target terminal according to a preset inspection time, obtain the communication status time in the communication status information; and determine a target time difference according to the communication status time and a current inspection time;

[0174] The first task processing unit is used to initiate a communication test task to the target terminal to obtain a test result when the target time difference is greater than or equal to a preset time.

[0175] In an optional embodiment, the current communication status time includes a current first communication failure time and a current second communication failure time, the current first communication failure time is the time corresponding to the first communication failure in the current number of communication failures, and the current second communication failure time is the time corresponding to the last communication failure in the current number of communication failures; the first information determination module 520 includes:

[0176] A first data updating unit is used to determine the current communication failure time when the test result indicates that no response of the target terminal to the communication test task has been received, and determine the current number of communication failures as the number of historical communication failures plus one; when the current number of communication failures is greater than or equal to a preset number, determine the current second communication failure time as the current communication failure time;

[0177] The first information determination unit is used to generate the current communication status offline information according to the current first communication failure time, the current communication failure time and the current number of communication failures when the offline time is greater than or equal to the preset time; the offline time is the difference between the current first communication failure time and the current communication failure time.

[0178] In an optional embodiment, before the recording through-copy module 550, the device includes:

[0179] A second information determination module is used to set the current communication state of the target terminal to an online state and determine the current communication state online information when the communication task result indicates that a response of the target terminal in the communication task processing is received;

[0180] The third event generating module is used to determine that the target terminal is back online and generate a terminal online event corresponding to the target terminal when the historical communication status of the target terminal is offline and the current communication status of the target terminal is online.

[0181] In an optional embodiment, before the recording through-copy module 550, the device further includes:

[0182] The second information determination module is further used to set the current communication state of the target terminal to an online state and determine the online information of the current communication state when receiving the target communication information sent by the target terminal;

[0183] The third event generating module is further used to determine that the target terminal is back online and generate a terminal online event corresponding to the target terminal when the historical communication status of the target terminal is offline and according to the current communication status of the target terminal being online.

[0184] In an optional embodiment, the current communication status online information includes the current communication success time; and the second information determining unit includes:

[0185] A third data updating unit is used to determine the current communication success time; update the historical communication success time to the current communication success time; clear the historical communication failure times to obtain the current communication failure times after clearing; clear the historical first communication failure time and the historical second communication failure time to obtain the cleared current first communication failure time and the cleared current second communication failure time;

[0186] The third information determination unit is used to generate the current communication status online information according to the current communication success time, the current first communication failure time after being cleared, the current second communication failure time after being cleared, and the current number of communication failures after being cleared.

[0187] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0188] An embodiment of the present invention also provides an electronic device, comprising: a processor and a memory, wherein the memory stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set is loaded and executed by the processor to implement a method for determining a power outage of a distribution transformer as described in any one of the method embodiments.

[0189] The embodiment of the present invention also provides a storage medium, and the computer-readable storage medium can be a tangible device that holds and stores instructions used by an instruction execution device. The computer-readable storage medium can be an electrical storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), static random access memories (SRAM), portable compact disk read-only memories (CD-ROM), digital versatile disks (DVD), memory sticks, floppy disks, mechanical encoding devices, such as punch cards or protruding structures in grooves on which instructions are stored, and any suitable combination of the above. The computer-readable storage medium used here is not interpreted as a transient signal itself, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated by a waveguide or other transmission medium (e.g., a light pulse by an optical fiber cable), or an electrical signal transmitted by a wire.

[0190] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to each computing / processing device, or downloaded to an external computer or external storage device via a network, such as the Internet, a local area network, a wide area network, and / or a wireless network. The network can include copper transmission cables, optical fiber transmission, wireless transmission, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in the computer-readable storage medium in each computing / processing device.

[0191] The computer program instructions for performing the operations of the present disclosure may be assembly instructions, instruction set architecture (ISA) instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Smalltalk, C++, etc., and conventional procedural programming languages ​​such as "C" language or similar programming languages. The computer-readable program instructions may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., using an Internet service provider to connect through the Internet). In some embodiments, by using the state information of the computer-readable program instructions to personalize an electronic circuit, such as a programmable logic circuit, a field programmable gate array (FPGA), or a programmable logic array (PLA), the electronic circuit may execute the computer-readable program instructions, thereby implementing various aspects of the present disclosure.

[0192] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0193] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 Process or multiple flow charts and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0194] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 Process or multiple flow charts and / or boxes Figure 1 A function specified in one or more boxes.

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

[0196] The flow chart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to multiple embodiments of the present invention. In this regard, each square frame in the flow chart or block diagram can represent a part of a module, program segment or instruction, and a part of the module, program segment or instruction includes one or more executable instructions for realizing the specified logical function. In some alternative implementations, the function marked in the square frame can also occur in a sequence different from that marked in the accompanying drawings. For example, two continuous square frames can actually be executed substantially in parallel, and they can sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each square frame in the block diagram and / or flow chart, and the combination of the square frames in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs the specified function or action, or can be implemented with a combination of special hardware and computer instructions.

[0197] Finally, it should be noted that the embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which are all within the protection of the present invention.

Claims

1. A method for determining a power outage of a distribution transformer, characterized in that: The method comprises: Process the communication task on the target terminal according to the preset time information to obtain the communication task result; In the case where the communication task result indicates that no response from the target terminal in the communication task processing has been received, determining the current communication status offline information, wherein the current communication status offline information includes the current first communication failure time, the current second communication failure time and the current number of communication failures; the current first communication failure time is the time corresponding to the first communication failure in the current number of communication failures, and the current second communication failure time is the time corresponding to the last communication failure in the current number of communication failures; Determining an offline duration of the target terminal based on a difference between the current first communication failure time and the current second communication failure time; When the offline time is greater than or equal to the preset time, and the current number of communication failures is greater than or equal to the preset number, setting the current communication state of the target terminal to an offline state; According to the current communication state of the target terminal being an offline state, generating a terminal offline event corresponding to the target terminal and a distribution transformer suspected power outage event corresponding to the distribution transformer; When it is determined that the target terminal is back online, the power-off record corresponding to the electric energy metering equipment in the target area is copied; When the power failure record matches the first historical communication failure time, a distribution transformer power failure event corresponding to the distribution transformer is generated based on the suspected power failure event of the distribution transformer.

2. The method for determining power outage of a distribution transformer according to claim 1, characterized in that: The preset time information includes a preset call test cycle; the communication task result includes a call test result; The performing communication task processing on the target terminal according to the preset time information to obtain the communication task result includes: According to the preset call test cycle, the target terminal is subjected to a call test process to obtain a call test result.

3. The method for determining power outage of a distribution transformer according to claim 2, characterized in that: The determining of the current communication status offline information when the communication task result indicates that no response of the target terminal in the communication task processing is received includes: If the call test result indicates that the call test data has not been received, determine the current communication failure time, and determine the current communication failure number as the historical communication failure number plus one; When the current number of communication failures is greater than or equal to a preset number, determining the current second communication failure time as the current communication failure time; And when the offline duration is greater than or equal to the preset duration, the current communication status offline information is generated according to the current first communication failure time, the current communication failure time and the current number of communication failures; the offline duration is the difference between the current first communication failure time and the current communication failure time.

4. The method for determining power outage of a distribution transformer according to claim 1, characterized in that: The preset time information includes a preset inspection time; The communication task results include test results; The performing communication task processing on the target terminal according to the preset time information to obtain the communication task result includes: Patrol the communication status information of the target terminal according to the preset patrol time, and obtain the communication status time in the communication status information; Determining a target time difference based on the communication status time and the current inspection time; When the target time difference is greater than or equal to the preset time, a communication test task is initiated for the target terminal to obtain a test result.

5. The method for determining power outage of a distribution transformer according to claim 4, characterized in that: The determining of the current communication status offline information when the communication task result indicates that no response of the target terminal in the communication task processing is received includes: In the case where the test result indicates that no response to the communication test task from the target terminal has been received, determining a current communication failure time, and determining the current number of communication failures as the number of historical communication failures plus one; When the current number of communication failures is greater than or equal to a preset number, determining the current second communication failure time as the current communication failure time; And when the offline duration is greater than or equal to the preset duration, the current communication status offline information is generated according to the current first communication failure time, the current communication failure time and the current number of communication failures; the offline duration is the difference between the current first communication failure time and the current communication failure time.

6. The method for determining power outage of a distribution transformer according to claim 1, characterized in that: When it is determined that the target terminal is back online, before copying the power-off record corresponding to the electric energy metering device in the target area, the method includes: In the case where the communication task result indicates that a response of the target terminal in the communication task processing is received, setting the current communication state of the target terminal to an online state, and determining the current communication state online information; In the case that the historical communication state of the target terminal is an offline state, according to the current communication state of the target terminal being an online state, it is determined that the target terminal is restored online, and a terminal online event corresponding to the target terminal is generated.

7. The method for determining power outage of a distribution transformer according to claim 1, characterized in that: When it is determined that the target terminal is back online, before copying the power-off record corresponding to the electric energy metering device in the target area, the method further includes: When receiving the target communication information sent by the target terminal, setting the current communication state of the target terminal to an online state, and determining the online information of the current communication state; In the case that the historical communication state of the target terminal is an offline state, according to the current communication state of the target terminal being an online state, it is determined that the target terminal is restored online, and a terminal online event corresponding to the target terminal is generated.

8. The method for determining power outage of a distribution transformer according to any one of claims 6 to 7, characterized in that: The current communication status online information includes the current communication success time; The step of setting the current communication state of the target terminal to an online state and determining the current communication state online information includes: Determine the current communication success time; Updating the historical communication success time to the current communication success time; Clear the historical communication failure times to get the current communication failure times after clearing; Clearing the historical first communication failure time and the historical second communication failure time to obtain the cleared current first communication failure time and the cleared current second communication failure time; The current communication status online information is generated according to the current communication success time, the current first communication failure time after being cleared, the current second communication failure time after being cleared, and the current communication failure times after being cleared.

9. An electronic device, comprising a processor and a memory, wherein the memory stores at least one instruction and at least one program, and the at least one instruction and the at least one program are loaded and executed by the processor to implement the method for determining power outage of a distribution transformer as described in any one of claims 1 to 8.

10. A computer storage medium, wherein at least one instruction and at least one program are stored in the computer storage medium, wherein the at least one instruction and the at least one program are loaded and executed by a processor to implement the method for determining power outage of a distribution transformer as described in any one of claims 1 to 8.