CN107786319A - A kind of method for synchronizing time and device - Google Patents

A kind of method for synchronizing time and device Download PDF

Info

Publication number
CN107786319A
CN107786319A CN201610723164.6A CN201610723164A CN107786319A CN 107786319 A CN107786319 A CN 107786319A CN 201610723164 A CN201610723164 A CN 201610723164A CN 107786319 A CN107786319 A CN 107786319A
Authority
CN
China
Prior art keywords
time
network element
reporting
average value
adjusted
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.)
Pending
Application number
CN201610723164.6A
Other languages
Chinese (zh)
Inventor
胡红
张仁慧
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
Nanjing ZTE New Software 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 Nanjing ZTE New Software Co Ltd filed Critical Nanjing ZTE New Software Co Ltd
Priority to CN201610723164.6A priority Critical patent/CN107786319A/en
Publication of CN107786319A publication Critical patent/CN107786319A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0016Arrangements for synchronising receiver with transmitter correction of synchronization errors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L7/00Arrangements for synchronising receiver with transmitter
    • H04L7/0079Receiver details
    • H04L7/0087Preprocessing of received signal for synchronisation, e.g. by code conversion, pulse generation or edge detection

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

The present invention proposes a kind of method for synchronizing time and device, and this method includes:Within the time of setting, multiple time synchronized messages that first network element is sent are received, the reporting of any network element and first network element is calculated according to each time synchronized message;Abnormal reporting is filtered out, and calculates the average value of the reporting after filtering;The time of any network element is adjusted to the average value.The present invention can effectively improve the time synchronized stability of the network element in communication system, reduce the time jitter of network element.

Description

A kind of method for synchronizing time and device
Technical field
The present invention relates to communication technical field, more particularly to a kind of method for synchronizing time and device.
Background technology
Different communication protocol standards has different requirements to the time synchronized of the network element in communication network.When traditional Between synchronously use GPS solutions, each network element, which passes through antenna and receives satellite time, carries out time synchronized.GPS is installed to environment It is required that it is high, and construction cost is expensive.Therefore carrying out time synchronized by 1588 agreements turns into development trend.In communication network, one Individual master network element accesses high-precision master clock, by 1588 agreement master network elements by high-precision Time Transmission to all in network From network element, time synchronized is realized.
The synchronous general principle of 1588 protocol times:Master network element and use 1588 message interactions from network element;Take in messages Delivery time (timestamp) with message, when receiving message, obtain the time of reception (timestamp) of message.Pass through the hair of message Send the moment and the time of reception of message can calculate deviation offset from the network element time relative to major network elementary time, from net Member amendment offset values can be achieved and master network element time synchronized.
1588 messages transmit in master network element and between network element, in fact it could happen that packet congestion, or message dropping.Now can The offset values for occurring calculating are exceptional value.If do not processed to the offset values calculated from network element, this is directly adjusted The time of network element, then it can be changed from the time of network element by mistake, so as to cause the time stability from network element to be deteriorated, have and tremble It is dynamic.It is as shown in Figure 1 from the time synchronized curve of network element.
Element Time Synchronization is carried out using 1588 agreements, the time since master network element, transmits downwards step by step.From the network element time Unstability will expand to whole network, so as to influence the stability of whole network business.Therefore, in concern time synchronized While precision, it is necessary to pay close attention to the stability problem of time synchronized.
The content of the invention
The technical problem to be solved in the present invention is to provide a kind of method for synchronizing time and device, overcome prior art when Between during sync message transmits between network element, due to time synchronized packet congestion or loss, cause to carry out the time to network element The defects of stability of synchronization difference.
The technical solution adopted by the present invention is a kind of method for synchronizing time, applied to removing the first net in communication system Any network element outside member, methods described, including:
Within the time of setting, receive multiple time synchronized messages that first network element is sent, according to it is each described when Between sync message calculate the reporting of any network element and first network element;
Abnormal reporting is filtered out, and calculates the average value of the reporting after filtering;
The time of any network element is adjusted to the average value.
Further, the time synchronized message is synchronously to report the Institute of Electrical and Electric Engineers IEEE1588 standard time Text.
Further, the mode for filtering out abnormal reporting includes:
To the reporting compared with preset threshold value;
If the reporting is more than preset threshold value, judge the reporting for exception, and by exception Reporting filters out.
Further, the time by any network element, which is adjusted to the average value, includes:
Judge whether the average value is more than preset time adjustment standard value;
If so, the time of any network element is then adjusted to the average value.
Further, the time by any network element, which is adjusted to the average value, includes:
The time of any network element is set to adjust stepping;Stepping is adjusted according to the time, is adjusted by the multiple time The time of any network element is adjusted to the average value;
The time adjustment stepping is the time to adjust standard value;
The ratio that the number of time adjustment adjusts stepping for the average value with the time rounds.
Further, the time adjustment standard value is the pulse resolution of the communication system.
The present invention also provides a kind of time synchronism apparatus, is arranged in communication system any network element in addition to the first network element, Characterized in that, described device, including:
Computing module, within the time of setting, receiving multiple time synchronized messages that first network element is sent, root The reporting of any network element and first network element is calculated according to each time synchronized message;
Filtering module, for filtering out abnormal reporting, and calculate the average value of the reporting after filtering;
Adjusting module, for the time of any network element to be adjusted into the average value.
Further, the time synchronized message is synchronously to report the Institute of Electrical and Electric Engineers IEEE1588 standard time Text.
Further, filtering module includes:
Comparing unit, for the reporting compared with preset threshold value;
Filter element, if being more than preset threshold value for the reporting, judge threshold value more than setting when Between deviation be abnormal, and the reporting of exception is filtered out.
Further, described device also includes:
Judge module, for judging whether the average value is more than preset time adjustment standard value;
Sending module, if being more than time adjustment standard value for the average value, the time is adjusted into standard Value is sent to the adjusting module.
Further, the adjusting module is used for:
The time of any network element is set to adjust stepping;
Stepping is adjusted according to the time, the time of any network element is adjusted to described flat by the adjustment of multiple time Average;
The time adjustment stepping is the time to adjust standard value;
The ratio that the number of time adjustment adjusts stepping for the average value with the time rounds.
Further, the time adjustment standard value is the pulse resolution of the communication system.
Using above-mentioned technical proposal, the present invention at least has following advantages:
A kind of method for synchronizing time and device of the present invention, the time that can effectively improve network element in communication system are same Stability is walked, reduces the time jitter of network element.
Brief description of the drawings
Fig. 1 is prior art from Element Time Synchronization curve map;
Fig. 2 is the method for synchronizing time flow chart of first embodiment of the invention;
Fig. 3 is the method for synchronizing time flow chart of second embodiment of the invention;
Fig. 4 is that the time synchronism apparatus of third embodiment of the invention forms structural representation;
Fig. 5 is that the time synchronism apparatus of fourth embodiment of the invention forms structural representation;
Fig. 6 is that the synchronous system of the communication system time of fifth embodiment of the invention forms structural representation;
Fig. 7 is the method for synchronizing time flow chart of sixth embodiment of the invention;
Fig. 8 is the time synchronized curve map of any network element of sixth embodiment of the invention.
Embodiment
Further to illustrate the present invention to reach the technological means and effect that predetermined purpose is taken, below in conjunction with accompanying drawing And preferred embodiment, the present invention is described in detail as after.
First embodiment of the invention, a kind of method for synchronizing time, as shown in Fig. 2 including step in detail below:
Step S101, within the time of setting, any network element in communication system in addition to the first network element receives the first network element The multiple time synchronized messages sent, any network element according to each time synchronized message calculate any network element and the first network element when Between deviation.
Within the time of setting, any network element in communication system in addition to the first network element receives the multiple of the first network element transmission IEEE1588 (Institute of Electrical and Electronics Engineers1588, Electrical and Electronic engineering Shi Xiehui 1588) standard time sync message, any network element calculates any according to each IEEE1588 standard time sync message The reporting of network element and the first network element.
Wherein, high-precision master clock is set in the first network element.
Such as:Within the time of setting, the first network element in communication system passes through more with any network element in communication system Individual IEEE1588 standard time sync message interacts, and any network element obtains the IEEE1588 standard time that the first network element is sent Timestamp (t1, t2, t3 and t4) in sync message, wherein each IEEE1588 standard time sync message includes a time Stamp.Any network element generates a reporting offset according to each timestamp.Wherein, IEEE1588 agreements describe net IEEE1588 standard time sync message exchange methods between member, and the generation method of reporting, will not be described here.
Step S102, any network element filter out abnormal reporting, and calculate the flat of the reporting after filtering Average.
Specifically, step S102, including:
Any network element is by each reporting compared with preset threshold value;
If reporting is more than preset threshold value, the reporting is judged for exception, and any network element simultaneously will be different Normal reporting filters out;
Any network element calculates the average value of the reporting after filtering.
Wherein, preset threshold value is obtained by carrying out statistics to the prolonged reporting under normal circumstances of more group NEs .For example, counting the reporting under more group NEs long-time normal time synchronous situations, it is inclined to obtain the time under normal circumstances The scope of difference, the threshold value of the reporting of abnormal ranges is worth to by the time deviation of normal range (NR).Good threshold is set Afterwards, the time synchronized curve of output, the validity of verification threshold are tracked then.Finally confirm a threshold value, or threshold range.
Step S103, the time of any network element is adjusted to average value.
Specifically, step S103, including:
The time of any network element is set to adjust stepping;
Stepping is adjusted according to the time, is adjusted by the multiple time and the time of any network element is adjusted to average value;
Wherein, the number of time adjustment rounds for average value and the ratio of time adjustment stepping;
Time adjustment stepping is the time to adjust standard value.
Second embodiment of the invention, a kind of method for synchronizing time, as shown in figure 3, the methods described of the present embodiment, including with Lower specific steps:
Step S201, within the time of setting, any network element in communication system in addition to the first network element receives the first network element The multiple time synchronized messages sent, any network element according to each time synchronized message calculate any network element and the first network element when Between deviation.
Specifically, step S201, including:
Within the time of setting, any network element in communication system in addition to the first network element receives the multiple of the first network element transmission IEEE1588 (Institute of Electrical and Electronics Engineers1588, Electrical and Electronic engineering Shi Xiehui 1588) standard time sync message, any network element calculates any according to each IEEE1588 standard time sync message The reporting of network element and the first network element.
Wherein, high-precision master clock is set in the first network element.
Such as:Within the time of setting, the first network element in communication system passes through more with any network element in communication system Individual IEEE1588 standard time sync message interacts, and any network element obtains the IEEE1588 standard time that the first network element is sent Timestamp (t1, t2, t3 and t4) in sync message, wherein each IEEE1588 standard time sync message includes a time Stamp.Any network element generates a reporting offset according to each timestamp.Wherein, IEEE1588 agreements describe net IEEE1588 standard time sync message exchange methods between member, and the generation method of reporting, will not be described here.
Step S202, any network element filter out abnormal reporting, and calculate the flat of the reporting after filtering Average.
Specifically, step S202, including:
Any network element is by each reporting compared with preset threshold value;
If reporting is more than preset threshold value, the reporting is judged for exception, and any network element simultaneously will be different Normal reporting filters out;
Any network element calculates the average value of the reporting after filtering.
Wherein, preset threshold value is obtained by carrying out statistics to the prolonged reporting under normal circumstances of more group NEs .For example, counting the reporting under more group NEs long-time normal time synchronous situations, it is inclined to obtain the time under normal circumstances The scope of difference, the threshold value of the reporting of abnormal ranges is worth to by the time deviation of normal range (NR).Good threshold is set Afterwards, the time synchronized curve of output, the validity of verification threshold are tracked then.Finally confirm a threshold value, or threshold range.
Step S203, judges whether the average value of reporting is more than the pulse resolution of communication system.
Step S204, if average value is greater than the pulse resolution of communication system, the time of any network element is adjusted to Average value.
Specifically, step S204, including:
If average value is greater than the pulse resolution of communication system, the time of any network element is set to adjust stepping;
Stepping is adjusted according to the time, is adjusted by the multiple time and the time of any network element is adjusted to average value;
Wherein, the number of time adjustment rounds for average value and the ratio of the resolution ratio of communication system pulse;
Time adjustment stepping is the resolution ratio of communication system pulse.
If average value is not more than the resolution of communication system pulse, the time of any network element is not adjusted.
Third embodiment of the invention, corresponding with first embodiment, the present embodiment introduces a kind of time synchronism apparatus, such as Fig. 4 It is shown, including consisting of part:
Computing module 100, within the time of setting, any network element in communication system in addition to the first network element receives the Multiple time synchronized messages that one network element is sent, any network element calculate any network element and the first net according to each time synchronized message The reporting of member.
Specifically, computing module 100, is used for:
Within the time of setting, any network element in communication system in addition to the first network element receives the multiple of the first network element transmission IEEE1588 (Institute of Electrical and Electronics Engineers1588, Electrical and Electronic engineering Shi Xiehui 1588) standard time sync message, any network element calculates any according to each IEEE1588 standard time sync message The reporting of network element and the first network element.
Wherein, high-precision master clock is set in the first network element.
Such as:Computing module 100, within the time of setting, the first network element in communication system with communication system Any network element interacted by multiple IEEE1588 standard time sync messages, any network element obtains what the first network element was sent Timestamp (t1, t2, t3 and t4) in IEEE1588 standard time sync messages, wherein each IEEE1588 standard time is synchronous Message includes a timestamp.Any network element generates a reporting offset according to each timestamp.Wherein, IEEE1588 agreements describe the IEEE1588 standard time sync message interaction between network element, and generation reporting, herein Do not repeat.
Filtering module 200, abnormal reporting is filtered out for any network element, and calculate the time deviation after filtering The average value of value.
Specifically, filtering module 200, including:
Comparing unit 201, for reporting compared with preset threshold value.
Filter element 202, if being more than preset threshold value for reporting, it is different to judge the reporting Often, any network element and by exception reporting filter out.
Wherein, preset threshold value is obtained by carrying out statistics to the prolonged reporting under normal circumstances of more group NEs .For example, counting the reporting under more group NEs long-time normal time synchronous situations, it is inclined to obtain the time under normal circumstances The scope of difference, the threshold value of the reporting of abnormal ranges is worth to by the time deviation of normal range (NR).Good threshold is set Afterwards, the time synchronized curve of output, the validity of verification threshold are tracked then.Finally confirm a threshold value, or threshold range.
Computing unit 203, for calculating the average value of the reporting after filtering.
Adjusting module 500, for the time of any network element to be adjusted into average value.
Specifically, adjusting module 500, is used for:
The time of any network element is set to adjust stepping;
Stepping is adjusted according to the time, is adjusted by the multiple time and the time of any network element is adjusted to average value;
Wherein, the number of time adjustment rounds for average value and the ratio of time adjustment stepping;
Time adjustment stepping is the time to adjust standard value.
Such as:Adjusting module 500, for setting the time adjusting parameter of any network element, time adjusting parameter includes:Time Adjust number and/or time adjustment stepping;
According to time adjusting parameter, the time of any network element is adjusted to average value;
Wherein, time adjustment number is that average value and the ratio of the resolution ratio of communication system pulse round;
Time adjustment stepping is the resolution ratio of communication system pulse.
Fourth embodiment of the invention, corresponding with second embodiment, the present embodiment introduces a kind of time synchronism apparatus, such as Fig. 5 It is shown, including consisting of part:
Computing module 100, within the time of setting, any network element in communication system in addition to the first network element receives the Multiple time synchronized messages that one network element is sent, any network element calculate any network element and the first net according to each time synchronized message The reporting of member.
Specifically, computing module 100, is used for:
Within the time of setting, any network element in communication system in addition to the first network element receives the multiple of the first network element transmission IEEE1588 (Institute of Electrical and Electronics Engineers1588, Electrical and Electronic engineering Shi Xiehui 1588) standard time sync message, any network element calculates any according to each IEEE1588 standard time sync message The reporting of network element and the first network element.
Wherein, high-precision master clock is set in the first network element.
Such as:Computing module 100, within the time of setting, the first network element in communication system with communication system Any network element interacted by multiple IEEE1588 standard time sync messages, any network element obtains what the first network element was sent Timestamp (t1, t2, t3 and t4) in IEEE1588 standard time sync messages, wherein each IEEE1588 standard time is synchronous Message includes a timestamp.Any network element generates a reporting offset according to each timestamp.Wherein, IEEE1588 agreements describe the IEEE1588 standard time sync message interaction between network element, and generation reporting, herein Do not repeat.
Filtering module 200, abnormal reporting is filtered out for any network element, and calculate the time deviation after filtering The average value of value.
Specifically, filtering module 200, including:
Comparing unit 201, for each reporting compared with preset threshold value.
Filter element 202, if reporting is more than preset threshold value, the reporting is judged for exception, appoint One network element simultaneously filters out the reporting of exception.
Wherein, preset threshold value is obtained by carrying out statistics to the prolonged reporting under normal circumstances of more group NEs .For example, counting the reporting under more group NEs long-time normal time synchronous situations, it is inclined to obtain the time under normal circumstances The scope of difference, the threshold value of the reporting of abnormal ranges is worth to by the time deviation of normal range (NR).Good threshold is set Afterwards, the time synchronized curve of output, the validity of verification threshold are tracked then.Finally confirm a threshold value, or threshold range.
Computing unit 203, for calculating the average value of the reporting after filtering.
Judge module 300, for judging whether average value is more than the resolution ratio of communication system pulse.
Sending module 400, if being more than the resolution ratio of communication system pulse for average value, by point of communication system pulse Resolution is sent to adjusting module.
Specifically, sending module 400, it is used for:
If average value is more than the resolution ratio of communication system pulse, the resolution ratio of communication system pulse is sent to adjustment mould Block 500;
If average value is not more than the resolution ratio of communication system pulse, the time of any network element is not adjusted.
Adjusting module 500, for the time of any network element to be adjusted into average value.
Specifically, adjusting module 500, is used for:
The time of any network element is set to adjust stepping;
Stepping is adjusted according to the time, is adjusted by the multiple time and the time of any network element is adjusted to average value;
Wherein, the number of time adjustment rounds for average value and the ratio of the resolution ratio of communication system pulse;
Time adjustment stepping is the resolution ratio of communication system pulse.
Fifth embodiment of the invention, the present embodiment are on the basis of above-described embodiment, during with by IEEE1588 standards Between exemplified by sync message carries out the synchronous system of communication system time, introduce an application example of the invention with reference to accompanying drawing 6.
The clock synchronization system of communication network includes:First network element 1000 and any network element 2000.
Wherein, any network element 2000 includes:(Field-Programmable Gate Array, scene can by line card FPGA Program gate array) 2001, CPU (Central Processing Unit, central processing unit) 2002 and master control FPGA2003.Appoint The quantity of one network element 2000 is one or more.
First network element 1000, interacted for carrying out IEEE1588 standard time sync messages with any network element 2000.
Line card FPGA2001, interacted for carrying out IEEE1588 standard time sync messages with the first network element 1000, according to The system time of any network element 2000 obtains timestamp (t1, t2, t3 and t4), and timestamp (t1, t2, t3 and t4) is sent extremely CPU2002。
CPU2002, for receive line card FPGA2001 transmission timestamp (t1, t2, t3 and t4), according to timestamp (t1, T2, t3 and t4) calculate the reporting offset of the first network element 1000 and any network element 2000, and the time that will be calculated Deviation offset is sent to master control FPGA2003.
Master control FPGA2003, for receiving the reporting offset of CPU2002 transmissions, according to reporting System times of the offset by the system time synchronization of any network element 2000 to the first network element 1000, and by any network element 2000 System time passes through TOD (Time Of Date) message real-time synchronizations to line card FPGA2001.
Wherein, line card FPGA2001 and CPU2002 is equivalent to the computing module 100 in 3rd embodiment;Master control FPGA2003 is equivalent to the adjusting module 500 in 3rd embodiment.
Sixth embodiment of the invention, it is corresponding with the 5th embodiment, entered with the CPU module in the 5th real-time example according to timestamp Exemplified by the method for row time synchronized, an application example of the invention is introduced with reference to 7~Fig. 8 of accompanying drawing.
S3201, the timestamp (t1, t2, t3 and t4) that line card FPGA is sent is received, according to timestamp (t1, t2, t3 and t4) Calculate the reporting offset of the first network element and any network element.
S3202, then before carrying out time adjustment to any network element, to the reporting of the first network element and any network element Whether offset is judged less than preset threshold value.
If reporting offset is less than preset threshold value, step S3203 is performed;
If it is not, then perform step S3204.
S3203, reporting offset is set into line card FPGA.
S3204, judge whether reporting offset is isolated point.One threshold X is set, if reporting offset>X, then judge that reporting offset is isolated point.
Rule of thumb and/or experiment threshold value X.Count the time deviation in the case of more group NEs long-time normal synchronizeds Value offset, the scope of reporting offset under normal circumstances is obtained, pass through the reporting offset of normal range (NR) Obtain the reporting offset of abnormal ranges threshold value.After good threshold is set, then the time synchronized curve of output is tracked, tested Demonstrate,prove the validity of threshold value.Finally confirm a threshold value for judging isolated point, or threshold range.
If reporting offset is determined as isolated point, step S3205 is performed;
It is no, then perform step S3207.
S3205, if reporting offset is determined as isolated point, remove the reporting for being determined as isolated point offset.And perform step S3206.
S3206, the reporting offset for being determined as isolated point is removed, do not adjust the system time of any network element.
S3207, if reporting offset is determined as it not being isolated point, store be not isolated point n time it is inclined Difference offset, n reporting offset is averaged.Wherein, n is the integer more than 2.
S3208, judges whether reporting offset average value is more than the resolution ratio m of communication system pulse.
If reporting offset average value is determined as the resolution ratio m more than communication system pulse, step is performed S3209;
If it is not, then perform step S3210.
S3209, if reporting offset average value is determined as the resolution ratio m no more than communication system pulse, The system time of any network element is not adjusted.
S3210, if reporting offset average value is determined as the resolution ratio m more than communication system pulse, lead to Cross the system time for repeatedly adjusting any network element.
The system time of any network element is repeatedly adjusted, the system time adjustment m of each any network element, when the number of adjustment is Between deviation offset average value/m.The time synchronized curve of any network element is as shown in Figure 8.
If during the system time of any network element is adjusted, the timestamp of line card FPGA transmissions is received, then basis The timestamp received calculates new reporting offset, and before abandoning receiving the timestamp of line card FPGA transmissions Any network element system time adjustment, perform step S3201.
By the explanation of embodiment, should can to the present invention for reach technological means that predetermined purpose is taken and Effect is able to more go deep into and specific understanding, but appended diagram is only to provide reference and purposes of discussion, not for this Invention is any limitation as.

Claims (12)

  1. A kind of 1. method for synchronizing time, applied to any network element in communication system in addition to the first network element, it is characterised in that described Method includes:
    Within the time of setting, multiple time synchronized messages that first network element is sent are received, it is same according to each time Walk the reporting that message calculates any network element and first network element;
    Abnormal reporting is filtered out, and calculates the average value of the reporting after filtering;
    The time of any network element is adjusted to the average value.
  2. 2. method for synchronizing time according to claim 1, it is characterised in that the time synchronized message is Electrical and Electronic IEEE IEEE1588 standard time sync messages.
  3. 3. method for synchronizing time according to claim 1, it is characterised in that described to filter out abnormal reporting Mode includes:
    To the reporting compared with preset threshold value;
    If the reporting is more than preset threshold value, judge the reporting for exception, and by exception time Deviation filters out.
  4. 4. method for synchronizing time according to claim 1, it is characterised in that the time by any network element adjusts Include for the average value:
    Judge whether the average value is more than preset time adjustment standard value;
    If so, the time of any network element is then adjusted to the average value.
  5. 5. method for synchronizing time according to claim 4, it is characterised in that the time by any network element adjusts Include for the average value:
    The time of any network element is set to adjust stepping;Stepping is adjusted according to the time, is adjusted by the multiple time by institute The time for stating any network element is adjusted to the average value;
    The time adjustment stepping is the time to adjust standard value;
    The ratio that the number of time adjustment adjusts stepping for the average value with the time rounds.
  6. 6. the method for synchronizing time according to claim 4 or 5, it is characterised in that the time adjustment standard value is described The pulse resolution of communication system.
  7. 7. a kind of time synchronism apparatus, any network element in addition to the first network element is arranged in communication system, it is characterised in that described Device includes:
    Computing module, within the time of setting, receiving multiple time synchronized messages that first network element is sent, according to every The individual time synchronized message calculates the reporting of any network element and first network element;
    Filtering module, for filtering out abnormal reporting, and calculate the average value of the reporting after filtering;
    Adjusting module, for the time of any network element to be adjusted into the average value.
  8. 8. time synchronism apparatus according to claim 7, it is characterised in that the time synchronized message is Electrical and Electronic IEEE IEEE1588 standard time sync messages.
  9. 9. time synchronism apparatus according to claim 7, it is characterised in that filtering module includes:
    Comparing unit, for the reporting compared with preset threshold value;
    Filter element, if being more than preset threshold value for the reporting, judge inclined more than the time of the threshold value set Difference filters out the reporting of exception to be abnormal.
  10. 10. time synchronism apparatus according to claim 7, it is characterised in that described device also includes:
    Judge module, for judging whether the average value is more than preset time adjustment standard value;
    Sending module, if being more than time adjustment standard value for the average value, by time adjustment standard value hair Deliver to the adjusting module.
  11. 11. time synchronism apparatus according to claim 10, it is characterised in that the adjusting module is used for:
    The time of any network element is set to adjust stepping;
    Stepping is adjusted according to the time, is adjusted by the multiple time and the time of any network element is adjusted to described average Value;
    The time adjustment stepping is the time to adjust standard value;
    The ratio that the number of time adjustment adjusts stepping for the average value with the time rounds.
  12. 12. the time synchronism apparatus according to claim 10 or 11, it is characterised in that the time adjustment standard value is institute State the pulse resolution of communication system.
CN201610723164.6A 2016-08-25 2016-08-25 A kind of method for synchronizing time and device Pending CN107786319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610723164.6A CN107786319A (en) 2016-08-25 2016-08-25 A kind of method for synchronizing time and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610723164.6A CN107786319A (en) 2016-08-25 2016-08-25 A kind of method for synchronizing time and device

Publications (1)

Publication Number Publication Date
CN107786319A true CN107786319A (en) 2018-03-09

Family

ID=61438416

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610723164.6A Pending CN107786319A (en) 2016-08-25 2016-08-25 A kind of method for synchronizing time and device

Country Status (1)

Country Link
CN (1) CN107786319A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109548135A (en) * 2019-01-28 2019-03-29 青岛联合创智科技有限公司 A kind of wireless network time synchronous method of optimization
CN110167060A (en) * 2019-06-19 2019-08-23 深圳市英特瑞半导体科技有限公司 A kind of management method of time network node, device and time network node

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120250704A1 (en) * 2011-03-30 2012-10-04 Hitachi, Ltd. Network node, time synchronization method and network system
CN103138863A (en) * 2011-12-01 2013-06-05 中兴通讯股份有限公司 Time synchronization method and device
CN104202137A (en) * 2014-07-09 2014-12-10 北京东土科技股份有限公司 IEEE1588 clock synchronization method, system and device based on E1 link

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120250704A1 (en) * 2011-03-30 2012-10-04 Hitachi, Ltd. Network node, time synchronization method and network system
CN103138863A (en) * 2011-12-01 2013-06-05 中兴通讯股份有限公司 Time synchronization method and device
CN104202137A (en) * 2014-07-09 2014-12-10 北京东土科技股份有限公司 IEEE1588 clock synchronization method, system and device based on E1 link

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109548135A (en) * 2019-01-28 2019-03-29 青岛联合创智科技有限公司 A kind of wireless network time synchronous method of optimization
CN109548135B (en) * 2019-01-28 2020-12-01 青岛联合创智科技有限公司 Optimized wireless network time synchronization method
CN110167060A (en) * 2019-06-19 2019-08-23 深圳市英特瑞半导体科技有限公司 A kind of management method of time network node, device and time network node

Similar Documents

Publication Publication Date Title
KR101749202B1 (en) Method, apparatus, and system for generating timestamp
US8107502B2 (en) Method and apparatus for monitoring packet networks
US10257798B1 (en) Synchronizing clocks in a wireless system
CN102394715B (en) Clock synchronizing method and device
US9628209B2 (en) Time synchronization in distributed network testing equipment
US8385212B2 (en) Method and apparatus for finding latency floor in packet networks
CN103563287B (en) Synchronization device and synchronization method
CN105450321B (en) A kind of network data transmission method and device
JP2010502122A (en) Controlled delay packet forwarding apparatus and method
CN103181105A (en) Non-intrusive method for synchronizing master and slave clocks of a packet-switched network, and associated synchronization devices
CN103152118B (en) A kind of Base Band Unit and radio frequency unit data service synchronization, device and system
US8856367B2 (en) Arrangement and method for interchanging time markers
US9813174B2 (en) Time correction method and apparatus for slave clock device
CN105610727A (en) Network data transmission method and device
CN113497803A (en) TDMA networking using commodity NIC/switch
Aslam et al. Hardware efficient clock synchronization across Wi-Fi and Ethernet-based network using PTP
CN102356603A (en) Apparatus and method of scheduling timing packets to enhance time distribution in telecommunication networks
CN104012099A (en) Method and system for optimizing short-term stability of a clock
EP2341650B1 (en) Transfer of a synchronization message through a packet radio network
CN107786319A (en) A kind of method for synchronizing time and device
CN104144047A (en) Synchronization method of communication network system, intermediate node and slave node
CN103516454B (en) Clock synchronizing method, device and communication equipment
CN108768573B (en) Clock synchronization method and device
CN103618640A (en) Ethernet performance testing method and device based on point-to-point testing
CN101202617A (en) Method for time synchronism compensation among multi-stage equipments

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20180428

Address after: 518057 five floor, block A, ZTE communication tower, Nanshan District science and Technology Park, Shenzhen, Guangdong.

Applicant after: ZTE Corp.

Address before: 210000 68 Bauhinia Road, Yuhuatai District, Nanjing, Jiangsu

Applicant before: Nanjing Zhongxing New Software Co.,Ltd.

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180309

RJ01 Rejection of invention patent application after publication