CN106375353B - Link establishment processing method and device - Google Patents

Link establishment processing method and device Download PDF

Info

Publication number
CN106375353B
CN106375353B CN201510427521.XA CN201510427521A CN106375353B CN 106375353 B CN106375353 B CN 106375353B CN 201510427521 A CN201510427521 A CN 201510427521A CN 106375353 B CN106375353 B CN 106375353B
Authority
CN
China
Prior art keywords
bmp
link establishment
state
bmp session
sessions
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510427521.XA
Other languages
Chinese (zh)
Other versions
CN106375353A (en
Inventor
周广腾
陈东方
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201510427521.XA priority Critical patent/CN106375353B/en
Priority to PCT/CN2016/077573 priority patent/WO2016177184A1/en
Publication of CN106375353A publication Critical patent/CN106375353A/en
Application granted granted Critical
Publication of CN106375353B publication Critical patent/CN106375353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/1026Media gateways at the edge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1069Session establishment or de-establishment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/1066Session management
    • H04L65/1083In-session procedures
    • H04L65/1093In-session procedures by adding participants; by removing participants
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a link establishment processing method and a device, wherein the method comprises the following steps: under the condition that a first device and a second device perform Border Gateway Protocol (BGP) monitoring on BMP session link establishment failure, the first device adjusts the BMP session state of the first device to a state capable of successfully performing BMP session link establishment; after the state adjustment is completed, the first device performs link establishment processing with the second device according to the received link establishment request, so that the problem of low link establishment efficiency after the BMP session link establishment failure in the related technology is solved, and the efficiency of BMP session link establishment is effectively improved.

Description

Link establishment processing method and device
Technical Field
The present invention relates to the field of communications, and in particular, to a link establishment processing method and apparatus.
Background
A method for establishing a BMP neighbor chain defined by Border Gateway Protocol (BGP) Monitoring Protocol draft-ietf-grow-BMP-07, wherein the BMP is monitored by the BGP Protocol. Fig. 1 is a schematic diagram of normal BMP establishing according to the related art, as shown in fig. 1, BMP sessions of devices at two ends are required to be in a DOWN state, a certain party initiates a request for establishing a link, another party responds to the request, the link is successfully established, and the BMP sessions at two ends are both turned to an UP state.
However, due to a special reason, the conditions of DOWN at one end and UP at one end of a BMP session are caused, and a keep-alive message is not defined in the BMP protocol, so that one end of UP may not sense that DOWN is already at the other end, and the BMP session cannot be normally linked; the general solution is: deleting the BMP session, and then reconfiguring the BMP session again; therefore, the operation is troublesome, and the chain building efficiency is also influenced; i.e. how to quickly let the BMP session re-link, is not described.
An effective solution is not provided for the problem of low efficiency of link reestablishment after the BMP session link establishment failure in the related art.
Disclosure of Invention
The invention provides a link establishment processing method and a link establishment processing device, which are used for at least solving the problem of low link establishment efficiency after a BMP session link establishment failure in the related technology.
According to an aspect of the present invention, there is provided a link establishment processing method, including: under the condition that the first device and the second device fail to carry out BMP session link establishment, the first device adjusts the BMP session state of the first device to a state in which the BMP session link establishment can be successfully carried out; and after the state adjustment is finished, the first equipment and the second equipment perform link establishment processing according to the received link establishment request.
Further, the adjusting, by the first device, the BMP session state of the first device to a state in which BMP session link establishment can be successfully performed includes: and under the condition that the BMP session of the first equipment is in an UP state, the first equipment adjusts the BMP session state of the first equipment from UP to DOWN.
Further, the first device adjusting the BMP session state of the first device from UP to DOWN includes: the first device receives a configuration instruction for adjusting the BMP session state of the first device from UP to DOWN; and the first equipment adjusts the BMP session state of the first equipment from UP to DOWN according to the configuration instruction.
Further, the adjusting, by the first device, the BMP session state of the first device to a state in which BMP session link establishment can be successfully performed includes: the first device disables all BMP sessions of the first device and then enables all BMP sessions of the first device, where disabling means disabling all BMP sessions of the first device and enabling means enabling all BMP sessions of the first device to be valid.
Further, after the first device performs the link establishment processing with the second device according to the link establishment request, the BMP sessions of the first device and the second device are both in an UP state.
Further, after the state adjustment is completed, before the first device performs link establishment processing with the second device according to the received link establishment request, the method further includes: and the first equipment receives the link establishment request which is sent by the second equipment and used for completing BMP session link establishment.
According to another aspect of the embodiments of the present invention, there is also provided a link establishment processing apparatus, applied to a first device, including: the adjustment module is used for adjusting the BMP session state of the first equipment to a state capable of successfully establishing the BMP session under the condition that the first equipment and the second equipment fail to establish the BMP session; and the link establishment processing module is used for performing link establishment processing with the second equipment according to the received link establishment request after the state adjustment is completed.
Further, the adjustment module includes: an adjusting unit, configured to adjust a BMP session state of the first device from UP to DOWN when the BMP session of the first device is in an UP state.
Further, the adjusting unit includes: a receiving subunit, configured to receive a configuration instruction for adjusting a BMP session state of the first device from UP to DOWN; and the adjusting subunit is configured to adjust the BMP session state of the first device from UP to DOWN according to the configuration instruction.
Further, the adjustment module includes: an enabling unit, configured to disable all BMP sessions of the first device and then enable the BMP sessions, where disabling means disabling all BMP sessions of the first device, and enabling means enabling all BMP sessions of the first device.
According to the invention, under the condition that the first device and the second device fail to carry out BMP session link establishment, the first device adjusts the BMP session state of the first device to a state which can successfully carry out BMP session link establishment; after the state adjustment is completed, the first device performs link establishment processing with the second device according to the received link establishment request, so that the problem of low link establishment efficiency after the BMP session link establishment failure in the related technology is solved, and the efficiency of BMP session link establishment is effectively improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of normal BMP chain building according to the related art;
FIG. 2 is a flow chart of a link establishment processing method according to an embodiment of the present invention;
FIG. 3 is a block diagram of a link establishment processing apparatus according to an embodiment of the present invention;
FIG. 4 is a first block diagram of a link establishment processing apparatus according to an alternative embodiment of the present invention;
FIG. 5 is a block diagram two of a link establishment processing apparatus according to an alternative embodiment of the present invention;
FIG. 6 is a block diagram three of a link establishment processing apparatus according to an alternative embodiment of the present invention;
FIG. 7 is a first schematic diagram of BMP chaining in accordance with a preferred embodiment of the present invention;
FIG. 8 is a second schematic diagram of BMP chaining in accordance with a preferred embodiment of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
In this embodiment, a verification processing method is provided, and fig. 2 is a flowchart of a link establishment processing method according to an embodiment of the present invention, as shown in fig. 2, the flowchart includes the following steps:
step S202, under the condition that the first device and the second device fail to establish the BMP session link, the first device adjusts the BMP session state of the first device to a state that the BMP session link establishment can be successfully carried out;
step S204, after the state adjustment is completed, the first device performs link establishment processing with the second device according to the received link establishment request.
Through the steps, under the condition that the first device and the second device fail to establish the BMP session link, the first device adjusts the BMP session state of the first device to a state capable of successfully establishing the BMP session link; after the state adjustment is completed, the first device performs link establishment processing with the second device according to the received link establishment request, so that the problem of low link establishment efficiency after the BMP session link establishment failure in the related technology is solved, and the efficiency of BMP session link establishment is effectively improved.
In an alternative embodiment, when the BMP session of the first device is in the UP state, the first device adjusts the BMP session state of the first device from UP to DOWN.
Further, the first device adjusting the BMP session state of the first device from UP to DOWN may include: the first device receives a configuration instruction for adjusting the BMP session state of the first device from UP to DOWN; the first device adjusts the BMP session state of the first device from UP to DOWN according to the configuration instruction.
In another optional embodiment, the adjusting, by the first device, the BMP session state of the first device to a state in which BMP session link establishment can be successfully performed includes: the first device disables all BMP sessions of the first device and enables all BMP sessions of the first device.
After the first device and the second device establish a link successfully, the BMP sessions of the first device and the second device are both in an UP state.
After the state adjustment is completed, before the first device performs link establishment processing with the second device according to the received link establishment request, the first device receives the link establishment request for completing BMP session link establishment sent by the second device.
An embodiment of the present invention further provides a link establishment processing apparatus, which is applied to a first device, and fig. 3 is a block diagram of the link establishment processing apparatus according to the embodiment of the present invention, as shown in fig. 3, including:
an adjusting module 32, configured to adjust a BMP session state of a first device to DOWN when BMP session link establishment between the first device and a second device fails;
and a link establishment processing module 34, configured to perform link establishment processing with the second device according to the received link establishment request after the state adjustment is completed.
Fig. 4 is a block diagram of a link establishment processing apparatus according to an alternative embodiment of the present invention, as shown in fig. 4, the adjusting module 32 includes:
an adjusting unit 42, configured to, when the BMP session of the first device is in an UP state, adjust the BMP session state of the first device from UP to a state in which BMP session link establishment can be successfully performed.
Fig. 5 is a block diagram ii of a link establishment processing apparatus according to an alternative embodiment of the present invention, and as shown in fig. 5, the adjusting unit 42 includes:
a receiving subunit 52, configured to receive a configuration instruction for adjusting a BMP session state of the first device from UP to DOWN;
an adjusting subunit 54, configured to adjust the BMP session state of the first device from UP to DOWN according to the configuration instruction.
Fig. 6 is a block diagram three of a link establishment processing apparatus according to an alternative embodiment of the present invention, and as shown in fig. 6, the adjusting module 32 includes:
an enabling unit 62, configured to disable all BMP sessions of the first device and then enable all BMP sessions of the first device, where disabling refers to disabling all BMP sessions of the first device, and enabling refers to enabling all BMP sessions of the first device.
For the above problems in the related art, the following further describes, by taking the first device as a server, with reference to specific alternative embodiments, where the following alternative embodiments combine the above alternative embodiments and alternative implementations thereof.
This optional embodiment provides a method for reestablishing a BMP session after the BMP session is quickly broken, which can be conveniently operated and quickly establish a BMP session in a short time, and includes: if the whole BMP case is enabled again after being disabled, all BMP sessions are allowed to build a chain again; or a BMP session forces DOWN and then lets it re-establish the link.
FIG. 7 is a diagram illustrating BMP chain establishment in accordance with a preferred embodiment of the present invention, as shown in FIG. 7, after one end of BMP session is DOWN, the other end is not aware of it and still in the UP state for some reason; according to the related protocol, a DOWN party initiates a connection request, and an UP end does not respond to the link establishment request after receiving the link establishment request; this results in the BMP sessions at both ends not being able to communicate. With the present alternative embodiment, a mandatory measure may be used to change the BMP session of the UP to the DOWN, and then the BMP connection is established according to the flow of fig. 1. For example, if only a certain BMP is needed to build a chain on the device, the state of the BMP is DOWN, and the other end of the BMP is UP, at this time, we can take a mandatory measure for the UP BMP session, for example, use a configuration command to change the state of the BMP session to DOWN, as shown in fig. 7, and then build a chain according to the normal BMP.
Fig. 8 is a diagram illustrating BMP establishment according to a preferred embodiment of the present invention, where, as shown in fig. 8, if there are multiple BMP sessions on the first device, the state is all UP, or some of the BMP sessions are UP state and some are DOWN state, but the BMP sessions of one or more second devices connected to the first device are all DOWN; it should be noted that the first device may be a server or other devices, and may be configured to force the BMP instance to be "disabled", and all BMP sessions on the first device are converted into DOWN, and then the BMP instance is enabled again, so that the BMP session is re-linked.
In summary, if one end of the BMP sessions is UP and the other end of the BMP sessions is DOWN under an abnormal condition, the BMP connections can be established conveniently and quickly by the above method, and efficiency is improved.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A link establishment processing method, comprising:
under the condition that a first device and a second device perform Border Gateway Protocol (BGP) monitoring on BMP session link establishment failure, the first device adjusts the BMP session state of the first device to a state capable of successfully performing BMP session link establishment;
after the state adjustment is completed, the first equipment performs link establishment processing with the second equipment according to the received link establishment request;
wherein the adjusting, by the first device, the BMP session state of the first device to a state in which the BMP session link establishment can be successfully performed includes: under the condition that the BMP session of the first equipment is in an UP state, the first equipment adjusts the BMP session state of the first equipment from UP to DOWN;
the first device adjusting the BMP session state of the first device from UP to DOWN includes: the first device receives a configuration instruction for adjusting the BMP session state of the first device from UP to DOWN; and the first equipment adjusts the BMP session state of the first equipment from UP to DOWN according to the configuration instruction.
2. The method of claim 1, wherein the first device adjusting the BMP session state of the first device to a state in which BMP session link establishment can be successfully performed comprises:
the first device disables all BMP sessions of the first device and then enables all BMP sessions of the first device, where disabling means disabling all BMP sessions of the first device and enabling means enabling all BMP sessions of the first device to be valid.
3. The method according to any of claims 1-2, wherein after the first device performs the link establishment process with the second device according to the link establishment request, the BMP sessions of the first device and the second device are both in an UP state.
4. The method according to any one of claims 1 to 2, wherein after the status adjustment is completed, before the first device performs the link establishment process with the second device according to the received link establishment request, the method further comprises:
and the first equipment receives the link establishment request which is sent by the second equipment and used for completing BMP session link establishment.
5. A link establishment processing device applied to a first device comprises:
the adjusting module is used for adjusting the BMP session state of the first device to a state capable of successfully establishing the BMP session link under the condition that the first device and the second device perform Border Gateway Protocol (BGP) monitoring on the BMP session link establishment failure;
the link establishment processing module is used for performing link establishment processing with the second equipment according to the received link establishment request after the state adjustment is completed;
wherein the adjustment module comprises:
an adjusting unit, configured to adjust a BMP session state of the first device from UP to DOWN when the BMP session of the first device is in an UP state;
the adjusting unit includes:
a receiving subunit, configured to receive a configuration instruction for adjusting a BMP session state of the first device from UP to DOWN;
and the adjusting subunit is configured to adjust the BMP session state of the first device from UP to DOWN according to the configuration instruction.
6. The apparatus of claim 5, wherein the adjustment module comprises:
an enabling unit, configured to disable all BMP sessions of the first device and then enable the BMP sessions, where disabling means disabling all BMP sessions of the first device, and enabling means enabling all BMP sessions of the first device.
CN201510427521.XA 2015-07-20 2015-07-20 Link establishment processing method and device Active CN106375353B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510427521.XA CN106375353B (en) 2015-07-20 2015-07-20 Link establishment processing method and device
PCT/CN2016/077573 WO2016177184A1 (en) 2015-07-20 2016-03-28 Method and device for processing connection establishment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510427521.XA CN106375353B (en) 2015-07-20 2015-07-20 Link establishment processing method and device

Publications (2)

Publication Number Publication Date
CN106375353A CN106375353A (en) 2017-02-01
CN106375353B true CN106375353B (en) 2020-05-19

Family

ID=57218015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510427521.XA Active CN106375353B (en) 2015-07-20 2015-07-20 Link establishment processing method and device

Country Status (2)

Country Link
CN (1) CN106375353B (en)
WO (1) WO2016177184A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113572685B (en) 2020-04-29 2023-03-10 华为技术有限公司 Information reporting method, information processing method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150380A (en) * 2006-09-21 2008-03-26 华硕电脑股份有限公司 Method for handling radio link failure in wireless communications system and related apparatus
CN101588393A (en) * 2009-07-02 2009-11-25 杭州华三通信技术有限公司 Method of state management based on real-time session
CN102281293A (en) * 2011-08-01 2011-12-14 中兴通讯股份有限公司 Method and system for transmitting transmission control protocol (TCP) type session media stream

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
GB2290167B (en) * 1994-06-08 1999-01-20 Hyundai Electronics Ind Method for fabricating a semiconductor device
CN101355577B (en) * 2008-09-01 2011-04-20 中兴通讯股份有限公司 Method for preventing thread from rope of multithread communication program
US9001672B2 (en) * 2012-07-27 2015-04-07 Alcatel Lucent System, method and apparatus conforming path cost criteria across multiple ABRs

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150380A (en) * 2006-09-21 2008-03-26 华硕电脑股份有限公司 Method for handling radio link failure in wireless communications system and related apparatus
CN101588393A (en) * 2009-07-02 2009-11-25 杭州华三通信技术有限公司 Method of state management based on real-time session
CN102281293A (en) * 2011-08-01 2011-12-14 中兴通讯股份有限公司 Method and system for transmitting transmission control protocol (TCP) type session media stream

Also Published As

Publication number Publication date
WO2016177184A1 (en) 2016-11-10
CN106375353A (en) 2017-02-01

Similar Documents

Publication Publication Date Title
JP6491745B2 (en) Method and system for interface elements between a virtual network function pool and a control entity
US9774580B2 (en) Mesh network with personal pre-shared keys
CN107948063B (en) Method for establishing aggregation link and access equipment
CN102957623B (en) A kind of maintaining method of neighborhood of border gate protocol and equipment
CN105282258B (en) Control the method and system of remote desktop
WO2020119328A1 (en) Data transmission method, apparatus and device, and storage medium
WO2016095344A1 (en) Link switching method and device, and line card
US20180084597A1 (en) Method of managing communication interfaces for a multipath transmission control protocol (mptcp) connection
CN103199990B (en) A kind of method and apparatus of Routing Protocol certification migration
CN104301449A (en) Method and device for modifying IP address
US9344931B2 (en) Method and device for re-establishing radio link
CN103685398A (en) Communication connection establishment method and communication system
CN106375353B (en) Link establishment processing method and device
WO2017215435A1 (en) Radio-resource-control connection method, apparatus, and terminal
CN102811153B (en) VLAN state negotiating method and edge device
CN103873294A (en) Keep-alive method and device for PPP (Point-to-Point Protocol) link during ISSU (In Service Software Upgrade) process
CN113691591B (en) Data transmission method, device and computer readable storage medium
CN105072185A (en) TR069 (Technical Report 069) remote monitoring method and system, and communication equipment
CN105450495A (en) Method, device and system for re-establishing secure communication channel
CN104580434B (en) The method and system that a kind of firmware is downloaded
KR20120128031A (en) System and method for providing push service
CN106900077A (en) The VPN automatic recovery system and method for a kind of intelligent terminal
US9769140B1 (en) Authentication support for autonomous requests
CN106332078B (en) dot1x user authentication system, method and device
JP6126062B2 (en) Network device and MAC address authentication method for network device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant