CN112838939B - Synchronous network fault judgment method and equipment - Google Patents

Synchronous network fault judgment method and equipment Download PDF

Info

Publication number
CN112838939B
CN112838939B CN201911165431.2A CN201911165431A CN112838939B CN 112838939 B CN112838939 B CN 112838939B CN 201911165431 A CN201911165431 A CN 201911165431A CN 112838939 B CN112838939 B CN 112838939B
Authority
CN
China
Prior art keywords
node
nodes
time
branch
link
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
CN201911165431.2A
Other languages
Chinese (zh)
Other versions
CN112838939A (en
Inventor
韩柳燕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201911165431.2A priority Critical patent/CN112838939B/en
Publication of CN112838939A publication Critical patent/CN112838939A/en
Application granted granted Critical
Publication of CN112838939B publication Critical patent/CN112838939B/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
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Synchronisation In Digital Transmission Systems (AREA)
  • Radio Relay Systems (AREA)

Abstract

The invention provides a method and equipment for judging synchronous network faults, which belong to the technical field of communication, wherein the method comprises the following steps: receiving a difference reported by a node in a time synchronization network, wherein the difference is a difference between first time and second time, the first time is time acquired by the node through the time synchronization network, and the second time is time acquired by the node or a base station connected with the node through a satellite receiving module; and judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network. The invention can not only quickly locate the fault, but also accurately judge whether the fault is caused by the time synchronization network fault or the satellite receiving module fault for receiving the time.

Description

Synchronous network fault judgment method and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a synchronization network fault.
Background
Referring to the schematic diagram of the high-Precision Time synchronization network shown in fig. 1, in the high-Precision Time synchronization network, precision Time Protocol (PTP) is used to perform 1588 Time synchronization of nodes. After a synchronous link is established between a Master Clock (GM) node and a Boundary Clock (BC) node, the GM node issues synchronous time to the BC node, and each BC node completes time synchronization step by step in a Master-Slave (Master-Slave) type synchronous relation. The terminal base station equipped with a Global Positioning System (GPS) receiving device can also receive GPS time synchronization information to complete time synchronization.
The base station acquires a signal of a high-precision time synchronization network or acquires a GPS signal, and one of the signals can be selected as a current tracking time source by setting the priority of the signal and the GPS signal. When a node of a high-precision time synchronization network connected with a base station fails or the base station receives an erroneous GPS signal, the high-precision time synchronization network is negatively affected, and the normal operation of services in the system is finally affected. Therefore, it is very important to detect the fault of the synchronous network quickly and accurately.
At present, the fault detection of the time synchronization network is mostly point-by-point detection by network management personnel. The fault location is carried out manually, the management personnel is required to test and troubleshoot in a single node mode, time and labor are wasted in the process due to the fact that the number of devices is large, and serious consequences can be caused even if the operation is careless or the judgment is wrong.
The prior art provides a method capable of automatically detecting a synchronous link fault, which is characterized in that a reference node is set to acquire reference time, and then a node to be detected judges whether a synchronous link between the node and a GM node has a fault or not by utilizing all the reference time and the synchronous time. In order to ensure the accuracy of the reference node time, difference values need to be calculated pairwise, and the reference time is considered to be accurate when all the difference values are smaller than a preset threshold value, which is complex and time-consuming. In addition, the method cannot detect whether the GPS time synchronization information of the base station is erroneous.
Disclosure of Invention
In view of the above, the present invention provides a method and a device for judging a synchronization network fault, which are used to solve the problem that the current method for detecting a fault in a time synchronization network is complex and time-consuming.
In order to solve the above technical problem, in a first aspect, the present invention provides a method for determining a synchronous network fault, including:
receiving a difference value reported by a node in a time synchronization network, wherein the difference value is a difference value between first time and second time, the first time is the time acquired by the node through the time synchronization network, and the second time is the time acquired by the node or a base station connected with the node through a satellite receiving module;
and judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network.
Optionally, the step of performing fault judgment includes at least one of the following:
carrying out fault positioning;
and judging the fault reason.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a branch parent node, at least two branch links are tracked under each branch parent node, and each branch link starts from a child node of the branch parent node to a next branch parent node or an end node;
the step of judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relationship of each node in the time synchronization network comprises the following steps:
and synthesizing the difference values of all nodes in the branch link to judge faults.
Optionally, the step of synthesizing the difference values of the nodes in the branch link to perform fault judgment includes:
and synthesizing the difference values of all target nodes in the branch link to judge faults, wherein the target nodes are the nodes receiving the difference values in the branch link.
Optionally, the step of synthesizing the difference values of the nodes in the branch link to perform fault judgment includes:
starting from the branch link where the end node is located, carrying out fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link until a fault judgment result is obtained.
Optionally, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link includes:
if the difference value of only the last node on the branch link is larger than a preset threshold value, judging that at least one of the following nodes fails:
a link between the last node and a parent node of the last node;
the satellite receiving module is used for receiving time on the last node;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
Optionally, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link includes:
if the difference value of the first node on the branch link is larger than a preset threshold value, but the difference value of the second node is smaller than or equal to the preset threshold value, judging that at least one of the following faults occurs:
a satellite receiving module on the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
Optionally, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link includes:
if the difference values from a third node to a last node on the branch link are all larger than a preset threshold value, but the difference value of a father node of the third node is smaller than or equal to the preset threshold value, determining that a link between the third node and the father node of the third node or a network synchronization function module of the third node fails;
the network synchronization function module is used for performing time synchronization through the time synchronization network;
the third node is other nodes except the first node and the last node on the branch link.
Optionally, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link includes:
if the branch link comprises at least two nodes, the difference values of the at least two nodes are all larger than a preset threshold value, and the difference values of all nodes on brother links of the branch link are not all larger than the preset threshold value, judging that a link between the branch link and a forked father node tracked by the branch link or a network synchronization function module of a first node on the branch link fails;
the network synchronization function module is used for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link includes:
if the difference values of all the nodes on the branch link are greater than a preset threshold value, and the difference values of all the nodes on the brother link of the branch link are greater than the preset threshold value, fault judgment is carried out according to the difference values of the nodes in the upper-layer branch link of the branch link;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, before the step of performing fault judgment according to the received difference values of the plurality of nodes and the tracking relationship of synchronization of each node in the time synchronization network, the method further includes:
and acquiring the synchronous tracking relation of each node by inquiring the port state of the node.
In a second aspect, the present invention further provides a method for determining a synchronization network fault, which is applied to a node in a time synchronization network, and includes:
reporting a difference value, wherein the difference value is a difference value between first time and second time, the first time is time acquired by the node through the time synchronization network, and the second time is time acquired by the node or a base station connected with the node through a satellite receiving module.
In a third aspect, the present invention further provides a management apparatus, including:
a receiving module, configured to receive a difference reported by a node in a time synchronization network, where the difference is a difference between a first time and a second time, the first time is a time obtained by the node through the time synchronization network, and the second time is a time obtained by the node or a base station connected to the node through a satellite receiving module;
and the judging module is used for judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relationship of each node in the time synchronization network.
Optionally, the determining module includes at least one of:
the fault positioning submodule is used for positioning faults;
and the reason judgment submodule is used for judging the fault reason.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a bifurcation parent node, at least two branch links are tracked under each bifurcation parent node, and each branch link starts from a child node of the bifurcation parent node to a next bifurcation parent node or an end node and ends;
the judging module comprises:
and the fault judgment submodule is used for carrying out fault judgment by integrating the difference values of all nodes in the branch link.
Optionally, the fault determining sub-module is configured to perform fault determination by synthesizing difference values of all target nodes in the branch link, where the target node is a node in the branch link that receives the difference values.
Optionally, the fault determining sub-module includes:
and the fault judgment unit is used for starting from the branch link where the tail end node is located, and performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link until a fault judgment result is obtained.
Optionally, the fault determining unit includes:
the first judging subunit is configured to, if only the difference value of the last node on the branch link is greater than a preset threshold, judge that at least one of the following nodes fails:
a link between the last node and a parent node of the last node;
the satellite receiving module is used for receiving time on the last node;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
Optionally, the fault determining unit includes:
a second determining subunit, configured to determine that at least one of the following faults occurs if the difference between the first nodes on the branch link is greater than a preset threshold, but the difference between the second nodes is less than or equal to the preset threshold:
a satellite receiving module on the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
Optionally, the fault determining unit includes:
a third determining subunit, configured to determine, if, on the branch link, difference values from a third node to a last node are greater than a preset threshold, but the difference value of a parent node of the third node is less than or equal to the preset threshold, a link between the third node and the parent node of the third node, or a network synchronization function module of the third node fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
Optionally, the fault determining unit includes:
a fourth determining subunit, configured to determine that a link between the branch link and a branch parent node tracked by the branch link or a network synchronization function module of a first node on the branch link fails if the branch link includes at least two nodes, difference values of the at least two nodes are greater than a preset threshold, and difference values of all nodes on a sibling link of the branch link are not all greater than the preset threshold;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the fault determining unit includes:
a fifth judging subunit, configured to perform fault judgment according to the difference values of nodes in an upper-layer branch link of the branch link if the difference values of all the nodes in the branch link are greater than a preset threshold and the difference values of all the nodes in a brother link of the branch link are greater than a preset threshold;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the management and control device further includes:
and the acquisition module is used for acquiring the synchronous tracking relation of each node by inquiring the port state of the node.
In a fourth aspect, the present invention further provides a node of a time synchronization network, including:
and the reporting module is used for reporting a difference value, wherein the difference value is a difference value between first time and second time, the first time is time acquired by the node through the time synchronization network, and the second time is time acquired by the node or a base station connected with the node through a satellite receiving module.
In a fifth aspect, the present invention further provides a management and control apparatus, including: a transceiver and a processor;
the transceiver is configured to receive a difference reported by a node in a time synchronization network, where the difference is a difference between first time and second time, the first time is obtained by the node through the time synchronization network, and the second time is obtained by the node or a base station connected to the node through a satellite receiving module;
and the processor is used for judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network.
Optionally, the processor is configured to perform fault location and/or determine a fault cause.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a branch parent node, at least two branch links are tracked under each branch parent node, and each branch link starts from a child node of the branch parent node to a next branch parent node or an end node;
and the processor is used for integrating the difference values of all nodes in the branch link to judge the fault.
Optionally, the processor is configured to synthesize difference values of all target nodes in the branch link to perform fault determination, where the target node is a node in the branch link that receives the difference values.
Optionally, the processor is configured to perform fault judgment layer by layer according to a difference value of nodes in the branch links from a branch link where the end node is located to an upper branch link from a lower branch link until a fault judgment result is obtained.
Optionally, the processor is configured to determine that at least one of the following nodes fails if only the difference value of the last node on the branch link is greater than a preset threshold:
a link between the last node and a parent node of the last node;
the satellite receiving module is used for receiving time on the last node;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
Optionally, the processor is configured to determine that at least one of the following faults occurs if the difference between the first nodes on the branch link is greater than a preset threshold, but the difference between the second nodes is less than or equal to the preset threshold:
a satellite receiving module on the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
Optionally, the processor is configured to determine, if, on the branch link, differences from a third node to a last node are all greater than a preset threshold, but a difference of a parent node of the third node is less than or equal to the preset threshold, a link between the third node and the parent node of the third node, or a network synchronization function module of the third node fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
Optionally, the processor is configured to determine that a link between the branch link and a branch parent node tracked by the branch link or a network synchronization function module of a first node on the branch link fails if the branch link includes at least two nodes, difference values of the at least two nodes are greater than a preset threshold, and difference values of nodes on sibling links of the branch link are not all greater than the preset threshold;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the processor is configured to perform fault judgment according to the difference between nodes in an upper-layer branch link of the branch link if the difference between all nodes in the branch link is greater than a preset threshold and the difference between all nodes in a brother link of the branch link is greater than a preset threshold;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the processor is further configured to obtain a tracking relationship of synchronization of the nodes by querying a node port state.
In a sixth aspect, the present invention further provides a node of a time synchronization network, including: a transceiver and a processor;
the transceiver is configured to report a difference value, where the difference value is a difference value between a first time and a second time, the first time is obtained by the node through the time synchronization network, and the second time is obtained by the node or a base station connected to the node through a satellite receiving module.
In a seventh aspect, the present invention further provides a management device, including a memory, a processor, and a computer program stored in the memory and executable on the processor; the processor implements the steps of any one of the synchronous network failure determination methods provided by the first aspect when executing the computer program.
In an eighth aspect, the present invention further provides a node of a time synchronization network, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor; the processor implements the steps in the synchronous network failure determination method provided by the second aspect when executing the computer program.
In a ninth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, realizes the steps of any one of the synchronous network failure determination methods described above.
The technical scheme of the invention has the following beneficial effects:
in the embodiment of the invention, the fault judgment can be carried out based on the difference values reported by a plurality of nodes in the time synchronization network, so that the fault positioning can be carried out quickly, and the reason that the fault occurs can be accurately judged to be the time synchronization network fault or the satellite receiving module fault for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
Drawings
FIG. 1 is a schematic diagram of a high-precision time synchronization network;
fig. 2 is a schematic flowchart of a synchronous network fault determination method according to a first embodiment of the present invention;
FIG. 3 is a diagram of a network architecture suitable for use with the embodiment of the present invention;
FIG. 4 is a diagram illustrating a tree relationship table according to an embodiment of the present invention;
FIG. 5 is a schematic diagram illustrating differences between nodes on a branch link according to an embodiment of the present invention;
FIG. 6 is a second schematic diagram illustrating differences between nodes on a branch link according to an embodiment of the present invention;
FIG. 7 is a third schematic diagram illustrating differences between nodes on a branch link according to an embodiment of the present invention;
FIG. 8 is a schematic diagram illustrating differences between nodes in a branch link and its sibling links according to an embodiment of the present invention;
FIG. 9 is a schematic diagram illustrating differences between nodes in a branch link and its sibling links, and an upper branch link (including two sibling links) according to an embodiment of the present invention;
fig. 10 is a flowchart illustrating a synchronous network fault determining method according to a second embodiment of the present invention;
fig. 11 is a schematic structural diagram of a management device in a third embodiment of the present invention;
fig. 12 is a schematic structural diagram of a node of a time synchronization network according to a fourth embodiment of the present invention;
fig. 13 is a schematic structural diagram of a management device according to a fifth embodiment of the present invention;
fig. 14 is a schematic structural diagram of a node of a time synchronization network according to a sixth embodiment of the present invention;
fig. 15 is a schematic structural diagram of a management device in a seventh embodiment of the present invention;
fig. 16 is a schematic structural diagram of a node of a time synchronization network according to an eighth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the drawings of the embodiments of the present invention. It is to be understood that the embodiments described are only a few embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the described embodiments of the invention, are within the scope of the invention.
Referring to fig. 2, fig. 2 is a schematic flowchart of a method for determining a synchronous network fault according to an embodiment of the present invention, including the following steps:
step 21: receiving a difference reported by a node in a time synchronization network, wherein the difference is a difference between first time and second time, the first time is time acquired by the node through the time synchronization network, and the second time is time acquired by the node or a base station connected with the node through a satellite receiving module;
step 22: and judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node of the time synchronization network.
In the embodiment of the present invention, the Satellite receiving module may specifically be a Global Navigation Satellite System (GNSS) receiving module, where the GNSS includes a beidou System, a GPS, and the like, and is not limited herein.
In addition, if a satellite receiving module which can be used for receiving time is arranged on the node, the second time is the time acquired by the node through the satellite receiving module. If the node is not provided with a satellite receiving module which can be used for receiving time, but a base station connected with the node is provided with a satellite receiving module which can be used for receiving time, the second time is the time acquired by the base station connected with the node through the satellite receiving module, and the base station can send the second time to the node after acquiring the second time. If the node is not provided with a satellite receiving module which can be used for receiving time, and a base station connected with the node is also not provided with a satellite receiving module which can be used for receiving time, the node does not report the difference value.
Referring to fig. 3, fig. 3 is a schematic diagram of a network architecture to which the embodiment of the invention is applicable. Each node in the time synchronization network reports the difference to a control device running with a control system, and then the control device (control system) judges the fault according to the received difference and the synchronous tracking relation of each node of the time synchronization network.
In the embodiment of the invention, the fault judgment can be carried out based on the difference values reported by a plurality of nodes in the time synchronization network, so that the fault positioning can be carried out quickly, and the reason of the fault can be accurately judged to be the time synchronization network fault or the satellite receiving module fault for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
The above-described synchronous network failure determination method is exemplified below.
Optionally, the step of performing fault judgment includes at least one of:
carrying out fault positioning;
and judging the fault reason.
In the embodiment of the invention, fault positioning is carried out, namely, the position of the fault is judged, and the fault reason is judged, namely, whether the time synchronization network fault exists or the satellite receiving module fault for receiving time is judged.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a branch parent node, at least two branch links are tracked under each branch parent node, and each branch link starts from a child node of the branch parent node to a next branch parent node or an end node; it should be noted that, if the child node of the branch parent node tracked by the branch link is a branch parent node or an end node, the branch link only includes the child node of the branch parent node tracked by the branch link or the end node;
the step of judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relationship of each node in the time synchronization network comprises the following steps:
and synthesizing the difference value of each node in the branch link to judge the fault.
That is, in the process of performing fault determination, instead of performing fault determination based on the difference between nodes independently, the fault determination is performed by integrating the difference between each node in the branch link with the branch link as a unit.
Specifically, if the difference of the nodes in only one branch link in the tree relationship table is greater than the preset threshold, the fault is determined only according to the difference of each node in the branch link. If the difference value of the nodes in the branch links in the tree relation table is larger than a preset threshold value, the fault judgment is needed to be carried out according to the difference value condition of each node in the branch links.
Optionally, before the step of performing fault judgment according to the received difference values of the plurality of nodes and the tracking relationship of synchronization of each node in the time synchronization network, the method further includes:
and acquiring the synchronous tracking relation of each node by inquiring the port state of the node.
Specifically, the management and control device (management and control system) acquires the synchronous tracking relationship of each node by querying whether the port state of each node is Master (Master) or Slave (Slave). In addition, the management and control device (management and control system) may further obtain the physical topology of the entire time synchronization network by querying whether the port state of each node is Master (Master) or Slave (Slave), and the tracking relationship of synchronization of each node is associated with the physical topology of the entire time synchronization network.
After acquiring the tracking relationship of each node synchronization in the time synchronization network, the management and control device (management and control system) maintains a tree relationship table for representing the tracking relationship of each node synchronization in the time synchronization network.
Referring to fig. 4, fig. 4 is an exemplary diagram of the tree relation table. In the tree relationship table, the tracked adjacent superior node is called a parent node, and the called child node of the parent node is tracked, for example, node 1 is the parent node of node 2, and node 2 is the child node of node 1. Node 1 has two child nodes, node 1 and node 3, and node 6 has two child nodes, node 7 and node 8, so node 1 and node 6 are both forked parents. A bifurcation parent node has several child nodes, several branch links are traced under the bifurcation parent node, for example, two branch links-branch link 1 and branch link 2 are traced under the bifurcation parent node 1, and two branch links-branch link 3 and branch link 4 are traced under the bifurcation parent node 6. Each branch link begins at the child node of the diverging parent node it tracks to the next diverging parent node or end node. For example, a branch link 1 begins at the child node 2 of its tracked bifurcated parent node 1 and ends at the next bifurcated parent node 6, and a branch link 3 begins at the child node 7 of its tracked bifurcated parent node 6 and ends at the end node 11. Multiple links of the same bifurcated parent node are tracked as sibling links, e.g., branch link 1 and branch link 2 are sibling links, and branch link 3 and branch link 4 are sibling links.
Further optionally, the step of performing fault judgment by synthesizing the difference values of the nodes in the branch link includes:
and synthesizing the difference values of all target nodes in the branch link to judge the fault, wherein the target nodes are the nodes receiving the difference values in the branch link.
That is, if the difference reported by a certain node is not received, the node is ignored, that is, when the node does not exist, the fault judgment is directly performed according to the difference of all the nodes left in the tree relation table. Of course, if the difference reported by the node (the node which does not receive the difference currently) is received when the next failure determination is performed, the node cannot be ignored, and the node is taken as the target node.
As a preferred implementation manner of the embodiment of the present invention, the step of performing fault judgment by integrating the difference values of the nodes in the branch link includes:
starting from the branch link where the end node is located, carrying out fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link until a fault judgment result is obtained.
Generally, if a time synchronization network fault occurs in an upper branch link, the difference value of each node in a lower branch link is necessarily greater than a preset threshold value; if the difference value of the nodes in the lower branch link is not larger than the preset threshold value, the fault in the time synchronization network does not exist in the upper branch link, and if the nodes with the difference value larger than the preset threshold value exist, the fault of the satellite receiving module for receiving the time can be basically judged. Therefore, in the embodiment of the invention, the fault reasons are searched layer by layer from the lower layer to the upper layer from the branch link where the end node is located, so that not only the position (fault location) of the fault can be determined, but also the fault reason can be determined.
In the embodiment of the present invention, after receiving the difference reported by the nodes in the time synchronization network, the management and control device (management and control system) compares the received difference with a preset difference threshold (that is, a preset threshold), and updates the tree relationship table maintained therein, that is, marks whether the difference reported by each node is greater than the preset threshold in the tree relationship table. Specifically, the node whose reported difference is greater than the preset threshold may be marked as "excessive difference", and the node whose reported difference is not greater than the preset threshold may be marked as "not large difference".
For example, the failure judgment result is obtained when failure judgment is performed layer by layer according to the difference value of the nodes in the branch links from the branch link where the end node is located to the upper branch link from the lower branch link.
In case 1, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link includes:
if the difference value of only the last node on the branch link is larger than a preset threshold value, judging that at least one of the following nodes has a fault:
a link between the last node and a parent node of the last node; that is, it may be that in a time-synchronized network, the link between the last node on the tree branch link and its parent node fails.
A satellite receiving module on the last node for receiving time; specifically, if the second time used by the last node to calculate the difference is the time received by the satellite receiving module at the last node, it is likely that the satellite receiving module at the last node has failed.
A network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time; in particular, if the second time used by the last node to calculate the difference is sent to the last node by the base station connected to the last node, it is also possible that the satellite receiving module on the base station used to receive the time fails.
When the link between the last node and the base station, that is, the base station transmits the time received by the satellite receiving module to the last node, the link between the base station and the last node fails, so that a second time transmitted to the last node is wrong, and a difference between the first time and the second time is greater than a preset threshold.
For example, as shown in fig. 5, a branch link includes four nodes, which are node BC1, node BC2, node BC3 and node BC4. If only the difference value of the node BC4 is greater than the preset threshold value delta threshold And the second time that node BC4 used to calculate the difference is received by the satellite receiving module at node BC4, then it is determined that the link between node BC3 and node BC4 or node BC4 has failed. Specifically, the reason why the node BC4 fails may be that the network synchronization function module for performing time synchronization by the time synchronization network fails, or that the satellite receiving module for receiving time fails. In addition, if only the difference value of the node BC4 is greater than the preset threshold value Δ threshold And the second time that node BC4 uses to calculate the difference is sent to node BC4 by the base station connected to node BC4, it is determined that the link between node BC3 and node BC4, the base station connected to node BC4, or the link between node BC4 and the base station is down. Specifically, the failure of the base station connected to the node BC4 may be a failure of a satellite receiving module on the base station for receiving time.
In case 2, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link includes:
if the difference value of the first node on the branch link is larger than a preset threshold value, but the difference value of the second node is smaller than or equal to the preset threshold value, judging that at least one of the following faults occurs:
a satellite receiving module on the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
In this embodiment of the present invention, the number of the first nodes may be one or multiple.
For example, as shown in fig. 6, a branch link includes four nodes, which are node BC1, node BC2, node BC3 and node BC4. If only the difference value of the node BC2 is greater than the preset threshold value delta threshold And the second time used by the node BC2 to calculate the difference is received by the satellite receiving module at the node BC2, it is determined that the satellite receiving module at the node BC2 for receiving the time has failed. In addition, if only the difference value of the node BC2 is greater than the preset threshold value Δ threshold And the second time used by the node BC2 to calculate the difference is sent to the node BC2 by the base station connected to the node BC2, it is determined that the base station connected to the node BC2 or the link between the node BC2 and the base station has failed. Specifically, the failure of the base station connected to the node BC2 may be a failure of a satellite receiving module for receiving time at the base station.
In case 3, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link includes:
if the difference values from a third node to a last node on the branch link are all larger than a preset threshold value, but the difference value of a father node of the third node is smaller than or equal to the preset threshold value, determining that a link between the third node and the father node of the third node or a network synchronization function module of the third node fails;
the network synchronization function module is used for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
In this embodiment of the present invention, the third node is another node on the branch link except for the first node and the last node. Therefore, the difference value of at least two continuous nodes on the branch link is greater than the preset threshold, and the probability that the two or more continuous nodes have a fault in the aspect of the satellite receiving module (specifically, the GPS) is lower, so that the fault in the aspect of the time synchronization network is determined.
For example, as shown in fig. 7, a branch link includes four nodes, which are node BC1, node BC2, node BC3, and node BC4. If the difference values from the node BC2 to the last node BC4 on the branch link are all larger than the preset threshold value delta threshold Then it is determined that a failure has occurred in the link between node BC1 and node BC2, or in the network synchronization function module on node BC2 used for time synchronization over the time synchronization network.
In case 4, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link includes:
if the branch link comprises at least two nodes, the difference values of the at least two nodes are all larger than a preset threshold value, and the difference values of all nodes on brother links of the branch link are not all larger than the preset threshold value, judging that a link between the branch link and a forked father node tracked by the branch link or a network synchronization function module of a first node on the branch link fails;
the network synchronization function module is used for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
In the embodiment of the invention, if the difference values of all nodes on a branch link are greater than the preset threshold value, the branch link cannot be judged to be in fault, or the upper-layer branch link cannot be judged to be in fault. In general, if a time synchronization network failure occurs in an upper tree branch link, the difference values of all nodes in the lower tree branch link are necessarily greater than a preset threshold. Therefore, whether the upper tree branch link fails or the branch link itself fails can be determined by determining whether the difference between the nodes on the brother links of the branch link is greater than a preset threshold.
For example, as shown in fig. 8, a branch link includes four nodes, which are node BC1, node BC2, node BC3, and node BC4. If the difference values from the node BC1 to the last node BC4 on the branch link are all larger than the preset threshold value delta threshold That is, the difference value of all nodes on the branch link is greater than the preset threshold value delta threshold Then, it needs to be determined whether the difference values of all nodes on the sibling links of the branch link are all greater than a preset threshold. The branch link only has one brother link which comprises four nodes, namely a node BC6, a node BC7, a node BC8 and a node BC9, and only the difference value of the node BC7 is larger than a preset threshold delta threshold That is, the difference values of the nodes on the brother links of the branch link are not all greater than the preset threshold value delta threshold It is noted that, instead of a failure in the time synchronization network occurring in the upper tree branch link, a failure occurs in a link between the tree branch link and the upper tree branch link, or a failure occurs in the network synchronization function module of the first node on the tree branch link.
In addition, if there is only one node on the branch link and the difference value of the node is greater than the preset threshold, then refer to case 1 above.
In case 5, the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link includes:
if the difference values of all the nodes on the branch link are larger than a preset threshold value, and the difference values of all the nodes on the brother link of the branch link are larger than the preset threshold value, fault judgment is carried out according to the difference values of the nodes in the upper layer branch link of the branch link;
two or more branch links of the same forked parent node are tracked as sibling links.
In the embodiment of the present invention, please refer to cases 1 to 5 above in the process of performing fault determination according to the difference between nodes in upper-layer branch links of the branch links. That is, if the fault determination result can be obtained according to the branch link of the upper layer, or the fault determination result can be obtained according to the branch link of the upper layer in combination with the brother link thereof, the determination process is ended, otherwise, if the difference values of all the nodes in each brother link of the upper layer are greater than the preset threshold value Δ threshold Then, the upper tree branch and link need to be checked again until a fault judgment result is obtained. For example, as shown in fig. 9, if the difference value of each node (node BC12, node BC11, node BC10 and node BC 5) in the upper branch link is greater than the preset threshold Δ threshold And the difference value of each node (node BC14, node BC15 and node BC 16) in the brother link is greater than the preset threshold value delta threshold Then the upper branch link needs to be checked continuously.
Referring to fig. 10, fig. 10 is a schematic flowchart of a method for determining a synchronization network fault according to a second embodiment of the present invention, where the method is applied to a node in a time synchronization network, and includes the following steps:
step 101: and reporting a difference value by a node in the time synchronization network, wherein the difference value is a difference value between first time and second time, the first time is the time acquired by the node through the time synchronization network, and the second time is the time acquired by the node or a base station connected with the node through a satellite receiving module.
In the embodiment of the present invention, a node in a time synchronization network makes a difference between time acquired through the time synchronization network and time acquired through another method (specifically, time received through a satellite receiving module), and reports the obtained difference to a management and control device (management and control system). Therefore, the management and control device (management and control system) can judge the fault based on the difference reported by the nodes in the time synchronization network, so that the fault can be quickly positioned, and the reason that the fault occurs can be accurately judged to be the fault of the time synchronization network or the fault of the satellite receiving module for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
Specifically, the node in the time synchronization network may directly report the difference to the control device (control system), or may indirectly report the difference to the control device (control system). The difference value is reported to a management and control device (management and control system) indirectly, for example, the difference value may be transmitted to an adjacent transmission device, and then reported to the management and control device (management and control system) by the adjacent transmission device.
The embodiments of the present invention provide technical solutions corresponding to the above embodiments and having the same inventive concept, and can achieve the same technical effects.
Referring to fig. 11, fig. 11 is a schematic structural diagram of a management apparatus according to a third embodiment of the present invention, where the management apparatus 110 includes:
a receiving module 111, configured to receive a difference reported by a node in a time synchronization network, where the difference is a difference between a first time and a second time, the first time is a time obtained by the node through the time synchronization network, and the second time is a time obtained by the node or a base station connected to the node through a satellite receiving module;
and a judging module 112, configured to perform fault judgment according to the received difference between the multiple nodes and the tracking relationship of synchronization between the nodes in the time synchronization network.
In the embodiment of the invention, the fault judgment can be carried out based on the difference values reported by a plurality of nodes in the time synchronization network, so that the fault positioning can be carried out quickly, and the reason that the fault occurs can be accurately judged to be the time synchronization network fault or the satellite receiving module fault for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
Optionally, the determining module 112 includes at least one of:
the fault positioning submodule is used for positioning faults;
and the reason judgment submodule is used for judging the fault reason.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a branch parent node, at least two branch links are tracked under each branch parent node, and each branch link starts from a child node of the branch parent node to a next branch parent node or an end node;
the determining module 112 includes:
and the fault judgment submodule is used for carrying out fault judgment by integrating the difference values of all nodes in the branch link.
Optionally, the fault determining sub-module is configured to perform fault determination by synthesizing difference values of all target nodes in the branch link, where the target node is a node that receives the difference values in the branch link.
Optionally, the fault determining sub-module includes:
and the fault judgment unit is used for starting from the branch link where the tail end node is located, and performing fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link until a fault judgment result is obtained.
Optionally, the fault determining unit includes:
the first judging subunit is configured to, if only the difference value of the last node on the branch link is greater than a preset threshold, judge that at least one of the following nodes fails:
a link between the last node and a parent node of the last node;
the satellite receiving module is used for receiving time on the last node;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
Optionally, the fault determining unit includes:
a second determining subunit, configured to determine that at least one of the following faults occurs if the difference between the first nodes on the branch link is greater than a preset threshold, but the difference between the second nodes is less than or equal to the preset threshold:
a satellite receiving module at the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
Optionally, the fault determining unit includes:
a third determining subunit, configured to determine, if, on the branch link, difference values from a third node to a last node are greater than a preset threshold, but the difference value of a parent node of the third node is less than or equal to the preset threshold, a link between the third node and the parent node of the third node, or a network synchronization function module of the third node fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
Optionally, the fault determining unit includes:
a fourth determining subunit, configured to determine that a link between the branch link and a branch parent node tracked by the branch link or a network synchronization function module of a first node on the branch link fails if the branch link includes at least two nodes, difference values of the at least two nodes are greater than a preset threshold, and difference values of nodes on sibling links of the branch link are not all greater than the preset threshold;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the fault determining unit includes:
a fifth judging subunit, configured to perform fault judgment according to the difference values of nodes in an upper-layer branch link of the branch link if the difference values of all the nodes in the branch link are greater than a preset threshold and the difference values of all the nodes in a brother link of the branch link are greater than a preset threshold;
two or more branch links of the same bifurcation parent node are tracked as sibling links.
Optionally, the managing device 110 further includes:
and the acquisition module is used for acquiring the synchronous tracking relation of each node by inquiring the port state of the node.
The embodiment of the present invention is a product embodiment corresponding to the above method embodiment, and therefore, details are not repeated here, and please refer to the above embodiment one.
Referring to fig. 12, fig. 12 is a schematic structural diagram of a node of a time synchronization network according to a fourth embodiment of the present invention, where the node 120 includes:
a reporting module 121, configured to report a difference value, where the difference value is a difference value between a first time and a second time, the first time is a time obtained by the node through the time synchronization network, and the second time is a time obtained by the node or a base station connected to the node through a satellite receiving module.
In the embodiment of the present invention, a node in a time synchronization network makes a difference between time acquired through the time synchronization network and time acquired through another method (specifically, time received through a satellite receiving module), and reports the obtained difference to a management and control device (management and control system). Therefore, the management and control device (management and control system) can judge the fault based on the difference reported by the nodes in the time synchronization network, so that the fault can be quickly positioned, and the reason that the fault occurs can be accurately judged to be the fault of the time synchronization network or the fault of the satellite receiving module for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
The embodiment of the present invention is a product embodiment corresponding to the above method embodiment, and therefore, detailed description is omitted here, and please refer to the second embodiment.
Referring to fig. 13, fig. 13 is a schematic structural diagram of a management and control device according to a fifth embodiment of the present invention, where the management and control device 130 includes: a transceiver 131 and a processor 132;
the transceiver 131 is configured to receive a difference reported by a node in a time synchronization network, where the difference is a difference between first time and second time, the first time is obtained by the node through the time synchronization network, and the second time is obtained by the node or a base station connected to the node through a satellite receiving module;
the processor 132 is configured to perform fault judgment according to the received difference between the multiple nodes and the tracking relationship of synchronization between the nodes in the time synchronization network.
In the embodiment of the invention, the fault judgment can be carried out based on the difference values reported by a plurality of nodes in the time synchronization network, so that the fault positioning can be carried out quickly, and the reason that the fault occurs can be accurately judged to be the time synchronization network fault or the satellite receiving module fault for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
Optionally, the processor 132 is configured to perform fault location and/or determine a fault cause.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a branch parent node, at least two branch links are tracked under each branch parent node, and each branch link starts from a child node of the branch parent node to a next branch parent node or an end node;
the processor 132 is configured to synthesize the difference values of the nodes in the branch link to perform fault determination.
Optionally, the processor 132 is configured to synthesize difference values of all target nodes in the branch link to perform fault determination, where the target node is a node in the branch link that receives the difference value.
Optionally, the processor 132 is configured to perform fault judgment layer by layer according to a difference value of nodes in the branch link from a branch link where the end node is located to an upper branch link from a lower branch link until a fault judgment result is obtained.
Optionally, the processor 132 is configured to determine that at least one of the following nodes fails if the difference value of only the last node on the branch link is greater than a preset threshold:
a link between the last node and a parent node of the last node;
a satellite receiving module on the last node for receiving time;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
Optionally, the processor 132 is configured to determine that at least one of the following faults occurs if the difference between the first nodes on the branch link is greater than a preset threshold, but the difference between the second nodes is less than or equal to the preset threshold:
a satellite receiving module at the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
Optionally, the processor 132 is configured to determine, if, on the branch link, differences from a third node to a last node are all greater than a preset threshold, but the difference of the parent node of the third node is less than or equal to the preset threshold, that a link between the third node and the parent node of the third node or a network synchronization function module of the third node fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
Optionally, the processor 132 is configured to determine that a link between the branch link and a branch parent node tracked by the branch link or a network synchronization function module of a first node on the branch link fails if the branch link includes at least two nodes, difference values of the at least two nodes are greater than a preset threshold, and difference values of nodes on sibling links of the branch link are not all greater than the preset threshold;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the processor 132 is configured to perform fault determination according to the difference between nodes in an upper-layer branch link of the branch link if the difference between all the nodes in the branch link is greater than a preset threshold and the difference between all the nodes in the brother link of the branch link is greater than the preset threshold;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the processor 132 is further configured to obtain a tracking relationship of synchronization of the nodes by querying a node port state.
The embodiment of the present invention is a product embodiment corresponding to the above method embodiment, and therefore, detailed description is omitted here, and please refer to the first embodiment in detail.
Referring to fig. 14, fig. 14 is a schematic structural diagram of a node of a time synchronization network according to a sixth embodiment of the present invention, where the node 140 includes: a transceiver 141 and a processor 142;
the transceiver 141 is configured to report a difference value, where the difference value is a difference value between a first time and a second time, the first time is a time obtained by the node through the time synchronization network, and the second time is a time obtained by the node or a base station connected to the node through a satellite receiving module.
In the embodiment of the present invention, a node in a time synchronization network makes a difference between time acquired through the time synchronization network and time acquired through another method (specifically, time received through a satellite receiving module), and reports the obtained difference to a management and control device (management and control system). Therefore, the management and control device (management and control system) can judge the fault based on the difference reported by the nodes in the time synchronization network, so that the fault can be quickly positioned, and the reason that the fault occurs can be accurately judged to be the fault of the time synchronization network or the fault of the satellite receiving module for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
The embodiment of the present invention is a product embodiment corresponding to the above method embodiment, and therefore, detailed description is omitted here, and please refer to the second embodiment.
Referring to fig. 15, fig. 15 is a schematic structural diagram of a management apparatus according to a seventh embodiment of the present invention, where the management apparatus 150 includes a processor 151, a memory 152, and a computer program stored in the memory 152 and capable of running on the processor 151; the processor 151, when executing the computer program, implements the steps of:
receiving a difference value reported by a node in a time synchronization network, wherein the difference value is a difference value between first time and second time, the first time is the time acquired by the node through the time synchronization network, and the second time is the time acquired by the node or a base station connected with the node through a satellite receiving module;
and judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network.
In the embodiment of the invention, the fault judgment can be carried out based on the difference values reported by a plurality of nodes in the time synchronization network, so that the fault positioning can be carried out quickly, and the reason that the fault occurs can be accurately judged to be the time synchronization network fault or the satellite receiving module fault for receiving time. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of performing fault determination includes at least one of:
carrying out fault positioning;
and judging the fault reason.
Optionally, the synchronous tracking relationship of each node is represented by a tree relationship table, a node having two or more child nodes in the tree relationship table is a branch parent node, at least two branch links are tracked under each branch parent node, and each branch link starts from a child node of the branch parent node to a next branch parent node or an end node;
the processor 151, when executing the computer program, may further implement the steps of:
the step of judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relationship of each node in the time synchronization network comprises the following steps:
and synthesizing the difference values of all nodes in the branch link to judge faults.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of synthesizing the difference values of the nodes in the branch link to judge the fault comprises the following steps:
and synthesizing the difference values of all target nodes in the branch link to judge the fault, wherein the target nodes are the nodes receiving the difference values in the branch link.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of synthesizing the difference values of the nodes in the branch link to judge the fault comprises the following steps:
starting from the branch link where the end node is located, carrying out fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link until a fault judgment result is obtained.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of carrying out fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises the following steps:
if the difference value of only the last node on the branch link is larger than a preset threshold value, judging that at least one of the following nodes has a fault:
a link between the last node and a parent node of the last node;
the satellite receiving module is used for receiving time on the last node;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of carrying out fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises the following steps:
if the difference value of the first node on the branch link is larger than a preset threshold value, but the difference value of the second node is smaller than or equal to the preset threshold value, judging that at least one of the following faults occurs:
a satellite receiving module at the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of carrying out fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises the following steps:
if the difference values from a third node to a last node on the branch link are all larger than a preset threshold value, but the difference value of a father node of the third node is smaller than or equal to the preset threshold value, determining that a link between the third node and the father node of the third node or a network synchronization function module of the third node fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of carrying out fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises the following steps:
if the branch link comprises at least two nodes, the difference values of the at least two nodes are all larger than a preset threshold value, and the difference values of all nodes on brother links of the branch link are not all larger than the preset threshold value, judging that a link between the branch link and a forked father node tracked by the branch link or a network synchronization function module of a first node on the branch link fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
the step of carrying out fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises the following steps:
if the difference values of all the nodes on the branch link are greater than a preset threshold value, and the difference values of all the nodes on the brother link of the branch link are greater than the preset threshold value, fault judgment is carried out according to the difference values of the nodes in the upper-layer branch link of the branch link;
two or more branch links of the same forked parent node are tracked as sibling links.
Optionally, the processor 151 may further implement the following steps when executing the computer program:
before the step of performing fault judgment according to the received difference values of the plurality of nodes and the synchronous tracking relationship of each node in the time synchronization network, the method further includes:
and acquiring the synchronous tracking relation of each node by inquiring the port state of the node.
The specific working process of the embodiment of the present invention is the same as that of the first embodiment of the method, and therefore, details are not repeated here, and please refer to the description of the method steps in the first embodiment.
Referring to fig. 16, fig. 16 is a schematic structural diagram of a node of a time synchronization network according to an eighth embodiment of the present invention, where the node 160 includes a processor 161, a memory 162, and a computer program stored in the memory 162 and capable of running on the processor 161; the processor 161, when executing the computer program, implements the steps of:
reporting a difference value, wherein the difference value is a difference value between first time and second time, the first time is time acquired by the node through the time synchronization network, and the second time is time acquired by the node or a base station connected with the node through a satellite receiving module.
In the embodiment of the present invention, a node in a time synchronization network makes a difference between time acquired through the time synchronization network and time acquired through another method (specifically, time received through a satellite receiving module), and reports the obtained difference to a management and control device (management and control system). Therefore, the management and control device (management and control system) can judge the fault based on the difference reported by the multiple nodes in the time synchronization network, so that the fault can be quickly positioned, and the reason that the fault occurs is the time synchronization network fault or the satellite receiving module fault for receiving time can be accurately judged. In addition, the embodiment of the invention realizes automatic detection and positioning of synchronous network faults, thereby saving manpower, avoiding the risk of manual operation, enhancing the stability of the time synchronous network and further ensuring the reliability of the high-precision time synchronous network.
The specific working process of the embodiment of the present invention is the same as that of the second embodiment of the method, and therefore, the detailed description thereof is omitted, and refer to the description of the method steps in the second embodiment.
An embodiment ninth of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps in the method for determining a failure of a synchronous network according to any one of the first embodiment and the second embodiment. Please refer to the above description of the method steps in the corresponding embodiments.
The Base Station in the embodiment of the present invention may be a Base Station (BTS) in Global System for Mobile communication (GSM) or Code Division Multiple Access (CDMA), may also be a Base Station (NodeB, NB) in Wideband Code Division Multiple Access (WCDMA), may also be an evolved Node B (eNB or eNodeB) in LTE, or a relay Station or Access point, or a Base Station in a future 5G network, and the like, which are not limited herein.
The computer-readable storage media described above, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (14)

1. A method for judging synchronous network fault is characterized by comprising the following steps:
receiving a difference value reported by a node in a time synchronization network, wherein the difference value is a difference value between first time and second time, the first time is the time acquired by the node through the time synchronization network, and the second time is the time acquired by the node or a base station connected with the node through a satellite receiving module;
according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network, fault judgment is carried out;
the synchronous tracking relationship of each node is represented by a tree relationship table, the node with two or more child nodes in the tree relationship table is a bifurcation father node, at least two branch links are tracked under each bifurcation father node, and each branch link starts from the child node of the bifurcation father node to the next bifurcation father node or end node;
the step of judging the fault according to the received difference values of the plurality of nodes and the synchronous tracking relationship of each node in the time synchronization network comprises the following steps:
and synthesizing the difference value of each node in the branch link to judge the fault.
2. The method of claim 1, wherein the step of making a fault determination comprises at least one of:
carrying out fault positioning;
and judging the fault reason.
3. The method according to claim 1, wherein the step of integrating the difference values of the nodes in the branch link to perform the fault determination comprises:
and synthesizing the difference values of all target nodes in the branch link to judge faults, wherein the target nodes are the nodes receiving the difference values in the branch link.
4. The method according to claim 1, wherein the step of synthesizing the difference values of the nodes in the branch link for fault determination comprises:
starting from the branch link where the end node is located, carrying out fault judgment layer by layer according to the difference value of the nodes in the branch link from the lower branch link to the upper branch link until a fault judgment result is obtained.
5. The method according to claim 4, wherein the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises:
if the difference value of only the last node on the branch link is larger than a preset threshold value, judging that at least one of the following nodes has a fault:
a link between the last node and a parent node of the last node;
a satellite receiving module on the last node for receiving time;
a network synchronization function module on the last node, wherein the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
a satellite receiving module connected with the base station of the last node and used for receiving time;
a link between the last node and a base station.
6. The method according to claim 4, wherein the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises:
if the difference value of the first node on the branch link is larger than a preset threshold value, but the difference value of the second node is smaller than or equal to the preset threshold value, judging that at least one of the following faults occurs:
a satellite receiving module at the first node for receiving time;
the satellite receiving module is connected with the base station of the first node and used for receiving time;
a link between the first node and a base station;
and the second node is a node positioned behind the first node on the branch link.
7. The method according to claim 4, wherein the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises:
if the difference values from a third node to a last node on the branch link are all larger than a preset threshold value, but the difference value of a father node of the third node is smaller than or equal to the preset threshold value, determining that a link between the third node and the father node of the third node or a network synchronization function module of the third node fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
the third node is the other nodes except the first node and the last node on the branch link.
8. The method according to claim 4, wherein the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises:
if the branch link comprises at least two nodes, the difference values of the at least two nodes are all larger than a preset threshold value, and the difference values of all nodes on brother links of the branch link are not all larger than the preset threshold value, judging that a link between the branch link and a forked father node tracked by the branch link or a network synchronization function module of a first node on the branch link fails;
the network synchronization function module is a function module for performing time synchronization through the time synchronization network;
two or more branch links of the same bifurcation parent node are tracked as sibling links.
9. The method according to claim 4, wherein the step of performing fault judgment layer by layer according to the difference value of the nodes in the branch links from the lower branch link to the upper branch link comprises:
if the difference values of all the nodes on the branch link are greater than a preset threshold value, and the difference values of all the nodes on the brother link of the branch link are greater than the preset threshold value, fault judgment is carried out according to the difference values of the nodes in the upper-layer branch link of the branch link;
two or more branch links of the same bifurcation parent node are tracked as sibling links.
10. The method according to claim 1, wherein before the step of determining the fault according to the received difference between the plurality of nodes and the tracking relationship of the synchronization between the nodes in the time synchronization network, the method further comprises:
and acquiring the synchronous tracking relation of each node by inquiring the port state of the node.
11. A management device, comprising:
a receiving module, configured to receive a difference reported by a node in a time synchronization network, where the difference is a difference between a first time and a second time, the first time is a time obtained by the node through the time synchronization network, and the second time is a time obtained by the node or a base station connected to the node through a satellite receiving module;
the judging module is used for judging faults according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network;
the synchronous tracking relation of each node is represented by a tree relation table, the nodes with two or more child nodes in the tree relation table are forked father nodes, at least two branch links are tracked under each forked father node, and each branch link starts from the child node of the forked father node to the next forked father node or end node;
the judging module comprises:
and the fault judgment submodule is used for carrying out fault judgment by integrating the difference values of all nodes in the branch link.
12. A management apparatus, comprising: a transceiver and a processor;
the transceiver is configured to receive a difference value reported by a node in a time synchronization network, where the difference value is a difference value between first time and second time, the first time is obtained by the node through the time synchronization network, and the second time is obtained by the node or a base station connected to the node through a satellite receiving module;
the processor is used for judging faults according to the received difference values of the plurality of nodes and the synchronous tracking relation of each node in the time synchronization network;
the synchronous tracking relation of each node is represented by a tree relation table, the nodes with two or more child nodes in the tree relation table are forked father nodes, at least two branch links are tracked under each forked father node, and each branch link starts from the child node of the forked father node to the next forked father node or end node;
and the processor is used for integrating the difference values of all nodes in the branch link to judge faults.
13. A management device comprising a memory, a processor and a computer program stored on the memory and executable on the processor; characterized in that the processor implements the steps in the synchronous network failure determination method according to any one of claims 1 to 10 when executing the computer program.
14. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the synchronous network failure determination method according to any one of claims 1 to 10.
CN201911165431.2A 2019-11-25 2019-11-25 Synchronous network fault judgment method and equipment Active CN112838939B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911165431.2A CN112838939B (en) 2019-11-25 2019-11-25 Synchronous network fault judgment method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911165431.2A CN112838939B (en) 2019-11-25 2019-11-25 Synchronous network fault judgment method and equipment

Publications (2)

Publication Number Publication Date
CN112838939A CN112838939A (en) 2021-05-25
CN112838939B true CN112838939B (en) 2023-04-07

Family

ID=75922945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911165431.2A Active CN112838939B (en) 2019-11-25 2019-11-25 Synchronous network fault judgment method and equipment

Country Status (1)

Country Link
CN (1) CN112838939B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856360A (en) * 2012-11-28 2014-06-11 中兴通讯股份有限公司 Method and device for synchronization link fault detection
CN103888309A (en) * 2012-12-20 2014-06-25 中国移动通信集团公司 Synchronization state monitoring method and device
CN104066102A (en) * 2013-03-18 2014-09-24 中国移动通信集团公司 Fault positioning detection method, system and device of time synchronization system
JP2015154256A (en) * 2014-02-14 2015-08-24 国立研究開発法人情報通信研究機構 Network failure detection method
CN110267200A (en) * 2019-06-27 2019-09-20 合肥更鼓电子科技有限公司 A kind of base station positioning method based on precise synchronization network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103856360A (en) * 2012-11-28 2014-06-11 中兴通讯股份有限公司 Method and device for synchronization link fault detection
CN103888309A (en) * 2012-12-20 2014-06-25 中国移动通信集团公司 Synchronization state monitoring method and device
CN104066102A (en) * 2013-03-18 2014-09-24 中国移动通信集团公司 Fault positioning detection method, system and device of time synchronization system
JP2015154256A (en) * 2014-02-14 2015-08-24 国立研究開発法人情報通信研究機構 Network failure detection method
CN110267200A (en) * 2019-06-27 2019-09-20 合肥更鼓电子科技有限公司 A kind of base station positioning method based on precise synchronization network

Also Published As

Publication number Publication date
CN112838939A (en) 2021-05-25

Similar Documents

Publication Publication Date Title
US8483706B2 (en) Location services based on positioned wireless measurement reports
US9271057B2 (en) Methods and apparatus for time synchronization and measurement of power distribution systems
US20150133110A1 (en) Maintaining timing characteristics in a radio base station
US10123295B2 (en) Method and apparatus for mobile positioning optimization with reporting
US20120295641A1 (en) Wireless communication device, information processing device, communication system, and location determination method
CN110609308B (en) Terminal position positioning method and device, storage medium and computer equipment
RU2019142490A (en) ANR CONFIGURATION METHOD, TERMINAL DEVICE, BASE STATION AND BASE NETWORK DEVICE
CN103856360A (en) Method and device for synchronization link fault detection
US20230247451A1 (en) Information indication method and apparatus, and communication device
CN116114363A (en) Synchronization offset identification and refinement for network-based positioning in unlicensed spectrum
CN112838939B (en) Synchronous network fault judgment method and equipment
US20240251365A1 (en) Test device for measuring synchronization errors between clusters in a cellular network
CN106647228B (en) Converter station master clock fault judgment system
CN103986601A (en) Message transmission delay obtaining method and device
CN107942879B (en) Distributed photovoltaic monitoring system
CN114640577B (en) Method and device for positioning root cause of base station outage
CN116074871A (en) Clock fault positioning method and network equipment
CN113162718A (en) Time determination method, system and medium based on multiple time service signals
US20150195808A1 (en) Method and apparatus for estimating proximity of femto cell in wireless communication system
CN112929115A (en) Method, device and system for detecting time calibration precision and storage medium
CN113904747B (en) Time synchronization method, system and medium based on multi-network system
CN109525353A (en) SDH transmits the method that IEC61588 eliminates non-symmetric error
CN110098971A (en) A kind of network link asymmetry measurement method and network node
US20240114481A1 (en) Method for determining positioning integrity based on speed of location estimation
WO2023201757A1 (en) Information reporting method and apparatus

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