CN107437971A - The processing method and processing device of Synchronization Status Message - Google Patents
The processing method and processing device of Synchronization Status Message Download PDFInfo
- Publication number
- CN107437971A CN107437971A CN201610365918.5A CN201610365918A CN107437971A CN 107437971 A CN107437971 A CN 107437971A CN 201610365918 A CN201610365918 A CN 201610365918A CN 107437971 A CN107437971 A CN 107437971A
- Authority
- CN
- China
- Prior art keywords
- time
- frequency
- source
- information
- time state
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/02—Details
- H04J3/06—Synchronising arrangements
- H04J3/0635—Clock or time synchronisation in a network
- H04J3/0638—Clock or time synchronisation among nodes; Internode synchronisation
- H04J3/0658—Clock or time synchronisation among packet nodes
Abstract
The embodiments of the invention provide a kind of processing method and processing device of Synchronization Status Message, the processing method also includes:Determine the information of currently used time source and the frequency level of currently used frequency source;According to the information of the currently used time source and the frequency level of currently used frequency source, time state grade is carried in the time state information of output, solves the technical problem that accurate Frequency Synchronization status information is extracted and sent from the time synchronized status information in Time Synchronization Network to downstream, so that during network application, the part of nodes in Time Synchronization Network can be allowed when physical layer frequency synchronously goes wrong or does not support physical layer Frequency Synchronization, frequency level can be determined according to the time state grade in time synchronized status information, Frequency Synchronization is carried out further according to the frequency level of determination.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of processing method and processing device of Synchronization Status Message.
Background technology
Realized because the time synchronized of equipment is typically based on the basis of Frequency Synchronization, therefore, in a network between equipment
In addition to time synchronized, it is also desirable to reach Frequency Synchronization.Physical layer frequency simultaneous techniques is based primarily upon at present, such as synchronous ether technology
To realize, equipment extract frequency signal and synchronous from physical layer signal, meanwhile, transmission Frequency Synchronization status information between equipment,
Select source so that equipment carries out Frequency Synchronization and switch.
For in the prior art, after physical layer frequency synchronization process breaks down or frequency source loses, causing downstream
Network can not learn the problem of accurate Frequency Synchronization state, not yet propose effective solution at present.
The content of the invention
In view of above-mentioned technical problem, the embodiment of the present invention provides a kind of processing method and processing device of Synchronization Status Message, solution
Certainly after physical layer frequency synchronization process breaks down or frequency source loses downstream network can be caused not obtain in the prior art
The problem of knowing accurate Frequency Synchronization state.
According to the one side of the embodiment of the present invention, a kind of processing method of Synchronization Status Message, the place are additionally provided
Reason method includes:
Determine the information of currently used time source and the frequency level of currently used frequency source;
According to the information of the currently used time source and the frequency level of currently used frequency source, in the time shape of output
Time state grade corresponding to being carried in state information, the frequency level are used for frequency when recovering frequency as output etc.
Level.
Alternatively, the information of the currently used time source is to obtain temporal information by a reference source, described currently used
The frequency level in source on the basis of the frequency level of frequency source.
Alternatively, the information of the currently used time source is drop-out time source and time deviation is smart beyond the predetermined time
Degree scope, or time source are unavailable.
Alternatively, different time state grades corresponds to same frequency level, or different time state grades pair
Answer different frequency levels.
According to the other side of the embodiment of the present invention, a kind of processing method of Synchronization Status Message is additionally provided, it is described
Processing method includes:
The time state information that upstream equipment is sent is obtained, the time state information includes:Work as with the upstream equipment
Time state grade corresponding to the information in preceding usage time source and the frequency level of currently used frequency source;
Frequency level using the frequency level corresponding to the time state grade as output.
Alternatively, the time state information for obtaining upstream equipment and sending, including:
If recovering frequency using PTP messages, the time state is extracted in the PTP messages sent from the upstream equipment
Information.
Alternatively, the processing method also includes:
Whether detection physical layer Frequency Synchronization goes wrong, if physical layer frequency synchronously goes wrong, starts extensive using PTP
Complex frequency;Or
If the equipment does not support physical layer Frequency Synchronization in itself, start and recover frequency using PTP.
Alternatively, different time state grades corresponds to same frequency level, or different time state grades pair
Answer different frequency levels.
According to the other side of the embodiment of the present invention, a kind of processing unit of Synchronization Status Message is additionally provided, it is described
Processing unit includes:
First determining module, for determining the information of currently used time source and the frequency level of currently used frequency source;
First output module, for the information according to the currently used time source and frequency of currently used frequency source etc.
Level, time state grade, the frequency level are used for the upstream device corresponding to carrying in the time state information of output
Frequency level when recovering frequency as output.
Alternatively, the information of the currently used time source is to obtain temporal information by a reference source, described currently used
The frequency level in source on the basis of the frequency level of frequency source.
Alternatively, the information of the currently used time source is drop-out time source and time deviation is smart beyond the predetermined time
Degree scope, or time source are unavailable.
Alternatively, different time state grades corresponds to same frequency level, or different time state grades pair
Answer different frequency levels.
According to the another aspect of the embodiment of the present invention, a kind of processing unit of Synchronization Status Message is additionally provided, it is described
Processing unit includes:
Acquisition module, for obtaining the time state information of upstream equipment transmission, the time state information includes:With institute
State time state grade corresponding to the information of the currently used time source of upstream equipment and the frequency level of currently used frequency source;
Setup module, for the frequency level using the frequency level corresponding to the time state grade as output.
Alternatively, the acquisition module is further used for:
If recovering frequency using PTP messages, the time state is extracted in the PTP messages sent from the upstream equipment
Information.
Alternatively, the processing unit also includes:
Detection module, for detecting whether physical layer Frequency Synchronization goes wrong;
First starting module, if synchronously being gone wrong for physical layer frequency, start and recover frequency using PTP;
And/or
Second starting module, if not supporting physical layer Frequency Synchronization in itself for the equipment, start and recover frequency using PTP
Rate.
Alternatively, different time state grades corresponds to same frequency level, or different time state grades pair
Answer different frequency levels.
According to the another aspect of the embodiment of the present invention, a kind of processing method of Synchronization Status Message is additionally provided, it is described
Processing method includes:
Determine the information of currently used time source;
According to the information of the currently used time source, preassigned frequency is carried in the time state information of output
Time state grade corresponding to grade, the frequency level are used for the frequency level when recovering frequency as output;Or
According to the information of the currently used time source, time state grade is carried in the time state information of output,
The time state grade is used for the frequency level that upstream device recovers output.
Alternatively, the information of the currently used time source includes any one of following:
Time server or upstream device drop-out time source, and in the range of the predetermined time precision of time deviation;
Upstream device drop-out time source and time deviation exceeds predetermined time precision scope;
On upstream device or time server time source was not tracked after electricity.
According to the another aspect of the embodiment of the present invention, a kind of processing unit of Synchronization Status Message is additionally provided, it is described
Processing unit includes:
Second determining module, for determining the information of currently used time source;
Second output module, for the information according to the currently used time source, in the time state information of output
Time state grade corresponding to preassigned frequency level is carried, the frequency level is used for when recovering frequency as output
Frequency level, or for the information according to the currently used time source, when being carried in the time state information of output
Between state grade, the time state grade be used for upstream device recover output frequency level.
Alternatively, the information of the currently used time source includes any one of following:
Time server or upstream device drop-out time source, and time deviation is in the range of predetermined time precision;
Upstream device drop-out time source and time deviation exceeds predetermined time precision scope;
On upstream device or time server time source was not tracked after electricity.
A technical scheme in above-mentioned technical proposal has the following advantages that or beneficial effect:According to the currently used of acquisition
The frequency level of the information of time source and currently used frequency source, the time shape corresponding to carrying in the time state information of output
State grade, solve and accurate Frequency Synchronization state is extracted and sent from the time synchronized status information in Time Synchronization Network
To the technical problem in downstream, so that during network application, the part of nodes in Time Synchronization Network can be allowed in physical layer
, can be according to the time state in time synchronized status information when Frequency Synchronization goes wrong or do not support physical layer Frequency Synchronization
Grade determines frequency level, and Frequency Synchronization is carried out further according to the frequency level of determination, and using the technical side in the present embodiment
During case, Frequency Synchronization status information can also be issued accurately, so that this scheme has actual application value, effectively lifting
The reliability of network.
Brief description of the drawings
Fig. 1 is existing time synchronized and Frequency Synchronization network diagram;
Fig. 2 is the flow chart according to the processing method of the Synchronization Status Message of the first embodiment of the present invention;
Fig. 3 is the flow chart according to the processing method of the Synchronization Status Message of the second embodiment of the present invention;
Fig. 4 is the schematic diagram according to the processing unit of the Synchronization Status Message of the third embodiment of the present invention;
Fig. 5 is the schematic diagram according to the processing unit of the Synchronization Status Message of the fourth embodiment of the present invention;
Fig. 6 is the flow chart according to the processing method of the Synchronization Status Message of the fifth embodiment of the present invention;
Fig. 7 is the schematic diagram according to the processing unit of the Synchronization Status Message of the sixth embodiment of the present invention.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing
Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here
Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure
Completely it is communicated to those skilled in the art.
One skilled in the art will appreciate that embodiments of the present invention can be implemented as a kind of system, device, equipment, method
Or computer program product.Therefore, embodiments of the invention can be implemented as following form:It is complete hardware, complete
Software (including firmware, resident software, microcode etc.), or the form that hardware and software combines.
According to the embodiment of the present invention, it is proposed that a kind of processing method and processing device of Synchronization Status Message.
The inventors discovered that when accurate time synchronization protocol (Precision Time Protocol, PTP) is master-slave mode
Between synchronous protocol, timing tracking accuracy can reach submicrosecond level, and master clock provides source time, synchronous for next stage clock, also
It is to supply from clock reference.From clock by with master clock intercommunication message, according to master clock provide time adjustment local when
Between.Time Synchronization Network can be set up by PTP, time server is set in upstream, client is sent to such as by PTP protocol
Base station equipment etc., temporal information is provided for it.PTP passes through Announce message passing times while passing time information
Status information, so that downstream can get the time synchronized state of upstream, source is selected to switch correctly to synchronize
Deng operation.
Time synchronized and Frequency Synchronization realize that Fig. 1 is that a typical time is same based on different technologies in the prior art
Step and Frequency Synchronization network diagram, time server provide time source, by PTP (Precision Time Protocol,
Accurate time synchronization protocol) message sends temporal information to downstream.Frequency synchronization apparatus provides frequency source, passes through synchronous ether
Frequency information is sent to downstream etc. technology.Time synchronized and Frequency Synchronization processing are carried out inside each device node simultaneously.
Assuming that after some physical layer of device Frequency Synchronization processing failure or frequency source are lost, such as NE3 equipment in Fig. 1
(alternatively referred to as the 3rd network element device) synchronous ether goes wrong, then not only influences NE3 itself time synchronized performance, Er Qiehui
Have influence on equipment NE6 (alternatively referred to as the 6th network element device), NE7 (alternatively referred to as the 7th network element device), NE8 (alternatively referred to as the
Eight network element devices), the time synchronized and Frequency Synchronization performance of first base station and the second base station.
NE3 in such as Fig. 1 when synchronous ether goes wrong, when the part of nodes in Time Synchronization Network using PTP come
When carrying out Frequency Synchronization, these nodes need to carry Frequency Synchronization state letter in its Frequency Synchronization output to upstream device
Breath, and it is the time synchronized status information of upstream that these nodes, which are used to recover to carry in the PTP messages of frequency, it is therefore desirable to it is real
Now extracted from the time synchronized status information in Time Synchronization Network and send accurate Frequency Synchronization status information to downstream
Network, otherwise, downstream network can not learn accurate Frequency Synchronization state, will influence the monitoring and choosing of whole synchronizing network
Source.
First embodiment
With reference to Fig. 1 application scenarios, the synchronous regime according to exemplary embodiment of the invention is described with reference to Figure 2
The processing method of information, the executive agent of the processing method is not limited in the present embodiment, such as the executive agent can be
Time server, or other can when sending time state crossover frequency grade any equipment, such as upstream device
(including nodes equipment or end-equipment).It should be noted that above-mentioned application scenarios are for only for ease of understanding originally
Invention spirit and principle and show, embodiments of the present invention are unrestricted in this regard.On the contrary, the implementation of the present invention
Mode can apply to applicable any scene.
Show to show the processing method of Synchronization Status Message referring to Fig. 2, in figure, may comprise steps of:
The frequency level of step 201, the information for determining currently used time source and currently used frequency source, subsequently into step
Rapid 203.
Above-mentioned time source can be the time source that time server uses, such as a reference source (such as ground time service center reference
Source, satellite time transfer source, GPS etc.) or other kinds of time source, the not tool in limiting time source in the present embodiment
Body type.
Said frequencies source includes but is not limited to obtain or obtain from the clock built in itself etc. from outside.
Said frequencies grade includes but is not limited to:PRC (reference clock) grade, EEC (ethernet device clock) grade,
SSU_A grades (G.812 transit exchange's clock signal), SSU_B grades (G.812 local office clock signal) etc..
Step 203, according to the information of currently used time source and the frequency level of currently used frequency source, output when
Between carry in status information corresponding to time state grade, frequency level is used for frequency when recovering frequency as output etc.
Level.
For example, the time state that time server exports in downstream equipment (including intermediary device or end-equipment)
Time state grade corresponding to being carried in information, upstream device by PTP messages when recovering frequency, by obtaining and time shape
Frequency level corresponding to state grade, the frequency level can be used in the various Frequency Synchronization coffrets that the upstream device has taking
Band, such as synchronous ether interface, outer synchronization timing interface (such as 2MHz, 2Mbit/s) etc..
A kind of optional embodiment of step 203:The information of currently used time source is to obtain time letter by a reference source
Cease, the frequency level in source on the basis of the frequency level of currently used frequency source, the frequency with a reference source is carried in time state information
Time state grade corresponding to rate grade.
Specifically, as time server locks a reference source (such as ground time service center reference source, satellite time transfer source, GPS
Deng) obtaining the time and during frequency information, the time source and frequency source that get are highest rankings, the time state at this moment exported
Highest time state grade is carried in message, such as numerical value corresponding to highest time state grade could be arranged to numeral
" 6 ", i.e., carried in the time state message of output digital " 6 ", certainly not limiting time state grade in the present embodiment
Corresponding concrete numerical value size.
Another optional implementation of step 203:The information of currently used time source be time server drop-out time source and
Time deviation is unavailable beyond predetermined time precision scope or time source, and obtains in step 201 currently used
The frequency source grade of frequency source, the time state grade corresponding to carrying in the time state information of output.
Specifically, when time server drop-out time source and time deviation exceed predetermined time precision scope or time
During source unavailable (such as time source grade is relatively low), the time state grade in the time state message at this moment exported is compared to above-mentioned
Reduced when locking a reference source situation, and different time state grades is given according to the frequency source grade of its acquisition, if frequency
Source is higher ranked, then gives of a relatively high time state grade.
Such as:
Time source is lost and time deviation exceeds predetermined time precision scope, when frequency source is PRC grades, time state
Grade is x;
Time source is lost and time deviation exceeds predetermined time precision scope, when frequency source is SSU_A grades, time shape
State grade is y;
Time source is lost and time deviation exceeds predetermined time precision scope, when frequency source is SSU_B grades, time shape
State grade is z, wherein,
The order of time state grade can be:Time state grade x is higher than time state grade y higher than time state etc.
Level z.
It should be noted that in the present embodiment, different time state grades corresponds to same frequency level, or not
Same time state grade corresponds to different frequency levels.
The optional implementation of another of step 203:If the information of currently used time source is nodes device losses
Time source, and the frequency source grade of the currently used frequency source obtained in step 201, in the time state information of output
Time state grade corresponding to carrying.
Time state grade is shown in table 1 with frequency level, it is necessary to illustrate, the corresponding pass in part is illustrate only in table
System:
Table 1
In the present embodiment, according to the information of the currently used time source of acquisition and the frequency of currently used frequency source etc.
Level, time state grade corresponding to carrying, was solved from the time in Time Synchronization Network in the time state information of output
Extracted in Synchronization Status Message and send technical problem of the accurate Frequency Synchronization status information to downstream, so that network should
Used time, the part of nodes in Time Synchronization Network can be allowed synchronously to be gone wrong in physical layer frequency or do not support physical layer frequently
During rate synchronization, frequency level can be determined according to the time state grade in time synchronized status information, further according to the frequency of determination
Rate grade carries out Frequency Synchronization, and during using technical scheme in the present embodiment, Frequency Synchronization status information can also be accurate
Issue, so that this scheme has actual application value, effectively lift the reliability of network.
Second embodiment
With reference to Fig. 1 application scenarios, the synchronous regime according to exemplary embodiment of the invention is described with reference to Figure 3
The processing method of information, the executive agent of the processing method can be with upstream device (such as nodes equipment or ends
Equipment).Understand spirit and principles of the present invention it should be noted that above-mentioned application scenarios are for only for ease of and show, this hair
Bright embodiment is unrestricted in this regard.On the contrary, embodiments of the present invention can apply to applicable any field
Scape.
Referring to Fig. 3, a kind of processing method of Synchronization Status Message is shown in figure, specific steps can include:
Step 301, the time state information that upstream equipment is sent is obtained, the time state information includes:With upstream equipment
Time state grade corresponding to the frequency level of the information of currently used time source and currently used frequency source, subsequently into step
303。
Such as upstream device obtain upstream equipment send time state information, upstream equipment be relative to upstream device and
Speech, the particular type of upstream equipment is not limited in the present embodiment.
Specifically, if nodes equipment recovers frequency using PTP messages, from the PTP messages of upstream equipment transmission
In extract time state information, the PTP messages transmitted based on upstream equipment recover frequency, then can mitigate to downstream network
The influence of time synchronized and Frequency Synchronization performance.
Alternatively, can judge whether to need to use PTP messages to recover frequency in the following way in the present embodiment:
Whether mode one, detection physical layer Frequency Synchronization first go wrong, and above mentioned problem includes but is not limited to:Frequency source
Lose, frequency source fails, frequency source degrades, has situations such as alarm etc..If physical layer frequency synchronously goes wrong, thing is not used
Reason layer Frequency Synchronization mode obtains synchronization, starts and recovers frequency using PTP.
If mode two, equipment do not support physical layer Frequency Synchronization in itself, start and recover frequency using PTP.
The said equipment refers to upstream device in itself.
Certainly it should be noted that not limiting the concrete mode for obtaining time state information in the present embodiment.
Step 303, the frequency level using the frequency level corresponding to time state grade as output.
Upstream device by PTP messages when recovering frequency, by obtaining frequency level corresponding with time state grade,
The frequency level can be used in the various Frequency Synchronization coffrets that the upstream device has carrying, such as synchronous ether interface,
Outer synchronization timing interface (such as 2MHz, 2Mbit/s) etc..
It should be noted that in the present embodiment, different time state grades corresponds to same frequency level, or not
Same time state grade corresponds to different frequency levels.For example, with reference to the corresponding relation shown in table 1.
In the present embodiment, time state grade is determined from time state information, then by corresponding to time state grade
Frequency level as output frequency level, solve and extracted simultaneously from the time synchronized status information in Time Synchronization Network
Technical problem of the accurate Frequency Synchronization status information to downstream is sent, so that during network application, the time can be allowed same
Walk network in part of nodes when physical layer frequency synchronously goes wrong or does not support physical layer Frequency Synchronization, can according to when
Between time state grade in Synchronization Status Message determine frequency level, carry out Frequency Synchronization further according to the frequency level of determination,
And when using the technical scheme in the present embodiment, Frequency Synchronization status information can also be issued accurately, so that this side
Case has actual application value, effectively lifts the reliability of network.
3rd embodiment
Referring to Fig. 4, a kind of processing unit of Synchronization Status Message is shown in figure, the processing unit includes:
First determining module 401, for determining the frequency level of currently used frequency source;
First output module 403, for the frequency level according to the currently used frequency source, in the time state of output
Time state grade corresponding to being carried in information, the frequency level are used for the frequency level when recovering frequency as output.
Above-mentioned time source can be the time source that time server uses, such as a reference source (such as ground time service center reference
Source, satellite time transfer source, GPS etc.) or other kinds of time source, the not tool in limiting time source in the present embodiment
Body type.
Said frequencies source includes but is not limited to obtain or obtain from the clock built in itself etc. from outside.
Said frequencies grade includes but is not limited to:PRC (reference clock) grade, EEC (ethernet device clock) grade,
SSU_A grades (G.812 transit exchange's clock signal), SSU_B grades (G.812 local office clock signal) etc..
For example, time server is when downstream equipment (such as nodes equipment or end-equipment) exports
Between carry in status information corresponding to time state grade, upstream device when recovering frequency by PTP messages, by obtain with
Frequency level corresponding to time state grade, the various Frequency Synchronizations transmission that the frequency level can be used for the upstream device and have connect
Carried in mouthful, such as synchronous ether interface, outer synchronization timing interface (such as 2MHz, 2Mbit/s) etc..
Alternatively, the information of the currently used time source is to obtain temporal information by a reference source, described currently used
The frequency level in source on the basis of the frequency level of frequency source, frequency with a reference source etc. is carried in the time state information
Time state grade corresponding to level.Specifically, when time server locks a reference source (such as ground time service center reference source, is defended
Star time service source, GPS etc.) obtain the time and during frequency information, if the time source and frequency source that get are highest rankings, at this moment
Highest time state grade is carried in the time state message of output.
Alternatively, the information of the currently used time source is drop-out time source and time deviation is smart beyond the predetermined time
Spend scope, if or time source it is unavailable.
Specifically, when time server drop-out time source and time deviation exceed predetermined time precision scope or time
During source unavailable (such as time source grade is relatively low), the time state grade in the time state message at this moment exported is compared to above-mentioned
Reduced when locking a reference source situation, and different time state grades is given according to the frequency source grade of its acquisition, if frequency
Source is higher ranked, then gives of a relatively high time state grade.
Such as:
Time source is lost and time deviation exceeds predetermined time precision scope, when frequency source is PRC grades, time state
Grade is x;
Time source is lost and time deviation exceeds predetermined time precision scope, when frequency source is SSU_A grades, time shape
State grade is y;
Time source is lost and time deviation exceeds predetermined time precision scope, when frequency source is SSU_B grades, time shape
State grade is z, wherein,
The order of time state grade can be:Time state grade x is higher than time state grade y higher than time state etc.
Level z.
It should be noted that in the present embodiment, different time state grades corresponds to same frequency level, or not
Same time state grade corresponds to different frequency levels.
In the present embodiment, according to the information of the currently used time source of acquisition and the frequency of currently used frequency source etc.
Level, time state grade corresponding to carrying, was solved from the time in Time Synchronization Network in the time state information of output
Extracted in Synchronization Status Message and send technical problem of the accurate Frequency Synchronization status information to downstream, so that network should
Used time, the part of nodes in Time Synchronization Network can be allowed synchronously to be gone wrong in physical layer frequency or do not support physical layer frequently
During rate synchronization, frequency level can be determined according to the time state grade in time synchronized status information, further according to the frequency of determination
Rate grade carries out Frequency Synchronization, and during using technical scheme in the present embodiment, Frequency Synchronization status information can also be accurate
Issue, so that this scheme has actual application value, effectively lift the reliability of network.
Fourth embodiment
Referring to Fig. 5, a kind of processing unit of Synchronization Status Message is shown in figure, processing unit includes:
Acquisition module 501, for obtaining the time state information of upstream equipment transmission, the time state information includes:
Time state corresponding with the frequency level of the information and currently used frequency source of the currently used time source of the upstream equipment etc.
Level;
Setup module 503, for the frequency level using the frequency level corresponding to the time state grade as output.
Upstream device (such as nodes equipment or end-equipment) leads to when recovering frequency by PTP messages
Cross and obtain frequency level corresponding with time state grade, the various frequencies that the frequency level can be used for the upstream device to have are same
Carried in step coffret, such as synchronous ether interface, outer synchronization timing interface (such as 2MHz, 2Mbit/s) etc..
It should be noted that in the present embodiment, different time state grades corresponds to same frequency level, or not
Same time state grade corresponds to different frequency levels.For example, with reference to the corresponding relation shown in table 1.
Alternatively, the acquisition module is further used for:
If recovering frequency using PTP messages, the time state is extracted in the PTP messages sent from the upstream equipment
Information.
Alternatively, the processing unit also includes:
Detection module, for detecting whether physical layer Frequency Synchronization goes wrong;
First starting module, if synchronously being gone wrong for physical layer frequency, start and recover frequency using PTP.
And/or
Second starting module, if not supporting physical layer Frequency Synchronization in itself for the equipment, start and recover frequency using PTP
Rate.
In the present embodiment, time state grade is determined from time state information, then by corresponding to time state grade
Frequency level as output frequency level, solve and extracted simultaneously from the time synchronized status information in Time Synchronization Network
Technical problem of the accurate Frequency Synchronization status information to downstream is sent, so that during network application, the time can be allowed same
Walk network in part of nodes when physical layer frequency synchronously goes wrong or does not support physical layer Frequency Synchronization, can according to when
Between time state grade in Synchronization Status Message determine frequency level, carry out Frequency Synchronization further according to the frequency level of determination,
And when using the technical scheme in the present embodiment, Frequency Synchronization status information can also be issued accurately, so that this side
Case has actual application value, effectively lifts the reliability of network.
5th embodiment
Referring to Fig. 6, a kind of processing method of Synchronization Status Message is shown in figure, processing method can include following step
Suddenly:
Step 601, the information for determining currently used time source, subsequently into step 603;
Alternatively, the information of the currently used time source includes any one of following:
Time server or upstream device drop-out time source, and time deviation is in the range of predetermined time precision;
Upstream device drop-out time source and time deviation exceeds predetermined time precision scope;
On time server or upstream device time source was not tracked after electricity.
Step 603, the information according to the currently used time source, carry in the time state information of output and refer in advance
Time state grade corresponding to fixed frequency level, the frequency level are used for frequency when recovering frequency as output etc.
Level;Or
According to the information of the currently used time source, time state grade is carried in the time state information of output,
The time state grade is used for the frequency level that upstream device recovers output.
Frequency level is not differentiated between in the present embodiment, and unified frequency level can be used when recovering frequency.
In the present embodiment, according to the information of the currently used time source of acquisition, taken in the time state information of output
With time state grade corresponding to preassigned frequency level, solve from the time synchronized state letter in Time Synchronization Network
Extracted in breath and send technical problem of the accurate Frequency Synchronization status information to downstream, can be with so that during network application
Allow the part of nodes in Time Synchronization Network when physical layer frequency synchronously goes wrong or does not support physical layer Frequency Synchronization,
Frequency level can be determined according to the time state grade in time synchronized status information, be carried out further according to the frequency level of determination
Frequency Synchronization, and during using technical scheme in the present embodiment, Frequency Synchronization status information can also be issued accurately, so that
Obtaining this scheme has actual application value, effectively lifts the reliability of network.
Sixth embodiment
Referring to Fig. 7, a kind of processing unit of Synchronization Status Message is shown in figure, the processing unit includes:
Second determining module 701, for determining the information of currently used time source;
Second output module 703, for the information according to the currently used time source, in the time state information of output
It is middle to carry time state grade corresponding to preassigned frequency level, or for the letter according to the currently used time source
Breath, carries time state grade in the time state information of output, and the time state grade is used for upstream device and recovers defeated
The frequency level gone out.
Alternatively, the information of the currently used time source includes any one of following:
Time server or upstream device drop-out time source, and time deviation is in the range of predetermined time precision;
Upstream device drop-out time source and time deviation exceeds predetermined time precision scope;
On time server or upstream device time source was not tracked after electricity.
In the present embodiment, according to the information of the currently used time source of acquisition, taken in the time state information of output
With time state grade corresponding to preassigned frequency level, solve from the time synchronized state letter in Time Synchronization Network
Extracted in breath and send technical problem of the accurate Frequency Synchronization status information to downstream, can be with so that during network application
Allow the part of nodes in Time Synchronization Network when physical layer frequency synchronously goes wrong or does not support physical layer Frequency Synchronization,
Frequency level can be determined according to the time state grade in time synchronized status information, be carried out further according to the frequency level of determination
Frequency Synchronization, and during using technical scheme in the present embodiment, Frequency Synchronization status information can also be issued accurately, so that
Obtaining this scheme has actual application value, effectively lifts the reliability of network.
It should be understood that " one embodiment " or " embodiment " that specification is mentioned in the whole text mean it is relevant with embodiment
During special characteristic, structure or characteristic are included at least one embodiment of the present invention.Therefore, occur everywhere in entire disclosure
" in one embodiment " or " in one embodiment " identical embodiment is not necessarily referred to.In addition, these specific feature, knots
Structure or characteristic can combine in one or more embodiments in any suitable manner.
In various embodiments of the present invention, it should be appreciated that the size of the sequence number of above-mentioned each process is not meant to perform suitable
The priority of sequence, the execution sequence of each process should be determined with its function and internal logic, without the implementation of the reply embodiment of the present invention
Process forms any restriction
In addition, the terms " system " and " network " are often used interchangeably herein.
It should be understood that the terms "and/or", only a kind of incidence relation for describing affiliated partner, expression can deposit
In three kinds of relations, for example, A and/or B, can be represented:Individualism A, while A and B be present, these three situations of individualism B.
In addition, character "/" herein, it is a kind of relation of "or" to typically represent forward-backward correlation object.
In embodiment provided herein, it should be appreciated that " B " corresponding with A represents that B is associated with A, can be with according to A
Determine B.It is also to be understood that determine that B is not meant to determine B only according to A according to A, can also be according to A and/or other information
Determine B.
In several embodiments provided herein, it should be understood that disclosed method and apparatus, can be by other
Mode realize.For example, device embodiment described above is only schematical, for example, the division of the unit, only
For a kind of division of logic function, there can be other dividing mode when actually realizing, such as multiple units or component can combine
Or another system is desirably integrated into, or some features can be ignored, or do not perform.Another, shown or discussed phase
Coupling or direct-coupling or communication connection between mutually can be by some interfaces, the INDIRECT COUPLING or communication of device or unit
Connection, can be electrical, mechanical or other forms.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That the independent physics of unit includes, can also two or more units it is integrated in a unit.Above-mentioned integrated list
Member can both be realized in the form of hardware, can also be realized in the form of hardware adds SFU software functional unit.
The above-mentioned integrated unit realized in the form of SFU software functional unit, can be stored in one and computer-readable deposit
In storage media.Above-mentioned SFU software functional unit is stored in a storage medium, including some instructions are causing a computer
Equipment (can be personal computer, server, or network equipment etc.) performs receiving/transmission method described in each embodiment of the present invention
Part steps.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (Read-Only Memory, abbreviation
ROM), random access memory (Random Access Memory, abbreviation RAM), magnetic disc or CD etc. are various to store
The medium of program code.
Above-described is the preferred embodiment of the present invention, it should be pointed out that is come for the ordinary person of the art
Say, some improvements and modifications can also be made under the premise of principle of the present invention is not departed from, and these improvements and modifications also exist
In protection scope of the present invention.
Claims (20)
1. a kind of processing method of Synchronization Status Message, it is characterised in that the treating method comprises:
Determine the information of currently used time source and the frequency level of currently used frequency source;
According to the information of the currently used time source and the frequency level of currently used frequency source, believe in the time state of output
Time state grade corresponding to being carried in breath, the frequency level are used for the frequency level when recovering frequency as output.
2. processing method according to claim 1, it is characterised in that the information of the currently used time source is to pass through base
Quasi- source obtains temporal information, the frequency level in source on the basis of the frequency level of the currently used frequency source.
3. processing method according to claim 1, it is characterised in that
The information of the currently used time source is drop-out time source and time deviation exceeds predetermined time precision scope, or
Time source is unavailable.
4. according to the processing method described in any one of claims 1 to 3, it is characterised in that different time state grades is corresponding
Same frequency level, or different time state grades correspond to different frequency levels.
5. a kind of processing method of Synchronization Status Message, it is characterised in that the treating method comprises:
The time state information that upstream equipment is sent is obtained, the time state information includes:Currently make with the upstream equipment
The time state grade corresponding to the information of time source and the frequency level of currently used frequency source;
Frequency level using the frequency level corresponding to the time state grade as output.
6. processing method according to claim 5, it is characterised in that the time state letter for obtaining upstream equipment and sending
Breath, including:
If recovering frequency using PTP messages, the time state letter is extracted in the PTP messages sent from the upstream equipment
Breath.
7. processing method according to claim 6, it is characterised in that the processing method also includes:
Whether detection physical layer Frequency Synchronization goes wrong, if physical layer frequency synchronously goes wrong, starts and recovers frequency using PTP
Rate;Or
If the equipment does not support physical layer Frequency Synchronization in itself, start and recover frequency using PTP.
8. according to the processing method described in any one of claim 5~7, it is characterised in that different time state grades is corresponding
Same frequency level, or different time state grades correspond to different frequency levels.
9. a kind of processing unit of Synchronization Status Message, it is characterised in that the processing unit includes:
First determining module, for determining the information of currently used time source and the frequency level of currently used frequency source;
First output module, for the information and the frequency level of currently used frequency source according to the currently used time source,
Time state grade corresponding to being carried in the time state information of output, the frequency level are used for upstream device and are recovering frequency
Frequency level during rate as output.
10. processing unit according to claim 9, it is characterised in that the information of the currently used time source is to pass through
A reference source obtains temporal information, the frequency level in source on the basis of the frequency level of the currently used frequency source.
11. processing unit according to claim 9, it is characterised in that
The information of the currently used time source is drop-out time source and time deviation exceeds predetermined time precision scope, or
Time source is unavailable.
12. according to the processing unit described in any one of claim 9~11, it is characterised in that different time state grades pair
Same frequency level, or different time state grades is answered to correspond to different frequency levels.
13. a kind of processing unit of Synchronization Status Message, it is characterised in that the processing unit includes:
Acquisition module, for obtaining the time state information of upstream equipment transmission, the time state information includes:On described
Swim time state grade corresponding to the information of the currently used time source of equipment and the frequency level of currently used frequency source;
Setup module, for the frequency level using the frequency level corresponding to the time state grade as output.
14. processing unit according to claim 13, it is characterised in that the acquisition module is further used for:
If recovering frequency using PTP messages, the time state letter is extracted in the PTP messages sent from the upstream equipment
Breath.
15. processing unit according to claim 13, it is characterised in that the processing unit also includes:
Detection module, for detecting whether physical layer Frequency Synchronization goes wrong;
First starting module, if synchronously being gone wrong for physical layer frequency, start and recover frequency using PTP;
And/or
Second starting module, if not supporting physical layer Frequency Synchronization in itself for the equipment, start and recover frequency using PTP.
16. according to the processing unit described in any one of claim 13~15, it is characterised in that different time state grades pair
Same frequency level, or different time state grades is answered to correspond to different frequency levels.
17. a kind of processing method of Synchronization Status Message, it is characterised in that the treating method comprises:
Determine the information of currently used time source;
According to the information of the currently used time source, preassigned frequency level is carried in the time state information of output
Corresponding time state grade, the frequency level are used for the frequency level when recovering frequency as output;Or
According to the information of the currently used time source, time state grade is carried in the time state information of output, it is described
Time state grade is used for the frequency level that upstream device recovers output.
18. processing method according to claim 17, it is characterised in that the information of the currently used time source include with
It is any one of lower:
Time server or upstream device drop-out time source, and time deviation is in the range of predetermined time precision;
Upstream device drop-out time source and time deviation exceeds predetermined time precision scope;
On upstream device or time server time source was not tracked after electricity.
19. a kind of processing unit of Synchronization Status Message, it is characterised in that the processing unit includes:
Second determining module, for determining the information of currently used time source;
Second output module, for the information according to the currently used time source, carried in the time state information of output
Time state grade corresponding to preassigned frequency level, the frequency level are used for the frequency when recovering frequency as output
Rate grade, or for the information according to the currently used time source, time shape is carried in the time state information of output
State grade, the time state grade are used for the frequency level that upstream device recovers output.
20. processing unit according to claim 19, it is characterised in that the information of the currently used time source include with
It is any one of lower:
Time server or upstream device drop-out time source, and time deviation is in the range of predetermined time precision;
Upstream device drop-out time source and time deviation exceeds predetermined time precision scope;
On upstream device or time server time source was not tracked after electricity.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610365918.5A CN107437971B (en) | 2016-05-27 | 2016-05-27 | Processing method and device of synchronous state information |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610365918.5A CN107437971B (en) | 2016-05-27 | 2016-05-27 | Processing method and device of synchronous state information |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107437971A true CN107437971A (en) | 2017-12-05 |
CN107437971B CN107437971B (en) | 2020-08-14 |
Family
ID=60453313
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610365918.5A Active CN107437971B (en) | 2016-05-27 | 2016-05-27 | Processing method and device of synchronous state information |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107437971B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112511255A (en) * | 2020-11-23 | 2021-03-16 | 中国联合网络通信集团有限公司 | Time synchronization method and device |
CN112713956A (en) * | 2020-12-31 | 2021-04-27 | 广东大普通信技术有限公司 | Frequency selection method, device, equipment and storage medium of synchronous Ethernet |
CN113641548A (en) * | 2020-04-27 | 2021-11-12 | 北京小马智行科技有限公司 | Control method and device for automatic driving vehicle and automatic driving vehicle |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457346A (en) * | 2010-10-29 | 2012-05-16 | 中兴通讯股份有限公司 | Time synchronization realizing method and clock node |
CN102664699A (en) * | 2012-04-12 | 2012-09-12 | 中兴通讯股份有限公司南京分公司 | Method and device for selecting clock sources of microwave network elements |
WO2013082812A1 (en) * | 2011-12-09 | 2013-06-13 | 华为技术有限公司 | Method and device for determining master clock device, and other method, device, and system |
-
2016
- 2016-05-27 CN CN201610365918.5A patent/CN107437971B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102457346A (en) * | 2010-10-29 | 2012-05-16 | 中兴通讯股份有限公司 | Time synchronization realizing method and clock node |
WO2013082812A1 (en) * | 2011-12-09 | 2013-06-13 | 华为技术有限公司 | Method and device for determining master clock device, and other method, device, and system |
CN102664699A (en) * | 2012-04-12 | 2012-09-12 | 中兴通讯股份有限公司南京分公司 | Method and device for selecting clock sources of microwave network elements |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113641548A (en) * | 2020-04-27 | 2021-11-12 | 北京小马智行科技有限公司 | Control method and device for automatic driving vehicle and automatic driving vehicle |
CN112511255A (en) * | 2020-11-23 | 2021-03-16 | 中国联合网络通信集团有限公司 | Time synchronization method and device |
CN112713956A (en) * | 2020-12-31 | 2021-04-27 | 广东大普通信技术有限公司 | Frequency selection method, device, equipment and storage medium of synchronous Ethernet |
CN112713956B (en) * | 2020-12-31 | 2022-12-02 | 广东大普通信技术股份有限公司 | Frequency selection method, device, equipment and storage medium of synchronous Ethernet |
Also Published As
Publication number | Publication date |
---|---|
CN107437971B (en) | 2020-08-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104488336B (en) | The terminal synchronization method and device used within a wireless communication network | |
WO2015172506A1 (en) | Method for determining transmission time, terminal, base station, system and storage medium | |
EP2490357A3 (en) | A method of time synchronization of free running nodes in an avionics network | |
CN105830485B (en) | A kind of wireless link monitoring method and UE | |
CN106131919B (en) | A kind of synchronous method of non-stop layer self-organized network topology | |
JP2019504533A5 (en) | ||
JP6384697B2 (en) | Synchronization method, synchronization device, and base station | |
CN107437971A (en) | The processing method and processing device of Synchronization Status Message | |
US9509517B2 (en) | Method for transmitting and receiving data | |
CN105323054A (en) | Clock synchronization method and device | |
CN106028438A (en) | Method, device and system for base station time synchronization algorithm | |
CN103178917B (en) | A kind of clock synchronizing method of collaboration communication, system and information taken node | |
CN104703164A (en) | Method of acquiring synchronous references, method of transmitting synchronous information and equipment | |
WO2021082674A1 (en) | Time synchronization method, communication device, and system | |
CN108039933A (en) | A kind of local Internet of Things time precise synchronization method | |
CN102282787A (en) | Method for synchronizing local clocks in a distributed computer network | |
US8934596B2 (en) | Methods and apparatuses for synchronization of wireless devices in wireless networks | |
CN105960820B (en) | A kind of synchronizing device and method | |
CN108134644A (en) | Synchronous method, device, synchronizer and system | |
CN109068384A (en) | A kind of method for synchronizing time and system | |
CN103259639B (en) | A kind of clock synchronizing method of stack equipment and equipment | |
CN108307416A (en) | A kind of internet-of-things terminal management method | |
CN109586833A (en) | Determine the method and network node of port status | |
WO2015109524A1 (en) | Method and device for transmitting synchronisation signal | |
Li et al. | Data synchronization in ad hoc mobile networks |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |