CN105530139A - 1588 device self check method and 1588 device self check device - Google Patents

1588 device self check method and 1588 device self check device Download PDF

Info

Publication number
CN105530139A
CN105530139A CN201410510243.XA CN201410510243A CN105530139A CN 105530139 A CN105530139 A CN 105530139A CN 201410510243 A CN201410510243 A CN 201410510243A CN 105530139 A CN105530139 A CN 105530139A
Authority
CN
China
Prior art keywords
time
equipment
message
phy
time delay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410510243.XA
Other languages
Chinese (zh)
Other versions
CN105530139B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410510243.XA priority Critical patent/CN105530139B/en
Priority to PCT/CN2015/073247 priority patent/WO2016045311A1/en
Publication of CN105530139A publication Critical patent/CN105530139A/en
Application granted granted Critical
Publication of CN105530139B publication Critical patent/CN105530139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a 1588 device self check method. the method comprises steps: line time delay between a receiving port and a transmitting port of a physical interface transceiver PHY in the1588 device is acquired; when the absolute value for the difference between the line time delay and a standard time is not in a preset difference value range, the time synchronization performance of the 1588 device is determined to be abnormal; and when the absolute value for the difference between the line time delay and the standard time is in a preset difference value range, the time synchronization performance of the 1588 device is determined to be normal. The invention also discloses a 1588 device self check device.

Description

A kind of 1588 equipment self-inspection method and devices
Technical field
The present invention relates to the communication technology, particularly relate to a kind of 1588 equipment self-inspection method and devices.
Background technology
Along with the application of 1588 equipment in the time synchronized realizing packet transmission networks is more and more extensive, 1588 equipment generate and beginning time, to 1588 equipment carry out transceiver channel and net synchronization capability etc. 1588 the detection of function become particularly important.
The detection of current 1588 functions needs terminal device to dock, and after terminal device sync cap setup time, detects terminal device and whether realizes time synchronized; When terminal device can not realize time synchronized, packet sending and receiving channel abnormal may be there is, time synchronized performance is abnormal or terminal device is abnormal; Now, the many reasons to terminal device may be caused can not realize time synchronized is needed to investigate one by one and locate; Further, whether this detection method can only test a physical port normal, cannot detect all of the port of 1588 equipment simultaneously.
Summary of the invention
In view of this, the embodiment of the present invention is expected to provide a kind of 1588 equipment self-inspection method and devices, can realize the independent detection all of the port of 1588 equipment being carried out simultaneously to the time synchronized performance of 1588 packet sending and receiving performances and 1588 equipment.
The technical scheme of the embodiment of the present invention is achieved in that
The embodiment of the present invention provides a kind of 1588 equipment self-inspection methods, comprise: obtain the circuit time delay between the receiving port of PHY in 1588 equipment and transmit port, when the absolute value of described circuit time delay and the difference of standard time is not in the difference range preset, determine that the time synchronized performance of 1588 equipment is abnormal, when the absolute value of described circuit time delay and the difference of standard time is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal.
In above-mentioned implementation, circuit time delay in described acquisition 1588 equipment between the receiving port of PHY and transmit port, comprise: the time that recorded message time stamp produces is T1, PHY time that to send time of message be the time that T2, PHY receive message is T3, message is returned is T4, described circuit time delay is T3-T2, T3-T2=T4-T1-C3; Wherein, described C3 is value time calibration after returning the renewal of carrying in message.
In above-mentioned implementation, when described message produces, value time calibration in message is reset.
In above-mentioned implementation, after determining the time synchronized performance of 1588 equipment, described method also comprises: show the time synchronized performance of 1588 equipment, the transmitting-receiving performance of 1588 device ports and return time delay.
In above-mentioned implementation, the described time synchronized performance determining 1588 equipment is abnormal, comprising: determine that very first time coincidence counter in 1588 equipment is asynchronous with the second time synchronized counter and/or PHY abnormal and/or PHY calculates alignment time mistake.
The embodiment of the present invention also provides a kind of 1588 equipment self-inspection devices, and described device comprises: acquisition module, comparison module and determination module; Wherein,
Described acquisition module, for obtaining the circuit time delay between the receiving port of PHY in 1588 equipment and transmit port;
Described comparison module, for the size of more described circuit time delay with the difference range preset;
Described determination module, during for the absolute value in described circuit time delay and the difference of standard time not in the difference range preset, determines that the time synchronized performance of 1588 equipment is abnormal; When the absolute value of described circuit time delay and the difference of standard time is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal.
In above-mentioned implementation, described acquisition module, the time produced specifically for recorded message time stamp is T1, PHY time that to send time of message be the time that T2, PHY receive message is T3, message is returned is T4, and described circuit time delay is T3-T2, T3-T2=T4-T1-C3; Wherein, described C3 is value time calibration after returning the renewal of carrying in message.
In above-mentioned implementation, described device also comprises: dump block, during for generation of message, value time calibration in message is reset.
In above-mentioned implementation, described device also comprises: display module, for showing the time synchronized performance of 1588 equipment, the transmitting-receiving performance of 1588 device ports and returning time delay.
In above-mentioned implementation, described determination module, specifically for determining that very first time coincidence counter in 1588 equipment is asynchronous with the second time synchronized counter and/or PHY abnormal and/or PHY calculates alignment time mistake.
1588 equipment self-inspection method and the devices that the embodiment of the present invention provides, obtain the circuit time delay between the receiving port of physical interface transceiver PHY in 1588 equipment and transmit port; When the absolute value of described circuit time delay and the difference of standard time is not in the difference range preset, determine that the time synchronized performance of 1588 equipment is abnormal; When the absolute value of described circuit time delay and the difference of standard time is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal; Wherein, the time that 1588 equipment message produce is T1, PHY time that to receive time of message be the time that T2, PHY send message is T3, message is returned is T4, the alignment time of message is correction, described circuit time delay is T3-T2, T3-T2=T4-T1-C3, described C3 are value time calibration after returning the renewal of carrying in message; The embodiment of the present invention is sent by the PHY in 1588 equipment and receives message, confirms that the transmit port Tx of PHY and receiving port Rx can normally work; By comparing the size gaining time delay and default difference range of acquisition, determine the time synchronized performance of 1588 equipment; So, the independent detection all of the port of 1588 equipment being carried out simultaneously to the time synchronized performance of 1588 packet sending and receiving performances and 1588 equipment is realized.
Accompanying drawing explanation
Fig. 1 is the handling process schematic diagram of the embodiment of the present invention 1588 equipment self-inspection method;
Fig. 2 is the Message processing schematic flow sheet of the embodiment of the present invention 1558 equipment;
Fig. 3 is the embodiment of the present invention 1588 equipment self-inspection schematic diagram;
Fig. 4 is the embodiment of the present invention 1588 equipment self-inspection result display interface figure;
Fig. 5 is the composition structural representation of the embodiment of the present invention 1588 equipment self-inspection device.
Embodiment
In the embodiment of the present invention, obtain the circuit time delay between the receiving port of physical interface transceiver PHY in 1588 equipment and transmit port; When the absolute value of described circuit time delay and the difference of standard time is not in the difference range preset, determine that the time synchronized performance of 1588 equipment is abnormal; When the absolute value of described circuit time delay and the difference of standard time is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal.
For understanding the technical scheme of the embodiment of the present invention better, below the composition of 1588 equipment and the function of each part are described in detail.
1588 equipment generally comprise and focus on module and circuit transceiver module; Wherein, described in focus on module, for generation of message, return message, beat time stamp for message, the time source choosing 1588 equipment, computing time deviation, lock in time etc.; Circuit transceiver module is for the treatment of functions such as 1588 message time stamps, the coding performing physical layer and transmitting-receivings; Focus on module and be provided with very first time counter, circuit transceiver module is provided with the second time counter, the second time counter need with very first time counter synchronisation, all time stamps ensureing circuit transceiver module and focus on module are same benchmark.
The handling process of the embodiment of the present invention 1588 equipment self-inspection method, as shown in Figure 1, comprises the following steps:
Step 101, obtains the circuit time delay between the receiving port of physical interface transceiver PHY in 1588 equipment and transmit port;
Particularly, in the embodiment of the present invention, the Message processing flow process of 1558 equipment, as shown in Figure 2,1588 equipment self-inspection schematic diagrames, as shown in Figure 3: focus on module and produce message, the time that message time stamp produces is T1, by the intercommunication passage of 1588 equipment, described message is sent to circuit transceiver module; Enter time stamp processing module in circuit transceiver module inside, the correction value in message is updated to C1=correction-T1; The time that PHY sends message by transmit port Tx is that the correction value in message is updated to C2=correction-T1+T2 by T2, PHY again; The time that PHY receives message by Rx is T3; Message to be also back to by the intercommunication passage of 1588 equipment and to focus on module by PHY again, described in carry T1 in the message returned and the correction value after upgrading is C3; Focus on the time T4 that module recorded message is returned, the correction value in message is updated to C3=correction-T1+T2+ (T4-T3);
Wherein, described message can be sync message, and described correction is the alignment time of message inside, and record needs the time delay size of calibration; When focusing on module and producing message, the correction value in message is reset; Circuit time delay then between the receiving port of PHY and transmit port is that T3-T2=T4-T1-C3, T3-T2 also can return the time for the high speed serialization link of PHY;
Here, described circuit delay can, for the circuit delay once obtained, also can be the mean value of multiple circuit delay.
Step 102, when the absolute value of described circuit time delay and the difference of standard time is not in the difference range preset, determines that the time synchronized performance of 1588 equipment is abnormal;
Here, the described standard time is the theoretical time that message transmits between the receiving port and transmit port of PHY, is determined by PHY; Described default difference range is determined by 1588 equipment, and described default difference range can be [1ns, 20ns];
In described circuit time delay not when default difference range, determine that the time synchronized performance of 1588 equipment is abnormal, the time synchronized performance of described 1588 equipment is abnormal to be comprised: the very first time coincidence counter in 1588 equipment is asynchronous with the second time synchronized counter and/or PHY abnormal and/or PHY calculates alignment time mistake;
Wherein, and the PHY asynchronous with the second time synchronized counter of the very first time coincidence counter in 1588 equipment be abnormal all can cause the inaccurate of T2 value and T3 value.
Step 103, when described circuit time delay is in the difference range preset, determines that the time synchronized performance of 1588 equipment is normal.
The embodiment of the present invention also comprises step 104, shows the time synchronized performance of 1588 equipment, alignment time and default difference range;
Particularly, 1588 equipment self-inspection result display interface figure, shown in Fig. 4, display interface comprises: the time synchronized performance of 1588 equipment, the transmitting-receiving performance of 1588 device ports, return time delay etc.
The embodiment of the present invention is in Message processing process, high speed serialization link can be carried out to each receiving port and transmit port and return test, detect the transmitting-receiving performance of receiving port and transmit port, when the transmitting-receiving performance of whole receiving port and transmit port that 1588 equipment detected is normal, further according to the time synchronized performance of circuit time delay with size detection 1588 equipment of the difference range preset.
Before the enforcement embodiment of the present invention, described method also comprises: the self-inspection option arranging 1588 equipment in network management system, comprising: whether perform 1588 equipment self-inspections, perform the parameters such as the time of 1588 equipment self-inspections.
For realizing above-mentioned 1588 equipment self-inspection methods, the embodiment of the present invention also provides a kind of 1588 equipment self-inspection devices, and the composition structure of described device as shown in Figure 5, comprising: acquisition module 11, comparison module 12 and determination module 13; Wherein,
Described acquisition module 11, for obtaining the circuit time delay between the receiving port of PHY in 1588 equipment and transmit port;
Described comparison module 12, for the size of more described circuit time delay with the difference range preset;
Described determination module 13, for when described circuit time delay is not in the difference range preset, determines that the time synchronized performance of 1588 equipment is abnormal; When described circuit time delay is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal.
In above-mentioned implementation, described acquisition module 11, the time produced specifically for recorded message time stamp is T1, PHY time that to send time of message be the time that T2, PHY receive message is T3, message is returned is T4, and described circuit time delay is T3-T2, T3-T2=T4-T1-C3; Wherein, described C3 is value time calibration after returning the renewal of carrying in message;
Described message can be sync message, and described correction is value time calibration of message, and T3-T2 also can return the time for the high speed serialization link of PHY;
In above-mentioned implementation, described device also comprises: dump block 14, during for generation of message, value time calibration in message is reset.
In above-mentioned implementation, device also comprises: display module 15, for showing the time synchronized performance of 1588 equipment, alignment time and default difference range.
In above-mentioned implementation, described determination module 13, specifically for determining that very first time coincidence counter in 1588 equipment is asynchronous with the second time synchronized counter and/or PHY abnormal and/or PHY calculates alignment time mistake;
Wherein, and the PHY asynchronous with the second time synchronized counter of the very first time coincidence counter in 1588 equipment be abnormal all can cause the inaccurate of T2 value and T3 value;
In above-mentioned implementation, described circuit delay can, for the circuit delay once obtained, also can be the mean value of multiple circuit delay;
In above-mentioned implementation, the described standard time is the theoretical time that message transmits between the receiving port and transmit port of PHY, is determined by PHY; Described default difference range is determined by 1588 equipment, and described default difference range can be [1ns, 20ns].
It should be noted that, in actual applications, described acquisition module 11, comparison module 12, determination module 13, dump block 14 and display module 15 function can by be positioned on 1588 equipment central processing unit (CPU) or microprocessor (MPU) or digital signal processor (DSP) or programmable gate array (FPGA) realize.
The foregoing is only preferred embodiment of the present invention, be not intended to limit protection scope of the present invention.

Claims (10)

1. 1588 equipment self-inspection methods, is characterized in that, described method comprises: obtain the circuit time delay between the receiving port of physical interface transceiver PHY in 1588 equipment and transmit port;
When the absolute value of described circuit time delay and the difference of standard time is not in the difference range preset, determine that the time synchronized performance of 1588 equipment is abnormal;
When the absolute value of described circuit time delay and the difference of standard time is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal.
2. 1588 equipment self-inspection methods according to claim 1, is characterized in that, the circuit time delay in described acquisition 1588 equipment between the receiving port of PHY and transmit port, comprising:
The time that recorded message time stamp produces is T1, PHY time that to send time of message be the time that T2, PHY receive message is T3, message is returned is T4, and described circuit time delay is T3-T2, T3-T2=T4-T1-C3; Wherein,
Described C3 is value time calibration after returning the renewal of carrying in message.
3. 1588 equipment self-inspection methods according to claim 2, is characterized in that, when described message produces, value time calibration in message are reset.
4. 1588 equipment self-inspection methods according to claim 1, it is characterized in that, after determining the time synchronized performance of 1588 equipment, described method also comprises:
Show the time synchronized performance of 1588 equipment, the transmitting-receiving performance of 1588 device ports and return time delay.
5. 1588 equipment self-inspection methods according to claim 1, is characterized in that, describedly determine that the time synchronized performance of 1588 equipment is abnormal, comprising:
Determine that very first time coincidence counter in 1588 equipment is asynchronous with the second time synchronized counter and/or PHY abnormal and/or PHY calculates alignment time mistake.
6. 1588 equipment self-inspection devices, is characterized in that, described device comprises: acquisition module, comparison module and determination module; Wherein,
Described acquisition module, for obtaining the circuit time delay between the receiving port of PHY in 1588 equipment and transmit port;
Described comparison module, for the size of more described circuit time delay with the difference range preset;
Described determination module, during for the absolute value in described circuit time delay and the difference of standard time not in the difference range preset, determines that the time synchronized performance of 1588 equipment is abnormal; When the absolute value of described circuit time delay and the difference of standard time is in the difference range preset, determine that the time synchronized performance of 1588 equipment is normal.
7. 1588 equipment self-inspection devices according to claim 6, it is characterized in that, described acquisition module, the time produced specifically for recorded message time stamp is T1, PHY time that to send time of message be the time that T2, PHY receive message is T3, message is returned is T4, described circuit time delay is T3-T2, T3-T2=T4-T1-C3; Wherein,
Described C3 is value time calibration after returning the renewal of carrying in message.
8. 1588 equipment self-inspection devices according to claim 7, it is characterized in that, described device also comprises: dump block, during for generation of message, value time calibration in message is reset.
9. 1588 equipment self-inspection devices according to claim 6, it is characterized in that, described device also comprises: display module, for showing the time synchronized performance of 1588 equipment, the transmitting-receiving performance of 1588 device ports and returning time delay.
10. 1588 equipment self-inspection devices according to claim 6, it is characterized in that, described determination module, specifically for determining that very first time coincidence counter in 1588 equipment is asynchronous with the second time synchronized counter and/or PHY abnormal and/or PHY calculates alignment time mistake.
CN201410510243.XA 2014-09-28 2014-09-28 Self-checking method and device for 1588 equipment Active CN105530139B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410510243.XA CN105530139B (en) 2014-09-28 2014-09-28 Self-checking method and device for 1588 equipment
PCT/CN2015/073247 WO2016045311A1 (en) 2014-09-28 2015-02-25 Device self-checking method, apparatus and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410510243.XA CN105530139B (en) 2014-09-28 2014-09-28 Self-checking method and device for 1588 equipment

Publications (2)

Publication Number Publication Date
CN105530139A true CN105530139A (en) 2016-04-27
CN105530139B CN105530139B (en) 2021-03-16

Family

ID=55580215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410510243.XA Active CN105530139B (en) 2014-09-28 2014-09-28 Self-checking method and device for 1588 equipment

Country Status (2)

Country Link
CN (1) CN105530139B (en)
WO (1) WO2016045311A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111239584A (en) * 2019-12-31 2020-06-05 视航机器人(佛山)有限公司 Mainboard testing device, system and method applied to unmanned forklift
CN115914038A (en) * 2022-11-11 2023-04-04 中国联合网络通信集团有限公司 Degradation forwarding equipment detection method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101437239A (en) * 2008-12-11 2009-05-20 吉林大学 Real time sensor signal network transmission method based on linear prediction filtering
US7724182B2 (en) * 2007-04-16 2010-05-25 Panasonic Corporation Radar system
CN102833061A (en) * 2012-08-31 2012-12-19 北京东土科技股份有限公司 Method for improving clock accuracy based on seamless redundancy ring network and node
CN103905136A (en) * 2012-12-26 2014-07-02 中兴通讯股份有限公司 Time synchronization processing method and device
CN104113386A (en) * 2014-07-09 2014-10-22 北京东土科技股份有限公司 Method and device for monitoring Ethernet clock synchronization

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2011188042A (en) * 2010-03-05 2011-09-22 Nec Corp Digital signal processing circuit, digital signal processing method, and program
CN202798152U (en) * 2012-07-31 2013-03-13 许继集团有限公司 Network layering distributed intelligent regional power grid

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7724182B2 (en) * 2007-04-16 2010-05-25 Panasonic Corporation Radar system
CN101437239A (en) * 2008-12-11 2009-05-20 吉林大学 Real time sensor signal network transmission method based on linear prediction filtering
CN102833061A (en) * 2012-08-31 2012-12-19 北京东土科技股份有限公司 Method for improving clock accuracy based on seamless redundancy ring network and node
CN103905136A (en) * 2012-12-26 2014-07-02 中兴通讯股份有限公司 Time synchronization processing method and device
CN104113386A (en) * 2014-07-09 2014-10-22 北京东土科技股份有限公司 Method and device for monitoring Ethernet clock synchronization

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111239584A (en) * 2019-12-31 2020-06-05 视航机器人(佛山)有限公司 Mainboard testing device, system and method applied to unmanned forklift
CN115914038A (en) * 2022-11-11 2023-04-04 中国联合网络通信集团有限公司 Degradation forwarding equipment detection method, device, equipment and storage medium
CN115914038B (en) * 2022-11-11 2024-04-09 中国联合网络通信集团有限公司 Degradation forwarding device detection method, device, equipment and storage medium

Also Published As

Publication number Publication date
WO2016045311A1 (en) 2016-03-31
CN105530139B (en) 2021-03-16

Similar Documents

Publication Publication Date Title
US9876596B2 (en) Method and device for detecting fault in synchronization link
US20160191184A1 (en) Time synchronization for network testing equipment
US20160080100A1 (en) Method for precision time protocol synchronization network and apparatus
EP2770678A1 (en) Clock synchronization method and system in 1588-2008 protocol
WO2014053979A9 (en) Methods and devices for adjusting resource management procedures based on machine device capability information
PH12019502192A1 (en) Method and device for transmitting uplink demodulation reference signal
US20220077946A1 (en) Technologies for high-precision timestamping of packets
CN102201983A (en) Method, terminal and system for measuring asymmetric time delay of transmission link
CN105262555A (en) Time synchronization method, programmable logic device, single board and network element
CN105634840A (en) Method and device for measuring packet loss
WO2016054884A1 (en) Frequency deviation monitoring method, device and computer storage medium
IL269193B1 (en) Method and device for transmitting synchronization signal
CN106301996B (en) A kind of method and device that PTP message is tested automatically
US20150195159A1 (en) Apparatus and method for processing mpeg media transport signaling message
WO2016058347A1 (en) Method and apparatus for implementing time and clock synchronization
CN108134645A (en) Radar signal synchronization system
WO2021082674A1 (en) Time synchronization method, communication device, and system
CN102523263A (en) Sharing access host quantity monitoring method, device thereof and system thereof
CN105530139A (en) 1588 device self check method and 1588 device self check device
CN103595588A (en) Method for accurately measuring asynchronous Ethernet circuit time delay
CN104104644A (en) Bidirectional forwarding detection system and detection time configuration method of bidirectional forwarding detection
CN108155965A (en) SDH transmits IEC61588 methods
WO2017106031A3 (en) Performance monitoring in mission-critical wireless networks
CN102983959B (en) Method for realizing one-step mode and two-step mode for PTP (precision time synchronization protocol) in a plurality of MAC
CN105323028A (en) Time synchronization method, equipment and system

Legal Events

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