CN108011773B - Time synchronization test method and device - Google Patents

Time synchronization test method and device Download PDF

Info

Publication number
CN108011773B
CN108011773B CN201610956102.XA CN201610956102A CN108011773B CN 108011773 B CN108011773 B CN 108011773B CN 201610956102 A CN201610956102 A CN 201610956102A CN 108011773 B CN108011773 B CN 108011773B
Authority
CN
China
Prior art keywords
time
network element
tested
precision
test
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
CN201610956102.XA
Other languages
Chinese (zh)
Other versions
CN108011773A (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 Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201610956102.XA priority Critical patent/CN108011773B/en
Publication of CN108011773A publication Critical patent/CN108011773A/en
Application granted granted Critical
Publication of CN108011773B publication Critical patent/CN108011773B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0685Clock or time synchronisation in a node; Intranode synchronisation

Abstract

The invention discloses a time synchronization test method and a time synchronization test device, and relates to the field of communication networks. The invention adopts the testing device with the same time source as the network to interact with the network element to be tested in the network, and obtains the time for receiving and sending the message recorded by the testing device and the network element to be tested through the sent request and the received response, thereby calculating the time synchronization precision of the network element to be tested relative to the time source, avoiding manual field test, and improving the convenience and the test efficiency of time synchronization test on the network element in the network.

Description

Time synchronization test method and device
Technical Field
The present invention relates to the field of communications networks, and in particular, to a time synchronization testing method and apparatus.
Background
At present, due to the fact that services such as LTE (Long Term Evolution ) base station backhaul have high requirements for time synchronization performance, there is a need for time synchronization performance testing during the bearer network construction and service provisioning operation of LTE base station backhaul services.
At present, in order to complete the test of the time synchronization performance, a dedicated time synchronization test instrument is usually adopted, and a professional carries the instrument to a field where each network element device in a network is deployed to perform the test. When the network engineering construction is completed, the test acceptance by section needs to be carried out, the workload is huge, part of scenes need to be operated in the open air, the test period is very long due to the restriction of factors such as the power supply condition of the instrument power supply, the weather condition and the like. Once the service is opened, in order to implement network quality monitoring, the time synchronization instrument needs to be connected to the existing network for testing, and the testing may cause interruption of the existing service, so that caution is needed in the testing process, and the testing efficiency is low.
Disclosure of Invention
The embodiment of the invention aims to solve the technical problem that: how to conveniently and efficiently carry out time synchronization test on network elements in a network.
According to a first aspect of the embodiments of the present invention, there is provided a time synchronization testing method, including: the method comprises the steps that a test device sends a time precision test request to a network element to be tested in a network, wherein the time precision test request comprises first time recorded by the test device for sending the time precision test request, and the test device and the network have the same time source; the testing device receives a time precision testing response returned by the network element to be tested, wherein the time precision testing response comprises a second time for receiving the time precision testing request and a third time for sending the time precision testing response, which are recorded by the network element to be tested; the testing device records the fourth time when the testing device receives the time precision test response; and the testing device determines the time synchronization precision of the network element to be tested relative to the time source according to the first time, the second time, the third time and the fourth time.
In one embodiment, the determining, by the testing apparatus, the time synchronization accuracy of the network element under test with respect to the time source according to the first time, the second time, the third time, and the fourth time includes: the testing device takes the sum of the difference between the second time and the first time and the difference between the fourth time and the third time as the total delay of the testing circuit; the testing device takes half of the total time of the line delay as the average delay of the testing line; the testing device takes the difference between the second time and the average delay of the testing line as comparison time; and the testing device takes the difference between the first time and the comparison time as the time synchronization precision of the network element to be tested.
In one embodiment, the time precision test request further includes an identifier of the test apparatus and/or an identifier of a port through which the test apparatus sends the time precision test request, and the time precision test response further includes an identifier of the network element to be tested and/or an identifier of a port through which the network element to be tested sends the time precision test response; the step of receiving the time precision test response returned by the network element to be tested by the test device comprises the following steps: the test device receives a time precision test response returned by the network element to be tested according to the test device identification and/or the identification of the port of the time precision test request sent by the test device; the step of recording, by the test device, a fourth time when the test device receives the precision test response packet includes: and the testing device records the fourth time for receiving the precision test response message according to the identifier of the network element to be tested and/or the identifier of the port for sending the time precision test response by the network element to be tested.
In one embodiment, the method further comprises: the testing device obtains the time synchronization performance of each network element to be tested according to the time synchronization precision of each network element to be tested relative to the time source; and the testing device performs time synchronization compensation on each network element to be tested and/or a link between each network element to be tested according to the time synchronization performance between each network element to be tested.
In one embodiment, the method further comprises: and the testing device sends the time synchronization precision of the network element to be tested relative to the time source to the network element to be tested, so that the network element to be tested takes the testing device as the time synchronization source when the difference value of the time synchronization precision of the network element to be tested and the time synchronization source of the network element to be tested is greater than a preset value.
In one embodiment, the network is a base station backhaul carrier network, and/or the time source of the test device and the network is a high precision clock server with global positioning system time synchronization information.
According to a second aspect of the embodiments of the present invention, there is provided a time synchronization testing apparatus, including: the device comprises a test request sending module, a time precision test module and a time precision test module, wherein the test request sending module is used for sending a time precision test request to a network element to be tested in a network, the time precision test request comprises first time recorded by a test device for sending the time precision test request, and the test device and the network have the same time source; the test response receiving module is used for receiving a time precision test response returned by the network element to be tested, wherein the time precision test response comprises a second time for receiving the time precision test request and a third time for sending the time precision test response, which are recorded by the network element to be tested; the receiving time recording module is used for recording the fourth time of the testing device for receiving the time precision test response; and the time synchronization precision determining module is used for determining the time synchronization precision of the network element to be tested relative to the time source according to the first time, the second time, the third time and the fourth time.
In one embodiment, the time synchronization accuracy determination module comprises: a total delay calculation unit for taking the sum of the difference between the second time and the first time and the difference between the fourth time and the third time as the total delay of the test line; an average delay calculation unit for taking half of the total time of the line delay as the average delay of the test line; a comparison time calculation unit for taking a difference between the second time and the average delay of the test line as a comparison time; and the time synchronization precision calculation unit is used for taking the difference between the first time and the comparison time as the time synchronization precision of the network element to be detected.
In one embodiment, the time precision test request further includes an identifier of the test apparatus and/or an identifier of a port through which the test apparatus sends the time precision test request, and the time precision test response further includes an identifier of the network element to be tested and/or an identifier of a port through which the network element to be tested sends the time precision test response; the test response receiving module is further used for receiving a time precision test response returned by the network element to be tested according to the identifier of the test device and/or the identifier of the port of the time precision test request sent by the test device; the receiving time recording module is further configured to record a fourth time when the testing device receives the precision test response message according to the identifier of the network element to be tested and/or the identifier of the port through which the network element to be tested sends the time precision test response.
In one embodiment, the apparatus further comprises: the synchronization performance determining module is used for obtaining the time synchronization performance of each network element to be tested according to the time synchronization precision of each network element to be tested relative to the time source; and the compensation module is used for performing time synchronization compensation on each network element to be detected and/or a link between each network element to be detected according to the time synchronization performance between each network element to be detected.
In one embodiment, the apparatus further comprises: and the synchronization source changing module is used for sending the time synchronization precision of the network element to be tested relative to the time source to the network element to be tested, so that when the difference value of the time synchronization precision of the network element to be tested and the time synchronization source of the network element to be tested is greater than a preset value, the network element to be tested takes the testing device as the time synchronization source.
In one embodiment, the network is a base station backhaul carrier network, and/or the time source of the test device and the network is a high precision clock server with global positioning system time synchronization information.
The invention adopts the testing device with the same time source as the network to interact with the network element to be tested in the network, and obtains the time for receiving and sending the message recorded by the testing device and the network element to be tested through the sent request and the received response, thereby calculating the time synchronization precision of the network element to be tested relative to the time source, avoiding manual field test, and improving the convenience and the test efficiency of time synchronization test on the network element in the network.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of the time synchronization testing method of the present invention.
FIG. 2 is a flowchart of an embodiment of a time synchronization test method according to the present invention.
Fig. 3 is a schematic diagram of message interaction between the testing apparatus and the network element to be tested according to the present invention.
FIG. 4 is a flowchart illustrating a time synchronization testing method according to another embodiment of the present invention.
Fig. 5 is a block diagram of an embodiment of the time synchronization test apparatus of the present invention.
Fig. 6 is a block diagram of another embodiment of the time synchronization test apparatus of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic view of an application scenario of the time synchronization testing method of the present invention. As shown in fig. 1, a terminal accesses a Network through a base station and an ONU (Optical Network Unit), and then accesses a Core Network through an OLT (Optical line terminal), an SR (Service Router), and a CR (Core Router) in the Network. The time source of the network is a high precision clock device. The CR connects to the high-precision clock device and performs time synchronization with reference to the high-precision clock device. Other devices in the network sequentially refer to the upstream device to perform time synchronization, that is, SR synchronizes to CR, and OLT synchronizes to SR. The time source of the testing device is the same as that of the network, and the testing device and the network are high-precision clock equipment. The testing device is in communication connection with network elements in the network and can interact with each network element through the time precision testing messages, so that the time synchronization precision of each network element is calculated, and adjustment can be conveniently carried out when the time synchronization performance of the network elements is poor.
It should be clear to those skilled in the art that fig. 1 is an application scenario of the time synchronization testing method provided by the present invention, and does not limit the present invention. According to the requirement, a person skilled in the art can apply the time synchronization testing method provided by the present invention to other network application scenarios, which are not described herein again.
In a normal network operation process, network elements in the network are synchronized sequentially with reference to the time of an adjacent network element in the network, for example, each network element may perform time synchronization to an upstream network element. The time of the network elements in the network is likely to differ from the time of the time source due to the influence of the device itself or for link quality reasons. Therefore, the testing device with the same time source as the network can be used for measuring the difference between the time of the network element to be tested and the time source, so that the time synchronization precision of the network element to be tested can be obtained. The time synchronization test method of one embodiment of the present invention is described below with reference to fig. 2.
FIG. 2 is a flowchart of an embodiment of a time synchronization test method according to the present invention. As shown in fig. 2, the method of this embodiment includes:
step S202, the testing device sends a time precision testing request to a network element to be tested in the network, wherein the time precision testing request comprises the first time recorded by the testing device for sending the time precision testing request.
The test device may be a stand-alone device in the network, such as a test server, or may be a module in other devices or systems, such as a test module in an existing comprehensive maintenance test system.
Wherein the test device and the network have the same time source. The time source of the test apparatus and the network may be, for example, a high-precision clock server having time synchronization information of a GPS (Global Positioning System).
Step S204, the testing device receives a time precision test response returned by the network element to be tested, and the time precision test response comprises a second time for receiving the time precision test request and a third time for sending the time precision test response, which are recorded by the network element to be tested.
In step S206, the testing device records the fourth time when the testing device receives the precision test response message.
Step S208, the testing device determines the time synchronization precision of the network element to be tested relative to the time source according to the first time, the second time, the third time and the fourth time.
The time synchronization precision of the network element to be tested relative to the time source refers to the difference between the time of the network element to be tested and the time of the time source at the same moment.
For example, the following method may be adopted to determine the time synchronization accuracy of the network element to be measured with respect to the time source: the testing device takes the sum of the difference between the second time and the first time and the difference between the fourth time and the third time as the total delay of the testing circuit; the testing device takes half of the total time of the line delay as the average delay of the testing line; the testing device takes the difference between the second time and the average delay of the testing line as comparison time; and the testing device takes the difference between the first time and the comparison time as the time synchronization precision of the network element to be tested.
The test device with the same time source as the network is adopted to interact with the network element to be tested in the network, and the time for receiving and sending the message recorded by the test device and the network element to be tested is obtained through the sent request and the received response, so that the time synchronization precision of the network element to be tested relative to the time source can be calculated, manual field test is not needed, and the convenience and the test efficiency for time synchronization test of the network element in the network are improved.
Moreover, the testing device interacts with the equipment to be tested through the time precision testing request and the time precision testing response, so that the equipment to be tested is not affected, and the normal development and the normal operation of the current service are ensured.
The message interaction process in steps S202 to S206 can be represented by fig. 3, for example. Let the first time, the second time, the third time and the fourth time be t1、t2、t3And t4,t1' to correct time, t1' and t2The time difference between them is the time delay caused by the link influence. Therefore, if the times of the network element to be tested and the event source can be kept consistent, t1And t1' equal, i.e. t1And t1The difference between' reflects the time synchronization accuracy of the network element under test.
The average Delay of the line between the network element to be tested and the testing apparatus can be calculated by formula (1), for example:
Delay=(t2-t1)+(t4-t3)/2 (1)
the time synchronization precision syncaccuracy of the network element to be tested relative to the time source can be calculated by the formula (2):
SynAccuracy=t1-t1′=t1-(t2-Delay) (2)
therefore, the average delay of the line can be calculated through the receiving time and the sending time when the test device and the network element to be tested perform message interaction, and the time synchronization precision of the network element to be tested relative to the time source can be calculated by combining the average delay of the line.
The test apparatus may connect a plurality of network elements in the network and perform time synchronization tests, and these tests may be performed at the same time. In order to distinguish the test results of different network elements, the test device and the network element to be tested can distinguish the network element to be tested by adding the identifier in the time precision test request and the time precision test response.
In an embodiment, the time precision test request further includes an identifier of the test apparatus and/or an identifier of a port through which the test apparatus sends the time precision test request, and the time precision test response further includes an identifier of the network element to be tested and/or an identifier of a port through which the network element to be tested sends the time precision test response.
Therefore, the test device can receive a time precision test response returned by the network element to be tested according to the test device identifier and/or the identifier of the port of the time precision test request sent by the test device, that is, after the network element to be tested receives the time precision test request, the network element to be tested can recognize that the request is sent by the test device according to the equipment identifier or the port identifier in the request, and the request aims to request the network element to be tested to record the receiving time and respond to the request.
The testing device can also record the fourth time when the testing device receives the precision test response message according to the network element identifier to be tested and/or the identifier of the port of the time precision test response sent by the network element to be tested, that is, the testing device identifies which network element returns the response according to the network element identifier or the port identifier in the response, so that the testing device can correspond to the time precision test request sent to the network element, and the testing accuracy is ensured.
In addition, the testing device can comprehensively measure the time synchronization precision of each network element in the network. In one embodiment, the testing device obtains the time synchronization performance of each network element to be tested according to the time synchronization precision of each network element to be tested relative to the time source; and the testing device performs time synchronization compensation on each network element to be tested and/or a link between each network element to be tested according to the time synchronization performance between each network element to be tested.
For example, the testing apparatus may obtain, according to the time synchronization accuracy of each network element to be tested with respect to the time source, a plurality of network elements having the largest time synchronization accuracy value, that is, the lowest time synchronization performance in the network, and send an instruction to the network elements to adjust the time or synchronization setting of the network elements. In addition, staff can be informed to maintain the relevant network elements and links.
The testing device can ensure the normal operation of the network under the condition that the time synchronization performance of the network element is degraded. A time synchronization test method according to another embodiment of the present invention is described below with reference to fig. 4.
FIG. 4 is a flowchart illustrating a time synchronization testing method according to another embodiment of the present invention. As shown in fig. 4, the method of this embodiment includes:
step S402, the testing device sends the time synchronization precision of the network element to be tested relative to the time source to the network element to be tested.
Step S404, the network element to be tested obtains the time synchronization precision of the time synchronization source.
The time synchronization source refers to another network element that is directly referenced by the network element and performs time synchronization, and may be, for example, an upstream network element of the network element to be measured in the network.
Step S406, when the difference between the time synchronization accuracy of the network element to be tested and the time synchronization source of the network element to be tested is greater than the preset value, the network element to be tested uses the test apparatus as the time synchronization source.
For example, in the case of a normal network, network element a synchronizes with reference to the time of network element B. The time synchronization precision of the network element A is set as a, and the time synchronization precision of the network element B is set as B. When the difference between a and B is too large, it indicates that the synchronization performance between a and B is poor, and the network or service will be affected. Therefore, the network element a can use the testing device as a temporary time synchronization source, thereby ensuring normal operation of the network and the service.
The testing device may also notify a control center, a maintenance person, etc. to repair the time synchronization performance between a and B, e.g. to adjust the network element performance, to perfect the link quality between a and B, etc. When the fault is repaired, the network element a may take the network element B as the time synchronization source again.
The time synchronization test method provided by the invention can be used for networks needing time synchronization. Especially, the time synchronization requirement of the network with higher requirement on the time synchronization performance, such as the base station return load-bearing network, can be met.
The time synchronization test apparatus of one embodiment of the present invention is described below with reference to fig. 5.
Fig. 5 is a block diagram of an embodiment of the time synchronization test apparatus of the present invention. As shown in fig. 5, the time synchronization test apparatus of this embodiment includes: a test request sending module 51, configured to send a time precision test request to a network element to be tested in a network, where the time precision test request includes a first time recorded by a test device for sending the time precision test request, and the test device and the network have the same time source; the test response receiving module 52 is configured to receive a time precision test response returned by the network element to be tested, where the time precision test response includes a second time recorded by the network element to be tested to receive the time precision test request and a third time recorded by the network element to be tested to send the time precision test response; a receiving time recording module 53, configured to record a fourth time when the testing apparatus receives the precision test response packet; and a time synchronization accuracy determining module 54, configured to determine, according to the first time, the second time, the third time, and the fourth time, the time synchronization accuracy of the network element to be tested with respect to the time source.
The network may be a backhaul bearer network for the base station.
Wherein, the time source of the testing device and the network can be a high-precision clock server with global positioning system time synchronization information.
The time precision test request may further include a test device identifier and/or an identifier of a port through which the test device sends the time precision test request, and the time precision test response may further include an identifier of a network element to be tested and/or an identifier of a port through which the network element to be tested sends the time precision test response. The test response receiving module 52 may be further configured to receive a time precision test response returned by the network element to be tested according to the identifier of the testing apparatus and/or the identifier of the port where the testing apparatus sends the time precision test request. The receiving time recording module 53 may be further configured to record a fourth time when the testing apparatus receives the precision test response message according to the identifier of the network element to be tested and/or the identifier of the port at which the network element to be tested sends the time precision test response.
A time synchronization test apparatus according to another embodiment of the present invention is described below with reference to fig. 6.
Fig. 6 is a block diagram of another embodiment of the time synchronization test apparatus of the present invention. As shown in fig. 6, for this embodiment, the time synchronization accuracy determination module 54 may include: a total delay calculation unit 641 for taking the sum of the difference between the second time and the first time and the difference between the fourth time and the third time as the total delay of the test line; an average delay calculation unit 642 for taking half of the total time of the line delay as the average delay of the test line; a comparison time calculation unit 643 for taking a difference between the second time and the average delay of the test line as a comparison time; and a time synchronization precision calculation unit 644, configured to use the difference between the first time and the comparison time as the time synchronization precision of the network element to be tested.
Further, the test apparatus may further include: a synchronization performance determining module 65, configured to obtain a time synchronization performance of each network element to be tested according to the time synchronization precision of each network element to be tested with respect to the time source; and the compensation module 66 is configured to perform time synchronization compensation on each network element to be detected and/or a link between each network element to be detected according to the time synchronization performance between each network element to be detected.
Further, the test apparatus may further include: and the synchronization source changing module 67 is configured to send the time synchronization precision of the network element to be tested relative to the time source to the network element to be tested, so that when a difference between the time synchronization precision of the network element to be tested and the time synchronization precision of the time synchronization source of the network element to be tested is greater than a preset value, the network element to be tested uses the test apparatus as the time synchronization source.
In the above embodiments, the time synchronization testing apparatus may be a stand-alone device in the network, such as a testing server, or may be a module in other devices or systems, such as a testing module in an existing comprehensive maintenance testing system.
Furthermore, the method according to the invention may also be implemented as a computer program product comprising a computer readable medium having stored thereon a computer program for performing the above-mentioned functions defined in the method of the invention. Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. A time synchronization test method is characterized by comprising the following steps:
the method comprises the steps that a testing device sends a time precision testing request to each network element to be tested in a plurality of network elements to be tested in a network, wherein the time precision testing request comprises first time recorded by the testing device for sending the time precision testing request, and the testing device and the network have the same time source;
the testing device receives a time precision test response returned by the network element to be tested, wherein the time precision test response comprises a second time recorded by the network element to be tested for receiving the time precision test request and a third time for sending the time precision test response;
the testing device records the fourth time when the testing device receives the time precision test response;
the testing device determines the time synchronization precision of the network element to be tested relative to the time source according to the first time, the second time, the third time and the fourth time;
and the test device sends the time synchronization precision of the network element to be tested relative to a time source to each network element to be tested in the plurality of network elements to be tested, so that when the difference value of the time synchronization precision of the network element to be tested and the time synchronization source of the network element to be tested is greater than a preset value, the network element to be tested takes the test device as the time synchronization source.
2. The method of claim 1, wherein the determining, by the testing device, the time synchronization accuracy of the network element under test with respect to the time source according to the first time, the second time, the third time, and the fourth time comprises:
the testing device takes the sum of the difference between the second time and the first time and the difference between the fourth time and the third time as the total delay of the testing circuit;
the testing device takes half of the total time of the line delay as the average delay of the testing line;
the testing device takes the difference between the second time and the average delay of the testing line as comparison time;
and the testing device takes the difference between the first time and the comparison time as the time synchronization precision of the network element to be tested.
3. The method of claim 1,
the time precision test request further comprises a test device identifier and/or an identifier of a port of the test device sending the time precision test request, and the time precision test response further comprises an identifier of a network element to be tested and/or an identifier of a port of the network element to be tested sending the time precision test response;
the step of receiving, by the test apparatus, a time precision test response returned by the network element to be tested includes:
the test device receives a time precision test response returned by the network element to be tested according to the test device identification and/or the identification of the port of the time precision test request sent by the test device;
the recording, by the test device, a fourth time when the test device receives the precision test response packet includes:
and the testing device records the fourth time for receiving the precision test response message by the testing device according to the identification of the network element to be tested and/or the identification of the port for sending the time precision test response by the network element to be tested.
4. The method of claim 1, further comprising:
the testing device obtains the time synchronization performance of each network element to be tested according to the time synchronization precision of each network element to be tested relative to the time source;
and the testing device performs time synchronization compensation on each network element to be tested and/or a link between each network element to be tested according to the time synchronization performance between each network element to be tested.
5. The method according to any one of claims 1 to 4,
the network is a base station backhaul bearer network, and/or,
the time source of the testing device and the network is a high-precision clock server with global positioning system time synchronization information.
6. A time synchronization test apparatus, comprising:
a test request sending module, configured to send a time precision test request to each network element to be tested in a plurality of network elements to be tested in a network, where the time precision test request includes a first time recorded by a test device for sending the time precision test request, and the test device and the network have the same time source;
a test response receiving module, configured to receive a time precision test response returned by the network element to be tested, where the time precision test response includes a second time recorded by the network element to be tested to receive the time precision test request and a third time recorded by the network element to be tested to send the time precision test response;
the receiving time recording module is used for recording the fourth time when the testing device receives the time precision testing response;
a time synchronization precision determining module, configured to determine, according to the first time, the second time, the third time, and the fourth time, time synchronization precision of the network element to be tested with respect to the time source;
and the synchronization source changing module is used for sending the time synchronization precision of the network element to be tested relative to a time source to each network element to be tested in the plurality of network elements to be tested, so that when the difference value of the time synchronization precision of the network element to be tested and the time synchronization source of the network element to be tested is greater than a preset value, the network element to be tested takes the test device as the time synchronization source.
7. The apparatus of claim 6, wherein the time synchronization accuracy determination module comprises:
a total delay calculation unit for taking the sum of the difference between the second time and the first time and the difference between the fourth time and the third time as the total delay of the test line;
an average delay calculation unit for taking half of the total time of the line delay as the average delay of the test line;
a comparison time calculation unit for taking a difference between the second time and the average delay of the test line as a comparison time;
and the time synchronization precision calculation unit is used for taking the difference between the first time and the comparison time as the time synchronization precision of the network element to be detected.
8. The apparatus of claim 6,
the time precision test request further comprises a test device identifier and/or an identifier of a port of the test device sending the time precision test request, and the time precision test response further comprises an identifier of a network element to be tested and/or an identifier of a port of the network element to be tested sending the time precision test response;
the test response receiving module is further configured to receive a time precision test response returned by the network element to be tested according to the test device identifier and/or the identifier of the port through which the test device sends the time precision test request;
the receiving time recording module is further configured to record a fourth time when the testing device receives the precision test response message according to the identifier of the network element to be tested and/or the identifier of the port through which the network element to be tested sends the time precision test response.
9. The apparatus of claim 6, further comprising:
the synchronization performance determining module is used for obtaining the time synchronization performance of each network element to be tested according to the time synchronization precision of each network element to be tested relative to the time source;
and the compensation module is used for performing time synchronization compensation on each network element to be detected and/or a link between each network element to be detected according to the time synchronization performance between each network element to be detected.
10. The apparatus according to any one of claims 6-9,
the network is a base station backhaul bearer network, and/or,
the time source of the testing device and the network is a high-precision clock server with global positioning system time synchronization information.
CN201610956102.XA 2016-10-28 2016-10-28 Time synchronization test method and device Active CN108011773B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610956102.XA CN108011773B (en) 2016-10-28 2016-10-28 Time synchronization test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610956102.XA CN108011773B (en) 2016-10-28 2016-10-28 Time synchronization test method and device

Publications (2)

Publication Number Publication Date
CN108011773A CN108011773A (en) 2018-05-08
CN108011773B true CN108011773B (en) 2020-08-14

Family

ID=62048339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610956102.XA Active CN108011773B (en) 2016-10-28 2016-10-28 Time synchronization test method and device

Country Status (1)

Country Link
CN (1) CN108011773B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110058997A (en) * 2019-03-12 2019-07-26 平安普惠企业管理有限公司 Application response time test method, device, computer equipment and storage medium
CN110289930A (en) * 2019-06-27 2019-09-27 深圳市元征科技股份有限公司 A kind of embedded device method for synchronizing time, system and relevant device

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007069041A2 (en) * 2005-12-15 2007-06-21 Abb Technology Ltd. Using travel-time as means for improving the accuracy of simple network time protocol
CN101359238A (en) * 2008-09-02 2009-02-04 中兴通讯股份有限公司 Time synchronization method and system for multi-core system
CN101448314A (en) * 2008-12-18 2009-06-03 华为技术有限公司 Method for realizing time synchronization between base stations as well as system and communication terminal therefor
CN101515831A (en) * 2008-02-22 2009-08-26 杭州华三通信技术有限公司 Method, system and device for time synchronous transfer
CN101997669A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Time correction method and system of time synchronization protocol beared by optical transport network
CN102142953A (en) * 2010-06-03 2011-08-03 华为技术有限公司 Time synchronization method, network element and system
CN102769906A (en) * 2012-05-29 2012-11-07 中兴通讯股份有限公司 Home enhanced node B synchronization method and home enhanced node B
CN106027190A (en) * 2016-05-23 2016-10-12 北京邮电大学 Clock synchronization method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007069041A2 (en) * 2005-12-15 2007-06-21 Abb Technology Ltd. Using travel-time as means for improving the accuracy of simple network time protocol
CN101331736A (en) * 2005-12-15 2008-12-24 Abb技术有限公司 Using travel-time as means for improving the accuracy of simple network time protocol
CN101515831A (en) * 2008-02-22 2009-08-26 杭州华三通信技术有限公司 Method, system and device for time synchronous transfer
CN101359238A (en) * 2008-09-02 2009-02-04 中兴通讯股份有限公司 Time synchronization method and system for multi-core system
CN101448314A (en) * 2008-12-18 2009-06-03 华为技术有限公司 Method for realizing time synchronization between base stations as well as system and communication terminal therefor
CN101997669A (en) * 2009-08-14 2011-03-30 中兴通讯股份有限公司 Time correction method and system of time synchronization protocol beared by optical transport network
CN102142953A (en) * 2010-06-03 2011-08-03 华为技术有限公司 Time synchronization method, network element and system
CN102769906A (en) * 2012-05-29 2012-11-07 中兴通讯股份有限公司 Home enhanced node B synchronization method and home enhanced node B
CN106027190A (en) * 2016-05-23 2016-10-12 北京邮电大学 Clock synchronization method and device

Also Published As

Publication number Publication date
CN108011773A (en) 2018-05-08

Similar Documents

Publication Publication Date Title
US6628642B1 (en) Synchronization deviation detection
US10075253B2 (en) Methods and nodes for handling delay information in synchronisation packets
CN105122868B (en) The performance monitoring that WLAN shunts in a wireless cellular network
WO2015158178A1 (en) System, method and apparatus for automatically testing otn protection switching
EP2503816B1 (en) Method and apparatus for monitoring service quality
CN108011773B (en) Time synchronization test method and device
CN103023815B (en) Aggregation link load sharing method and device
CN112265570B (en) Train positioning method and system
US20230232347A1 (en) Data processing method and apparatus therefor
US8861964B2 (en) Methods and arrangements in optical network
KR20160042986A (en) Link performance test method and device, logical processor and network processor
CN112104432B (en) Time verification method, system, base station and bearing network in mobile communication network
CN106549822B (en) Method and device for testing response time of time synchronization message and test equipment
CN101945014A (en) Method and device for counting rate
CN103906220A (en) Server timing method and system, and GPS cloud management server
US8798101B2 (en) Method and apparatus for measuring switching time of ethernet ring network
CN110346754A (en) A kind of positioning moment acquisition methods and device
WO2014040505A1 (en) Test file acquisition method and device, test terminal and server
WO2013174191A1 (en) Reconfiguration record measurement test method and network side
CN111654350A (en) Method for detecting frequency deviation of communication transmission network element equipment
CN102377661A (en) Blade server and method for building shortest blade transmission path in blade server
US20240056346A1 (en) Mobile network synchronization domain anomaly identification and correlation
Lin et al. A 5G Synchronous Optical Networking Management System
WO2023241348A1 (en) Method and apparatus for determining link asymmetry delay
US20220394643A1 (en) Network synchronization system and synchronization method for network system

Legal Events

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