WO2011147170A1 - Method, apparatus and system for channel detection - Google Patents

Method, apparatus and system for channel detection Download PDF

Info

Publication number
WO2011147170A1
WO2011147170A1 PCT/CN2010/079131 CN2010079131W WO2011147170A1 WO 2011147170 A1 WO2011147170 A1 WO 2011147170A1 CN 2010079131 W CN2010079131 W CN 2010079131W WO 2011147170 A1 WO2011147170 A1 WO 2011147170A1
Authority
WO
WIPO (PCT)
Prior art keywords
upper layer
layer protocol
channel
transmission network
network
Prior art date
Application number
PCT/CN2010/079131
Other languages
French (fr)
Chinese (zh)
Inventor
刘和洋
张美峰
李成刚
马彦强
李明辉
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2011147170A1 publication Critical patent/WO2011147170A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4633Interconnection of networks using encapsulation techniques, e.g. tunneling

Definitions

  • the present invention relates to the field of data transmission, and in particular, to a channel detection method, apparatus and system in a Universal Mobile Telecommunications System (UMTS) network.
  • UMTS Universal Mobile Telecommunications System
  • IUB, IUR, IUCS, NB and other interface transmissions are no longer purely Asynchronous Transfer Mode (ATM) / AAL2 or Internet Protocol (Internet Protocol, IP) / User Datagram Protocol (UDP), even an interface is composed of a mixture of ATM and IP, for example, the following IP and ATM transmission intermixed networking:
  • ATM Asynchronous Transfer Mode
  • IP Internet Protocol
  • UDP User Datagram Protocol
  • Network 1 Base station (NODEB) - ATM - Relay node 1 - IP - Relay node 2 - ATM - Radio Network Controller (RNC);
  • NODEB Base station
  • RNC Radio Network Controller
  • Network 2 NODEB - ATM - RNC - IP - RNC - ATM - Media GateWay, MGW.
  • FMP/F5 OAM using traditional ATM or ICMP of IP cannot detect end-to-end (for example, RNC to NODEB in network 1) user transmission channel failure.
  • End-to-end for example, RNC to NODEB in network 1
  • User Transport Channel A logical channel used by a user in a voice/data communication process, which is established at the beginning of communication and released at the end of communication, the channel spanning the access network and core network of UMTS, at each network node
  • the transport layer is identified by IP address + UDP port (PORT) or PORT + Virtual Path Identifier (VPI) + Virtual Channel Identifier (VCI) + Channel Flag (CID). Summary of the invention
  • the present invention provides a channel detection method, apparatus and system, which solves the problem that the existing channel detection method cannot detect the hybrid network.
  • a channel detection method includes:
  • the upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and sent to the second transmission network via the to-be-detected channel.
  • the upper layer protocol detection packet is an application layer packet.
  • the method further includes:
  • the method further includes:
  • the upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
  • the upper layer protocol detection response message carries the node information of the destination network node, and the upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and the channel to be detected is used.
  • the method further includes:
  • the detection initiation network node receives the upper layer protocol detection response message, extracts node information of the destination network node from the message, and records the node information, the packet delay, and the number of detections.
  • the above channel detection method further includes:
  • the invention also provides a network node, comprising:
  • a packet receiving module configured to: receive, by the channel to be detected, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network;
  • the packet forwarding module is configured to: parse the upper layer protocol detection packet and encapsulate it in an encapsulation format of the second transmission network, and send the packet to the second transmission network via the to-be-detected channel.
  • the detection packet receiving module is further configured to: receive, by the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network;
  • the detection packet forwarding module is further configured to: parse the upper layer protocol detection response message and encapsulate it in an encapsulation format of the first transmission network, and send the signal to the first transmission network via the to-be-detected channel.
  • the above network node also includes:
  • the detecting module is configured to: construct and send the upper layer protocol detection message, where the message carries a request for acquiring node information of a destination network node of the to-be-detected channel, and receives the upper layer protocol Detecting a response message, extracting node information of the destination network node from the message, and recording the node information, the packet delay, and the number of detections, and determining the to-be-waited according to the node information, the packet delay, and the number of detections. Detect the quality and congestion status of the channel.
  • the present invention also provides a channel detection system including an intermediate network node between a first transmission network and a second transmission network;
  • the intermediate network node is configured to: receive, by the to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network, and the upper layer protocol detection packet is sent The packet is parsed and encapsulated in an encapsulation format of the second transport network, and sent to the second transport network via the to-be-detected channel.
  • the intermediate network node is further configured to receive, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is used by the second transmission network.
  • the encapsulation format is encapsulated, and the upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
  • the present invention provides a channel failure method, apparatus, and system, when an intermediate network node between a first transmission network and a second transmission network receives an upper layer protocol detection message sent by the first transmission network via the channel to be detected,
  • the upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and is sent to the second transmission network by using the to-be-detected channel, and the upper layer protocol detection packet is independent of the bearer mode and the transmission network
  • the intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, and solves the problem that the hybrid network cannot be detected.
  • FIG. 1 is a flowchart of a channel detection method according to an embodiment of the present invention
  • FIG. 2 is a format diagram of an upper layer protocol detection message used in an embodiment of the present invention.
  • Figure 3 is a specific flow chart of step 103 in Figure 1;
  • FIG. 4 is a schematic diagram of completing a loopback detection of each node in a network by using a channel detection method provided by an embodiment of the present invention
  • FIG. 5 is a schematic structural diagram of a network node according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a network node according to another embodiment of the present invention.
  • the existing channel detecting method cannot detect the channel in the hybrid network. In addition, whether it is ATM OAM or IP ICMP, only the underlying transmission in the interface protocol stack can be detected, and the relevant information of the upper user instance cannot be detected, and the call can be opened without traffic and the public channel can be repeatedly deleted. Diagnosis of user instance issues.
  • embodiments of the present invention provide a channel detection method based on a user plane.
  • the intermediate network node forwards the upper layer protocol detection between the first transmission network and the second transmission network to complete the detection of the channel in the hybrid networking.
  • the first transmission network and the second transmission network may be an ATM transmission network or an IP transmission network.
  • the channel detection method provided is as shown in FIG. 1 for the channel detection process of the channel between two nodes in the network of the hybrid network, including:
  • Step 101 Detect a node structure and send an upper layer protocol detection packet.
  • the format of the upper layer protocol detection packet used in the embodiment of the present invention is as shown in FIG. 2, and the specific meanings of the fields are as follows:
  • Frame Type 8bit, used to identify the detection 4, to distinguish it from the service 4, such as the value OxFF;
  • Sub Type 8bit, used to detect the subtype of the packet. For example, 0x00 indicates the user plane instance request message, and 0x01 indicates the user plane instance response message. Other types can be extended.
  • Serial number (SN) 16bit, the sequence number of the detected packet, used to identify the only packet
  • Total TTL 8bit, the number of hops for user plane channel detection, that is, from the detection initiation point to the detection The number of hops that the packet is forwarded between points;
  • Current TTL 8bit, detects the current hop count of the packet, and detects the start of the request message and the upper layer protocol response message.
  • Current TTL Total TTL, the current TTL is decremented by 1 after each node;
  • Total length (16) used to identify the length of the packet, to check the correctness of the packet, and to process the extended TLV (TYPE-LENGTH-VALUE) field.
  • Extended field type (EXT Type), extended field length (EXT Length), and extended field value (EXT Value): TYPE, LENGTH, VALUE for detecting message extension
  • each message can carry multiple TLVs
  • the requesting side requires the respondent to fill in the field, and only the request content is filled in.
  • the requesting end transmits the information to the responding end through the TLV.
  • the requesting end can also record the status of the sending through the TLV, such as the time of recording and sending, etc.
  • the time and delay of the loopback can be calculated by comparing the transmission time and the time of receipt, and the detection results of multiple channels multiplexed on the same transmission link can be comprehensively analyzed to determine the transmission link. the quality of.
  • the node information of the destination node may be requested to be obtained in the upper layer protocol detection packet, for example, the TLV is used to enable the detection responder to provide the node information of the destination network node, including the office type, the signaling point code, and the IP address.
  • the upper layer protocol detection packet used in the embodiment of the present invention may be an application layer, a presentation layer, a session layer, or a transport layer protocol, and an application layer protocol is preferred.
  • the upper layer protocol detection packet is used as an application layer.
  • the text is taken as an example for explanation.
  • the upper layer protocol detection packet After the upper layer protocol detection packet is constructed, the upper layer protocol detection packet is sent to the destination network node via the to-be-detected channel, and the detection timer is started.
  • Step 102 The intermediate network node receives, by using the to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network.
  • the second transmission network is an example of an IP transmission network.
  • the intermediate network node of the to-be-detected channel receives the upper layer protocol detection packet sent from the first transmission network.
  • Step 103 The intermediate network node parses the upper layer protocol detection packet and encapsulates it in an encapsulation format of the second transmission network, and sends the signal to the second transmission network via the to-be-detected channel.
  • the upper layer protocol detection packet received by the intermediate network node is encapsulated in the encapsulation format of the first transmission network, so the upper layer protocol detection packet is parsed first, and then the parsed packet is processed according to the next step.
  • the closed format of the transport network ie, the second transport network
  • the process of forwarding the upper layer protocol detection packet is the same as that described in steps 102 and 103. Repeat the instructions.
  • the process of forwarding the upper layer protocol detection packet from the detection initiation network node to the destination network node is shown in Figure 1.
  • the upper layer protocol detection message is transmitted on the ATM adaptation layer and/or the transport layer, and the intermediate network node transmits the ATM transmission network.
  • the upper layer protocol detection packet is translated into an upper layer protocol detection message in the IP transmission network to continue forwarding, and arrives at the destination network node. For any network node, after receiving the packet, it needs to determine the nature of the packet and the processing method of the packet.
  • the specific process is shown in Figure 3, including:
  • Step 300 The network node receives the packet and checks the Frame Type field. If the value is OxFF, the packet is detected by the upper layer protocol, and the process proceeds to step 301. Otherwise, the packet is considered to be a normal service packet, according to the normal service flow. Processing, proceeds to step 305;
  • Step 302 Check the value of the Current TTL field of the detection request. If the Current TTL is 1, then the request message is terminated at the local node, and the process proceeds to step 104 to construct a feature response message. If the Current TTL is > 1, then If the value of this field in the detection request packet is decremented by 1, then go to step 305; if the Current TTL is another value, discard the 4 ⁇ text and end the process;
  • Step 304 Check the value of the Current TTL field of the upper layer protocol detection response message. If the Current TTL is 1, the response message is terminated at the local node, and the process proceeds to step 107. If the Current TTL is 1, the request is detected. If the value of this field is decremented by 1 in the text, go to step 305. If the Current TTL is another value, discard the message and end the process.
  • Step 305 Forward the user service channel according to a normal service flow.
  • Step 104 The destination network node detects and sends an upper layer protocol detection response message according to the upper layer protocol detection packet.
  • the destination network node If the detecting network node requests to acquire the node information of the destination network node in step 101, the destination network node encapsulates one or more TLVs in this step, and finally fills in Total; Length according to the length.
  • the destination network node After the upper layer protocol detects that the response message is completed, the destination network node performs the reverse forwarding of the upper layer protocol detection response message through the to-be-detected channel (the specific implementation can be performed by receiving the detection request message.
  • Logical channel identification IP address + UDP PORT or PORT + VPI + VCI + CID encapsulated transport layer header to the reverse of receiving the detection request message).
  • Step 105 The intermediate network node receives, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network.
  • step 102 For details, refer to step 102, and the description is not repeated here.
  • Step 106 The intermediate network node parses the upper layer protocol detection response file and encapsulates it in an encapsulation format of the first transmission network, and sends the information to the first transmission network via the to-be-detected channel. For details, see step 103. Repeat the explanation.
  • Step 107 The detecting initiation network node determines whether a channel to be detected is faulty.
  • the detection initiation network node determines whether the channel to be detected is faulty according to whether the upper layer protocol detection response message is received before the detection timer expires. If the upper layer protocol detection response message is received before the detection timer expires, the channel to be detected is considered to be normal; otherwise, the failure is considered to occur.
  • the node information of the destination network node may also be extracted and recorded.
  • the delay can also be calculated by sending an uplink protocol to detect the packet and receiving the uplink protocol to detect the response packet.
  • the channel quality and congestion degree can also be judged according to the statistical result, for example, by the maximum delay/minimum delay/average delay and the packet loss rate.
  • the channel fault detection method shown in Figure 1 can also be used to detect loopbacks of nodes in the network segment by segment to locate specific fault nodes and link quality, as shown in Figure 4.
  • the fault detection of the channel can be initiated by means of a timed trigger or by receiving an external command.
  • An embodiment of the present invention provides a channel detection method, where an intermediate network node between a first transmission network and a second transmission network receives an upper layer protocol detection message sent by the first transmission network through the channel to be detected, The upper layer protocol detects the packet and encapsulates it in an encapsulation format of the second transport network, and sends the packet to the second transport network via the to-be-detected channel, and the upper layer protocol detects the packet. Regardless of the bearer mode and the transport network, the intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, and solves the problem that the hybrid network cannot be detected.
  • the detection of the packet detection channel is independent of the bearer by the upper layer protocol, which is very suitable for the hybrid networking in the 3GPP evolution process.
  • the node information of the nodes at both ends of the channel and the delay of the transmission of the packets can be obtained, and the channel quality and congestion state are obtained, thereby further improving the channel detection in the hybrid networking.
  • the embodiment of the present invention further provides a network node, and the structure thereof is as shown in FIG. 5, and includes: a detection packet receiving module 501, configured to receive, by using a to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where The upper layer protocol detection packet is encapsulated in the encapsulation format of the first transmission network, and the detection packet forwarding module 502 is configured to parse the upper layer protocol detection packet and encapsulate the encapsulation format of the second transmission network.
  • the channel to be detected is transmitted to the second transmission network.
  • the detection packet receiving module 501 is further configured to receive, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is used by the second transmission network.
  • the encapsulation format encapsulation module 502 is further configured to parse the upper layer protocol detection response message and encapsulate the encapsulation format of the first transmission network, and send the first transmission to the first transmission network. The network sends.
  • the structure of the foregoing network node is as shown in FIG. 6, and further includes:
  • the detecting module 503 is configured to configure and send the upper layer protocol detection packet, where the packet carries a request for acquiring node information of the destination network node of the to-be-detected channel, and receives the upper layer protocol detection response message. And extracting node information of the destination network node from the message, and recording the node information, the packet delay, and the number of detections, and determining the quality of the to-be-detected channel according to the node information, the packet delay, and the number of detections. And congestion status.
  • An embodiment of the present invention further provides a channel detection system, including an intermediate network node between a first transmission network and a second transmission network;
  • the intermediate network node is configured to receive, by using a to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network, and the upper layer protocol detection packet is sent The packet is parsed and encapsulated in an encapsulation format of the second transport network, and sent to the second transport network via the to-be-detected channel.
  • the intermediate network node is further configured to receive, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network.
  • the upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
  • the foregoing network node and channel detection system may be combined with a channel detection method provided by an embodiment of the present invention, and an intermediate network node between the first transmission network and the second transmission network receives the first channel through the to-be-detected channel.
  • the upper layer protocol detection packet sent by the transmission network is parsed, the upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and sent to the second transmission network via the to-be-detected channel, and the upper layer protocol is detected.
  • the packet is not related to the bearer mode and the transport network.
  • the intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, which solves the problem that the hybrid network cannot be detected.
  • all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve.
  • the invention is not limited to any specific combination of hardware and software.
  • the devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • Each device/function module/functional unit in the above embodiments can be stored in a computer readable storage medium when implemented in the form of a software function module and sold or used as a standalone product.
  • the above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
  • the present invention provides a channel failure method, apparatus, and system, in which an intermediate network node between a first transmission network and a second transmission network receives an upper layer protocol detection report transmitted by a first transmission network via a channel to be detected.
  • the upper layer protocol detection packet is parsed and encapsulated in the encapsulation format of the second transmission network, and is sent to the second transmission network by using the to-be-detected channel, and the upper layer protocol detection packet, the bearer mode, and the transmission network.
  • the intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, and solves the problem that the hybrid network cannot be detected.

Abstract

The present invention discloses a method, an apparatus and a system for channel detection, which belongs to data transmission field and solves the problem that the channel detection method in the prior art can not perform detection in a hybrid network. The method includes that: an upper-layer protocol detection message sent from a first transmission network is received through a channel to be detected, wherein the upper-layer protocol detection message is encapsulated in the encapsulation format of the first transmission network; the upper-layer protocol detection message is parsed, encapsulated in the encapsulation format of a second transmission network, and transmitted to the second transmission network through the channel to be detected. The technical solution of the present invention is suitable for a Universal Mobile Telecommunications System (UMTS) network.

Description

信道检测方法、 装置和系统  Channel detection method, device and system
技术领域 Technical field
本发明涉及数据传输领域, 尤其涉及一种通用移动通信系统(Universal Mobile Telecommunications System, UMTS ) 网络中的信道检测方法、 装置和 系统。 背景技术  The present invention relates to the field of data transmission, and in particular, to a channel detection method, apparatus and system in a Universal Mobile Telecommunications System (UMTS) network. Background technique
随着第三代合作伙伴计划 (3rd Generation Partnership Project, 3GPP ) 的 演进, 宽带码分多址(Wideband Code Division Multiple Access, WCMDA ) 和时分同步的码分多址技术 ( Time Division- Synchronous Code Division Multiple Access, TDSCDMA )的传输体系结构也逐渐向全 IP演化: IUB、 IUR、 IUCS、 NB 等接口传输不再是纯粹全异步传输模式(Asynchronous Transfer Mode, ATM ) /AAL2或者互联网协议 ( Internet Protocol, IP ) /用户数据包协 议( User Datagram Protocol, UDP ) 的, 甚至一个接口都是由 ATM和 IP混 合组成, 例如以下 IP和 ATM传输相互混杂组网:  With the evolution of the 3rd Generation Partnership Project (3GPP), Wideband Code Division Multiple Access (WCMDA) and Time Division Synchronous Code Division Multiple (Time Division- Synchronous Code Division Multiple) Access, TDSCDMA) transmission architecture is also gradually evolving to all IP: IUB, IUR, IUCS, NB and other interface transmissions are no longer purely Asynchronous Transfer Mode (ATM) / AAL2 or Internet Protocol (Internet Protocol, IP) / User Datagram Protocol (UDP), even an interface is composed of a mixture of ATM and IP, for example, the following IP and ATM transmission intermixed networking:
组网 1 : 基站(NODEB ) —— ATM——中继节点 1—— IP——中继节点 2—— ATM——无线网络控制器( Radio Network Controller , RNC ) ;  Network 1: Base station (NODEB) - ATM - Relay node 1 - IP - Relay node 2 - ATM - Radio Network Controller (RNC);
组网 2: NODEB—— ATM—— RNC—— IP—— RNC—— ATM——媒体网 关 ( Media GateWay, MGW ) 。  Network 2: NODEB - ATM - RNC - IP - RNC - ATM - Media GateWay, MGW.
在混合组网情况下,利用传统 ATM的 F4/F5 OAM或者 IP的 ICMP都无 法检测端到端(例如组网 1中的 RNC到 NODEB )用户传输信道的故障。 (用 户传输信道: 用户在语音 /数据通信过程中使用的逻辑信道, 该信道在通信开 始时建立、 在通信结束时释放, 该信道跨越了 UMTS的接入网和核心网、 在 每个网络节点的传输层中以 IP地址 +UDP端口 ( PORT )或者 PORT+虚通道 标志 ( Virtual Path Identifier, VPI ) +虚通路标志 ( Virtual Channel Identifier, VCI ) +信道标志 ( CID )进行标识) 。 发明内容 In the case of hybrid networking, FMP/F5 OAM using traditional ATM or ICMP of IP cannot detect end-to-end (for example, RNC to NODEB in network 1) user transmission channel failure. (User Transport Channel: A logical channel used by a user in a voice/data communication process, which is established at the beginning of communication and released at the end of communication, the channel spanning the access network and core network of UMTS, at each network node The transport layer is identified by IP address + UDP port (PORT) or PORT + Virtual Path Identifier (VPI) + Virtual Channel Identifier (VCI) + Channel Flag (CID). Summary of the invention
本发明提供了一种信道检测方法、 装置和系统, 解决了现有信道检测方 法对混合组网无法检测的问题。  The present invention provides a channel detection method, apparatus and system, which solves the problem that the existing channel detection method cannot detect the hybrid network.
一种信道检测方法, 包括:  A channel detection method includes:
经待检测信道接收第一传输网络发送的上层协议检测报文, 所述上层协 议检测报文以该第一传输网络的封装格式封装; 以及  Receiving, by the channel to be detected, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network;
将所述上层协议检测报文解析并以第二传输网络的封装格式进行封装, 经所述待检测信道向所述第二传输网络发送。  The upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and sent to the second transmission network via the to-be-detected channel.
所述上层协议检测报文为应用层报文。  The upper layer protocol detection packet is an application layer packet.
所述经待检测信道接收第一传输网络发送的上层协议检测报文的步骤之 前, 还包括:  Before the step of receiving, by the to-be-detected channel, the upper layer protocol detection packet sent by the first transmission network, the method further includes:
检测发起网络节点构造并发送所述上层协议检测报文, 在所述报文中携 带获取所述待检测信道对端目的节点的节点信息的请求。  Detecting the originating network node and transmitting the upper layer protocol detection message, and carrying the request for acquiring the node information of the target node of the peer to be detected in the message.
所述将所述上层协议检测报文解析并以第二传输网络的封装格式进行封 装, 经所述待检测信道向所述第二传输网络发送的步骤之后, 还包括:  And the step of parsing the upper layer protocol detection packet and the encapsulation format of the second transmission network, and after the step of sending the to-be-detected channel to the second transmission network, the method further includes:
经所述待检测信道接收第二传输网络发送的上层协议检测应答报文, 所 述上层协议检测应答报文以该第二传输网络的封装格式封装; 以及  Receiving, by the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network;
将所述上层协议检测应答报文解析并以第一传输网络的封装格式进行封 装, 经所述待检测信道向所述第一传输网络发送。  The upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
所述上层协议检测应答报文中携带有所述目的网络节点的节点信息, 所 述将所述上层协议检测应答报文解析并以第一传输网络的封装格式进行封 装, 经所述待检测信道向所述第一传输网络发送的步骤之后, 还包括:  The upper layer protocol detection response message carries the node information of the destination network node, and the upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and the channel to be detected is used. After the step of sending to the first transmission network, the method further includes:
所述检测发起网络节点接收所述上层协议检测应答报文, 从该报文中提 取所述目的网络节点的节点信息, 并记录该节点信息、报文延迟和检测次数。  The detection initiation network node receives the upper layer protocol detection response message, extracts node information of the destination network node from the message, and records the node information, the packet delay, and the number of detections.
上述信道检测方法还包括:  The above channel detection method further includes:
根据所述节点信息、 报文延迟和检测次数, 判断所述待检测信道的质量 和拥塞状态。 本发明还提供了一种网络节点, 包括: Determining the quality and congestion status of the to-be-detected channel according to the node information, the message delay, and the number of detections. The invention also provides a network node, comprising:
检测报文接收模块, 其设置为: 经待检测信道接收第一传输网络发送的 上层协议检测报文, 所述上层协议检测报文以该第一传输网络的封装格式封 装; 以及  a packet receiving module, configured to: receive, by the channel to be detected, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network;
检测报文转发模块, 其设置为: 将所述上层协议检测报文解析并以第二 传输网络的封装格式进行封装,经所述待检测信道向所述第二传输网络发送。  The packet forwarding module is configured to: parse the upper layer protocol detection packet and encapsulate it in an encapsulation format of the second transmission network, and send the packet to the second transmission network via the to-be-detected channel.
所述检测报文接收模块还设置为: 经所述待检测信道接收第二传输网络 发送的上层协议检测应答报文, 所述上层协议检测应答报文以该第二传输网 络的封装格式封装;  The detection packet receiving module is further configured to: receive, by the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network;
所述检测报文转发模块还设置为: 将所述上层协议检测应答报文解析并 以第一传输网络的封装格式进行封装, 经所述待检测信道向所述第一传输网 络发送。  The detection packet forwarding module is further configured to: parse the upper layer protocol detection response message and encapsulate it in an encapsulation format of the first transmission network, and send the signal to the first transmission network via the to-be-detected channel.
上述网络节点, 还包括:  The above network node also includes:
检测模块, 所述检测模块设置为: 构造并发送所述上层协议检测报文, 在所述报文中携带获取所述待检测信道对端目的网络节点的节点信息的请 求, 接收所述上层协议检测应答报文, 从该报文中提取所述目的网络节点的 节点信息, 并记录该节点信息、 报文延迟和检测次数, 根据所述节点信息、 报文延迟和检测次数, 判断所述待检测信道的质量和拥塞状态。  a detecting module, the detecting module is configured to: construct and send the upper layer protocol detection message, where the message carries a request for acquiring node information of a destination network node of the to-be-detected channel, and receives the upper layer protocol Detecting a response message, extracting node information of the destination network node from the message, and recording the node information, the packet delay, and the number of detections, and determining the to-be-waited according to the node information, the packet delay, and the number of detections. Detect the quality and congestion status of the channel.
本发明还提供了一种信道检测系统, 包括第一传输网络和第二传输网络 间的中间网络节点; The present invention also provides a channel detection system including an intermediate network node between a first transmission network and a second transmission network;
所述中间网络节点设置为: 经待检测信道接收第一传输网络发送的上层 协议检测报文, 所述上层协议检测报文以该第一传输网络的封装格式封装, 将所述上层协议检测报文解析并以第二传输网络的封装格式进行封装, 经所 述待检测信道向所述第二传输网络发送。  The intermediate network node is configured to: receive, by the to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network, and the upper layer protocol detection packet is sent The packet is parsed and encapsulated in an encapsulation format of the second transport network, and sent to the second transport network via the to-be-detected channel.
所述中间网络节点还设置为: 经所述待检测信道接收第二传输网络发送 的上层协议检测应答报文, 所述上层协议检测应答报文以该第二传输网络的 封装格式封装, 将所述上层协议检测应答报文解析并以第一传输网络的封装 格式进行封装, 经所述待检测信道向所述第一传输网络发送。 The intermediate network node is further configured to receive, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is used by the second transmission network. The encapsulation format is encapsulated, and the upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
本发明提供了一种信道故障方法、 装置和系统, 处在第一传输网络和第 二传输网络之间的中间网络节点经待检测信道接收到第一传输网络发送的上 层协议检测报文时, 将所述上层协议检测报文解析并以第二传输网络的封装 格式进行封装, 经所述待检测信道向所述第二传输网络发送, 上层协议检测 报文与承载方式和传输网络无关, 由中间网络节点完成上层协议检测报文在 不同网络间的转发, 解决了对混合组网无法检测的问题。 The present invention provides a channel failure method, apparatus, and system, when an intermediate network node between a first transmission network and a second transmission network receives an upper layer protocol detection message sent by the first transmission network via the channel to be detected, The upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and is sent to the second transmission network by using the to-be-detected channel, and the upper layer protocol detection packet is independent of the bearer mode and the transmission network, The intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, and solves the problem that the hybrid network cannot be detected.
附图概述 BRIEF abstract
图 1为本发明的实施例提供的一种信道检测方法的流程图;  FIG. 1 is a flowchart of a channel detection method according to an embodiment of the present invention;
图 2为本发明的实施例所使用的上层协议检测报文的格式图;  2 is a format diagram of an upper layer protocol detection message used in an embodiment of the present invention;
图 3为图 1中步骤 103的具体流程图;  Figure 3 is a specific flow chart of step 103 in Figure 1;
图 4为使用本发明的实施例所提供的信道检测方法完成对网络中各节点 逐段环回检测的示意图; 图 5为本发明的实施例提供的一种网络节点的结构示意图;  4 is a schematic diagram of completing a loopback detection of each node in a network by using a channel detection method provided by an embodiment of the present invention; FIG. 5 is a schematic structural diagram of a network node according to an embodiment of the present invention;
图 6为本发明的又一实施例提供的一种网络节点的结构示意图。  FIG. 6 is a schematic structural diagram of a network node according to another embodiment of the present invention.
本发明的较佳实施方式 现有信道检测方法无法对混合组网中的信道进行检测。 此外, 无论是 ATM的 OAM、 还是 IP的 ICMP, 仅能对接口协议栈中底层传输进行检测, 无法检测到上层用户实例的相关信息, 也就无法实现对电话打通无流量、 公 共信道反复删建等用户实例问题的诊断。 BEST MODE FOR CARRYING OUT THE INVENTION The existing channel detecting method cannot detect the channel in the hybrid network. In addition, whether it is ATM OAM or IP ICMP, only the underlying transmission in the interface protocol stack can be detected, and the relevant information of the upper user instance cannot be detected, and the call can be opened without traffic and the public channel can be repeatedly deleted. Diagnosis of user instance issues.
为了解决以上问题, 本发明的实施例提供了一种基于用户面的信道检测 方法。 本发明实施例中, 中间网络节点在第一传输网络与第二传输网络之间 转发上层协议检测 4艮文, 以完成在混合组网中对信道的检测。 第一传输网络 与第二传输网络可以为 ATM传输网络或 IP传输网络。 使用本发明的实施例 提供的信道检测方法, 对混合组网的网络中两节点间信道完成信道检测的流 程如图 1所示, 包括: In order to solve the above problems, embodiments of the present invention provide a channel detection method based on a user plane. In the embodiment of the present invention, the intermediate network node forwards the upper layer protocol detection between the first transmission network and the second transmission network to complete the detection of the channel in the hybrid networking. The first transmission network and the second transmission network may be an ATM transmission network or an IP transmission network. Use of an embodiment of the invention The channel detection method provided is as shown in FIG. 1 for the channel detection process of the channel between two nodes in the network of the hybrid network, including:
步骤 101、 检测节点构造并发送上层协议检测报文;  Step 101: Detect a node structure and send an upper layer protocol detection packet.
本发明实施例所使用的上层协议检测报文的格式如图 2所示, 各字段的 具体含义如下:  The format of the upper layer protocol detection packet used in the embodiment of the present invention is as shown in FIG. 2, and the specific meanings of the fields are as follows:
帧类型 (Frame Type ) : 8bit, 用于标识检测 4艮文, 以与业务 4艮文区分, 如取值为 OxFF;  Frame Type: 8bit, used to identify the detection 4, to distinguish it from the service 4, such as the value OxFF;
子类型 (Sub Type ) : 8bit, 用于检测报文的子类型, 如 0x00表示用户 面实例请求报文, 0x01表示用户面实例应答报文, 可扩展其他类型;  Sub Type (Sub Type): 8bit, used to detect the subtype of the packet. For example, 0x00 indicates the user plane instance request message, and 0x01 indicates the user plane instance response message. Other types can be extended.
序列号 (SN ) : 16bit, 检测报文的序号, 用于标识唯——条报文; 总跳数( Total TTL ): 8bit, 用户面信道检测的跳数, 即从检测发起点到 被检测点之间报文被转发的跳数;  Serial number (SN): 16bit, the sequence number of the detected packet, used to identify the only packet; Total TTL: 8bit, the number of hops for user plane channel detection, that is, from the detection initiation point to the detection The number of hops that the packet is forwarded between points;
当前跳数( Current TTL ): 8bit, 检测报文当前的跳数, 检测请求报文和 上层协议检测应答报文的起始 Current TTL = Total TTL, 每经过一个节点 Current TTL递减 1;  Current TTL: 8bit, detects the current hop count of the packet, and detects the start of the request message and the upper layer protocol response message. Current TTL = Total TTL, the current TTL is decremented by 1 after each node;
总长度(Total Length ) : 16bit, 用于标识报文的长度, 以检查报文正确 性、 处理后面 TLV ( TYPE-LENGTH- VALUE )扩展域;  Total length (16), used to identify the length of the packet, to check the correctness of the packet, and to process the extended TLV (TYPE-LENGTH-VALUE) field.
扩展字段类型 (EXT Type ) 、 扩展字段长度(EXT Length ) 、 扩展字段 取值 ( EXT Value ): 分别为检测报文扩展的 TYPE、 LENGTH, VALUE, 每 个报文可以携带多个 TLV, —般情况下, 请求端要求应答端填写的字段只需 填写请求内容, 请求端通过 TLV传递信息给应答端, 另外请求端还可以通过 TLV记录发送时的状态, 例如记录发送的时间, 等收到检测应答时, 比较发 送时间和收到时间即可计算出 ^艮文环回的时间和延迟, 还可以对同一传输链 路上复用的多条信道的检测结果进行综合分析, 从而确定传输链路的质量。  Extended field type (EXT Type), extended field length (EXT Length), and extended field value (EXT Value): TYPE, LENGTH, VALUE for detecting message extension, each message can carry multiple TLVs, In the case, the requesting side requires the respondent to fill in the field, and only the request content is filled in. The requesting end transmits the information to the responding end through the TLV. In addition, the requesting end can also record the status of the sending through the TLV, such as the time of recording and sending, etc. In response, the time and delay of the loopback can be calculated by comparing the transmission time and the time of receipt, and the detection results of multiple channels multiplexed on the same transmission link can be comprehensively analyzed to determine the transmission link. the quality of.
现举例对本发明实施例所使用的上层协议检测报文进行说明,具体如下: The description of the upper layer protocol detection packet used in the embodiment of the present invention is as follows:
Frame Type = OxFF; Sub Type = 0x00; SN对同一被检测点从 0开始, 每发送一次累力口 1 ; Total 11^=检测的 ϋ数; Current TTL = Total TTL; EXT Type, EXT Length, EXT Value可以根据需要定义, 例如 Type为发起检测的 时间、 Length代表后面 Value的长度、 Value记录当前时间。 Frame Type = OxFF; Sub Type = 0x00; SN starts from 0 for the same detected point, and sends a forced port 1 every time; Total 11^= detected turns; Current TTL = Total TTL; EXT Type, EXT Length, EXT Value can be defined as needed, for example Type is to initiate detection Time, Length represents the length of the following Value, and Value records the current time.
可选的,还可以在该上层协议检测报文中请求获取目的节点的节点信息, 如通过 TLV让检测应答方提供目的网络节点的节点信息, 包括局类型、 信令 点码、 IP地址等。  Optionally, the node information of the destination node may be requested to be obtained in the upper layer protocol detection packet, for example, the TLV is used to enable the detection responder to provide the node information of the destination network node, including the office type, the signaling point code, and the IP address.
本发明的实施例所使用的上层协议检测报文, 可以为应用层、 表示层、 会话层或传输层协议, 优选应用层协议, 本发明实施例以该上层协议检测报 文为应用层 ^艮文为例进行说明。  The upper layer protocol detection packet used in the embodiment of the present invention may be an application layer, a presentation layer, a session layer, or a transport layer protocol, and an application layer protocol is preferred. In this embodiment of the present invention, the upper layer protocol detection packet is used as an application layer. The text is taken as an example for explanation.
在构造完上层协议检测报文后, 即可将该上层协议检测报文经由待检测 信道, 向目的网络节点方向发出, 并启动检测定时器。  After the upper layer protocol detection packet is constructed, the upper layer protocol detection packet is sent to the destination network node via the to-be-detected channel, and the detection timer is started.
步骤 102、 中间网络节点经待检测信道接收第一传输网络发送的上层协 议检测报文, 所述上层协议检测报文以该第一传输网络的封装格式封装; 本发明实施例以第一传输网络为 ATM传输网络, 第二传输网络为 IP传 输网络为例进行说明。  Step 102: The intermediate network node receives, by using the to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network. For the ATM transmission network, the second transmission network is an example of an IP transmission network.
本步骤中, 待检测信道的中间网络节点接收到自第一传输网络发送过来 的上层协议检测报文。  In this step, the intermediate network node of the to-be-detected channel receives the upper layer protocol detection packet sent from the first transmission network.
步骤 103、 中间网络节点将所述上层协议检测报文解析并以第二传输网 络的封装格式进行封装, 经所述待检测信道向所述第二传输网络发送;  Step 103: The intermediate network node parses the upper layer protocol detection packet and encapsulates it in an encapsulation format of the second transmission network, and sends the signal to the second transmission network via the to-be-detected channel.
本步骤中, 由于中间网络节点接收到的上层协议检测报文是以第一传输 网络的封装格式封装的, 故首先对该上层协议检测报文进行解析, 再对解析 得到的报文按照接下来的传输网络(即第二传输网络)的封闭格式进行封装, 封装完成后, 经由待检测信道向第二传输网络发送。  In this step, the upper layer protocol detection packet received by the intermediate network node is encapsulated in the encapsulation format of the first transmission network, so the upper layer protocol detection packet is parsed first, and then the parsed packet is processed according to the next step. The closed format of the transport network (ie, the second transport network) is encapsulated, and after the encapsulation is completed, is sent to the second transport network via the to-be-detected channel.
上层协议检测报文在发出后, 需要经过若干中间网络节点的转发, 才能 到达目的节点, 各中间网络节点转发上层协议检测报文的流程与步骤 102及 步骤 103所述流程相同, 在此不再重复说明。 上层协议检测报文从检测发起 网络节点转发至目的网络节点的过程参见图 1 ,上层协议检测报文在 ATM适 配层和 /或传输层之上传输, 中间网络节点将 ATM传输网络中传输过来的上 层协议检测报文转化为 IP传输网络中的上层协议检测报文继续转发, 到达目 的网络节点。 对于任一网络节点来说, 在接收到报文后都需要判断, 以确定报文的性 质及对报文的处理方法, 具体流程见图 3 , 包括: After the upper layer protocol detection packet is sent, it needs to be forwarded by some intermediate network nodes to reach the destination node. The process of forwarding the upper layer protocol detection packet is the same as that described in steps 102 and 103. Repeat the instructions. The process of forwarding the upper layer protocol detection packet from the detection initiation network node to the destination network node is shown in Figure 1. The upper layer protocol detection message is transmitted on the ATM adaptation layer and/or the transport layer, and the intermediate network node transmits the ATM transmission network. The upper layer protocol detection packet is translated into an upper layer protocol detection message in the IP transmission network to continue forwarding, and arrives at the destination network node. For any network node, after receiving the packet, it needs to determine the nature of the packet and the processing method of the packet. The specific process is shown in Figure 3, including:
步骤 300、 网络节点收到报文,检查 Frame Type字段,如果取值是 OxFF, 则为上层协议检测报文, 转入步骤 301 , 否则认为该报文为普通的业务报文, 按照正常业务流程处理, 转入步骤 305;  Step 300: The network node receives the packet and checks the Frame Type field. If the value is OxFF, the packet is detected by the upper layer protocol, and the process proceeds to step 301. Otherwise, the packet is considered to be a normal service packet, according to the normal service flow. Processing, proceeds to step 305;
步骤 301、 检查 Sub Type字段, 如果 Sub Type = 0x00, 则是特征请求报 文, 转入步骤 302处理, 否则转入步骤 303;  Step 301: Check the Sub Type field, if Sub Type = 0x00, it is a feature request message, and proceeds to step 302, otherwise proceeds to step 303;
步骤 302、查看检测请求 ^艮文 Current TTL字段取值,若 Current TTL = 1 , 则认为此请求报文要终结于本节点, 转入步骤 104 构造特征应答报文; 若 Current TTL > 1 , 则将检测请求报文中此字段取值减 1 , 则转入步骤 305; 如 Current TTL为其他值, 直接丟弃 4艮文, 结束流程;  Step 302: Check the value of the Current TTL field of the detection request. If the Current TTL is 1, then the request message is terminated at the local node, and the process proceeds to step 104 to construct a feature response message. If the Current TTL is > 1, then If the value of this field in the detection request packet is decremented by 1, then go to step 305; if the Current TTL is another value, discard the 4 艮 text and end the process;
步骤 303、 如果 Sub Type = 0x01 , 则是特征应答 4艮文, 转入步骤 304处 理; 如果两者皆不是, 则丟弃报文, 结束流程;  Step 303: If Sub Type = 0x01, it is a feature response message, and proceeds to step 304; if both are not, the message is discarded, and the process ends;
步骤 304、查看上层协议检测应答报文 Current TTL字段取值, 若 Current TTL = 1 , 则认为此应答报文要终结于本节点, 转入步骤 107; 若 Current TTL > 1 , 则将检测请求 ^艮文中此字段取值减 1 , 则转入步骤 305; 如 Current TTL 为其他值, 直接丟弃^艮文, 结束流程。  Step 304: Check the value of the Current TTL field of the upper layer protocol detection response message. If the Current TTL is 1, the response message is terminated at the local node, and the process proceeds to step 107. If the Current TTL is 1, the request is detected. If the value of this field is decremented by 1 in the text, go to step 305. If the Current TTL is another value, discard the message and end the process.
步骤 305、 在用户业务信道按照正常的业务流程转发。  Step 305: Forward the user service channel according to a normal service flow.
步骤 104、 目的网络节点根据所述上层协议检测报文, 构建并发送上层 协议检测应答报文;  Step 104: The destination network node detects and sends an upper layer protocol detection response message according to the upper layer protocol detection packet.
本步骤中, 目的网络节点构造上层协议检测应答报文: Frame Type = OxFF; Sub Type = 0x01 ; SN=检测请求报文的 SN; Total TTL =检测请求报 文的 Total TTL; Current TTL = Total TTL。  In this step, the destination network node constructs an upper layer protocol detection response message: Frame Type = OxFF; Sub Type = 0x01; SN = SN of the detection request message; Total TTL = Total TTL of the detection request message; Current TTL = Total TTL .
如果步骤 101 中检测发起网络节点请求获取目的网络节点的节点信息, 则本步骤中目的网络节点封装一个或多个 TLV, 最后根据长度填写 Total ; Length。  If the detecting network node requests to acquire the node information of the destination network node in step 101, the destination network node encapsulates one or more TLVs in this step, and finally fills in Total; Length according to the length.
构造上层协议检测应答报文完成后, 目的网络节点将该上层协议检测应 答报文通过待检测信道执行反向转发(具体实现可通过收到检测请求报文的 逻辑信道标识 IP地址 +UDP PORT或 PORT+VPI+VCI+CID封装传输层头向 收到检测请求报文的反向进行装) 。 After the upper layer protocol detects that the response message is completed, the destination network node performs the reverse forwarding of the upper layer protocol detection response message through the to-be-detected channel (the specific implementation can be performed by receiving the detection request message. Logical channel identification IP address + UDP PORT or PORT + VPI + VCI + CID encapsulated transport layer header to the reverse of receiving the detection request message).
步骤 105、 中间网络节点经所述待检测信道接收第二传输网络发送的上 层协议检测应答报文, 所述上层协议检测应答报文以该第二传输网络的封装 格式封装;  Step 105: The intermediate network node receives, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network.
具体参见步骤 102, 在此不再重复说明。  For details, refer to step 102, and the description is not repeated here.
步骤 106、 中间网络节点将所述上层协议检测应答 文解析并以第一传 输网络的封装格式进行封装, 经所述待检测信道向所述第一传输网络发送; 具体参见步骤 103 , 在此不再重复说明。  Step 106: The intermediate network node parses the upper layer protocol detection response file and encapsulates it in an encapsulation format of the first transmission network, and sends the information to the first transmission network via the to-be-detected channel. For details, see step 103. Repeat the explanation.
步骤 107、 检测发起网络节点判断待检测信道是否发生故障;  Step 107: The detecting initiation network node determines whether a channel to be detected is faulty.
本步骤中, 检测发起网络节点根据是否在检测定时器超时前接收到上层 协议检测应答报文来判断待检测信道是否故障。 如果在该检测定时器超时前 接收到上层协议检测应答报文, 则认为待检测信道正常; 否则, 即认为出现 故障。  In this step, the detection initiation network node determines whether the channel to be detected is faulty according to whether the upper layer protocol detection response message is received before the detection timer expires. If the upper layer protocol detection response message is received before the detection timer expires, the channel to be detected is considered to be normal; otherwise, the failure is considered to occur.
如果步骤 101 中在上层协议检测报文内请求了获取目的网络节点的节点 信息, 则本步骤中, 还可以提取并记录该目的网络节点的节点信息。 还可以 通过发送上行协议检测报文的时候和接收上行协议检测应答报文的时间计算 时延。 向同一目的网络节点多次发出上层协议检测报文并记录检测相关信息 后, 还可以根据统计的结果判断信道质量和拥塞程度, 如通过最大延迟 /最小 延迟 /平均延迟和丟包率进行判断。  If the node information of the destination network node is requested in the upper layer protocol detection message in step 101, in this step, the node information of the destination network node may also be extracted and recorded. The delay can also be calculated by sending an uplink protocol to detect the packet and receiving the uplink protocol to detect the response packet. After the upper-layer protocol detection message is sent to the same destination network node multiple times and the detection related information is recorded, the channel quality and congestion degree can also be judged according to the statistical result, for example, by the maximum delay/minimum delay/average delay and the packet loss rate.
还可以通过图 1所示的信道故障检测方法, 对网络中各节点逐段环回检 测, 以定位具体的故障节点和链路质量, 如图 4所示。 信道的故障检测可以 釆用定时触发的方式, 也可以接收外部指令而启动。  The channel fault detection method shown in Figure 1 can also be used to detect loopbacks of nodes in the network segment by segment to locate specific fault nodes and link quality, as shown in Figure 4. The fault detection of the channel can be initiated by means of a timed trigger or by receiving an external command.
本发明的实施例提供了一种信道检测方法, 处在第一传输网络和第二传 输网络之间的中间网络节点经待检测信道接收到第一传输网络发送的上层协 议检测报文时, 将所述上层协议检测报文解析并以第二传输网络的封装格式 进行封装, 经所述待检测信道向所述第二传输网络发送, 上层协议检测报文 与承载方式和传输网络无关, 由中间网络节点完成上层协议检测报文在不同 网络间的转发, 解决了对混合组网无法检测的问题。 随路检测, 不需要建立 专门的检测信道, 不需要控制面参与, 无需测试仪, 节约了成本, 实利信道 测试更加简便。 与 ICMP、 ATMOAM等信道检测方法相比较, 通过上层协议 检测报文检测信道与承载无关的, 非常适合 3GPP演进过程中的混合组网。 通过对混合组网的信道进行检测, 可以获取信道两端节点的节点信息和传输 才艮文的时延等, 进而获知信道质量和拥塞状态, 进一步完善了混合组网中的 信道检测。 An embodiment of the present invention provides a channel detection method, where an intermediate network node between a first transmission network and a second transmission network receives an upper layer protocol detection message sent by the first transmission network through the channel to be detected, The upper layer protocol detects the packet and encapsulates it in an encapsulation format of the second transport network, and sends the packet to the second transport network via the to-be-detected channel, and the upper layer protocol detects the packet. Regardless of the bearer mode and the transport network, the intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, and solves the problem that the hybrid network cannot be detected. With the detection of the channel, there is no need to establish a dedicated detection channel, no control plane participation is required, no tester is needed, and the cost is saved, and the channel test is more convenient. Compared with the channel detection methods such as ICMP and ATMOAM, the detection of the packet detection channel is independent of the bearer by the upper layer protocol, which is very suitable for the hybrid networking in the 3GPP evolution process. By detecting the channel of the hybrid network, the node information of the nodes at both ends of the channel and the delay of the transmission of the packets can be obtained, and the channel quality and congestion state are obtained, thereby further improving the channel detection in the hybrid networking.
本发明的实施例还提供了一种网络节点, 其结构如图 5所示, 包括: 检测报文接收模块 501 , 用于经待检测信道接收第一传输网络发送的上 层协议检测报文,所述上层协议检测报文以该第一传输网络的封装格式封装; 检测报文转发模块 502, 用于将所述上层协议检测报文解析并以第二传 输网络的封装格式进行封装, 经所述待检测信道向所述第二传输网络发送。 The embodiment of the present invention further provides a network node, and the structure thereof is as shown in FIG. 5, and includes: a detection packet receiving module 501, configured to receive, by using a to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where The upper layer protocol detection packet is encapsulated in the encapsulation format of the first transmission network, and the detection packet forwarding module 502 is configured to parse the upper layer protocol detection packet and encapsulate the encapsulation format of the second transmission network. The channel to be detected is transmitted to the second transmission network.
进一步的, 所述检测报文接收模块 501 , 还用于经所述待检测信道接收 第二传输网络发送的上层协议检测应答报文, 所述上层协议检测应答报文以 该第二传输网络的封装格式封装; 所述检测报文转发模块 502, 还用于将所述上层协议检测应答报文解析 并以第一传输网络的封装格式进行封装, 经所述待检测信道向所述第一传输 网络发送。  Further, the detection packet receiving module 501 is further configured to receive, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is used by the second transmission network. The encapsulation format encapsulation module 502 is further configured to parse the upper layer protocol detection response message and encapsulate the encapsulation format of the first transmission network, and send the first transmission to the first transmission network. The network sends.
进一步的, 上述网络节点的结构如图 6所示, 还包括: Further, the structure of the foregoing network node is as shown in FIG. 6, and further includes:
检测模块 503 , 用于构造并发送所述上层协议检测报文, 在所述报文中 携带获取所述待检测信道对端目的网络节点的节点信息的请求, 接收所述上 层协议检测应答报文, 从该报文中提取所述目的网络节点的节点信息, 并记 录该节点信息、 报文延迟和检测次数, 根据所述节点信息、 报文延迟和检测 次数, 判断所述待检测信道的质量和拥塞状态。 本发明的实施例还提供了一种信道检测系统, 包括第一传输网络和第二 传输网络间的中间网络节点; The detecting module 503 is configured to configure and send the upper layer protocol detection packet, where the packet carries a request for acquiring node information of the destination network node of the to-be-detected channel, and receives the upper layer protocol detection response message. And extracting node information of the destination network node from the message, and recording the node information, the packet delay, and the number of detections, and determining the quality of the to-be-detected channel according to the node information, the packet delay, and the number of detections. And congestion status. An embodiment of the present invention further provides a channel detection system, including an intermediate network node between a first transmission network and a second transmission network;
所述中间网络节点, 用于经待检测信道接收第一传输网络发送的上层协 议检测报文, 所述上层协议检测报文以该第一传输网络的封装格式封装, 将 所述上层协议检测报文解析并以第二传输网络的封装格式进行封装, 经所述 待检测信道向所述第二传输网络发送。  The intermediate network node is configured to receive, by using a to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network, and the upper layer protocol detection packet is sent The packet is parsed and encapsulated in an encapsulation format of the second transport network, and sent to the second transport network via the to-be-detected channel.
进一步的, 所述中间网络节点, 还用于经所述待检测信道接收第二传输 网络发送的上层协议检测应答报文, 所述上层协议检测应答报文以该第二传 输网络的封装格式封装, 将所述上层协议检测应答报文解析并以第一传输网 络的封装格式进行封装, 经所述待检测信道向所述第一传输网络发送。  Further, the intermediate network node is further configured to receive, by using the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network. The upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
上述网络节点和信道检测系统, 可以与本发明的实施例提供的一种信道 检测方法相结合, 处在第一传输网络和第二传输网络之间的中间网络节点经 待检测信道接收到第一传输网络发送的上层协议检测报文时, 将所述上层协 议检测报文解析并以第二传输网络的封装格式进行封装, 经所述待检测信道 向所述第二传输网络发送, 上层协议检测报文与承载方式和传输网络无关, 由中间网络节点完成上层协议检测报文在不同网络间的转发, 解决了对混合 组网无法检测的问题。 The foregoing network node and channel detection system may be combined with a channel detection method provided by an embodiment of the present invention, and an intermediate network node between the first transmission network and the second transmission network receives the first channel through the to-be-detected channel. When the upper layer protocol detection packet sent by the transmission network is parsed, the upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and sent to the second transmission network via the to-be-detected channel, and the upper layer protocol is detected. The packet is not related to the bearer mode and the transport network. The intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, which solves the problem that the hybrid network cannot be detected.
本领域普通技术人员可以理解上述实施例的全部或部分步骤可以使用计 算机程序流程来实现,所述计算机程序可以存储于一计算机可读存储介质中, 所述计算机程序在相应的硬件平台上(如系统、 设备、 装置、 器件等)执行, 在执行时, 包括方法实施例的步骤之一或其组合。 It will be understood by those skilled in the art that all or part of the steps of the above embodiments may be implemented using a computer program flow, which may be stored in a computer readable storage medium, such as on a corresponding hardware platform (eg, The system, device, device, device, etc. are executed, and when executed, include one or a combination of the steps of the method embodiments.
可选地, 上述实施例的全部或部分步骤也可以使用集成电路来实现, 这 些步骤可以被分别制作成一个个集成电路模块, 或者将它们中的多个模块或 步骤制作成单个集成电路模块来实现。 这样, 本发明不限制于任何特定的硬 件和软件结合。 上述实施例中的各装置 /功能模块 /功能单元可以釆用通用的计算装置来 实现, 它们可以集中在单个的计算装置上, 也可以分布在多个计算装置所组 成的网络上。 Optionally, all or part of the steps of the foregoing embodiments may also be implemented by using an integrated circuit. These steps may be separately fabricated into individual integrated circuit modules, or multiple modules or steps may be fabricated into a single integrated circuit module. achieve. Thus, the invention is not limited to any specific combination of hardware and software. The devices/function modules/functional units in the above embodiments may be implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
上述实施例中的各装置 /功能模块 /功能单元以软件功能模块的形式实现 并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。 上述提到的计算机可读取存储介质可以是只读存储器, 磁盘或光盘等。  Each device/function module/functional unit in the above embodiments can be stored in a computer readable storage medium when implemented in the form of a software function module and sold or used as a standalone product. The above mentioned computer readable storage medium may be a read only memory, a magnetic disk or an optical disk or the like.
工业实用性 本发明提供了一种信道故障方法、 装置和系统, 处在第一传输网络和第 二传输网络之间的中间网络节点经待检测信道接收到第一传输网络发送的上 层协议检测报文时, 将所述上层协议检测报文解析并以第二传输网络的封装 格式进行封装, 经所述待检测信道向所述第二传输网络发送, 上层协议检测 报文与承载方式和传输网络无关, 由中间网络节点完成上层协议检测报文在 不同网络间的转发, 解决了对混合组网无法检测的问题。 Industrial Applicability The present invention provides a channel failure method, apparatus, and system, in which an intermediate network node between a first transmission network and a second transmission network receives an upper layer protocol detection report transmitted by a first transmission network via a channel to be detected. The upper layer protocol detection packet is parsed and encapsulated in the encapsulation format of the second transmission network, and is sent to the second transmission network by using the to-be-detected channel, and the upper layer protocol detection packet, the bearer mode, and the transmission network. Irrelevant, the intermediate network node completes the forwarding of the upper layer protocol detection packets between different networks, and solves the problem that the hybrid network cannot be detected.

Claims

权 利 要 求 书 Claim
1、 一种信道检测方法, 包括: 1. A channel detection method, comprising:
经待检测信道接收第一传输网络发送的上层协议检测报文, 所述上层协 议检测报文以该第一传输网络的封装格式封装; 以及  Receiving, by the channel to be detected, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network;
将所述上层协议检测报文解析并以第二传输网络的封装格式进行封装, 经所述待检测信道向所述第二传输网络发送。  The upper layer protocol detection packet is parsed and encapsulated in an encapsulation format of the second transmission network, and sent to the second transmission network via the to-be-detected channel.
2、 根据权利要求 1所述的信道检测方法, 其中, 所述上层协议检测报文 为应用层报文。 The channel detection method according to claim 1, wherein the upper layer protocol detection message is an application layer message.
3、 根据权利要求 1所述的信道检测方法, 其中, 所述经待检测信道接收 第一传输网络发送的上层协议检测报文的步骤之前, 该方法还包括: The channel detecting method according to claim 1, wherein the method further comprises: before the step of receiving, by the to-be-detected channel, the upper layer protocol detection packet sent by the first transmission network, the method further comprising:
检测发起网络节点构造并发送所述上层协议检测报文, 在所述报文中携 带获取所述待检测信道对端目的节点的节点信息的请求。  Detecting the originating network node and transmitting the upper layer protocol detection message, and carrying the request for acquiring the node information of the target node of the peer to be detected in the message.
4、 根据权利要求 3所述的信道检测方法, 其中, 所述将所述上层协议检 测报文解析并以第二传输网络的封装格式进行封装, 经所述待检测信道向所 述第二传输网络发送的步骤之后, 该方法还包括: The channel detection method according to claim 3, wherein the parsing of the upper layer protocol detection message is encapsulated in an encapsulation format of the second transmission network, and the second transmission is performed by the to-be-detected channel. After the step of sending the network, the method further includes:
经所述待检测信道接收第二传输网络发送的上层协议检测应答报文, 所 述上层协议检测应答报文以该第二传输网络的封装格式封装; 以及  Receiving, by the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network;
将所述上层协议检测应答报文解析并以第一传输网络的封装格式进行封 装, 经所述待检测信道向所述第一传输网络发送。  The upper layer protocol detection response message is parsed and encapsulated in an encapsulation format of the first transmission network, and sent to the first transmission network via the to-be-detected channel.
5、 根据权利要求 4所述的信道检测方法, 其中, 所述上层协议检测应答 报文中携带有所述目的网络节点的节点信息, 所述将所述上层协议检测应答 报文解析并以第一传输网络的封装格式进行封装, 经所述待检测信道向所述 第一传输网络发送的步骤之后, 还包括:  The channel detection method according to claim 4, wherein the upper layer protocol detection response message carries node information of the destination network node, and the upper layer protocol detection response message is parsed and After the step of transmitting the encapsulation format of the transmission network to the first transmission network, the method further includes:
所述检测发起网络节点接收所述上层协议检测应答报文, 从该报文中提 取所述目的网络节点的节点信息, 并记录该节点信息、报文延迟和检测次数。  The detection initiation network node receives the upper layer protocol detection response message, extracts node information of the destination network node from the message, and records the node information, the packet delay, and the number of detections.
6、 根据权利要求 5所述的信道检测方法, 其中, 该方法还包括: 根据所述节点信息、 报文延迟和检测次数, 判断所述待检测信道的质量 和拥塞状态。 The channel detection method according to claim 5, wherein the method further comprises: Determining the quality and congestion status of the to-be-detected channel according to the node information, the message delay, and the number of detections.
7、 一种网络节点, 所述网络节点包括: 7. A network node, the network node comprising:
检测报文接收模块, 其设置为: 经待检测信道接收第一传输网络发送的 上层协议检测报文, 所述上层协议检测报文以该第一传输网络的封装格式封 装; 以及  a packet receiving module, configured to: receive, by the channel to be detected, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network;
检测报文转发模块, 其设置为: 将所述上层协议检测报文解析并以第二 传输网络的封装格式进行封装,经所述待检测信道向所述第二传输网络发送。  The packet forwarding module is configured to: parse the upper layer protocol detection packet and encapsulate it in an encapsulation format of the second transmission network, and send the packet to the second transmission network via the to-be-detected channel.
8、 根据权利要求 7所述的网络节点, 其中, 8. The network node according to claim 7, wherein
所述检测报文接收模块还设置为: 经所述待检测信道接收第二传输网络 发送的上层协议检测应答报文, 所述上层协议检测应答报文以该第二传输网 络的封装格式封装;  The detection packet receiving module is further configured to: receive, by the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network;
所述检测报文转发模块还设置为: 将所述上层协议检测应答报文解析并 以第一传输网络的封装格式进行封装, 经所述待检测信道向所述第一传输网 络发送。  The detection packet forwarding module is further configured to: parse the upper layer protocol detection response message and encapsulate it in an encapsulation format of the first transmission network, and send the signal to the first transmission network via the to-be-detected channel.
9、 根据权利要求 7所述的网络节点, 其中, 所述网络节点还包括: 检测模块, 所述检测模块设置为: 构造并发送所述上层协议检测报文, 在所述报文中携带获取所述待检测信道对端目的网络节点的节点信息的请 求, 接收所述上层协议检测应答报文, 从该报文中提取所述目的网络节点的 节点信息, 并记录该节点信息、 报文延迟和检测次数, 根据所述节点信息、 报文延迟和检测次数, 判断所述待检测信道的质量和拥塞状态。 The network node according to claim 7, wherein the network node further comprises: a detecting module, wherein the detecting module is configured to: construct and send the upper layer protocol detecting message, and carry the acquiring in the packet Receiving, by the request for the node information of the destination network node of the channel to be detected, receiving the upper layer protocol detection response message, extracting node information of the destination network node from the message, and recording the node information and the packet delay And the number of detections, determining the quality and congestion status of the to-be-detected channel according to the node information, the message delay, and the number of detections.
10、 一种信道检测系统, 所述系统包括第一传输网络和第二传输网络间 的中间网络节点; 10. A channel detection system, the system comprising an intermediate network node between a first transmission network and a second transmission network;
所述中间网络节点设置为: 经待检测信道接收第一传输网络发送的上层 协议检测报文, 所述上层协议检测报文以该第一传输网络的封装格式封装, 将所述上层协议检测报文解析并以第二传输网络的封装格式进行封装, 经所 述待检测信道向所述第二传输网络发送。 The intermediate network node is configured to: receive, by the to-be-detected channel, an upper layer protocol detection packet sent by the first transmission network, where the upper layer protocol detection packet is encapsulated in an encapsulation format of the first transmission network, and the upper layer protocol detection packet is sent The packet is parsed and encapsulated in an encapsulation format of the second transport network, and sent to the second transport network via the to-be-detected channel.
11、 根据权利要求 10所述的信道检测系统, 其中, 11. The channel detecting system according to claim 10, wherein
所述中间网络节点还设置为: 经所述待检测信道接收第二传输网络发送 的上层协议检测应答报文, 所述上层协议检测应答报文以该第二传输网络的 封装格式封装, 将所述上层协议检测应答报文解析并以第一传输网络的封装 格式进行封装, 经所述待检测信道向所述第一传输网络发送。  The intermediate network node is further configured to: receive, by the to-be-detected channel, an upper layer protocol detection response message sent by the second transmission network, where the upper layer protocol detection response message is encapsulated in an encapsulation format of the second transmission network, The upper layer protocol detects that the response message is parsed and encapsulated in an encapsulation format of the first transport network, and is sent to the first transport network via the to-be-detected channel.
PCT/CN2010/079131 2010-05-28 2010-11-25 Method, apparatus and system for channel detection WO2011147170A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN2010101885413A CN101895916A (en) 2010-05-28 2010-05-28 Channel detection method, device and system thereof
CN201010188541.3 2010-05-28

Publications (1)

Publication Number Publication Date
WO2011147170A1 true WO2011147170A1 (en) 2011-12-01

Family

ID=43104945

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2010/079131 WO2011147170A1 (en) 2010-05-28 2010-11-25 Method, apparatus and system for channel detection

Country Status (2)

Country Link
CN (1) CN101895916A (en)
WO (1) WO2011147170A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101895916A (en) * 2010-05-28 2010-11-24 中兴通讯股份有限公司 Channel detection method, device and system thereof
CN107579869B (en) * 2016-07-04 2020-09-08 华为技术有限公司 Network performance detection method and network equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859154A (en) * 2005-05-08 2006-11-08 华为技术有限公司 Performance managing method between household gateway and broad band remote access server
CN1968163A (en) * 2006-10-25 2007-05-23 华为技术有限公司 Method for service channel detection and system for providing the same
US20070230362A1 (en) * 2006-03-31 2007-10-04 Bardalai Snigdho C Generating A Path Inventory For A Communication Network
CN101895916A (en) * 2010-05-28 2010-11-24 中兴通讯股份有限公司 Channel detection method, device and system thereof

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1859154A (en) * 2005-05-08 2006-11-08 华为技术有限公司 Performance managing method between household gateway and broad band remote access server
US20070230362A1 (en) * 2006-03-31 2007-10-04 Bardalai Snigdho C Generating A Path Inventory For A Communication Network
CN1968163A (en) * 2006-10-25 2007-05-23 华为技术有限公司 Method for service channel detection and system for providing the same
CN101895916A (en) * 2010-05-28 2010-11-24 中兴通讯股份有限公司 Channel detection method, device and system thereof

Also Published As

Publication number Publication date
CN101895916A (en) 2010-11-24

Similar Documents

Publication Publication Date Title
US10050827B2 (en) Method and apparatus for monitoring connectivity in a long term evolution network
US8514723B2 (en) Traffic monitoring by lowest transmission layer marking
EP2129049A1 (en) A protecting method and device for ethernet tree service
US20080273467A1 (en) Methods for determining pw connection state and for notifying ac connection state and the associated equipments
WO2007033542A1 (en) A method for testing the network capability and the device thereof
US20070237156A1 (en) Performance Management System, Apparatus and Method Between Residential Gateway and Broadband Remote Access Server
JP4537458B2 (en) Performance analysis of circuit-switched mobile communication networks.
JP2002344476A (en) Method for use in packet communication and edge switch
WO2007128217A1 (en) Method of internet protocol(ip) message transmission, negotiated bandwidth saving capability and saving network bandwidth
US11502962B2 (en) Method, apparatus, and system for implementing data transmission
EP2533478A1 (en) Method, terminal and gateway for transmitting internet protocol version 6 packets in internet protocol version 4 network
US20030156548A1 (en) Methods and systems for testing throughput of a packet-based communications node
US8971311B2 (en) Methods, systems and computer readable media for supporting a plurality of real-time transport protocol (RTP) multiplexing enablement methods in a media gateway
CN107370654B (en) Pseudo wire data message encapsulation and decapsulation methods and related devices
US20220368623A1 (en) Multicast Packet Detection Method, Network Device, and System
WO2020259112A1 (en) Method for measuring transmission time delay and related device
CN108400911B (en) Device and method for realizing Micro-BFD protocol
WO2014153860A1 (en) Network access method, gateway and system
JP2001168915A (en) Ip packet transfer system
WO2016095379A1 (en) Assistant positioning method and device for packet loss position and computer storage medium
WO2008003218A1 (en) Method, apparatus and system for information transmitting between devices in ethernet
WO2009026824A1 (en) A method, device and system for transferring multiplex messages
WO2011147170A1 (en) Method, apparatus and system for channel detection
CN101860483B (en) BFD realization method and device based on chip lookup table
RU2687040C1 (en) Method and apparatus for monitoring a backbone network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 10852039

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 10852039

Country of ref document: EP

Kind code of ref document: A1