CN103250371B - Determine the method for clock equipment, equipment, additive method, equipment and system - Google Patents
Determine the method for clock equipment, equipment, additive method, equipment and system Download PDFInfo
- Publication number
- CN103250371B CN103250371B CN201180003581.9A CN201180003581A CN103250371B CN 103250371 B CN103250371 B CN 103250371B CN 201180003581 A CN201180003581 A CN 201180003581A CN 103250371 B CN103250371 B CN 103250371B
- Authority
- CN
- China
- Prior art keywords
- clock
- clockwork
- information
- class information
- frequency
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 239000000654 additive Substances 0.000 title description 2
- 230000000996 additive Effects 0.000 title description 2
- 230000001360 synchronised Effects 0.000 claims description 26
- 230000001702 transmitter Effects 0.000 claims description 23
- 238000000034 method Methods 0.000 abstract description 2
- 230000000875 corresponding Effects 0.000 description 10
- 239000000686 essence Substances 0.000 description 6
- 239000003795 chemical substances by application Substances 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000005538 encapsulation Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 210000001519 tissues Anatomy 0.000 description 1
Abstract
The invention discloses a kind of method determining clock equipment, including receiving the first message that the first clockwork sends, comprising the first clock grade information in this first message, this first clock grade information is determined by very first time class information, first frequency class information and preset function;Receiving the second message that second clock equipment sends, comprise second clock class information in this second message, this second clock class information is determined by the second time class information, second frequency class information and this preset function;Determine that this first clockwork is clock equipment according to this first clock grade information and this second clock class information.A kind of send the method for message additionally, the embodiment of the invention also discloses, a kind of receive the method for message, clockwork, a kind of clock system and a kind of reception equipment.Pass through technique scheme, it is possible to achieve select clock equipment according to than the information of the precision more fully reflecting alternative clock equipment.
Description
Technical field
The present invention relates to mobile network field, particularly relate to determine that the method for clock equipment, the method for transmission message, reception disappear
The method of breath, clockwork, clock system and the equipment of reception.
Background technology
One network generally includes multiple network equipment.The network equipment determines clock equipment, and carries out clock with clock equipment
Synchronization is the basis that multiple network equipments of network internal communicate.Institute of Electrical and Electric Engineers (Institute of
Electrical and Electronics Engineers, IEEE) issue the 1588 agreement second editions.According to the 1588 agreement second editions,
Clock equipment can be determined according to the time class information of alternative clock equipment from clockwork.
Inventor finds that prior art exists following technical problem:
Under the scene determining clock equipment according to time class information, time class information identifies alternative clock equipment
Time precision.Identifying alternative clock equipment with time class information can not be than the precision more fully reflecting alternative clock equipment.
Therefore, alternative clock equipment cannot send the information than the precision more fully reflecting alternative clock equipment.Receive alternative master
The equipment of message that clockwork sends cannot receive the information contained than the precision more fully reflecting alternative clock equipment
Message.
Summary of the invention
Embodiments provide the method for clock equipment that determines, the method for transmission message, receive the method for message, clock
Equipment, clock system and the equipment of reception.
On the one hand, The embodiment provides a kind of method determining clock equipment, including:
Receive the first message that the first clockwork sends, this first message comprises the first clock grade information, this first clock
Class information is determined by very first time class information, first frequency class information and preset function, this very first time class information
For identifying the time precision of this first clockwork, this first frequency class information is for identifying the frequency of this first clockwork
Precision;
Receive the second message that second clock equipment sends, this second message comprises second clock class information, this second clock
Class information is determined by the second time class information, second frequency class information and this preset function, and this second time grade is believed
Breath is for identifying the time precision of this second clock equipment, and this second frequency class information is for identifying the frequency of this second clock equipment
Rate precision;
Determine that this first clockwork sets with this second clock according to this first clock grade information and this second clock class information
The order of standby priority, when the priority of this first clockwork is higher than the priority of this second clock equipment, determine this
One clockwork is clock equipment.
On the other hand, The embodiment provides a kind of method sending message, including:
Clockwork sends message, and this clockwork includes the first clockwork and second clock equipment, and this message comprises first and disappears
Breath and the second message, this first message comprise the first clock grade information, this second message comprise second clock class information,
By from clockwork according to this first clock grade information and this second clock class information determine this first clockwork with this
The order of the priority of two clockworks, when the priority of this first clockwork is higher than the priority of this second clock equipment,
Determine that this first clockwork is clock equipment.
On the other hand, The embodiment provides a kind of method receiving message, including:
Receiving the message that clockwork sends, this clockwork includes the first clockwork and second clock equipment, and this message comprises
First message and the second message, this first message comprise the first clock grade information, this second message comprises second clock etc.
According to this first clock grade information and this second clock class information, level information, is determined that this first clock sets by from clockwork
The order of the standby priority with this second clock equipment, when the priority of this first clockwork is higher than the excellent of this second clock equipment
During first level, determine that this first clockwork is clock equipment.
On the other hand, The embodiment provides a kind of clockwork, including receptor and determine unit:
This receptor, for receiving the first message that the first clockwork sends, comprises the first clock grade information in this first message,
This first clock grade information is determined by very first time class information, first frequency class information and preset function, this first time
Between class information for identifying the time precision of this first clockwork, this first frequency class information is used for identifying this first clock
The frequency accuracy of equipment;
This receptor is additionally operable to receive the second message that second clock equipment sends, and comprises second clock grade letter in this second message
Breath, this second clock class information is determined by the second time class information, second frequency class information and this preset function, should
Second time class information for identifying the time precision of this second clock equipment, this second frequency class information be used for identifying this
The frequency accuracy of two clockworks;
This determines that unit is for determining this first clockwork according to this first clock grade information and this second clock class information
With the order of the priority of this second clock equipment, when preferential higher than this second clock equipment of the priority of this first clockwork
During level, determine that this first clockwork is clock equipment.
On the other hand, The embodiment provides a kind of clock system, this clock system includes:
First clockwork, second clock equipment and from clockwork;
This first clockwork includes the first transmitter,
This first transmitter, for sending the first message, comprises the first clock grade information, this first clock etc. in this first message
Level information is determined by very first time class information, first frequency class information and preset function, and this very first time class information is used
In the time precision of this first clockwork of mark, this first frequency class information is for identifying the frequency essence of this first clockwork
Degree;
This second clock equipment includes the second transmitter,
This second transmitter, for sending the second message, comprises second clock class information in this second message, this second clock etc.
Level information is determined by the second time class information, second frequency class information and this preset function, this second time class information
For identifying the time precision of this second clock equipment, this second frequency class information is for identifying the frequency of this second clock equipment
Precision;
Receptor should be included from clockwork and determine unit,
This receptor is for receiving this first message that this first clockwork sends;
This receptor is additionally operable to receive this second message that this second clock equipment sends;
This determines that unit is for determining this first clockwork according to this first clock grade information and this second clock class information
For clock equipment.
On the other hand, The embodiment provides a kind of clockwork, this clockwork includes transmitter,
This transmitter is used for sending message, and this clockwork includes the first clockwork and second clock equipment, and this message comprises
One message and the second message, this first message comprise the first clock grade information, this second message comprises second clock grade
Information, is determined this first clockwork by from clockwork according to this first clock grade information and this second clock class information
With the order of the priority of this second clock equipment, when preferential higher than this second clock equipment of the priority of this first clockwork
During level, determine that this first clockwork is clock equipment.
On the other hand, The embodiment provides a kind of reception equipment, this reception equipment includes receptor,
This receptor is for receiving the message that clockwork sends, and this clockwork includes the first clockwork and second clock equipment,
This message comprises in the first message and the second message, this first message and comprises the first clock grade information, comprises in this second message
Second clock class information, is determined this by from clockwork according to this first clock grade information and this second clock class information
The order of the priority of the first clockwork and this second clock equipment, when this first clockwork priority higher than this second time
During the priority of clock equipment, determine that this first clockwork is clock equipment.
Technical scheme that is visible, that provided by the embodiment of the present invention, contains clock in the message that alternative clock equipment provides
Class information.Clock grade information is time class information and the function of frequency level information.Therefore, clock grade information was both
Reflect the time precision of alternative clock equipment, also reflects the frequency accuracy of alternative clock equipment.Therefore the present invention implements
The technical scheme that example provides can realize selecting according to than the clock grade information of the precision more fully reflecting alternative clock equipment
Clock equipment.
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or prior art
In description, the required accompanying drawing used is briefly described, it should be apparent that, the accompanying drawing in describing below is some of the present invention
Embodiment, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to attached according to these
Figure obtains other accompanying drawing.
Fig. 1 is the flow chart of a kind of method determining clock equipment that the embodiment of the present invention provides;
Fig. 2 is the flow chart of a kind of method sending message that the embodiment of the present invention provides;
Fig. 3 is the flow chart of a kind of method receiving message that the embodiment of the present invention provides;
Fig. 4 is the structural representation of a kind of clockwork that the embodiment of the present invention provides;
Fig. 5 is the structural representation of the another kind of clockwork that the embodiment of the present invention provides;
Fig. 6 is a kind of structural representation receiving equipment that the embodiment of the present invention provides;
Fig. 7 is the structural representation of a kind of clock system that the embodiment of the present invention provides.
Detailed description of the invention
For making the purpose of the embodiment of the present invention, technical scheme and advantage clearer, attached below in conjunction with in the embodiment of the present invention
Figure, is clearly and completely described the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention
A part of embodiment rather than whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not having
Make the every other embodiment obtained under creative work premise, broadly fall into the scope of protection of the invention.
Embodiment one
Embodiments provide a kind of method determining clock equipment.The executive agent of the method can be from clockwork.
It is a kind of network equipment from clockwork, can be bearer network equipment from clockwork, it is also possible to be base station equipment.Fig. 1 is this
The flow chart of a kind of method determining clock equipment that inventive embodiments provides.The method includes:
101, receiving the first message that the first clockwork sends, comprise the first clock grade information in this first message, this is first years old
Clock grade information is determined by very first time class information, first frequency class information and preset function, this very first time grade
Information is for identifying the time precision of this first clockwork, and this first frequency class information is for identifying this first clockwork
Frequency accuracy.
Class information is for identifying the precision of clockwork.Time class information is for identifying the time precision of clockwork.Frequency
Class information is for identifying the frequency accuracy of clockwork.Class information can be numerical value, it is also possible to be expression formula.Need explanation
, class information be numerical value scene under, the height of precision does not has necessary connection with the size of the value of class information.Such as,
In the case of the precision of the first equipment is higher than the second equipment, the value of the class information of the first equipment and the class information of the second equipment
Value can be 1 and 2 respectively;The value of the value of the class information of the first equipment and the class information of the second equipment can also be 2 respectively
With 1.It addition, class information be expression formula scene under, the height of precision does not has necessary connection with choosing of expression formula.Example
As, in the precision of the first equipment higher than in the case of the second equipment, the expression formula of the class information of the first equipment and the second equipment
The expression formula of class information can be A and a respectively;The expression formula of the class information of the first equipment and the class information of the second equipment
Expression formula can also be a and A respectively.
First clockwork is clock equipment.Very first time class information and first frequency class information are respectively used to mark should
The time precision of the first clockwork and frequency accuracy.
When implementing, very first time class information can be decimal scale 6.Decimal scale 6 identifies the time essence of the first clockwork
Degree can be error ± 10-11 second.Very first time class information can also decimal scale 7.Decimal scale 7 identifies the first clockwork
Time precision can be error ± 5 × 10-10 second.About time precision grade, specifically it is referred to the 1588 agreement second editions.
When implementing, first frequency class information can be decimal scale 2, it is also possible to be decimal scale 4.About decimal scale 2 and ten
The frequency accuracy of system 4 correspondence, specifically refer to International Telecommunication Union's telecommunication standardsization tissue (ITU-T for ITU
Telecommunication Standardization Sector) the G.781 agreement issued.
In the present embodiment, this first clock grade information is by very first time class information, first frequency class information and default letter
Number determines, refers to very first time class information and the first frequency class information of the first clockwork are substituted into this preset function,
To functional value be the first clock grade information.
102, receiving the second message that second clock equipment sends, comprise second clock class information in this second message, this is second years old
Clock grade information is determined by the second time class information, second frequency class information and this preset function, this second time etc.
Level information is for identifying the time precision of this second clock equipment, and this second frequency class information is used for identifying this second clock equipment
Frequency accuracy.
Second clock equipment is clock equipment.Second time class information and second frequency class information are respectively used to mark should
The time precision of second clock equipment and frequency accuracy.Second time class information and second frequency class information implement
Time, refer to very first time class information and first frequency class information, here is omitted.
When second clock class information implements, refer to the first clock grade information, here is omitted.
Second clock class information is determined by the second time class information, second frequency class information and this preset function, refers to
Second time class information and the second frequency class information of second clock equipment are substituted into this preset function, and the functional value obtained is i.e.
For second clock class information.
103, determine that this first clockwork is that master clock sets according to this first clock grade information and this second clock class information
Standby.
When implementing, may include steps of:
The preferential of the first clockwork and second clock equipment is determined according to the first clock grade information and second clock class information
The order of level.When the priority of the first clockwork is higher than the priority of second clock equipment, determine that the first clockwork is main
Clockwork.
Above-mentioned priority selects the priority of clock equipment suitable for instruction from clockwork from multiple alternative clock equipment
Sequence.Can be in the way of defining the height determining priority from clockwork.Below to determining that mode is illustrated:
When clock class information is magnitude value, height and the priority of the value of clock grade information can be defined from clockwork
Height is directly proportional, and the height of value that can also define clock grade information from clockwork is inversely proportional to the height of priority.
When clock class information is the expression formula being made up of single English alphabet, the height of priority can be defined from clockwork
Relevant with the sequence priority of English alphabet.Such as sorting the most forward, priority is the highest;Or it is the most forward to sort, and priority is the lowest.
The height of priority and the case sensitive of English alphabet can also be defined, corresponding excellent of such as capitalization English letter from clockwork
The priority that first level is corresponding higher than small English alphabet;Or the priority that small English alphabet is corresponding is higher than capitalization English letter pair
The priority answered.
According to mentioned above, clock grade information is the value of above-mentioned preset function.The value of preset function can be numerical value, it is possible to
To be expression formula.It should be noted that under the value of preset function is the scene of numerical value, the height of priority and the size of numerical value
There is no the contact of certainty.When the value of preset function under the scene of expression formula, the height of priority does not has with choosing of expression formula yet
Necessary connection.It is exemplified below:
As a example by the value of preset function corresponding to the clock grade information scene as numerical value: in the priority of the first equipment higher than second
In the case of equipment, the clock grade information of the first equipment and the clock grade information of the second equipment can be 1 and 2 respectively;The
The clock grade information of one equipment and the clock grade information of the second equipment can also be 2 and 1 respectively.
As a example by the value of preset function corresponding to the clock grade information scene as expression formula: in the priority of the first equipment higher than the
In the case of two equipment, the clock grade information of the first equipment and the clock grade information of the second equipment can be A and a respectively;
The clock grade information of the first equipment and the clock grade information of the second equipment can also be a and A respectively.
Method that is visible, that provided by the present embodiment, contains clock grade information in the message that alternative clock equipment provides.
Clock grade information is time class information and the function of frequency level information.Therefore, clock grade information had both reflected alternative
The time precision of clock equipment, also reflects the frequency accuracy of alternative clock equipment.Therefore, the method that the present embodiment provides
Can realize selecting clock equipment according to than the clock grade information of the precision more fully reflecting alternative clock equipment.
Optionally,
According to this first clock grade information and this second clock class information, this determines that this first clockwork is clock equipment
Before also include:
104, receive the 3rd message that the 3rd clockwork sends, the 3rd message comprises the 3rd clock grade information, the 3rd
Clock grade information is determined by the 3rd time class information, the 3rd frequency level information and this preset function, the 3rd time etc.
Level information is for identifying the time precision of the 3rd clockwork, and the 3rd frequency level information is used for identifying the 3rd clockwork
Frequency accuracy;In this very first time class information, this second time class information and the 3rd time class information, at least
A time class information is had to be different from other two time class informations;This first frequency class information, this second frequency grade
In information and the 3rd frequency level information, at least a frequency level information is different from other two frequency level information;
According to this first clock grade information and this second clock class information, this determines that this first clockwork is clock equipment
Specifically include:
105, according to this this very first time class information of the first clock grade acquisition of information and first frequency class information.
106, this second time class information and second frequency class information is obtained according to this second clock class information.
107, according to the 3rd clock grade acquisition of information the 3rd time class information and the 3rd frequency level information.
108, determining that this first clockwork is clock equipment, this first clockwork is the first set and the second intersection of sets collection
An element;This first set comprises the time in this first clockwork, this second clock equipment and the 3rd clockwork
All of clockwork beyond the clockwork that precision is minimum;This second set comprises this first clockwork, this second clock
All of clockwork beyond equipment and the minimum clockwork of the 3rd clockwork medium frequency precision.
105 when implementing, and may is that
First clockwork and receive the first message can access corresponding table from clockwork.Corresponding table can store multiple
List item.A list item in corresponding table contains very first time class information, first frequency class information and the first clock grade
Information.First clockwork finds in corresponding table and comprises very first time class information and the list item of first frequency class information.
First clockwork obtains the first clock grade information according to this list item.First clock grade Information encapsulation is arrived by the first clockwork
First message, and the first message is sent to from clockwork.After clockwork receives the first message, from the first message
Parse the first clock grade information.Find, corresponding table, the list item comprising the first clock grade information from clockwork.From
Clockwork obtains very first time class information and first frequency class information according to this list item.
105 when implementing, it is also possible to is:
First clock grade information contains very first time class information and first frequency class information.Such as, the very first time
Class information and first frequency class information are expression formula A and expression formula a respectively.First clock grade information is expression formula
Aa。
106 when implementing, and refer to above in connection with according to this this very first time class information of the first clock grade acquisition of information
And the description of first frequency class information.
106 when implementing, and refer to above in connection with according to this this very first time class information of the first clock grade acquisition of information
And the description of first frequency class information.
108 when implementing, and may is that
Determine the first set and the second set.Take the first intersection and the second intersection of sets collection, it is thus achieved that the 3rd set.3rd set
At least include an element.The first clockwork is chosen from the 3rd set.
First set comprises one or more clockwork.When implementing, can be according to very first time precision from clockwork
Information, the second time precision information and the 3rd time precision information determine the element in the first set.Very first time precision information,
In second time precision information and the 3rd time precision information, at least a time precision information is different from other two time essences
Degree information.It addition, the first set eliminates time essence in the first clockwork, second clock equipment and the 3rd clockwork
Spend minimum clockwork.Therefore, the first set can only comprise the first clockwork, second clock equipment and the 3rd clock and sets
A clockwork in Bei or two clockworks.
Second set comprises one or more clockwork.When implementing, refer to the description above for the first set.
It will be understood by those skilled in the art that and the second set eliminates the first clockwork, second clock equipment and the 3rd
The clockwork that clockwork medium frequency precision is minimum.Second set also can only comprise the first clockwork, second clock equipment
And the 3rd clockwork in clockwork or two clockworks.
3rd set is the first set and the second intersection of sets collection.Therefore, the 3rd set can only comprise the first clockwork, the
A clockwork in two clockworks and the 3rd clockwork or two clockworks.It addition, in the 3rd set not only
Eliminate the clockwork that in the first clockwork, second clock equipment and the 3rd clockwork, time precision is minimum, also get rid of
The clockwork that first clockwork, second clock equipment and the 3rd clockwork medium frequency precision are minimum.
The clock equipment determined from clockwork is from the 3rd set.Therefore, it is to avoid choose first clockwork, second
The clockwork that in clockwork and the 3rd clockwork, time precision is minimum.Meanwhile, it also avoid and choose the first clock and set
Standby, second clock equipment and the minimum clockwork of the 3rd clockwork medium frequency precision.
Optionally,
This first clock grade information and this second clock class information are carried in the clock grade field of declaration message.
First clock grade information can be carried on clock grade (ClockClass) field of declaration (Announce) message.
Announce message and ClockClass field can be defined by the version after the 1588 agreement second editions.
Optionally,
3rd clock grade information is carried in the clock grade field of declaration message.
When 3rd clock grade information implements, refer to believe above for the first clock grade information and second clock grade
The description of breath.
Optionally,
Determine that this first clockwork is to include after clock equipment:
109 and this clock equipment carry out time synchronized and Frequency Synchronization.
In prior art, determine master clock according to the 1588 agreement second editions, and carry out time synchronized.Determine according to G.781 agreement
Master clock, line frequency of going forward side by side synchronizes.The master clock determined according to the 1588 agreement second editions and the master determined according to G.781 agreement
Clock is not the most same master clock.Therefore, in prior art, when carrying out time synchronized, when clock equipment is operated in
Between plane.When carrying out Frequency Synchronization, clock equipment is operated in frequency plane.When carrying out the clock equipment of time synchronized and entering
When the clock equipment that line frequency synchronizes not is same equipment, time plane and frequency plane are not on same equipment.From clock
Equipment and two clock equipment synchronize, and the complexity of synchronization is higher.
Therefore, the method that the present embodiment provides ensure that and determines and carry out the clock equipment of time synchronized and carry out Frequency Synchronization
Clock equipment is same clock equipment.Reduce the complexity carrying out time synchronized and Frequency Synchronization from clockwork.
Embodiment two
Embodiments provide a kind of method sending message.The executive agent of the method can be clock equipment.Fig. 2 is
The flow chart of a kind of method sending message that the embodiment of the present invention provides.The method includes:
201, clockwork send message, this message comprises clock grade information, this clock grade information by time class information,
Frequency level information and preset function determine, this time class information is for identifying the time precision of this clockwork, this frequency etc.
Level information is for identifying the frequency accuracy of this clockwork.
About clock grade information, refer to 101 in embodiment one.
About time class information, frequency level information and preset function, refer to 101 in embodiment one.
Method that is visible, that provided by the present embodiment, contains clock grade information in the message that clockwork sends.Clock etc.
Level information is time class information and the function of frequency level information.Therefore, clock grade information had both reflected clockwork
Time precision, also reflects the frequency accuracy of clockwork.Therefore, the method that the present embodiment provides can provide ratio more fully
The clock grade information of the precision of reflection clockwork, in order to the network equipment receiving this clockwork is the most anti-according to ratio
The clock grade information of the precision reflecting clockwork selects clock equipment.
Optionally,
This clock grade information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
This clockwork be for the clock equipment carrying out time synchronized and Frequency Synchronization from clockwork.
When implementing, refer to 109 in embodiment one.
Visible, the method that the present embodiment provides ensure that and determines from clockwork and carry out the clock equipment of time synchronized and carry out
The clock equipment of Frequency Synchronization is same clock equipment.Reduce and carry out time synchronized and Frequency Synchronization from clockwork
Complexity.
Embodiment three
Embodiments provide a kind of method receiving message.The executive agent of the method can be from clockwork.Fig. 3 is
The flow chart of a kind of method receiving message that the embodiment of the present invention provides.The method includes:
301, receiving the message that clockwork sends, this message comprises clock grade information, and this clock grade information is by time grade
Information, frequency level information and preset function determine, this time class information, should for identifying the time precision of this clockwork
Frequency level information is for identifying the frequency accuracy of this clockwork.
About clock grade information, refer to 101 in embodiment one.
About time class information, frequency level information and preset function, refer to 101 in embodiment one.
Method that is visible, that provided by the present embodiment, contains clock grade information in the message received.Clock grade information
It is time class information and the function of frequency level information.Therefore, clock grade information had both reflected the time essence of clockwork
Degree, also reflects the frequency accuracy of clockwork.Therefore, the method that the present embodiment provides may insure that in the message received wraps
Contain the clock grade information than the precision more fully reflecting clockwork, in order to receive the equipment of message according to the most comprehensively
The clock grade information of the precision of ground reflection clockwork selects clock equipment.
Optionally,
This clock grade information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
The method that the present embodiment provides is after the message that this reception clockwork sends, it is also possible to include,
Determine that this clockwork is clock equipment, carry out time synchronized and Frequency Synchronization with this clock equipment.
When implementing, refer to 109 in embodiment one.
Visible, the method that the present embodiment provides ensure that when the equipment of reception message carries out synchronize with clockwork, receives message
The clock equipment carrying out time synchronized that equipment determines and the clock equipment carrying out Frequency Synchronization are that same master clock sets
Standby.The equipment reducing reception message carries out the complexity of time synchronized and Frequency Synchronization.
Embodiment four
Embodiments provide a kind of clockwork.This clockwork can perform the method that embodiment provides.This clock sets
Standby can be from clockwork.Fig. 4 is the structural representation of a kind of clockwork that the embodiment of the present invention provides.This equipment includes
Receptor 401 and determine unit 402.
This receptor 401, for receiving the first message that the first clockwork sends, comprises the first clock grade in this first message
Information, this first clock grade information is determined by very first time class information, first frequency class information and preset function, should
Very first time class information for identifying the time precision of this first clockwork, this first frequency class information be used for identifying this
The frequency accuracy of one clockwork.
When receptor 401 implements, it is referred to 101 in embodiment one.
This receptor 401 is additionally operable to receive the second message that second clock equipment sends, and comprises second clock etc. in this second message
Level information, this second clock class information is determined by the second time class information, second frequency class information and this preset function,
This second time class information is for identifying the time precision of this second clock equipment, and this second frequency class information is used for identifying this
The frequency accuracy of second clock equipment.
When receptor 401 implements, it is referred to 102 in embodiment one.
This determines that unit 402 is for determining this first clock according to this first clock grade information and this second clock class information
Equipment is clock equipment.
Determine when unit 402 implements, be referred to 103 in embodiment one.
Clockwork that is visible, that provided by the present embodiment, contains clock grade information in the message that clockwork receives.Time
Clock class information is time class information and the function of frequency level information.Therefore, clock grade information had both reflected alternative master
The time precision of clockwork, also reflects the frequency accuracy of alternative clock equipment.Therefore, the equipment that the present embodiment provides can
To realize selecting clock equipment according to than the clock grade information of the precision more fully reflecting alternative clock equipment.
Optionally,
This receptor 401 is additionally operable to receive the 3rd message that the 3rd clockwork sends, and comprises the 3rd clock etc. in the 3rd message
Level information, the 3rd clock grade information is determined by the 3rd time class information, the 3rd frequency level information and this preset function,
3rd time class information is for identifying the time precision of the 3rd clockwork, and the 3rd frequency level information is used for identifying this
The frequency accuracy of the 3rd clockwork;This very first time class information, this second time class information and the 3rd time grade
In information, at least a time class information is different from other two time class informations;This first frequency class information, should
In second frequency class information and the 3rd frequency level information, at least a frequency level information is different from other two frequencies
Rate class information.
When receptor 401 implements, it is referred to 104 in embodiment one.
This determines that unit 402 specifically includes acquisition subelement 403 and determines subelement 404.
This acquisition subelement 403 is for according to this first clock grade acquisition of information this very first time class information and first frequency
Class information.
When implementing, refer to 105 in embodiment one.
This acquisition subelement 403 is additionally operable to obtain this second time class information and the second frequency according to this second clock class information
Rate class information.
When implementing, refer to 106 in embodiment one.
This acquisition subelement 403 is additionally operable to according to the 3rd clock grade acquisition of information the 3rd time class information and the 3rd frequency
Rate class information.
When implementing, refer to 107 in embodiment one.
This determine subelement 404 for determining that the first clockwork is clock equipment, this first clockwork be the first set with
One element of the second intersection of sets collection;This first set comprises the first clockwork, second clock equipment and the 3rd clock and sets
The all of clockwork beyond clockwork that standby middle time precision is minimum;This second set comprise the first clockwork, second
All of clockwork beyond clockwork and the minimum clockwork of the 3rd clockwork medium frequency precision.
Determine when subelement 404 implements, refer to 108 in embodiment one.
Visible, the clock equipment that the clockwork of the present embodiment offer determines is from the 3rd set.Therefore, it is to avoid choose
The clockwork that in first clockwork, second clock equipment and the 3rd clockwork, time precision is minimum.Meanwhile, also avoid
Choose the clockwork that the first clockwork, second clock equipment and the 3rd clockwork medium frequency precision are minimum.
Optionally,
This clockwork also includes:
Lock unit 405, for carrying out time synchronized and Frequency Synchronization with this clock equipment.
When lock unit 405 implements, refer to 109 in embodiment one.
Visible, the present embodiment provide clockwork ensure that determine carry out time synchronized clock equipment and carry out frequency with
The clock equipment of step is same clock equipment.Reduce the complexity carrying out time synchronized and Frequency Synchronization from clockwork
Degree.
Embodiment five
Embodiments provide a kind of clockwork.This clockwork can be realized by the method that embodiment two provides.Figure
5 is the structural representation of a kind of clockwork that the embodiment of the present invention provides.This clockwork includes:
Transmitter 501,
This transmitter 501 is used for sending message, and this message comprises clock grade information, and this clock grade information is believed by time grade
Breath, frequency level information and preset function determine, this time class information is for identifying the time precision of this clockwork, and this is frequently
Rate class information is for identifying the frequency accuracy of this clockwork.
When transmitter 501 implements, refer to 201 in embodiment two.
Clockwork that is visible, that provided by the present embodiment, contains clock grade information in the message that this clockwork sends.
Clock grade information is time class information and the function of frequency level information.Clock grade information had both reflected clockwork
Time precision, also reflects the frequency accuracy of clockwork.Therefore, the method that the present embodiment provides can send ratio more fully
The clock grade information of the precision of reflection clockwork, in order to receive the network equipment of this clockwork according to clock grade information
Select clock equipment.
Optionally,
This clock grade information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
This clockwork be for the clock equipment carrying out time synchronized and Frequency Synchronization from clockwork.
When implementing, refer to 109 in embodiment one.
Visible, the clockwork that the present embodiment provides ensure that and carries out the clock equipment of time synchronized and carry out Frequency Synchronization
Clock equipment is same clock equipment.Reduce the complexity carrying out time synchronized and Frequency Synchronization.
Embodiment six
Embodiments provide a kind of reception equipment.This reception equipment can be realized by the method that embodiment three provides.Figure
6 is a kind of structural representation receiving equipment that the embodiment of the present invention provides.This equipment includes:
Receptor 601,
This receptor 601 is for receiving the message that clockwork sends, and this message comprises clock grade information, and this clock grade is believed
Breath is determined by time class information, frequency level information and preset function, and this time class information is for identifying this clockwork
Time precision, this frequency level information is for identifying the frequency accuracy of this clockwork.
When receptor 601 implements, refer to 301 in embodiment three.
Reception equipment that is visible, that provided by the present embodiment, contains clock grade information in the message that reception equipment receives.
Clock grade information is time class information and the function of frequency level information.Clock grade information had both reflected clockwork
Time precision, also reflects the frequency accuracy of clockwork.Therefore, the method that the present embodiment provides may insure that reception equipment connects
The message received contains the clock grade information than the precision more fully reflecting clockwork, in order to receive equipment according to
Clock equipment is selected than the clock grade information of the precision more fully reflecting clockwork.
Optionally,
This clock grade information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
This reception equipment can also include lock unit,
This lock unit is used for determining that this clockwork is clock equipment, carries out time synchronized and frequency with this clock equipment
Synchronize.
When implementing, refer to 109 in embodiment one.
Visible, the reception equipment that the present embodiment provides ensure that when reception equipment synchronizes, the carrying out time that reception equipment determines
The clock equipment synchronized and the clock equipment carrying out Frequency Synchronization are same clock equipment.Reduce reception equipment to enter
Row time synchronized and the complexity of Frequency Synchronization.
Embodiment seven
Embodiments provide a kind of clock system.Fig. 7 is that the structure of a kind of clock system that the embodiment of the present invention provides is shown
It is intended to.This clock system includes:
First clockwork 701, second clock equipment 702 and from clockwork 703;
This first clockwork 701 includes the first transmitter 704,
This first transmitter 704, for sending the first message, comprises the first clock grade information in this first message, this first time
Clock class information is determined by very first time class information, first frequency class information and preset function, and this very first time grade is believed
Breath is for identifying the time precision of this first clockwork, and this first frequency class information is for identifying the frequency of this first clockwork
Rate precision;
This second clock equipment 702 includes the second transmitter 705,
This second transmitter 705, for sending the second message, comprises second clock class information in this second message, this second time
Clock class information is determined by the second time class information, second frequency class information and this preset function, this second time grade
Information is for identifying the time precision of this second clock equipment, and this second frequency class information is for identifying this second clock equipment
Frequency accuracy;
Receptor 706 should be included from clockwork 703 and determine unit 707,
This receptor 706 is for receiving this first message that this first clockwork sends;
This receptor 706 is additionally operable to receive this second message that this second clock equipment sends;
This determines that unit 707 is for determining this first clock according to this first clock grade information and this second clock class information
Equipment is clock equipment.
When first clockwork 701 implements, refer to the clockwork that embodiment five provides.
When second clock equipment 702 implements, refer to the clockwork that embodiment five provides.
When clockwork 703 implements, refer to the clockwork that embodiment four provides.
The message that clock system that is visible, that provided by the present embodiment, the first clockwork and second clock equipment are sent is wrapped
Contain clock grade information.Clock grade information is time class information and the function of frequency level information.Clock grade information
Both reflect the time precision of clockwork, also reflects the frequency accuracy of clockwork.Therefore, the system that the present embodiment provides
Clock grade information than the precision more fully reflecting clockwork can be provided, can believe according to clock grade from clockwork
Breath selects clock equipment.
Optionally,
This clock system also includes the 3rd clockwork,
3rd clockwork includes the 3rd transmitter,
3rd transmitter, for sending the 3rd message, comprises the 3rd clock grade information in the 3rd message, the 3rd clock etc.
Level information is determined by the 3rd time class information, the 3rd frequency level information and this preset function, the 3rd time class information
For identifying the time precision of the 3rd clockwork, the 3rd frequency level information is for identifying the frequency of the 3rd clockwork
Precision;In this very first time class information, this second time class information and the 3rd time class information at least one time
Between class information be different from other two time class informations;This first frequency class information, this second frequency class information and
In 3rd frequency level information, at least a frequency level information is different from other two frequency level information;
This receptor 706 is additionally operable to receive the 3rd message that the 3rd clockwork sends;
This determines that unit 707 specifically includes acquisition subelement and determines subelement,
This acquisition subelement is for according to this first clock grade acquisition of information this very first time class information and this first frequency etc.
Level information;
This acquisition subelement is additionally operable to obtain this second time class information and this second frequency according to this second clock class information
Class information;
This acquisition subelement is additionally operable to according to the 3rd clock grade acquisition of information the 3rd time class information and the 3rd frequency
Class information;
This determine subelement for determining that this first clockwork is clock equipment, this first clockwork is the first set and the
One element of two intersection of sets collection;When this first set comprises this first clockwork, this second clock equipment and the 3rd
All of clockwork beyond the clockwork that in clock equipment, time precision is minimum;This second set comprise this first clockwork,
All of clockwork beyond this second clock equipment and the minimum clockwork of the 3rd clockwork medium frequency precision.
When 3rd clockwork implements, refer to the clockwork that embodiment five provides.
When acquisition subelement implements, refer to 105 in embodiment one, 106 and 107.
Determine when subelement implements, refer to 108 in embodiment one.
Visible, in the clock system that the present embodiment provides, the clock equipment determined from clockwork is from the 3rd set.Therefore,
Avoid and choose the clockwork that in the first clockwork, second clock equipment and the 3rd clockwork, time precision is minimum.
Meanwhile, it also avoid choose the first clockwork, second clock equipment and the 3rd clockwork medium frequency precision minimum time
Clock equipment.
Optionally,
This first clock grade information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
This second clock class information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
3rd clock grade information is carried in the clock grade field of declaration message.
When implementing, refer to embodiment one can be carried on the clock grade of declaration message about the first clock grade information
The description of field.
Optionally,
Lock unit should can also be included from clockwork 703,
This lock unit is for carrying out time synchronized and Frequency Synchronization with this first clockwork.
When implementing, refer to 109 in embodiment one.
Visible, the clock system that the present embodiment provides ensure that when clockwork carries out synchronize with clock equipment, sets from clock
The standby clock equipment carrying out time synchronized determined and the clock equipment carrying out Frequency Synchronization are same clock equipment.
Reduce the complexity carrying out time synchronized and Frequency Synchronization from clockwork.
One of ordinary skill in the art will appreciate that: all or part of step realizing said method embodiment can be referred to by program
The hardware that order is relevant completes, and foregoing routine can be stored in a computer read/write memory medium, this program upon execution,
Perform to include the step of said method embodiment;And aforesaid storage medium includes: ROM, RAM, magnetic disc or CD etc. are each
Plant the medium that can store program code.
Last it is noted that above example is only in order to illustrate technical scheme, it is not intended to limit;Although reference
The present invention has been described in detail by previous embodiment, it will be understood by those within the art that: it still can be to front
State the technical scheme described in each embodiment to modify, or wherein portion of techniques feature is carried out equivalent;And these are repaiied
Change or replace, not making the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can be completed by hardware,
Can also instruct relevant hardware by program to complete, described program can be stored in a kind of computer-readable recording medium,
Storage medium mentioned above can be read only memory, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all the spirit and principles in the present invention it
In, any modification, equivalent substitution and improvement etc. made, should be included within the scope of the present invention.
Claims (13)
1. the method determining clock equipment, it is characterised in that including:
Receive the first message that the first clockwork sends, described first message comprises the first clock grade information, described first
Clock grade information had both reflected the time precision of described first clockwork, also reflects the frequency essence of described first clockwork
Degree, described first clock grade information is determined by very first time class information, first frequency class information and preset function, institute
Stating very first time class information for identifying the time precision of described first clockwork, described first frequency class information is used for marking
Know the frequency accuracy of described first clockwork;
Receive the second message that second clock equipment sends, described second message comprises second clock class information, described second
Clock grade information had both reflected the time precision of described second clock equipment, also reflects the frequency essence of described second clock equipment
Degree, described second clock class information is determined by the second time class information, second frequency class information and described preset function,
Described second time class information is for identifying the time precision of described second clock equipment, and described second frequency class information is used for
Identify the frequency accuracy of described second clock equipment;
Described first clockwork and described the is determined according to described first clock grade information and described second clock class information
The order of the priority of two clockworks, when the priority of described first clockwork is higher than the priority of described second clock equipment
Time, determine that described first clockwork is clock equipment.
Method the most according to claim 1, it is characterised in that
Described determine that described first clockwork is main according to described first clock grade information and described second clock class information
Also include before clockwork:
Receive the 3rd message that the 3rd clockwork sends, described 3rd message comprises the 3rd clock grade information, the described 3rd
Clock grade information is determined by the 3rd time class information, the 3rd frequency level information and described preset function, when the described 3rd
Between class information for identifying the time precision of described 3rd clockwork, described 3rd frequency level information is used for identifying described the
The frequency accuracy of three clockworks;Described very first time class information, described second time class information and described 3rd time
In class information, at least a time class information is different from other two time class informations;Described first frequency grade is believed
In breath, described second frequency class information and described 3rd frequency level information, at least a frequency level information is different from
Other two frequency level information;
Described determine that described first clockwork is main according to described first clock grade information and described second clock class information
Clockwork specifically includes:
According to very first time class information and described first frequency class information described in described first clock grade acquisition of information;
Described second time class information and described second frequency class information is obtained according to described second clock class information;
According to the 3rd time class information and described 3rd frequency level information described in described 3rd clock grade acquisition of information;
Determining that described first clockwork is clock equipment, described first clockwork is the first set and the second intersection of sets collection
An element;Described first set comprises described first clockwork, described second clock equipment and described 3rd clock and sets
The all of clockwork beyond clockwork that standby middle time precision is minimum;Described second set comprise described first clockwork,
All of clock beyond described second clock equipment and the minimum clockwork of described 3rd clockwork medium frequency precision sets
Standby.
Method the most according to claim 1, it is characterised in that described first clock grade information and described second clock etc.
Level information is carried in the clock grade field of declaration message.
4. according to described method arbitrary in claims 1 to 3, it is characterised in that determine when described first clockwork is main
Include after clock equipment:
Time synchronized and Frequency Synchronization is carried out with described clock equipment.
5. the method sending message, it is characterised in that including:
Clockwork sends message, and described clockwork includes the first clockwork and second clock equipment, and described message comprises the
One message and the second message, described first message comprise the first clock grade information, described second message comprises second clock
Class information, described first clock grade information had both reflected the time precision of described first clockwork, also reflects described
The frequency accuracy of one clockwork, described second clock class information had both reflected the time precision of described second clock equipment, also
Reflect the frequency accuracy of described second clock equipment, by from clockwork according to described first clock grade information and described
Two clock grade information determine the order of described first clockwork and the priority of described second clock equipment, when described first
When the priority of clock equipment is higher than the priority of described second clock equipment, determine that described first clockwork is clock equipment.
6. the method receiving message, it is characterised in that including:
Receiving the message that clockwork sends, described clockwork includes the first clockwork and second clock equipment, described message
Comprise in the first message and the second message, described first message and comprise the first clock grade information, described second message comprises
Two clock grade information, described first clock grade information had both reflected the time precision of described first clockwork, also reflects
The frequency accuracy of described first clockwork, described second clock class information had both reflected the time essence of described second clock equipment
Degree, also reflects the frequency accuracy of described second clock equipment, by from clockwork according to described first clock grade information and
Described second clock class information determines the order of described first clockwork and the priority of described second clock equipment, when described
When the priority of the first clockwork is higher than the priority of described second clock equipment, determine that described first clockwork is master clock
Equipment.
7. a clockwork, it is characterised in that include receptor and determine unit:
Described receptor, for receiving the first message that the first clockwork sends, comprises the first clock grade in described first message
Information, described first clock grade information had both reflected the time precision of described first clockwork, when also reflects described first
The frequency accuracy of clock equipment, described first clock grade information is by very first time class information, first frequency class information and pre-
If function determines, described very first time class information is for identifying the time precision of described first clockwork, described first frequency
Class information is for identifying the frequency accuracy of described first clockwork;
Described receptor is additionally operable to receive the second message that second clock equipment sends, and comprises second clock etc. in described second message
Level information, described second clock class information had both reflected the time precision of described second clock equipment, also reflects described second
The frequency accuracy of clockwork, described second clock class information by the second time class information, second frequency class information and
Described preset function determines, described second time class information for identifying the time precision of described second clock equipment, described the
Two frequency level information are for identifying the frequency accuracy of described second clock equipment;
Described determine that unit is for determining described first according to described first clock grade information and described second clock class information
The order of the priority of clockwork and described second clock equipment, when the priority of described first clockwork is higher than described second
During the priority of clockwork, determine that described first clockwork is clock equipment.
Clockwork the most according to claim 7, it is characterised in that described receptor is additionally operable to receive the 3rd clockwork
The 3rd message sent, comprises the 3rd clock grade information, when described 3rd clock grade information is by the 3rd in described 3rd message
Between class information, the 3rd frequency level information and described preset function determine, described 3rd time class information is used for identifying institute
Stating the time precision of the 3rd clockwork, described 3rd frequency level information is for identifying the frequency accuracy of described 3rd clockwork;
In described very first time class information, described second time class information and described 3rd time class information, at least one
Time class information is different from other two time class informations;Described first frequency class information, described second frequency grade are believed
In breath and described 3rd frequency level information, at least a frequency level information is different from other two frequency level information;
Described determine that unit specifically includes acquisition subelement and determine subelement,
Described acquisition subelement is for according to very first time class information described in described first clock grade acquisition of information and the first frequency
Rate class information;
Described acquisition subelement is additionally operable to obtain described second time class information and second according to described second clock class information
Frequency level information;
Described acquisition subelement is additionally operable to according to the 3rd time class information and the 3rd described in described 3rd clock grade acquisition of information
Frequency level information;
Described determine subelement for determining that the first clockwork is clock equipment, described first clockwork be the first set with
One element of the second intersection of sets collection;Described first set comprises the first clockwork, second clock equipment and the 3rd clock
All of clockwork beyond the clockwork that in equipment, time precision is minimum;Described second set comprise the first clockwork,
All of clockwork beyond second clock equipment and the minimum clockwork of the 3rd clockwork medium frequency precision.
9. according to the clockwork described in claim 6 or 7, it is characterised in that described clockwork also includes:
Lock unit, for carrying out time synchronized and Frequency Synchronization with described clock equipment.
10. a clock system, it is characterised in that described clock system includes:
First clockwork, second clock equipment and from clockwork;
Described first clockwork includes the first transmitter,
Described first transmitter, for sending the first message, comprises the first clock grade information in described first message, and described first
Clock grade information had both reflected the time precision of described first clockwork, also reflects the frequency essence of described first clockwork
Degree, described first clock grade information is determined by very first time class information, first frequency class information and preset function, institute
Stating very first time class information for identifying the time precision of described first clockwork, described first frequency class information is used for marking
Know the frequency accuracy of described first clockwork;
Described second clock equipment includes the second transmitter,
Described second transmitter, for sending the second message, comprises second clock class information in described second message, and described second
Clock grade information had both reflected the time precision of described second clock equipment, also reflects the frequency essence of described second clock equipment
Degree, described second clock class information is determined by the second time class information, second frequency class information and described preset function,
Described second time class information is for identifying the time precision of described second clock equipment, and described second frequency class information is used for
Identify the frequency accuracy of described second clock equipment;
Described include receptor from clockwork and determine unit,
Described receptor is for receiving described first message that described first clockwork sends;
Described receptor is additionally operable to receive described second message that described second clock equipment sends;
Described determine that unit is for determining described first according to described first clock grade information and described second clock class information
Clockwork is clock equipment.
11. clock systems according to claim 10, it is characterised in that described clock system also includes the 3rd clockwork,
Described 3rd clockwork includes the 3rd transmitter,
Described 3rd transmitter, for sending the 3rd message, comprises the 3rd clock grade information in described 3rd message, and the described 3rd
Clock grade information is determined by the 3rd time class information, the 3rd frequency level information and described preset function, when the described 3rd
Between class information for identifying the time precision of described 3rd clockwork, described 3rd frequency level information is used for identifying described the
The frequency accuracy of three clockworks;Described very first time class information, described second time class information and described 3rd time
In class information, at least a time class information is different from other two time class informations;Described first frequency class information,
In described second frequency class information and described 3rd frequency level information at least frequency level information be different from other two
Individual frequency level information;
Described receptor is additionally operable to receive described 3rd message that described 3rd clockwork sends;
Described determine that unit specifically includes acquisition subelement and determine subelement,
Described acquisition subelement is for according to very first time class information described in described first clock grade acquisition of information and described the
One frequency level information;
Described acquisition subelement is additionally operable to obtain described second time class information and described according to described second clock class information
Second frequency class information;
Described acquisition subelement is additionally operable to according to the 3rd time class information described in described 3rd clock grade acquisition of information and described
3rd frequency level information;
Described determine subelement for determining that described first clockwork is clock equipment, described first clockwork is the first collection
Close an element with the second intersection of sets collection;Described first set comprises described first clockwork, described second clock equipment
And all of clockwork beyond the clockwork that in described 3rd clockwork, time precision is minimum;Described second set bag
Containing the clockwork that described first clockwork, described second clock equipment and described 3rd clockwork medium frequency precision are minimum
All of clockwork in addition.
12. 1 kinds of clockworks, it is characterised in that described clockwork includes transmitter,
Described transmitter is used for sending message, and described clockwork includes the first clockwork and second clock equipment, described message
Comprise in the first message and the second message, described first message and comprise the first clock grade information, described second message comprises
Two clock grade information, described first clock grade information had both reflected the time precision of described first clockwork, also reflects
The frequency accuracy of described first clockwork, described second clock class information had both reflected the time essence of described second clock equipment
Degree, also reflects the frequency accuracy of described second clock equipment, by from clockwork according to described first clock grade information and
Described second clock class information determines the order of described first clockwork and the priority of described second clock equipment, when described
When the priority of the first clockwork is higher than the priority of described second clock equipment, determine that described first clockwork is master clock
Equipment.
13. 1 kinds receive equipment, it is characterised in that described reception equipment includes receptor,
Described receptor is for receiving the message that clockwork sends, and described clockwork includes the first clockwork and second clock
Equipment, described message comprises and comprises the first clock grade information in the first message and the second message, described first message, and described
Comprising second clock class information in two message, described first clock grade information had both reflected the time of described first clockwork
Precision, also reflects the frequency accuracy of described first clockwork, when described second clock class information both reflects described second
The time precision of clock equipment, also reflects the frequency accuracy of described second clock equipment, by from clockwork according to described first time
Clock class information and described second clock class information determine the priority of described first clockwork and described second clock equipment
Order, when the priority of described first clockwork is higher than the priority of described second clock equipment, when determining described first
Clock equipment is clock equipment.
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
PCT/CN2011/083774 WO2013082812A1 (en) | 2011-12-09 | 2011-12-09 | Method and device for determining master clock device, and other method, device, and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103250371A CN103250371A (en) | 2013-08-14 |
CN103250371B true CN103250371B (en) | 2016-11-30 |
Family
ID=
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036361A (en) * | 2009-09-25 | 2011-04-27 | 华为技术有限公司 | Processing method, device and system for clock source selection |
CN102148652A (en) * | 2011-02-17 | 2011-08-10 | 上海奇微通讯技术有限公司 | System and method for measuring network clock synchronization |
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102036361A (en) * | 2009-09-25 | 2011-04-27 | 华为技术有限公司 | Processing method, device and system for clock source selection |
CN102148652A (en) * | 2011-02-17 | 2011-08-10 | 上海奇微通讯技术有限公司 | System and method for measuring network clock synchronization |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2265029A1 (en) | Image processor, image generator and computer program | |
CN108564966A (en) | The method and its equipment of tone testing, the device with store function | |
CN108121804B (en) | Cross-region distributed data storage method, device, terminal and storage medium | |
CN111417188B (en) | Terminal positioning method and device and storage medium | |
CN111277958A (en) | Label position determining method and device | |
CN102404397A (en) | Message reminding method, device and system | |
CN104809250B (en) | A kind of loose formula data consistency verification method | |
CN108737007A (en) | A kind of method for synchronizing time, device and equipment | |
CN109327846A (en) | Method, apparatus, terminal and the storage medium that wave beam measurement reports | |
CN106547870A (en) | Point table method and device of data base | |
CN110096413A (en) | A kind of disk localization method, system and electronic equipment and storage medium | |
US9892180B2 (en) | Data transfer between multiple databases | |
CN106802865B (en) | Response simulator and method for software test | |
CN110457321A (en) | Date storage method and Related product based on block chain | |
CN104765792A (en) | Dimension data storing method, device and system | |
CN103250371B (en) | Determine the method for clock equipment, equipment, additive method, equipment and system | |
WO2013082812A1 (en) | Method and device for determining master clock device, and other method, device, and system | |
CN109558131A (en) | A kind of intelligence generates the method and system of front end static page | |
CN109324973A (en) | A kind of method for testing software, device, equipment and computer readable storage medium | |
CN105162933B (en) | A kind of method, apparatus managing address book contact and a kind of intelligent terminal | |
CN109089159A (en) | The splicing method for previewing and Related product of promotion video | |
CN102104546B (en) | Synchronization method and system of forwarding table | |
CN109040937A (en) | Microphone blocks based reminding method and relevant apparatus | |
CN108920563A (en) | A kind of database switching method and device | |
CN103152411B (en) | Micro-blog information display packing and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant |