WO2017219786A1 - Method and device for constructing application connection, and terminal - Google Patents

Method and device for constructing application connection, and terminal Download PDF

Info

Publication number
WO2017219786A1
WO2017219786A1 PCT/CN2017/084124 CN2017084124W WO2017219786A1 WO 2017219786 A1 WO2017219786 A1 WO 2017219786A1 CN 2017084124 W CN2017084124 W CN 2017084124W WO 2017219786 A1 WO2017219786 A1 WO 2017219786A1
Authority
WO
WIPO (PCT)
Prior art keywords
application connection
terminal
message
application
connection
Prior art date
Application number
PCT/CN2017/084124
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 WO2017219786A1 publication Critical patent/WO2017219786A1/en

Links

Images

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

Definitions

  • the present disclosure relates to the field of data communications, and in particular to a method, an apparatus, and a terminal for constructing an application connection.
  • the dual-homed device is a commonly used device (CE). Way to achieve protection of PE nodes.
  • CE Common-Chassis Communication Protocol
  • the switching between PE devices often requires synchronization information between PE devices, as shown in Figure 1. Therefore, a communication protocol between racks has emerged, that is, ICCP (Inter-Chassis Communication Protocol), for synchronizing information between racks when deploying a multi-chassis redundancy mechanism.
  • ICCP Inter-Chassis Communication Protocol
  • the information of the application needs to be synchronized between the PE devices, and the synchronization of the information must be orderly and reliable. This requires a mechanism to ensure.
  • the IETF The Internet Engineering Task Force
  • RFC7275 Request for Comments RFC (RFC7275)
  • LDP Label Distribution Protocol
  • RG redundancy group
  • ICCP Integrated Circuit Protocol
  • the protocol itself is scalable and can be used by multiple applications.
  • the reliability and timing of message transmission between nodes can be guaranteed.
  • a mechanism can be provided to detect the state of the node between the PE nodes of the RG group, and can timely notify the application of the failure notification of the PE node.
  • Provide multi-link and multi-connection mechanisms between nodes. (6) Ensure the security of transmission between redundant groups. (6) Allow flexible redundancy relationships. In most cases, two PEs form a redundancy group, but there may be multiple, even one node belonging to multiple redundancy groups at the same time.
  • the ICCP model can be divided into three levels: 1. Application layer: This layer can be used to provide interfaces to various business applications that use ICCP services for redundant data or configuration information synchronization. 2. Inter-rack communication layer: This layer is used for IGMP redundancy group members and connection management to establish ICCP channels for application data synchronization. 3. Transport layer: This layer provides ICCP message transmission.
  • the process of establishing a transmission channel for an ICCP is divided into three steps: 1.
  • the two RP sessions of the ICCP are triggered by the ICCP configuration between the two devices R1 and R2. 2.
  • the two devices R1 and R2 establish an ICCP redundancy group connection by sending an ICCP redundancy group link message on the LDP session.
  • the two devices R1 and R2 are triggered by the relevant configuration of the application. Based on the ICCP redundancy group connection, the application connection is established for the specific application, and the application data can be synchronized on the basis of the establishment of the application connection.
  • ICCP provides a kind of inter-rack application information interaction between specific redundancy groups.
  • the mechanism enables the PE device to establish an application connection with the peer PE device, provided that the ICCP RG group connection is established between the two device nodes.
  • the application connection configuration may be triggered by the application configuration of the device. After the application connection message is sent, the application connection status will enter the connection to send the CONNSENT state. Assume that the RG group connection of the ICCP is established on both ends of the device. At the same time, if the connection establishment of the RG group is completed and the application configuration is configured on both ends, the application connection message may be sent at both ends (or there is such a way). Scenario: The RG group connection establishment of the ICCP is detected by both ends, but because the message between the devices is congested, the application connection message is sent in the initial NONCONNECT state, and the CONNSENT state is entered.
  • the application connection message with the A bit of 1 needs to be received, but if the other application connection message of the peer is received, the status will be restored to the NONCONNECT state, and the application state machine is restarted.
  • the state of the application at both ends is always switched between the NONCONNECT state and the CONNSENT state, and the subsequent state cannot be reached at all times, so that the application connection cannot always be established.
  • Application connection establishment cannot be achieved using the OPERATIONAL state, and the application's redundant data cannot be synchronized.
  • the purpose of the disclosure is to provide a method, a device and a terminal for constructing an application connection, which can quickly establish an application connection between devices, ensure data transmission, and avoid the possibility of establishing an application connection between terminals in special cases.
  • an embodiment of the present disclosure provides a method for constructing an application connection, including:
  • the step of constructing an application connection with the terminal to be connected according to the received type of the application connection message includes:
  • the received application connection message is an application connection notification message, sending an application connection establishment message to the to-be-connected terminal, and when the application connection establishment message sent by the to-be-connected terminal is received, establishing the to-be-connected Application connection of the terminal;
  • the application connection message is received as an application connection establishment message, establishing an application connection with the terminal to be connected.
  • the step of establishing an application connection with the terminal to be connected includes:
  • the method further comprises:
  • the application connection establishment message is an application connection message with a predefined field of 1.
  • the application connection notification is cancelled.
  • the message is an application connection message with a predefined field of 0.
  • an embodiment of the present disclosure further provides a device for constructing an application connection, including:
  • a detecting module configured to detect an action of the terminal in an initialization state of the application connection
  • An acquiring module configured to acquire, when the action is an application connection notification message, to the to-be-connected terminal, the type of the application connection message sent by the received terminal to be connected;
  • a processing module configured to establish an application connection with the terminal to be connected according to the type of the received application connection message.
  • the processing module includes:
  • the first processing sub-module is configured to: if the received application connection message is an application connection notification message, send an application connection establishment message to the to-be-connected terminal, and receive an application connection establishment message sent by the to-be-connected terminal Establishing an application connection with the terminal to be connected;
  • the second processing submodule is configured to establish an application connection with the to-be-connected terminal if the application connection message is received as an application connection establishment message.
  • the first processing submodule/the second processing submodule includes:
  • a sending unit configured to send an application connection establishment message to the to-be-connected terminal, to complete establishment of an application connection with the to-be-connected terminal.
  • the construction device of the application connection further includes:
  • a sending module configured to send an application connection establishment message to the to-be-connected terminal when the action is an application connection notification message sent by the terminal to be connected;
  • the receiving module is configured to receive an application connection establishment message fed back by the terminal to be connected, and complete establishment of an application connection with the terminal to be connected.
  • the application connection establishment message is an application connection message with a predefined field of 1.
  • the application connection notification message is an application connection message with a predefined field of 0.
  • embodiments of the present disclosure also provide a terminal, including a construction device for an application connection as described above.
  • the application connection construction method of the embodiment of the present disclosure understands the location of the terminal in the application connection by detecting the action of the terminal in the NONCONNECT state. Upon detecting that the terminal sends an application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer, that is, the message of the terminal to be connected. After the terminal sends the application connection notification message to the to-be-connected terminal, the type of the application connection message sent by the terminal to be connected received by the terminal is obtained. Then, depending on the type of the application connection message, the application connection with the terminal to be connected is constructed in different ways.
  • the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
  • Figure 1 is a schematic diagram of an ICCP networking scenario
  • FIG. 2 is a flow chart of steps of a method for constructing an application connection according to an embodiment of the present disclosure
  • FIG. 3 is a schematic diagram of a state machine for establishing an application connection by using a method for constructing an application connection according to an embodiment of the present disclosure
  • FIG. 4 is a schematic diagram of a sequence of application state transitions of a terminal in a scenario in which a method for constructing an application connection according to an embodiment of the present disclosure is applied;
  • FIG. 5 is a schematic diagram of an application state transition sequence of a terminal in a scenario 2 of a method for constructing an application connection according to an embodiment of the present disclosure
  • FIG. 6 is a schematic structural diagram of an apparatus for constructing an application connection according to an embodiment of the present disclosure.
  • the present disclosure provides a method for constructing an application connection, which can quickly establish an application between devices, for the problem that the application connection cannot exist in the existing application connection construction scheme or the establishment time is slow to affect the application redundancy data synchronization. Connection to ensure the transmission of data.
  • a method for constructing an application connection includes:
  • Step 101 Detect an action of the terminal in an initialization state of the application connection
  • Step 102 When the action is to send an application connection notification message to the to-be-connected terminal, obtain the type of the application connection message sent by the terminal to be connected.
  • Step 103 Construct an application connection with the terminal to be connected according to the type of the received application connection message.
  • the terminal connected to the application is configured as the network side edge device, and the RG group connection is successfully established, and the application connection is established. Therefore, the terminal is in the initialization state of the application connection at this time (NONCONNECT) status).
  • NONCONNECT the initialization state of the application connection at this time
  • the action of the terminal in the NONCONNECT state is first detected, and the location of the terminal in the application connection is known.
  • the application connection notification message is a message for initiating the establishment of the application connection, indicating that the terminal initiates the application connection end, and the terminal enters the connection transmission state ( CONNSENT state), waiting for the peer, that is, the message of the terminal to be connected.
  • the application connection message sent by the received terminal to be connected may be an application sent by the to-be-connected terminal after receiving the application connection notification message of the terminal, in the CONNSENT state, because the terminal is not in communication with the terminal.
  • the connection establishment message may also be an application connection notification message sent by the to-be-connected terminal before receiving the application connection notification message of the terminal. Therefore, in step 102, after the terminal sends the application connection notification message to the terminal to be connected, Obtaining the type of the application connection message sent by the terminal to be connected received by the terminal. Then, as in step 103, an application connection with the terminal to be connected is constructed in a different manner according to the type of the application connection message.
  • the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
  • step 103 includes:
  • the received application connection message is an application connection notification message, sending an application connection establishment message to the to-be-connected terminal, and when the application connection establishment message sent by the to-be-connected terminal is received, establishing the to-be-connected Application connection of the terminal;
  • the application connection message is received as an application connection establishment message, establishing an application connection with the terminal to be connected.
  • the terminal sends an application connection notification message to the to-be-connected terminal in the NONCONNECT state. After entering the CONNSENT state, it is determined that the received application connection message sent by the terminal to be connected is also an application connection notification message. It can be known that the terminal to be connected also actively initiates the establishment of an application connection. After that, in order to avoid the feedback of both ends in the CONNSENT state, the terminal will actively send an application connection establishment message to the terminal to be connected, and enter the connection reception state (CONNRECV state).
  • the device when receiving the application connection establishment message fed back by the terminal to be connected, the device enters the secondary connection reception state (ABIT_CONNRECV state), establishes an application connection with the terminal to be connected, and enters the usable state (OPERATIONAL state).
  • ABIT_CONNRECV state when receiving the application connection establishment message fed back by the terminal to be connected, the device enters the secondary connection reception state (ABIT_CONNRECV state), establishes an application connection with the terminal to be connected, and enters the usable state (OPERATIONAL state).
  • the to-be-connected terminal receives the application connection notification message sent by the terminal in the NONCONNECT state, and feedbacks The application connection establishment message, at this time, it is possible to establish an application connection with the terminal to be connected, and enter the usable state OPERATIONAL state.
  • step 103 the application with the terminal to be connected is established.
  • the step of connecting includes: sending an application connection establishment message to the terminal to be connected, and completing establishment of an application connection with the terminal to be connected.
  • the terminal After receiving the application connection establishment message fed back by the terminal to be connected in the CONNSENT state or the ABIT_CONNRECV state, the terminal feeds back the application connection establishment message to the to-be-connected terminal, enters the OPERATIONAL state, and completes the establishment of the application connection with the terminal to be connected.
  • the application connection construction method of the embodiment of the present disclosure further includes:
  • Step 104 when the action is that the application connection notification message sent by the to-be-connected terminal is received, sending an application connection establishment message to the to-be-connected terminal;
  • Step 105 After receiving the application connection establishment message fed back by the terminal to be connected, complete establishment of an application connection with the terminal to be connected.
  • the terminal in the NONCONNECT state, can also initiate the establishment of the application connection in the future, and receive the application connection notification message sent by the terminal to be connected, and learn that the terminal to be connected has preferentially initiated the establishment of the application connection.
  • the terminal enters the CONNRECV state, and in the CONNRECV state, the application connection establishment message is fed back to the terminal to be connected, and enters the connection establishment state (CONNECTING state). Then, if the application connection establishment message fed back by the terminal to be connected is received again, the terminal enters the OPERATIONAL state, and the establishment of the application connection with the terminal to be connected is completed.
  • the application connection establishment message is an application connection message with a predefined field of 1.
  • the application connection notification is cancelled.
  • the message is an application connection message with a predefined field of 0.
  • the application connection message of the interaction between the PE devices is often encapsulated into the message according to the TLV format, and the type of the application connection message is used to notify the peer terminal to determine the application connection establishment for establishing the application connection.
  • the message is also an application connection notification message for initiating an application connection to the peer terminal, and the definition is differentiated in a predefined field of the application connection message.
  • the application connection message with an A bit (Acknowledgement bit) of 1 is an application connection establishment message
  • the application connection message with an A bit of 0 is an application connection notification message.
  • the method for constructing an application connection in the embodiment of the present disclosure enters the NONCONNECT state in a non-NONCONNECT state, closes the connection, or receives an unacceptable message.
  • the A and B terminals have the relevant configuration of the ICCP redundancy group, and the ICCP-dedicated LDP target session can be established.
  • the connection of the ICCP redundancy group can be successfully established on the basis of the LDP session.
  • the application connection is triggered.
  • the application of the application connection method of the embodiment of the present disclosure to the terminal is as follows:
  • Scenario 1 As shown in Figure 4, the two terminals are triggered by the configuration to initiate the application connection message at the same time.
  • the state transition timing is as follows. Because the state transitions of A and B are the same, only one is used as an example for further explanation.
  • Trigger to send an application connection setup message with A bit 1 and switch to the OPERATIONAL state.
  • Scenario 2 As shown in Figure 5, the two terminals initiate application connection messages by configuration triggers.
  • the timing and state transitions are as follows. Because the state transitions of A and B are different, they are further explained separately.
  • Trigger to send an application connection setup message with A bit 1 and switch to the OPERATIONAL state.
  • the application connection establishment message with the A bit of 1 sent by the peer end is received, and the state is switched to the OPERATIONAL state.
  • the application connection construction method of the embodiment of the present disclosure understands the location of the terminal in the application connection by detecting the action of the terminal in the NONCONNECT state.
  • the terminal Upon detecting that the terminal sends an application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer, that is, the message of the terminal to be connected.
  • the type of the application connection message sent by the terminal to be connected received by the terminal is obtained.
  • the application connection with the terminal to be connected is constructed in different ways. In this way, even after the RG group connection is successfully established, the application ends are sent simultaneously or because of the message congestion between the two ends.
  • the notification message initiates the application connection, and the application connection is also continued to be constructed, so that the application connection between the devices is quickly established, and the data transmission is ensured.
  • an embodiment of the present disclosure further provides a device for constructing an application connection, including:
  • the detecting module 601 is configured to detect an action of the terminal in an initialization state of the application connection
  • the obtaining module 602 is configured to: when the action is to send an application connection notification message to the to-be-connected terminal, obtain the type of the application connection message sent by the terminal to be connected;
  • the processing module 603 is configured to establish an application connection with the to-be-connected terminal according to the type of the received application connection message.
  • the processing module includes:
  • the first processing sub-module is configured to: if the received application connection message is an application connection notification message, send an application connection establishment message to the to-be-connected terminal, and receive an application connection establishment message sent by the to-be-connected terminal Establishing an application connection with the terminal to be connected;
  • the second processing submodule is configured to establish an application connection with the to-be-connected terminal if the application connection message is received as an application connection establishment message.
  • the first processing submodule/the second processing submodule includes:
  • a sending unit configured to send an application connection establishment message to the to-be-connected terminal, to complete establishment of an application connection with the to-be-connected terminal.
  • the construction device of the application connection further includes:
  • a sending module configured to send an application connection establishment message to the to-be-connected terminal when the action is an application connection notification message sent by the terminal to be connected;
  • the receiving module is configured to receive an application connection establishment message fed back by the terminal to be connected, and complete establishment of an application connection with the terminal to be connected.
  • the application connection establishment message is an application connection message with a predefined field of 1.
  • the application connection notification message is an application connection message with a predefined field of 0.
  • the application connection construction device of the embodiment of the present disclosure detects the action of the terminal in the NONCONNECT state through the detection module, and knows the location of the terminal in the application connection.
  • the acquiring module detects that the terminal sends the application connection notification message to the terminal to be connected
  • the terminal enters the CONNSENT state and waits for the peer end, that is, the message of the terminal to be connected.
  • the type of the application connection message sent by the terminal to be connected received by the terminal is obtained.
  • the processing module constructs an application connection with the terminal to be connected in different manners according to the type of the application connection message.
  • the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
  • the device is a device to which the above-mentioned application connection construction method is applied, and the implementation manner of the embodiment of the application connection construction method is applicable to the device, and the same technical effect can be achieved.
  • Embodiments of the present disclosure also provide a terminal, including a construction device for an application connection as described above.
  • the application connection construction device of the embodiment of the present disclosure detects the action of the terminal in the NONCONNECT state, Understand the location of the terminal in the application connection. Upon detecting that the terminal sends an application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer, that is, the message of the terminal to be connected. After the terminal sends the application connection notification message to the to-be-connected terminal, the type of the application connection message sent by the terminal to be connected received by the terminal is obtained. Then, depending on the type of the application connection message, the application connection with the terminal to be connected is constructed in different ways.
  • the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
  • the terminal is a terminal to which the above-mentioned application connection construction method is applied, and the implementation manner of the embodiment of the application connection construction method is applicable to the terminal, and the same technical effect can be achieved.
  • modules may be implemented in software for execution by various types of processors.
  • an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different locations that, when logically combined, constitute a module and achieve the stated purpose of the module .
  • the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices.
  • operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
  • the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost.
  • the hardware circuitry includes conventional Very Large Scale Integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components.
  • VLSI Very Large Scale Integration
  • the modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
  • the present disclosure is applicable to the field of data communication, and solves the problem that an existing application connection connection solution cannot establish an application connection between terminals, or a slow setup time affects application redundant data synchronization, and can quickly establish an application connection between devices. Guarantee the transmission of data.

Abstract

Provided are a method and device for constructing an application connection, and a terminal, which relate to the field of data communications. The method comprises: detecting an action of a terminal in an initialised state of an application connection; when the action is sending an application connection notification message to a terminal to be connected, acquiring the type of received application connection message sent by the terminal to be connected; and according to the type of the received application connection message, constructing an application connection with the terminal to be connected. The solution of the disclosure solves the problem in existing application connection construction schemes that the synchronisation of redundant data of an application is affected due to the fact that no application connection can be constructed between terminals or the construction time is slow. An application connection can be quickly established between devices, and the transmission of data is guaranteed.

Description

一种应用连接的构建方法、装置及终端Method, device and terminal for constructing application connection 技术领域Technical field
本公开涉及数据通信领域,特别是指一种应用连接的构建方法、装置及终端。The present disclosure relates to the field of data communications, and in particular to a method, an apparatus, and a terminal for constructing an application connection.
背景技术Background technique
随着运营商对业务可靠性的要求越来越高,目前双归宿是CE(Customer Edge,用户侧边缘设备)设备接入运营商PE(Provider Edge,网络侧边缘设备)设备普遍采用的一种方式,以实现对PE结点的保护。这时,PE设备间的切换,常需要PE设备间同步信息,如图1所示。因此,一种机架间的通信协议应运而生,即ICCP(Inter-Chassis Communication Protocol),以用于部署多机架冗余机制时,机架间的信息同步。As the requirements of the service provider are higher and higher, the dual-homed device is a commonly used device (CE). Way to achieve protection of PE nodes. At this time, the switching between PE devices often requires synchronization information between PE devices, as shown in Figure 1. Therefore, a communication protocol between racks has emerged, that is, ICCP (Inter-Chassis Communication Protocol), for synchronizing information between racks when deploying a multi-chassis redundancy mechanism.
PE设备间需要进行应用信息的同步,而且信息的同步必须要是有序、可靠的,这需要有一套机制来保证。IETF(The Internet Engineering Task Force,国际互联网工程任务组)发表了一种保证机架间可靠信息交互的请求评议RFC(RFC7275),它是基于LDP(Label Distribution Protocol,标签分发协议)协议的扩展,在设备间建立一条通道,保证设备间交互信息可靠、有序的投递。The information of the application needs to be synchronized between the PE devices, and the synchronization of the information must be orderly and reliable. This requires a mechanism to ensure. The IETF (The Internet Engineering Task Force) has published a Request for Comments RFC (RFC7275), which is based on the LDP (Label Distribution Protocol) protocol. Establish a channel between devices to ensure reliable and orderly delivery of interactive information between devices.
它提供了一套管理机制,将需要同步信息的设备划分到一个冗余组(RG)中,通过报文建立和拆除设备间的通道,设备间需要交互的信息按照TLV的格式封装到报文中,经过通道发给对方。It provides a management mechanism to divide the devices that need to synchronize information into a redundancy group (RG), and establish and remove channels between devices through packets. The information that needs to be exchanged between devices is encapsulated into packets according to the TLV format. In the middle, the channel is sent to the other party.
因ICCP协议基于LDP协议扩展,使用其进行应用之间冗余信息同步的优势在于:(1)ICCP可以提供相对低带宽、低延迟和高可靠性的消息传输。(2)协议本身具有可扩展性,能够为多个应用所用。(3)可以保证节点间消息传输的可靠性和时序性。(4)可以提供一种机制,在RG组的PE节点间检测节点状态,能及时感知到PE节点的失败通知给应用。(5)提供节点间多链路和多条的互联机制。(6)保证冗余组之间传输的安全性。(6)允许灵活的冗余关系,大多数情况下两个PE构成一个冗余组,但是也可以有多个,甚至一个节点同时属于多个冗余组。Because the ICCP protocol is based on the LDP protocol extension, the advantages of using it for synchronous information synchronization between applications are: (1) ICCP can provide relatively low bandwidth, low latency and high reliability message transmission. (2) The protocol itself is scalable and can be used by multiple applications. (3) The reliability and timing of message transmission between nodes can be guaranteed. (4) A mechanism can be provided to detect the state of the node between the PE nodes of the RG group, and can timely notify the application of the failure notification of the PE node. (5) Provide multi-link and multi-connection mechanisms between nodes. (6) Ensure the security of transmission between redundant groups. (6) Allow flexible redundancy relationships. In most cases, two PEs form a redundancy group, but there may be multiple, even one node belonging to multiple redundancy groups at the same time.
ICCP模型可以分为三个层次:1.应用层:该层可以用于向使用ICCP服务进行冗余数据或者配置信息同步的各种业务应用提供接口。2.机架间通信层:该层用于ICCP的冗余组成员和连接管理,为应用数据的同步建立ICCP的通道。3.传输层:该层提供ICCP消息传输。The ICCP model can be divided into three levels: 1. Application layer: This layer can be used to provide interfaces to various business applications that use ICCP services for redundant data or configuration information synchronization. 2. Inter-rack communication layer: This layer is used for IGMP redundancy group members and connection management to establish ICCP channels for application data synchronization. 3. Transport layer: This layer provides ICCP message transmission.
ICCP为应用建立传输通道的过程分为三步:1.R1、R2两台设备之间通过ICCP配置触发建立起ICCP专用的LDP会话。2.R1、R2两台设备在LDP会话上通过发送ICCP冗余组建链消息,建立ICCP冗余组连接。3.R1、R2两台设备由应用的相关配置触发,在ICCP冗余组连接基础上,为特定的应用建立起应用连接,应用数据可在此应用连接建立的基础上进行同步。The process of establishing a transmission channel for an ICCP is divided into three steps: 1. The two RP sessions of the ICCP are triggered by the ICCP configuration between the two devices R1 and R2. 2. The two devices R1 and R2 establish an ICCP redundancy group connection by sending an ICCP redundancy group link message on the LDP session. 3. The two devices R1 and R2 are triggered by the relevant configuration of the application. Based on the ICCP redundancy group connection, the application connection is established for the specific application, and the application data can be synchronized on the basis of the establishment of the application connection.
由此可以看出,为了在特定的冗余组之间进行机架间应用信息交互,ICCP提供了一种 机制,使PE设备能够与对端PE设备建立起应用连接,前提是两个设备节点之间已经建立好ICCP的RG组连接。It can be seen that ICCP provides a kind of inter-rack application information interaction between specific redundancy groups. The mechanism enables the PE device to establish an application connection with the peer PE device, provided that the ICCP RG group connection is established between the two device nodes.
ICCP的RG组连接已经建立成功的情况下,可由设备的应用相关配置来触发应用连接消息的发送。当发送完应用连接消息之后,应用连接状态会进入连接发送CONNSENT状态。假设设备的两端都建立起了ICCP的RG组连接,同时感知到RG组连接建立完成,两端都有相应的应用配置的情况下,两端有可能会同时发送应用连接消息(或者有这样的场景:两端先后感知ICCP的RG组连接建立,但是因为设备之间的消息拥塞,先后在初始化NONCONNECT状态下发送应用连接消息),会进入CONNSENT状态。在CONNSENT状态下,需要等待接收的是A bit为1的应用连接消息,但如果接收到的是对端的其他应用连接消息,状态会恢复到NONCONNECT状态,重新开始应用状态机的切换。极限情况下,两端应用的状态一直在NONCONNECT状态和CONNSENT状态下切换,始终不能达到后续状态,从而始终不能建立应用连接。应用连接建立不能达到可使用OPERATIONAL状态,应用的冗余数据就无法完成同步。When the connection of the RG group of the ICCP has been successfully established, the application connection configuration may be triggered by the application configuration of the device. After the application connection message is sent, the application connection status will enter the connection to send the CONNSENT state. Assume that the RG group connection of the ICCP is established on both ends of the device. At the same time, if the connection establishment of the RG group is completed and the application configuration is configured on both ends, the application connection message may be sent at both ends (or there is such a way). Scenario: The RG group connection establishment of the ICCP is detected by both ends, but because the message between the devices is congested, the application connection message is sent in the initial NONCONNECT state, and the CONNSENT state is entered. In the CONNSENT state, the application connection message with the A bit of 1 needs to be received, but if the other application connection message of the peer is received, the status will be restored to the NONCONNECT state, and the application state machine is restarted. In the limit case, the state of the application at both ends is always switched between the NONCONNECT state and the CONNSENT state, and the subsequent state cannot be reached at all times, so that the application connection cannot always be established. Application connection establishment cannot be achieved using the OPERATIONAL state, and the application's redundant data cannot be synchronized.
发明内容Summary of the invention
本公开的目的是提供一种应用连接的构建方法、装置及终端,实现快速地建立设备间的应用连接,保证了数据的传输,避免特殊情况下终端间无法构建应用连接。The purpose of the disclosure is to provide a method, a device and a terminal for constructing an application connection, which can quickly establish an application connection between devices, ensure data transmission, and avoid the possibility of establishing an application connection between terminals in special cases.
为达到上述目的,本公开的实施例提供一种应用连接的构建方法,包括:To achieve the above objective, an embodiment of the present disclosure provides a method for constructing an application connection, including:
检测终端在应用连接的初始化状态下的动作;Detecting the action of the terminal in the initialization state of the application connection;
在所述动作为发送应用连接通知消息至待连接终端时,获取接收到的所述待连接终端发送的应用连接消息的类型;And acquiring, by the action, the type of the application connection message sent by the to-be-connected terminal, when the application connection notification message is sent to the to-be-connected terminal;
根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接。And establishing, according to the type of the application connection message received, an application connection with the terminal to be connected.
其中,根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接的步骤包括:The step of constructing an application connection with the terminal to be connected according to the received type of the application connection message includes:
若接收到的所述应用连接消息为应用连接通知消息,则发送应用连接建立消息至所述待连接终端,在接收到所述待连接终端发送的应用连接建立消息时,建立与所述待连接终端的应用连接;And if the received application connection message is an application connection notification message, sending an application connection establishment message to the to-be-connected terminal, and when the application connection establishment message sent by the to-be-connected terminal is received, establishing the to-be-connected Application connection of the terminal;
若接收到所述应用连接消息为应用连接建立消息,建立与所述待连接终端的应用连接。And if the application connection message is received as an application connection establishment message, establishing an application connection with the terminal to be connected.
其中,建立与所述待连接终端的应用连接的步骤包括:The step of establishing an application connection with the terminal to be connected includes:
发送应用连接建立消息至所述待连接终端,完成与所述待连接终端的应用连接的建立。Sending an application connection establishment message to the to-be-connected terminal, completing establishment of an application connection with the to-be-connected terminal.
其中,该方法还包括:Wherein, the method further comprises:
在所述动作为接收到所述待连接终端发送的应用连接通知消息时,发送应用连接建立消息至所述待连接终端;When the action is that the application connection notification message sent by the to-be-connected terminal is received, sending an application connection establishment message to the to-be-connected terminal;
接收所述待连接终端反馈的应用连接建立消息后,完成与所述待连接终端的应用连接的建立。After receiving the application connection establishment message fed back by the terminal to be connected, the establishment of the application connection with the terminal to be connected is completed.
其中,所述应用连接建立消息是预定义字段为1的应用连接消息;所述应用连接通知消 息是预定义字段为0的应用连接消息。The application connection establishment message is an application connection message with a predefined field of 1. The application connection notification is cancelled. The message is an application connection message with a predefined field of 0.
为达到上述目的,本公开的实施例还提供了一种应用连接的构建装置,包括:In order to achieve the above objective, an embodiment of the present disclosure further provides a device for constructing an application connection, including:
检测模块,设置为检测终端在应用连接的初始化状态下的动作;a detecting module configured to detect an action of the terminal in an initialization state of the application connection;
获取模块,设置为在所述动作为发送应用连接通知消息至待连接终端时,获取接收到的所述待连接终端发送的应用连接消息的类型;An acquiring module, configured to acquire, when the action is an application connection notification message, to the to-be-connected terminal, the type of the application connection message sent by the received terminal to be connected;
处理模块,设置为根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接。And a processing module, configured to establish an application connection with the terminal to be connected according to the type of the received application connection message.
其中,所述处理模块包括:The processing module includes:
第一处理子模块,设置为若接收到的所述应用连接消息为应用连接通知消息,则发送应用连接建立消息至所述待连接终端,在接收到所述待连接终端发送的应用连接建立消息时,建立与所述待连接终端的应用连接;The first processing sub-module is configured to: if the received application connection message is an application connection notification message, send an application connection establishment message to the to-be-connected terminal, and receive an application connection establishment message sent by the to-be-connected terminal Establishing an application connection with the terminal to be connected;
第二处理子模块,设置为若接收到所述应用连接消息为应用连接建立消息,建立与所述待连接终端的应用连接。The second processing submodule is configured to establish an application connection with the to-be-connected terminal if the application connection message is received as an application connection establishment message.
其中,所述第一处理子模块/所述第二处理子模块包括:The first processing submodule/the second processing submodule includes:
发送单元,设置为发送应用连接建立消息至所述待连接终端,完成与所述待连接终端的应用连接的建立。And a sending unit, configured to send an application connection establishment message to the to-be-connected terminal, to complete establishment of an application connection with the to-be-connected terminal.
其中,所述应用连接的构建装置还包括:The construction device of the application connection further includes:
发送模块,设置为在所述动作为接收到所述待连接终端发送的应用连接通知消息时,发送应用连接建立消息至所述待连接终端;a sending module, configured to send an application connection establishment message to the to-be-connected terminal when the action is an application connection notification message sent by the terminal to be connected;
接收模块,设置为接收所述待连接终端反馈的应用连接建立消息,完成与所述待连接终端的应用连接的建立。The receiving module is configured to receive an application connection establishment message fed back by the terminal to be connected, and complete establishment of an application connection with the terminal to be connected.
其中,所述应用连接建立消息是预定义字段为1的应用连接消息;所述应用连接通知消息是预定义字段为0的应用连接消息。The application connection establishment message is an application connection message with a predefined field of 1. The application connection notification message is an application connection message with a predefined field of 0.
为达到上述目的,本公开的实施例还提供了一种终端,包括如上所述的应用连接的构建装置。To achieve the above object, embodiments of the present disclosure also provide a terminal, including a construction device for an application connection as described above.
本公开的上述技术方案的有益效果如下:The beneficial effects of the above technical solutions of the present disclosure are as follows:
本公开实施例的应用连接构建方法,通过检测该终端在NONCONNECT状态下的动作,了解该终端在应用连接中的位置。在检测到终端发送应用连接通知消息至待连接终端时,该终端进入到CONNSENT状态,等待对端也就是待连接终端的消息。在该终端发送应用连接通知消息至待连接终端后,获取该终端接收到的待连接终端发送的应用连接消息的类型。然后,根据应用连接消息的类型,通过不同的方式构建与待连接终端的应用连接。这样,即使在RG组连接建立成功后,两端同时或者由于之间的消息拥塞先后均发送应用连接通知消息发起应用连接,也会继续进行应用连接的构建,实现快速地建立设备间的应用连接,保证了数据的传输。The application connection construction method of the embodiment of the present disclosure understands the location of the terminal in the application connection by detecting the action of the terminal in the NONCONNECT state. Upon detecting that the terminal sends an application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer, that is, the message of the terminal to be connected. After the terminal sends the application connection notification message to the to-be-connected terminal, the type of the application connection message sent by the terminal to be connected received by the terminal is obtained. Then, depending on the type of the application connection message, the application connection with the terminal to be connected is constructed in different ways. In this way, even after the RG group connection is successfully established, the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
附图说明 DRAWINGS
图1为ICCP组网场景示意图;Figure 1 is a schematic diagram of an ICCP networking scenario;
图2为本公开实施例的应用连接的构建方法的步骤流程图;2 is a flow chart of steps of a method for constructing an application connection according to an embodiment of the present disclosure;
图3为应用本公开实施例的应用连接的构建方法建立应用连接的状态机示意图;3 is a schematic diagram of a state machine for establishing an application connection by using a method for constructing an application connection according to an embodiment of the present disclosure;
图4为应用本公开实施例的应用连接的构建方法的终端在场景一下的应用状态跃迁时序示意图;4 is a schematic diagram of a sequence of application state transitions of a terminal in a scenario in which a method for constructing an application connection according to an embodiment of the present disclosure is applied;
图5为应用本公开实施例的应用连接的构建方法的终端在场景二下的应用状态跃迁时序示意图;5 is a schematic diagram of an application state transition sequence of a terminal in a scenario 2 of a method for constructing an application connection according to an embodiment of the present disclosure;
图6为本公开实施例的应用连接的构建装置的结构示意图。FIG. 6 is a schematic structural diagram of an apparatus for constructing an application connection according to an embodiment of the present disclosure.
具体实施方式detailed description
为使本公开要解决的技术问题、技术方案和优点更加清楚,下面将结合附图及具体实施例进行详细描述。The technical problems, the technical solutions, and the advantages of the present invention will be more clearly described in conjunction with the accompanying drawings and specific embodiments.
本公开针对现有的应用连接构建方案中存在的终端间无法构建应用连接或者建立时间慢影响应用冗余数据同步的问题,提供了一种应用连接的构建方法,能快速地建立设备间的应用连接,保证数据的传输。The present disclosure provides a method for constructing an application connection, which can quickly establish an application between devices, for the problem that the application connection cannot exist in the existing application connection construction scheme or the establishment time is slow to affect the application redundancy data synchronization. Connection to ensure the transmission of data.
如图2所示,本公开实施例的一种应用连接的构建方法,包括:As shown in FIG. 2, a method for constructing an application connection according to an embodiment of the present disclosure includes:
步骤101,检测终端在应用连接的初始化状态下的动作;Step 101: Detect an action of the terminal in an initialization state of the application connection;
步骤102,在所述动作为发送应用连接通知消息至待连接终端时,获取接收到的所述待连接终端发送的应用连接消息的类型;Step 102: When the action is to send an application connection notification message to the to-be-connected terminal, obtain the type of the application connection message sent by the terminal to be connected.
步骤103,根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接。Step 103: Construct an application connection with the terminal to be connected according to the type of the received application connection message.
本公开实施例的应用连接构建方法中,构建应用连接的终端作为网络侧边缘设备,是已成功建立了RG组连接的,准备建立应用连接,因此,终端此时处于应用连接的初始化状态(NONCONNECT状态)。通过上述步骤101,首先检测该终端在NONCONNECT状态下的动作,了解该终端在应用连接中的位置。而在检测到终端发送应用连接通知消息至待连接终端时,由于该应用连接通知消息为发起应用连接的建立的消息,说明该终端为主动发起应用连接端,则该终端进入到连接发送状态(CONNSENT状态),等待对端也就是待连接终端的消息。但是由于待连接终端之前并未与该终端通信,所以在CONNSENT状态下,接收到的待连接终端发送的应用连接消息可能是该待连接终端在接收到该终端的应用连接通知消息后发送的应用连接建立消息,也可能是该待连接终端在接收到该终端的应用连接通知消息之前发送的应用连接通知消息,所以,如步骤102,在该终端发送应用连接通知消息至待连接终端后,要获取该终端接收到的待连接终端发送的应用连接消息的类型。然后,如步骤103,根据应用连接消息的类型,通过不同的方式构建与待连接终端的应用连接。In the application connection construction method of the embodiment of the present disclosure, the terminal connected to the application is configured as the network side edge device, and the RG group connection is successfully established, and the application connection is established. Therefore, the terminal is in the initialization state of the application connection at this time (NONCONNECT) status). Through the above step 101, the action of the terminal in the NONCONNECT state is first detected, and the location of the terminal in the application connection is known. When the terminal sends the application connection notification message to the to-be-connected terminal, the application connection notification message is a message for initiating the establishment of the application connection, indicating that the terminal initiates the application connection end, and the terminal enters the connection transmission state ( CONNSENT state), waiting for the peer, that is, the message of the terminal to be connected. However, the application connection message sent by the received terminal to be connected may be an application sent by the to-be-connected terminal after receiving the application connection notification message of the terminal, in the CONNSENT state, because the terminal is not in communication with the terminal. The connection establishment message may also be an application connection notification message sent by the to-be-connected terminal before receiving the application connection notification message of the terminal. Therefore, in step 102, after the terminal sends the application connection notification message to the terminal to be connected, Obtaining the type of the application connection message sent by the terminal to be connected received by the terminal. Then, as in step 103, an application connection with the terminal to be connected is constructed in a different manner according to the type of the application connection message.
这样,即使在RG组连接建立成功后,两端同时或者由于之间的消息拥塞先后均发送应用连接通知消息发起应用连接,也会继续进行应用连接的构建,实现快速地建立设备间的应用连接,保证了数据的传输。In this way, even after the RG group connection is successfully established, the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
具体的,步骤103包括: Specifically, step 103 includes:
若接收到的所述应用连接消息为应用连接通知消息,则发送应用连接建立消息至所述待连接终端,在接收到所述待连接终端发送的应用连接建立消息时,建立与所述待连接终端的应用连接;And if the received application connection message is an application connection notification message, sending an application connection establishment message to the to-be-connected terminal, and when the application connection establishment message sent by the to-be-connected terminal is received, establishing the to-be-connected Application connection of the terminal;
若接收到所述应用连接消息为应用连接建立消息,建立与所述待连接终端的应用连接。And if the application connection message is received as an application connection establishment message, establishing an application connection with the terminal to be connected.
如图3所示,该终端在NONCONNECT状态发送应用连接通知消息至待连接终端,进入到CONNSENT状态后,通过判断得知接收到的待连接终端发送的应用连接消息也为应用连接通知消息,就能够了解到待连接终端也主动发起了应用连接的建立。之后,为了避免两端都在CONNSENT状态下等待对端的反馈,该终端则会主动发送应用连接建立消息至待连接终端,进入连接接收状态(CONNRECV状态)。而在CONNRECV状态下,接收到待连接终端反馈的应用连接建立消息时,进入到二次连接接收状态(ABIT_CONNRECV状态),建立与待连接终端的应用连接,进入到可使用状态(OPERATIONAL状态)。As shown in FIG. 3, the terminal sends an application connection notification message to the to-be-connected terminal in the NONCONNECT state. After entering the CONNSENT state, it is determined that the received application connection message sent by the terminal to be connected is also an application connection notification message. It can be known that the terminal to be connected also actively initiates the establishment of an application connection. After that, in order to avoid the feedback of both ends in the CONNSENT state, the terminal will actively send an application connection establishment message to the terminal to be connected, and enter the connection reception state (CONNRECV state). In the CONNRECV state, when receiving the application connection establishment message fed back by the terminal to be connected, the device enters the secondary connection reception state (ABIT_CONNRECV state), establishes an application connection with the terminal to be connected, and enters the usable state (OPERATIONAL state).
而在CONNSENT状态下,通过判断得知接收到的待连接终端发送的应用连接消息为应用连接建立消息,就能够了解到待连接终端接收到了NONCONNECT状态下该终端发送的应用连接通知消息,并反馈该应用连接建立消息,此时,就能够建立与待连接终端的应用连接,进入到可使用状态OPERATIONAL状态。In the CONNSENT state, by determining that the received application connection message sent by the terminal to be connected is an application connection establishment message, it can be learned that the to-be-connected terminal receives the application connection notification message sent by the terminal in the NONCONNECT state, and feedbacks The application connection establishment message, at this time, it is possible to establish an application connection with the terminal to be connected, and enter the usable state OPERATIONAL state.
由上述内容可知,该终端已接收到了待连接终端反馈的应用连接建立消息,但是待连接终端并不了解该终端的情况,所以,进一步的,步骤103中,建立与所述待连接终端的应用连接的步骤包括:发送应用连接建立消息至所述待连接终端,完成与所述待连接终端的应用连接的建立。It can be seen from the above that the terminal has received the application connection establishment message fed back from the terminal to be connected, but the terminal to be connected does not know the situation of the terminal. Therefore, in step 103, the application with the terminal to be connected is established. The step of connecting includes: sending an application connection establishment message to the terminal to be connected, and completing establishment of an application connection with the terminal to be connected.
终端在CONNSENT状态或ABIT_CONNRECV状态,接收到待连接终端反馈的应用连接建立消息后,会反馈应用连接建立消息至该待连接终端,进入到OPERATIONAL状态,完成与该待连接终端的应用连接的建立。After receiving the application connection establishment message fed back by the terminal to be connected in the CONNSENT state or the ABIT_CONNRECV state, the terminal feeds back the application connection establishment message to the to-be-connected terminal, enters the OPERATIONAL state, and completes the establishment of the application connection with the terminal to be connected.
此外,在网络侧边缘设备之间成功建立了RG组连接后,对端的待连接终端由于配置可能会优先发起应用连接的建立。因此,在上述实施例的基础上,本公开实施例的应用连接构建方法还包括:In addition, after the RG group connection is successfully established between the network side edge devices, the terminal to be connected at the opposite end may preferentially initiate the establishment of the application connection due to the configuration. Therefore, on the basis of the foregoing embodiment, the application connection construction method of the embodiment of the present disclosure further includes:
步骤104,在所述动作为接收到所述待连接终端发送的应用连接通知消息时,发送应用连接建立消息至所述待连接终端;Step 104, when the action is that the application connection notification message sent by the to-be-connected terminal is received, sending an application connection establishment message to the to-be-connected terminal;
步骤105,接收所述待连接终端反馈的应用连接建立消息后,完成与所述待连接终端的应用连接的建立。Step 105: After receiving the application connection establishment message fed back by the terminal to be connected, complete establishment of an application connection with the terminal to be connected.
如图3所示,该终端在NONCONNECT状态下还未来得及发起应用连接的建立,就接收到待连接终端发送的应用连接通知消息,了解到待连接终端已经优先发起了应用连接的建立,因此,该终端进入到CONNRECV状态,且在该CONNRECV状态下,反馈应用连接建立消息至待连接终端,进入到连接建立状态(CONNECTING状态)。之后,若再次接收到待连接终端反馈的应用连接建立消息,该终端进入到OPERATIONAL状态,完成与所述待连接终端的应用连接的建立。As shown in FIG. 3, in the NONCONNECT state, the terminal can also initiate the establishment of the application connection in the future, and receive the application connection notification message sent by the terminal to be connected, and learn that the terminal to be connected has preferentially initiated the establishment of the application connection. The terminal enters the CONNRECV state, and in the CONNRECV state, the application connection establishment message is fed back to the terminal to be connected, and enters the connection establishment state (CONNECTING state). Then, if the application connection establishment message fed back by the terminal to be connected is received again, the terminal enters the OPERATIONAL state, and the establishment of the application connection with the terminal to be connected is completed.
其中,所述应用连接建立消息是预定义字段为1的应用连接消息;所述应用连接通知消 息是预定义字段为0的应用连接消息。The application connection establishment message is an application connection message with a predefined field of 1. The application connection notification is cancelled. The message is an application connection message with a predefined field of 0.
应该知道的是,PE设备间的交互的应用连接消息往往是按照TLV的格式封装到报文中的,而为了区分应用连接消息的类型是用于告知对端终端确定建立应用连接的应用连接建立消息,还是用于向对端终端发起应用连接的应用连接通知消息,在应用连接消息的预定义字段进行定义区分。可选的,A Bit(Acknowledgement bit)为1的应用连接消息为应用连接建立消息,A Bit为0的应用连接消息为应用连接通知消息。It should be noted that the application connection message of the interaction between the PE devices is often encapsulated into the message according to the TLV format, and the type of the application connection message is used to notify the peer terminal to determine the application connection establishment for establishing the application connection. The message is also an application connection notification message for initiating an application connection to the peer terminal, and the definition is differentiated in a predefined field of the application connection message. Optionally, the application connection message with an A bit (Acknowledgement bit) of 1 is an application connection establishment message, and the application connection message with an A bit of 0 is an application connection notification message.
此外,本公开实施例的应用连接的构建方法,在非NONCONNECT状态下,关闭连接,或者接收到不可接受的消息,则进入NONCONNECT状态。In addition, the method for constructing an application connection in the embodiment of the present disclosure enters the NONCONNECT state in a non-NONCONNECT state, closes the connection, or receives an unacceptable message.
例如A、B终端具有ICCP冗余组的相关配置,能够建立ICCP专用的LDP目标会话,且ICCP冗余组的连接在LDP会话的基础上能够建立成功,应用相关的配置后,触发发起应用连接的建立。结合不同的应用场景,说明本公开实施例的应用连接的构建方法在终端上的应用如下:For example, the A and B terminals have the relevant configuration of the ICCP redundancy group, and the ICCP-dedicated LDP target session can be established. The connection of the ICCP redundancy group can be successfully established on the basis of the LDP session. After the relevant configuration is applied, the application connection is triggered. The establishment of. The application of the application connection method of the embodiment of the present disclosure to the terminal is as follows:
场景一、如图4所示,两台终端由配置触发同时发起应用连接消息,状态跃迁时序如下,因为A和B的状态跃迁相同,因此仅以一台为例做进一步说明;Scenario 1. As shown in Figure 4, the two terminals are triggered by the configuration to initiate the application connection message at the same time. The state transition timing is as follows. Because the state transitions of A and B are the same, only one is used as an example for further explanation.
NONCONNECT状态下发送应用连接通知消息,状态切换至CONNSENT状态;Sending an application connection notification message in the NONCONNECT state, and the state is switched to the CONNSENT state;
接收到对端发送的应用连接消息,判断为应用连接通知消息,触发发送A Bit为1的应用连接建立消息,状态切换至CONNRECV状态;Receiving the application connection message sent by the peer end, determining that the application connection notification message is triggered, triggering the application connection establishment message with the A bit being 1, and the state is switched to the CONNRECV state;
接收到对端发送的A Bit为1的应用连接建立消息,状态切换至ABIT_CONNRECV状态;Receiving an application connection establishment message with the A bit of 1 sent by the peer end, and the state is switched to the ABIT_CONNRECV state;
触发发送A Bit为1的应用连接建立消息,状态切换至OPERATIONAL状态。Trigger to send an application connection setup message with A bit 1 and switch to the OPERATIONAL state.
场景二、如图5所示,两台终端由配置触发分别发起应用连接消息,时序及状态跃迁如下,因为A和B的状态跃迁不同,因此分别做进一步说明;Scenario 2: As shown in Figure 5, the two terminals initiate application connection messages by configuration triggers. The timing and state transitions are as follows. Because the state transitions of A and B are different, they are further explained separately.
A终端:A terminal:
NONCONNECT状态下发送应用连接通知消息,状态切换至CONNSENT状态;Sending an application connection notification message in the NONCONNECT state, and the state is switched to the CONNSENT state;
接收到对端发送的A Bit为1的应用连接建立消息,判断为应用连接建立消息;Receiving an application connection establishment message that the A bit sent by the peer end is 1, and determining that the connection establishment message is applied;
触发发送A Bit为1的应用连接建立消息,状态切换至OPERATIONAL状态。Trigger to send an application connection setup message with A bit 1 and switch to the OPERATIONAL state.
B终端:B terminal:
NONCONNECT状态下接收应用连接通知消息,状态切换至CONNRECV状态;Receiving an application connection notification message in the NONCONNECT state, the state is switched to the CONNRECV state;
发送A Bit为1的应用连接建立消息,状态切换至CONNECTING状态;Send an application connection establishment message with A bit of 1, and the state is switched to the CONNECTING state;
接收到对端发送的A Bit为1的应用连接建立消息,状态切换至OPERATIONAL状态。The application connection establishment message with the A bit of 1 sent by the peer end is received, and the state is switched to the OPERATIONAL state.
综上所述,本公开实施例的应用连接构建方法,通过检测该终端在NONCONNECT状态下的动作,了解该终端在应用连接中的位置。在检测到终端发送应用连接通知消息至待连接终端时,该终端进入到CONNSENT状态,等待对端也就是待连接终端的消息。在该终端发送应用连接通知消息至待连接终端后,获取该终端接收到的待连接终端发送的应用连接消息的类型。然后,根据应用连接消息的类型,通过不同的方式构建与待连接终端的应用连接。这样,即使在RG组连接建立成功后,两端同时或者由于之间的消息拥塞先后均发送应用连 接通知消息发起应用连接,也会继续进行应用连接的构建,实现快速地建立设备间的应用连接,保证了数据的传输。In summary, the application connection construction method of the embodiment of the present disclosure understands the location of the terminal in the application connection by detecting the action of the terminal in the NONCONNECT state. Upon detecting that the terminal sends an application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer, that is, the message of the terminal to be connected. After the terminal sends the application connection notification message to the to-be-connected terminal, the type of the application connection message sent by the terminal to be connected received by the terminal is obtained. Then, depending on the type of the application connection message, the application connection with the terminal to be connected is constructed in different ways. In this way, even after the RG group connection is successfully established, the application ends are sent simultaneously or because of the message congestion between the two ends. The notification message initiates the application connection, and the application connection is also continued to be constructed, so that the application connection between the devices is quickly established, and the data transmission is ensured.
如图6所示,本公开的实施例还提供了一种应用连接的构建装置,包括:As shown in FIG. 6, an embodiment of the present disclosure further provides a device for constructing an application connection, including:
检测模块601,设置为检测终端在应用连接的初始化状态下的动作;The detecting module 601 is configured to detect an action of the terminal in an initialization state of the application connection;
获取模块602,设置为在所述动作为发送应用连接通知消息至待连接终端时,获取接收到的所述待连接终端发送的应用连接消息的类型;The obtaining module 602 is configured to: when the action is to send an application connection notification message to the to-be-connected terminal, obtain the type of the application connection message sent by the terminal to be connected;
处理模块603,设置为根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接。The processing module 603 is configured to establish an application connection with the to-be-connected terminal according to the type of the received application connection message.
其中,所述处理模块包括:The processing module includes:
第一处理子模块,设置为若接收到的所述应用连接消息为应用连接通知消息,则发送应用连接建立消息至所述待连接终端,在接收到所述待连接终端发送的应用连接建立消息时,建立与所述待连接终端的应用连接;The first processing sub-module is configured to: if the received application connection message is an application connection notification message, send an application connection establishment message to the to-be-connected terminal, and receive an application connection establishment message sent by the to-be-connected terminal Establishing an application connection with the terminal to be connected;
第二处理子模块,设置为若接收到所述应用连接消息为应用连接建立消息,建立与所述待连接终端的应用连接。The second processing submodule is configured to establish an application connection with the to-be-connected terminal if the application connection message is received as an application connection establishment message.
其中,所述第一处理子模块/所述第二处理子模块包括:The first processing submodule/the second processing submodule includes:
发送单元,设置为发送应用连接建立消息至所述待连接终端,完成与所述待连接终端的应用连接的建立。And a sending unit, configured to send an application connection establishment message to the to-be-connected terminal, to complete establishment of an application connection with the to-be-connected terminal.
其中,所述应用连接的构建装置还包括:The construction device of the application connection further includes:
发送模块,设置为在所述动作为接收到所述待连接终端发送的应用连接通知消息时,发送应用连接建立消息至所述待连接终端;a sending module, configured to send an application connection establishment message to the to-be-connected terminal when the action is an application connection notification message sent by the terminal to be connected;
接收模块,设置为接收所述待连接终端反馈的应用连接建立消息,完成与所述待连接终端的应用连接的建立。The receiving module is configured to receive an application connection establishment message fed back by the terminal to be connected, and complete establishment of an application connection with the terminal to be connected.
其中,所述应用连接建立消息是预定义字段为1的应用连接消息;所述应用连接通知消息是预定义字段为0的应用连接消息。The application connection establishment message is an application connection message with a predefined field of 1. The application connection notification message is an application connection message with a predefined field of 0.
本公开实施例的应用连接构建装置,通过检测模块检测该终端在NONCONNECT状态下的动作,了解该终端在应用连接中的位置。获取模块在检测到终端发送应用连接通知消息至待连接终端时,该终端进入到CONNSENT状态,等待对端也就是待连接终端的消息。在该终端发送应用连接通知消息至待连接终端后,获取该终端接收到的待连接终端发送的应用连接消息的类型。然后,处理模块根据应用连接消息的类型,通过不同的方式构建与待连接终端的应用连接。这样,即使在RG组连接建立成功后,两端同时或者由于之间的消息拥塞先后均发送应用连接通知消息发起应用连接,也会继续进行应用连接的构建,实现快速地建立设备间的应用连接,保证了数据的传输。The application connection construction device of the embodiment of the present disclosure detects the action of the terminal in the NONCONNECT state through the detection module, and knows the location of the terminal in the application connection. When the acquiring module detects that the terminal sends the application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer end, that is, the message of the terminal to be connected. After the terminal sends the application connection notification message to the to-be-connected terminal, the type of the application connection message sent by the terminal to be connected received by the terminal is obtained. Then, the processing module constructs an application connection with the terminal to be connected in different manners according to the type of the application connection message. In this way, even after the RG group connection is successfully established, the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
需要说明的是,该装置是应用了上述应用连接的构建方法的装置,上述应用连接的构建方法的实施例的实现方式适用于该装置,也能达到相同的技术效果。It should be noted that the device is a device to which the above-mentioned application connection construction method is applied, and the implementation manner of the embodiment of the application connection construction method is applicable to the device, and the same technical effect can be achieved.
本公开实施例还提供了一种终端,包括如上所述的应用连接的构建装置。Embodiments of the present disclosure also provide a terminal, including a construction device for an application connection as described above.
本公开实施例的应用连接构建装置,通过检测该终端在NONCONNECT状态下的动作, 了解该终端在应用连接中的位置。在检测到终端发送应用连接通知消息至待连接终端时,该终端进入到CONNSENT状态,等待对端也就是待连接终端的消息。在该终端发送应用连接通知消息至待连接终端后,获取该终端接收到的待连接终端发送的应用连接消息的类型。然后,根据应用连接消息的类型,通过不同的方式构建与待连接终端的应用连接。这样,即使在RG组连接建立成功后,两端同时或者由于之间的消息拥塞先后均发送应用连接通知消息发起应用连接,也会继续进行应用连接的构建,实现快速地建立设备间的应用连接,保证了数据的传输。The application connection construction device of the embodiment of the present disclosure detects the action of the terminal in the NONCONNECT state, Understand the location of the terminal in the application connection. Upon detecting that the terminal sends an application connection notification message to the terminal to be connected, the terminal enters the CONNSENT state and waits for the peer, that is, the message of the terminal to be connected. After the terminal sends the application connection notification message to the to-be-connected terminal, the type of the application connection message sent by the terminal to be connected received by the terminal is obtained. Then, depending on the type of the application connection message, the application connection with the terminal to be connected is constructed in different ways. In this way, even after the RG group connection is successfully established, the application connection notification message is used to initiate the application connection at the same time or because of the message congestion between the two ends, and the application connection is continued to be established, so as to quickly establish an application connection between the devices. To ensure the transmission of data.
需要说明的是,该终端是应用了上述应用连接的构建方法的终端,上述应用连接的构建方法的实施例的实现方式适用于该终端,也能达到相同的技术效果。It should be noted that the terminal is a terminal to which the above-mentioned application connection construction method is applied, and the implementation manner of the embodiment of the application connection construction method is applicable to the terminal, and the same technical effect can be achieved.
进一步需要说明的是,此说明书中所描述的许多功能部件都被称为模块,以便更加特别地强调其实现方式的独立性。It should be further noted that many of the functional components described in this specification are referred to as modules to more particularly emphasize the independence of their implementation.
本公开实施例中,模块可以用软件实现,以便由各种类型的处理器执行。举例来说,一个标识的可执行代码模块可以包括计算机指令的一个或多个物理或者逻辑块,举例来说,其可以被构建为对象、过程或函数。尽管如此,所标识模块的可执行代码无需物理地位于一起,而是可以包括存储在不同位置上的不同的指令,当这些指令逻辑上结合在一起时,其构成模块并且实现该模块的规定目的。In embodiments of the present disclosure, modules may be implemented in software for execution by various types of processors. For example, an identified executable code module can comprise one or more physical or logical blocks of computer instructions, which can be constructed, for example, as an object, procedure, or function. Nonetheless, the executable code of the identified modules need not be physically located together, but may include different instructions stored in different locations that, when logically combined, constitute a module and achieve the stated purpose of the module .
实际上,可执行代码模块可以是单条指令或者是许多条指令,并且甚至可以分布在多个不同的代码段上,分布在不同程序当中,以及跨越多个存储器设备分布。同样地,操作数据可以在模块内被识别,并且可以依照任何适当的形式实现并且被组织在任何适当类型的数据结构内。所述操作数据可以作为单个数据集被收集,或者可以分布在不同位置上(包括在不同存储设备上),并且至少部分地可以仅作为电子信号存在于系统或网络上。In practice, the executable code module can be a single instruction or a plurality of instructions, and can even be distributed across multiple different code segments, distributed among different programs, and distributed across multiple memory devices. As such, operational data may be identified within the modules and may be implemented in any suitable form and organized within any suitable type of data structure. The operational data may be collected as a single data set, or may be distributed at different locations (including on different storage devices), and may at least partially exist as an electronic signal on a system or network.
在模块可以利用软件实现时,考虑到现有硬件工艺的水平,所以可以以软件实现的模块,在不考虑成本的情况下,本领域技术人员都可以搭建对应的硬件电路来实现对应的功能,所述硬件电路包括常规的超大规模集成(VLSI)电路或者门阵列以及诸如逻辑芯片、晶体管之类的现有半导体或者是其它分立的元件。模块还可以用可编程硬件设备,诸如现场可编程门阵列、可编程阵列逻辑、可编程逻辑设备等实现。When the module can be implemented by software, considering the level of the existing hardware process, the module can be implemented in software, and the technician can construct a corresponding hardware circuit to implement the corresponding function without considering the cost. The hardware circuitry includes conventional Very Large Scale Integration (VLSI) circuits or gate arrays as well as existing semiconductors such as logic chips, transistors, or other discrete components. The modules can also be implemented with programmable hardware devices such as field programmable gate arrays, programmable array logic, programmable logic devices, and the like.
上述范例性实施例是参考该些附图来描述的,许多不同的形式和实施例是可行而不偏离本公开精神及教示,因此,本公开不应被建构成为在此所提出范例性实施例的限制。更确切地说,这些范例性实施例被提供以使得本公开会是完善又完整,且会将本公开范围传达给那些熟知此项技术的人士。在该些图式中,组件尺寸及相对尺寸也许基于清晰起见而被夸大。在此所使用的术语只是基于描述特定范例性实施例目的,并无意成为限制用。如在此所使用地,除非该内文清楚地另有所指,否则该单数形式“一”、“一个”和“该”是意欲将该些多个形式也纳入。会进一步了解到该些术语“包含”及/或“包括”在使用于本说明书时,表示所述特征、整数、步骤、操作、构件及/或组件的存在,但不排除一或更多其它特征、整数、步骤、操作、构件、组件及/或其族群的存在或增加。除非另有所示,陈述时,一值范围包含该范围的上下限及其间的任何子范围。 The above-described exemplary embodiments are described with reference to the drawings, and the various embodiments and embodiments of the present invention are not to be limits. Rather, these exemplary embodiments are provided so that this disclosure will be thorough and complete, and the scope of the disclosure will be disclosed to those skilled in the art. In these figures, component dimensions and relative dimensions may be exaggerated for clarity. The terminology used herein is for the purpose of describing the particular embodiments of the embodiments The singular forms "a", "the", and "the" It will be further understood that the terms "comprises" and/or "comprises", when used in the specification, mean the presence of the features, integers, steps, operations, components and/or components, but does not exclude one or more The presence or addition of features, integers, steps, operations, components, components, and/or their ethnic groups. Unless stated otherwise, a range of values includes the upper and lower limits of the range and any subranges in between.
以上所述是本公开的优选实施方式,应当指出,对于本技术领域的普通技术人员来说,在不脱离本公开所述原理的前提下,还可以作出若干改进和润饰,这些改进和润饰也应视为本公开的保护范围。The above is a preferred embodiment of the present disclosure, and it should be noted that those skilled in the art can also make several improvements and refinements without departing from the principles of the present disclosure. It should be considered as the scope of protection of this disclosure.
工业实用性Industrial applicability
本公开适用于数据通信领域,用以解决现有的应用连接构建方案中存在的终端间无法构建应用连接或者建立时间慢影响应用冗余数据同步的问题,能快速地建立设备间的应用连接,保证数据的传输。 The present disclosure is applicable to the field of data communication, and solves the problem that an existing application connection connection solution cannot establish an application connection between terminals, or a slow setup time affects application redundant data synchronization, and can quickly establish an application connection between devices. Guarantee the transmission of data.

Claims (12)

  1. 一种应用连接的构建方法,包括:A method of constructing an application connection, comprising:
    检测终端在应用连接的初始化状态下的动作;Detecting the action of the terminal in the initialization state of the application connection;
    在所述动作为发送应用连接通知消息至待连接终端时,获取接收到的所述待连接终端发送的应用连接消息的类型;And acquiring, by the action, the type of the application connection message sent by the to-be-connected terminal, when the application connection notification message is sent to the to-be-connected terminal;
    根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接。And establishing, according to the type of the application connection message received, an application connection with the terminal to be connected.
  2. 根据权利要求1所述的应用连接的构建方法,其中,根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接的步骤包括:The method for constructing an application connection according to claim 1, wherein the step of constructing an application connection with the terminal to be connected according to the type of the application connection message received comprises:
    若接收到的所述应用连接消息为应用连接通知消息,则发送应用连接建立消息至所述待连接终端,在接收到所述待连接终端发送的应用连接建立消息时,建立与所述待连接终端的应用连接;And if the received application connection message is an application connection notification message, sending an application connection establishment message to the to-be-connected terminal, and when the application connection establishment message sent by the to-be-connected terminal is received, establishing the to-be-connected Application connection of the terminal;
    若接收到所述应用连接消息为应用连接建立消息,建立与所述待连接终端的应用连接。And if the application connection message is received as an application connection establishment message, establishing an application connection with the terminal to be connected.
  3. 根据权利要求2所述的应用连接的构建方法,其中,建立与所述待连接终端的应用连接的步骤包括:The method for constructing an application connection according to claim 2, wherein the step of establishing an application connection with the terminal to be connected comprises:
    发送应用连接建立消息至所述待连接终端,完成与所述待连接终端的应用连接的建立。Sending an application connection establishment message to the to-be-connected terminal, completing establishment of an application connection with the to-be-connected terminal.
  4. 根据权利要求1所述的应用连接的构建方法,还包括:The method for constructing an application connection according to claim 1, further comprising:
    在所述动作为接收到所述待连接终端发送的应用连接通知消息时,发送应用连接建立消息至所述待连接终端;When the action is that the application connection notification message sent by the to-be-connected terminal is received, sending an application connection establishment message to the to-be-connected terminal;
    接收所述待连接终端反馈的应用连接建立消息后,完成与所述待连接终端的应用连接的建立。After receiving the application connection establishment message fed back by the terminal to be connected, the establishment of the application connection with the terminal to be connected is completed.
  5. 根据权利要求1所述的应用连接的构建方法,其中,所述应用连接建立消息是预定义字段为1的应用连接消息;所述应用连接通知消息是预定义字段为0的应用连接消息。The method for constructing an application connection according to claim 1, wherein the application connection establishment message is an application connection message with a predefined field of 1; and the application connection notification message is an application connection message with a predefined field of 0.
  6. 一种应用连接的构建装置,包括:A construction device for connecting applications, comprising:
    检测模块,设置为检测终端在应用连接的初始化状态下的动作;a detecting module configured to detect an action of the terminal in an initialization state of the application connection;
    获取模块,设置为在所述动作为发送应用连接通知消息至待连接终端时,获取接收到的所述待连接终端发送的应用连接消息的类型;An acquiring module, configured to acquire, when the action is an application connection notification message, to the to-be-connected terminal, the type of the application connection message sent by the received terminal to be connected;
    处理模块,设置为根据接收到的所述应用连接消息的类型,构建与所述待连接终端的应用连接。And a processing module, configured to establish an application connection with the terminal to be connected according to the type of the received application connection message.
  7. 根据权利要求6所述的应用连接的构建装置,其中,所述处理模块包括:The device for constructing an application connection according to claim 6, wherein the processing module comprises:
    第一处理子模块,设置为若接收到的所述应用连接消息为应用连接通知消息,则发送应用连接建立消息至所述待连接终端,在接收到所述待连接终端发送的应用连接建立消息时,建立与所述待连接终端的应用连接; The first processing sub-module is configured to: if the received application connection message is an application connection notification message, send an application connection establishment message to the to-be-connected terminal, and receive an application connection establishment message sent by the to-be-connected terminal Establishing an application connection with the terminal to be connected;
    第二处理子模块,设置为若接收到所述应用连接消息为应用连接建立消息,建立与所述待连接终端的应用连接。The second processing submodule is configured to establish an application connection with the to-be-connected terminal if the application connection message is received as an application connection establishment message.
  8. 根据权利要求7所述的应用连接的构建装置,其中,所述第一处理子模块/所述第二处理子模块包括:The device for constructing an application connection according to claim 7, wherein the first processing submodule/the second processing submodule comprises:
    发送单元,设置为发送应用连接建立消息至所述待连接终端,完成与所述待连接终端的应用连接的建立。And a sending unit, configured to send an application connection establishment message to the to-be-connected terminal, to complete establishment of an application connection with the to-be-connected terminal.
  9. 根据权利要求6所述的应用连接的构建装置,还包括:The device for constructing an application connection according to claim 6, further comprising:
    发送模块,设置为在所述动作为接收到所述待连接终端发送的应用连接通知消息时,发送应用连接建立消息至所述待连接终端;a sending module, configured to send an application connection establishment message to the to-be-connected terminal when the action is an application connection notification message sent by the terminal to be connected;
    接收模块,设置为接收所述待连接终端反馈的应用连接建立消息,完成与所述待连接终端的应用连接的建立。The receiving module is configured to receive an application connection establishment message fed back by the terminal to be connected, and complete establishment of an application connection with the terminal to be connected.
  10. 根据权利要求6所述的应用连接的构建装置,其中,所述应用连接建立消息是预定义字段为1的应用连接消息;所述应用连接通知消息是预定义字段为0的应用连接消息。The application connection construction apparatus according to claim 6, wherein the application connection establishment message is an application connection message with a predefined field of 1; and the application connection notification message is an application connection message with a predefined field of 0.
  11. 一种终端,包括如权利要求6至10任一项所述的应用连接的构建装置。A terminal comprising the construction device of the application connection according to any one of claims 6 to 10.
  12. 一种计算机存储介质,所述计算机存储介质存储有执行指令,所述执行指令用于执行权利要求1至5中任一项所述的方法。 A computer storage medium storing execution instructions for performing the method of any one of claims 1 to 5.
PCT/CN2017/084124 2016-06-24 2017-05-12 Method and device for constructing application connection, and terminal WO2017219786A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610471677.2A CN107547583A (en) 2016-06-24 2016-06-24 A kind of construction method, device and the terminal of application connection
CN201610471677.2 2016-06-24

Publications (1)

Publication Number Publication Date
WO2017219786A1 true WO2017219786A1 (en) 2017-12-28

Family

ID=60784312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/084124 WO2017219786A1 (en) 2016-06-24 2017-05-12 Method and device for constructing application connection, and terminal

Country Status (2)

Country Link
CN (1) CN107547583A (en)
WO (1) WO2017219786A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212472A (en) * 2006-12-31 2008-07-02 乐金电子(中国)研究开发中心有限公司 Method for enabling mobile terminals to establish a plurality of point-to-point connections
US20100315946A1 (en) * 2009-06-10 2010-12-16 Cisco Technology,Inc. Failure protection for access ring topology
CN102598735A (en) * 2009-10-27 2012-07-18 萨热姆通讯能源电信简易股份有限公司 Method for establishing an application session, device and corresponding notification

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101977150B (en) * 2010-11-05 2012-05-23 华为技术有限公司 Method and equipment for real-time recovery of virtual private network (VPN) message forwarding in L3VPN
CN102394889A (en) * 2011-11-15 2012-03-28 迈普通信技术股份有限公司 Network server access method and access system
WO2015000173A1 (en) * 2013-07-05 2015-01-08 华为技术有限公司 Tunnel establishment method, label allocation method, device, and network system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101212472A (en) * 2006-12-31 2008-07-02 乐金电子(中国)研究开发中心有限公司 Method for enabling mobile terminals to establish a plurality of point-to-point connections
US20100315946A1 (en) * 2009-06-10 2010-12-16 Cisco Technology,Inc. Failure protection for access ring topology
CN102598735A (en) * 2009-10-27 2012-07-18 萨热姆通讯能源电信简易股份有限公司 Method for establishing an application session, device and corresponding notification

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MARTINI, L. ET AL.: "Inter-Chassis Communication Protocol for Layer 2 Virtual Private Network (L2VPN) Provider Edge (PE) Redundancy", INTERNET ENGINEERING TASK FORCE (IETF) REQUEST FOR COMMENTS, vol. 7275, 30 June 2014 (2014-06-30), pages 17 - 21 and 27-28 *

Also Published As

Publication number Publication date
CN107547583A (en) 2018-01-05

Similar Documents

Publication Publication Date Title
CN105763359B (en) Distributed bidirectional forwarding detection protocol (D-BFD) for an interleaved fabric switch cluster
US9332037B2 (en) Method and apparatus for redundant signaling links
US10931742B2 (en) State replication of virtual network function instances
US7903546B2 (en) Detecting unavailable network connections
US7742400B2 (en) Method and system for detecting link failure between nodes in a hybrid network
US7940678B2 (en) Method for triggering failure detection in bidirectional forwarding detection
US8442046B2 (en) Sending routing protocol data on a multi-access network segment
JPH09321821A (en) Protocol conversion system and its method
CN110971698A (en) Data forwarding system, method and device
EP2553870B1 (en) An operations, administrations and management proxy and a method for handling operations, administrations and management messages
WO2010060250A1 (en) Address refreshing method and device in ethernet ring network
CN110324375B (en) Information backup method and related equipment
US20200044964A1 (en) Defect detection in ip/mpls network tunnels
US20190342200A1 (en) Methods, systems, and computer readable media for multiple bidirectional forwarding detection (bfd) session optimization
US8060628B2 (en) Technique for realizing high reliability in inter-application communication
WO2016086890A1 (en) Method and device for detecting connectivity
CN109873719B (en) Fault detection method and device
WO2021143524A1 (en) Fault detection method, and apparatus
JP2006229399A (en) Communications system, relay node and communication method used for the same, and program thereof
CN108270593B (en) Dual-computer hot backup method and system
WO2017219786A1 (en) Method and device for constructing application connection, and terminal
KR20200072941A (en) Method and apparatus for handling VRRP(Virtual Router Redundancy Protocol)-based network failure using real-time fault detection
CN113037622B (en) System and method for preventing BFD from vibrating
Kim et al. Protection switching methods for point‐to‐multipoint connections in packet transport networks
WO2014079010A1 (en) Service protection method, device and system

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: 17814524

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: 17814524

Country of ref document: EP

Kind code of ref document: A1