CN107566069A - A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source - Google Patents

A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source Download PDF

Info

Publication number
CN107566069A
CN107566069A CN201610505913.8A CN201610505913A CN107566069A CN 107566069 A CN107566069 A CN 107566069A CN 201610505913 A CN201610505913 A CN 201610505913A CN 107566069 A CN107566069 A CN 107566069A
Authority
CN
China
Prior art keywords
source
clock
network element
frequency
grade
Prior art date
Application number
CN201610505913.8A
Other languages
Chinese (zh)
Inventor
曹海萍
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Priority to CN201610505913.8A priority Critical patent/CN107566069A/en
Publication of CN107566069A publication Critical patent/CN107566069A/en

Links

Abstract

The invention provides a kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source, wherein, the acquisition methods of clock source include:Declaration message is received, and obtains the class information of the frequency source rank field and time source rank field in the declaration message;Network element clock grade is obtained according to the class information, and clock source is obtained according to the network element clock grade.Scheme provided by the invention from declaration message by obtaining frequency source grade and time source grade, and obtain the number of degrees (network element clock grade) for selecting best master clock, clock source is obtained according to the number of degrees, the clock source is both that frequency is optimal and time optimal source, can be both the frequency source of network element simultaneously and network element time source.

Description

A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source

Technical field

The present invention relates to 1588 Frequency Synchronizations and Phase synchronization technical field, particularly relate to a kind of processing side for declaring message The acquisition methods and transmission equipment of method, clock source.

Background technology

1588 agreements (the precision interval clock synchronous protocol standard of network measure and control system) support three kinds of methods of synchronization:Only Frequency Synchronization, only time synchronized, temporal frequency are synchronous, wherein 1588 only time synchronized patterns, are referred to and entered using other phy clocks Line frequency is synchronous, the application of 1588 protocol realization time synchronizeds.The foundation that 1588 agreement principals and subordinates establish the link is notice (Announce) the clock quality field in message, during telecommunications network 1588 is applied, it define only Frequency Synchronization, only time synchronized Declaration Announce message clock qualities fill in mode, and selection master clock Master mode, but only Frequency Synchronization, and only Both modes of time synchronized can only be used alone, and have conflict in temporal frequency synchronization.The present invention describes a kind of compatible time The method of Frequency Synchronization.

Summarized G.8265.1 according to the precision time protocol telecommunications of Frequency Synchronization, clock quality in Announce messages etc. Level ClockClass fields are set to 80,82,84,86 respectively when locking the clock source that grade is 2,4,8,11;In multiple frequencies In the presence of source, according to one optimal frequency of clock quality hierarchical selection and optimal time source.

According to G.8275.1, the ClockClass fields in Announce messages, only Frequency Synchronization and only time synchronized Clock quality in Announce messages can not be compatible, causes when locking the time source of upstream, and during Frequency Locking, clock matter Amount grade ClockClass is set to 6, does not have the clock source which grade crossover frequency source is now, then one, downstream network element is wished During using 1588 messages not only frequency modulation but also phase modulation, clock (master clock) grade for having no idea to differentiate this Master is how many, is made Can not selecting 1588 sources into the network element, it is frequency source that can only select other phy clocks, when 1588 sources are as frequency source Between source, if the frequency level in 1588 source is very high, no selection time frequency is caused because the network element is unknown to this information The source of rate all highest rankings, further resulting in the Frequency Index of the network element can not meet to require.

The content of the invention

It is an object of the invention to provide a kind of processing method for declaring message, the acquisition methods of clock source and transmission to set It is standby, solve the problems, such as that 1588 sources can not be realized in telecommunications network in the prior art while do frequency source and time source.

In order to solve the above-mentioned technical problem, the embodiment of the present invention provides a kind of processing method for declaring message, including:

Obtain current frequency source and current time source;

Frequency source rank field is filled according to the current frequency source and the current time source respectively in message is declared With time source rank field, and declaration message is issued.

Optionally, the step of acquisition current frequency source and current time source includes:

The current frequency source is obtained from alternative frequency source according to frequency quality.

Optionally, the described the step of current frequency source is obtained from alternative frequency source according to frequency quality, includes:

The alternative frequency source is arranged according to the ascending order of the frequency quality;

The alternative frequency source to make number one is obtained as the current frequency source.

Optionally, it is described that frequency is filled according to the current frequency source and the current time source respectively in message is declared The step of source rank field and time source rank field, includes:

Increase and fill out in the afterbody or reserved field of the declaration message according to the frequency quality in the current frequency source Write the frequency source rank field.

Present invention also offers a kind of transmission equipment, including:

Acquisition module, for obtaining current frequency source and current time source;

First processing module, for being filled out respectively in message is declared according to the current frequency source and the current time source Frequency source rank field and time source rank field are write, and issues declaration message.

Optionally, the first processing module includes:

Submodule is filled in, in the afterbody of the declaration message or is reserved for the frequency quality according to the current frequency source Increase in field and fill in the frequency source rank field.

Present invention also offers a kind of acquisition methods of clock source, including:

Receive declaration message, and obtain it is described declaration message in frequency source rank field and time source rank field etc. Level information;

Network element clock grade is obtained according to the class information, and clock source is obtained according to the network element clock grade.

Optionally, described the step of obtaining network element clock grade according to the class information, includes:

Using the class information, network element clock grade described in preset data acquisition of information is matched.

Optionally, described the step of obtaining clock source according to the network element clock grade, includes:

The network element clock grade is arranged according to the order of grade from high to low;

The network element clock grade to make number one is obtained, corresponding network element clock is as the clock source.

Optionally, described the step of obtaining clock source according to the network element clock grade, also includes:

In the network element clock grade to make number one, when corresponding network element clock has multiple, according to each network element clock Priority obtain the clock source.

Optionally, in addition to:

The declaration message data that the network element clock grade is updated to the master clock port of this transmission equipment maintenance is concentrated;

According to the declaration message data collection and frequency source rank field structure message and issue.

Optionally, it is described to receive declaration message, and obtain frequency source rank field and time source in the declaration message The step of class information of rank field, includes:

Receive synchronous mode configuration information;

This transmission equipment is configured to by temporal frequency synchronous mode according to the synchronous mode configuration information;

Receive declaration message, and obtain it is described declaration message in frequency source rank field and time source rank field etc. Level information.

Present invention also offers a kind of transmission equipment, including:

Second processing module, for receive declare message, and obtain it is described declaration message in frequency source rank field and The class information of time source rank field;

3rd processing module, for obtaining network element clock grade according to the class information, and according to the network element clock Grade obtains clock source.

Optionally, the 3rd processing module includes:

First processing submodule, for utilizing the class information, matches network element clock described in preset data acquisition of information Grade.

Optionally, in addition to:

Update module, the declaration of the master clock port for the network element clock grade to be updated to the maintenance of this transmission equipment Message data is concentrated;

Fourth processing module, for building message simultaneously according to the declaration message data collection and the frequency source rank field Issue.

The above-mentioned technical proposal of the present invention has the beneficial effect that:

In such scheme, the acquisition methods of the clock source from declaration message by obtaining frequency source grade and time source Grade, and the number of degrees (network element clock grade) for selecting best master clock is obtained, clock source is obtained according to the number of degrees, should Clock source is both that frequency is optimal and time optimal source, can be both the frequency source of network element simultaneously and network element time source.

Brief description of the drawings

Fig. 1 is the process flow schematic diagram of the declaration message of the embodiment of the present invention one;

Fig. 2 is the acquisition methods schematic flow sheet of the clock source of the embodiment of the present invention two;

Fig. 3 is to select source schematic diagram without frequency source rank field in the prior art;

Fig. 4 be have a frequency source rank field in the embodiment of the present invention select source schematic diagram;

Fig. 5 is the transmission equipment structural representation of the embodiment of the present invention three;

Fig. 6 is the transmission equipment structural representation of the embodiment of the present invention four.

Embodiment

To make the technical problem to be solved in the present invention, technical scheme and advantage clearer, below in conjunction with accompanying drawing and tool Body embodiment is described in detail.

The present invention, which is directed in existing technology, can not realize 1588 sources in telecommunications network while do asking for frequency source and time source Topic, there is provided a variety of solutions, it is specific as follows:

Embodiment one

As shown in figure 1, the processing method for the declaration message that the embodiment of the present invention one provides includes:

Step 11:Obtain current frequency source and current time source;

Step 12:Frequency source etc. is filled according to the current frequency source and the current time source respectively in message is declared Level field and time source rank field, and issue declaration message.

The processing method for the declaration message that the embodiment of the present invention one provides in message is declared by filling in frequency source Rank field and time source rank field so that frequency can be known while time source grade is known by receiving the network element of message Rate source grade, and then choose the source of temporal frequency all highest rankings.

Specifically, the step of acquisition current frequency source and current time source, includes:According to frequency quality from alternative frequency The current frequency source is obtained in rate source.

More specifically, the described the step of current frequency source is obtained from alternative frequency source according to frequency quality, includes: The alternative frequency source is arranged according to the ascending order of the frequency quality;Acquisition makes number one described standby Selected frequency source is as the current frequency source.

Preferably, it is described that frequency is filled according to the current frequency source and the current time source respectively in message is declared The step of source rank field and time source rank field, includes:According to the frequency quality in the current frequency source in the declaration report Increase in the afterbody or reserved field of text and fill in the frequency source rank field.

Can match to obtain frequency source grade according to the frequency quality in the current frequency source, frequency source grade is filled out Write on frequency source rank field.

The processing method of the declaration message provided below the embodiment of the present invention one is further described, with executive agent Exemplified by optimal clock GrandMaster network elements (GM network elements, transmission equipment).

First, optimal clock GrandMaster network elements in all alternative frequency sources according to SSM mass (frequency quality) Height selects a frequency source, i.e. if the network element has a two physical frequencies source Ref1, Ref2, quality is respectively QL1, QL2, Wherein QL1<QL2, then GrandMaster selection Ref1 are current frequency source (the small representation quality of numerical value is high).

Then, GrandMaster network elements are after frequency source is selected, in Announce messages (declaration message) afterbody or One field FrequencyClockClass (frequency clock credit rating/frequency of increase in reserve fields (reserved field) Source grade), for showing the frequency clock grade QL1 of the network element.GrandMaster network elements are filled in Annouce messages ClockClass, indicate that (grade in source is filled with corresponding relation to time source grade with field, no longer superfluous herein with existing consistent State).

Wherein, Announce message tails or reserve fields are two positions in Announce messages, optional one Position.

The setting rule of FrequencyClockClass grades is as follows (according to default corresponding relation):

Embodiment two

As shown in Fig. 2 the acquisition methods for the clock source that the embodiment of the present invention two provides include:

Step 21:Declaration message is received, and obtains the frequency source rank field and time source grade in the declaration message The class information of field;

Step 22:When obtaining network element clock grade according to the class information, and being obtained according to the network element clock grade Zhong Yuan.

The acquisition methods for the clock source that the embodiment of the present invention two provides from declaration message by obtaining frequency source etc. Level and time source grade, and the number of degrees (network element clock grade) for selecting best master clock is obtained, obtained according to the number of degrees Take clock source, the clock source is both that frequency is optimal and time optimal source, can be both the frequency source of network element simultaneously and net The time source of member.

Wherein, the class information of the frequency source rank field obtained in the declaration message and time source rank field The step of include:Parse the frequency source rank field and time source rank field in the declaration message;Obtain the grade letter Breath.

Specifically, described the step of obtaining network element clock grade according to the class information, includes:Believed using the grade Breath, match network element clock grade described in preset data acquisition of information.

Preset data information is obtained using the corresponding relation between class information and network element clock grade, corresponding relation according to According to the corresponding setting of grade height.

Preferably, described the step of obtaining clock source according to the network element clock grade, includes:By described network element clock etc. Level is arranged according to the order of grade from high to low;Obtain the network element clock grade to make number one, corresponding network element Clock is as the clock source.

It could also say that, select the small network element clock of the value of the network element clock grade as the clock source.

Further, described the step of obtaining clock source according to the network element clock grade, also includes:What is made number one The network element clock grade, when corresponding network element clock has multiple, the clock source is obtained according to the priority of each network element clock.

That is, when the network element clock grade is identical, the clock is selected according to the priority of each network element clock Source.In view of actual conditions, the high network element clock of priority is obtained as the clock source.

In the embodiment of the present invention, the acquisition methods also include:The network element clock grade is updated to this transmission equipment The declaration message data for the master clock port that (network element) is safeguarded is concentrated;According to declaration the message data collection and the frequency source etc. Level field structure message simultaneously issues.

Wherein, it is described to receive declaration message, and obtain frequency source rank field and time source in the declaration message etc. The step of class information of level field, includes:Receive synchronous mode configuration information;It incite somebody to action this according to the synchronous mode configuration information Transmission equipment (network element) is configured to temporal frequency synchronous mode;Declaration message is received, and obtains the frequency in the declaration message The class information of source rank field and time source rank field.

It is exactly under temporal frequency synchronous mode in fact, receives with frequency source rank field and time source rank field Declare message.

In practical application, the frequency source rank field obtained in the declaration message and time source rank field etc. The step of level information, includes:The declaration message is distributed to this transmission equipment by the source port field in the declaration message The corresponding ports of (network element);The declaration message is parsed using the port, extraction frequency source class information, time source Class information and network element clock priority information.

Corresponding, described the step of obtaining clock source according to the network element clock grade, includes:First compared using the port The more same category of network element clock grade, obtain preliminary network element clock grade of all categories;The institute of more each classification again Preliminary network element clock grade is stated, obtains target network element clock grade;The clock is obtained according to the target network element clock grade Source.

The acquisition methods of the clock source provided below the embodiment of the present invention two are further described, to perform master Body is exemplified by downstream boundary clock BC network element (transmission equipment).

First, downstream boundary clock BC network elements receive synchronous mode configuration, and synchronous mode includes:Frequency Synchronization, time are same Step, temporal frequency are synchronous.Can be, user configuration that this BC equipment receives configuration.

Then, after the BC network elements of downstream time Frequency Synchronization pattern receive Announce messages, analytic frequency source grade FrequencyClockClass fields and clock grade ClockClass fields.

Wherein clock grade is really the grade of time source here.In order to compatible with existing standard, using in existing standard CLockClass fields.

Then, BC is according to frequency level obtained above and time rank field, during rule generation selection according to following table Zhong Yuanyong clock grade is designated as NeClockClass (selecting optimal source according to it, it is the smaller the better), and specific method is (according to frequency Rate grade and clock grade, obtain network element clock grade) as shown in following table (according to the corresponding setting of magnitude relationship):

FrequencyClockClass ClockClass NeClockClass 84 6 2 90 6 3 96 6 4 104 6 5 110 165 165 84 7 7 90 7 7 96 7 104 110

The data set parentDS.grandmaster_ for the Master that NeClockClass renewals are safeguarded to this network element In clockQuality (declaration message data collection), the Master (BC any Master ports) is exactly to send Annouce reports The sender of text.

Then, BC network elements in downstream perform existing 1588BMC algorithms, whether Frequency Synchronization, time synchronized, or time frequency Rate is synchronous, best all in accordance with data set parentDS.grandmaster_clockQuality hierarchical selection 1588Master, if grade is identical, optimal clock is determined according to the priority in each source, is now selected 1588Master is 1588 sources that frequency is optimal and time source is optimal.

Above mentioned clockQuality is a data acquisition system, small then including ClockClass, ClockClass Grade is high, more excellent.

BC network elements carry when downstream sending Announce messages in message GrandmasterClockQuality.ClockClass is in the Announce messages in 1588 sources selected in above-mentioned steps GrandmasterClockQuality.ClockClass, and FrequencyClockClass.Carry clock source and frequency Source information.

Scheme provided in an embodiment of the present invention is further described with reference to two sides (GM network elements and BC network elements).

In short, the embodiment of the present invention passes through in the message that is sent at 1588Master sides (master clock side, GM network elements) Increase field, indicate frequency source and time source quality, and at 1588Slave sides (from clock side, BC network elements) according to above field A number of degrees for being used to select best master clock is combined into, the source selected in all 1588Master is both that frequency is optimal (clock quality is best) and time optimal (clock quality is best) Master, the Master can be both that the frequency source of network element is same When be also network element time source.

It is provided by the invention exemplified by being selected with PTP (PrecisionTimeProtocol, precision time protocol) master clock Scheme is as follows:

(1) GrandMaster selects the frequency of a quality height (the small representation quality of QL numerical value is high) according to SSM quality Qs L height Rate source.

(2) GrandMaster sets Annouce messages respectively according to frequency source grade, and time source grade FrequencyClockClass, and ClockClass, it is sent to downstream (the BC network elements being connected).

(3) BC network elements receive Annouce messages, and message is distributed into corresponding each 1588 examples of ports (including Master Port and Slave ports):

The destination interface of all PTP ports on source port field and BC network elements in message is matched, if Source port in message is consistent with the destination interface of some PTP port, then message is issued the processing of this PTP port;

Wherein, PTP ports, are logics, are not actual physics.There can be multiple PTP examples on one physical port, That is logic port.

(4) 1588 examples of ports of BC network elements parse to Annouce messages, for selecting the one of clock source needs A little data information such as (including clock quality, priority, clock) walking about extract.

(5) information in the Announce messages that Slave examples of ports is sent according to each Master, data is performed and are compared (field information for indicating clock quality carried in Announce messages is carried out into processing comparison), selects optimal Master (it is selected in same category optimal, then multiple classifications it is optimal in select it is optimal).

Here Slave is a state.There is individual state each PTP ports, and this state can be user configuration, Can be that BC network elements are calculated according to BMC algorithms.

(6) the upper Master examples of ports of BC constructs message, hair according to the information in the optimal Master selected message It is sent to downstream (network element being connected).

From the foregoing, it will be observed that BC Slave examples whether carry out Frequency Synchronization by PTP protocol, time synchronized or time and Frequency Synchronization, optimal PTP Master sources can be chosen.

Continue with and be illustrated.

As shown in Figure 3 and Figure 4, BC network elements are frequency time synchronization network elements, receive multiple frequency sources (including:Building is comprehensive Close timing source BITS frequency sources, 1588 source frequency sources and synchronous ethernet SyncE frequency sources) when, as shown in figure 3, not having During FrequencyClockClass fields (in the prior art), BC can not choose optimum frequency time source.And use this hair After the scheme (increase FrequencyClockClass fields) of bright offer, optimum frequency time source can be chosen, such as Fig. 4 institutes Show;Specifically chosen flow is as follows:

(1) GrandMaster network elements have QL=2 frequency source, and select this source as network element frequency source, now downstream It is 84 to send band FrequencyClockClass fields in Announce messages, represents the QL=2 of its frequency source, ClockClass is 6, has tracked GPS (clock source of high quality).

(2) BC network elements are frequency time synchronization network element, and have 3 1588 examples of ports, and examples of ports 1, which have received, to be come from GrandMaster Announce messages, the FrequencyClockClass=80 in message and ClockClass=6 are carried After taking out, FrequencyClockClass=84 and ClockClass=6 are integrated and calculate NeClockClass= 2。

(3) examples of ports 3 have received FrequencyClockClass=90 and ClockClass=6 message, extract phase After answering field, FrequencyClockClass=84 and ClockClass=6 are integrated and calculate NeClockClass= 3。

(6) NeClockClass corresponding to the setting more each examples of ports of arbitrary port example, selects examples of ports 1 Corresponding PTP Master are optimal Master, and record optimal Master QL=2.

(7) optimal Master can be as the system clock of BC network elements, will when downstream sending Announce FrequencyClockClass=84, ClockClass=6 bring downstream.

In summary, scheme provided in an embodiment of the present invention 1588 sources can be realized in telecommunications network and meanwhile do frequency source and Time source, solve the problems, such as that the Frequency Index of network element in the prior art can not meet to require.

Embodiment three

As shown in figure 5, the transmission equipment that the embodiment of the present invention three provides includes:

Acquisition module 51, for obtaining current frequency source and current time source;

First processing module 52, for being distinguished according to the current frequency source and the current time source in message is declared Frequency source rank field and time source rank field are filled in, and issues declaration message.

The embodiment of the present invention three provide the transmission equipment by filled in message declare frequency source rank field with Time source rank field so that the network element for receiving message can be known frequency source grade, enter while time source grade is known And choose the source of temporal frequency all highest rankings.

Specifically, the acquisition module includes:First acquisition submodule, for according to frequency quality from alternative frequency source Obtain the current frequency source.

More specifically, first acquisition submodule includes:Arrangement units, for by the alternative frequency source according to described The ascending order of frequency quality is arranged;Acquiring unit, make for obtaining the alternative frequency source to make number one For the current frequency source.

Preferably, the first processing module includes:Submodule is filled in, for the frequency matter according to the current frequency source Measuring increases in the afterbody or reserved field of the declaration message and fills in the frequency source rank field.

It can be, fill in submodule, for matching to obtain frequency source grade according to the frequency quality in the current frequency source, Frequency source grade is filled in into frequency source rank field.

Wherein, the described of the processing method of the above-mentioned declaration message being related to realizes embodiment suitable for the transmission equipment In embodiment, it can also reach identical technique effect.

Example IV

As shown in fig. 6, the transmission equipment that the embodiment of the present invention four provides includes:

Second processing module 61, declare message for receiving, and obtain the frequency source rank field in the declaration message With the class information of time source rank field;

3rd processing module 62, for obtaining network element clock grade according to the class information, and during according to the network element Clock grade obtains clock source.

The transmission equipment that the embodiment of the present invention four provides from declaration message by obtaining frequency source grade and time Source grade, and the number of degrees (network element clock grade) for selecting best master clock is obtained, clock source is obtained according to the number of degrees, The clock source is both that frequency is optimal and time optimal source, can be both the frequency source of network element simultaneously and network element time Source.

Wherein, the 3rd processing module includes:First processing submodule, for utilizing the class information, matching is in advance If data message obtains the network element clock grade.

Preset data information is obtained using the corresponding relation between class information and network element clock grade, corresponding relation according to According to the corresponding setting of grade height.

Specifically, the 3rd processing module includes:Arrange submodule, for by the network element clock grade according to grade Order from high to low is arranged;Second acquisition submodule is right for obtaining the network element clock grade to make number one The network element clock answered is as the clock source.

It could also say that, the network element clock that the 3rd processing module is specifically used for selecting the value of the network element clock grade small is made For the clock source.

Further, the 3rd processing module also includes:3rd acquisition submodule, in the net to make number one First clock grade, when corresponding network element clock has multiple, the clock source is obtained according to the priority of each network element clock.

That is, the 3rd processing module is specifically used for when the network element clock grade is identical, according to each network element clock Priority select the clock source.In view of actual conditions, the high network element clock of priority is obtained as the clock source.

In the embodiment of the present invention, the transmission equipment also includes:Update module, for the network element clock grade to be updated The declaration message data for the master clock port safeguarded to this transmission equipment (network element) is concentrated;Fourth processing module, for according to institute State declaration message data collection and frequency source rank field structure message and issue.

Wherein, the Second processing module includes:Receiving submodule, for receiving synchronous mode configuration information;Configuration Module, for this transmission equipment (network element) to be configured into temporal frequency synchronous mode according to the synchronous mode configuration information;The Two processing submodules, declare message for receiving, and obtain frequency source rank field and time source in the declaration message etc. The class information of level field.

It is exactly that Second processing module is specifically used under temporal frequency synchronous mode in fact, reception has frequency source grade word The declaration message of section and time source rank field.

Wherein, the reality realized embodiment and be applied to the transmission equipment of the acquisition methods of the above-mentioned clock source being related to Apply in example, can also reach identical technique effect.

The transmission equipment referred in the embodiment of the present invention, which can be that interchanger, router etc. are any, supports setting for PTP protocol It is standby, it can also be certainly other similar devices, be not limited thereto.

It should be noted that this many functional part described in this description is all referred to as module/submodule, so as to more Add the independence for especially emphasizing its implementation.

In the embodiment of the present invention, module/submodule can be realized with software, so as to by various types of computing devices. For example, the executable code module of a mark can include the one or more physics or logic of computer instruction Block, for example, it can be built as object, process or function.Nevertheless, the executable code of institute's mark module need not It is physically located together, but the different instructions being stored in different positions can be included, is combined when in these command logics When together, it forms module and realizes the regulation purpose of the module.

In fact, executable code module can be the either many bar instructions of individual instructions, and can even be distributed On multiple different code segments, it is distributed among distinct program, and is distributed across multiple memory devices.Similarly, grasp Making data can be identified in module, and can be realized according to any appropriate form and be organized in any appropriate class In the data structure of type.The operation data can be collected as individual data collection, or can be distributed on diverse location (being included in different storage device), and only can be present at least in part as electronic signal in system or network.

When module can be realized using software, it is contemplated that the level of existing hardware technique, it is possible to implemented in software Module, in the case where not considering cost, those skilled in the art can build corresponding to hardware circuit come realize correspondingly Function, the hardware circuit includes conventional ultra-large integrated (VLSI) circuit or gate array and such as logic core The existing semiconductor of piece, transistor etc either other discrete elements.Module can also use programmable hardware device, such as Field programmable gate array, programmable logic array, programmable logic device etc. are realized.

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, under the premise of principle of the present invention is not departed from, some improvements and modifications can also be made, these improvements and modifications should also regard For protection scope of the present invention.

Claims (15)

  1. A kind of 1. processing method for declaring message, it is characterised in that including:
    Obtain current frequency source and current time source;
    According to the current frequency source and the current time source filled in respectively in declaring message frequency source rank field and when Between source rank field, and issue declaration message.
  2. 2. processing method as claimed in claim 1, it is characterised in that the step for obtaining current frequency source and current time source Suddenly include:
    The current frequency source is obtained from alternative frequency source according to frequency quality.
  3. 3. processing method as claimed in claim 2, it is characterised in that described to be obtained according to frequency quality from alternative frequency source The step of current frequency source, includes:
    The alternative frequency source is arranged according to the ascending order of the frequency quality;
    The alternative frequency source to make number one is obtained as the current frequency source.
  4. 4. processing method as claimed in claim 1, it is characterised in that it is described according to the current frequency source and it is described current when Between source include fill in frequency source rank field and time source rank field respectively in declaring message the step of:
    Increased according to the frequency quality in the current frequency source in the afterbody or reserved field of the declaration message and fill in institute State frequency source rank field.
  5. A kind of 5. transmission equipment, it is characterised in that including:
    Acquisition module, for obtaining current frequency source and current time source;
    First processing module, for filling in frequency respectively in message is declared according to the current frequency source and the current time source Rate source rank field and time source rank field, and issue declaration message.
  6. 6. transmission equipment as claimed in claim 5, it is characterised in that the first processing module includes:
    Submodule is filled in, for the frequency quality according to the current frequency source in the afterbody or reserved field for declaring message It is middle to increase and fill in the frequency source rank field.
  7. A kind of 7. acquisition methods of clock source, it is characterised in that including:
    Declaration message is received, and obtains the grade letter of the frequency source rank field and time source rank field in the declaration message Breath;
    Network element clock grade is obtained according to the class information, and clock source is obtained according to the network element clock grade.
  8. 8. acquisition methods as claimed in claim 7, it is characterised in that described that network element clock etc. is obtained according to the class information The step of level, includes:
    Using the class information, network element clock grade described in preset data acquisition of information is matched.
  9. 9. acquisition methods as claimed in claim 7, it is characterised in that described that clock source is obtained according to the network element clock grade The step of include:
    The network element clock grade is arranged according to the order of grade from high to low;
    The network element clock grade to make number one is obtained, corresponding network element clock is as the clock source.
  10. 10. acquisition methods as claimed in claim 9, it is characterised in that described that clock is obtained according to the network element clock grade The step of source, also includes:
    In the network element clock grade to make number one, when corresponding network element clock has multiple, according to the excellent of each network element clock First level obtains the clock source.
  11. 11. acquisition methods as claimed in claim 7, it is characterised in that also include:
    The declaration message data that the network element clock grade is updated to the master clock port of this transmission equipment maintenance is concentrated;
    According to the declaration message data collection and frequency source rank field structure message and issue.
  12. 12. acquisition methods as claimed in claim 7, it is characterised in that it is described to receive declaration message, and obtain the declaration report The step of class information of frequency source rank field and time source rank field in text, includes:
    Receive synchronous mode configuration information;
    This transmission equipment is configured to by temporal frequency synchronous mode according to the synchronous mode configuration information;
    Declaration message is received, and obtains the grade letter of the frequency source rank field and time source rank field in the declaration message Breath.
  13. A kind of 13. transmission equipment, it is characterised in that including:
    Second processing module, declare message for receiving, and obtain the frequency source rank field in the declaration message and time The class information of source rank field;
    3rd processing module, for obtaining network element clock grade according to the class information, and according to the network element clock grade Obtain clock source.
  14. 14. transmission equipment as claimed in claim 13, it is characterised in that the 3rd processing module includes:
    First processing submodule, for utilizing the class information, matches network element clock grade described in preset data acquisition of information.
  15. 15. transmission equipment as claimed in claim 13, it is characterised in that also include:
    Update module, the declaration message of the master clock port for the network element clock grade to be updated to the maintenance of this transmission equipment In data set;
    Fourth processing module, for according to it is described declaration message data collection and the frequency source rank field build message and under Hair.
CN201610505913.8A 2016-06-30 2016-06-30 A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source CN107566069A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610505913.8A CN107566069A (en) 2016-06-30 2016-06-30 A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610505913.8A CN107566069A (en) 2016-06-30 2016-06-30 A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source

Publications (1)

Publication Number Publication Date
CN107566069A true CN107566069A (en) 2018-01-09

Family

ID=60968885

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610505913.8A CN107566069A (en) 2016-06-30 2016-06-30 A kind of processing method for declaring message, the acquisition methods and transmission equipment of clock source

Country Status (1)

Country Link
CN (1) CN107566069A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0944964A2 (en) * 1996-12-12 1999-09-29 Nokia Telecommunications Oy Reception method and receiver
CN103037073A (en) * 2011-10-10 2013-04-10 Lg电子株式会社 Mobile terminal and controlling method thereof
WO2013082812A1 (en) * 2011-12-09 2013-06-13 华为技术有限公司 Method and device for determining master clock device, and other method, device, and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0944964A2 (en) * 1996-12-12 1999-09-29 Nokia Telecommunications Oy Reception method and receiver
CN103037073A (en) * 2011-10-10 2013-04-10 Lg电子株式会社 Mobile terminal and controlling method thereof
WO2013082812A1 (en) * 2011-12-09 2013-06-13 华为技术有限公司 Method and device for determining master clock device, and other method, device, and system

Similar Documents

Publication Publication Date Title
DE69931218T2 (en) Method for synchronizing network nodes
DE4320137B4 (en) Synchronization of time of day clocks in a distributed processing network system
US6744285B2 (en) Method and apparatus for synchronously transferring data across multiple clock domains
CN100388646C (en) Apparatus and an associated method for facilitating synchronization in a wireless mesh network
Moreira et al. White rabbit: Sub-nanosecond timing distribution over ethernet
JP2012527660A (en) Synchronous network of SuperSpeedUSB devices and non-SuperSpeedUSB devices
ES2588360T3 (en) Procedure and apparatus for transmitting clock signal between networks
CA2060462A1 (en) Apparatus and method for timing distribution over an asynchronous ring
US4926446A (en) Method and apparatus for precision time distribution in telecommunication networks
WO2002012980A3 (en) Systems and methods for searching for and delivering solutions to specific problems and problem types
CN100581164C (en) Accurate time synchronization method and system facing measurement and control
NO20002884L (en) Method and apparatus for distributing timing information in a computer network
CN103329475A (en) Communication system time synchronization method, slave station apparatus, master station apparatus, control apparatus, and program
JP2003507790A (en) Distributed computer system and method for improving fault tolerance in distributor units of the system
CN103201971A (en) Method for synchronizing master and slave clocks of packet-switched network with aggregated connections between nodes, and associated synchronization devices
US8817823B2 (en) Method and device for time synchronization
KR100655625B1 (en) Wireless network with user clock synchronization
WO2009071029A1 (en) Synchronization system and method of time information and related equipment
CN103416019B (en) Synchronization system, synchronous method, the first sychronisation and the second sychronisation
CN103338204A (en) Audio synchronization output method and system
CN101068133A (en) Time synchronizing method, network communication system and equipment and time server thereof
CN101426026B (en) Method and system for data synchronization between multiple servers
KR20130126986A (en) Method, apparatus and system for time distribution in a telecommunications network
CA2568558C (en) Distributed synchronization method and system
CN105103499B (en) A kind of generation method of the high speed insertion agreement for dcs

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