CN105471538B - A kind of method and device for realizing time synchronization - Google Patents

A kind of method and device for realizing time synchronization Download PDF

Info

Publication number
CN105471538B
CN105471538B CN201410459201.8A CN201410459201A CN105471538B CN 105471538 B CN105471538 B CN 105471538B CN 201410459201 A CN201410459201 A CN 201410459201A CN 105471538 B CN105471538 B CN 105471538B
Authority
CN
China
Prior art keywords
synchronization
time synchronization
time
field data
synchronous
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410459201.8A
Other languages
Chinese (zh)
Other versions
CN105471538A (en
Inventor
韩柳燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410459201.8A priority Critical patent/CN105471538B/en
Publication of CN105471538A publication Critical patent/CN105471538A/en
Application granted granted Critical
Publication of CN105471538B publication Critical patent/CN105471538B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Synchronisation In Digital Transmission Systems (AREA)

Abstract

The present invention provides a kind of method and devices for realizing time synchronization, solve the problems, such as prior art time synchronization existing defects, this method is applied to central control unit, include: establish each time synchronization domains synchronization field coding and the corresponding relationship between synchronous numeric field data, there is different time synchronization field different synchronization fields to encode, and synchronization field data include the transformational relation and/or the corresponding output parameter of each time synchronization state under time synchronization domains between each time synchronization state;It is sent to first time synchronization node and includes at least the synchronization numeric field data that the first synchronization field encodes the corresponding first synchronous numeric field data, so that the first time synchronization node executes time synchronizing according to the described first synchronous numeric field data, the first synchronization field coding is the synchronization field coding of first time synchronization field belonging to the first time synchronization node.The solution of the present invention solves the problems, such as intercommunication, realizes multiplex network.

Description

A kind of method and device for realizing time synchronization
Technical field
The present invention relates to the communications field, in particular to a kind of method and device for realizing time synchronization.
Background technique
The application in many fields needs exact time synchronization, such as in mobile communication field, a variety of communication standards require base Station meets time synchronization and could work normally between eating dishes without rice or wine, including TD SDMA TD-SCDMA, time-division long term evolution TD-LTE, CDMA CDMA2000, long term evolution LTE-A, multimedia broadcast/multicast service MBMS etc..To realize that the time is same Step generally requires and needs synchronous user terminal to install the satellite time transfers receivers such as global position system GPS, this method to be each It is higher to installation cost and maintenance requirement.Another method is to set up Time Synchronization Network, same via the transmission network delivery time Information is walked to the user terminal of end, this method is gradually used by operator.
Time Synchronization Network generallys use master-slave synchronisation structure, time source of the time server as whole net.When intermediate Between synchronization node by software and hardware support time synchronization protocol, temporal information is transmitted.Wherein some node is same Step mode, synchronous state machine conversion, synchronization parameter etc. are fixed.
Existing Time Synchronization Network technology can not solve the problems, such as following several big:
If 1, network is made of different equipment, the synchronizing function that these equipment are realized by software and hardware must keep one It causes, is just able to achieve synchronous intercommunication and transmission.If different in realization, when in use can not intercommunication, temporal information can not Normal transmission.
2, under the prior art, for different synchronisation requirements operator and time synchronization user, due to time synchronization Network can not flexible configuration be therefore only different user and establish a Time Synchronization Network respectively, synchronize in different times In network, time synchronization configuration is mutually indepedent, can not share and reuse same Time Synchronization Network.
3, under the prior art, if user has new demand to time synchronization, the node of legacy network is required to carry out Software or HardwareUpgring.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method and devices for realizing time synchronization, solve the prior art Middle Time Synchronization Network intercommunication, flexible configuration, in terms of existing defects the problem of.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of method for realizing time synchronization, it is applied to one Central control unit, which comprises
The synchronization field for establishing each time synchronization domains encodes and the corresponding relationship between synchronous numeric field data, wherein when different Between synchronization field there is different synchronization field to encode, the synchronization field data include under time synchronization domains each time synchronization state it Between transformational relation and/or the corresponding output parameter of each time synchronization state;
It is sent to first time synchronization node and encodes the same of the corresponding first synchronous numeric field data including at least the first synchronization field Numeric field data is walked, so that the first time synchronization node executes time synchronizing according to the described first synchronous numeric field data, it is described First synchronization field coding is the synchronization field coding of first time synchronization field belonging to the first time synchronization node.
Wherein, described send to first time synchronization node includes at least corresponding first synchronization field of the first synchronization field coding The synchronization numeric field data of data, comprising:
The first synchronization field coding of first time synchronization node transmission is received, the first synchronization field coding is described first Time synchronization node, which is parsed from the time synchronization message received, to be obtained;
According to the corresponding relationship, the corresponding first synchronous numeric field data of the first synchronization field coding is determined;
The first synchronization field data distributing is given to the time synchronization node, so that the time synchronization node is according to institute It states the first synchronous numeric field data and time synchronizing is executed to the time synchronization message.
Wherein, the synchronization field for establishing each time synchronization domains encodes and the step of the corresponding relationship between synchronous numeric field data Suddenly include:
By the transformational relation conversion in the corresponding synchronous numeric field data of each time synchronization domains, between each time synchronization state For time synchronization state transition matrix;
The synchronization field of the time synchronization state transition matrix and the time synchronization domains of establishing the time synchronization domains encodes Between corresponding relationship;
And/or
By in the corresponding synchronous numeric field data of each time synchronization domains, the corresponding output parameter conversion of each time synchronization state For time synchronization state output matrix;
The synchronization field of the time synchronization state output matrix and the time synchronization domains of establishing the time synchronization domains encodes Between corresponding relationship.
Wherein, the method also includes:
When receiving the request of the update to the synchronization numeric field data of the time synchronization domains in the corresponding relationship, according to described Request is updated to be updated the synchronous numeric field data;
When receiving the newly-increased request of synchronization numeric field data of a newly-increased time synchronization domains, according to the newly-increased request, build Vertical synchronization field encodes and the corresponding relationship between synchronous numeric field data.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of device for realizing time synchronization, it is applied to One central control unit, comprising:
Module is established, the synchronization field for establishing each time synchronization domains encodes the corresponding pass between synchronous numeric field data System, wherein there is different time synchronization field different synchronization fields to encode, and the synchronization field data include each under time synchronization domains Transformational relation and/or the corresponding output parameter of each time synchronization state between time synchronization state;
Sending module includes at least the first synchronization field coding corresponding first together for sending to first time synchronization node The synchronization numeric field data of numeric field data is walked, so that the first time synchronization node is same according to the described first synchronous numeric field data execution time Step processing, the first synchronization field coding are that the synchronization field of first time synchronization field belonging to the first time synchronization node is compiled Code.
Wherein, the sending module includes:
First receiving module, for receiving the first synchronization field coding of first time synchronization node transmission, described first is same Step domain coding is that the first time synchronization node is parsed from the time synchronization message received and to be obtained;
Determining module, for determining that first synchronization field encodes corresponding first synchronization field according to the corresponding relationship Data;
Sending submodule, for giving the first synchronization field data distributing to the time synchronization node, so that when described Between synchronization node time synchronizing executed to the time synchronization message according to the described first synchronous numeric field data.
Wherein, the module of establishing includes:
First conversion module, for by the corresponding synchronous numeric field data of each time synchronization domains, each time synchronization state Between transformational relation be converted to time synchronization state transition matrix;
First setting up submodule, for establish the time synchronization domains time synchronization state transition matrix and the time Corresponding relationship between the synchronization field coding of synchronization field;
And/or
Second conversion module, for by the corresponding synchronous numeric field data of each time synchronization domains, each time synchronization state Corresponding output parameter is converted to time synchronization state output matrix;
Second setting up submodule, for establish the time synchronization domains time synchronization state output matrix and the time Corresponding relationship between the synchronization field coding of synchronization field.
Wherein, described device further include:
Update module, for being asked to the update of the synchronization numeric field data of the time synchronization domains in the corresponding relationship receiving When asking, the synchronous numeric field data is updated according to update request;
Newly-increased module, for when receiving the newly-increased request of synchronization numeric field data of a newly-increased time synchronization domains, according to institute Newly-increased request is stated, synchronization field coding and the corresponding relationship between synchronous numeric field data are established.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of method for realizing time synchronization, it is applied to One time synchronization node, comprising:
The time synchronization message that receiving time source or other times synchronization node are sent, wherein the time synchronization message is taken It is encoded with synchronization field, the synchronization field is encoded in advance as the volume of the time synchronization domains distribution with different time synchronisation requirement Code, the time synchronization domains and synchronization field coding correspond;
The time synchronization message is parsed, the first synchronization field coding that the time synchronization message carries is obtained;
It is encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, obtains described first The corresponding first synchronous numeric field data of synchronization field coding, wherein the external control unit outside is pre-established with each time synchronization domains With the corresponding relationship between synchronous numeric field data, the synchronization field data include the transformational relation between different time synchronous regime And/or the corresponding output parameter of the time synchronization state;According to the described first synchronous numeric field data, to the time synchronization message Execute time synchronizing.
Wherein, described to be encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, obtain The first synchronization field coding corresponding first synchronizes numeric field data, comprising:
It sends first synchronization field coding to external control unit outside, and receives the institute of the central control unit feedback The corresponding first synchronous numeric field data of the first synchronization field coding is stated, to obtain the described first synchronous numeric field data.
Wherein, described according to the described first synchronous numeric field data, time synchronizing is executed to the time synchronization message Step includes:
The time synchronization message is parsed, the time synchronization event information carried in the time synchronization message is obtained;
According to the transformational relation in time synchronization event information numeric field data synchronous with described first, the time is executed The conversion of synchronous regime;
And/or
According to the output parameter in the time synchronization state numeric field data synchronous with described first after conversion, corresponding parameter is executed Output.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of device for realizing time synchronization, it is applied to One time synchronization node, comprising:
Second receiving module, for the time synchronization message that receiving time source or other times synchronization node are sent, wherein The time synchronization message carries synchronization field coding, and the synchronization field is encoded in advance as with different time synchronisation requirement The coding of time synchronization domains distribution, the time synchronization domains and synchronization field coding correspond;
First obtains module, for parsing to the time synchronization message, obtains the time synchronization message and carries The first synchronization field coding;
Second obtains module, for being encoded according to first synchronization field, in the synchronization field number that external control unit outside issues In, the corresponding first synchronous numeric field data of the first synchronization field coding is obtained, wherein the external control unit outside pre-establishes There is the corresponding relationship between each time synchronization domains and synchronous numeric field data, the synchronization field data include different time synchronous regime Between transformational relation and/or the corresponding output parameter of the time synchronization state;
Processing module, for being executed at time synchronization to the time synchronization message according to the described first synchronous numeric field data Reason.
Wherein, the second acquisition module includes:
Second acquisition submodule, for sending first synchronization field coding to external control unit outside, and described in reception The corresponding first synchronous numeric field data of first synchronization field coding of central control unit feedback, to obtain first synchronization field Data.
Wherein, the processing module includes:
It is same to obtain the time carried in the time synchronization message for parsing the time synchronization message for parsing module Walk event information;
First execution module, for according in time synchronization event information numeric field data synchronous with described first Transformational relation executes the conversion of time synchronization state;
And/or
Second execution module, for according to the output in the time synchronization state numeric field data synchronous with described first after conversion Parameter executes the output of corresponding parameter.
The advantageous effects of the above technical solutions of the present invention are as follows:
The method of the realization time synchronization of the embodiment of the present invention, first establish the synchronization field codings of each time synchronization domains with it is same Walk the corresponding relationship between numeric field data, wherein there is different time synchronization field different synchronization fields to encode, and synchronization field data include The corresponding output ginseng of transformational relation and/or each time synchronization state under time synchronization domains between each time synchronization state Number;Then it is sent to first time synchronization node and includes at least the synchronization that the first synchronization field encodes the corresponding first synchronous numeric field data Numeric field data, so that first time synchronization node executes time synchronizing, the first synchronization field coding according to the first synchronous numeric field data It is the synchronization field coding of first time synchronization field belonging to first time synchronization node.By uniformly being issued to time synchronization node Corresponding synchronous numeric field data solves the problems, such as the intercommunication of time synchronization node, and is compiled by distributing synchronization field for time synchronization domains Code, can meet different operators and the synchronisation requirement of user, realize multiplex network, save Internet resources, improve network Utilization rate.
Detailed description of the invention
Fig. 1 is the method flow diagram for the realization time synchronization that the present invention is applied to central control unit;
Fig. 2 is that the network of one specific embodiment of method for the realization time synchronization that the present invention is applied to central control unit shows It is intended to;
Fig. 3 is the structural schematic diagram of the device for the realization time synchronization that the present invention is applied to central control unit;
Fig. 4 is the method flow diagram for the realization time synchronization that the present invention is applied to time synchronization node;
Fig. 5 is the structural schematic diagram of the device for the realization time synchronization that the present invention is applied to time synchronization node.
Specific embodiment
To keep the technical problem to be solved in the present invention, technical solution and advantage clearer, below in conjunction with attached drawing and tool Body embodiment is described in detail.
The method of the realization time synchronization of the embodiment of the present invention solves the problems, such as the intercommunication of time synchronization node, and realizes Multiplex network, has saved Internet resources, improves network utilization.
As shown in Figure 1, the method for the realization time synchronization of the embodiment of the present invention, is applied to a central control unit, it is described Method includes:
Step 11, the synchronization field for establishing each time synchronization domains encodes and the corresponding relationship between synchronous numeric field data, wherein There is different time synchronization field different synchronization fields to encode, and the synchronization field data include each time synchronization under time synchronization domains Transformational relation and/or the corresponding output parameter of each time synchronization state between state.
Here time synchronization domains are encoded in advance as the coding of the time synchronization domains distribution with different time synchronisation requirement. Specifically, can use, virtual LAN VLAN, MAC address, domain number etc. are any can be distinguished not by agreement Field with time synchronization domains is encoded as the synchronization field.
Such as, it can extract the ready-portioned VLAN belonged under same time synchronization domains in advance, it is synchronous as different time is distinguished The synchronization field in domain encodes.It is assumed that VLAN1, VLAN3, VLAN5 belong to first time synchronization field, VLAN2, VLAN4, VLAN7 belong to Second time synchronization domains can will belong to the VLAN of first time synchronization field as the synchronization field of first time synchronization field when then using Coding, the VLAN for belonging to the second time synchronization domains are encoded as the synchronization field of the second time synchronization domains.
Step 12, it is sent to first time synchronization node and includes at least the corresponding first synchronization field number of the first synchronization field coding According to synchronization numeric field data so that the first time synchronization node executes at time synchronization according to the described first synchronous numeric field data Reason, the first synchronization field coding are the synchronization field codings of first time synchronization field belonging to the first time synchronization node.
The method of the realization time synchronization of the embodiment of the present invention, by uniformly issuing corresponding synchronization to time synchronization node Numeric field data solves the problems, such as the intercommunication of time synchronization node, and distinguishes different time synchronization domains by synchronization field coding, can expire The synchronisation requirement of sufficient different operators and user, realizes multiplex network, has saved Internet resources, improves network utilization.
In specific embodiments of the present invention, the step of above-mentioned steps 12, may include:
Step 121, the first synchronization field coding of first time synchronization node transmission is received, the first synchronization field coding is The first time synchronization node, which is parsed from the time synchronization message received, to be obtained;
Step 122, according to the corresponding relationship, the corresponding first synchronous numeric field data of the first synchronization field coding is determined;
Step 123, the first synchronization field data distributing is given to the time synchronization node, so that the time synchronization section Point executes time synchronizing to the time synchronization message according to the described first synchronous numeric field data.
At this point, encode according to the synchronization field of time synchronization node transmission, can be accurate and it be quickly obtained time synchronization node Required synchronization numeric field data optimizes processing mode, improves treatment effeciency to be handed down to time synchronization node for using.
Wherein, if intercommunication problem caused by being mismatched as time synchronization node state transformational relation, synchrodata The transformational relation between each time synchronization state can be only included, in above-mentioned steps 123, central control unit will be determining each Transformational relation between time synchronization state is handed down to corresponding time synchronization node.
If intercommunication problem caused by being mismatched as time synchronization node output parameter, synchrodata can only include respectively The corresponding output parameter of a time synchronization state, in above-mentioned steps 123, central control unit is by determining each time synchronization shape The corresponding output parameter of state is handed down to corresponding time synchronization node.
Certainly, if the state transformational relation and output parameter of time synchronization node all have intercommunication, same to step number According to may include transformational relation and the corresponding output parameter of each time synchronization state between each time synchronization state, so that this The method of inventive embodiments is able to solve the intercommunication problem of time synchronization node, so that it is synchronous with user's to meet different operators Demand realizes multiplex network.
In specific embodiments of the present invention, the step of above-mentioned steps 11, may include:
Step 111, by the conversion in the corresponding synchronous numeric field data of each time synchronization domains, between each time synchronization state Relationship is converted to time synchronization state transition matrix;
Step 112, the same of the time synchronization state transition matrixs of the time synchronization domains and the time synchronization domains is established Walk the corresponding relationship between the coding of domain;
And/or
Step 113, by the corresponding synchronous numeric field data of each time synchronization domains, the corresponding output of each time synchronization state Parameter Switch is time synchronization state output matrix;
Step 114, the same of the time synchronization state output matrixes of the time synchronization domains and the time synchronization domains is established Walk the corresponding relationship between the coding of domain.
At this point, by by between each time synchronization state transformational relation and/or each time synchronization state it is corresponding Output parameter is converted into matrix and is stored, and facilitates inquiry and management, to improve treatment effeciency.
Specifically, the time synchronization state can include: locking Locked, keep Hold over, freely shake Free Running, transparent clock processing TC Proc etc..Wherein, the form of time synchronization state transition matrix can be as shown in table 1 below, the The first time synchronous regime STATE of one column is converted to the switch condition when meeting a certain switch condition EVENT of the row Second time synchronization state of column.Table 2 gives filled with particular state and the conversion of the time synchronization state of switch condition One example of matrix.
STATE1 STATE2 STATEN
STATE1 EVENT1
STATE2 EVENTj
STATEN EVENTq
Table 1
TC Proc Locked Holdover Freeruning
TC Proc
Locked Clockclass<14 Clockclass>14
Holdover Clockclass<14 Holdover<3600s Holdover>3600s
Freerunning Clockclass<14
Table 2
Specifically, for 1588V2 synchronous protocol, the output parameter can include: the first priority P riority1, clock Grade Clock Class, clock accuracy Clock Accuracy, time deviation change offset Scaled Log Varience, the second priority P riority2, transmission hop count steps Removed etc..Wherein, time synchronization state output square The form of battle array can be as shown in table 3 below, and table 4 is that one of the time synchronization state output matrix filled with particular state and parameter shows Example.
Parameter1 Parameter 2 Parameter K
STATE1
STATE2
STATEN
Table 3
priority1 ClockClass ClockAccuracy offserScaleLogVarience
Holdover 128 52 0x23 0xFFFF
Freeruning 128 187 0x31 0xFFFF
Table 4
Further, the method for the realization time synchronization of the embodiment of the present invention can also include:
Step 13, when receiving the request of the update to the synchronization numeric field data of the time synchronization domains in the corresponding relationship, The synchronous numeric field data is updated according to update request;
Step 14, when receiving the newly-increased request of synchronization numeric field data of a newly-increased time synchronization domains, according to described newly-increased Synchronization field coding and the corresponding relationship between synchronous numeric field data are established in request.
At this point, when the time synchronization domains for having stored corresponding relationship have new demand to time synchronization, it will by step 13 Corresponding synchronous numeric field data is updated, and is not needed the upgrading that time synchronization node carries out software or hardware again, is avoided To the complex operations of time synchronization node, processing mode is optimized, improves treatment effeciency.And by step 14, can send out in time Now newly-increased time synchronization domains simultaneously carry out relevant treatment, are optimized with the time synchronization to the time synchronization domains, further complete It has been apt to operating procedure, has ensure that the integrality of processing.
Specific embodiments of the present invention are illustrated below below.
As shown in Fig. 2, the executing subject of the embodiment of the present invention is central control unit, which includes being used for The time synchronization regional data base of storing data.It is assumed that time source transmits message by time server, base station A and base station B are tool There are two time synchronization domains of different time synchronisation requirement, and there is base station A synchronization field to be encoded to I, base station B is compiled with synchronization field Code is II.Then intermediate node is needed first by base station A synchronous numeric field data corresponding with B using the method for the embodiment of the present invention Each time synchronization state between transformational relation and the corresponding output parameter of each time synchronization state, when being respectively converted into Between synchronous regime transition matrix and time synchronous regime output matrix;Then the time synchronization shape of settling time synchronous network node State transition matrix and time synchronous regime output matrix, the corresponding relationship with synchronization field coding;In time synchronization node C and time When synchronization node D receives two time synchronization messages of time server transmission, received time synchronization message is solved Analysis, then acquisition time sync message carry the first synchronization field encode and send central control unit to, it is assumed that acquisition it is same Walking domain coding is respectively I and II;The synchronization field of receiving time synchronization node transmission encodes I and II, true respectively according to corresponding relationship Determine synchronization field coding I synchronous numeric field data corresponding with II;Then the synchronization numeric field data that will acquire is handed down to time synchronization section respectively Point C and D executes time synchronization node C and D at time synchronization according to the synchronization field data versus time sync message received Reason, to complete the time synchronization to base station A and B.
The method of the realization time synchronization of the embodiment of the present invention, by uniformly issuing corresponding synchronization to time synchronization node Numeric field data solves the problems, such as the intercommunication of time synchronization node, and distinguishes different time synchronization domains by synchronization field coding, can expire The synchronisation requirement of sufficient different operators and user, realizes multiplex network, has saved Internet resources, improves network utilization.
As shown in figure 3, being applied to one the embodiments of the present invention also provide a kind of device for realizing time synchronization and concentrating control Unit processed, comprising:
Module is established, the synchronization field for establishing each time synchronization domains encodes the corresponding pass between synchronous numeric field data System, wherein there is different time synchronization field different synchronization fields to encode, and the synchronization field data include each under time synchronization domains Transformational relation and/or the corresponding output parameter of each time synchronization state between time synchronization state;
Sending module includes at least the first synchronization field coding corresponding first together for sending to first time synchronization node The synchronization numeric field data of numeric field data is walked, so that the first time synchronization node is same according to the described first synchronous numeric field data execution time Step processing, the first synchronization field coding are that the synchronization field of first time synchronization field belonging to the first time synchronization node is compiled Code.
The device of the realization time synchronization of the embodiment of the present invention, by uniformly issuing corresponding synchronization to time synchronization node Numeric field data solves the problems, such as the intercommunication of time synchronization node, and distinguishes different time synchronization domains by synchronization field coding, can expire The synchronisation requirement of sufficient different operators and user, realizes multiplex network, has saved Internet resources, improves network utilization.
Wherein, the sending module may include:
First receiving module, for receiving the first synchronization field coding of first time synchronization node transmission, described first is same Step domain coding is that the first time synchronization node is parsed from the time synchronization message received and to be obtained;
Determining module, for determining that first synchronization field encodes corresponding first synchronization field according to the corresponding relationship Data;
Sending submodule, for giving the first synchronization field data distributing to the time synchronization node, so that when described Between synchronization node time synchronizing executed to the time synchronization message according to the described first synchronous numeric field data.
At this point, encode according to the synchronization field of time synchronization node transmission, can be accurate and it be quickly obtained time synchronization node Required synchronization numeric field data optimizes processing mode, improves treatment effeciency to be handed down to time synchronization node for using.
In specific embodiments of the present invention, the module of establishing may include:
First conversion module, for by the corresponding synchronous numeric field data of each time synchronization domains, each time synchronization state Between transformational relation be converted to time synchronization state transition matrix;
First setting up submodule, for establish the time synchronization domains time synchronization state transition matrix and the time Corresponding relationship between the synchronization field coding of synchronization field;
And/or
Second conversion module, for by the corresponding synchronous numeric field data of each time synchronization domains, each time synchronization state Corresponding output parameter is converted to time synchronization state output matrix;
Second setting up submodule, for establish the time synchronization domains time synchronization state output matrix and the time Corresponding relationship between the synchronization field coding of synchronization field.
At this point, by by the transformational relation and/or the corresponding output parameter of time synchronization state between time synchronization state It is converted into matrix to be stored, facilitates inquiry and management, to improve treatment effeciency.
Wherein, described device can also include:
Update module, for being asked to the update of the synchronization numeric field data of the time synchronization domains in the corresponding relationship receiving When asking, the synchronous numeric field data is updated according to update request;
Newly-increased module, for when receiving the newly-increased request of synchronization numeric field data of a newly-increased time synchronization domains, according to institute Newly-increased request is stated, synchronization field coding and the corresponding relationship between synchronous numeric field data are established.
At this point, when the time synchronization domains for having stored corresponding relationship have new demand to time synchronization, by corresponding synchronization Numeric field data is updated, and is not needed the upgrading that time synchronization node carries out software or hardware again, is avoided to time synchronization The complex operations of node, optimize processing mode, improve treatment effeciency.And it can find that newly-increased time synchronization domains are gone forward side by side in time Row relevant treatment is optimized with the time synchronization to the time synchronization domains, further perfect operating procedure.
The device of the realization time synchronization of the embodiment of the present invention, by uniformly issuing corresponding synchronization to time synchronization node Numeric field data solves the problems, such as the intercommunication of time synchronization node, and distinguishes different time synchronization domains by synchronization field coding, can expire The synchronisation requirement of sufficient different operators and user, realizes multiplex network, has saved Internet resources, improves network utilization.
It should be noted that the device of the realization time synchronization is to realize that the method for time synchronization is corresponding with above-mentioned realization Device, wherein all implementations can also reach same suitable for the embodiment of the device in above method embodiment Technical effect.
As shown in figure 4, it is same to be applied to the time the embodiments of the present invention also provide a kind of method for realizing time synchronization Walk node, comprising:
Step 21, the time synchronization message that receiving time source or other times synchronization node are sent, wherein the time is same Step message carries synchronization field coding, and the synchronization field is encoded in advance as the time synchronization domains with different time synchronisation requirement The coding of distribution, the time synchronization domains and synchronization field coding correspond;
Step 22, the time synchronization message is parsed, it is synchronous obtains the time synchronization message carries first Domain coding;
Step 23, it is encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, obtains institute State the corresponding first synchronous numeric field data of the first synchronization field coding, wherein the external control unit outside is pre-established with each time Corresponding relationship between synchronization field and synchronous numeric field data, the synchronization field data include the conversion between different time synchronous regime Relationship and/or the corresponding output parameter of the time synchronization state;
Step 24, according to the described first synchronous numeric field data, time synchronizing is executed to the time synchronization message.
The method of the realization time synchronization of the embodiment of the present invention, time synchronization node by it is unified obtain synchronous numeric field data into Row synchronization process solves the problems, such as the intercommunication of time synchronization node, and the time synchronization domains different by synchronization field coding differentiation, Different operators and the synchronisation requirement of user can be met simultaneously, multiplex network is realized, saved Internet resources, improve network Utilization rate.
Wherein, when the synchronization numeric field data that external transmission node sends time synchronization node to may also include for identifying different Between synchronization field field value or other synchronous numeric field data corresponding time synchronization domains of can arbitrarily being distinguished for time synchronization node Data information.
Wherein, said external control unit can be central control unit.
In specific embodiments of the present invention, the step of above-mentioned steps 23, may include:
Step 231, described to be encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, Obtain the corresponding first synchronous numeric field data of the first synchronization field coding, comprising:
Step 232, it sends first synchronization field coding to external control unit outside, and receives the central control unit The corresponding first synchronous numeric field data of first synchronization field coding of feedback, to obtain the described first synchronous numeric field data.
At this point, external control unit outside can be made accurate and quick by sending synchronization field coding to external control unit outside Synchronization numeric field data needed for obtaining time synchronization node optimizes processing mode, improves place for time synchronization node use Manage efficiency.
Wherein, the step of above-mentioned steps 24 may include:
Step 241, the time synchronization message is parsed, the time synchronization event carried in the time synchronization message is obtained Information;
Step 242, according to the transformational relation in time synchronization event information numeric field data synchronous with described first, Execute the conversion of time synchronization state;
And/or
Step 243, it according to the output parameter in the time synchronization state numeric field data synchronous with described first after conversion, executes The output of corresponding parameter.
At this point, realizing the time synchronization state and/or output parameter to time synchronization node by step 241-243 Unified management ensure that the normal transmission of information to solve the problems, such as the intercommunication of time synchronization node.
The method of the realization time synchronization of the embodiment of the present invention solves the problems, such as the intercommunication of time synchronization node, and can be same When meet different operators and the synchronisation requirement of user, realize multiplex network, saved Internet resources, improve network utilization Rate.
As shown in figure 5, it is same to be applied to the time the embodiments of the present invention also provide a kind of device for realizing time synchronization Walk node, comprising:
Second receiving module, for the time synchronization message that receiving time source or other times synchronization node are sent, wherein The time synchronization message carries synchronization field coding, and the synchronization field is encoded in advance as with different time synchronisation requirement The coding of time synchronization domains distribution, the time synchronization domains and synchronization field coding correspond;
First obtains module, for parsing to the time synchronization message, obtains the time synchronization message and carries The first synchronization field coding;
Second obtains module, for being encoded according to first synchronization field, in the synchronization field number that external control unit outside issues In, the corresponding first synchronous numeric field data of the first synchronization field coding is obtained, wherein the external control unit outside pre-establishes There is the corresponding relationship between each time synchronization domains and synchronous numeric field data, the synchronization field data include different time synchronous regime Between transformational relation and/or the corresponding output parameter of the time synchronization state;
Processing module, for being executed at time synchronization to the time synchronization message according to the described first synchronous numeric field data Reason.
The device of the realization time synchronization of the embodiment of the present invention solves the problems, such as the intercommunication of time synchronization node, and can be same When meet different operators and the synchronisation requirement of user, realize multiplex network, saved Internet resources, improve network utilization Rate.
Wherein, the second acquisition module may include:
Second acquisition submodule, for sending first synchronization field coding to external control unit outside, and described in reception The corresponding first synchronous numeric field data of first synchronization field coding of central control unit feedback, to obtain first synchronization field Data.
At this point, external control unit outside can be made accurate and quick by sending synchronization field coding to external control unit outside Synchronization numeric field data needed for obtaining time synchronization node optimizes processing mode, improves place for time synchronization node use Manage efficiency.
In specific embodiments of the present invention, the processing module may include:
It is same to obtain the time carried in the time synchronization message for parsing the time synchronization message for parsing module Walk event information;
First execution module, for according in time synchronization event information numeric field data synchronous with described first Transformational relation executes the conversion of time synchronization state;
And/or
Second execution module, for according to the output in the time synchronization state numeric field data synchronous with described first after conversion Parameter executes the output of corresponding parameter.
At this point, realizing to the time synchronization state of time synchronization node and/or the unified management of output parameter, to solve It has determined the intercommunication problem of time synchronization node, ensure that the normal transmission of information.
The device of the realization time synchronization of the embodiment of the present invention solves the problems, such as the intercommunication of time synchronization node, and can be same When meet different operators and the synchronisation requirement of user, realize multiplex network, saved Internet resources, improve network utilization Rate.
It should be noted that the device of the realization time synchronization is to realize that the method for time synchronization is corresponding with above-mentioned realization Device, wherein all implementations can also reach same suitable for the embodiment of the device in above method embodiment Technical effect.
The above is a preferred embodiment of the present invention, it is noted that for those skilled in the art For, without departing from the principles of the present invention, it can also make several improvements and retouch, these improvements and modifications It should be regarded as protection scope of the present invention.

Claims (14)

1. a kind of method for realizing time synchronization, which is characterized in that be applied to a central control unit, which comprises
The synchronization field for establishing each time synchronization domains encodes and the corresponding relationship between synchronous numeric field data, wherein different time is same Walking domain, there is different synchronization field to encode, and the synchronization field data include under time synchronization domains between each time synchronization state Transformational relation and/or the corresponding output parameter of each time synchronization state;
It is sent to first time synchronization node and includes at least the synchronization field that the first synchronization field encodes the corresponding first synchronous numeric field data Data, so that the first time synchronization node executes time synchronizing according to the described first synchronous numeric field data, described first Synchronization field coding is the synchronization field coding of first time synchronization field belonging to the first time synchronization node;Described first is synchronous Domain coding is that first time synchronization node is parsed from the time synchronization message received and obtained.
2. the method according to claim 1 for realizing time synchronization, which is characterized in that
Described send to first time synchronization node encodes the same of the corresponding first synchronous numeric field data including at least the first synchronization field Walk numeric field data, comprising:
Receive the first synchronization field coding of first time synchronization node transmission;
According to the corresponding relationship, the corresponding first synchronous numeric field data of the first synchronization field coding is determined;
The first synchronization field data distributing is given to the time synchronization node, so that the time synchronization node is according to described the One synchronous numeric field data executes time synchronizing to the time synchronization message.
3. the method according to claim 1 for realizing time synchronization, which is characterized in that described to establish each time synchronization domains Synchronization field encode and with the step of corresponding relationship between synchronous numeric field data include:
By in the corresponding synchronous numeric field data of each time synchronization domains, when the transformational relation between each time synchronization state is converted to Between synchronous regime transition matrix;Establish the time synchronization state transition matrix and the time synchronization domains of the time synchronization domains Corresponding relationship between synchronization field coding;
And/or
By in the corresponding synchronous numeric field data of each time synchronization domains, when the corresponding output parameter of each time synchronization state is converted to Between synchronous regime output matrix;Establish the time synchronization state output matrix and the time synchronization domains of the time synchronization domains Corresponding relationship between synchronization field coding.
4. the method according to claim 1 for realizing time synchronization, which is characterized in that the method also includes:
When receiving the request of the update to the synchronization numeric field data of the time synchronization domains in the corresponding relationship, according to the update Request is updated the synchronous numeric field data;
When receiving the newly-increased request of synchronization numeric field data of a newly-increased time synchronization domains, according to the newly-increased request, establish same Walk domain coding and the corresponding relationship between synchronous numeric field data.
5. a kind of device for realizing time synchronization, which is characterized in that be applied to a central control unit, comprising:
Establish module, for establish each time synchronization domains synchronization field encode with the corresponding relationship between synchronous numeric field data, In, there is different time synchronization field different synchronization fields to encode, and the synchronization field data include each time under time synchronization domains Transformational relation and/or the corresponding output parameter of each time synchronization state between synchronous regime;
Sending module includes at least corresponding first synchronization field of the first synchronization field coding for sending to first time synchronization node The synchronization numeric field data of data, so that the first time synchronization node executes at time synchronization according to the described first synchronous numeric field data Reason, the first synchronization field coding are the synchronization field codings of first time synchronization field belonging to the first time synchronization node; First synchronization field coding is that first time synchronization node is parsed from the time synchronization message received and obtained.
6. the device according to claim 5 for realizing time synchronization, which is characterized in that the sending module includes:
First receiving module, for receiving the first synchronization field coding of first time synchronization node transmission;
Determining module, for determining the corresponding first synchronous numeric field data of the first synchronization field coding according to the corresponding relationship;
Sending submodule, for giving the first synchronization field data distributing to the time synchronization node, so that the time is same It walks node and time synchronizing is executed to the time synchronization message according to the described first synchronous numeric field data.
7. the device according to claim 5 for realizing time synchronization, which is characterized in that the module of establishing includes:
First conversion module, for by the corresponding synchronous numeric field data of each time synchronization domains, between each time synchronization state Transformational relation be converted to time synchronization state transition matrix;
First setting up submodule, for establish the time synchronization domains time synchronization state transition matrix and the time synchronization Corresponding relationship between the synchronization field coding in domain;
And/or
Second conversion module, for by the corresponding synchronous numeric field data of each time synchronization domains, each time synchronization state to be corresponding Output parameter be converted to time synchronization state output matrix;
Second setting up submodule, for establish the time synchronization domains time synchronization state output matrix and the time synchronization Corresponding relationship between the synchronization field coding in domain.
8. the device according to claim 5 for realizing time synchronization, which is characterized in that described device further include:
Update module, for receiving the request of the update to the synchronization numeric field data of the time synchronization domains in the corresponding relationship When, the synchronous numeric field data is updated according to update request;
Newly-increased module, for when receiving the newly-increased request of synchronization numeric field data of a newly-increased time synchronization domains, according to described new Increase request, establishes synchronization field coding and the corresponding relationship between synchronous numeric field data.
9. a kind of method for realizing time synchronization, which is characterized in that be applied to a time synchronization node, comprising:
The time synchronization message that receiving time source or other times synchronization node are sent, wherein the time synchronization message carries Synchronization field coding, the synchronization field are encoded to the coding distributed in advance for the time synchronization domains with different time synchronisation requirement, The time synchronization domains and synchronization field coding correspond;
The time synchronization message is parsed, the first synchronization field coding that the time synchronization message carries is obtained;
It is encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, it is synchronous to obtain described first The corresponding first synchronous numeric field data of domain coding, wherein the external control unit outside is pre-established with each time synchronization domains and same Walk the corresponding relationship between numeric field data, the synchronization field data include transformational relation between different time synchronous regime and/or The corresponding output parameter of the time synchronization state;
According to the described first synchronous numeric field data, time synchronizing is executed to the time synchronization message.
10. the method according to claim 9 for realizing time synchronization, which is characterized in that
It is described to be encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, obtain described first The corresponding first synchronous numeric field data of synchronization field coding, comprising:
It sends first synchronization field coding to external control unit outside, and receives described the of external control unit outside feedback The corresponding first synchronous numeric field data of one synchronization field coding, to obtain the described first synchronous numeric field data.
11. the method according to claim 9 for realizing time synchronization, which is characterized in that described synchronous according to described first Numeric field data, to the time synchronization message execute time synchronizing the step of include:
The time synchronization message is parsed, the time synchronization event information carried in the time synchronization message is obtained;
According to the transformational relation in time synchronization event information numeric field data synchronous with described first, time synchronization is executed The conversion of state;
And/or
According to the output parameter in the time synchronization state numeric field data synchronous with described first after conversion, the defeated of corresponding parameter is executed Out.
12. a kind of device for realizing time synchronization, which is characterized in that be applied to a time synchronization node, comprising:
Second receiving module, for the time synchronization message that receiving time source or other times synchronization node are sent, wherein described Time synchronization message carries synchronization field coding, and the synchronization field was encoded in advance as the time with different time synchronisation requirement The coding of synchronization field distribution, the time synchronization domains and synchronization field coding correspond;
First obtains module, for being parsed to the time synchronization message, obtain that the time synchronization message carries the One synchronization field coding;
Second obtains module, for being encoded according to first synchronization field, in the synchronization numeric field data that external control unit outside issues, Obtain the corresponding first synchronous numeric field data of the first synchronization field coding, wherein the external control unit outside is pre-established with respectively Corresponding relationship between a time synchronization domains and synchronous numeric field data, the synchronization field data include between different time synchronous regime Transformational relation and/or the corresponding output parameter of the time synchronization state;Processing module, for according to first synchronization field Data execute time synchronizing to the time synchronization message.
13. the device according to claim 12 for realizing time synchronization, which is characterized in that described second obtains module packet It includes:
Second acquisition submodule for sending first synchronization field coding to external control unit outside, and receives the outside The corresponding first synchronous numeric field data of first synchronization field coding of control unit feedback, to obtain the first synchronization field number According to.
14. the device according to claim 12 for realizing time synchronization, which is characterized in that the processing module includes:
Parsing module obtains the time synchronization thing carried in the time synchronization message for parsing the time synchronization message Part information;
First execution module, for according to the conversion in time synchronization event information numeric field data synchronous with described first Relationship executes the conversion of time synchronization state;
And/or
Second execution module, for being joined according to the output in the time synchronization state numeric field data synchronous with described first after conversion Number executes the output of corresponding parameter.
CN201410459201.8A 2014-09-10 2014-09-10 A kind of method and device for realizing time synchronization Active CN105471538B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410459201.8A CN105471538B (en) 2014-09-10 2014-09-10 A kind of method and device for realizing time synchronization

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410459201.8A CN105471538B (en) 2014-09-10 2014-09-10 A kind of method and device for realizing time synchronization

Publications (2)

Publication Number Publication Date
CN105471538A CN105471538A (en) 2016-04-06
CN105471538B true CN105471538B (en) 2019-01-01

Family

ID=55608890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410459201.8A Active CN105471538B (en) 2014-09-10 2014-09-10 A kind of method and device for realizing time synchronization

Country Status (1)

Country Link
CN (1) CN105471538B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005021B (en) * 2018-08-22 2022-02-18 郑州云海信息技术有限公司 Host time management method and related device in virtualization environment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130736A (en) * 2011-03-18 2011-07-20 华为技术有限公司 Method, device and system for processing clock information
CN103428081A (en) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 Packet network synchronization method, device and system
CN103916950A (en) * 2012-12-31 2014-07-09 中兴通讯股份有限公司 Time synchronization method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7995621B2 (en) * 2008-10-01 2011-08-09 Nortel Netwoeks Limited Techniques for time transfer via signal encoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130736A (en) * 2011-03-18 2011-07-20 华为技术有限公司 Method, device and system for processing clock information
CN103428081A (en) * 2012-05-14 2013-12-04 中兴通讯股份有限公司 Packet network synchronization method, device and system
CN103916950A (en) * 2012-12-31 2014-07-09 中兴通讯股份有限公司 Time synchronization method and system

Also Published As

Publication number Publication date
CN105471538A (en) 2016-04-06

Similar Documents

Publication Publication Date Title
CN110049512A (en) A kind of forward pass network data processing device and method
US20220021624A1 (en) Output pacing in a cellular communications system serving as a time-sensitive networking (tsn) node
CN102204369B (en) Mobile communication system, core network node, control station, base station and communication means
WO2017128953A1 (en) Server virtualization network sharing apparatus and method
CN104796222A (en) A CAN baud-rate automatic matching method
CN102612166B (en) Data processing method, base station system and associated equipment
CN105262555A (en) Time synchronization method, programmable logic device, single board and network element
WO2010047914A3 (en) System for enabling communication over a wireless intermittently connected network
CN103428681A (en) Base station self-starting configuration parameter acquisition method, base station self-starting method and equipment
CN105281885A (en) Time synchronization method and device used for network equipment and time synchronization server
CN104244117A (en) Cascading method and system for optical network units
CN103491015A (en) Method and device for allowing public network to support data multicast distribution tree
WO2016165430A1 (en) Data transfer method and apparatus, communication system, and computer storage medium
CN107959537B (en) State synchronization method and device
CN105471538B (en) A kind of method and device for realizing time synchronization
US10869222B2 (en) Data frame transmission method and apparatus for virtual elastic CPRI interface
MY175285A (en) Method for controlling network element to join network, and network element thereof
CN109474471A (en) The RTPS agreement accelerated method and its node and system of a kind of DDS network
KR101697749B1 (en) Separate base station
CN101674214A (en) Method for enabling STA to serve as AP and no-AP-STA simultaneously
CN101483759A (en) No center architecture technique implementing method and control process for network video monitoring platform
CN101267435A (en) An implementation method for address parsing protocol
CN103731897B (en) A kind of method and system of wireless backhaul
CN102891980B (en) Route allocation method of satellite IP (Internet Protocol) video conference system
WO2018098696A1 (en) Integrated access system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant