CN114422408B - Substation monitoring method, device, computer equipment and storage medium - Google Patents

Substation monitoring method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN114422408B
CN114422408B CN202111540639.5A CN202111540639A CN114422408B CN 114422408 B CN114422408 B CN 114422408B CN 202111540639 A CN202111540639 A CN 202111540639A CN 114422408 B CN114422408 B CN 114422408B
Authority
CN
China
Prior art keywords
substation
sub
station
time
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111540639.5A
Other languages
Chinese (zh)
Other versions
CN114422408A (en
Inventor
佘楚云
郑润蓝
张瑞
高德民
杨乔尹
张晶焯
姚晓哲
杨丰阁
崔宇中
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Power Supply Bureau Co Ltd
Original Assignee
Shenzhen Power Supply Bureau Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Power Supply Bureau Co Ltd filed Critical Shenzhen Power Supply Bureau Co Ltd
Priority to CN202111540639.5A priority Critical patent/CN114422408B/en
Publication of CN114422408A publication Critical patent/CN114422408A/en
Application granted granted Critical
Publication of CN114422408B publication Critical patent/CN114422408B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation

Abstract

The application relates to a substation monitoring method, a substation monitoring device, a substation monitoring computer device, a substation monitoring storage medium and a substation monitoring computer program product. The method comprises the following steps: monitoring the communication connection condition between each substation and the monitoring master station; if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation; updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation; and recording event information generated in the first substation according to the target time stamp. According to the method and the device, after the substation is disconnected with the monitoring master station in communication, the situation that data is not timely uploaded to the monitoring master station is caused to be lost, and the monitoring efficiency of a transformer substation can be improved.

Description

Substation monitoring method, device, computer equipment and storage medium
Technical Field
The present application relates to the field of transformer substation technologies, and in particular, to a transformer substation monitoring method, a device, a computer device, and a storage medium.
Background
With the rapid development of computer technology and network communication technology, the automatic construction of power systems is more and more improved, and more power systems also adopt networks for communication. Currently, in a power system, a dispatching master station is connected with a plurality of sub-substations through Ethernet, and network access of the sub-substations is completed by locally establishing database variables and system graphics which are the same as those of the sub-substations, so that monitoring of the whole power system is realized.
The transformer substation auxiliary monitoring system is used as one of important technical means necessary for intelligent and safe production of the power grid, and provides important guarantee for safe and stable operation of the power grid. With popularization of power grid operation modes such as intelligent transformer substation, unattended transformer substation operation, centralized transformer substation operation monitoring and the like, the importance of the transformer substation auxiliary monitoring system is more prominent. At present, an auxiliary monitoring system in a single transformer substation exchanges information in a master-slave mode, when a certain sub transformer substation in the transformer substation breaks down, the stored data is not timely sent to a main transformer substation, and the main transformer substation can only acquire relevant information of the transformer substation through manual analysis or correlation of monitoring information among other sub transformer substations, so that the monitoring efficiency of the main transformer substation is seriously affected.
Disclosure of Invention
In view of the foregoing, it is desirable to provide a substation monitoring method, apparatus, computer device, computer readable storage medium, and computer program product that can improve the monitoring efficiency of a primary substation.
In a first aspect, the present application provides a substation monitoring method. The method comprises the following steps:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and recording event information generated in the first substation according to the target time stamp.
In one embodiment, the updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information, to obtain the target time stamp of the first substation, includes:
acquiring a first moment when the second sub-station transmits time synchronization information to the first sub-station and a second moment when the first sub-station receives the time synchronization information;
determining a clock offset of the first substation according to the second time and the first time;
and adjusting the current time of the first substation according to the clock offset to obtain the target time stamp of the first substation.
In one embodiment, the adjusting the current time of the first substation according to the clock offset to obtain the target timestamp of the first substation includes:
and taking the difference between the current time of the first substation and the clock offset as a target timestamp of the first substation.
In one embodiment, the method further comprises:
acquiring a third moment when the first sub-station receives the tracking information sent by the second sub-station; the time of the second substation sending the tracking information is later than the first time by a preset duration;
and acquiring the current time of the first substation according to the third time, wherein the current time of the first substation is later than the third time.
In one embodiment, the method further comprises:
when the second sub-stations are multiple, respectively transmitting time synchronization information to the first sub-station by the multiple second sub-stations;
taking a second sub-station corresponding to the time synchronization information received by the first sub-station earliest as a target second sub-station;
the updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation comprises the following steps:
and updating the time stamp of the first substation based on the time stamp of the target second substation to obtain the target time stamp of the first substation.
In one embodiment, after the time stamp of the first substation is updated based on the time stamp of the second substation according to the time synchronization information, the method further includes:
changing the state of the first substation to a compliant state;
and under the condition that the first sub-station continuously preset times of non-receiving the time synchronization information sent by the second sub-station is detected, changing the state of the first sub-station into a listening state, and returning to the step of sending the time synchronization information to the first sub-station by the second sub-station.
In a second aspect, the present application further provides a substation monitoring device. The device comprises:
the communication monitoring module is used for monitoring the communication connection condition between each substation and the monitoring master station;
the time synchronization module is used for transmitting time synchronization information to the first substation by the second substation if the first substation is disconnected from the monitoring master station; wherein the second substation is communicatively connected with the first substation;
the time updating module is used for updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and the event recording module is used for recording the event information generated in the first substation according to the target time stamp.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor which when executing the computer program performs the steps of:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and recording event information generated in the first substation according to the target time stamp.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and recording event information generated in the first substation according to the target time stamp.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and recording event information generated in the first substation according to the target time stamp.
The substation monitoring method, the substation monitoring device, the computer equipment, the storage medium and the computer program product are used for monitoring the communication connection condition between each substation and the monitoring master station; if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation; updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation; and recording event information generated in the first substation according to the target time stamp. According to the method and the device, the communication connection condition of the monitoring substation and the monitoring master station is achieved, when the substation is disconnected from the master station, other substations send time synchronization information to the substation, the time stamp of the substation is updated through the time stamp of the second substation corresponding to the time synchronization information received by the substation, the substation uses the time stamp consistent with the second substation to conduct event recording, after the substation is disconnected from the monitoring master station, the situation that data is not timely uploaded to the monitoring master station is prevented, and the monitoring efficiency of a transformer substation is improved.
Drawings
FIG. 1 is an application environment diagram of a substation monitoring method in one embodiment;
FIG. 2 is a flow diagram of a substation monitoring method in one embodiment;
FIG. 3 is a flow chart of step 206 in one embodiment;
FIG. 4 is a diagram of target timestamp determination for a first substation in one embodiment;
FIG. 5 is a schematic diagram illustrating a determination of a current time of a first substation in one embodiment;
FIG. 6 is a flow chart of a method of monitoring a substation in another embodiment;
FIG. 7 is a block diagram of a substation monitoring device in one embodiment;
fig. 8 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
The substation monitoring method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. The monitoring master station 104 is in communication connection with the plurality of sub-stations 106, the sub-stations 106 and the sub-stations 106 communicate with each other through the edge computing gateway 108, the monitoring master station 104 can be in communication connection with the monitoring terminal 102, the monitoring terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices can be smart speakers, smart televisions, smart air conditioners, smart vehicle devices and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. The edge computing gateway 108 may be one or a plurality of edge computing gateways 108, and if a first substation is disconnected from the monitoring master station 104, a second substation sends time synchronization information to the first substation, wherein the second substation is in communication connection with the first substation; updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain a target time stamp of the first substation; event information generated in the first substation is recorded according to the target time stamp. Edge-Gateway (Edge-Gateway) 108, also known as an internet of things Edge-computing Gateway, is an industrial intelligent Gateway capable of running functions of local computing, message communication, data caching and the like on equipment, and can realize local linkage and data processing analysis of the equipment without networking.
In one embodiment, as shown in fig. 2, a substation monitoring method is provided, and an edge computing gateway in fig. 1 is taken as an example to illustrate the method, which includes the following steps:
and 202, monitoring the communication connection condition between each substation and the monitoring master station.
The substation, i.e. the sub-substation. In the substation monitoring system, a monitoring master station is in communication connection with a plurality of sub-substations, the plurality of sub-stations send various substation data generated in a corresponding substation to the monitoring master station, the monitoring master station uniformly analyzes and calculates corresponding substation data, the monitoring master station uniformly time each sub-station, and each sub-station sends corresponding data by using the same time mechanism. Therefore, when a certain substation and the power transformation master station are disconnected from each other, the time of the substation may be inaccurate, that is, the time delay or the time stop and other problems may exist, which causes great trouble to the monitoring master station in data analysis.
In this embodiment, the edge computing gateway monitors the communication connection condition between each substation and the monitoring master station, and if it is monitored that a certain substation is disconnected from the power transformation master station, the time synchronization mechanism is started immediately. Time synchronization is a process of providing a unified time scale for a substation system through certain operations on a local clock.
In an alternative embodiment, the substations are communicatively coupled to a monitoring master station, the substations being coupled to each other via an edge computing gateway. One of the sub-stations may be correspondingly connected to one of the edge computing gateways, or one of the edge computing gateways may be simultaneously connected to a plurality of the sub-stations.
Step 204, if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively coupled to the first substation.
In the substation monitoring system in this embodiment, there is at least one first substation and one second substation, if the first substation and the monitoring master station are disconnected from each other, that is, the time of the first substation may not be synchronous with the monitoring master station, the second substation sends time synchronization information to the first substation, where the time synchronization information includes information about the second substation, such as a name or a number of the second substation. Wherein the first substation and the second substation are communicatively connected, and the first substation and the second substation can be one or more. For example, the monitoring master station is annularly connected with a plurality of substations, and then all substations adjacent to and connected with the first substation are second substations.
In an alternative embodiment, the first substation and the second substation may be called peer-to-peer substations, i.e. substations at the same level, implementing similar functions, referred to as peer-to-peer substations. In a substation monitoring system, at least one substation and a peer-to-peer substation corresponding to the substation exist. Alternatively, the selection of the peer substation may be determined according to a region or a distance, where the region may be a physical region or a network region, the physical region may be a geographic location, and the network region may be a divided grid region or a region of the same network configuration. For example, substations within a preset distance may be selected as peer substations; the transformer substations belonging to a certain physical area can be selected as peer-to-peer transformer substations; substations belonging to the same network segment or within the same subnetwork may also be selected as peer-to-peer substations.
In an alternative embodiment, when one edge computing gateway connects multiple sub-stations simultaneously, the second sub-station sends the synchronization information to the second edge computing gateway connected to the second sub-station, then the second edge computing gateway sends the synchronization information to the first edge computing gateway connected to the first sub-station, and the first edge computing gateway sends the synchronization information to the corresponding processing module in the first sub-station. The first substation and the second substation in this embodiment are respectively connected to different edge computing gateways, but still belong to a peer-to-peer substation, that is, the peer-to-peer substation is selected without being affected by the number of edge computing gateways and the connection setting.
Step 206, updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information, to obtain the target time stamp of the first substation.
And updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information sent by the second substation to the first substation, and obtaining the target time stamp of the first substation. That is, the time stamp of the first substation is synchronized to the time stamp of the second substation, so that the time stamp related to the operation of the first substation is identical to the time stamp of the second substation, that is, is consistent with the time stamp uniformly set in the monitoring system.
Step 208, recording the event information generated in the first substation according to the target timestamp.
The first substation records time information generated in the first substation according to the updated target time stamp, wherein the event information comprises sensor data, abnormal electric signals, video monitoring data and the like generated in the transformer substation. The first substation records the generated event information according to the target timestamp, and after the first substation resumes communication with the monitoring master station, the first substation can upload the event information to the monitoring master station for processing, or can transmit data corresponding to the event information to the second substation in real time, and the second substation uploads the data to the monitoring master station for processing.
In the substation monitoring method, the communication connection condition between each substation and the monitoring master station is monitored; if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation; updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain a target time stamp of the first substation; event information generated in the first substation is recorded according to the target time stamp. According to the method and the device, the communication connection condition of the monitoring substation and the monitoring master station is achieved, when the substation is disconnected from the master station, other substations send time synchronization information to the substation, the time stamp of the substation is updated through the time stamp of the second substation corresponding to the time synchronization information received by the substation, the substation uses the time stamp consistent with the second substation to conduct event recording, after the substation is disconnected from the monitoring master station, the situation that data is not timely uploaded to the monitoring master station is prevented, and the monitoring efficiency of a transformer substation is improved.
In one embodiment, as shown in fig. 3, according to the time synchronization information, updating the time stamp of the first substation based on the time stamp of the second substation, to obtain the target time stamp of the first substation, includes:
step 302, a first time when a second substation sends time synchronization information to a first substation and a second time when the first substation receives the time synchronization information are obtained.
Step 304, determining the clock offset of the first substation according to the second time and the first time.
Step 306, adjusting the current time of the first substation according to the clock offset to obtain the target timestamp of the first substation.
In this embodiment, the edge computing gateway obtains a first time when the second substation sends time synchronization information to the first substation and a second time when the first substation receives the time synchronization information, determines a clock offset of the first substation according to the first time and the second time, where the clock offset refers to an offset between a current time and a target time, and adjusts the current time of the first substation according to the clock offset to obtain a target timestamp of the first substation. The time synchronization information sent by the second sub-station to the first sub-station comprises a first moment when the second sub-station sends the time synchronization information to the first sub-station. At this time, the current time of the first substation is later than the second time.
In one possible implementation, as shown in fig. 4, according to the time synchronization information, updating the time stamp of the first substation based on the time stamp of the second substation, to obtain the target time stamp of the first substation, step 206 includes:
assuming that the first substation is a substation B, the second substation is a substation A, the first moment when the substation A sends time synchronization information to the substation B is t1, the time synchronization information comprises information of the first moment t1, the second moment when the substation B receives the time synchronization information is t2, the clock offset of the substation B can be determined according to the difference between t1 and t2, and the current moment of the substation B can be adjusted according to the clock offset to obtain a target timestamp of the substation B.
In one embodiment, the step 306 of adjusting the current time of the first substation according to the clock offset to obtain the target timestamp of the first substation includes:
and taking the difference between the current time of the first substation and the clock offset as a target timestamp of the first substation.
Based on the further explanation in the above embodiment, if the clock offset is Δt=t2-t 1, the difference between the current time of the first substation and Δt is the target timestamp of the first substation.
In one embodiment, the substation monitoring method further includes:
acquiring a third moment when the first sub-station receives the tracking information sent by the second sub-station; wherein, the time of the second substation sending the tracking information is later than the first time by a preset time length;
and acquiring the current time of the first sub-station according to the third time, wherein the current time of the first sub-station is later than the third time.
In this embodiment, when the second substation sends the time synchronization information to the first substation for a preset period of time, the tracking information is sent to the first substation again, the time when the first substation receives the tracking information sent by the second substation is a third time, and the current time of the first substation is acquired according to the third time, where the current time of the first substation is later than the third time. As shown in fig. 5, this embodiment will be further described with reference to fig. 5. After the time synchronization information is sent by the transformer substation A at the time t1, the tracking information is sent to the transformer substation B after the preset time length, namely, the time t1 < + > preset time length, and the current time of the transformer substation B is later than t3 when the transformer substation B receives the tracking information at the time t3.
In one embodiment, as shown in fig. 6, the substation monitoring method further includes:
in step 602, when the number of the second sub-stations is plural, the plural second sub-stations respectively transmit time synchronization information to the first sub-station.
When each substation corresponds to one edge computing gateway for communication, the edge gateway corresponding to each substation monitors the communication connection condition between each substation and the monitoring master station, and when the fact that the first substation is disconnected from the monitoring master station is monitored, each second substation connected with the first substation sends time synchronization information to the first substation.
In step 604, the second sub-station corresponding to the time synchronization information received by the first sub-station earliest is taken as the target second sub-station.
Because the distance and the communication condition between each second sub-station and the first sub-station are different, the time for each second sub-station to reach the first sub-station is also different, the second sub-station corresponding to the time synchronization information received by the first sub-station at the earliest time is used as the target second sub-station, after the first sub-station receives the time synchronization information sent by the target second sub-station, the time synchronization information sent by other second sub-stations is not received, and when the other second sub-stations detect that the sent time synchronization information is not successfully sent to the first sub-station, the time synchronization information is not sent to the first sub-station again.
Step 606, updating the timestamp of the first substation based on the timestamp of the target second substation, to obtain the target timestamp of the first substation.
After the first sub-station receives the time synchronization information sent by the target second sub-station, the time stamp of the first sub-station is updated based on the time stamp of the target second sub-station, so that the target time stamp of the first sub-station can be obtained, and the event information generated in the first sub-station is recorded by the target time stamp.
In one embodiment, according to the time synchronization information, the method further includes, after updating the time stamp of the first substation based on the time stamp of the second substation to obtain the target time stamp of the first substation:
changing the state of the first substation to a obeying state;
and in the case that the first sub-station continuously preset times are detected to not receive the time synchronization information sent by the second sub-station, changing the state of the first sub-station into a listening state, and returning to the step of sending the time synchronization information to the first sub-station by the second sub-station.
In this embodiment, the edge computing gateway refers to a second sub-station sending time synchronization information as a candidate second sub-station according to the time synchronization information, updates a time stamp of a first sub-station based on the time stamp of the candidate second sub-station, and changes a state of the first sub-station into a obeying state after obtaining a target time stamp of the first sub-station, wherein the obeying state refers to that the first sub-station has already been synchronized with the time of the candidate second sub-station at present, the candidate second sub-station sends corresponding time synchronization information to the first sub-station according to a preset frequency, and the first sub-station does not receive the time synchronization information of other second sub-stations except the candidate second sub-station; if the first sub-station is detected to continuously receive the time synchronization information sent by the candidate second sub-station for a preset number of times, changing the state of the first sub-station into a listening state, wherein the listening state refers to a state in which the time synchronization information sent by the second sub-station is received, namely, the first sub-station can receive the time synchronization information sent by other second sub-stations besides the candidate second sub-station. For example, the candidate second sub-station transmits time synchronization information to the first sub-station at a preset frequency of 10 seconds/time, and if 30 seconds, that is, 3 times, have elapsed continuously, the first sub-station changes the state of the first sub-station to the listening state when the first sub-station does not receive the time synchronization information transmitted by the candidate second sub-station, and returns to the step of transmitting the time synchronization information to the first sub-station by the second sub-station.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides a substation monitoring device for realizing the above-mentioned substation monitoring method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation in the embodiments of the substation monitoring device or devices provided below may be referred to the limitation of the substation monitoring method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 7, there is provided a substation monitoring device, including: a communication monitoring module 702, a time synchronization module 704, a time update module 706, and an event logging module 708, wherein:
the communication monitoring module 702 is configured to monitor a communication connection condition between each substation and the monitoring master station;
a time synchronization module 704, configured to send time synchronization information to a first substation by a second substation if there is a disconnection between the first substation and the monitoring master station; wherein the second substation is communicatively connected with the first substation;
a time updating module 706, configured to update, according to the time synchronization information, a time stamp of the first substation based on a time stamp of the second substation, and obtain a target time stamp of the first substation;
an event recording module 708, configured to record event information generated in the first substation according to the target timestamp.
In one embodiment, the time update module 706 is further configured to:
acquiring a first moment when the second sub-station transmits time synchronization information to the first sub-station and a second moment when the first sub-station receives the time synchronization information;
determining a clock offset of the first substation according to the second time and the first time;
and adjusting the current time of the first substation according to the clock offset to obtain the target time stamp of the first substation.
In one embodiment, the time update module 706 is further configured to:
and taking the difference between the current time of the first substation and the clock offset as a target timestamp of the first substation.
In one embodiment, the substation monitoring device further comprises a time determining module for:
acquiring a third moment when the first sub-station receives the tracking information sent by the second sub-station; the time of the second substation sending the tracking information is later than the first time by a preset duration;
and acquiring the current time of the first substation according to the third time, wherein the current time of the first substation is later than the third time.
In one embodiment, the substation monitoring device further comprises a target substation determination module for:
when the second sub-stations are multiple, respectively transmitting time synchronization information to the first sub-station by the multiple second sub-stations;
taking a second sub-station corresponding to the time synchronization information received by the first sub-station earliest as a target second sub-station;
the time update module 706 is further configured to:
and updating the time stamp of the first substation based on the time stamp of the target second substation to obtain the target time stamp of the first substation.
In one embodiment, the substation monitoring device further comprises a status management module for updating the timestamp of the first substation based on the timestamp of the second substation according to the time synchronization information, and after obtaining the target timestamp of the first substation,
changing the state of the first substation to a obeying state;
and in the case that the first sub-station continuously preset times are detected to not receive the time synchronization information sent by the second sub-station, changing the state of the first sub-station into a listening state, and returning to the step of sending the time synchronization information to the first sub-station by the second sub-station.
The modules in the substation monitoring device may be implemented in whole or in part by software, hardware, and combinations thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a server, and the internal structure of which may be as shown in fig. 8. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database of the computer device is used for storing substation event data. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a substation monitoring method.
It will be appreciated by those skilled in the art that the structure shown in fig. 8 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and recording event information generated in the first substation according to the target time stamp.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
and recording event information generated in the first substation according to the target time stamp.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The nonvolatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. Volatile memory can include random access memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of a variety of forms, such as static random access memory (Static Random Access Memory, SRAM) or dynamic random access memory (Dynamic Random Access Memory, DRAM), and the like. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (9)

1. A method of substation monitoring, the method comprising:
monitoring the communication connection condition between each substation and the monitoring master station;
if the first substation is disconnected from the monitoring master station, the second substation sends time synchronization information to the first substation; wherein the second substation is communicatively connected with the first substation;
updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
recording event information generated in the first substation according to the target timestamp;
the method further comprises the steps of:
when the second sub-stations are multiple, respectively transmitting time synchronization information to the first sub-station by the multiple second sub-stations;
taking a second sub-station corresponding to the time synchronization information received by the first sub-station earliest as a target second sub-station;
the updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation comprises the following steps:
updating the time stamp of the first substation based on the time stamp of the target second substation to obtain the target time stamp of the first substation;
the method further comprises the steps of:
changing the state of the first sub-station into a compliance state, wherein the compliance state is used for representing time synchronization of the first sub-station and the target second sub-station, the target second sub-station can send corresponding time synchronization information to the first sub-station according to a preset frequency, and the first sub-station does not receive the time synchronization information of other second sub-stations except the target second sub-station;
and under the condition that the first sub-station continuously and preset times of non-receiving the time synchronization information sent by the target second sub-station is detected, changing the state of the first sub-station into a listening state, and returning to the step of sending the time synchronization information to the first sub-station by a plurality of second sub-stations, wherein the listening state is used for indicating that the first sub-station can receive the time synchronization information sent by other second sub-stations except the target second sub-station.
2. The method of claim 1, wherein the updating the timestamp of the first substation based on the timestamp of the second substation based on the time synchronization information, to obtain the target timestamp of the first substation, comprises:
acquiring a first moment when the second sub-station transmits time synchronization information to the first sub-station and a second moment when the first sub-station receives the time synchronization information;
determining a clock offset of the first substation according to the second time and the first time;
and adjusting the current time of the first substation according to the clock offset to obtain the target time stamp of the first substation.
3. The method of claim 2, wherein adjusting the current time of the first substation according to the clock offset to obtain the target timestamp of the first substation comprises:
and taking the difference between the current time of the first substation and the clock offset as a target timestamp of the first substation.
4. The method according to claim 2, wherein the method further comprises:
acquiring a third moment when the first sub-station receives the tracking information sent by the second sub-station; the time of the second substation sending the tracking information is later than the first time by a preset duration;
and acquiring the current time of the first substation according to the third time, wherein the current time of the first substation is later than the third time.
5. A substation monitoring device, the device comprising:
the communication monitoring module is used for monitoring the communication connection condition between each substation and the monitoring master station;
the time synchronization module is used for transmitting time synchronization information to the first substation by the second substation if the first substation is disconnected from the monitoring master station; wherein the second substation is communicatively connected with the first substation;
the time updating module is used for updating the time stamp of the first substation based on the time stamp of the second substation according to the time synchronization information to obtain the target time stamp of the first substation;
the event recording module is used for recording event information generated in the first substation according to the target time stamp;
the apparatus further comprises a target substation determination module for:
when the second sub-stations are multiple, respectively transmitting time synchronization information to the first sub-station by the multiple second sub-stations;
taking a second sub-station corresponding to the time synchronization information received by the first sub-station earliest as a target second sub-station;
the time update module is further configured to:
updating the time stamp of the first substation based on the time stamp of the target second substation to obtain the target time stamp of the first substation;
the apparatus further comprises a status management module for:
changing the state of the first sub-station into a compliance state, wherein the compliance state is used for representing time synchronization of the first sub-station and the target second sub-station, the target second sub-station can send corresponding time synchronization information to the first sub-station according to a preset frequency, and the first sub-station does not receive the time synchronization information of other second sub-stations except the target second sub-station;
and under the condition that the first sub-station continuously and preset times of non-receiving the time synchronization information sent by the target second sub-station is detected, changing the state of the first sub-station into a listening state, and returning to the step of sending the time synchronization information to the first sub-station by a plurality of second sub-stations, wherein the listening state is used for indicating that the first sub-station can receive the time synchronization information sent by other second sub-stations except the target second sub-station.
6. The apparatus of claim 5, wherein the time update module is further configured to:
acquiring a first moment when the second sub-station transmits time synchronization information to the first sub-station and a second moment when the first sub-station receives the time synchronization information;
determining a clock offset of the first substation according to the second time and the first time;
and adjusting the current time of the first substation according to the clock offset to obtain the target time stamp of the first substation.
7. The apparatus of claim 6, wherein the time update module is further configured to:
and taking the difference between the current time of the first substation and the clock offset as a target timestamp of the first substation.
8. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 4 when the computer program is executed.
9. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 4.
CN202111540639.5A 2021-12-16 2021-12-16 Substation monitoring method, device, computer equipment and storage medium Active CN114422408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111540639.5A CN114422408B (en) 2021-12-16 2021-12-16 Substation monitoring method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111540639.5A CN114422408B (en) 2021-12-16 2021-12-16 Substation monitoring method, device, computer equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114422408A CN114422408A (en) 2022-04-29
CN114422408B true CN114422408B (en) 2023-12-22

Family

ID=81267135

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111540639.5A Active CN114422408B (en) 2021-12-16 2021-12-16 Substation monitoring method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114422408B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008020969A (en) * 2006-07-11 2008-01-31 Meidensha Corp Process and method for abnormality/trouble report for monitoring control system
CN201726119U (en) * 2010-05-18 2011-01-26 武汉大学 Intelligent fault locating and protection system for distribution grid
CN102546147A (en) * 2012-02-17 2012-07-04 黑龙江省电力有限公司 Method for realizing accurate network timing of wide-area protection system on basis of SDH (Synchronous Digital Hierarchy) network
CN105592488A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Establishment method and apparatus of clock network, and communication node
CN105634128A (en) * 2016-01-27 2016-06-01 国网山东无棣县供电公司 Maintenance and control system between master substation and slave stations
CN207283568U (en) * 2017-10-17 2018-04-27 云南电网有限责任公司电力科学研究院 A kind of data storage and Transmission system for PMU
CN110300021A (en) * 2019-06-20 2019-10-01 广西电网有限责任公司 A kind of method and computing device calculating substation recording bulletin data processing time
CN110518699A (en) * 2019-08-23 2019-11-29 中国能源建设集团广东省电力设计研究院有限公司 Out-of-Step Splitting Systems control system based on Wide-area Measurement Information
CN113013992A (en) * 2021-04-16 2021-06-22 广东电网有限责任公司 Method and device for monitoring functions of information-protecting master station

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008020969A (en) * 2006-07-11 2008-01-31 Meidensha Corp Process and method for abnormality/trouble report for monitoring control system
CN201726119U (en) * 2010-05-18 2011-01-26 武汉大学 Intelligent fault locating and protection system for distribution grid
CN102546147A (en) * 2012-02-17 2012-07-04 黑龙江省电力有限公司 Method for realizing accurate network timing of wide-area protection system on basis of SDH (Synchronous Digital Hierarchy) network
CN105592488A (en) * 2014-10-24 2016-05-18 中兴通讯股份有限公司 Establishment method and apparatus of clock network, and communication node
CN105634128A (en) * 2016-01-27 2016-06-01 国网山东无棣县供电公司 Maintenance and control system between master substation and slave stations
CN207283568U (en) * 2017-10-17 2018-04-27 云南电网有限责任公司电力科学研究院 A kind of data storage and Transmission system for PMU
CN110300021A (en) * 2019-06-20 2019-10-01 广西电网有限责任公司 A kind of method and computing device calculating substation recording bulletin data processing time
CN110518699A (en) * 2019-08-23 2019-11-29 中国能源建设集团广东省电力设计研究院有限公司 Out-of-Step Splitting Systems control system based on Wide-area Measurement Information
CN113013992A (en) * 2021-04-16 2021-06-22 广东电网有限责任公司 Method and device for monitoring functions of information-protecting master station

Also Published As

Publication number Publication date
CN114422408A (en) 2022-04-29

Similar Documents

Publication Publication Date Title
US10764369B2 (en) Data storage method and server applicable to distributed server cluster
US20120310599A1 (en) Sensor data collection system
CN111740860A (en) Log data transmission link monitoring method and device
CN113923397B (en) Conference room equipment state detection method and device, electronic equipment and storage medium
CN100515123C (en) System and method for updating location information for distributed communication devices
CN108900608A (en) Robot real-time feedback system based on cloud platform
Ok et al. A survey of industrial internet of things platforms for establishing centralized data-acquisition middleware: categorization, experiment, and challenges
CN114422408B (en) Substation monitoring method, device, computer equipment and storage medium
CN112333758B (en) Stability monitoring management method, system and application of television gateway system
CN111538772B (en) Data exchange processing method and device, electronic equipment and storage medium
CN103414252B (en) A kind of transformer substation communication service configuration information real-time synchronization system and method thereof
CN113114480B (en) Data reporting method and related equipment
CN111679050A (en) Water quality monitoring and early warning system based on Internet of things
US10334539B2 (en) Metered interface
CN114745616A (en) Underground heat information remote monitoring and early warning system and method
CN114374705A (en) Service cluster and message pushing method
CN102368715B (en) IEC-61850 protocol gateway-based realization equipment for centralized network management of exchangers
CN103414595A (en) Power scheduling data network link monitoring system topological graph generation method
CN113918436A (en) Log processing method and device
CN113504755A (en) SCADA monitoring system and method based on hybrid cloud framework
CN113472566A (en) Status monitoring method of union block chain and master node status monitoring system
CN113157472A (en) Service information processing method, device, equipment and computer storage medium
CN117033087B (en) Data processing method, device, storage medium and management server
CN113419753B (en) Intelligent farm management method, edge server and collaboration server
CN104753990A (en) Data synchronization method, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant