CN104821870B - Clock synchronizing method based on main website intelligent grid supporting system technology - Google Patents

Clock synchronizing method based on main website intelligent grid supporting system technology Download PDF

Info

Publication number
CN104821870B
CN104821870B CN201510079184.XA CN201510079184A CN104821870B CN 104821870 B CN104821870 B CN 104821870B CN 201510079184 A CN201510079184 A CN 201510079184A CN 104821870 B CN104821870 B CN 104821870B
Authority
CN
China
Prior art keywords
clock
acquisition server
time
source
master
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.)
Expired - Fee Related
Application number
CN201510079184.XA
Other languages
Chinese (zh)
Other versions
CN104821870A (en
Inventor
叶飞
王恒
马志斌
梅峥
杜鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Kedong Electric Power Control System Co Ltd
Original Assignee
Beijing Kedong Electric Power Control System Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kedong Electric Power Control System Co Ltd filed Critical Beijing Kedong Electric Power Control System Co Ltd
Priority to CN201510079184.XA priority Critical patent/CN104821870B/en
Publication of CN104821870A publication Critical patent/CN104821870A/en
Application granted granted Critical
Publication of CN104821870B publication Critical patent/CN104821870B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention discloses a kind of clock synchronizing method based on main website intelligent grid supporting system technology, comprises the following steps:S1, multiple clock sources are accessed in a local network, and clock source priority is set;S2, clock source status monitoring services, real-time update clock source priority are set on clock acquisition server;S3, the node administration provided using intelligent grid supporting system technology determine master clock acquisition server and standby clock acquisition server, row clock of going forward side by side collection;S4, master clock acquisition server compare the clock information of local clock and the limit priority clock source of collection, the synchronous local clock if variant;S5, master clock acquisition server interact clock synchronization message with other working nodes, and other working nodes calculate time delayses and eliminated, and update this node time.This method improves the time precision of intelligent grid supporting system technology, has ensured the uniformity of system clock.

Description

Clock synchronizing method based on main website intelligent grid supporting system technology
Technical field
The present invention relates to a kind of clock synchronizing method, more particularly to a kind of main website intelligent grid dispatching technique that is based on to support system The clock synchronizing method of system, belong to electric power system dispatching technical field.
Background technology
With the development of intelligent grid and the progress of technology, power informatization, automation, interactive level are increasingly Height, for the requirement also more and more higher of the information and data accuracy of operation of power networks and system software, the time as it is information-based, from The basis of dynamicization, increasingly highlighted in the importance of power scheduling runtimes at different levels.Generation Control, generation schedule, state estimation Unified accurate system time is required for as basis of software etc. each specialty, therefore, to the system of support operation of power networks and control Software proposes higher requirement in the time precision needed for each links such as collection, processing, filing, alarm and stability.
Currently, the D5000 systems (intelligent grid supporting system technology) that State Grid Corporation of China releases use single clock Realize clock synchronization in source.The multiple clock acquisition servers of system configuration, set one of clock acquisition server to enter row clock Gather, after service fault, be switched to other clock acquisition servers and carry out clock acquisition, it is finally that acquisition server is same with other Configuration NTP (Network Time Protocol) is serviced between walking node.
Because system only provides a clock source, system clock time service certainly will be caused to interrupt when clock source failure, it is impossible to Ensure the stability of system clock, meanwhile, serviced by NTP and carry out that nodal clock is synchronous, by pair when initiative deliver completely To operating system, synchronous whole process can not intervene, and also incapability is in the case that clock source is there occurs clock error Power, finally result in whole system clock error.Moreover, the time that have ignored between clock acquisition server and other servers is same Step delay, often causes the nonsynchronous problem of each nodal clock.In addition, the correctness of clock data and hidden danger can not be entered Row monitoring, it is impossible to ensure the reliability of clock data.
The content of the invention
In view of the shortcomings of the prior art, the technical problems to be solved by the invention are to provide one kind based on main website intelligence electricity The clock synchronizing method of net supporting system technology.
For achieving the above object, the present invention uses following technical schemes:
A kind of clock synchronizing method based on main website intelligent grid supporting system technology, comprises the following steps:
S1, multiple clock sources are accessed in a local network, and clock source priority is set;
S2, clock source status monitoring services are set on clock acquisition server, monitor the running status of each clock source, it is real When refresh clock source priority;
S3, judge the running status of more clock acquisition servers, determine master clock acquisition server and standby clock acquisition Server, row clock of going forward side by side collection;
S4, master clock acquisition server compare the clock information of local clock and the limit priority clock source of collection, such as The variant then synchronous local clock of fruit;
S5, master clock acquisition server interact clock synchronization message, other described working node meters with other working nodes The time delayses between master clock acquisition server and local node are calculated, time delayses is eliminated, updates this node time.
Wherein more preferably, the clock source status monitoring services judge the clock acquisition server and clock source network shape State and the clock source obtain the correctness of time, the clock source state provided according to clock source status monitoring services, set The priority of clock source;
When the clock source status monitoring services monitor that one or more clock sources break down, clock is reset The priority in source;And send warning information.
Wherein more preferably, the master clock acquisition server and all clock sources of the standby clock acquisition collection of server Clock information, all clock informations collected are compared, if in the presence of the clock source inconsistent with other clock informations, Send warning information, and the priority in refresh clock source;
The clock information of limit priority clock source after renewal is carried out local clock by the master clock acquisition server It is synchronous.
Wherein more preferably, clock acquisition service is set on the clock acquisition server, and the clock acquisition services basis The real-time watchdog timer source state of clock source status monitoring services, when all clock sources can not be with the clock acquisition service During device normal work, pattern is actively reported by node administration, driving node management sets the clock acquisition server For malfunction.
Wherein more preferably, when the clock acquisition server for being arranged to malfunction is main clock acquisition server, will transport Normally standby clock acquisition server is arranged to master clock acquisition server to row.
Wherein more preferably, in step s 5, the master clock acquisition server is synchronous with other working nodes interaction clock Message comprises the following steps:
S51, after master clock acquisition server collects clock information, time synchronized request letter is sent to other working nodes Number;
S52, after other working nodes receive request signal, to master clock server tranmitting data register synchronization request confirmation letter Breath;
S53, it is synchronous to the node tranmitting data register after master clock acquisition server receives clock synchronization request confirmation Order;
S54, other working nodes receive the computation delay time after clock synchronization command, when eliminating delay and obtaining final Clock information;
S55, other working nodes gather to master clock and send synchronous ending message, described in the reception of master clock acquisition server Synchronous ending message, individual node clock terminate synchronizing cycle.
Wherein more preferably, the computation delay time specifically includes following step after other described working nodes receive synch command Suddenly:
S541, it is same when obtaining other working nodes to master clock acquisition server transmission " confirmation of clock synchronization request " message Tl2 and master clock acquisition server at the time of step node time Tl1, other working nodes receive " clock synchronization command " message Ts at the time of sending " clock synchronization command " message;
S542, according to formula:△ t=(Tl2-Tl1)/2 calculate time delayses;
S543, according to formula:Te=Ts+ △ t calculate egress lock in time Te.
Wherein more preferably, the computation delay time also includes following step after other described working nodes receive synch command Suddenly:
S544, by the node lock in time Te finally given compared with local existing clock information, if the two phase Together, avoid the need for carrying out nodal clock synchronization;If the two is differed, synchronous Local Node Clock LNC, make Local Node Clock LNC with Master clock acquisition server clock is consistent.
Wherein more preferably, in step s 5, the master clock acquisition server supports system by intelligent grid dispatching technique The messaging bus that system provides interacts clock synchronization message with other working nodes.
Wherein more preferably, in step s 5, the master clock acquisition server is synchronous with other working nodes interaction clock During message, it is synchronous that the master clock acquisition server with the standby clock acquisition server enters row clock using step S51-S55 Interacting message;
The standby clock acquisition server calculates the time between master clock acquisition server and standby clock acquisition server Delay, time delayses are eliminated, update the local node time of standby clock acquisition server.
Clock synchronizing method provided by the present invention based on main website intelligent grid supporting system technology, first, lead to Cross and the redundancy of clock source is set and managed, ensured that clock source provides clock clothes to intelligent grid supporting system technology The ability of business, secondly, the node administration provided using intelligent grid supporting system technology, it ensure that synchronization is always present One clock acquisition server normal acquisition, and it is same to the other working nodes of intelligent grid supporting system technology to send clock Step instruction, intelligent grid supporting system technology clock synchronous stability and reliability are improved, finally, when passing through elimination Between be delayed, reduce system clock error, ensured the synchronous accuracy of system clock.
Brief description of the drawings
Fig. 1 is the schematic diagram of clock synchronous architecture in clock synchronizing method provided by the present invention;
Fig. 2 is the flow chart of clock synchronizing method provided by the present invention;
Fig. 3 is the schematic diagram of clock source status monitoring in clock synchronizing method provided by the present invention;
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, when being carried out based on intelligent grid supporting system technology The schematic diagram of clock collection;
Fig. 6 is the flow chart of nodal clock synchronous interaction in clock synchronizing method provided by the present invention;
Fig. 7 is the flow chart for the clock synchronization that time delay is eliminated in clock synchronizing method provided by the present invention.
Embodiment
The technology contents of the present invention are described in further detail with specific embodiment below in conjunction with the accompanying drawings.
The present invention enters in the method that row clock synchronously uses for current intelligent grid supporting system technology, using list Clock source, NTP are serviced and are ignored the problem of time delayses are brought, and by the Redundancy Management to clock source, have ensured clock source The ability of clock service is provided to system, the section of the clock acquisition server provided using intelligent grid supporting system technology It point management, ensure that synchronization always has a clock acquisition server normal acquisition, and sent out to the other working nodes of system Go out clock synchronic command, the reliable and stable of system clock synchronization is improved, by introducing time delayses algorithm, in working node Delay time is eliminated before clock is synchronous, reduces system clock error, has ensured the synchronous accuracy of system clock.Below to this mistake Journey does detailed specific description.
As shown in figure 1, the clock synchronizing method provided by the invention based on main website intelligent grid supporting system technology, It is main to contain clock acquisition, Clock management and clock synchronization.Wherein, when clock acquisition refers to that clock acquisition server passes through Clock gathers LAN and carries out clock information collection to clock source;Clock management refers to multiple clock sources and multiple clock acquisitions clothes The management of business device;Clock is synchronously clock acquisition server by intelligent grid supporting system technology backbone network to intelligence Other working nodes of dispatching of power netwoks technology support system enter row clock synchronization.
In clock acquisition LAN each clock source in real time from satellite obtain clock information, clock acquisition server from Clock information is obtained in each clock source, after clock ratio is to analysis, is given by master clock acquisition server tranmitting data register information Other working nodes.By in clock acquisition server design clock source status monitoring services, monitoring the state of clock source in real time, Clock source is managed according to working condition, the management of clock acquisition server is mainly supported using intelligent grid dispatching technique The node administration that system provides carries out the management of active/standby mode.
The clock of other working nodes is synchronously after master clock acquisition server obtains clock information, utilizes intelligent grid The messaging bus that supporting system technology provides, by intelligent grid supporting system technology core network to other work Node tranmitting data register synchronization message, the final clock synchronization realized to other working nodes.As shown in Fig. 2 specifically include as follows Step:
S1, multiple clock sources are accessed in a local network, and clock source priority is set.
Access in a local network multiple clock sources (such as:GPS, big dipper clock etc.), and clock source priority is set, make place The clock information for synchronous local clock is provided for clock acquisition server in the clock source of high level priority, when in advanced After the clock source failure (cisco unity malfunctions such as satellite time or network failure can not be received) of priority, switch clock in real time Source, ensure the stability of clock acquisition.
S2, clock source status monitoring services are set on clock acquisition server, monitor the running status of clock source in real time, it is real When refresh clock source priority.
Equipment of the clock source as receiving satellite clock and providing clock service, to detect the stabilization of clock source, online fortune OK, clock source status monitoring services are provided on clock acquisition server, as shown in figure 3, clock source status monitoring services are used to sentence Timing clock source receives satellite clock and provides the ability of service.The clock source status monitoring services are disposed and operate in every clock On acquisition server, whether just its function mainly judges this clock acquisition server and clock source network state and clock source Really obtain satellite time.The clock source state provided according to clock source status monitoring services, the priority level of clock source is set, and In real time, efficiently it is updated and sets, ensures that clock source failure or network failure do not influence clock acquisition server clock Collection.
As shown in table 1, in embodiment provided by the present invention, by taking four clock source redundant configurations as an example, when sometimes When Zhong Yuanjun is normal, each clock source is set according to the priority given tacit consent in step S1, monitors that clock source A breaks down, other Clock source is normal, will remove clock source A collection priority, clock source B priority is arranged into limit priority, with such Push away, set clock source to gather priority.Meanwhile to remind dispatching automation personnel clock source to safeguard, monitor clock source failure Afterwards, warning information need to be sent.Clock source redundant configuration, which realizes single clock source failure, not to be influenceed to intelligent grid dispatching technique branch Hold system and alarm prompt immediately is provided after clock service and clock source failure, improve the stability and security of clock source.
The clock source priority of table 1 is configured and set
S3, the node administration provided using intelligent grid supporting system technology judge more clock acquisition servers Running status, determine master clock acquisition server and standby clock acquisition server, row clock of going forward side by side collection.
Base pipe is carried out to clock acquisition server using the node administration that intelligent grid supporting system technology provides Reason, node administration active watchdog timer acquisition server running status, the master that clock acquisition server is set is configured according to node Standby pattern, keeps one main prepare more state of clock acquisition server, and host node (master clock acquisition server) is responsible for collection clock source Clock information, clock information is gone out according to the protocol analysis that clock source provides, and synchronously believe to other working node tranmitting data registers Breath, slave node (standby clock acquisition server) is only responsible for collection clock source clock information, and the clock for receiving host node transmission is same Walk information, the clock information of synchronous local node.
Actively monitoring can only monitor node critical processes running status to node administration, it is impossible to monitor whether node processes are normal Own service is handled, although to avoid the occurrence of node normal operation, due in clock acquisition server and clock source whole It is disconnected, cause node administration " mistake " to switch the problem of node is acquired for host node, provided on clock acquisition server when Clock collection service is according to the real-time watchdog timer source state of clock source status monitoring services, when all clock sources can not be with this node Normal work, pattern is actively reported by node administration, this clock acquisition server is arranged to " failure " by driving node management State, if this node is main node, change its node state immediately, by the clock acquisition server of normal operation set based on save Point.
Clock acquisition service is realized when clock acquisition server failure, is not influenceed the clock acquisition of system, is improved The stability and reliability of clock acquisition.
S4, master clock acquisition server compare the clock information of local clock and the limit priority clock source of collection, such as The variant then synchronous local clock of fruit, keep local clock consistent with clock source.
As shown in figure 5, in embodiment provided by the present invention, clock source status monitoring services are that clock acquisition service carries For the priority and status information of clock source, state for the clock acquisition server of " master " and " standby " be responsible for collection it is stateful The clock information of the clock source of " normal ", and the multiple clock informations collected are compared, if believing in the presence of with other clocks Inconsistent clock source is ceased, then the clock source breaks down, alarm prompt dispatch automated system attendant.Meanwhile update The priority of clock source.Master clock acquisition server is using the clock information of the limit priority clock source after renewal as collection Clock information, compare local clock and collection clock information, the synchronous local clock if variant, keep local clock with Clock source is consistent.Finally, the messaging bus that master clock acquisition server is provided using intelligent grid supporting system technology will The clock information of acquisition is sent to standby clock acquisition server and other working nodes, asks standby clock acquisition server and other Working node synchronised clock.
Whether based on the clock acquisition to redundancy clock source, it is normally synchronous with satellite clock to predict clock source in advance, Whether the clock information of collection is normal, and according to warning information dispatching automation attendant can be assisted to enter failing clock source Row inspection, the reliability of safeguards system clock.
S5, master clock acquisition server pass through the messaging bus that intelligent grid supporting system technology provides and other works Make node interaction clock synchronization message, calculate the time delayses between master clock acquisition server and local node, eliminate the time Delay, this node time is updated, keep local node consistent with master clock acquisition server.
Other working node Clock Synchronization Procedures are the information exchanges of a node and master clock acquisition server cycle Process.In embodiment provided by the present invention, by taking signal period as an example, as shown in fig. 6, specifically comprising the following steps:
S51, after master clock acquisition server collects clock information, first sending time synchronized to other working nodes please Seek signal.
S52, after other working nodes receive request signal, immediately to master clock server tranmitting data register synchronization request Confirmation.
S53, it is synchronous to the node tranmitting data register after master clock acquisition server receives clock synchronization request confirmation Order.
S54, other working nodes receive the computation delay time after clock synchronization command, when eliminating delay and obtaining final Clock information.
Because distance is different between interchanger between each node of system backbone network, while exists and locate on backbone network Intensity of traffic difference is managed, these factors can all cause master clock acquisition server to send system clock to other work of system Delay on node can be different, to provide each nodal clock of system synchronous accuracy, therefore, when each node receives Need to consider the network delay between the node and master clock acquisition server during clock synchronizing information.
Time delayses algorithm foundation is information exchange will to be carried out between master clock acquisition server and other working nodes, In embodiment provided by the present invention, by taking single synchronization node as an example, core network delay is calculated.As shown in fig. 7, describe From main acquisition server to the message interaction process needed other synchronous working nodes of clock, provided by the present invention In embodiment, to other working node clocks, synchronous each moment detailed process is defined as follows:
T0, T1 moment:At the time of synchronization message asks interactive signal, time delayses are not had an impact;
The T2 moment:Other working nodes (synchronization node) send " confirmation of clock synchronization request " to master clock acquisition server At the time of message, master clock acquisition server will be sent to current " local node time " by sending in message content, and mark is current " local node time " (synchronization node time) is Tl1;
The T3 moment:At the time of master clock acquisition server receives " confirmation of clock synchronization request " message;
The T4 moment:At the time of master clock acquisition server sends " clock synchronization command " message, send in message content and wrap Time Ts and synchronization node time Tl1 is sent containing main acquisition node;
The T5 moment:At the time of synchronization node receives " clock synchronization command " message, current local time is now obtained again Tl2;
T6, T7 moment:At the time of synchronization message terminates interactive signal, time delayses are not had an impact.
The computation delay time specifically comprises the following steps after other working nodes receive synch command:
S541, obtain when synchronization node sends " confirmation of clock synchronization request " message to master clock acquisition server and synchronously save At the time of point time Tl1, synchronization node receive " clock synchronization command " message Tl2 and master clock acquisition server send " when Ts at the time of clock synch command " message.
S542, according to formula:△ t=(Tl2-Tl1)/2 calculate time delayses.
According to above-mentioned moment definition and interaction content, according to below equation (1), when can calculate main in the period from T2 to T5 Time delayses △ t between clock acquisition server and synchronization node, because this process contains message transmission twice, therefore during calculating Between delay Equation be:
△ t=(Tl2-Tl1)/2 (1)
S543, according to formula:Te=Ts+ △ t calculate egress lock in time Te, and it is same finally to realize Local Node Clock LNC Step.
According to (2) below formula, the relation that can be sent by main acquisition node between time Ts and time delayses △ t calculates Egress lock in time Te, Local Node Clock LNC synchronization is finally realized, other node synchronizing relays calculate and local clock is same Step is carried out in this approach.
Te=Ts+ △ t (2)
Time delayses are eliminated, this node time is updated and obtains final clock information.
S544, by the node lock in time Te finally given compared with local existing clock information, if the two phase Together, avoid the need for carrying out nodal clock synchronization;If the two is differed, synchronous Local Node Clock LNC, and send clock to system Synchronous prompting, suggestion content include clock after clock, synchronization before node name, system.Keep local node clock information with The clock information of master clock acquisition server is consistent.
S55, other working nodes send synchronous ending message to master clock collection, and master clock acquisition server receives together The end of the step information, individual node clock terminate synchronizing cycle.
In embodiment provided by the present invention, master clock acquisition server interacts clock with other working nodes and synchronously disappeared During breath, master clock acquisition server carries out clock synchronization message using step S51-S55 with standby clock acquisition server and interacted, standby Clock acquisition server using step S541-S544 calculate between master clock acquisition server and standby clock acquisition server when Between be delayed, eliminate time delayses, update the local node time of standby clock acquisition server.
The survey of stability, security and the aspect of accuracy three has been carried out to the clock synchronizing method realized by above-mentioned steps Examination, before test, is configured with four GPS clock sources, four clock acquisition services on intelligent grid supporting system technology Device, and clock synchronizing software is deployed on clock acquisition server.
Stability test:30 clock source failures and clock acquisition server failure are simulated respectively, are simulated 30 times Single clock source and single clock acquisition server failure, find that each nodal clock of internal system is unified in test, and not Because single clock source or single clock acquisition server failure interrupt the ability of system clock service.
Security test:Simulate wherein single clock source and the situation of other clock source clock information deviations 50%, test 30 times, can normally send every time clock source clock jitter alarm, and every time clock acquisition server choose it is correct Clock information, the correct of system clock information is not influenceed.
The test of accuracy:Any operative node inside selecting system, is changed the working node time, is waited 5 seconds, essence Work at present node time really is read to μ s, while reads the GPS standard time, error between the two is compared, by 30 times Test finds error accurately within 10 μ s repeatedly.
In summary, the clock synchronization side provided by the present invention based on main website intelligent grid supporting system technology Method, redundant configuration is employed on hardware, redundant configuration is managed on software, this method takes full advantage of intelligent electricity The alarm function that messaging bus that net supporting system technology provides, node administration and public service provide, completes and is The internal each node of system is consistent, accurately with clock source clock, is the management and application of intelligent grid supporting system technology Operation provide the timestamp of standard.Therefore, clock synchronizing method proposed by the present invention possesses stabilization, safety and accurate etc. several Big feature.
Stability is mainly reflected in two aspects of clock source and clock acquisition.The stability of clock source employs configuring redundancy Clock source, by clock source real time on-line monitoring, even if realizing an only clock source normal work, can also be adopted for clock Collection provides the function of clock service;The stability of clock acquisition make use of intelligent grid supporting system technology node administration, By the configuration of multiple clock acquisition servers in systems, using the node working mode of a main prepare more, even if ensureing only one Clock acquisition server normal work, nor affects on clock acquisition.
Security is mainly reflected in clock acquisition net and timing differential alerts two aspects.Clock acquisition LAN is set up, Separated with system backbone, reduce the interference to system backbone network;In terms of two being embodied in for timing differential, first, when Clock acquisition server from multiple clock sources gather when, find clock time have differences, second, when local clock synchronously find Local clock has differences with lock in time, and this two kinds of situations send alarm, prompt system attendant when occurring to system Check and investigate failure cause.
Accuracy is mainly reflected in system other working node clocks synchronization and eliminates time delayses aspect.In other work sections Point is before synchronous local clock, by calculating and eliminating the time delayses of clock acquisition server and other working nodes, ensures System all working nodal clock is with clock source temporal information consistent.
The clock synchronizing method provided by the present invention based on main website intelligent grid supporting system technology is entered above Detailed description is gone.For those of ordinary skill in the art, to it on the premise of without departing substantially from true spirit Any obvious change done, will all form to infringement of patent right of the present invention, will undertake corresponding legal liabilities.

Claims (8)

1. a kind of clock synchronizing method based on main website intelligent grid supporting system technology, it is characterised in that including following step Suddenly:
S1, multiple clock sources are accessed in a local network, and clock source priority is set;
S2, clock source status monitoring services are set on clock acquisition server, monitor the running status of each clock source, in real time more New clock source priority;The clock source status monitoring services judge the clock acquisition server and clock source network state with And the clock source obtains the correctness of time, the clock source state provided according to clock source status monitoring services, clock is set The priority in source;
When the clock source status monitoring services monitor that one or more clock sources break down, clock source is reset Priority;And send warning information;
S3, judge the running status of more clock acquisition servers, determine master clock acquisition server and standby clock acquisition service Device, row clock of going forward side by side collection;The master clock acquisition server and all clock sources of the standby clock acquisition collection of server Clock information, all clock informations collected are compared, if in the presence of the clock source inconsistent with other clock informations, Send warning information, and the priority in refresh clock source;
The clock information of limit priority clock source after renewal is carried out local clock synchronization by the master clock acquisition server;
S4, master clock acquisition server compare the clock information of local clock and the limit priority clock source of collection, if Difference then synchronous local clock;
S5, master clock acquisition server interact clock synchronization message with other working nodes, and other described working nodes calculate master
Time delayses between clock acquisition server and local node, time delayses are eliminated, update this node time.
2. the clock synchronizing method based on main website intelligent grid supporting system technology as described in claim 1, it is special Sign is:
Clock acquisition service is set on the clock acquisition server, and the clock acquisition service is supervised according to the clock source state Service real-time watchdog timer source state is surveyed, when all clock sources can not be with the clock acquisition server normal work, is led to That crosses node administration actively reports pattern, and the clock acquisition server is arranged to malfunction by driving node management.
3. the clock synchronizing method as claimed in claim 2 based on main website intelligent grid supporting system technology, its feature It is:
When the clock acquisition server for being arranged to malfunction is main clock acquisition server, the standby clock of normal operation is adopted Collection server is arranged to master clock acquisition server.
4. the clock synchronizing method based on main website intelligent grid supporting system technology as described in claim 1, it is special For sign in step S5, the master clock acquisition server interacts clock synchronization message with other working nodes including as follows Step:
S51, after master clock acquisition server collects clock information, time synchronized request signal is sent 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 synchronization request confirmation, synchronously ordered to the node tranmitting data register Order;
S54, other working nodes receive the computation delay time after clock synchronization command, eliminate delay and obtain final clock letter Breath;
S55, other working nodes send synchronous ending message to master clock collection, and master clock acquisition server receives the synchronization Ending message, individual node clock terminate synchronizing cycle.
5. the clock synchronizing method based on main website intelligent grid supporting system technology as described in claim 4, it is special Sign be other described working nodes receive synch command after the computation delay time specifically comprise the following steps:
S541, obtain when other working nodes send " confirmation of clock synchronization request " message to master clock acquisition server and synchronously save Tl2 and master clock acquisition server at the time of point time Tl1, other working nodes receive " clock synchronization command " message Ts at the time of sending " clock synchronization command " message;
S542, according to formula:△ t=(Tl2-Tl1)/2 calculate time delayses;
S543, according to formula:Te=Ts+ △ t calculate egress lock in time Te.
6. the clock synchronizing method as claimed in claim 5 based on main website intelligent grid supporting system technology, its feature The computation delay time also comprises the following steps after other working nodes described in being receive synch command:
S544, by the node lock in time Te finally given compared with local existing clock information, if the two is identical, Avoid the need for carrying out nodal clock synchronization;If the two is differed, synchronous Local Node Clock LNC, make Local Node Clock LNC with it is main when Clock acquisition server clock is consistent.
7. the clock synchronizing method based on main website intelligent grid supporting system technology as described in claim 1, it is special Sign is:
In step S5, the message that the master clock acquisition server is provided by intelligent grid supporting system technology is total Line interacts clock synchronization message with other working nodes.
8. the clock synchronizing method as claimed in claim 4 based on main website intelligent grid supporting system technology, its feature It is:
In step S5, when the master clock acquisition server interacts clock synchronization message with other working nodes, the master Clock acquisition server carries out clock synchronization message using step S51-S55 with the standby clock acquisition server and interacted;
The standby clock acquisition server calculates the time delayses between master clock acquisition server and standby clock acquisition server, Time delayses are eliminated, update the local node time of standby clock acquisition server.
CN201510079184.XA 2015-02-13 2015-02-13 Clock synchronizing method based on main website intelligent grid supporting system technology Expired - Fee Related CN104821870B (en)

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 CN104821870A (en) 2015-08-05
CN104821870B true 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)

Families Citing this family (12)

* Cited by examiner, † Cited by third party
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
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
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
CN108614410B (en) * 2018-05-04 2021-05-04 华北科技学院 Internet of things monitoring asynchronous time service residual counting synchronous starting measurement method
WO2020059139A1 (en) * 2018-09-21 2020-03-26 三菱電機株式会社 Communication device, communication system, communication method, and communication program
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
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
CN114285542B (en) * 2022-01-28 2023-10-13 高新兴物联科技股份有限公司 Network time correction method, device and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
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

Patent Citations (4)

* Cited by examiner, † Cited by third party
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 (1)

* Cited by examiner, † Cited by third party
Title
基于多时钟源的时间同步系统设计与应用;许保落 等;《电力科学与技术学报》;20110930;第26卷(第3期);正文第2.1节、第2.3节第1-2段,图1 *

Also Published As

Publication number Publication date
CN104821870A (en) 2015-08-05

Similar Documents

Publication Publication Date Title
CN104821870B (en) Clock synchronizing method based on main website intelligent grid supporting system technology
CN102238719B (en) Time synchronization method and device and distributed time synchronization system
CN103856360B (en) A kind of synchronization link fault detection method and device
CN106451763B (en) A kind of intelligent substation station level bus network system without global synchronization system
CN101252426B (en) Method for realizing high-reliability distributed redundant looped network
CN108710544A (en) A kind of process monitoring method and track traffic synthetic monitoring system of Database Systems
CN1929412B (en) Apparatus and method for dynamically debugging a multi-node network
CN102752065B (en) A kind of method for synchronizing time and system
CN107819537A (en) It is a kind of based on synchronous closed loop monitoring electric substation automation system pair when method of calibration
CN110798276B (en) Time synchronization method and system for SDN (software defined network) of intelligent substation
CN103973815A (en) Method for unified monitoring of storage environment across data centers
CN108540379A (en) Time synchronization disturbance switching method, time synchronism apparatus and system based on IEEE 1588V2
CN103067230A (en) Method for achieving hyper text transport protocol (http) service monitoring through embedding monitoring code
CN104834582A (en) Monitoring event display method
CN102957545B (en) The maintaining method and device of synchronous network clock
CN110492967A (en) A kind of method for synchronizing time, trunking and device
CN106254022A (en) Time supervision based on clock synchronization apparatus and time delay query software system platform
CN104202204B (en) Clock synchronization control method, apparatus and system based on SNTP
CN112003768B (en) Multi-node test system and method for executing multi-node test
CN105357069A (en) Distributed node service state monitoring method, device and system
CN116319618A (en) Switch operation control method, device, system, equipment and storage medium
Johansson et al. Heartbeat bully: failure detection and redundancy role selection for network-centric controller
CN106647228B (en) Converter station master clock fault judgment system
CN103576014A (en) Clock monitoring device and monitoring method of transformer substation
CN109283829A (en) A kind of control method of regional clock system

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