CN113364641B - Loopback detection method and system for EOS (Ethernet over coax) service - Google Patents

Loopback detection method and system for EOS (Ethernet over coax) service Download PDF

Info

Publication number
CN113364641B
CN113364641B CN202010153054.7A CN202010153054A CN113364641B CN 113364641 B CN113364641 B CN 113364641B CN 202010153054 A CN202010153054 A CN 202010153054A CN 113364641 B CN113364641 B CN 113364641B
Authority
CN
China
Prior art keywords
ethernet
loopback
time slot
detection
container
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
CN202010153054.7A
Other languages
Chinese (zh)
Other versions
CN113364641A (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.)
Fiberhome Telecommunication Technologies Co Ltd
Original Assignee
Fiberhome Telecommunication Technologies 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 Fiberhome Telecommunication Technologies Co Ltd filed Critical Fiberhome Telecommunication Technologies Co Ltd
Priority to CN202010153054.7A priority Critical patent/CN113364641B/en
Publication of CN113364641A publication Critical patent/CN113364641A/en
Application granted granted Critical
Publication of CN113364641B publication Critical patent/CN113364641B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/18Loop-free operations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45591Monitoring or debugging support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45595Network integration; Enabling network access in virtual machine instances

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Time-Division Multiplex Systems (AREA)

Abstract

The invention discloses a loopback detection method and a system of an EOS service, relating to the technical field of communication, wherein the method comprises the following steps: first detection: inserting a preset trace byte code into the VC container time slot, detecting whether the next time the VC container time slot is sent and the received trace byte code is consistent, if so, looping back the VC container time slot; and when the time slot of the VC container has a loopback, the EOS service has a loopback. The invention carries out loopback detection on the VC container time slot based on the reformed trace byte codes, thereby effectively judging whether the EOS service has loopback or not and providing convenience for the detection of workers.

Description

Loopback detection method and system for EOS (Ethernet over coax) service
Technical Field
The invention relates to the technical field of communication, in particular to a loopback detection method and a loopback detection system for EOS (Ethernet over coax) services.
Background
In the early century, with the development of network, the IP data service has been greatly increased, and practice proves that ethernet is one of the best technologies for transmitting IP data, and SDH, which is a basic transport network, is a very mature technology, and has good security and high reliability, and on the premise of fully utilizing the existing resources, how to extend the transmission distance of ethernet is an important problem, while eos (ethernet over SDH) skillfully combines the advantages of SDH and ethernet, and realizes the transmission of ethernet over SDH;
the EOS service at the present stage is mainly used for large-client private line networking, for example, in a bank, a gas station and other scenes with a plurality of branches, the EOS service is mainly used for accessing an Ethernet service converging user branches, in an actual service scene, due to the configuration of cross connection on a transmission network and the network reasons of a user, a loop is easy to generate, and a broadcast storm caused by the loop can generate fatal consequences on the network, but the current EOS equipment still lacks an effective loopback detection means to avoid the situation;
therefore, a loop-back detection scheme for more efficient EOS traffic is urgently needed.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a loopback detection method and a loopback detection system for EOS services, wherein the time slot of a VC container is subjected to loopback detection based on modified trace byte codes, so that whether the EOS services have loopback or not can be effectively judged, and convenience is provided for detection of workers.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a loopback detection method for EOS services, including the following steps:
first detection: inserting a preset trace byte code into the VC container time slot, detecting whether the trace byte code sent out next time of the VC container time slot is consistent with the received trace byte code, and if so, looping back the VC container time slot;
and when the VC container time slot has a loopback, the EOS service has a loopback.
On the basis of the technical scheme, the method further comprises the following operations:
and second detection: respectively receiving Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched, looping back the Ethernet;
and when any loopback exists in the VC container time slot or the Ethernet, the EOS service has a loopback.
On the basis of the technical scheme, the method further comprises the following steps:
repeating the first detection at least 1 time when the VC container time slot sends out trace byte codes inconsistent with the received trace byte codes in the first detection for the next time;
if the next time of the VC container time slot is not consistent with the received trace byte codes, judging that the VC container time slot does not have loopback, otherwise, judging that the VC container time slot has loopback.
On the basis of the above technical solution, the second detection specifically includes the following steps:
respectively establishing cache table entries in the transmitting and receiving directions of the VCG of the Ethernet;
utilizing each cache table entry to respectively receive the Ethernet characteristic values in the receiving and sending directions;
comparing the Ethernet characteristic values of the receiving and transmitting directions, if matching, the Ethernet has a loopback
On the basis of the above technical solution, in the second detection, the method further includes the following steps:
and creating an aging timer, and deleting the Ethernet characteristic values when the storage time of the Ethernet characteristic values in each cache table entry exceeds the preset storage time.
On the basis of the above technical solution, the first detection further includes the following steps:
TIM alarm operation of the SDH network is suspended.
On the basis of the above technical solution, the first detection further includes the following steps:
and when the time slot of the VC container has a loop, inserting an AIS alarm in the time slot of the VC container.
In a second aspect, the present invention provides a loopback detection system for EOS services, which includes:
the second detection unit is used for respectively receiving the Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched with the Ethernet characteristic values, the Ethernet has a loopback;
and the EOS loopback judging unit is also used for judging that the EOS service has a loopback when the loopback exists in any one of the VC container time slot or the Ethernet.
On the basis of the above technical solution, the second detecting unit specifically includes:
the cache table item creating module is used for respectively creating cache table items in the receiving and sending directions of the VCG of the Ethernet, and each cache table item is respectively used for receiving the Ethernet characteristic values in the receiving and sending directions;
and the characteristic value comparison module is used for comparing the Ethernet characteristic values in the receiving and transmitting directions, and if the Ethernet characteristic values are matched with the Ethernet characteristic values, judging that the Ethernet loops.
Compared with the prior art, the invention has the advantages that:
the invention carries out loopback detection on the VC container time slot based on the reformed trace byte codes, thereby effectively judging whether the EOS service has loopback or not and providing convenience for the detection of workers.
Drawings
Fig. 1 is a flowchart illustrating a step of a loopback detection method for an EOS service according to a first embodiment of the present invention;
fig. 2 is a flowchart illustrating a step of combining a first detection and a second detection in a loopback detection method for an EOS service according to a first embodiment of the present invention;
fig. 3 is a flowchart of a second detection step in the loopback detection method for EOS services in the first embodiment of the present invention;
fig. 4 is a block diagram of a loopback detection system of an EOS service in the second embodiment of the present invention;
fig. 5 is a block diagram of a loopback detection device of an EOS service in the fourth embodiment of the present invention;
in the figure: 1. a first detection unit; 2. an EOS loopback judgment unit; 3. a second detection unit; 30. a cache table item creating module; 31. and a characteristic value comparison module.
Detailed Description
Interpretation of terms:
SDH, Synchronous Digital Hierarchy, which is a technical system composed of multiplexing method, mapping method and related synchronization method for providing information structure of corresponding grade for transmission of Digital signals with different rates according to ITU-T recommendation definition;
EOS, Ethernet Over SDH based;
VC, Virtual Container, is an information structure used to support channel layer connections;
VCG, Virtual Container Group, Virtual concatenation Group, i.e. Virtual Container Group, consisting of a plurality of Virtual containers;
minimum unit for time slot, circuit switching summary information transmission
TIM, TRACE IDENTIFIER MISMATCH, TRACE byte MISMATCH;
LCAS, Link Capacity Adjustment Scheme, i.e. a Link Capacity Adjustment mechanism, is a technology developed for better transmitting data services in a conventional SDH network, and functions to dynamically adjust a bandwidth;
AIS, Alarm Indication Signal, is a red indicator Signal commonly found on telecommunications equipment.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
The embodiment of the invention provides a loopback detection method and a loopback detection system for EOS (Ethernet over coax) services, which are used for carrying out loopback detection on VC container time slots based on modified trace byte codes, thereby effectively judging whether the EOS services have loopback or not and providing convenience for detection of workers.
In order to achieve the technical effects, the general idea of the application is as follows:
a loopback detection method of EOS service comprises the following steps:
s1, first detection: inserting a preset trace byte code into the VC container time slot, detecting whether the trace byte code sent out next time of the VC container time slot is consistent with the received trace byte code, and if so, looping back the VC container time slot;
and S2, when the VC container time slot has a loopback, the EOS service has a loopback.
The embodiment of the invention performs loopback detection on the VC container time slot based on the modified trace byte codes, thereby effectively judging whether the EOS service has loopback or not and providing convenience for detection of workers.
Example one
Referring to fig. 1 to fig. 3, an embodiment of the present invention provides a loopback detection method for an EOS service, where the method includes the following steps:
s1, first detection: inserting a preset trace byte code into the VC container time slot, detecting whether the next time the VC container time slot is sent and the received trace byte code is consistent, if so, looping back the VC container time slot;
and S2, when the VC container time slot has a loopback, the EOS service has a loopback.
In the embodiment of the invention, the time slot of an SDH plane VC container in an EOS service is subjected to loopback detection;
firstly, in step S1, inserting a preset trace byte code into the VC container time slot, wherein in the actual operation process, the preset trace byte code is modified by the existing 16-byte trace byte, selecting the 16-byte trace byte, and inserting a preset mark code into the idle byte to obtain a preset trace byte code;
inserting a preset trace byte code into the VC container time slot, wherein after the VC container time slot receives the preset trace byte code, when the VC container time slot works subsequently, if the VC container time slot is looped back, the trace byte code sent by the VC container time slot and the received trace byte code are consistent next time, namely the VC container time slot contains preset mark codes, and the source end and the receiving end in the sent and received trace byte codes are both the VC container time slot, so that the VC container time slot can be judged to have the loop back;
because the time slot of the VC container in the SDH plane is a component of the EOS service, when the time slot of the VC container has loopback, the EOS service also has loopback.
It should be noted that the conventional trace bytes are of two types, namely 1 byte and 16 bytes, and the embodiment of the present invention is modified based on the trace bytes of 16 bytes.
The embodiment of the invention performs loopback detection on the VC container time slot based on the modified trace byte codes, thereby effectively judging whether the EOS service has loopback or not and providing convenience for detection of workers.
In another implementation of the embodiments of the present invention, the method further includes the following operations:
and second detection: respectively receiving Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched, looping back the Ethernet;
when any loopback exists in the VC container time slot or the Ethernet, the EOS service has a loopback;
in the embodiment of the present invention, there is also a second detection operation, that is, loopback detection of the ethernet plane, when the ethernet plane has loopback, the ethernet characteristic values of the transmitting and receiving directions of the VCG in the ethernet will be the same, that is, the ethernet characteristic values are transmitted and received circularly by themselves;
the ethernet characteristic value may specifically be a source mac address or a source ip address, or may be other special message fields, so as to ensure uniqueness of the ethernet characteristic value;
the second detection of the embodiment of the invention is different from the loopback detection layer of the first detection, and the loopback condition is detected from different layers, so that the accuracy of loopback detection is improved.
It should be noted that, the operation steps of the EOS service loopback detection method combining the first detection and the second detection at this time are as follows:
a1, first detection: inserting a preset trace byte code into the VC container time slot, detecting whether the next time the VC container time slot is sent and the received trace byte code is consistent, if so, looping back the VC container time slot;
a2, second detection: respectively receiving Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched, looping back the Ethernet;
a3, when any loopback exists in the time slot of the VC container or the Ethernet, the loopback exists in the EOS service;
the first detection is used for detecting whether the VC container time slot has a loopback, the second detection is used for detecting whether the Ethernet has a loopback, and when any one of the two loops exists, the EOS service has a loopback.
In another implementation of the embodiments of the present invention, the method further includes the steps of:
repeating the first detection at least 1 time when the VC container time slot sends out trace byte codes inconsistent with the received trace byte codes in the first detection for the next time;
if the trace byte codes sent and received next time in the VC container time slot each time are not consistent, judging that the VC container time slot does not have a loopback, otherwise, judging that the VC container time slot has a loopback;
the operation is mainly used for improving the accuracy, and avoiding the error of the first detection in a single time, thereby causing the error judgment of the whole loopback detection.
In another implementation manner of the embodiment of the present invention, the second detection specifically includes the following steps:
b1, respectively establishing cache table items in the transmitting and receiving directions of the VCG of the Ethernet;
b2, receiving the Ethernet characteristic values of the receiving and sending directions by using each cache table entry;
b3, comparing the Ethernet characteristic values of the receiving and sending directions, if matching, the Ethernet has a loop back;
in actual operation, the ethernet characteristic value in the transceiving direction is obtained by using the cache table entry, and each message characteristic information received from the VCG of the ethernet in the relative direction is detected in the stored table entry, for example, if a message is received from one direction of the VCG of the ethernet, the characteristic value of the message is retrieved from the table entry in the other direction, and when matching exists, that is, consistency exists, the ethernet has loopback;
in addition, if the characteristic value of the received message can be detected in the opposite table entry, the loopback of the Ethernet exists, and the characteristic value of the message is not put into the table entry in the local direction any more.
In another implementation manner of the embodiment of the present invention, the second detection further includes the following steps:
and creating an aging timer, and deleting the Ethernet characteristic values when the storage time of the Ethernet characteristic values in each cache table entry exceeds the preset storage time.
It should be noted that, no matter in the first detection, the second detection, or the final EOS service loopback judgment step, when the loopback exists, the alarm operation can be performed, so as to remind the operator of the loopback.
In another implementation manner of the embodiment of the present invention, the first detection further includes the following steps:
suspending TIM alarm work of the SDH network;
it should be noted that TIM alarm work, specifically trace byte mismatch alarm, is performed when trace bytes expected to be received are not matched with trace bytes actually received, so that if TIM alarm work is started and first detection is performed, the VC container time slot next time when the sent trace byte codes are consistent with the received trace byte codes, the VC container time slot has loopback, alarm reporting is performed, and when the sent trace byte codes are inconsistent with the received trace byte codes, TIM alarm work is performed;
in other words, no matter whether the next trace byte code sent and received by the VC container time slot is consistent, there will be an alarm, but the corresponding problems of the alarm are different, so the TIM alarm work of the SDH network needs to be suspended, and interference to the staff is avoided.
In another implementation manner of the embodiment of the present invention, the first detection further includes the following steps:
and when the time slot of the VC container has a loop, inserting an AIS alarm in the time slot of the VC container.
In another implementation manner of the embodiment of the present invention, the EOS service supports the lcas functional characteristic;
lcas, Link Capacity Adjustment Scheme, is a technology developed for better transmitting data service in a conventional SDH network, and functions to dynamically adjust bandwidth;
based on the lcas functional characteristics, the bandwidth can be adjusted, and then a preset trace byte code is inserted into the VC container time slot.
It should be noted that the method should also have the following functions in order to ensure the implementation of the overall scheme:
the trace bytes of a VC container of the SDH can be reformed, not only the content of the sent trace bytes can be configured, but also the content of the received trace bytes can be obtained;
the capability of closing a certain path of VC container is provided, so that the processing can be carried out when the time slot of the VC container loops back.
Based on the same inventive concept, the present application provides an embodiment of a loopback detection system of an EOS service corresponding to the embodiment, which is detailed in embodiment two
Example two
As shown in fig. 4, a second embodiment of the present invention provides a loopback detection system for EOS services, which includes:
a first detecting unit 1, configured to insert a preset trace byte code into the VC container time slot, detect whether a trace byte code sent next time by the VC container time slot is consistent with a received trace byte code, and if so, loop back exists in the VC container time slot;
and an EOS loopback judging unit 2, configured to judge that the EOS service has a loopback when the VC container timeslot has a loopback.
In the embodiment of the invention, the time slot of an SDH plane VC container in an EOS service is subjected to loopback detection;
firstly, inserting a preset trace byte code into the VC container time slot, wherein in the actual operation process, the preset trace byte code is reconstructed by the existing 16-byte trace byte, selecting the 16-byte trace byte, and inserting a preset mark code into the idle byte to further obtain the preset trace byte code;
inserting a preset trace byte code into the VC container time slot, wherein after the VC container time slot receives the preset trace byte code, when the VC container time slot works subsequently, if the VC container time slot is looped back, the trace byte code sent by the VC container time slot and the received trace byte code are consistent next time, namely the VC container time slot contains preset mark codes, and the source end and the receiving end in the sent and received trace byte codes are both the VC container time slot, so that the VC container time slot can be judged to have the loop back;
because the time slot of the VC container in the SDH plane is a component of the EOS service, when the time slot of the VC container has loopback, the EOS service also has loopback.
It should be noted that the conventional trace bytes are of two types, namely 1 byte and 16 bytes, and the embodiment of the present invention is modified based on the trace bytes of 16 bytes.
The embodiment of the invention performs loopback detection on the VC container time slot based on the modified trace byte codes, thereby effectively judging whether the EOS service has loopback or not and providing convenience for detection of workers.
In another implementation manner of the embodiment of the present invention, the system further includes:
the second detection unit 3 is configured to receive ethernet characteristic values in the transmitting and receiving directions of the VCG in the ethernet, compare the ethernet characteristic values in the transmitting and receiving directions, and if the ethernet characteristic values are matched, the ethernet has a loopback;
and an EOS loopback judging unit 2, further configured to judge that a loopback exists in the EOS service when a loopback exists in any one of the VC container time slot or the ethernet.
In the embodiment of the present invention, there is also a second detection operation, that is, loopback detection of the ethernet plane, when the ethernet plane has loopback, the ethernet characteristic values of the transmitting and receiving directions of the VCG in the ethernet will be the same, that is, the ethernet characteristic values are transmitted and received circularly by themselves;
the ethernet characteristic value may specifically be a source mac address or a source ip address, or may be other special message fields, so as to ensure uniqueness of the ethernet characteristic value;
the second detection of the embodiment of the invention is different from the loopback detection layer of the first detection, and the loopback condition is detected from different layers, so that the accuracy of loopback detection is improved.
It should be noted that, the operation steps of the EOS service loopback detection method combining the first detection and the second detection at this time are as follows:
a1, first detection: inserting a preset trace byte code into the VC container time slot, detecting whether the trace byte code sent out next time of the VC container time slot is consistent with the received trace byte code, and if so, looping back the VC container time slot;
a2, second detection: respectively receiving Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched, looping back the Ethernet;
a3, when any loopback exists in the VC container time slot or Ethernet, the EOS service has loopback;
the first detection is used for detecting whether the VC container time slot has a loopback, the second detection is used for detecting whether the Ethernet has a loopback, and when any one of the two loops exists, the EOS service has a loopback.
In another implementation manner of the embodiment of the present invention, when the system performs the first detection, the method further includes the following steps:
repeating the first detection at least 1 time when the VC container time slot sends out trace byte codes inconsistent with the received trace byte codes in the first detection for the next time;
if the trace byte codes sent and received next time in the VC container time slot each time are not consistent, judging that the VC container time slot does not have a loopback, otherwise, judging that the VC container time slot has a loopback;
the operation is mainly used for improving the accuracy, and avoiding the error of the first detection in a single time, thereby causing the error judgment of the whole loopback detection.
In another implementation manner of the embodiment of the present invention, the second detecting unit 3 specifically includes:
a cache table item creating module 30, configured to create cache table items in the VCG transceiving direction of the ethernet, where each cache table item is used to receive an ethernet characteristic value in the transceiving direction;
a characteristic value comparison module 31, configured to compare ethernet characteristic values in the transceiving direction, and if the ethernet characteristic values are matched, determine that the ethernet loops back;
in actual operation, the ethernet characteristic value in the transceiving direction is obtained by using the cache table entry, and each message characteristic information received from the VCG of the ethernet in the relative direction is detected in the stored table entry, for example, if a message is received from one direction of the VCG of the ethernet, the characteristic value of the message is retrieved from the table entry in the other direction, and when matching exists, that is, consistency exists, the ethernet has loopback;
in addition, if the characteristic value of the received message can be detected in the opposite table entry, the loopback of the Ethernet exists, and the characteristic value of the message is not put into the table entry in the local direction any more.
In another implementation manner of the embodiment of the present invention, the second detecting unit 3 further includes the following operation steps:
and creating an aging timer, and deleting the Ethernet characteristic values when the storage time of the Ethernet characteristic values in each cache table entry exceeds the preset storage time.
It should be noted that, no matter in the first detection, the second detection, or the final EOS service loopback judgment step, when the loopback exists, the alarm operation can be performed, so as to remind the operator of the loopback.
In another embodiment of the present invention, the first detecting unit 1 further includes the following operation steps:
suspending TIM alarm work of the SDH network;
it should be noted that TIM alarm work, specifically trace byte mismatch alarm, is performed when trace bytes expected to be received are not matched with trace bytes actually received, so that if TIM alarm work is started and first detection is performed, the VC container time slot next time when the sent trace byte codes are consistent with the received trace byte codes, the VC container time slot has loopback, alarm reporting is performed, and when the sent trace byte codes are inconsistent with the received trace byte codes, TIM alarm work is performed;
in other words, no matter whether the next trace byte code sent and received by the VC container time slot is consistent, there will be an alarm, but the corresponding problems of the alarm are different, so the TIM alarm work of the SDH network needs to be suspended, and interference to the staff is avoided.
In another implementation manner of the embodiment of the present invention, the first detecting unit 1 further includes the following operations:
and when the time slot of the VC container has a loop, inserting an AIS alarm in the time slot of the VC container.
In another implementation manner of the embodiment of the present invention, the EOS service supports the lcas functional characteristic;
lcas, Link Capacity Adjustment Scheme, is a technology developed for better transmitting data service in a conventional SDH network, and functions to dynamically adjust bandwidth;
based on the lcas functional characteristics, the bandwidth can be adjusted, and then a preset trace byte code is inserted into the VC container time slot.
Based on the same inventive concept, the present application provides an embodiment of a storage medium corresponding to the embodiment described in the third embodiment
EXAMPLE III
A third embodiment of the invention provides a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out all or part of the method steps of the first embodiment.
The present invention can implement all or part of the flow in the first embodiment, and can also be implemented by using a computer program to instruct related hardware, where the computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned method embodiments can be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include: any entity or device capable of carrying computer program code, recording medium, U.S. disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution media, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, in accordance with legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunications signals.
Based on the same inventive concept, the application provides an embodiment of a corresponding device, and the detailed description is given in the fourth embodiment
Example four
As shown in fig. 5, the fourth embodiment of the present invention further provides an apparatus, which includes a memory and a processor, the memory stores a computer program running on the processor, and the processor executes the computer program to implement all or part of the method steps in the first embodiment.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like, the processor being the control center of the computer device and the various interfaces and lines connecting the various parts of the overall computer device.
The memory may be used to store computer programs and/or modules, and the processor may implement various functions of the computer device by executing or executing the computer programs and/or modules stored in the memory, as well as by invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, video data, etc.) created according to the use of the cellular phone, etc. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, server, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, optical storage, and the like) having computer-usable program code embodied therein.
The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), servers and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A loopback detection method of EOS service is characterized in that the method comprises the following steps:
first detection: inserting a preset trace byte code into a VC container time slot, detecting whether the next time of sending and receiving the trace byte code of the VC container time slot are consistent, if so, looping back the VC container time slot;
and when the VC container time slot has a loopback, the EOS service has a loopback.
2. The method of claim 1, further comprising the operations of:
and second detection: respectively receiving Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched, looping back the Ethernet;
and when any loopback exists in the VC container time slot or the Ethernet, the EOS service has a loopback.
3. The method according to any of claims 1 to 2, characterized in that the method further comprises the steps of:
repeating the first detection at least 1 time when the VC container time slot sends out trace byte codes inconsistent with the received trace byte codes in the first detection for the next time;
if the next time of the VC container time slot is not consistent with the received trace byte codes, judging that the VC container time slot does not have loopback, otherwise, judging that the VC container time slot has loopback.
4. The method according to claim 2, wherein the second detecting comprises the following steps:
respectively establishing cache table entries in the transmitting and receiving directions of the VCG of the Ethernet;
utilizing each cache table entry to respectively receive the Ethernet characteristic values in the receiving and sending directions;
and comparing the Ethernet characteristic values in the receiving and transmitting directions, and if the Ethernet characteristic values are matched, the Ethernet loops.
5. The method of claim 4, wherein the second detecting further comprises:
and creating an aging timer, and deleting the Ethernet characteristic values when the storage time of the Ethernet characteristic values in each cache table entry exceeds the preset storage time.
6. The method according to any one of claims 1 to 2, characterized in that in the first detection, it further comprises the steps of:
TIM alarm operation of the SDH network is suspended.
7. The method according to any one of claims 1 to 2, characterized in that in the first detection, it further comprises the steps of:
and when the time slot of the VC container has a loop, inserting an AIS alarm in the time slot of the VC container.
8. A loopback detection system for EOS traffic, the system comprising:
a first detection unit, configured to insert a preset trace byte code into a VC container time slot, detect whether a next trace byte code sent by the VC container time slot is consistent with a received trace byte code, and if so, loop back exists in the VC container time slot;
and the EOS loopback judging unit is used for judging that the EOS service has loopback when the VC container time slot has loopback.
9. The system of claim 8, wherein the system further comprises:
the second detection unit is used for respectively receiving the Ethernet characteristic values of the transmitting and receiving directions of the VCG in the Ethernet, comparing the Ethernet characteristic values of the transmitting and receiving directions, and if the Ethernet characteristic values are matched with the Ethernet characteristic values, the Ethernet has a loopback;
and the EOS loopback judging unit is also used for judging that the EOS service has a loopback when the loopback exists in any one of the VC container time slot or the Ethernet.
10. The system of claim 9, wherein the second detection unit specifically comprises:
the cache table item creating module is used for respectively creating cache table items in the receiving and sending directions of the VCG of the Ethernet, and each cache table item is respectively used for receiving the Ethernet characteristic values in the receiving and sending directions;
and the characteristic value comparison module is used for comparing the Ethernet characteristic values in the receiving and transmitting directions, and if the Ethernet characteristic values are matched with the Ethernet characteristic values, judging that the Ethernet loops.
CN202010153054.7A 2020-03-06 2020-03-06 Loopback detection method and system for EOS (Ethernet over coax) service Active CN113364641B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010153054.7A CN113364641B (en) 2020-03-06 2020-03-06 Loopback detection method and system for EOS (Ethernet over coax) service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010153054.7A CN113364641B (en) 2020-03-06 2020-03-06 Loopback detection method and system for EOS (Ethernet over coax) service

Publications (2)

Publication Number Publication Date
CN113364641A CN113364641A (en) 2021-09-07
CN113364641B true CN113364641B (en) 2022-03-01

Family

ID=77524202

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010153054.7A Active CN113364641B (en) 2020-03-06 2020-03-06 Loopback detection method and system for EOS (Ethernet over coax) service

Country Status (1)

Country Link
CN (1) CN113364641B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734991A (en) * 2004-08-13 2006-02-15 中兴通讯股份有限公司 Method for detecting multi-service transmission platform device service loopback
WO2007107066A1 (en) * 2006-03-18 2007-09-27 Huawei Technologies Co., Ltd. A method and a communication device of the loopbacked detection based on ethernet
CN201001129Y (en) * 2007-01-04 2008-01-02 中兴通讯股份有限公司 Testing device for EOS equipment
CN102209003A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Link detection method, system and loopback initiation equipment
CN103269277A (en) * 2013-04-22 2013-08-28 华为技术有限公司 Method and system for finding link, first network element and network management equipment
WO2013159450A1 (en) * 2012-04-27 2013-10-31 中兴通讯股份有限公司 Ethernet port loopback detection method and apparatus
CN110601919A (en) * 2019-09-12 2019-12-20 烽火通信科技股份有限公司 Loopback detection method and system

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1734991A (en) * 2004-08-13 2006-02-15 中兴通讯股份有限公司 Method for detecting multi-service transmission platform device service loopback
WO2007107066A1 (en) * 2006-03-18 2007-09-27 Huawei Technologies Co., Ltd. A method and a communication device of the loopbacked detection based on ethernet
CN201001129Y (en) * 2007-01-04 2008-01-02 中兴通讯股份有限公司 Testing device for EOS equipment
CN102209003A (en) * 2010-03-29 2011-10-05 华为技术有限公司 Link detection method, system and loopback initiation equipment
WO2013159450A1 (en) * 2012-04-27 2013-10-31 中兴通讯股份有限公司 Ethernet port loopback detection method and apparatus
CN103269277A (en) * 2013-04-22 2013-08-28 华为技术有限公司 Method and system for finding link, first network element and network management equipment
CN110601919A (en) * 2019-09-12 2019-12-20 烽火通信科技股份有限公司 Loopback detection method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"S2-167158 was S2-167131 was S2-166649 Update of Interim Agreements on Key Issue 1 (third party)".《3GPP tsg_sa\WG2_Arch》.2016, *

Also Published As

Publication number Publication date
CN113364641A (en) 2021-09-07

Similar Documents

Publication Publication Date Title
CN108809674B (en) Method and apparatus for configuring link group
CN112866042B (en) Network quality detection method, device, computer equipment and computer readable medium
US11539607B2 (en) Detection block sending and receiving method, and network device and system
EP3208971B1 (en) Method, device and system for reducing centralized protection switching time in potn system
CN112714007B (en) Method and device for detecting service message dyeing marks of all IOAM (input/output access am) equipment
CN108990083B (en) Method and equipment for synchronous alarm
CN112511266A (en) Transmission method, detection method and device, acquisition method, network equipment and system
CN113364641B (en) Loopback detection method and system for EOS (Ethernet over coax) service
CN102006158A (en) Clock transmission method, synchronization method and system, and sending and receiving device
CN102055727A (en) Data encapsulation method, encapsulation equipment and branch unit in multi-service transport network
CN108270623B (en) Method and system for TDM business network management automatic configuration based on packet transport network
CN109067625A (en) A kind of detection method, equipment and the system of service channel performance
CN109194393A (en) A kind of multi tate error code testing device and its test method
CN112787873A (en) IOAM time delay measurement performance sequencing method and system
EP2242195A1 (en) Method and apparatus for service protection
WO2021115450A1 (en) Optical transport network alarm processing method and apparatus, terminal device, and storage medium
US6937614B1 (en) Transparent port for high rate networking
CN114844804A (en) Network measurement method, system, electronic device and computer readable storage medium
CN112583650B (en) SR-BE tunnel link detection method and system in SPN
TWI244289B (en) System, method and device for aggregating SONET links
EP2113146A1 (en) Method and apparatus for monitoring virtual concatenation group performance
CN111988083A (en) Method and system for realizing bidirectional service interruption of PTN (packet transport network) and OTN (optical transport network) networking Ethernet
CN112118147A (en) MPLS-TPOAM-based LB detection method and system
CN111865406B (en) Link detection method and system
CN111278059B (en) Message forwarding method and device

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