CN110300021B - Method and computing device for computing data processing time of recording bulletin of substation - Google Patents
Method and computing device for computing data processing time of recording bulletin of substation Download PDFInfo
- Publication number
- CN110300021B CN110300021B CN201910536632.2A CN201910536632A CN110300021B CN 110300021 B CN110300021 B CN 110300021B CN 201910536632 A CN201910536632 A CN 201910536632A CN 110300021 B CN110300021 B CN 110300021B
- Authority
- CN
- China
- Prior art keywords
- time
- substation
- master station
- calculating
- receiving
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 58
- 238000012545 processing Methods 0.000 title claims abstract description 43
- 230000005540 biological transmission Effects 0.000 claims abstract description 69
- 230000006854 communication Effects 0.000 claims abstract description 48
- 238000004891 communication Methods 0.000 claims abstract description 46
- 230000008569 process Effects 0.000 claims abstract description 34
- 238000012360 testing method Methods 0.000 claims description 32
- 230000004044 response Effects 0.000 claims description 10
- 238000004364 calculation method Methods 0.000 claims description 9
- 238000012790 confirmation Methods 0.000 claims description 7
- 238000004590 computer program Methods 0.000 claims description 5
- 238000012544 monitoring process Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 16
- 238000004458 analytical method Methods 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 230000002159 abnormal effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000011022 operating instruction Methods 0.000 description 1
- 238000012797 qualification Methods 0.000 description 1
- 238000011160 research Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
- 238000010998 test method Methods 0.000 description 1
- 230000007704 transition Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/06—Management of faults, events, alarms or notifications
- H04L41/0631—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
- H04L41/064—Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis involving time analysis
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Remote Monitoring And Control Of Power-Distribution Networks (AREA)
- Telephonic Communication Services (AREA)
Abstract
The embodiment of the invention discloses a method, a computing device and a readable storage medium for computing the data processing time of a recording bulletin of a substation, which are used for improving the processing efficiency of the data processing time of the recording bulletin of the computing substation, reducing time delay and saving system resources. The method provided by the embodiment of the invention comprises the following steps: when a master station establishes communication connection with a substation, acquiring link transmission delay time between the master station and the substation; acquiring a time adjustment value between a protection device and the master station according to the link transmission delay time; according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation; and disconnecting the communication connection between the master station and the substation.
Description
Technical Field
The invention relates to the field of computers, in particular to a method for calculating the data processing time of a recording brief report of a substation, a calculating device and a readable storage medium.
Background
The relay protection and fault information system (short for a letter protection system) monitors the operation of the protection device by acquiring the information of intelligent equipment such as the protection device and the wave recorder, analyzes the power grid fault through the fault information reported by the protection device, and provides necessary basis for operators to judge and handle the power grid fault, thereby improving the automation level of management and fault information processing of the relay protection and fault information system.
The information protection system is composed of a main station and a sub-station, processes and analyzes faults, and is an important work of the main station of the information protection system. The substation is responsible for accessing various protection and wave recording devices, information is gathered and uploaded to the main station, and substation data is uploaded in time, particularly wave recording data of the protection devices is the most important data for analyzing the fault reason and the fault property in detail, and a conclusion obtained through analysis of the wave recording data is an important basis for assisting scheduling operators to make operation decisions. Therefore, the timeliness of the reporting of the fault moment protection recording data is an important index for judging the implementation effect of the information protection system, and is also an important condition for playing the role of the information protection system, so that the master station end can quickly analyze the fault and ensure the stable operation of the power grid.
The communication protection substation has the advantages that a plurality of manufacturers produce the products of the communication protection substation in China, the products of one manufacturer have different models and versions, the models of the protection devices in the substation are various, the communication protocols are possibly different, the effect of the communication protection substation accessing the protection devices is influenced by a plurality of factors, and the performance of actively reporting data to the main station is different. Based on the importance of the protection recording data to the information protection system, in the evaluation of the product quality of the information protection substation, the speed of the information protection substation for processing the protection recording data and reporting the information to the main station is a very important index.
In order to evaluate the performance of the sub-station actively reporting information, especially the timeliness of the report of the protection recording data, data such as the delay time of the report of corresponding information needs to be collected as the basis for analysis and judgment.
The main stations and the sub stations of the information protection system exchange data by adopting a 103 communication protocol, the 103 communication protocol does not provide a support for responding to the performance measurement of data transmission, and the expansion of the 103 communication protocol is not a scheme easy to implement, a large amount of information protection sub stations are implemented according to the original 103 communication protocol specification, and the modification of the 103 communication protocol requires huge workload and capital investment, and relates to various links such as consistency test, qualification detection, product upgrading, field debugging service and the like.
Disclosure of Invention
The embodiment of the invention provides a method, a computing device and a readable storage medium for computing the data processing time of a recording briefing of a substation, which are used for improving the processing efficiency of the data processing time of the recording briefing of the substation, reducing time delay and saving system resources.
In view of the above, a first aspect of the present invention provides a method for calculating a data processing time of a recording bulletin of a substation, which may include:
when a master station establishes communication connection with a substation, acquiring link transmission delay time between the master station and the substation;
acquiring a time adjustment value between a protection device and the master station according to the link transmission delay time;
according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation;
and disconnecting the communication connection between the master station and the substation.
Optionally, in some embodiments of the present invention, the acquiring a link transmission delay time between the master station and the slave station includes:
recording the time t of the main station sending the test frame request to the substation 0 And time t of receiving confirmation test frame fed back to the main station by the substation 1 ;
Testing the time t of the frame according to the request 0 And time t of said acknowledgment test frame 1 And calculating to obtain the link transmission delay time T between the main station and the substation l 。
Optionally, in some embodiments of the present invention, the obtaining a time adjustment value between a protection device and the master station according to the link transmission delay time includes:
acquiring time mark t about the protection device in the alarm information and the event information reported by the substation f And the receiving time t of the master station receiving the alarm information and the event information m ;
According to the link transmission delay time T l The time scale t f And the receiving time t m And calculating to obtain a time adjustment value delta T between the protection device and the main station.
Optionally, in some embodiments of the present invention, the calculating, according to the link transmission delay time and the time adjustment value, a time for the substation to process current wave recording data and a delay time for reporting the current wave recording data to the master station includes:
according to the time scale t f And the time adjustment value delta T, and calculating the time scale T of the adjusted protection device d ;
According to the link transmission delay time T l The receiving time t m And said adjusted protection device time scale t d Calculating to obtain the time T for the substation to process the current wave recording data;
according to the receiving time t m And said adjusted protection device time scale t d Calculating the delay time T for reporting the current wave recording data to the master station dly 。
Optionally, in some embodiments of the present invention, the establishing, by the master station, a communication connection with the substation includes:
sending a first establishment request to the substation through the master station;
receiving, by the master station, a first establishment success response sent by the slave station to the first establishment request;
or,
sending a second setup request to the master station through the substation;
and receiving, by the slave station, a second establishment success response sent by the master station to the second establishment request.
A second aspect of the present invention provides a computing device, which may comprise:
the receiving and transmitting module is used for acquiring the link transmission delay time between the master station and the substation when the master station establishes communication connection with the substation;
the processing module is used for acquiring a time adjustment value between the protection device and the master station according to the link transmission delay time; according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data are the wave recording data reported by the substation; and disconnecting the communication connection between the master station and the substation.
Alternatively, in some embodiments of the present invention,
the transceiver module is specifically configured to record a time t when the master station sends a test frame request to the substation 0 And time t of receiving confirmation test frame fed back to the main station by the substation 1 (ii) a Testing the time t of the frame according to the request 0 And time t of said acknowledgment test frame 1 And calculating to obtain the link transmission delay time T between the main station and the substation l 。
Alternatively, in some embodiments of the present invention,
the processing module is specifically configured to obtain time stamp t of the protection device in the alarm information and the event information reported by the substation f To do so byAnd the receiving time t of the master station receiving the alarm information and the event information m (ii) a According to the link transmission delay time T l The time scale t f And the receiving time t m And calculating to obtain a time adjustment value delta T between the protection device and the main station.
Alternatively, in some embodiments of the present invention,
said processing module being specifically configured to determine said time stamp t f And the time adjustment value delta T, and calculating the time scale T of the adjusted protection device d (ii) a According to the link transmission delay time T l The receiving time t m And said adjusted protection device time scale t d Calculating to obtain the time T for the substation to process the current wave recording data; according to the receiving time t m And said adjusted protection device time scale t d Calculating the delay time T for reporting the current wave recording data to the master station dly 。
Alternatively, in some embodiments of the present invention,
the receiving and sending module is further used for sending a first establishment request to the substation through the master station; receiving, by the master station, a first establishment success response sent by the slave station to the first establishment request;
or,
the receiving and sending module is further configured to send a second establishment request to the master station through the substation; and receiving, by the slave station, a second establishment success response sent by the master station to the second establishment request.
A third aspect of the present invention provides a computing device, which may comprise:
a transceiver, a processor, and a memory, wherein the transceiver, the processor, and the memory are connected by a bus;
the memory is used for storing operation instructions;
the transceiver is used for acquiring link transmission delay time between the master station and the substation when the master station establishes communication connection with the substation;
the processor is configured to invoke the operation instruction, and execute the method for processing time of the data of the computer-station recorded-wave briefing in any optional manner of the first aspect and the first aspect of the present invention.
A fourth aspect of the present invention provides a readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the method of calculating a sub-station oscillographic presentation data processing time as described in the first aspect of the present invention and in any of its alternatives.
According to the technical scheme, the embodiment of the invention has the following advantages:
in the embodiment of the invention, when a master station establishes communication connection with a substation, the link transmission delay time between the master station and the substation is acquired; acquiring a time adjustment value between a protection device and the master station according to the link transmission delay time; according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation; and disconnecting the communication connection between the master station and the substation. The processing efficiency of the processing time of the recording brief report data of the computer substation is improved, the delay time for reporting the current recording data to the main station is obtained through calculation, the delay is reduced, and system resources are saved.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings used in the description of the embodiments and the prior art will be briefly introduced below, and it is obvious that the drawings in the description are only some embodiments of the present invention, and other drawings can be obtained according to the drawings.
FIG. 1 is a timing diagram of alarm/event communication in an embodiment of the present invention;
FIG. 2 is a timing diagram illustrating the communication of the recording bulletin in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of an embodiment of a method for calculating a data processing time of a recording briefing of a substation in an embodiment of the present invention;
FIG. 4 is a schematic diagram of calculating a link transmission delay time between a Master station and a substation according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a calculation of a time adjustment value between a protection device and a primary station according to an embodiment of the present invention;
FIG. 6 is a schematic diagram of the processing time of the wave recording data of the computing substation in the embodiment of the present invention;
FIG. 7 is a diagram of one embodiment of a computing device in an embodiment of the invention;
fig. 8 is a schematic diagram of another embodiment of a computing device in an embodiment of the invention.
Detailed Description
The embodiment of the invention provides a method, a computing device and a readable storage medium for computing the data processing time of a recording bulletin of a substation, which are used for improving the processing efficiency of the data processing time of the recording bulletin of the substation, reducing time delay and saving system resources.
In order to make those skilled in the art better understand the technical solutions of the present invention, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The embodiments based on the present invention should fall into the protection scope of the present invention.
On the basis of the existing communication protocol, the invention provides a low-cost feasible method, and on the premise of not changing the software, hardware and overall system structure of the original substation, the evaluation on the performance of processing the recording data and reporting the recording brief report information by the substation is realized by designing a new software algorithm at the master station end.
The following is a principle description of the data processing time of the recording brief report of the computer substation in the embodiment of the invention:
when a power grid fails or the device runs abnormally, the information-protecting sub-station converts the action information or abnormal information of the device into a 103 message format and actively uploads the message to the main station, so that the main station can rapidly process the received information, alarm prompts such as failure and abnormity are given to a dispatcher and a protection worker, and necessary data support is provided for failure analysis.
The information-protecting substation may also be referred to as a substation or a substation device for short, and the actively uploaded information mainly includes alarm information, event information, and wave recording presentation information, which are reported by application layer data units numbered 1, 2, and 12, respectively (in this embodiment, ASDU1/ASDU2/ASDU12 may be used for representation). The transmission mechanism of the alarm and event information is different from that of the recording brief report: the alarm information and the event information generated by the protection device are actively reported to the substation device through the in-station communication network, and the substation device actively transmits the alarm information and the event information to the main station at the first time when receiving the information of the protection device; the wave recording brief report information generated by the protection device is actively reported to the substation device through the in-station communication network, after receiving the protected wave recording brief report information, the substation device calls the protection device in time with corresponding wave recording data and stores the data in the substation local storage device, and then pushes the wave recording brief report information to the main station system.
Fig. 1 is a timing diagram of alarm/event communication according to an embodiment of the present invention. Fig. 2 is a timing diagram of the recording brief report communication according to the embodiment of the present invention.
In the timing chart shown in fig. 2, the delay of reporting the recording information of the protection device is the time t when the recording information of the fault is generated from the protection device d At the beginning, time t until the master station receives the wave recording brief report ASDU12 message m Until, delay time T dly Comprises the following steps:
T dly =t m -t d
if the time when the substation receives the wave recording brief report ASDU12 message generated by the protection device is t s1 And the time for sending the wave recording brief report ASDU12 message to the master station is t s2 Time-delayed T of data network transmission l If the time T for the substation to process the fault recording data is as follows:
T=t s2 -t s1 =t m -t s1 -T l
therefore, as long as the master station can obtain the time when the protection device generates the wave recording data and the time when the master station receives the ASDU12 message, the delay time for reporting the wave recording brief report data can be obtained; if the time when the sub-station receives the information of the protection device and the data network link delay are known, the time used by the sub-station for processing the data can be obtained. Because the information generated by the protection device is transmitted to the substation through the local network of the substation, the time for processing the recording data by the substation and the delay time value of the data network link are very small (the time for reporting the information by the protection device is specially tested), so for convenience of calculation, the time for the substation to receive the fault information of the protection device is considered to be approximately equal to the time for generating the fault data by the protection device and also approximately equal to the time for the fault occurrence, namely:
t s1 ≈t d
in the 103 communication protocol, no special data network link delay test method exists, and researches show that the link layer test frame can be used for achieving the measurement T l The object of (1). Respectively recording the time t of the request test frame sent by the master station 0 And time t of receiving confirmation test frame of sub-station reply 1 Then the link transmission time can be calculated by:
T l =(t 1 -t 0 )/2
time t for fault recording information generated by protection device d The time at which the failure occurred can be substituted. When the protection device detects the power grid fault, the protection device marks the fault wave recording data with a time mark, the time mark is generated by a clock held by the protection device and is transmitted to the substation device in the wave recording brief report data, the substation device fills the time mark in a fault time field of the ASDU12 and reports the time mark to the main station, and the value is the time mark t in the protection device time system f 。
Because the time sources of the master station, the sub-stations and the protection devices are different, for example, the master station adopts NTP to acquire time in a master station end network, when the in-station protection device generally adopts GPS or pulse synchronous signals, and the in-station protection device has a time scale abnormal phenomenon caused by time source faults. Therefore, the time of the master station and the time of the protection device are in different time systems, so that the master station cannot correctly calculate the real data reporting delay time of the substation, and meanwhile, the performance of each substation cannot be transversely compared.
Therefore, the master station needs to unify the time scales in the same time system, i.e. t f Transition to Master station time t d For calculation and analysis. According to the standard requirement, the alarm/event information reported by the protection device by the substation should be immediately transmitted to the master station, so that the difference Δ T between the time system of the protection device and the time system of the master station system can be estimated by using the characteristic:
ΔT=t m -[t f +(t s2 -t s1 )+T l ]
since the substation transmits the protection device information immediately after receiving the information, the time between receiving the protection device information and transmitting the information to the master station can be ignored, that is:
t s2 -t s1 ≈0
then: Δ T ═ T m -(t f +T l )
Bringing the delta T into adjustment of the time T generated by each recording brief at the protection device f The method comprises the following steps:
t d =t f +ΔT
therefore, the approximate processing time T and the approximate transmission delay T of the data of the wave recording brief report of the substation can be calculated dly 。
The technical solution of the present invention is further described below by way of an embodiment, and as shown in fig. 3, the present invention is a schematic diagram illustrating an embodiment of a method for calculating a data processing time of a recording briefing at a substation in an embodiment of the present invention. In order to calculate the data processing time of the recording brief report of the substation, the main station end is divided into 3 sub-functional modules which are respectively: calculating link delay, calculating a time mark adjusting value of a protection device and calculating the processing time of the recording brief report data. The method can comprise the following steps:
301. and when the master station establishes communication connection with the substation, acquiring the link transmission delay time between the master station and the substation.
The obtaining of the link transmission delay time between the master station and the slave station may include: recording the time t of the main station sending the test frame request to the substation 0 And receiving confirmation of feedback from the substation to the master stationTime t of trial frame 1 (ii) a Testing the time t of the frame according to the request 0 And time t of said acknowledgment test frame 1 And calculating to obtain the link transmission delay time T between the main station and the substation l 。
Illustratively, as shown in fig. 4, a schematic diagram of calculating a link transmission delay time between a master station and a substation in an embodiment of the present invention is shown. After the master station establishes communication connection with the substation, the link delay time calculation stage is entered, and the whole process of the whole communication connection is run through. The link delay multiplexing main and sub station communication process has the necessary test frame question-answer process without additional communication overhead, and mainly comprises the following steps:
(a) clearing a question-answer counter, setting a question-answer number threshold value k, a sliding window value w (w ═ k) and an error threshold value sigma;
(b) the main station sends a request test frame to the substation at regular time and records sending time t 0 ;
(c) The receiving substation of the main station confirms the test frame and records the receiving time t 1 ;
(d) Buffer time pair (t) 0 ,t 1 ) The question-answer counter is increased by 1;
(e) checking whether the question-answer counter reaches the specified number k, if not, turning to (b)
(f) Calculating (t) 1 -t 0 ) 2, calculating the error of each sample by adopting a mean square error, and removing the samples which are greater than an error threshold value sigma;
(g) calculating the residual samples as ∑ (t) 1 -t 0 ) 2 and taking the average value as the delay value T of the current link transmission l ;
(h) Delete the first w samples, set the counter to k-w, go to (b).
302. And acquiring a time adjustment value between the protection device and the master station according to the link transmission delay time.
The obtaining a time adjustment value between a protection device and the master station according to the link transmission delay time may include: obtaining the information about the security in the alarm information and the event information reported by the substationTime mark t of protection device f And the receiving time t of the master station receiving the alarm information and the event information m (ii) a According to the link transmission delay time T l The time scale t f And the receiving time t m And calculating to obtain a time adjustment value delta T between the protection device and the main station.
Illustratively, as shown in fig. 5, a schematic diagram of calculating a time adjustment value between a protection device and a primary station in an embodiment of the present invention is shown. On the basis of calculating the link transmission delay time, the master station can calculate the adjustment value delta T of the master station time through the time stamps of the protection devices in the ASDU1 and ASDU2 messages reported by the substation. The calculation process extends through the entire process of the entire communication connection. Because the message information in the communication process of the multiplexing main station and the sub station is calculated, the communication overhead does not need to be additionally increased, and the calculation process mainly comprises the following steps:
(a) clearing a receiving counter, and setting a receiving time threshold value k, a sliding window value w (w < ═ k) and an error threshold value sigma;
(b) the monitoring substation actively reports information;
(c) if the substation reports ASDU1 or ASDU2, the time mark t of the protection device in the message is recorded f And master station receiving time t m ;
(d) Buffer time pair (t) f ,t m ) The reception counter is incremented by 1;
(e) checking whether the receiving counter reaches a specified number k, if not, turning to (b);
(f) checking the delay value T of the link transmission l Whether valid, such as invalid go (i);
(g) calculating t m -(t f +T l ) Calculating the error of each sample by adopting the mean square error, and removing the samples larger than the error threshold value sigma;
(h) calculating the residual samples as ∑ [ t [ [ t ] m -(t f +T l )]Taking the average value as a time scale adjustment value delta T of the current protection device;
(i) delete the first w samples, set the counter to k-w, go to (b).
303. And calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station according to the link transmission delay time and the time adjustment value, wherein the current wave recording data is the wave recording data reported by the substation.
The calculating, according to the link transmission delay time and the time adjustment value, the time for the substation to process the current recording data and the delay time for reporting the current recording data to the master station may include: according to the time scale t f And the time adjustment value delta T, and calculating the time scale T of the adjusted protection device d (ii) a According to the link transmission delay time T l The receiving time t m And said adjusted protection device time scale t d Calculating to obtain the time T for the substation to process the current wave recording data; according to the receiving time t m And said adjusted protection device time stamp t d Calculating the delay time T for reporting the current wave recording data to the master station dly 。
Exemplarily, as shown in fig. 6, a schematic diagram of the processing time of the recording data of the computing substation in the embodiment of the present invention is shown. On the basis of calculating the link delay time and the time scale adjustment value of the protection device, the master station can estimate the time for the sub-station to process the recording data and the delay time of the reporting process when the sub-station reports the ASDU12 each time, and the calculating process mainly comprises the following steps:
(a) the monitoring substation actively reports information;
(b) if the sub-station reports ASDU12, the time mark t of the protection device in the message is recorded f And master station receiving time t m ;
(c) Checking the delay value T of the link transmission l If any one of the time scale adjustment values is invalid, recording the processing time and the reporting delay time of the current wave recording data of the substation as null values, and turning to (a);
(d) calculating an adjusted device time stamp t d =t f +ΔT;
(e) Calculating substation outgoing wave recording data time T ═ T m -(t d +T l ) And reporting the delay time T dly =t m -t d ;
(f) Recording the processing time and the reporting delay time of the current wave recording data of the substation, and turning to (a).
304. And disconnecting the communication connection between the master station and the substation.
In the embodiment of the invention, when a master station establishes communication connection with a substation, the link transmission delay time between the master station and the substation is acquired; acquiring a time adjustment value between a protection device and the master station according to the link transmission delay time; according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation; and disconnecting the communication connection between the master station and the substation. The method and the device are used for improving the processing efficiency of the recording briefing data processing time of the calculating substation, calculating the delay time for reporting the current recording data to the main station, reducing the delay and saving system resources.
As shown in fig. 7, which is a schematic diagram of an embodiment of a computing apparatus in an embodiment of the present invention, the computing apparatus may include:
a transceiver module 701, configured to acquire link transmission delay time between a master station and a slave station when the master station establishes a communication connection with the slave station;
a processing module 702, configured to obtain a time adjustment value between the protection device and the master station according to the link transmission delay time; according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation; and disconnecting the communication connection between the master station and the substation.
Alternatively, in some embodiments of the present invention,
a transceiver module 701, specifically configured to record time t when the master station sends a request test frame to the substation 0 And receive theTime t of confirmation test frame fed back to the main station by the substation 1 (ii) a Testing the time t of the frame according to the request 0 And time t of said acknowledgment test frame 1 And calculating to obtain the link transmission delay time T between the main station and the substation l 。
Alternatively, in some embodiments of the present invention,
a processing module 702, specifically configured to obtain the time stamp t of the protection device in the alarm information and the event information reported by the substation f And the receiving time t of the master station receiving the alarm information and the event information m (ii) a According to the link transmission delay time T l The time scale t f And the receiving time t m And calculating to obtain a time adjustment value delta T between the protection device and the main station.
Alternatively, in some embodiments of the present invention,
a processing module 702, in particular for determining the time scale t f And calculating the time scale T of the adjusted protection device according to the time adjustment value delta T d (ii) a According to the link transmission delay time T l The receiving time t m And said adjusted protection device time stamp t d Calculating to obtain the time T for the substation to process the current wave recording data; according to the receiving time t m And said adjusted protection device time stamp t d Calculating the delay time T for reporting the current wave recording data to the master station dly 。
Alternatively, in some embodiments of the invention,
a transceiver module 701, further configured to send a first establishment request to the substation through the master station; receiving, by the master station, a first establishment success response sent by the slave station to the first establishment request;
or,
the transceiver module 701 is further configured to send a second establishment request to the master station through the substation; and receiving, by the slave station, a second establishment success response sent by the master station to the second establishment request.
As shown in fig. 8, which is a schematic diagram of another embodiment of a computing apparatus in an embodiment of the present invention, the computing apparatus may include:
a transceiver 801, a processor 802, a memory 803, wherein the transceiver 801, the processor 802 and the memory 803 are connected by a bus;
a memory 803 for storing operating instructions;
a transceiver 801, configured to acquire link transmission delay time between a master station and a slave station when the master station establishes a communication connection with the slave station;
a processor 802, configured to invoke the operation instruction, and obtain a time adjustment value between the protection device and the master station according to the link transmission delay time; according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation; and disconnecting the communication connection between the master station and the substation.
Alternatively, in some embodiments of the present invention,
a transceiver 801, specifically configured to record a time t when the master station sends a request test frame to the substation 0 And time t of receiving confirmation test frame fed back to the main station by the substation 1 (ii) a Testing the time t of the frame according to the request 0 And time t of said acknowledgment test frame 1 And calculating to obtain the link transmission delay time T between the main station and the substation l 。
Alternatively, in some embodiments of the present invention,
the processor 802 is specifically configured to obtain the time stamp t of the protection device in the alarm information and the event information reported by the substation f And the receiving time t of the master station receiving the alarm information and the event information m (ii) a According to the link transmission delay time T l The time scale t f And the receiving time t m And calculating to obtain a time adjustment value delta T between the protection device and the main station.
Alternatively, in some embodiments of the present invention,
a processor 802, in particular configured to determine a time stamp t based on said time stamp t f And the time adjustment value delta T, and calculating the time scale T of the adjusted protection device d (ii) a According to the link transmission delay time T l The receiving time t m And said adjusted protection device time scale t d Calculating to obtain the time T for the substation to process the current wave recording data; according to the receiving time t m And said adjusted protection device time scale t d Calculating the delay time T for reporting the current wave recording data to the master station dly 。
Alternatively, in some embodiments of the present invention,
a transceiver 801 further configured to send a first setup request to the substation through the master station; receiving, by the master station, a first establishment success response sent by the slave station to the first establishment request;
or,
a transceiver 801, further configured to send a second setup request to the master station through the substation; and receiving, by the slave station, a second establishment success response sent by the master station to the second establishment request.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product.
The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can store or a data storage device, such as a server, a data center, etc., that is integrated with one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided in the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (5)
1. A method for calculating the data processing time of a recording brief report of a substation is characterized by comprising the following steps:
when a master station establishes communication connection with a substation, acquiring link transmission delay time between the master station and the substation;
acquiring a time adjustment value between a protection device and the master station according to the link transmission delay time;
according to the link transmission delay time and the time adjustment value, calculating the time for the substation to process the current wave recording data and the delay time for reporting the current wave recording data to the main station, wherein the current wave recording data is the wave recording data reported by the substation;
disconnecting the communication connection between the master station and the substation;
the acquiring of the link transmission delay time between the master station and the substation includes:
recording the time t of the main station sending the test frame request to the substation 0 And time t of receiving confirmation test frame fed back to the main station by the substation 1 ;
Testing the time t of the frame according to the request 0 And time t of said acknowledgment test frame 1 And calculating to obtain the link transmission delay time T between the main station and the substation l ;
The calculation process mainly comprises the following steps:
(a) clearing a question-answer counter, setting a question-answer time threshold k, a sliding window value w, w < ═ k and an error threshold sigma;
(b) the main station sends a request test frame to the substation at regular time and records sending time t 0 ;
(c) The receiving substation of the main station confirms the test frame and records the receiving time t 1 ;
(d) Buffer time pair (t) 0 ,t 1 ) The question-answer counter is increased by 1;
(e) checking whether the question-answer counter reaches the specified number k, if not, turning to (b)
(f) Calculating (t) 1 -t 0 ) 2, calculating the error of each sample by adopting a mean square error, and removing the samples which are greater than an error threshold value sigma;
(g) calculating the residual samples as ∑ (t) 1 -t 0 ) 2 and taking the average value as the delay value T of the current link transmission l ;
(h) Deleting the first w samples, setting the counter to be k-w, and turning to (b);
the obtaining a time adjustment value between the protection device and the master station according to the link transmission delay time includes:
acquiring time mark t about the protection device in the alarm information and the event information reported by the substation f And the receiving time t of the master station receiving the alarm information and the event information m ;
According to the link transmission delay time T l The time scale t f And the receiving time t m Calculating to obtain a time adjustment value delta T between the protection device and the master station;
the calculation process mainly comprises the following steps:
(a) clearing a receiving counter, setting a receiving time threshold k, a sliding window value w, w < ═ k and an error threshold sigma;
(b) the monitoring substation actively reports information;
(c) if the substation reports ASDU1 or ASDU2, the time mark t of the protection device in the message is recorded f And the receiving time t of the master station receiving the alarm information and the event information m ;
(d) Buffer time pair (t) f ,t m ) The receive counter is incremented by 1;
(e) checking whether the receiving counter reaches a receiving time threshold k, if not, turning to (b);
(f) checking the link transmission delay time T l Whether valid, such as invalid go (i);
(g) calculating t m -(t f +T l ) Calculating the error of each sample by adopting the mean square error, and removing the samples larger than the error threshold value sigma;
(h) calculating the residual samples as ∑ [ t [ [ t ] m -(t f +T l )]Taking the average value as a time scale adjustment value delta T of the current protection device;
(i) delete the first w samples, set the counter to k-w, go to (b).
2. The method of claim 1, wherein the calculating the time for the substation to process the current recording data and the delay time for reporting the current recording data to the master station according to the link transmission delay time and the time adjustment value comprises:
according to the time scale t f And the time adjustment value delta T, and calculating the time scale T of the adjusted protection device d ;
According to the link transmission delay time T l The receiving time t m And said adjusted protection device time stamp t d Calculating to obtain the time T for the substation to process the current wave recording data;
according to the receiving time t m And said adjusted protection device time scale t d Calculating the delay time T for reporting the current wave recording data to the master station dly 。
3. The method of claim 1 or 2, wherein the master station establishes a communication connection with a substation, comprising:
sending a first establishment request to the substation through the master station;
receiving, by the master station, a first establishment success response sent by the slave station to the first establishment request;
or,
sending a second setup request to the master station through the substation;
and receiving, by the slave station, a second establishment success response sent by the master station to the second establishment request.
4. A computing device, comprising:
a transceiver, a processor, and a memory, wherein the transceiver, the processor, and the memory are connected by a bus;
the memory is used for storing operation instructions;
the transceiver is used for acquiring link transmission delay time between the master station and the substation when the master station establishes communication connection with the substation;
the processor is used for calling the operation instruction to execute the steps of the method for calculating the substation recording presentation data processing time according to any one of claims 1 to 3.
5. A readable storage medium, having stored thereon a computer program, characterized in that the computer program, when being executed by a processor, realizes the steps of the method of calculating a substation recording presentation data processing time according to any one of claims 1-3.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910536632.2A CN110300021B (en) | 2019-06-20 | 2019-06-20 | Method and computing device for computing data processing time of recording bulletin of substation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910536632.2A CN110300021B (en) | 2019-06-20 | 2019-06-20 | Method and computing device for computing data processing time of recording bulletin of substation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110300021A CN110300021A (en) | 2019-10-01 |
CN110300021B true CN110300021B (en) | 2022-09-16 |
Family
ID=68028333
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910536632.2A Active CN110300021B (en) | 2019-06-20 | 2019-06-20 | Method and computing device for computing data processing time of recording bulletin of substation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110300021B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110838760B (en) * | 2019-11-27 | 2021-02-26 | 中国南方电网有限责任公司 | Power grid fault data collection method and device |
CN114422408B (en) * | 2021-12-16 | 2023-12-22 | 深圳供电局有限公司 | Substation monitoring method, device, computer equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501047A (en) * | 2013-10-09 | 2014-01-08 | 云南电力调度控制中心 | Intelligent fault wave recording main station information management system |
CN107566072A (en) * | 2017-10-24 | 2018-01-09 | 广东电网有限责任公司电力调度控制中心 | A kind of secondary device clock synchronizing method based on dual time correction |
CN108205096A (en) * | 2017-11-24 | 2018-06-26 | 国网浙江省电力公司温州供电公司 | A kind of multi-source failure data analyzing method based on active time adjustment |
-
2019
- 2019-06-20 CN CN201910536632.2A patent/CN110300021B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103501047A (en) * | 2013-10-09 | 2014-01-08 | 云南电力调度控制中心 | Intelligent fault wave recording main station information management system |
CN107566072A (en) * | 2017-10-24 | 2018-01-09 | 广东电网有限责任公司电力调度控制中心 | A kind of secondary device clock synchronizing method based on dual time correction |
CN108205096A (en) * | 2017-11-24 | 2018-06-26 | 国网浙江省电力公司温州供电公司 | A kind of multi-source failure data analyzing method based on active time adjustment |
Also Published As
Publication number | Publication date |
---|---|
CN110300021A (en) | 2019-10-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110365529B (en) | Edge computing intelligent gateway service processing method and edge computing intelligent gateway | |
CN110300021B (en) | Method and computing device for computing data processing time of recording bulletin of substation | |
US20160283307A1 (en) | Monitoring system, monitoring device, and test device | |
DE10242696A1 (en) | System and method for remote monitoring of base stations | |
US20070061628A1 (en) | System and method for examining remote systems and gathering debug data in real time | |
CN108282355B (en) | Equipment inspection device in cloud desktop system | |
CN105262210A (en) | System and method for analysis and early warning of substation network security | |
US8699359B2 (en) | Data plane delay KPI monitoring in live network | |
CN102325036B (en) | The method for diagnosing faults of a kind of network system, system and device | |
CN110728818A (en) | Electrical fire monitoring system based on cloud platform and early warning analysis method thereof | |
WO2020242008A1 (en) | Method and device for managing multiple remote radio heads in communication network | |
CN101883374A (en) | Method for reporting information by terminal, and terminal equipment | |
CN112994972B (en) | Distributed probe monitoring platform | |
CN115514682A (en) | Data transmission method, device, equipment and storage medium | |
CN109586996B (en) | Cloud platform real-time testing system and method based on network message time delay comparison | |
US9306822B2 (en) | Method and system for silent trunk failure detection | |
CN116055303B (en) | Link monitoring processing method and device, electronic equipment and storage medium | |
CN112398672B (en) | Message detection method and device | |
CN113810238A (en) | Network monitoring method, electronic device and storage medium | |
KR100581142B1 (en) | A Distributed measurement system for the multipoint performance evaluation in the internet and method thereof | |
CN104063984A (en) | Automatic standard exceeding alarm method of defective product | |
CN105099742B (en) | Method, device, system and terminal for collecting data | |
RU58832U1 (en) | SYSTEM OF AUTOMATED EVALUATION OF PARAMETERS OF AERONAUTICAL RADIO LINES OF DATA TRANSFER IN REAL TIME | |
CN111581107A (en) | FTP program fatigue test method and system | |
CN116208532B (en) | Abnormality detection method, abnormality detection device, storage medium, and electronic apparatus |
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 |