CN115134035A - Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet - Google Patents

Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet Download PDF

Info

Publication number
CN115134035A
CN115134035A CN202211050915.4A CN202211050915A CN115134035A CN 115134035 A CN115134035 A CN 115134035A CN 202211050915 A CN202211050915 A CN 202211050915A CN 115134035 A CN115134035 A CN 115134035A
Authority
CN
China
Prior art keywords
communication
node
hop count
communication network
network
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211050915.4A
Other languages
Chinese (zh)
Inventor
宋晓琴
邱文才
田学红
义忠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yingterui Semiconductor Technology Co ltd
Original Assignee
Shenzhen Yingterui Semiconductor Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yingterui Semiconductor Technology Co ltd filed Critical Shenzhen Yingterui Semiconductor Technology Co ltd
Priority to CN202211050915.4A priority Critical patent/CN115134035A/en
Publication of CN115134035A publication Critical patent/CN115134035A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • 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/0654Management of faults, events, alarms or notifications using network fault recovery

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Small-Scale Networks (AREA)

Abstract

The invention relates to the technical field of wireless communication, in particular to a method, a device, equipment and a storage medium for breaking a synchronous Ethernet, which carry out data communication in a communication network through an extended clock synchronous message to record the hop frequency of the extended clock synchronous message, realize the implementation monitoring of a data transmission process, obtain a target hop count by predicting the hop count change of the extended clock synchronous message in the data transmission process in the communication network, judge that the communication network has network looping when the target hop count is greater than a preset hop count threshold value, influence the network communication, discard the extended clock synchronous message by controlling the communication network, select a clock source again, realize the breaking based on the synchronous Ethernet, reselect a source, carry out the network communication again, and avoid the phenomenon that the Ethernet in the prior art carries out data communication, the technical problem that data communication cannot be carried out due to network loop forming is solved, and the communication efficiency is improved.

Description

Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet
Technical Field
The present invention relates to the field of wireless communication technologies, and in particular, to a method, an apparatus, a device, and a storage medium for a disruption based on a synchronous ethernet.
Background
In a communication network, the normal operation of many services requires network time synchronization, which can keep the frequency and phase difference between the whole network devices within a reasonable error range, wherein the time synchronization includes both frequency and phase synchronization.
The current technology for realizing time synchronization mainly comprises the following steps: in the time synchronization application of the traditional communication network, once the communication network forms a ring in the data communication process, the whole network is paralyzed, and normal data communication cannot be realized, so that a network node destruction mode must be adopted to reestablish network communication connection, the connection condition of each node in a network structure is mainly detected by professional technicians in the current destruction logic, and the connection of the ring-forming nodes is disconnected, so that manual destruction is realized, and the deployment difficulty and the maintenance difficulty of the Ethernet time synchronization application in the communication ring network are greatly increased.
The above is only for the purpose of assisting understanding of the technical aspects of the present invention, and does not represent an admission that the above is prior art.
Disclosure of Invention
The invention mainly aims to provide a method, a device, equipment and a storage medium for destroying a synchronous Ethernet, and aims to solve the technical problem that data communication cannot be performed due to network looping when the Ethernet performs data communication in the prior art.
In order to achieve the above object, the present invention provides a method for breaking a synchronous ethernet network, comprising the following steps:
when detecting that a source communication node in a communication network is disconnected from a target clock source, predicting hop count change of an extended clock synchronization message in a data transmission process in the communication network to obtain a target hop count;
and when the target hop count is greater than the preset hop count, controlling the communication network to discard the extended clock synchronization message and to select a clock source again.
Optionally, when it is detected that the source communication node is disconnected from the target clock source in the communication network, predicting a hop count change of the spread clock synchronization packet in the data transmission process in the communication network, and before obtaining the target hop count, the method further includes:
controlling a source communication node in a communication network to generate an extended clock synchronization message;
and transmitting the data of the extended clock synchronization message based on the network structure of the communication network.
Optionally, the controlling a source communication node in the communication network to generate an extended clock synchronization packet includes:
determining initial node hop count information and a physical address of a source communication node in a communication network;
controlling the source communication node to generate an extended clock synchronization message template based on a preset data format;
and controlling the source communication node to fill the extended clock synchronous message template according to a first preset frequency quality grade, the physical address and the initial node hop count information to obtain an extended clock synchronous message.
Optionally, the performing data transmission on the extended clock synchronization packet based on the network structure of the communication network includes:
determining a current communication node according to a physical address in the extended clock synchronization message;
determining a next communication node connected with the current communication node based on a network structure of the communication network;
and sending the extended clock synchronization message to the next communication node.
Optionally, after sending the extended clock synchronization packet to the next communication node, the method further includes:
updating node hop count information in the extended clock synchronization message;
when the local frequency quality level of the next communication node is greater than a first preset frequency quality level, determining a next physical address corresponding to the next communication node;
controlling the next communication node to generate a target extended clock synchronization message according to the next physical address, the first preset frequency quality and the updated node hop count information;
and transmitting the target spread clock synchronous message based on the network structure of the communication network.
Optionally, the communication network comprises: a source communication node and at least one child communication node;
after the data transmission is performed on the extended clock synchronization packet based on the network structure of the communication network, the method further includes:
and when the extended clock synchronization message is not received within the preset time interval of the sub-communication node, deleting the sub-communication node and selecting a clock source again.
Optionally, the controlling the communication network to discard the extended clock synchronization packet and perform clock source selection again includes:
detecting whether a message node list corresponding to the communication network is an empty set;
if not, controlling each communication node in the communication network to discard the extended clock synchronization message;
acquiring frequency quality grade, priority information and node hop count information of each communication node;
and selecting a clock source again according to the frequency quality grade, the priority information and the node hop information.
In addition, in order to achieve the above object, the present invention further provides a synchronous ethernet-based destruction device, including:
the system comprises a hop count acquisition module, a target clock source acquisition module and a data transmission module, wherein the hop count acquisition module is used for predicting hop count change of an extended clock synchronization message in a data transmission process in a communication network when detecting that a source communication node in the communication network is disconnected from the target clock source, so as to acquire a target hop count;
and the clock source selection module is used for controlling the communication network to discard the extended clock synchronization message and to select a clock source again when the target hop count is greater than a preset hop count.
In addition, in order to achieve the above object, the present invention further provides a synchronous ethernet-based destruction device, where the synchronous ethernet-based destruction device includes: the computer-readable medium may include a memory, a processor, and a synchronous ethernet-based destruction program stored on the memory and executable on the processor, the synchronous ethernet-based destruction program configured to implement the steps of the synchronous ethernet-based destruction method as described above.
In addition, in order to achieve the above object, the present invention further provides a storage medium, where a damage program based on synchronous ethernet is stored, and when executed by a processor, the damage program based on synchronous ethernet implements the steps of the damage method based on synchronous ethernet as described above.
The invention discloses a method for destroying a synchronous Ethernet, which comprises the following steps: when the source communication node and the target clock source in the communication network are detected to be disconnected in communication, predicting the hop count change of the extended clock synchronization message in the data transmission process in the communication network to obtain a target hop count; when the target hop count is greater than the preset hop count, controlling the communication network to discard the extended clock synchronization message and to select a clock source again, compared with the prior art, the invention carries out data communication in the communication network through the extended clock synchronization message to record the hop count of the extended clock synchronization message, realizes the implementation monitoring of the data transmission process, obtains the target hop count by predicting the hop count change of the extended clock synchronization message in the data transmission process in the communication network, judges that the communication network has network ring formation when the target hop count is greater than the preset hop count threshold value, influences the network communication, discards the extended clock synchronization message through the control communication network, and selects the clock source again, realizes the ring breaking based on the synchronous Ethernet, reselects the source, carries out the network communication again, and avoids the Ethernet in the prior art when carrying out the data communication, the technical problem that data communication cannot be carried out due to network looping is solved, and the communication efficiency of the communication network is improved.
Drawings
Fig. 1 is a schematic structural diagram of a synchronous ethernet-based destruction device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for breaking a synchronous Ethernet-based network according to a first embodiment of the present invention;
FIG. 3 is a schematic diagram of a communication network node connection according to an embodiment of a method for breaking a synchronous Ethernet-based network of the present invention;
fig. 4 is a schematic diagram of a standard ESMC message format according to an embodiment of the method for breaking synchronous ethernet-based traffic congestion in the present invention;
fig. 5 is a schematic diagram of a data format of a standard ESMC message according to an embodiment of the method for destroying a synchronous ethernet-based device of the present invention;
fig. 6 is a schematic diagram of an extended ESMC message format according to an embodiment of the method for breaking synchronous ethernet-based traffic congestion in the present invention;
fig. 7 is a schematic diagram of an extended ESMC message format according to an embodiment of the method for breaking synchronous ethernet-based traffic congestion in the present invention;
FIG. 8 is a schematic diagram of a communication network looping logic according to an embodiment of the method for breaking a synchronous Ethernet-based link according to the present invention;
FIG. 9 is a flowchart illustrating a second embodiment of a method for breaking a synchronous Ethernet-based network according to the present invention;
fig. 10 is a schematic diagram of a message transmission logic according to a first embodiment of the method for destroying synchronous ethernet;
FIG. 11 is a schematic diagram of a source reselection logic according to a first embodiment of a method for destroying synchronous Ethernet in accordance with the present invention;
fig. 12 is a block diagram of a first embodiment of a damage apparatus based on synchronous ethernet according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Referring to fig. 1, fig. 1 is a schematic structural diagram of a synchronous ethernet-based destruction device in a hardware operating environment according to an embodiment of the present invention.
As shown in fig. 1, the synchronous ethernet-based destruction apparatus may include: a processor 1001, such as a Central Processing Unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a Wireless interface (e.g., a Wireless-Fidelity (Wi-Fi) interface). The Memory 1005 may be a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as a disk Memory. The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the configuration shown in fig. 1 does not constitute a limitation of a synchronous ethernet-based destruction apparatus and may include more or fewer components than those shown, or some components in combination, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a storage medium, may include therein an operating system, a network communication module, a user interface module, and a synchronous ethernet-based destruction program.
In the synchronous ethernet-based destruction device shown in fig. 1, the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; the processor 1001 and the memory 1005 of the damage apparatus based on synchronous ethernet according to the present invention may be disposed in the damage apparatus based on synchronous ethernet, and the damage apparatus based on synchronous ethernet calls the damage program based on synchronous ethernet stored in the memory 1005 through the processor 1001, and executes the damage method based on synchronous ethernet provided in the embodiment of the present invention.
An embodiment of the present invention provides a method for breaking a ring based on a synchronous ethernet, and referring to fig. 2, fig. 2 is a schematic flow diagram of a first embodiment of a method for breaking a ring based on a synchronous ethernet according to the present invention.
In this embodiment, the method for breaking a synchronous ethernet-based network includes the following steps:
step S10: when the source communication node and the target clock source in the communication network are detected to be disconnected in communication, the hop count change of the extended clock synchronous message in the data transmission process in the communication network is predicted, and the target hop count is obtained.
It should be noted that, in the embodiment, the execution subject of the method may be a device having functions of data transmission, data acquisition and data processing, for example: the present embodiment does not specifically limit the present invention, and in the present embodiment and the following embodiments, a server that controls a communication network to perform time synchronization will be taken as an example for description.
It should be noted that the communication network refers to a network node set used for various data communication purposes, wherein the network structure includes: in the present embodiment, the operation of breaking the network structure including the ring network is mainly performed.
In a specific implementation, a source communication node refers to a first communication node connected to an external signal source in a communication network structure, referring to fig. 3, in fig. 3, taking a time synchronization technology of a communication network as an example, in the communication network structure, a node a is a first communication node connected to a GPS signal source or a beidou signal source in the communication network and is denoted as a source communication node, where each communication node in the communication network also has a setting of a Synchronization Status Messaging (SSM) level when performing data transmission, so as to determine whether a frequency signal level corresponding to transmitted data meets a standard in a network clock synchronization process, and when meeting the standard, perform data communication.
In addition, the local SSM level of each communication node of the communication network is 0xB, and when data transmission is performed, the SSM level of 0xB needs to be converted into the SSM level of 0x2, and the lower the value corresponding to the level, the higher the priority.
It should be understood that, the target clock source is used to provide a signal source of the clock synchronization signal for the communication network, and according to different time synchronization technologies, the target clock source may be a GPS signal source or a beidou signal source, or may be another signal source that can provide the clock synchronization signal, which is not limited in this embodiment.
It can be understood that the extended clock Synchronization packet is a clock Synchronization packet obtained by modifying a packet format and a data format based on a standard clock Synchronization packet (ESMC), where the packet format and the data format of the standard clock Synchronization packet refer to fig. 4 and 5, and the packet format and the data format of the extended clock Synchronization packet refer to fig. 6 and 7, where the extended clock Synchronization packet increases clockdiversity and a masked parameter compared to the standard clock Synchronization packet, the clockdiversity identifies a clock ID, and the masked identifies a Synchronization hop count.
It should be noted that the target hop count refers to the number of communication nodes that are experienced in the communication network in the process of communication data reaching the target node based on the communication structure of the communication network, for example: in fig. 3, the target hop count of the extended clock synchronization packet transmitted from node a to node b is 1, and after the extended clock synchronization packet node b completes data transmission to the next communication node, the target hop count is 2, however, since the next communication node has two communication nodes, node c and node d, during the data transmission from node b to the next communication node, in this embodiment, when the target hop count is 2, two corresponding data transmission paths exist, which are: the data transmission path of the node a-NodeB-node c and the data transmission path of the node a-NodeB-node d are not specifically limited in this embodiment.
In the specific implementation, the process of predicting the hop count change of the spread clock synchronization packet in the data transmission process in the communication network is to update the cascoded character segment in the spread clock synchronization packet through the spread clock synchronization packet in the data transmission process, and every time the spread clock synchronization packet passes through one communication node, 1 is added to the corresponding cascoded character segment, that is, the synchronous hop count of the spread clock synchronization signal, and every time the spread clock synchronization packet passes through one communication node, 1 is added to the synchronous hop count.
In a specific implementation, referring to fig. 8, after the node a disconnects the clock signal source of the GPS/beidou, the node a updates that its SSM level is 0xB, continues to send an ESMC message to the node b, and after the node b receives the ESMC message of the node a, because the SSM level of the node b is 0x2, the node a is no longer tracked, and this process is marked as the first second; in the second, NodeB updates own SSM to be 0xB, and sends ESMC message to NodeC and NodeD, NodeC and NodeD can update own SSM to be 0xB only in the third second, and send ESMC message to outside, but in the second, because NodeE can continuously send ESMC message with SSM of 0x2 to NodeD, and at the moment, the SSM of NodeB is 0xB, then NodeD can switch synchronous route, and start to track NodeE, so actually starting from the 2 nd second, it will become NodeD to track NodeD, NodeC tracks NodeB again, NodeE tracks NodeC again, and forms synchronous loop, which can not be broken.
Step S20: and when the target hop count is greater than the preset hop count, controlling the communication network to discard the extended clock synchronization message and to select a clock source again.
It should be noted that the preset hop count may be set by the user, for example: 20 or 30 hops, etc., which is not specifically limited in this embodiment, the number of the communication nodes in the communication network is generally less than 20, and if more communication nodes are added, the difficulty of network establishment will be greatly increased, so that if the hop count in one communication network is greater than 20, it indicates that a synchronization loop is most likely to occur in the communication network, and in this embodiment, the preset hop count will be described as 20 hops.
In a specific implementation, the process of controlling the communication network to discard the extended clock synchronization packet and performing clock source selection again may be: and sending a control instruction to each communication node in the communication network so that each communication node in the communication network discards the extended clock synchronization message according to the control instruction, prohibits the data transmission of the extended clock synchronization message, keeps silent, waits for the clock signal source to be switched on again, and reestablishes the time synchronization process.
Further, the step S20 includes:
detecting whether a message node list corresponding to the synchronous Ethernet is an empty set;
if not, controlling each communication node in the synchronous Ethernet to discard the extended clock synchronous message;
acquiring frequency quality grade, priority information and node hop count information of each communication node;
and selecting a clock source again according to the frequency quality grade, the priority information and the node hop count information.
It should be noted that the message node list refers to all communication nodes in the communication network that receive the extended ESMC message, so as to subsequently control the communication nodes to discard the extended ESMC message, thereby entering a silent state, facilitating subsequent signal source selection, and simultaneously disconnecting clock synchronization to complete destruction of the synchronous ethernet.
In this embodiment, when the node hop count in the communication network exceeds a set threshold, it is determined that network looping exists in the communication network, and at this time, each communication node is controlled to discard an extended clock packet and control each communication node to reset its own SSM level, and a step of reselecting a signal source is entered.
The embodiment discloses a method for destroying a synchronous Ethernet, which comprises the following steps: when detecting that a source communication node in a communication network is disconnected from a target clock source, predicting hop count change of an extended clock synchronization message in a data transmission process in the communication network to obtain a target hop count; when the target hop count is greater than the preset hop count, controlling the communication network to discard the extended clock synchronization message and to select a clock source again, in the embodiment, performing data communication in the communication network through the extended clock synchronization message to record the hop count of the extended clock synchronization message, implementing monitoring on a data transmission process, predicting hop count change of the extended clock synchronization message in the data transmission process in the communication network to obtain the target hop count, judging that the communication network has network looping when the target hop count is greater than a preset hop count threshold value, wherein the network communication is influenced, discarding the extended clock synchronization message through the control communication network, and selecting the clock source again to realize ring breaking based on the synchronous Ethernet, reselecting a source, and performing network communication again, so that the situation that the Ethernet in the prior art performs data communication is avoided, the technical problem that data communication cannot be carried out due to network loop forming is solved, and the communication efficiency is improved.
Referring to fig. 9, fig. 9 is a flowchart illustrating a second embodiment of a method for breaking a synchronous ethernet-based link according to the present invention.
Based on the first embodiment, in this embodiment, before the step S10, the method further includes:
step S01: and controlling a source communication node in the communication network to generate an extended clock synchronization message.
It should be noted that the extended clock synchronization packet is a clock synchronization packet obtained by modifying a packet format and a data format based on a standard clock synchronization packet, and the extended clock synchronization packet increases clockproperty and casoded parameters compared with the standard clock synchronization packet, where clockproperty identifies a clock ID and casoded identifies a synchronization hop count.
Further, in order to obtain the spread clock synchronization packet, the step S01 includes:
determining initial node hop count information and a physical address of a source communication node in the synchronous Ethernet;
controlling the source communication node to generate an extended clock synchronization message template based on a preset data format;
and controlling the source communication node to fill the extended clock synchronous message template according to a first preset frequency quality grade, the physical address and the initial node hop count information to obtain an extended clock synchronous message.
It should be noted that the node hop count information refers to the number of nodes that the extension packet passes through in the data transmission process, for example: the initial node hop count information of the source communication node is 0; the physical address of the source communication node is used for node tracking in the normal data transmission process and generating an extended clock synchronization message of a new node.
It is understood that the preset data format may be a standard ESMC-based message format and a standard data format, and the standard ESMC-based message format and the standard data format may refer to fig. 4 and 5, respectively; compared with the standard ESMC message, the extended clock synchronization message template has one more clockproperty parameter for identifying the clock ID and one more caseded parameter for identifying the clock synchronization hop count.
It can be understood that the first preset frequency quality level refers to an SSM level set during data transmission of the message, and in this embodiment, the first preset frequency quality level is 0x 2.
Step S02: and transmitting the data of the extended clock synchronization message based on the network structure of the communication network.
It should be noted that, after obtaining a complete extended clock synchronization packet, in the process of performing data transmission on the clock synchronization packet based on the network device node structure of the communication network, each time data transmission is performed, 1 is added to the hop count of the extended clock synchronization packet, and a communication node receiving the extended clock synchronization packet generates an extended clock synchronization packet after updating the physical address according to its own physical address and the received extended clock synchronization packet.
In addition, after receiving the extended clock synchronization packet, the new communication node may further extract a frequency quality level in the extended clock synchronization packet, and compare the frequency quality level with a frequency quality level of the new communication node, where the smaller a value corresponding to the frequency quality level is, the higher the priority is, for example: in the network structure shown in fig. 3, when an extended ESMC message is transmitted from a node a to a node b, the SSM levels of the node b themselves are compared, because the local SSM level of each communication node is 0xB, and the SSM level carried by the extended ESMC message is 0x2, the SSM level carried by the extended ESMC message is smaller than the local SSM level of the node b, that is, the priority of the extended ESMC message is higher than the priority of the node b, the node b retains the extended ESMC message, and synchronizes the node a, and feeds back a message with an SSM level of 0xFF to the node a, where the fed-back message is used to confirm message reception, control the node a not to continue sending the same ESMC message and update the local level of the node a.
Further, the step S02 includes:
determining a current communication node according to a physical address in the extended clock synchronization message;
determining a next communication node connected with the current communication node based on a network structure of the synchronous Ethernet;
and sending the extended clock synchronization message to the next communication node.
It can be understood that, since one communication node can perform data communication with multiple communication nodes at the same time, in the process of performing extended ESMC packet transmission, the extended ESMC packet can be forwarded to each connected communication node at the same time, and whether to receive the extended ESMC packet is selected according to the result of comparing the SSM classes, so as to complete data transmission.
Further, after sending the extended clock synchronization packet to the next communication node, the method further includes:
updating node hop count information in the extended clock synchronization message;
when the local frequency quality level of the next communication node is greater than a first preset frequency quality level, determining a next physical address corresponding to the next communication node;
controlling the next communication node to generate a target extended clock synchronization message according to the next physical address, the first preset frequency quality and the updated node hop count information;
and transmitting the target extension clock synchronous message based on the network structure of the synchronous Ethernet.
For example: after the NodeB updates the expanded ESMC message according to the physical address of the NodeB, the communication nodes connected with the NodeB comprise a NodeC and a NodeD, and after receiving the expanded ESMC message sent by the NodeB, the NodeC and the NodeD both feed back a message with the SSM level of 0xFF to the NodeB and then send the updated expanded ESMC message to the NodeE.
In addition, when node e receives the extended ESMC messages sent by node c and node d respectively, since the SSM levels of the two extended ESMC messages are both 0x2, in order to avoid data transmission collision, the priorities of the communication nodes sending the messages can be compared, and the communication node with higher priority is retained, i.e. the extended ESMC message sent by node c is retained, so that node e synchronizes node c.
When comparing the priorities of the communication nodes, the communication node that sends the extended ESMC message may be determined according to the physical address included in the extended ESMC message, and then the communication node is determined according to the predefined priority of the communication node, where in this embodiment, the priority order is node a > NodeB > NodeD > node e > nodf in sequence, and this embodiment does not specifically limit this.
Further, the synchronous ethernet network includes: a source communication node and at least one child communication node;
after the data transmission is performed on the extended clock synchronization packet based on the network structure of the synchronous ethernet, the method further includes:
and when the extended clock synchronization message is not received within the preset time interval of the sub-communication node, deleting the sub-communication node and selecting a clock source again.
It should be noted that the preset time interval may be set to 3S, which is not specifically limited in this embodiment.
In a specific implementation, referring to fig. 10, if a sub-communication node in the 3S communication network does not receive an ESMC packet extended by a source communication node, indicating that there is an error in the source communication node selection of the synchronous ethernet, the source communication node needs to be deleted, and clock source selection is performed again, and a specific logic block diagram of clock source reselection may refer to fig. 11.
The embodiment discloses a method for controlling a source communication node in a communication network to generate an extended clock synchronization message; the extended clock synchronization message is subjected to data transmission based on the network structure of the synchronous ethernet, and in this embodiment, data hop times are calibrated by extending a standard ESMC message, so that the hop times are updated subsequently, and thus, the hop change of the extended clock synchronization message in the data transmission process in the synchronous ethernet is predicted subsequently.
In addition, an embodiment of the present invention further provides a storage medium, where a damage program based on synchronous ethernet is stored on the storage medium, and when executed by a processor, the damage program based on synchronous ethernet implements the steps of the damage method based on synchronous ethernet described above.
Since the storage medium adopts all technical solutions of all the embodiments, at least all the beneficial effects brought by the technical solutions of the embodiments are achieved, and no further description is given here.
Referring to fig. 12, fig. 12 is a block diagram illustrating a first embodiment of a synchronous ethernet-based destruction apparatus according to the present invention.
As shown in fig. 12, a synchronous ethernet-based destruction apparatus according to an embodiment of the present invention includes:
the hop count obtaining module 10 is configured to predict hop count changes of the extended clock synchronization packet in a data transmission process in the communication network when detecting that a source communication node in the communication network is disconnected from a target clock source, so as to obtain a target hop count.
And a clock source selection module 20, configured to control the communication network to discard the extended clock synchronization packet and perform clock source selection again when the target hop count is greater than a preset hop count.
In an embodiment, the hop count obtaining module 10 is further configured to control a source communication node in a communication network to generate an extended clock synchronization packet; and transmitting the data of the extended clock synchronization message based on the network structure of the communication network.
In an embodiment, the hop count obtaining module 10 is further configured to determine initial node hop count information and a physical address of a source communication node in a communication network; controlling the source communication node to generate an extended clock synchronization message template based on a preset data format; and controlling the source communication node to fill the extended clock synchronous message template according to a first preset frequency quality level, the physical address and the initial node hop count information to obtain an extended clock synchronous message.
In an embodiment, the hop count obtaining module 10 is further configured to determine a current communication node according to a physical address in the extended clock synchronization message; determining a next communication node connected with the current communication node based on a network structure of the communication network; and sending the extended clock synchronization message to the next communication node.
In an embodiment, the hop count obtaining module 10 is further configured to update node hop count information in the extended clock synchronization message; when the local frequency quality level of the next communication node is greater than a first preset frequency quality level, determining a next physical address corresponding to the next communication node; controlling the next communication node to generate a target extended clock synchronization message according to the next physical address, the first preset frequency quality and the updated node hop count information; and transmitting the target spread clock synchronous message based on the network structure of the communication network.
In an embodiment, the hop count obtaining module 10 is further configured to delete the child communication node and perform clock source selection again when the extended clock synchronization packet is not received within a preset time interval of the child communication node.
In an embodiment, the clock source selecting module 20 is further configured to detect whether a message node list corresponding to the communication network is an empty set; if not, controlling each communication node in the communication network to discard the extended clock synchronization message; acquiring frequency quality grade, priority information and node hop count information of each communication node;
and selecting a clock source again according to the frequency quality grade, the priority information and the node hop count information.
It should be understood that the above is only an example, and the technical solution of the present invention is not limited in any way, and in a specific application, a person skilled in the art may set the technical solution as needed, and the present invention is not limited in this respect.
It should be noted that the above-described work flows are only exemplary, and do not limit the scope of the present invention, and in practical applications, a person skilled in the art may select some or all of them to achieve the purpose of the solution of the embodiment according to actual needs, and the present invention is not limited herein.
In addition, the technical details that are not described in detail in this embodiment may refer to the method for breaking a synchronous ethernet-based network provided in any embodiment of the present invention, and are not described herein again.
Furthermore, it should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the description of the foregoing embodiments, it is clear to those skilled in the art that the method of the foregoing embodiments may be implemented by software plus a necessary general hardware platform, and certainly may also be implemented by hardware, but in many cases, the former is a better implementation. Based on such understanding, the technical solution of the present invention or portions thereof that contribute to the prior art may be embodied in the form of a software product, where the computer software product is stored in a storage medium (e.g. Read Only Memory (ROM)/RAM, magnetic disk, optical disk), and includes several instructions for enabling a terminal device (e.g. a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention, and all equivalent structures or equivalent processes performed by the present invention or directly or indirectly applied to other related technical fields are also included in the scope of the present invention.

Claims (10)

1. A method for breaking a synchronous Ethernet network is characterized in that the method for breaking the synchronous Ethernet network comprises the following steps:
when detecting that a source communication node in a communication network is disconnected from a target clock source, predicting hop count change of an extended clock synchronization message in a data transmission process in the communication network to obtain a target hop count;
and when the target hop count is greater than the preset hop count, controlling the communication network to discard the extended clock synchronization message and to select a clock source again.
2. The method according to claim 1, wherein when it is detected that the source communication node is disconnected from the target clock source in the communication network, predicting a hop count change of the extended clock synchronization packet in the data transmission process in the communication network, and before obtaining the target hop count, the method further comprises:
controlling a source communication node in a communication network to generate an extended clock synchronization message;
and transmitting the data of the extended clock synchronization message based on the network structure of the communication network.
3. The method for synchronous ethernet based destruction according to claim 2, wherein the controlling a source communication node in a communication network to generate an extended clock synchronization packet comprises:
determining initial node hop count information and a physical address of a source communication node in a communication network;
controlling the source communication node to generate an extended clock synchronization message template based on a preset data format;
and controlling the source communication node to fill the extended clock synchronous message template according to a first preset frequency quality grade, the physical address and the initial node hop count information to obtain an extended clock synchronous message.
4. The method for breaking synchronous ethernet based on claim 2, wherein said transmitting said extended clock synchronization packet based on a network structure of said communication network comprises:
determining a current communication node according to a physical address in the extended clock synchronization message;
determining a next communication node connected with the current communication node based on a network structure of the communication network;
and sending the extended clock synchronization message to the next communication node.
5. The method of claim 4, wherein after sending the extended clock sync packet to the next communication node, the method further comprises:
updating node hop count information in the extended clock synchronization message;
when the local frequency quality level of the next communication node is greater than a first preset frequency quality level, determining a next physical address corresponding to the next communication node;
controlling the next communication node to generate a target extended clock synchronization message according to the next physical address, the first preset frequency quality and the updated node hop count information;
and transmitting the target spread clock synchronous message based on the network structure of the communication network.
6. The synchronous ethernet-based destruction method according to claim 2, wherein the communication network comprises: a source communication node and at least one child communication node;
after the data transmission is performed on the extended clock synchronization packet based on the network structure of the communication network, the method further includes:
and when the extended clock synchronization message is not received within the preset time interval of the sub-communication node, deleting the sub-communication node and selecting a clock source again.
7. The method according to any of claims 1-6, wherein the controlling the communication network to discard the extended clock sync packet and to re-select a clock source comprises:
detecting whether a message node list corresponding to the communication network is an empty set;
if not, controlling each communication node in the communication network to discard the extended clock synchronization message;
acquiring frequency quality grade, priority information and node hop count information of each communication node;
and selecting a clock source again according to the frequency quality grade, the priority information and the node hop information.
8. A synchronous Ethernet-based destruction device, comprising:
the system comprises a hop count acquisition module, a target clock source acquisition module and a data transmission module, wherein the hop count acquisition module is used for predicting hop count change of an extended clock synchronization message in a data transmission process in a communication network when detecting that a source communication node in the communication network is disconnected from the target clock source, so as to acquire a target hop count;
and the clock source selection module is used for controlling the communication network to discard the extended clock synchronization message and to select a clock source again when the target hop count is greater than a preset hop count.
9. A synchronous Ethernet-based destruction device, comprising: a memory, a processor, and a synchronous ethernet-based destruction program stored on the memory and executable on the processor, the synchronous ethernet-based destruction program configured to implement the synchronous ethernet-based destruction method according to any one of claims 1 to 7.
10. A storage medium, wherein the storage medium stores thereon a synchronous ethernet-based destruction program, and the synchronous ethernet-based destruction program, when executed by a processor, implements the synchronous ethernet-based destruction method according to any one of claims 1 to 7.
CN202211050915.4A 2022-08-30 2022-08-30 Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet Pending CN115134035A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211050915.4A CN115134035A (en) 2022-08-30 2022-08-30 Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211050915.4A CN115134035A (en) 2022-08-30 2022-08-30 Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet

Publications (1)

Publication Number Publication Date
CN115134035A true CN115134035A (en) 2022-09-30

Family

ID=83387010

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211050915.4A Pending CN115134035A (en) 2022-08-30 2022-08-30 Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet

Country Status (1)

Country Link
CN (1) CN115134035A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130766A (en) * 2010-01-15 2011-07-20 华为技术有限公司 Method, equipment and system for synchronizing Ethernet clock tracking
CN102368696A (en) * 2011-09-14 2012-03-07 杭州华三通信技术有限公司 Method for selecting synchronous clock source and apparatus thereof
CN102868516A (en) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 Method and device for synchronizing information distribution of clock in Ethernet
CN105024841A (en) * 2014-04-23 2015-11-04 中兴通讯股份有限公司 Clock and time synchronization network synchronization fault processing method and system
CN109150360A (en) * 2018-11-20 2019-01-04 盛科网络(苏州)有限公司 The method of the anti-ring of synchronous ethernet equipment room clock
CN109327274A (en) * 2018-12-11 2019-02-12 烟台持久钟表有限公司 A kind of regional clock system and its network-building method
CN113452465A (en) * 2021-05-17 2021-09-28 新华三信息安全技术有限公司 Clock synchronization method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102130766A (en) * 2010-01-15 2011-07-20 华为技术有限公司 Method, equipment and system for synchronizing Ethernet clock tracking
CN102368696A (en) * 2011-09-14 2012-03-07 杭州华三通信技术有限公司 Method for selecting synchronous clock source and apparatus thereof
CN102868516A (en) * 2012-10-09 2013-01-09 盛科网络(苏州)有限公司 Method and device for synchronizing information distribution of clock in Ethernet
CN105024841A (en) * 2014-04-23 2015-11-04 中兴通讯股份有限公司 Clock and time synchronization network synchronization fault processing method and system
CN109150360A (en) * 2018-11-20 2019-01-04 盛科网络(苏州)有限公司 The method of the anti-ring of synchronous ethernet equipment room clock
CN109327274A (en) * 2018-12-11 2019-02-12 烟台持久钟表有限公司 A kind of regional clock system and its network-building method
CN113452465A (en) * 2021-05-17 2021-09-28 新华三信息安全技术有限公司 Clock synchronization method and device

Similar Documents

Publication Publication Date Title
EP3556137B1 (en) Ue communication handover between light fidelity access points in a communication system
US20180077751A1 (en) Mesh node role discovery and automatic recovery
JP4838360B2 (en) Loop detection in mobile networks
CN111093225A (en) Method, device and medium for monitoring and reporting data path service quality
JP2007214713A (en) Wireless lan system, access point and channel control method and program for use therein
CN102177746B (en) Channel switching in mesh-type networks
EP4270898A1 (en) Message processing method, device, and computer storage medium
CN105681184A (en) Communication session soft handover
CN111092937A (en) Session creation method, control method, session creation system, network element and medium
JP2021508981A (en) Communication methods, devices, and systems
CN113132227A (en) Method, device, computer equipment and storage medium for updating routing information
CN114786241B (en) Network selection method, related device, network equipment and storage medium
US8570965B2 (en) System and method for controlling communications in an ad hoc mobile network
CN112235878B (en) Hybrid ad hoc network management method and device, readable storage medium and electronic equipment
CN113329474A (en) Method for accessing node to Mesh network, information interaction device, terminal and storage medium
EP3054728B1 (en) Mobility management method and system
CN115134035A (en) Method, device, equipment and storage medium for breaking damage based on synchronous Ethernet
CN112995068B (en) Data transmission method, device and system
US11245669B1 (en) Firewall filter comprising one or more objects
EP3340687B1 (en) Method for connecting communication device, and communication device
CN115102660B (en) Method, device, equipment and storage medium for breaking based on synchronous Ethernet
JP2006333492A (en) Network node for performing handover to router
CN108449802B (en) Mesh connection method and device
EP3410778A1 (en) Passive routing in mesh network
KR100862723B1 (en) The IP topology management system using the IP topology auto discovery and a method

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20220930

RJ01 Rejection of invention patent application after publication