CN101667906A - Method and system for switching main and backup clocks - Google Patents

Method and system for switching main and backup clocks Download PDF

Info

Publication number
CN101667906A
CN101667906A CN200810146642A CN200810146642A CN101667906A CN 101667906 A CN101667906 A CN 101667906A CN 200810146642 A CN200810146642 A CN 200810146642A CN 200810146642 A CN200810146642 A CN 200810146642A CN 101667906 A CN101667906 A CN 101667906A
Authority
CN
China
Prior art keywords
clock
board
master
logic chip
chip
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
Application number
CN200810146642A
Other languages
Chinese (zh)
Other versions
CN101667906B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008101466427A priority Critical patent/CN101667906B/en
Publication of CN101667906A publication Critical patent/CN101667906A/en
Application granted granted Critical
Publication of CN101667906B publication Critical patent/CN101667906B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for switching main and backup clocks, which is applied to a system comprising a main clock board and a backup clock board. Clock generation chips of the main clock board and the backup clock board respectively track a common-frequency clock source of the respective clock board; the mutual transmission of the main and backup clocks and data is achieved through respective logic chips; when the main and backup clocks are to be switched, a pre-switching instruction is sent to the logic chip of the main clock board, and after receiving the instruction, the logic chip of the main clock board sends a synchronous instruction to the logic chip of the backup clock board; after receiving the synchronous instruction, the logic chip of the backup clock board sends an effective synchronous signal in a pulse form to the clock generation chip of the backup clock board; and the clock generation chip of the backup clock board stops the clock output when the synchronous signal is effective, and restores the clock output after first delay time when the synchronous signal is not effective, phase positions of the main and backup clocks are aligned, and the main and backup clocks are instructed to execute main and backup switching. The method cannot cause phase position transient variation, unstable system and poor reliability due to the switching, and simultaneouslyhas less occupied resources.

Description

The method and system that a kind of master/backup clock switches
Technical field
The present invention relates to the switching of master/backup clock, more specifically, relate to the method and system that a kind of master/backup clock switches.
Background technology
Clock is the key signal of communication equipment, and every performance of clock can influence the performance of veneer and even whole system.So guarantee that the accuracy of the every performance of communication equipment clock and stability are very important for communication equipment.So each correspondence entity, country and operator all will carry out strict test to the every performance of the clock of equipment before equipment networks.The performance index of clock mainly comprise frequency and phase place, and the performance of investigating These parameters usually comprises long-term stability, long-term accuracy, keeps performance, phase transient and phase discontinuity etc.
The general reliability that main veneer is backed up raising equipment that adopts of communication equipment, clock is a very important part for communication equipment, therefore in the design of communication equipment clock, adopted the back-up job mode, in case master clock breaks down, being equipped with the alternative immediately master clock of clock provides timing signal for communication equipment.The switching of active and standby clock will guarantee business is not exerted an influence as far as possible, produce professional hit, error code etc. when for example switching, therefore under any circumstance, must guarantee when master/backup clock switches, the frequency and the phase place of master/backup clock are alignd, otherwise equipment will produce error code even service disconnection.
At existing clock backup scheme main phase-locked loop and the secondary phase-locked loops of adopting, promptly active clock adopts digital phase-locked loop track reference source more, is equipped with clock and adopts analog phase-locked look to follow the tracks of active clock, makes standby output clock and active clock phase alignment.It mainly is in order to guarantee that system clock satisfies the communication equipment relevant criterion, can to make clock work in various mode of operations, as states such as locking, tracking, maintenance and free oscillations that active clock adopts digital phase-locked loop.And the consideration that standby clock adopts analog loop mainly to differ for master/backup clock.The analog phase-locked look residue differs comparatively constant, and high conformity is being equipped with clock or master clock adjusting time-delay, can reach active and standby clock output alignment.
In this clock scheme, it is a major-minor phase-locked loop operation handoff procedure that clock active/standby switches.Suppose that A is arranged, two clock boards of B, the A plate is defaulted as main board, the B plate is a standby plate.This moment, the main phase-locked loop operation of A plate was a digital phase-locked loop, the locking reference source, and secondary phase-locked loop is an analog phase-locked look, does not work, and is network element output timing signal simultaneously; The main phase-locked loop of B plate is not worked, and secondary phase-locked loop is followed the tracks of and the timing signal of locking A plate output, and the B plate is not exported timing signal.If take place artificial force to switch to B master with or the A plate break down, the timing signal of network element switches to the output of B plate, A, B plate major-minor phase-locked loop operation are switched simultaneously, and the B plate is followed the tracks of A plate output timing signal by secondary phase-locked loop and switched to main phase-locked loop track reference source signal; On the contrary, the A plate switches to the timing signal that secondary phase-locked loop is followed the tracks of the output of B plate by main phase-locked loop, and this moment, the A plate was not exported timing signal.
Switch in the digital phase-locked loop process in analog phase-locked look like this and be easy to generate phase transient, promptly the clock phase discontinuity causes clock phenomenons such as error code to occur because of active and standby switching.This method also has following defective: the standby plate clock is wanted the frequency and the phase place of real-time tracking main board clock, has taken a large amount of resources.
In the prior art, realize the system of main clock phase alignment, as shown in Figure 8, mainly comprise the clock generating module, drive distribution module and with reference to a series of chips such as logic selections.The problem of its existence is, line complexity between the active and standby plate needs 7 pairs of lines.The device that participates in active and standby switching is too many, has brought hidden danger to reliability.
Summary of the invention
Technical problem to be solved by this invention provides the method that a kind of master/backup clock switches, can be because of switching does not cause phase transient, system's instability and poor reliability, and it is few to take resource simultaneously.
In order to solve the problems of the technologies described above, the invention provides the method that a kind of master/backup clock switches, the system that is applied to comprise the master clock plate and is equipped with clock board, this master clock plate is distributed the same frequency clock source that chip is followed the tracks of this clock board respectively with the clock that is equipped with clock board, and the logic chip by separately realizes the mutual biography of master/backup clock and data, and this method comprises:
When switching master/backup clock, to the logic chip transmission pre-switch instruction of master clock plate, the logic chip of master clock plate sends synchronic command to the logic chip that is equipped with clock board after receiving the pre-switch instruction;
After the logic chip of clock board is received this synchronic command fully, send the efficient synchronization signal of an impulse form to the clock distribution chip that is equipped with clock board;
The clock distribution chip that is equipped with clock board stops clock output when synchronizing signal is effective, after synchronizing signal is invalid, through recovered clock output behind one first delay time, main clock phase is alignd;
After the main clock phase alignment, indicate the master clock plate and be equipped with clock board and carry out active and standby switching.
Further, said method also can have following characteristics:
Described first delay time equals t 1With Δ t sum, wherein t 1Distribute chip from the invalid inherent delay to recovered clock output of synchronizing signal for clock, Δ t is to be the time-delay of clock distribution chip configuration, and Δ t determines by following formula:
t 1+t 2+t 3+Δt=n*t s
Wherein:
N is an integer; t sBe the active and standby clock cycle; t 2The clock that is the master clock plate arrives the time-delay of the logic chip that is equipped with clock board through the logic chip of master clock plate after the clock distribution chip output of master clock plate; t 3Be to be equipped with this clock to receive synchronic command, to the time-delay of output synchronizing signal.
Further, said method also can have following characteristics:
After the main clock phase alignment, wait for one second delay time again after, indicate the master clock plate again and be equipped with clock board and carry out active and standby switching, this second delay time should be realized required time of Phase synchronization greater than other signal that transmits on the active and standby clock board.
Further, said method also can have following characteristics:
Described pre-switch instruction is that the CPU on the master clock plate sends, after the main clock phase alignment, and indication master clock plate and be equipped with clock board and carry out the process of active and standby switching and comprise:
CPU on the master clock plate sends switching command to the logic chip of master clock plate, and the logic chip of master clock plate carries out active and standby switching after receiving this switching command, and sends switching command to the logic chip that is equipped with clock board; After the logic chip of clock board is received this switching command fully, carry out active and standby switching.
Further, said method also can have following characteristics:
After also encoding to the instruction that will send, the logic chip of described master clock plate sends the data of coding back instruction again, be equipped with the data of the logic chip of clock board, recover the instruction that the master clock plate sends after the parsing with the clock sampling master clock plate transmission of master clock plate transmission.
The beneficial effect of this method is, has realized the master/backup clock switching, makes that reliability can be guaranteed when the master/backup clock unit switched because of work; Because standby plate clock of the present invention has reduced taking of resource without the frequency and the phase place of real-time tracking main board clock.
Another technical problem to be solved by this invention provides the system that a kind of master/backup clock switches, phase place and system stability during switching, and line is simple between active and standby plate, and the device that is used to switch is few.
In order to solve the problems of the technologies described above, the invention provides the system that a kind of master/backup clock switches, comprise two active and standby each other clock boards, every clock board includes clock distribution chip, logic chip and same clock source frequently, wherein:
Described with frequency clock source, be used for reference source as clock distribution chip clocking;
Described clock distribution chip, be used for following the tracks of respectively the same frequency clock source of this clock board, logic chip to this clock board provides clock, the synchronizing signal of sending at the logic chip of this clock board stops clock output when effective, after clock signal is invalid, postpone to recover the output clock again behind one first delay time;
Described logic chip further comprises:
Send part, be used for sending the data that generate behind the clock of this clock board and the command coding, wherein receiving that pre-switch instruction back sends synchronic command to the opposite end clock board this clock board to the opposite end clock board;
Receiving unit, be used to receive the clock and the data of opposite end clock board, the data-signal of receiving with the clock sampling of receiving, recover the instruction that the opposite end clock board is sent after the parsing, receive the efficient synchronization signal that sends an impulse form behind the synchronic command that the opposite end clock board sends to the clock distribution chip of this clock board.
Further, said system also can have following characteristics:
Described first delay time equals t 1With Δ t sum, wherein t 1Distribute chip from the invalid inherent delay to recovered clock output of synchronizing signal for clock, Δ t is to be the time-delay of clock distribution chip configuration, and Δ t determines by following formula:
t 1+t 2+t 3+Δt=n*t s
Wherein:
N is an integer; t sBe the active and standby clock cycle; t 2The clock that is the master clock plate arrives the time-delay of the logic chip that is equipped with clock board through the logic chip of master clock plate after the clock distribution chip output of master clock plate; t 3Be to be equipped with this clock to receive synchronic command, to the time-delay of output synchronizing signal.
Further, said system also can have following characteristics:
Also comprise CPU on the described every clock board, this CPU is after the logic chip of this clock board sends described pre-switch instruction, wait for behind one second delay time that the logic chip to this clock board sends switching command again, this second delay time should be realized required time of Phase synchronization greater than other signal that transmits on the active and standby clock board.
Further, said system also can have following characteristics:
The transmission part of described logic chip also after receiving switching command, is carried out active and standby switching and the switching command after the opposite end clock board sends coding;
The receiving unit of described logic chip is also carried out active and standby switching after receiving the switching command that the opposite end clock board is sent.
Further, said system also can have following characteristics:
Adopt two pairs to pass lines mutually and connect between the logic chip of described standby each other two clock boards, a clock board uses a pair of line, and every pair of line comprises a holding wire and a holding wire that is used to transmit this clock board data that is used to transmit this clock board clock.
The beneficial effect of native system is, and is simple in structure, realized the main clock phase alignment, makes phase place and system stability when clock unit switches because of work, good reliability; Simultaneously, when being suitable for system of the present invention realization master/backup clock switching, the standby plate clock has reduced taking of resource without the frequency and the phase place of real-time tracking main board clock.
Description of drawings
Fig. 1 is the structural representation of embodiment of the invention system.
Fig. 2 is the schematic diagram that passes clock and data among Fig. 1 between the active and standby plate mutually.
Fig. 3 be among Fig. 1 active and standby clock board to the schematic diagram in the path of opposite end clock board transmission clock.
Fig. 4 is the flow chart of embodiment of the invention method.
Fig. 5 show clock distribution chip synchronously with the time diagram of output clock.
Fig. 6 shows t 3The device schematic diagram that time-delay is corresponding.
Fig. 7 shows t 3The sequential schematic diagram that time-delay is corresponding.
Fig. 8 shows the system that realizes the main clock phase alignment in the prior art.
Embodiment
Below in conjunction with accompanying drawing, the specific embodiment of the present invention is elaborated.
As shown in Figure 1, present embodiment realizes that the system that master/backup clock switches includes the master clock plate and is equipped with clock board, the master clock plate and be equipped with CPU is all arranged on the clock board, with clock source, clock distribution chip and logic chip frequently.The logic chip of present embodiment is realized with field programmable gate array module (Field Programmable GateArray is called for short FPGA), is realized with high stability crystal oscillator with frequency clock source.Master clock plate and the clock that is equipped with clock board are followed the tracks of the same frequency high stability crystal oscillator of this clock board respectively, make master/backup clock output frequency basically identical.Master clock plate and be equipped with adopts two pairs to pass lines mutually and connect between the logic chip of clock board, a pair of line is used in the transmitting-receiving of clock board, and the every pair of line comprises the holding wire that a holding wire that is used to transmit this clock board clock and are used to transmit this clock board and the data of clock synchronization.The sequential schematic diagram of active and standby mutual biography data and clock as shown in Figure 2.Active and standby clock board is: this plate clock chip → this plate logic chip → to the plate logic chip to the path of opposite end transmission clock as shown in Figure 3.
Comprise on each clock board:
CPU, be used for when needs switch, logic chip to this clock board sends pre-switch instruction and switching command, wherein after sending the pre-switch instruction, send switching command again after waiting for one second delay time, this second delay time should be realized the required time of Phase synchronization greater than other signal that transmits on the active and standby clock board.
Logic chip comprises:
Send part, be used for to the opposite end clock board send the clock of this clock board and to the state information of this clock board and command coding after the data that generate, wherein, after receiving switching command, carry out active and standby switching and the switching command after the opposite end clock board sends coding receiving the synchronic command of pre-switch instruction back after the opposite end clock board sends coding; And
Receiving unit, be used to receive clock and the data that the opposite end clock board is sent, the data-signal of receiving with the clock sampling of receiving is also resolved, recover state information and instruction that the opposite end clock board is sent, after receiving the synchronic command that the opposite end clock board is sent, send the efficient synchronization signal sync of an impulse form, after receiving the switching command that the opposite end clock board is sent, carry out active and standby switching to clock distribution chip.
Clock distribution chip, be used for following the tracks of respectively the same frequency clock source of this clock board, the clock of this clock board is provided to logic chip and system, receiving that synchronizing signal that logic chip is sent stops clock output when effective, after clock signal is invalid, postpone to recover the output clock again behind one first delay time.The calculating of this delay time sees the explanation in the flow process for details.
With frequency clock source, be used for reference source as clock distribution chip clocking.
The present embodiment system is when operate as normal, and the same frequency clock source of each this clock board of self-locking of the clock chip of active and standby clock board does not need master clock and be equipped with the same reference source signal of clock tracing to satisfy with requirement frequently.Master/backup clock utilizes the synchronizing function of system earlier when switching, make master/backup clock Phase synchronization before switching, and then switch.
Concrete switching flow may further comprise the steps as shown in Figure 4:
Step 110, the CPU of master clock plate sends the pre-switch instruction to the logic chip of master clock plate;
The possibility that the master clock plate initiates to switch has a lot, and it is unusual that for example CPU detects mainboard output clock, and CPU will initiate switching command to mainboard.
After step 120, the logic chip of master clock plate are received the pre-switch instruction, the data of the synchronic command after the logic chip that is equipped with clock board sends coding;
Step 130, the logic chip that is equipped with clock board is sampled to the data-signal of master clock plate with the clock of master clock plate and is resolved, recover this synchronic command after, to the clock distribution chip transmission synchronizing signal that is equipped with clock board;
Step 140 after the clock of clock board distribution chip is received synchronizing signal fully, stops clock output, after synchronizing signal is invalid, through recovered clock output behind one first delay time, realizes the alignment of main clock phase again;
As long as satisfy following formula (1), just main clock phase can be alignd:
t 1+ t 2+ t 3+ Δ t=n*t sFormula (1)
Wherein:
N is an integer;
t sBe the active and standby clock cycle;
t 1For clock is distributed chip from the invalid time-delay to recovered clock output of synchronizing signal, this basic fixed of delaying time.As shown in Figure 5, the voltage controlled oscillator that uppermost one road high frequency clock is a clock chip (VoltageControlled Oscillator is called for short VCO) clock, the second road clock is the clock behind the VCO frequency division, the second road clock is synchronizing signal sync down.The synchronizing signal low level is effective, and when synchronizing signal was low level, the output of clock chip was turned off.Synchronizing signal becomes high level and promptly becomes when invalid, and clock distribution chip is not will export clock, and will wait one period regular time, is that chip is intrinsic during this period of time, counts t at once 1, be to equal 14 to 15 cycles behind the VCO frequency division to add 1 VCO output cycle among the figure.
t 2Be the time-delay of PCB cabling between the active and standby plate, promptly the clock of master clock plate through the logic chip arrival time-delay of the logic chip of clock board fully of this clock board, is counted t after the clock distribution chip output of master clock plate 2
t 3Be the time-delay of logic chip, after promptly the logic chip of clock board receives synchronic command fully, resolve,, count t to time-delay to the clock distribution chip output synchronizing signal that is equipped with clock board 3, this section time-delay is the constant time lag of logic chip inside, is a schematic diagram of hardware among Fig. 6, as a d type flip flop, this d type flip flop is input as the clock and the data of master clock plate, is output as synchronizing signal logic chip.Fig. 7 shows the working timing figure of d type flip flop, and data only change state at the rising edge of clock, and desirable state is that two dotted lines of A, B overlap, but reality just has one section time-delay t 3
Δ t sets up and one section delay time of selection formula (1), can be disposed in the process of software initialization clock distribution chip.
Like this, first delay time of mentioning in the above-mentioned steps 140 promptly equals the intrinsic time-delay t of above-mentioned logic chip 1With the time-delay Δ t that is provided with, formula has been considered main time-delay in (1), can reach the requirement of precision.
Step 150, after the CPU of master clock plate waited for one second default delay time, to the logic chip transmission switching command of this clock board, logic chip carried out active and standby switching after receiving this switching command, and the switching command after the opposite end clock board sends coding;
After mainboard and the slave board Phase synchronization, promptly can carry out active and standby switching, but can cause that the clock of slave board turn-offs output because slave board is initiated synchronic command, clock board transmits the waveform of some frequency possibly, so also will guarantee the Phase synchronization of these signals.For example also will transmit the 10ms ripple between the master/backup clock plate, and the PP2S signal is that pulsewidth is the square wave of 16 19.6608MHZ.Slave board is initiated synchronic command can cause that the clock chip clock of slave board turn-offs output, therefore could switch after after synchronic command finishes, must waiting the synchronous mainboard PP2S of slave board PP2S, can with the 10ms frame head of slave board and frame number and mainboard synchronously, so just can make the PP2S of slave board be synchronized with the PP2S of mainboard.Finish to the minimum 20ms that wants of time that switches initiation from synchronic command, that is to say that the time of a clock switching cost must be greater than 20ms.Be that above-mentioned second delay time is greater than 20ms.This second delay time is optional.And delay time is relevant with the signal that needs to transmit, and might not be 20ms.
After step 160, the logic chip that is equipped with clock board are received and parsed switching command, carry out active and standby switching.
The master clock plate is no longer exported the required timing signal of network element after switching to and being equipped with clock board, and after clock board switches to the master clock plate fully, will the required timing signal of output network element.
According to the present invention, by the clock distribution chip that has synchronizing function main clock phase is alignd, the precision of master and spare clock plate phase position alignment can be controlled at the 1ns magnitude.Novel part of the present invention do not need to be the standby clock phase place is adjusted in real time, only needs to adjust before active and standby switching once to get final product.And the high steady clock crystal of the same frequency on main board and each this plate of self-locking of standby plate, active and standby plate frequency is basic identical.The present invention has abandoned traditional clock active/standby changing method, and switching to clock active/standby provides new thinking.
The present invention does not need master/backup clock is differed judgement, is equipped with the adjustment of clock output phase and makes the main clock phase alignment according to master/backup clock phase difference, therefore the frequency that does not need slave board clock real-time tracking main board clock does not need that very long clock cabling is arranged between slave board and the mainboard.

Claims (10)

1, a kind of method of master/backup clock switching, the system that is applied to comprise the master clock plate and is equipped with clock board, this master clock plate is distributed the same frequency clock source that chip is followed the tracks of this clock board respectively with the clock that is equipped with clock board, and the logic chip by separately realizes the mutual biography of master/backup clock and data, and this method comprises:
When switching master/backup clock, to the logic chip transmission pre-switch instruction of master clock plate, the logic chip of master clock plate sends synchronic command to the logic chip that is equipped with clock board after receiving the pre-switch instruction;
After the logic chip of clock board is received this synchronic command fully, send the efficient synchronization signal of an impulse form to the clock distribution chip that is equipped with clock board;
The clock distribution chip that is equipped with clock board stops clock output when synchronizing signal is effective, after synchronizing signal is invalid, through recovered clock output behind one first delay time, main clock phase is alignd;
After the main clock phase alignment, indicate the master clock plate and be equipped with clock board and carry out active and standby switching.
2, the method for claim 1 is characterized in that:
Described first delay time equals t 1With Δ t sum, wherein t 1Distribute chip from the invalid inherent delay to recovered clock output of synchronizing signal for clock, Δ t is to be the time-delay of clock distribution chip configuration, and Δ t determines by following formula:
t 1+t 2+t 3+Δt=n*t s
Wherein:
N is an integer; t sBe the active and standby clock cycle; t 2The clock that is the master clock plate arrives the time-delay of the logic chip that is equipped with clock board through the logic chip of master clock plate after the clock distribution chip output of master clock plate; t 3Be to be equipped with this clock to receive synchronic command, to the time-delay of output synchronizing signal.
3, the method for claim 1 is characterized in that:
After the main clock phase alignment, wait for one second delay time again after, indicate the master clock plate again and be equipped with clock board and carry out active and standby switching, this second delay time should be realized required time of Phase synchronization greater than other signal that transmits on the active and standby clock board.
4, the method for claim 1 is characterized in that:
Described pre-switch instruction is that the CPU on the master clock plate sends, after the main clock phase alignment, and indication master clock plate and be equipped with clock board and carry out the process of active and standby switching and comprise:
CPU on the master clock plate sends switching command to the logic chip of master clock plate, and the logic chip of master clock plate carries out active and standby switching after receiving this switching command, and sends switching command to the logic chip that is equipped with clock board; After the logic chip of clock board is received this switching command fully, carry out active and standby switching.
5, the method for claim 1 is characterized in that:
After also encoding to the instruction that will send, the logic chip of described master clock plate sends the data of coding back instruction again, be equipped with the data of the logic chip of clock board, recover the instruction that the master clock plate sends after the parsing with the clock sampling master clock plate transmission of master clock plate transmission.
6, a kind of system of master/backup clock switching comprises two active and standby each other clock boards, and every clock board includes clock distribution chip and logic chip, it is characterized in that: also comprise on the every clock board with frequency clock source, wherein:
Described with frequency clock source, be used for reference source as clock distribution chip clocking;
Described clock distribution chip, be used for following the tracks of respectively the same frequency clock source of this clock board, logic chip to this clock board provides clock, the synchronizing signal of sending at the logic chip of this clock board stops clock output when effective, after clock signal is invalid, postpone to recover the output clock again behind one first delay time;
Described logic chip further comprises:
Send part, be used for sending the data that generate behind the clock of this clock board and the command coding, wherein receiving that pre-switch instruction back sends synchronic command to the opposite end clock board this clock board to the opposite end clock board;
Receiving unit, be used to receive the clock and the data of opposite end clock board, the data-signal of receiving with the clock sampling of receiving, recover the instruction that the opposite end clock board is sent after the parsing, receive the efficient synchronization signal that sends an impulse form behind the synchronic command that the opposite end clock board sends to the clock distribution chip of this clock board.
7, system as claimed in claim 6 is characterized in that:
Described first delay time equals t 1With Δ t sum, wherein t 1Distribute chip from the invalid inherent delay to recovered clock output of synchronizing signal for clock, Δ t is to be the time-delay of clock distribution chip configuration, and Δ t determines by following formula:
t 1+t 2+t 3+Δt=n*t s
Wherein:
N is an integer; t sBe the active and standby clock cycle; t 2The clock that is the master clock plate arrives the time-delay of the logic chip that is equipped with clock board through the logic chip of master clock plate after the clock distribution chip output of master clock plate; t 3Be to be equipped with this clock to receive synchronic command, to the time-delay of output synchronizing signal.
8, as claim 6 or 7 described systems, it is characterized in that:
Also comprise CPU on the described every clock board, this CPU is after the logic chip of this clock board sends described pre-switch instruction, wait for behind one second delay time that the logic chip to this clock board sends switching command again, this second delay time should be realized required time of Phase synchronization greater than other signal that transmits on the active and standby clock board.
9, system as claimed in claim 8 is characterized in that:
The transmission part of described logic chip also after receiving switching command, is carried out active and standby switching and the switching command after the opposite end clock board sends coding;
The receiving unit of described logic chip is also carried out active and standby switching after receiving the switching command that the opposite end clock board is sent.
10, as claim 6 or 7 described systems, it is characterized in that:
Adopt two pairs to pass lines mutually and connect between the logic chip of described standby each other two clock boards, a clock board uses a pair of line, and every pair of line comprises a holding wire and a holding wire that is used to transmit this clock board data that is used to transmit this clock board clock.
CN2008101466427A 2008-09-03 2008-09-03 Method and system for switching main and backup clocks Active CN101667906B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008101466427A CN101667906B (en) 2008-09-03 2008-09-03 Method and system for switching main and backup clocks

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008101466427A CN101667906B (en) 2008-09-03 2008-09-03 Method and system for switching main and backup clocks

Publications (2)

Publication Number Publication Date
CN101667906A true CN101667906A (en) 2010-03-10
CN101667906B CN101667906B (en) 2012-01-11

Family

ID=41804361

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008101466427A Active CN101667906B (en) 2008-09-03 2008-09-03 Method and system for switching main and backup clocks

Country Status (1)

Country Link
CN (1) CN101667906B (en)

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840357A (en) * 2010-04-08 2010-09-22 北京星网锐捷网络技术有限公司 Clock backup method and clock backup device
CN101895425A (en) * 2010-07-13 2010-11-24 中兴通讯股份有限公司 Master and slave seamless switching device and method
CN102185687A (en) * 2011-05-18 2011-09-14 中兴通讯股份有限公司 System and method for realizing clock synchronization among different units
US20130127465A1 (en) * 2011-11-17 2013-05-23 Samsung Electronics Co., Ltd. Apparatus and method for synchronizing clocks between devices of magnetic resonance imaging (mri) system
CN105099806A (en) * 2014-05-21 2015-11-25 中兴通讯股份有限公司 Clock switch method and device
CN105406984A (en) * 2015-10-22 2016-03-16 上海斐讯数据通信技术有限公司 System and method of realizing main/standby switching backboard clock
CN106559604A (en) * 2016-12-05 2017-04-05 北京空间机电研究所 A kind of implementation method of pair of video processor synchronous imaging
CN106774635A (en) * 2016-12-05 2017-05-31 上海航天控制技术研究所 A kind of triple redundance computer synchronous method
WO2017206075A1 (en) * 2016-05-31 2017-12-07 华为技术有限公司 Clock generator circuit and clock signal generation method
CN109308230A (en) * 2017-07-27 2019-02-05 华为技术有限公司 A kind of backup method and device
CN109428661A (en) * 2017-08-21 2019-03-05 中兴通讯股份有限公司 A kind of main clock phase alignment device and method based on FPGA
CN110554731A (en) * 2019-08-12 2019-12-10 深圳震有科技股份有限公司 Clock synchronization control method, intelligent terminal and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1151627C (en) * 1999-12-29 2004-05-26 上海贝尔有限公司 Synchronous clock supply device
US6675307B1 (en) * 2000-03-28 2004-01-06 Juniper Networks, Inc. Clock controller for controlling the switching to redundant clock signal without producing glitches by delaying the redundant clock signal to match a phase of primary clock signal
CN100369441C (en) * 2003-12-24 2008-02-13 烽火通信科技股份有限公司 Damage-free switching method for main and spare synchronous digital series device timing source
CN100338967C (en) * 2005-05-19 2007-09-19 北京北方烽火科技有限公司 Method and apparatus for realizing clock redundancy back-up in WCDMA system base station
CN101232457B (en) * 2008-02-22 2011-04-27 浙江大学 High-precision real-time synchronization method based on IEEE1588

Cited By (24)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101840357B (en) * 2010-04-08 2012-09-05 北京星网锐捷网络技术有限公司 Clock backup method and clock backup device
CN101840357A (en) * 2010-04-08 2010-09-22 北京星网锐捷网络技术有限公司 Clock backup method and clock backup device
CN101895425B (en) * 2010-07-13 2014-03-12 中兴通讯股份有限公司 Master and slave seamless switching device and method
CN101895425A (en) * 2010-07-13 2010-11-24 中兴通讯股份有限公司 Master and slave seamless switching device and method
CN102185687A (en) * 2011-05-18 2011-09-14 中兴通讯股份有限公司 System and method for realizing clock synchronization among different units
CN102185687B (en) * 2011-05-18 2015-04-01 中兴通讯股份有限公司 System and method for realizing clock synchronization among different units
US20130127465A1 (en) * 2011-11-17 2013-05-23 Samsung Electronics Co., Ltd. Apparatus and method for synchronizing clocks between devices of magnetic resonance imaging (mri) system
CN103123386A (en) * 2011-11-17 2013-05-29 三星电子株式会社 Apparatus and method for synchronizing clocks between devices of magnetic resonance imaging (mri) system
US9091740B2 (en) * 2011-11-17 2015-07-28 Samsung Electronics Co., Ltd. Apparatus and method for synchronizing clocks between devices of magnetic resonance imaging (MRI) system
CN103123386B (en) * 2011-11-17 2016-04-13 三星电子株式会社 For equipment and the method for synchronous clock between the device of magnetic resonance imaging system
CN105099806A (en) * 2014-05-21 2015-11-25 中兴通讯股份有限公司 Clock switch method and device
CN105406984B (en) * 2015-10-22 2019-05-31 上海斐讯数据通信技术有限公司 A kind of system and method for realizing masterslave switchover backboard clock
CN105406984A (en) * 2015-10-22 2016-03-16 上海斐讯数据通信技术有限公司 System and method of realizing main/standby switching backboard clock
US10778234B2 (en) 2016-05-31 2020-09-15 Huawei Technologies Co., Ltd. Clock generation circuit and clock signal generation method
WO2017206075A1 (en) * 2016-05-31 2017-12-07 华为技术有限公司 Clock generator circuit and clock signal generation method
CN106559604A (en) * 2016-12-05 2017-04-05 北京空间机电研究所 A kind of implementation method of pair of video processor synchronous imaging
CN106559604B (en) * 2016-12-05 2019-06-18 北京空间机电研究所 A kind of implementation method of double video processor synchronous imagings
CN106774635B (en) * 2016-12-05 2019-11-29 上海航天控制技术研究所 A kind of triple redundance computer synchronous method
CN106774635A (en) * 2016-12-05 2017-05-31 上海航天控制技术研究所 A kind of triple redundance computer synchronous method
CN109308230A (en) * 2017-07-27 2019-02-05 华为技术有限公司 A kind of backup method and device
CN109308230B (en) * 2017-07-27 2020-11-17 华为技术有限公司 Backup method and device
CN109428661A (en) * 2017-08-21 2019-03-05 中兴通讯股份有限公司 A kind of main clock phase alignment device and method based on FPGA
CN110554731A (en) * 2019-08-12 2019-12-10 深圳震有科技股份有限公司 Clock synchronization control method, intelligent terminal and storage medium
CN110554731B (en) * 2019-08-12 2023-08-01 深圳震有科技股份有限公司 Clock synchronization control method, intelligent terminal and storage medium

Also Published As

Publication number Publication date
CN101667906B (en) 2012-01-11

Similar Documents

Publication Publication Date Title
CN101667906B (en) Method and system for switching main and backup clocks
RU2489801C2 (en) System for synchronising clock pulses
US7158587B2 (en) Multi-channel serdes receiver for chip-to-chip and backplane interconnects and method of operation thereof
JPH0267033A (en) Network synchronizing system
CN100571114C (en) A kind of synchronised clock providing device and implementation method
EP1262022A2 (en) Phase lock loop system and method
CN101521565A (en) Main/standby system clock seamless switching method, device and communication equipment
EP1466411B1 (en) Systems and apparatuses for clock generation using reference signal selection
CN100338967C (en) Method and apparatus for realizing clock redundancy back-up in WCDMA system base station
CN100438361C (en) Method for controlling master spare clock phase for synchronous digital system equipment
CN101621346B (en) Source synchronous receiving device with adaptive feedback and source synchronizing method
WO2007000111A1 (en) Device for clock phase alignment between main and backup clock board, method and clock board thereof
CN100525173C (en) Method for implemention of master-spare clock phase alignment in communication equipment
CN101459500B (en) Method for implementing time master-slave protection and time master-slave protection device
CN101365180A (en) Information sending method and apparatus
CN101621371A (en) Clock design method and clock device
CN100563171C (en) A kind of method and system that improve BITS equipment output reliability
CN107229305B (en) Method for lossless switching of system clock
CN113193883B (en) Communication carrier control method and system for parallel electronic power converter
CN1457159A (en) Clock improvement for GPS timing system device and application thereof
CN101183995A (en) Phase aligning method when rearranging main/slave clock and main/slave clock system
US5903543A (en) Apparatus and method of preventing cell data loss during clock switching
KR100328757B1 (en) A error preventing device of clock signal with switchover for transmission system
CN105790872B (en) A kind of network clock synchronous device and its working method
CN100561906C (en) Realize the method and the device of clock active/standby changeover error-free

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant