CN111865406B - Link detection method and system - Google Patents

Link detection method and system Download PDF

Info

Publication number
CN111865406B
CN111865406B CN202010530675.2A CN202010530675A CN111865406B CN 111865406 B CN111865406 B CN 111865406B CN 202010530675 A CN202010530675 A CN 202010530675A CN 111865406 B CN111865406 B CN 111865406B
Authority
CN
China
Prior art keywords
link
node
adjusted
state
detection
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
CN202010530675.2A
Other languages
Chinese (zh)
Other versions
CN111865406A (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 CN202010530675.2A priority Critical patent/CN111865406B/en
Publication of CN111865406A publication Critical patent/CN111865406A/en
Application granted granted Critical
Publication of CN111865406B publication Critical patent/CN111865406B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/16Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
    • H04J3/1605Fixed allocated frame structures
    • H04J3/1652Optical Transport Network [OTN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/07Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
    • H04B10/075Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
    • H04B10/079Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using measurements of the data signal
    • H04B10/0793Network aspects, e.g. central monitoring of transmission parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/12Arrangements providing for calling or supervisory signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q11/00Selecting arrangements for multiplex systems
    • H04Q11/0001Selecting arrangements for multiplex systems using optical switching
    • H04Q11/0062Network aspects
    • H04Q2011/0079Operation or maintenance aspects
    • H04Q2011/0083Testing; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a link detection method and a system, which relate to the technical field of communication, and the method comprises the following steps: acquiring an end node and an intermediate node of a link to be adjusted; and (3) node state detection flow: the end node transmits a first RES byte to the opposite end step by step, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent; time slot continuity detection flow: the end node transmits TSCC to the opposite end step by step through the second RES byte, and when the opposite end receives the second RES byte, the link to be adjusted is judged to pass through time slot continuity detection; and when the states of all nodes of the link to be adjusted are consistent and pass through the time slot continuity detection, judging that the link to be adjusted passes through the link detection before the link bandwidth adjustment. The invention detects the state and time slot continuity of each node of the link in sequence on the premise of not modifying the link, and provides accurate detection results for the preparation work of link bandwidth adjustment.

Description

Link detection method and system
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a link detection method and system.
Background
With the rapid development of Network technology and the explosive increase of bandwidth demand, large-capacity rigid pipeline transmission based on an ODUk (Optical Channel Data Unit) in a conventional OTN (Optical Transport Network) Network cannot meet the demand of a user for bandwidth flexible allocation according to the service size, and an ODUFlex (Optical Data Unit flex) technology enables non-standard services to obtain ODUk particles matched with the service rate of the non-standard services through ODUk particle bandwidth cascade connection, so that the efficient utilization of bandwidth is ensured, and the lossless bandwidth adjustment of the ODUFlex can more dynamically change the bandwidth of client signals of an end-to-end path in the OTN Network without affecting the services.
When the bandwidth is adjusted based on the ODUFlex technology, it is necessary to ensure that the states of the nodes in the path are consistent and have time slot continuity, and how to detect the above two points is a problem that needs to be solved urgently at the present stage.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a link detection method and a link detection system, which are used for sequentially detecting the state and the time slot continuity of each node of a link on the premise of not modifying the link and providing an accurate detection result for the preparation work of link bandwidth adjustment.
In order to achieve the above purposes, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention discloses a link detection method, which includes the following steps:
acquiring an end node and an intermediate node of a link to be adjusted;
and (3) node state detection flow: the end node transmits a first RES byte to the opposite end step by step, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
time slot continuity detection flow: the end node transmits TSCC to the opposite end step by step through a second RES byte, and when the opposite end receives the second RES byte, the link to be adjusted is judged to pass time slot continuity detection;
and when the states of all nodes of the link to be adjusted are consistent and pass through time slot continuity detection, judging that the link to be adjusted passes through link detection before link bandwidth adjustment.
Specifically, the node state detection process specifically includes the following steps:
the end node determines the node state of the end node according to a preset link connection adjustment protocol, and after the node state is confirmed, the end node transmits the first RES byte to the opposite end step by step;
the next-stage node receives the first RES byte and detects the node state of the next-stage node, when the current state of any node is different from the end node of the sending end, the transmission is terminated, otherwise, the step-by-step transmission is continued;
and when the opposite end receives the first RES byte, judging that the states of all nodes of the link to be adjusted are consistent.
Further, the method comprises the following steps:
when the link to be adjusted adjusts the link bandwidth, the state detection process and the time slot continuity detection process are carried out in a circulating mode;
and after the adjustment of the link bandwidth is finished, terminating the state detection process and the time slot continuity detection process.
Further, the method comprises the following steps:
and when the states of all the nodes of the link to be adjusted are inconsistent, releasing link bandwidth adjustment inhibition information.
Further, the method comprises the following steps:
and the end node and the intermediate node acquire the self G.HAO state and judge the self node state according to the self G.HAO state.
In a second aspect, the present invention also discloses a link detection system, which includes:
the node extraction unit is used for acquiring an end node and an intermediate node of a link to be adjusted;
the node state detection unit is used for controlling the end node to gradually transmit a first RES byte to the opposite end, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
a time slot continuity detection unit, configured to control the end node to perform TSCC transfer to the opposite end step by step according to a second RES byte, and when the opposite end receives the second RES byte, determine that the link to be adjusted passes time slot continuity detection;
and the detection result judging unit is used for judging that the link to be adjusted passes link detection before link bandwidth adjustment when the states of all the nodes of the link to be adjusted are consistent and pass time slot continuity detection.
Further, the node state detection unit is further configured to control the end node to determine a node state of the end node according to a preset link connection adjustment protocol, and after the node state is determined, gradually transmit the first RES byte to the opposite end;
the node state detection unit is also used for controlling a next-stage node to receive the first RES byte and detecting the state of the node per se, when the current state of any node is different from the end node of the sending end, the transmission is terminated, otherwise, the step-by-step transmission is continued;
and the node state detection unit is further configured to determine that the states of the nodes of the link to be adjusted are consistent when the opposite end receives the first RES byte.
Specifically, when the link bandwidth of the link to be adjusted is adjusted, the node state detection unit circularly detects the state;
when the link to be adjusted adjusts the link bandwidth, the time slot continuity detection unit circularly detects the time slot continuity;
and after the adjustment of the link bandwidth is finished, terminating the state detection and the time slot continuity detection.
Further, the detection result determining unit is configured to determine that the link to be adjusted does not pass link detection before link bandwidth adjustment when the states of the nodes of the link to be adjusted are inconsistent.
Specifically, the end node and the intermediate node judge the state of the node according to the G.HAO state of the end node and the intermediate node.
Compared with the prior art, the invention has the advantages that:
the invention uses the mode that each node transfers RES byte step by step on the premise of not transforming the link, and detects the state and time slot continuity of each node of the link in sequence, and provides accurate detection result for the preparation work of link bandwidth adjustment.
Drawings
FIG. 1 is a flowchart illustrating steps of a method for link detection according to an embodiment of the present invention;
fig. 2 is a flowchart illustrating a node state detection process in a link detection method according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a link detection method in practical use according to an embodiment of the present invention;
FIG. 4 is another schematic diagram of a link detection method in practical use according to an embodiment of the invention;
FIG. 5 is a block diagram of a link detection system according to a second embodiment of the present invention;
in the figure: 1. a node extraction unit; 2. a node state detection unit; 3. a time slot continuity detecting unit; 4. and a detection result determination unit.
Detailed Description
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 link detection method and a link detection system, which are used for sequentially detecting the state and time slot continuity of each node of a link by utilizing a mode of transmitting RES bytes step by each node on the premise of not modifying the link, and providing an accurate detection result for the preparation work of link bandwidth adjustment.
In order to achieve the technical effects, the general idea of the application is as follows:
a method of link detection, the method comprising the steps of:
s1, acquiring an end node and an intermediate node of the link to be adjusted;
s2, node state detection flow: the end node transmits a first RES byte to the opposite end step by step, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
s3, time slot continuity check flow: the end node transmits TSCC to the opposite end step by step through a second RES byte, and when the opposite end receives the second RES byte, the link to be adjusted is judged to pass time slot continuity detection;
s4, when the states of the nodes of the link to be adjusted are consistent and pass through the time slot continuity detection, determining that the link to be adjusted passes through the link detection before the link bandwidth adjustment.
Embodiments of the present invention will be described in further detail below with reference to the accompanying drawings.
Example one
Referring to fig. 1 to 4, in an embodiment of the present invention, a link detection method is provided, where the method includes the following steps:
s1, acquiring an end node and an intermediate node of the link to be adjusted;
s2, node state detection flow: the end node transmits a first RES byte to the opposite end step by step, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
s3, time slot continuity check flow: the end node transmits TSCC to the opposite end step by step through the second RES byte, and when the opposite end receives the second RES byte, the link to be adjusted is judged to pass through time slot continuity detection;
and S4, when the states of the nodes of the link to be adjusted are consistent and pass the time slot continuity detection, determining that the link to be adjusted passes the link detection before the link bandwidth adjustment.
In the embodiment of the invention, when the bandwidth of the link to be adjusted needs to be adjusted, in order to ensure the smooth operation of the bandwidth adjustment, the condition of the link to be adjusted needs to be detected;
firstly, acquiring an end node and an intermediate node of a link to be adjusted, and providing an accurate detection direction for subsequent detection;
and further, detecting the node state, specifically developing a node state detection process, and when detecting the node state, the end node gradually transmits a first RES byte to the opposite end, wherein the judgment basis of the process is as follows: only when the node state of the first RES byte is received is consistent with the node state of the end node sending the first RES byte, the first RES byte can be received, namely the first RES byte can complete the step-by-step transmission, so that when the end node of the opposite end receives the first RES byte, the state of each node of the link to be adjusted can be judged to be consistent;
and then, detecting the time slot continuity, and transmitting the TSCC to the opposite end step by the end node, specifically transmitting a second RES byte, wherein the judgment basis of the time slot continuity detection process is as follows: only when the time slots of all the nodes have continuity, the end node of the opposite end receives the second RES byte, namely the second RES byte can complete the step-by-step transmission, so that when the end node of the opposite end receives the second RES byte, the fact that the link to be adjusted passes through the time slot continuity detection can be judged;
and when the states of all nodes of the link to be adjusted are consistent and pass through the time slot continuity detection, judging that the link to be adjusted passes through the link detection before the link bandwidth adjustment.
In the embodiment of the invention, on the premise of not modifying the link, the state and the time slot continuity of each node of the link are sequentially detected by using a mode that each node transfers RES bytes step by step, so that an accurate detection result is provided for the preparation work of link bandwidth adjustment.
Further, the node state detection process specifically includes the following steps:
a1, the end node determines the node state according to the preset link connection adjustment protocol, and after confirmation, the end node transfers the first RES byte to the opposite end step by step;
a2, the next node receives the first RES byte and detects the node state, when the current state of any node is different from the end node of the sending end, the transmission is terminated, otherwise, the step-by-step transmission is continued;
a3, when the opposite terminal receives the first RES byte, judging that the states of all nodes of the link to be adjusted are consistent.
In the embodiment of the invention, whether the state of each node is consistent is determined step by step, so that the state of each node of the link to be adjusted is detected, and the preorder detection of the link bandwidth adjustment is guaranteed.
As shown in fig. 3 and 4 of the attached drawings of the specification, in an actual operation process, when an ODUFlex service is created by a single disk, it is determined that the single disk belongs to an end node or an intermediate node according to a created service type;
the network management enables the ODUFlex node G.HAO function and configures a new time slot to be adjusted, the task monitoring finds that the service node G.HAO function is enabled, then judges if the node is an end node single disk, the network management continuously acquires the self G.HAO state, when the state is changed to GHAO _ BWR _ SETUP _2_ NCS (9), the link connection adjustment protocol state confirmation is completed, acquires whether the value of the back panel side RES _2_2 is 0x3 agreed in advance, if the value is 0x3, the network management shows that the states of all nodes of the downstream link are confirmed, a subsequent time slot continuity detection flow can be started, if the value is not 0x3, the TSC 2_2(0x3) is issued to the downstream node, namely the back panel direction, if the intermediate node single disk is, the network management continuously acquires the self G.HAO state, when the state is changed to GHAO _ BWR _ SETUP _1_ C (8) (the code shows that the new time slot is defined in the G.HAO time slot adjustment standard protocol ITU-G.7044), indicating that the link connection adjustment protocol status confirmation is completed, acquiring values of an optical port side and a backplane side RES2_2, when the value acquired by the optical port is 0x3, issuing RES _2_2(0x3) to the backplane side, when the value acquired by the backplane side is 0x3, issuing RES _2_2(0x3) to the optical port side, transmitting the g.hao status of each node step by the method, and finally, until both end nodes acquire the appointed RES2_2 value, completing the status confirmation of the first stage, setting a first stage flag bit lcr _ flag to 0, and simultaneously starting a slot continuity detection flow.
Further, the method comprises the following steps:
when the link bandwidth of the link to be adjusted is adjusted, circularly performing a state detection process and a time slot continuity detection process;
and after the adjustment of the link bandwidth is finished, terminating the state detection flow and the time slot continuity detection flow.
Further, the method comprises the following steps:
and when the states of all nodes of the link to be adjusted are inconsistent, releasing link bandwidth adjustment inhibition information.
Further, the method comprises the following steps:
the end nodes and the intermediate nodes acquire the self G.HAO state and judge the self node state according to the self G.HAO state.
As shown in fig. 3 and 4 of the drawings, in actual operation, the specific case of performing the slot continuity check procedure is as follows:
after the two end nodes finish the state confirmation of each node of the first-stage node state detection process, the TSCC is transmitted through the overhead RCOH, the TSCC belongs to high-order overhead and can only be automatically transmitted at an optical port side, the back board side still needs to continue the transmission of the whole link of the TSCC by inserting RES _2_1 with the value of 0x3 agreed in advance, for the middle node, the back board side receives RES _2_1(0x3) to start the transmission of the TSCC, if the TSCC is detected to be inserted downwards to the back board side by RES _2_1(0x3), through the method, the TSCC is transmitted from the source end to the sink end, and when the sink end receives the TSCC, NCS confirmation information is automatically sent to the source end, so that all nodes of the whole link start to simultaneously perform bandwidth lossless adjustment. During the adjustment process, each node continuously detects the state until the state is changed into GHAO _ NONE (0), which indicates the adjustment is finished, and automatically closes the GHAO enabling switch.
It should be noted that, in the embodiment of the present invention, during actual operation, the whole link is divided into end nodes and intermediate nodes, the node state confirmation in the first stage is initiated by the end nodes at both ends, the end nodes send an appointed RES byte (RES: reserved field in OTN overhead defined by g.709 protocol) to the downstream node after confirming their own state by comparing link connection adjustment protocol information, which is called RES1, after receiving RES1 sent from upstream, the intermediate line node compares whether its own node state is consistent with link connection adjustment protocol information, and if so, continues to transmit downstream until RES1 is transmitted to the end node at the other end;
the end node can start the detection of the second-stage time slot continuity after receiving the appointed byte, namely TSCC transmission is carried out, the RES appointed byte is also adopted and is called as RES2, the branch time slot continuity detection is finished after the end node at the other end receives RES2, so that all nodes on the whole link start to carry out bandwidth lossless adjustment at the same time, the adjustment process continuously checks the state of the node per se, and the G.HAO enabling switch is automatically closed after the node enters the completion state, so that the whole process is finished;
in order to realize the full-automatic adjustment without bandwidth loss by using two times of transmission of the overhead reserved byte RES, the first RES byte and the second RES byte respectively adopt two different bytes of OTN overhead 2 rows and 1 columns and 2 rows and 2 columns. The first RES byte of the first stage, RES1 transfer, is to the backplane direction for both end nodes and to both directions for the middle node (both directions are the optical port direction and the backplane direction); the TSCC at the second stage transfers the second RES byte, that is, RES2, because the TSCC belongs to high-order overhead (OTN overhead is divided into OTU overhead, ODU overhead, and OPU overhead, and OTU belongs to high-order overhead, where the TSCC transfer depends on the high-order overhead), the TSCC can be directly transferred in a high-order channel (OTU channel is the high-order channel), and for both end nodes and intermediate nodes, the tsc 2 only needs to be transferred in the direction of the backplane (after the OTN board card signal enters from the client side, the signal passes through the backplane to the cross disk).
Based on the same inventive concept, the present application provides an embodiment of a link detection system corresponding to the embodiment, which is detailed in the second embodiment
Example two
Referring to fig. 5, an embodiment of the present invention provides a link detection system, including:
a node extraction unit 1, configured to obtain an end node and an intermediate node of a link to be adjusted;
the node state detection unit 2 is used for controlling the end node to transmit the first RES byte to the opposite end step by step, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
a time slot continuity detection unit 3, configured to control the end node to perform TSCC transmission to the opposite end step by step according to the second RES byte, and when the opposite end receives the second RES byte, determine that the link to be adjusted passes time slot continuity detection;
and the detection result judging unit 4 is used for judging that the link to be adjusted passes link detection before link bandwidth adjustment when the states of all the nodes of the link to be adjusted are consistent and pass time slot continuity detection.
In the embodiment of the invention, when the bandwidth of the link to be adjusted needs to be adjusted, in order to ensure the smooth operation of the bandwidth adjustment, the condition of the link to be adjusted needs to be detected;
firstly, acquiring an end node and an intermediate node of a link to be adjusted, and providing an accurate detection direction for subsequent detection;
and further, detecting the node state, specifically developing a node state detection process, and when detecting the node state, the end node gradually transmits a first RES byte to the opposite end, wherein the judgment basis of the process is as follows: only when the node state of the first RES byte is received is consistent with the node state of the end node sending the first RES byte, the first RES byte can be received, namely the first RES byte can complete the step-by-step transmission, so that when the end node of the opposite end receives the first RES byte, the state of each node of the link to be adjusted can be judged to be consistent;
and then, detecting the time slot continuity, and transmitting the TSCC to the opposite end step by the end node, specifically transmitting a second RES byte, wherein the judgment basis of the time slot continuity detection process is as follows: only when the time slots of all the nodes have continuity, the end node of the opposite end receives the second RES byte, namely the second RES byte can complete the step-by-step transmission, so that when the end node of the opposite end receives the second RES byte, the fact that the link to be adjusted passes through the time slot continuity detection can be judged;
and when the states of all nodes of the link to be adjusted are consistent and pass through the time slot continuity detection, judging that the link to be adjusted passes through the link detection before the link bandwidth adjustment.
In the embodiment of the invention, on the premise of not modifying the link, the state and the time slot continuity of each node of the link are sequentially detected by using a mode that each node transfers RES bytes step by step, so that an accurate detection result is provided for the preparation work of link bandwidth adjustment.
Specifically, the node state detection unit 2 is further configured to control the end node to determine a node state of the end node according to a preset link connection adjustment protocol, and after the node state is determined, gradually transmit the first RES byte to the opposite end;
the node state detection unit 2 is further configured to control the next-stage node to receive the first RES byte and detect a node state of the next-stage node, where when a current state of any node is different from an end node of the sending end, the transmission is terminated, and otherwise, the step-by-step transmission is continued;
and the node state detection unit 2 is further configured to determine that the states of the nodes of the link to be adjusted are consistent when the opposite end receives the first RES byte.
In the embodiment of the invention, whether the state of each node is consistent is determined step by step, so that the state of each node of the link to be adjusted is detected, and the preorder detection of the link bandwidth adjustment is guaranteed.
Further, when the link bandwidth of the link to be adjusted is adjusted, the node state detection unit 2 performs state detection in a circulating manner;
when the link bandwidth of the link to be adjusted is adjusted, the time slot continuity detection unit 3 carries out time slot continuity detection in a circulating mode;
and after the adjustment of the link bandwidth is finished, terminating the state detection and the time slot continuity detection.
Specifically, the detection result determining unit 4 is configured to determine that the link to be adjusted does not pass link detection before link bandwidth adjustment when the states of the nodes of the link to be adjusted are inconsistent.
Further, the end nodes and the intermediate nodes judge the state of the nodes according to the G.HAO state of the end nodes and the intermediate nodes.
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
The fourth embodiment of the present invention further provides an apparatus, which includes a memory and a processor, wherein 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 method of link detection, the method comprising the steps of:
acquiring an end node and an intermediate node of a link to be adjusted;
and (3) node state detection flow: the end node transmits a first RES byte to the opposite end step by step, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
time slot continuity detection flow: the end node transmits TSCC to the opposite end step by step through a second RES byte, and when the opposite end receives the second RES byte, the link to be adjusted is judged to pass time slot continuity detection;
when the states of all nodes of the link to be adjusted are consistent and pass through time slot continuity detection, judging that the link to be adjusted passes through link detection before link bandwidth adjustment; wherein the content of the first and second substances,
in the time slot continuity detection process, the optical port side of the link to be adjusted transfers the TSCC through overhead RCOH, and the backplane side of the link to be adjusted sets the value of RES _2_1 as a preset value for continuing the TSCC link transfer.
2. The method according to claim 1, wherein the node status detection process specifically includes the steps of:
the end node determines the node state of the end node according to a preset link connection adjustment protocol, and after the node state is confirmed, the end node transmits the first RES byte to the opposite end step by step;
the next-stage node receives the first RES byte and detects the node state of the next-stage node, when the current state of any node is different from the end node of the sending end, the transmission is terminated, otherwise, the step-by-step transmission is continued;
and when the opposite end receives the first RES byte, judging that the states of all nodes of the link to be adjusted are consistent.
3. The method of claim 1, wherein the method comprises the steps of:
when the link to be adjusted adjusts the link bandwidth, the state detection process and the time slot continuity detection process are carried out in a circulating mode;
and after the adjustment of the link bandwidth is finished, terminating the state detection process and the time slot continuity detection process.
4. The method of claim 1, further comprising the steps of:
and when the states of all the nodes of the link to be adjusted are inconsistent, releasing link bandwidth adjustment inhibition information.
5. The method of claim 1, further comprising the steps of:
and the end node and the intermediate node acquire the self G.HAO state and judge the self node state according to the self G.HAO state.
6. A link detection system, the system comprising:
the node extraction unit is used for acquiring an end node and an intermediate node of a link to be adjusted;
the node state detection unit is used for controlling the end node to gradually transmit a first RES byte to the opposite end, and when the opposite end receives the first RES byte, the state of each node of the link to be adjusted is judged to be consistent;
a time slot continuity detection unit, configured to control the end node to perform TSCC transfer to the opposite end step by step according to a second RES byte, and when the opposite end receives the second RES byte, determine that the link to be adjusted passes time slot continuity detection;
a detection result determination unit, configured to determine that the link to be adjusted passes link detection before link bandwidth adjustment when states of nodes of the link to be adjusted are consistent and pass time slot continuity detection; wherein the content of the first and second substances,
in the time slot continuity detection process, the optical port side of the link to be adjusted transfers the TSCC through overhead RCOH, and the backplane side of the link to be adjusted sets the value of RES _2_1 as a preset value for continuing the TSCC link transfer.
7. The system of claim 6, wherein:
the node state detection unit is also used for controlling the end node to determine the node state of the end node according to a preset link connection adjustment protocol, and after the node state is determined, the node state detection unit transmits the first RES byte to the opposite end step by step;
the node state detection unit is also used for controlling a next-stage node to receive the first RES byte and detecting the state of the node per se, when the current state of any node is different from the end node of the sending end, the transmission is terminated, otherwise, the step-by-step transmission is continued;
and the node state detection unit is further configured to determine that the states of the nodes of the link to be adjusted are consistent when the opposite end receives the first RES byte.
8. The system of claim 6, wherein:
when the link to be adjusted carries out link bandwidth adjustment, the node state detection unit circularly carries out state detection;
when the link to be adjusted adjusts the link bandwidth, the time slot continuity detection unit circularly detects the time slot continuity;
and after the adjustment of the link bandwidth is finished, terminating the state detection and the time slot continuity detection.
9. The system of claim 6, wherein:
and the detection result judging unit is used for judging that the link to be adjusted does not pass link detection before link bandwidth adjustment when the states of all nodes of the link to be adjusted are inconsistent.
10. The system of claim 6, wherein:
and the end node and the intermediate node judge the state of the node according to the G.HAO state of the end node and the intermediate node.
CN202010530675.2A 2020-06-11 2020-06-11 Link detection method and system Active CN111865406B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010530675.2A CN111865406B (en) 2020-06-11 2020-06-11 Link detection method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010530675.2A CN111865406B (en) 2020-06-11 2020-06-11 Link detection method and system

Publications (2)

Publication Number Publication Date
CN111865406A CN111865406A (en) 2020-10-30
CN111865406B true CN111865406B (en) 2021-12-14

Family

ID=72986122

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010530675.2A Active CN111865406B (en) 2020-06-11 2020-06-11 Link detection method and system

Country Status (1)

Country Link
CN (1) CN111865406B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646105A (en) * 2008-08-07 2010-02-10 华为技术有限公司 Method, system and equipment for service recovery
CN106792972A (en) * 2016-11-30 2017-05-31 暨南大学 A kind of slot allocation method for meeting real time data bandwidth demand

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4920308B2 (en) * 2006-05-24 2012-04-18 株式会社日立製作所 Path setting method, node device, and monitoring control device
CN102215153B (en) * 2010-04-02 2014-11-05 华为技术有限公司 Bandwidth control method and communication node
CN102984605B (en) * 2011-09-07 2015-06-03 华为技术有限公司 Method and device for fault handing of optical channel bandwidth
EP2745476B1 (en) * 2011-10-20 2016-06-29 Telefonaktiebolaget LM Ericsson (publ) Resizing existing traffic flow in optical transport network
US9253067B2 (en) * 2011-11-04 2016-02-02 Infinera Corporation OAM in OTN networks: GMPLS signaling for TCM
US9136940B2 (en) * 2012-08-14 2015-09-15 Electronics And Telecommunications Research Institute Method for resizing network connection in the optical transport network supporting protection switching
JP6044313B2 (en) * 2012-12-11 2016-12-14 富士通株式会社 Transmission apparatus and transmission method
EP3020224B1 (en) * 2013-07-09 2021-03-17 LG Electronics Inc. Method for channel state report in wireless communication system and apparatus therefor
CN110446169A (en) * 2019-08-28 2019-11-12 惠州学院 The cooperation broadcast system and broadcasting method continuously relayed based on quantization mapping forwarding

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101646105A (en) * 2008-08-07 2010-02-10 华为技术有限公司 Method, system and equipment for service recovery
CN106792972A (en) * 2016-11-30 2017-05-31 暨南大学 A kind of slot allocation method for meeting real time data bandwidth demand

Also Published As

Publication number Publication date
CN111865406A (en) 2020-10-30

Similar Documents

Publication Publication Date Title
US4347606A (en) Method of frame synchronization of a digital TDM communication system and arrangement for performing the method
CN111539726A (en) Block chain consensus system and method
CN109995588B (en) Flexible Ethernet link management method and system
US9923661B2 (en) Device element, node device, and method and system for adjusting tunnel bandwidth
US3891804A (en) Asynchronous data transmission arrangement
US4575841A (en) Method and apparatus for through-connection testing in a digital telecommunication network
CN107402795A (en) A kind of firmware upgrade method and system
CA2134015A1 (en) Method for Automatically Adapting and Configurating the Speed of a Terminal Adapter to Either 56KPBS or 64KBPS in Accordance of the Actual Transmission Rate Being Used
CN111865406B (en) Link detection method and system
CN115801118A (en) Interface compensation parameter setting method and communication single board
US5070501A (en) Token passing type slotted loop network system with means for enabling high speed access control and simple frame slot stripping
CN109995548B (en) Device management method and system, data transmission method and system and terminal device
CN106708761A (en) Service message processing method and device
EP1355479A1 (en) An apparatus and method for processing information from a telecommunications network
US7525961B2 (en) Auto-adaptation to packet size on a physical medium
CN111464889B (en) Channel bandwidth adjusting method and system
CN108476245B (en) Method for establishing port connection and port chip
CN106506118B (en) The method and system that USXGMII multichannel IPG is accurately compensated
CN114363317A (en) File transmission method, system and medium based on multiple transmission protocols
US20030208709A1 (en) Data alignment for telecommunications networks
CN114531639A (en) Testing system and method of multi-channel audio module
CN109522256B (en) Serial port communication method, network equipment, control equipment and storage medium
CN113364641B (en) Loopback detection method and system for EOS (Ethernet over coax) service
CN111327357B (en) Method, terminal and controller for opening service
CN111586750A (en) Data sending and receiving method and device, electronic equipment and medium

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