CN104821870A - Master station smart power grid scheduling technology support system-based clock synchronization method - Google Patents
Master station smart power grid scheduling technology support system-based clock synchronization method Download PDFInfo
- Publication number
- CN104821870A CN104821870A CN201510079184.XA CN201510079184A CN104821870A CN 104821870 A CN104821870 A CN 104821870A CN 201510079184 A CN201510079184 A CN 201510079184A CN 104821870 A CN104821870 A CN 104821870A
- Authority
- CN
- China
- Prior art keywords
- clock
- acquisition server
- time
- source
- node
- 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.)
- Granted
Links
Landscapes
- Synchronisation In Digital Transmission Systems (AREA)
Abstract
The present invention discloses a master station smart power grid scheduling technology support system-based clock synchronization method, comprising the following steps of: S1, connecting a plurality of clock sources to a local area network, and setting priorities of the clock sources; S2, setting the clock source status monitoring service on a clock acquisition server, and updating the priorities of the clock sources in real time; S3, determining a main clock acquisition server and a standby clock acquisition server by using node management provided by a smart power grid scheduling technology support system, and acquiring clocks; S4, comparing the clock information of a local clock with acquired clock information of the clock source with the highest priority by the main clock acquisition server, and if a difference exists, synchronizing the local clock; and S5, exchanging a piece of clock synchronization message with another working node by the main clock acquisition server, and calculating and eliminating the time delay and updating the time of the another working node by the another working node. The method improves the time accuracy of the smart power grid scheduling technology support system, and ensures the consistency of the system clock.
Description
Technical field
The present invention relates to a kind of clock synchronizing method, particularly relate to a kind of clock synchronizing method based on main website intelligent grid supporting system technology, belong to power system dispatching technical field.
Background technology
Along with the development of intelligent grid and the progress of technology, power informatization, automation, interactive level are more and more higher, for operation of power networks and the information of systems soft ware and the requirement of data accuracy also more and more higher, time, as basis that is information-based, automation, highlights day by day in the importance of power scheduling operational system at different levels.Each specialties such as Generation Control, generation schedule, state estimation all need unified accurate system time as basis of software, therefore, the time precision of the systems soft ware supporting operation of power networks and control needed for each links such as collection, process, filing, alarm and stability are had higher requirement.
Current, the D5000 system (intelligent grid supporting system technology) that State Grid Corporation of China releases adopts single clock source to realize clock synchronous.The multiple clock acquisition server of system configuration, one of them clock acquisition server is set and carries out clock acquisition, after service fault, being switched to other clock acquisition servers and carrying out clock acquisition, finally serving configuring NTP (Network Time Protocol) between acquisition server and other synchronization nodes.
Because system only provides a clock source, system clock time service certainly will be caused to interrupt when clock source failure, the stability of system clock can not be ensured, simultaneously, carry out nodal clock by NTP service synchronous, by pair time initiative consign to operating system completely, synchronous whole process cannot be intervened, even if also helpless when clock source there occurs clock error, finally cause whole system clock error.And, have ignored the time synchronized time delay between clock acquisition server and other servers, often cause the nonsynchronous problem of each nodal clock.In addition, the correctness of clock data and hidden danger cannot monitor, can not ensure the reliability of clock data.
Summary of the invention
For the deficiencies in the prior art, technical problem to be solved by this invention is to provide a kind of clock synchronizing method based on main website intelligent grid supporting system technology.
For achieving the above object, the present invention adopts following technical scheme:
Based on a clock synchronizing method for main website intelligent grid supporting system technology, comprise the steps:
S1, accesses multiple clock source in a local network, and arranges clock source priority;
S2, clock acquisition server is arranged clock source status monitoring services, monitors the running status of each clock source, real-time update clock source priority;
S3, judges the running status of multiple stage clock acquisition server, determines master clock acquisition server and standby clock acquisition server, row clock collection of going forward side by side;
S4, master clock acquisition server compares the clock information of the limit priority clock source of local clock and collection, if variant, synchronous local clock;
S5, master clock acquisition server and the mutual clock synchronization message of other working nodes, other working nodes described calculate the time delays between master clock acquisition server and local node, eliminate time delays, upgrade this node time.
Wherein more preferably, described clock source status monitoring services judges the correctness of described clock acquisition server and clock source network state and described clock source acquisition time, according to the clock source state that clock source status monitoring services provides, the priority of clock source is set;
When described clock source status monitoring services monitor one or more clock source break down time, reset the priority of clock source; And send warning information.
Wherein more preferably, the clock information of described master clock acquisition server and the described standby all clock sources of clock acquisition collection of server, the all clock informations collected are compared, if there is the clock source inconsistent with other clock informations, then send warning information, and the priority in refresh clock source;
The clock information of the limit priority clock source after renewal is carried out synchronize local clocks by described master clock acquisition server.
Wherein more preferably, described clock acquisition server arranges clock acquisition service, described clock acquisition service is according to described clock source status monitoring services real time monitoring clock source state, when all clock sources all normally can not work with described clock acquisition server, initiatively report pattern by node administration, described clock acquisition Servers installed is malfunction by driving node management.
Wherein more preferably, when the clock acquisition server being set to malfunction is master clock acquisition server, be master clock acquisition server by the standby clock acquisition Servers installed of normal operation.
Wherein more preferably, in step s 5, described master clock acquisition server and the mutual clock synchronization message of other working nodes comprise the steps:
S51, after master clock acquisition server collects clock information, sends time synchronized request signal to other working nodes;
S52, after other working nodes receive request signal, to master clock server tranmitting data register synchronization request confirmation;
S53, after master clock acquisition server receives clock synchronous request confirmation, to this node tranmitting data register synch command;
S54, other working nodes receive the computation delay time after clock synchronization command, eliminate time delay and obtain final clock information;
S55, other working nodes send synchronous ending message to master clock collection, and master clock acquisition server receives described synchronous ending message, individual node clock synchronous end cycle.
Wherein more preferably, after other working nodes described receive synch command, the computation delay time specifically comprises the steps:
S541, obtains synchronization node time Tl1, other working nodes when other working nodes send " clock synchronous request confirmation " message to master clock acquisition server and receives the moment Ts that the moment Tl2 of " clock synchronization command " message and master clock acquisition server send " clock synchronization command " message;
S542, according to formula: △ t=(Tl2 – Tl1)/time delay 2 computing times;
S543, according to formula: Te=Ts+ △ t calculates synchronisation of nodes time Te.
Wherein more preferably, after other working nodes described receive synch command, the computation delay time also comprises the steps:
S544, compares the existing clock information of synchronisation of nodes time Te and this locality finally obtained, if the two is identical, synchronous with regard to not needing to carry out nodal clock; If the two is not identical, then synchronous Local Node Clock LNC, makes Local Node Clock LNC consistent with master clock acquisition server clock.
Wherein more preferably, in step s 5, the messaging bus that provided by intelligent grid supporting system technology of described master clock acquisition server and the mutual clock synchronization message of other working nodes.
Wherein more preferably, in step s 5, when described master clock acquisition server and the mutual clock synchronization message of other working nodes, it is mutual that described master clock acquisition server and described standby clock acquisition server adopt step S51-S55 to carry out clock synchronization message;
Described standby clock acquisition server calculates the time delays between master clock acquisition server and standby clock acquisition server, eliminates time delays, upgrades the local node time of standby clock acquisition server.
Clock synchronizing method based on main website intelligent grid supporting system technology provided by the present invention, first, by arranging and management the redundancy of clock source, ensure that clock source provides the ability of clock service to intelligent grid supporting system technology, secondly, utilize the node administration that intelligent grid supporting system technology provides, ensure that synchronization always exists a clock acquisition server normal acquisition, and send clock synchronous instruction to other working node of intelligent grid supporting system technology, improve stability and the reliability of intelligent grid supporting system technology clock synchronous, finally, by eliminating time delays, reduce system clock error, ensure the accuracy of system clock synchronization.
Accompanying drawing explanation
Fig. 1 is in clock synchronizing method provided by the present invention, the schematic diagram of clock synchronous framework;
Fig. 2 is the flow chart of clock synchronizing method provided by the present invention;
Fig. 3 is in clock synchronizing method provided by the present invention, the schematic diagram of clock source status monitoring;
Fig. 4 is in clock synchronizing method provided by the present invention, and clock acquisition server carries out the schematic diagram of node administration;
Fig. 5 is in clock synchronizing method provided by the present invention, carries out the schematic diagram of clock acquisition based on intelligent grid supporting system technology;
Fig. 6 is in clock synchronizing method provided by the present invention, the flow chart of nodal clock synchronous interaction;
Fig. 7 is in clock synchronizing method provided by the present invention, eliminates the flow chart of the clock synchronous of time delay.
Embodiment
Below in conjunction with the drawings and specific embodiments, technology contents of the present invention is described in further detail.
The present invention is directed to current intelligent grid supporting system technology carries out in the method for clock synchronous employing, adopt single clock source, NTP serves and ignores the problem that time delays brings, by the Redundancy Management to clock source, ensure that clock source provides the ability of clock service to system, the node administration of the clock acquisition server utilizing intelligent grid supporting system technology to provide, ensure that synchronization always exists a clock acquisition server normal acquisition, and send clock synchronous instruction to other working node of system, improve the reliable and stable of system clock synchronization, by introducing time delays algorithm, delay time is eliminated before working node clock synchronous, reduce system clock error, ensure the accuracy of system clock synchronization.Detailed specific description is done to this process below.
As shown in Figure 1, the clock synchronizing method based on main website intelligent grid supporting system technology provided by the invention, mainly contains clock acquisition, Clock management and clock synchronous.Wherein, clock acquisition refers to that clock acquisition server carries out clock information collection by clock acquisition local area network (LAN) to clock source; Clock management refers to the management to multiple clock source and multiple clock acquisition server; To be clock acquisition server carry out clock synchronous by intelligent grid supporting system technology backbone network to other working nodes of intelligent grid supporting system technology to clock synchronous.
In clock acquisition local area network (LAN), each clock source is all real-time obtains clock information from satellite, and clock acquisition server all obtains clock information from each clock source, after oversampling clock compare of analysis, gives other working nodes by master clock acquisition server tranmitting data register information.By at clock acquisition server design clock source status monitoring services, the state of Real-Time Monitoring clock source, manage clock source according to operating state, the node administration that the management of clock acquisition server mainly adopts intelligent grid supporting system technology to provide carries out the management of active/standby mode.
The clock synchronous of other working nodes is after master clock acquisition server obtains clock information, utilize the messaging bus that intelligent grid supporting system technology provides, by intelligent grid supporting system technology backbone network to other working node tranmitting data register synchronization messages, finally realize the clock synchronous to other working nodes.As shown in Figure 2, specifically comprise the steps:
S1, accesses multiple clock source in a local network, and arranges clock source priority.
Access multiple clock source (such as: GPS, big dipper clock etc.) in a local network, and clock source priority is set, the clock source making to be in high level priority provides the clock information for synchronous local clock for clock acquisition server, when after the clock source failure (cisco unity malfunction such as satellite time or network failure can not be accepted) being in high level priority, real-time switching clock source, ensures the stability of clock acquisition.
S2, clock acquisition server is arranged clock source status monitoring services, the running status of Real-Time Monitoring clock source, real-time update clock source priority.
Clock source is as receiving satellite clock and the equipment providing clock service, for detecting stable, the on-line operation of clock source, clock acquisition server provides clock source status monitoring services, as shown in Figure 3, clock source status monitoring services receives satellite clock for judging clock source and provides the ability of service.This clock source status monitoring services is disposed and is operated on every platform clock acquisition server, and its function mainly judges whether this clock acquisition server and clock source network state and clock source correctly obtain satellite time.According to the clock source state that clock source status monitoring services provides, the priority level of clock source is set, and carries out upgrading and arranging in real time, efficiently, ensure that clock source failure or network failure do not affect the collection of clock acquisition server clock.
As shown in table 1, in embodiment provided by the present invention, for four clock source redundant configuration, when all clock sources are all normal, each clock source is set according to the priority given tacit consent in step S1, monitor clock source A to break down, other clock sources are normal, by removing the collection priority of clock source A, the priority of clock source B are set to limit priority, by that analogy, clock source is set and gathers priority.Meanwhile, for reminding dispatching automation personnel that clock source is safeguarded, after monitoring clock source failure, warning information need be sent.Clock source redundant configuration achieve single clock source fault do not affect provide clock service and clock source failure to intelligent grid supporting system technology after alarm prompt immediately, improve stability and the fail safe of clock source.
The configuration of table 1 clock source priority and setting
S3, the node administration utilizing intelligent grid supporting system technology to provide judges the running status of multiple stage clock acquisition server, determines master clock acquisition server and standby clock acquisition server, row clock collection of going forward side by side.
The node administration utilizing intelligent grid supporting system technology to provide carries out basic management to clock acquisition server, node administration is watchdog timer acquisition server running status initiatively, the active-standby mode of clock acquisition server is set according to Joint Enterprise, keep the main many standby states of clock acquisition server one, host node (master clock acquisition server) is responsible for the clock information gathering clock source, clock information is gone out according to the protocol analysis that clock source provides, and to other working node tranmitting data register synchronizing informations, slave node (standby clock acquisition server) is only responsible for gathering clock source clock information, and accept the clock synchronization information of host node transmission, the clock information of synchronous local node.
Node administration initiatively monitors can only monitor node critical processes running status, node processes whether normal process own service can not be monitored, although for avoiding occurring node normal operation, but because clock acquisition server and clock source all interrupt, causing node administration " mistake " to switch this node is the problem that host node carries out gathering, the clock acquisition service that clock acquisition server provides is according to clock source status monitoring services real time monitoring clock source state, when all clock sources all normally can not work with this node, initiatively pattern is reported by node administration, this clock acquisition Servers installed is " fault " state by driving node management, if this node is host node, change its node state immediately, be host node by the clock acquisition Servers installed of normal operation.
Clock acquisition service achieves when clock acquisition server fault, and the not clock acquisition of influential system, improves stability and the reliability of clock acquisition.
S4, master clock acquisition server compares the clock information of the limit priority clock source of local clock and collection, if variant, synchronous local clock, keeps local clock consistent with clock source.
As shown in Figure 5, in embodiment provided by the present invention, clock source status monitoring services provides priority and the state information of clock source for clock acquisition service, the clock acquisition network in charge that state is " master " and " standby " gathers the clock information of the clock source of all states " normally ", and the multiple clock informations collected are compared, if there is the clock source inconsistent with other clock informations, then this clock source breaks down, alarm prompt dispatch automated system attendant.Meanwhile, the priority in refresh clock source.The clock information of the limit priority clock source after renewal as the clock information gathered, is compared the clock information of local clock and collection by master clock acquisition server, if variant, synchronous local clock, keeps local clock consistent with clock source.Finally, the clock information of acquisition is sent to standby clock acquisition server and other working nodes by the messaging bus that master clock acquisition server utilizes intelligent grid supporting system technology to provide, the standby clock acquisition server of request and other working node synchronised clocks.
Based on the clock acquisition to redundancy clock source, can predict clock source in advance whether normal synchronous with satellite clock, whether the clock information of collection is normal, and can according to warning information, dispatching automation attendant is assisted to check failing clock source, the reliability of safeguards system clock.
S5, the messaging bus that master clock acquisition server is provided by intelligent grid supporting system technology and the mutual clock synchronization message of other working nodes, calculate the time delays between master clock acquisition server and local node, eliminate time delays, upgrade this node time, keep local node consistent with master clock acquisition server.
Other working node Clock Synchronization Procedure are processes of a node and the information interaction in master clock acquisition server cycle.In embodiment provided by the present invention, for the single cycle, as shown in Figure 6, specifically comprise the steps:
S51, after master clock acquisition server collects clock information, first sends time synchronized request signal to other working nodes.
S52, after other working nodes receive request signal, immediately to master clock server tranmitting data register synchronization request confirmation.
S53, after master clock acquisition server receives clock synchronous request confirmation, to this node tranmitting data register synch command.
S54, other working nodes receive the computation delay time after clock synchronization command, eliminate time delay and obtain final clock information.
Due to different from distance between switch between each node of system backbone network, exist on backbone network simultaneously and process intensity of traffic difference, these factors all can cause master clock acquisition server transmitting system clock can be different to the time delay on other working nodes of system, for the accuracy providing each nodal clock of system synchronous, therefore, need when each node receives clock synchronization information to consider the network delay between this node and master clock acquisition server.
Time delays algorithm, according to being carry out information interaction by between master clock acquisition server and other working nodes, in embodiment provided by the present invention, for single synchronization node, calculates backbone network time delay.As shown in Figure 7, the message interaction process describing from main acquisition server to other working nodes needing clock synchronous, in embodiment provided by the present invention, is defined as follows each moment detailed process of other working node clock synchronous:
T0, T1 moment: in the moment of synchronization message request interactive signal, time delays is not had an impact;
The T2 moment: other working nodes (synchronization node) send the moment of " clock synchronous request confirmation " message to master clock acquisition server, send in message content and current " local node time " is sent to master clock acquisition server, marking current " local node time " (synchronization node time) is Tl1;
The T3 moment: the moment of message that master clock acquisition server receives " clock synchronous request confirmation ";
In the T4 moment: master clock acquisition server sends the moment of " clock synchronization command " message, send in message content and comprise main acquisition node transmitting time Ts and synchronization node time Tl1;
In the T5 moment: the moment of message that synchronization node receives " clock synchronization command ", now again obtain current local time Tl2;
T6, T7 moment: synchronization message terminates the moment of interactive signal, does not have an impact to time delays.
After other working nodes receive synch command, the computation delay time specifically comprises the steps:
S541, obtains synchronization node time Tl1, synchronization node when synchronization node sends " clock synchronous request confirmation " message to master clock acquisition server and receives the moment Ts that the moment Tl2 of " clock synchronization command " message and master clock acquisition server send " clock synchronization command " message.
S542, according to formula: △ t=(Tl2 – Tl1)/time delay 2 computing times.
According to above-mentioned moment definition and interaction content, according to following formula (1), can calculate the time delays △ t from T2 to T5 in the time period between master clock acquisition server and synchronization node, because this process contains twice transmission of messages, therefore computing time, delay Equation was:
△t=(Tl2–Tl1)/2 (1)
S543, according to formula: Te=Ts+ △ t calculates synchronisation of nodes time Te, finally achieves Local Node Clock LNC synchronous.
According to (2) below formula, synchronisation of nodes time Te is calculated by the relation between main acquisition node transmitting time Ts and time delays △ t, finally achieve Local Node Clock LNC synchronous, other synchronisation of nodes time delay calculating and synchronize local clocks carry out in this approach.
Te=Ts+△t (2)
Eliminate time delays, upgrade this node time and obtain final clock information.
S544, compares the existing clock information of synchronisation of nodes time Te and this locality finally obtained, if the two is identical, synchronous with regard to not needing to carry out nodal clock; If the two is not identical, then synchronous Local Node Clock LNC, and send clock synchronous prompting to system, suggestion content comprise node name, system before clock, synchronous after clock.Keep the clock information of local node consistent with the clock information of master clock acquisition server.
S55, other working nodes send synchronous ending message to master clock collection, and master clock acquisition server receives synchronous ending message, individual node clock synchronous end cycle.
In embodiment provided by the present invention, when master clock acquisition server and the mutual clock synchronization message of other working nodes, it is mutual that master clock acquisition server and standby clock acquisition server adopt step S51-S55 to carry out clock synchronization message, standby clock acquisition server adopts the time delays between step S541-S544 calculating master clock acquisition server and standby clock acquisition server, eliminate time delays, upgrade the local node time of standby clock acquisition server.
The clock synchronizing method realized by above-mentioned steps is carried out to the test of stability, fail safe and accuracy three aspect, before test, intelligent grid supporting system technology is configured with four gps clock sources, four clock acquisition servers, and clock synchronous software is all deployed on clock acquisition server.
Stability test: simulate 30 clock source failures and clock acquisition server failure respectively, simulate 30 single clock sources and single clock acquisition server failure, find in test that each nodal clock of internal system is unified, and not because the ability of single clock source or single clock acquisition server failure interrupt system clock service.
Security test: the situation simulating wherein single clock source and other clock source clock information deviations 50%, test 30 times, all normally can send the alarm of clock source clock jitter at every turn, and the correct clock information that each clock acquisition server is all chosen, non-influential system clock information correct.
The test of accuracy: the inner any operative node of selecting system, revise this working node time, waited for for 5 seconds, be accurate to μ s and read work at present node time, read the GPS standard time simultaneously, comparison error between the two, repeatedly tests through 30 times and finds that error is accurately within 10 μ s.
In sum, clock synchronizing method based on main website intelligent grid supporting system technology provided by the present invention, hardware have employed redundant configuration, software manages redundant configuration, the method takes full advantage of the alarm function that messaging bus that intelligent grid supporting system technology provides, node administration and public service provide, complete each node of internal system and clock source clock is consistent, accurately, for the management of intelligent grid supporting system technology and the operation of application provide the timestamp of standard.Therefore, the clock synchronizing method that the present invention proposes possesses several large features such as stable, safe and accurate.
Stability is mainly reflected in clock source and clock acquisition two aspects.The stability of clock source have employed configuring redundancy clock source, by clock source real time on-line monitoring, only has a clock source normally to work even if achieve, and also can provide the function of clock service for clock acquisition; The stability of clock acquisition make use of intelligent grid supporting system technology node administration, by multiple clock acquisition server configuration in systems in which, adopt a main how standby node working mode, even if ensure to only have a clock acquisition server normally to work, also do not affect clock acquisition.
Fail safe is mainly reflected in clock acquisition net and timing differential alarm two aspects.Set up clock acquisition local area network (LAN), be separated with system backbone, reduce the interference to system backbone network; Two aspects are embodied in for timing differential, first, when clock acquisition server gathers from multiple clock source, discovery clock time there are differences, second, find local clock when synchronize local clocks and there are differences lock in time, all sending alarm to system when these two kinds of situations occur, prompt system attendant checks and investigation failure cause.
Accuracy is mainly reflected in other working node clock synchronous of system and eliminates time delays aspect.At other working nodes before synchronous local clock, by calculating and eliminate the time delays of clock acquisition server and other working nodes, ensure that system all working nodal clock is consistent with clock source temporal information.
Above the clock synchronizing method based on main website intelligent grid supporting system technology provided by the present invention is described in detail.For one of ordinary skill in the art, to any apparent change that it does under the prerequisite not deviating from connotation of the present invention, all by formation to infringement of patent right of the present invention, corresponding legal liabilities will be born.
Claims (10)
1., based on a clock synchronizing method for main website intelligent grid supporting system technology, it is characterized in that comprising the steps:
S1, accesses multiple clock source in a local network, and arranges clock source priority;
S2, clock acquisition server is arranged clock source status monitoring services, monitors the running status of each clock source, real-time update clock source priority;
S3, judges the running status of multiple stage clock acquisition server, determines master clock acquisition server and standby clock acquisition server, row clock collection of going forward side by side;
S4, master clock acquisition server compares the clock information of the limit priority clock source of local clock and collection, if variant, synchronous local clock;
S5, master clock acquisition server and the mutual clock synchronization message of other working nodes, other working nodes described calculate the time delays between master clock acquisition server and local node, eliminate time delays, upgrade this node time.
2., as claimed in claim 1 based on the clock synchronizing method of main website intelligent grid supporting system technology, it is characterized in that:
Described clock source status monitoring services judges the correctness of described clock acquisition server and clock source network state and described clock source acquisition time, according to the clock source state that clock source status monitoring services provides, arranges the priority of clock source;
When described clock source status monitoring services monitor one or more clock source break down time, reset the priority of clock source; And send warning information.
3., as claimed in claim 1 based on the clock synchronizing method of main website intelligent grid supporting system technology, it is characterized in that:
The clock information of described master clock acquisition server and the described standby all clock sources of clock acquisition collection of server, the all clock informations collected are compared, if there is the clock source inconsistent with other clock informations, then send warning information, and the priority in refresh clock source;
The clock information of the limit priority clock source after renewal is carried out synchronize local clocks by described master clock acquisition server.
4., as claimed in claim 1 based on the clock synchronizing method of main website intelligent grid supporting system technology, it is characterized in that:
Described clock acquisition server arranges clock acquisition service, described clock acquisition service is according to described clock source status monitoring services real time monitoring clock source state, when all clock sources all normally can not work with described clock acquisition server, initiatively report pattern by node administration, described clock acquisition Servers installed is malfunction by driving node management.
5., as claimed in claim 4 based on the clock synchronizing method of main website intelligent grid supporting system technology, it is characterized in that:
When the clock acquisition server being set to malfunction is master clock acquisition server, be master clock acquisition server by the standby clock acquisition Servers installed of normal operation.
6., as claimed in claim 1 based on the clock synchronizing method of main website intelligent grid supporting system technology, it is characterized in that in step s 5, described master clock acquisition server and the mutual clock synchronization message of other working nodes comprise the steps:
S51, after master clock acquisition server collects clock information, sends time synchronized request signal to other working nodes;
S52, after other working nodes receive request signal, to master clock server tranmitting data register synchronization request confirmation;
S53, after master clock acquisition server receives clock synchronous request confirmation, to this node tranmitting data register synch command;
S54, other working nodes receive the computation delay time after clock synchronization command, eliminate time delay and obtain final clock information;
S55, other working nodes send synchronous ending message to master clock collection, and master clock acquisition server receives described synchronous ending message, individual node clock synchronous end cycle.
7., as claimed in claim 6 based on the clock synchronizing method of main website intelligent grid supporting system technology, after described in it is characterized in that, other working nodes receive synch command, the computation delay time specifically comprises the steps:
S541, obtains synchronization node time Tl1, other working nodes when other working nodes send " clock synchronous request confirmation " message to master clock acquisition server and receives the moment Ts that the moment Tl2 of " clock synchronization command " message and master clock acquisition server send " clock synchronization command " message;
S542, according to formula: △ t=(Tl2 – Tl1)/time delay 2 computing times;
S543, according to formula: Te=Ts+ △ t calculates synchronisation of nodes time Te.
8., as claimed in claim 7 based on the clock synchronizing method of main website intelligent grid supporting system technology, after described in it is characterized in that, other working nodes receive synch command, the computation delay time also comprises the steps:
S544, compares the existing clock information of synchronisation of nodes time Te and this locality finally obtained, if the two is identical, synchronous with regard to not needing to carry out nodal clock; If the two is not identical, then synchronous Local Node Clock LNC, makes Local Node Clock LNC consistent with master clock acquisition server clock.
9., as claimed in claim 1 based on the clock synchronizing method of main website intelligent grid supporting system technology, it is characterized in that:
In step s 5, the messaging bus that provided by intelligent grid supporting system technology of described master clock acquisition server and the mutual clock synchronization message of other working nodes.
10. the clock synchronizing method based on main website intelligent grid supporting system technology as described in claim 1 or 6, is characterized in that:
In step s 5, when described master clock acquisition server and the mutual clock synchronization message of other working nodes, it is mutual that described master clock acquisition server and described standby clock acquisition server adopt step S51-S55 to carry out clock synchronization message;
Described standby clock acquisition server calculates the time delays between master clock acquisition server and standby clock acquisition server, eliminates time delays, upgrades the local node time of standby clock acquisition server.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510079184.XA CN104821870B (en) | 2015-02-13 | 2015-02-13 | Clock synchronizing method based on main website intelligent grid supporting system technology |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510079184.XA CN104821870B (en) | 2015-02-13 | 2015-02-13 | Clock synchronizing method based on main website intelligent grid supporting system technology |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104821870A true CN104821870A (en) | 2015-08-05 |
CN104821870B CN104821870B (en) | 2018-02-09 |
Family
ID=53732048
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510079184.XA Expired - Fee Related CN104821870B (en) | 2015-02-13 | 2015-02-13 | Clock synchronizing method based on main website intelligent grid supporting system technology |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104821870B (en) |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105610536A (en) * | 2016-01-04 | 2016-05-25 | 杭州亚美利嘉科技有限公司 | Robot time synchronization method and system |
CN105629107A (en) * | 2015-12-30 | 2016-06-01 | 北京四方继保自动化股份有限公司 | Station clock synchronization fault online monitoring method |
CN105915326A (en) * | 2016-06-23 | 2016-08-31 | 广东电网有限责任公司电力调度控制中心 | Application data switching method and system for area protection control system |
CN106209291A (en) * | 2016-08-30 | 2016-12-07 | 京信通信技术(广州)有限公司 | Clock source list update, clock synchronizing method and the system that base station clock synchronizes |
CN106788838A (en) * | 2016-11-18 | 2017-05-31 | 中国电力科学研究院 | A kind of system and method for Power time synchronization system robust control |
CN108614410A (en) * | 2018-05-04 | 2018-10-02 | 华北科技学院 | Internet of Things monitors asynchronous time service residual count synchronous averaging measurement method |
CN109714403A (en) * | 2018-12-12 | 2019-05-03 | 新华三技术有限公司 | A kind of method and device of determining user's online time |
CN111132302A (en) * | 2019-12-27 | 2020-05-08 | 京信通信系统(中国)有限公司 | Time synchronization method, device, base station equipment and computer readable storage medium |
CN112165369A (en) * | 2020-09-11 | 2021-01-01 | 上海创时汽车科技有限公司 | Time sensitive network redundant clock synchronization method and synchronization system thereof |
CN112550380A (en) * | 2020-11-30 | 2021-03-26 | 卡斯柯信号有限公司 | Dynamic time synchronization method |
CN112715019A (en) * | 2018-09-21 | 2021-04-27 | 三菱电机株式会社 | Communication device, communication system, communication method, and communication program |
CN114285542A (en) * | 2022-01-28 | 2022-04-05 | 高新兴物联科技有限公司 | Network time correction method, equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068133A (en) * | 2007-06-12 | 2007-11-07 | 华为技术有限公司 | Time synchronizing method, network communication system and equipment and time server thereof |
CN102006135A (en) * | 2010-12-03 | 2011-04-06 | 北京华环电子股份有限公司 | Method and device for selecting synchronous clock source |
CN102523066A (en) * | 2011-12-23 | 2012-06-27 | 许继集团有限公司 | Clock synchronization system based on IEEE1588 redundancy slave clock and synchronization method thereof |
CN102684808A (en) * | 2012-06-06 | 2012-09-19 | 哈尔滨工业大学 | Self-adaptive clock synchronous system |
-
2015
- 2015-02-13 CN CN201510079184.XA patent/CN104821870B/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101068133A (en) * | 2007-06-12 | 2007-11-07 | 华为技术有限公司 | Time synchronizing method, network communication system and equipment and time server thereof |
CN102006135A (en) * | 2010-12-03 | 2011-04-06 | 北京华环电子股份有限公司 | Method and device for selecting synchronous clock source |
CN102523066A (en) * | 2011-12-23 | 2012-06-27 | 许继集团有限公司 | Clock synchronization system based on IEEE1588 redundancy slave clock and synchronization method thereof |
CN102684808A (en) * | 2012-06-06 | 2012-09-19 | 哈尔滨工业大学 | Self-adaptive clock synchronous system |
Non-Patent Citations (2)
Title |
---|
国家能源局: "《中华人民共和国电力行业标准DL/T1100.2-2013》", 28 November 2013 * |
许保落 等: "基于多时钟源的时间同步系统设计与应用", 《电力科学与技术学报》 * |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105629107B (en) * | 2015-12-30 | 2018-08-31 | 北京四方继保自动化股份有限公司 | A kind of plant stand lockstep failure on-line monitoring method |
CN105629107A (en) * | 2015-12-30 | 2016-06-01 | 北京四方继保自动化股份有限公司 | Station clock synchronization fault online monitoring method |
CN105610536A (en) * | 2016-01-04 | 2016-05-25 | 杭州亚美利嘉科技有限公司 | Robot time synchronization method and system |
CN105610536B (en) * | 2016-01-04 | 2018-09-07 | 杭州亚美利嘉科技有限公司 | A kind of method for synchronizing time and system of robot |
CN105915326B (en) * | 2016-06-23 | 2019-05-14 | 广东电网有限责任公司电力调度控制中心 | The application data switching method and system of locality protection control system |
CN105915326A (en) * | 2016-06-23 | 2016-08-31 | 广东电网有限责任公司电力调度控制中心 | Application data switching method and system for area protection control system |
CN106209291A (en) * | 2016-08-30 | 2016-12-07 | 京信通信技术(广州)有限公司 | Clock source list update, clock synchronizing method and the system that base station clock synchronizes |
CN106209291B (en) * | 2016-08-30 | 2018-09-14 | 京信通信系统(中国)有限公司 | Clock source list update, clock synchronizing method and the system that base station clock synchronizes |
CN106788838B (en) * | 2016-11-18 | 2020-08-18 | 中国电力科学研究院 | System and method for robust control of power time synchronization system |
CN106788838A (en) * | 2016-11-18 | 2017-05-31 | 中国电力科学研究院 | A kind of system and method for Power time synchronization system robust control |
CN108614410A (en) * | 2018-05-04 | 2018-10-02 | 华北科技学院 | Internet of Things monitors asynchronous time service residual count synchronous averaging measurement method |
CN112715019B (en) * | 2018-09-21 | 2022-07-08 | 三菱电机株式会社 | Communication device, communication system, communication method, and computer-readable recording medium |
CN112715019A (en) * | 2018-09-21 | 2021-04-27 | 三菱电机株式会社 | Communication device, communication system, communication method, and communication program |
CN109714403A (en) * | 2018-12-12 | 2019-05-03 | 新华三技术有限公司 | A kind of method and device of determining user's online time |
CN109714403B (en) * | 2018-12-12 | 2021-11-26 | 新华三技术有限公司 | Method and device for determining online time of user |
CN111132302B (en) * | 2019-12-27 | 2022-05-03 | 京信网络系统股份有限公司 | Time synchronization method, device, base station equipment and computer readable storage medium |
CN111132302A (en) * | 2019-12-27 | 2020-05-08 | 京信通信系统(中国)有限公司 | Time synchronization method, device, base station equipment and computer readable storage medium |
CN112165369A (en) * | 2020-09-11 | 2021-01-01 | 上海创时汽车科技有限公司 | Time sensitive network redundant clock synchronization method and synchronization system thereof |
CN112165369B (en) * | 2020-09-11 | 2023-03-21 | 上海创时汽车科技有限公司 | Time sensitive network redundant clock synchronization method and synchronization system thereof |
CN112550380A (en) * | 2020-11-30 | 2021-03-26 | 卡斯柯信号有限公司 | Dynamic time synchronization method |
CN114285542A (en) * | 2022-01-28 | 2022-04-05 | 高新兴物联科技有限公司 | Network time correction method, equipment and computer readable storage medium |
CN114285542B (en) * | 2022-01-28 | 2023-10-13 | 高新兴物联科技股份有限公司 | Network time correction method, device and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN104821870B (en) | 2018-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104821870A (en) | Master station smart power grid scheduling technology support system-based clock synchronization method | |
CN105471622B (en) | A kind of high availability method and system of the control node active-standby switch based on Galera | |
KR101109980B1 (en) | Facilitating synchronization of servers in a coordinated timing network | |
KR101091460B1 (en) | Facilitating recovery in a coordinated timing network | |
CN103856360B (en) | A kind of synchronization link fault detection method and device | |
CN104113386B (en) | It is a kind of to monitor the synchronous method and device of ethernet clock | |
US20140185632A1 (en) | Network and Method for Implementing a High-Availability Grand Master Clock | |
CN110798276B (en) | Time synchronization method and system for SDN (software defined network) of intelligent substation | |
CN101252426B (en) | Method for realizing high-reliability distributed redundant looped network | |
CN108282243B (en) | A kind of clock source reliability guarantee method suitable for master-slave mode method for synchronizing time | |
CN103248445A (en) | Clock synchronization method and device | |
JP2010528345A (en) | Method, system, and computer program for defining a tier 1 configuration in an agreement timing network | |
CN102752065A (en) | Time synchronization method and system | |
WO2016106908A1 (en) | Method and system for synchronizing clocks in sdh network | |
CN110492967A (en) | A kind of method for synchronizing time, trunking and device | |
CN109873693A (en) | A kind of substation's clock synchronization situation cognitive method | |
CN104641612A (en) | Intelligent supervision for configuration of precision time protocol (PTP) entities | |
CN102957545B (en) | The maintaining method and device of synchronous network clock | |
TW201824030A (en) | Main database/backup database management method and system and equipment thereof | |
CN102195769A (en) | Clock synchronization method for automobile CAN (Control Area Network) | |
CN116319618A (en) | Switch operation control method, device, system, equipment and storage medium | |
CN105357069A (en) | Distributed node service state monitoring method, device and system | |
JP5120097B2 (en) | Time synchronization system and time synchronization apparatus | |
CN114064217B (en) | OpenStack-based node virtual machine migration method and device | |
CN106656395B (en) | Based on the improved power grid time synchronized measurement system of self study and method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20180209 Termination date: 20190213 |
|
CF01 | Termination of patent right due to non-payment of annual fee |