CN108366000A - Keep Alive Packet exchange method, device, communication equipment and communication system - Google Patents

Keep Alive Packet exchange method, device, communication equipment and communication system Download PDF

Info

Publication number
CN108366000A
CN108366000A CN201810165816.8A CN201810165816A CN108366000A CN 108366000 A CN108366000 A CN 108366000A CN 201810165816 A CN201810165816 A CN 201810165816A CN 108366000 A CN108366000 A CN 108366000A
Authority
CN
China
Prior art keywords
terminal device
keep
alive packet
keep alive
control plane
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.)
Pending
Application number
CN201810165816.8A
Other languages
Chinese (zh)
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.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN201810165816.8A priority Critical patent/CN108366000A/en
Publication of CN108366000A publication Critical patent/CN108366000A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports

Abstract

A kind of keep Alive Packet exchange method of the disclosure, device, communication equipment and communication system.The method is applied to Forwarding plane, including:Keep Alive Packet interaction is carried out by the Forwarding plane and the terminal device;Whether detection is interacted with the keep Alive Packet between the terminal device interrupts, if detecting, the keep Alive Packet between the terminal device interacts interruption, notifies the control plane terminal device offline.In this way, replacing control plane to carry out keep Alive Packet interaction with terminal device by Forwarding plane, the pressure for carrying out keep Alive Packet interaction is shared into each Forwarding plane, the pressure of control plane can be effectively reduced, save the process resource of control plane.

Description

Keep Alive Packet exchange method, device, communication equipment and communication system
Technical field
This disclosure relates to which field of communication technology, sets in particular to a kind of keep Alive Packet exchange method, device, communication Standby and communication system.
Background technology
With the development of information technology, there is the terminal device of networking requirement more and more, in common network environment, eventually End equipment is generally accessed by Broadband Remote Access Server (Broadband Remote Access Server, abbreviation BRAS) Network.BRAS is as the access of broadband network user, the important equipment of certification, charging, control, management is carried out, in face of large quantities of When measuring the networking requirement of terminal device, in fact it could happen that difficulty etc. that data forwarding performance is insufficient, dilatation is difficult, new call charge service is reached the standard grade Problem.In the prior art, the BRAS frameworks for being detached with control using forwarding and (hereinafter referred to as turning control separation), will be controlled in BRAS business The function of preparative layer face and forwarding plane demarcates, new to promote the utilization rate of forwarding capability, the configuration for simplifying O&M and promotion Linear velocity in business.In the BRAS frameworks for turning control separation, replace passing by the Forwarding plane and control plane of relatively independent operation System BRAS equipment, wherein Forwarding plane is mainly used for carrying out the flow forwarding with the terminal device reached the standard grade, and is responsible for agreement report Text is sent to control plane processing.Control plane is mainly responsible for processing BRAS User Agreement messages, and issues and turn to Forwarding plane Forwarding list item or communication configuration.
Invention content
In a first aspect, the disclosure provides a kind of keep Alive Packet exchange method, be applied to Forwarding plane, the Forwarding plane with Control plane and terminal equipment in communication;The method includes:
Keep Alive Packet interaction is carried out by the Forwarding plane and the terminal device;
Whether detection interacts with the keep Alive Packet between the terminal device and interrupts, if detect with the terminal device it Between keep Alive Packet interaction interrupt, then notify the control plane terminal device offline.
Second aspect, the disclosure provide a kind of keep Alive Packet interactive device, are applied to Forwarding plane, the Forwarding plane with Control plane and terminal equipment in communication;Described device includes:
Keep Alive Packet interactive module, for carrying out keep Alive Packet interaction with the terminal device;
Whether detection module interacts for detecting the keep Alive Packet between the terminal device and interrupts, if detect with Keep Alive Packet interaction between the terminal device is interrupted, then notifies the control plane terminal device offline.
The third aspect, the disclosure provide a kind of communication equipment, including processor and and machine readable storage medium, the machine Device readable storage medium storing program for executing is stored with the machine-executable instruction that can be executed by the processor, and processor executes the machine can It executes instruction, the communication equipment is made to realize that the keep Alive Packet that the disclosure provides is handed over as the Forwarding plane communicated with control plane Mutual method.
Fourth aspect, a kind of communication system of disclosure offer, the communication system Forwarding plane and control plane, described turn Plane and control plane and terminal equipment in communication are sent out, the Forwarding plane is set periodically for the terminal for accessing the Forwarding plane The standby traffic report message sent to the control plane;
The Forwarding plane carries out keep Alive Packet interaction with the terminal device;Guarantor between detection and the terminal device Whether message interaction living interrupts;If detecting, the keep Alive Packet between the terminal device interacts interruption, notifies the control The plane processed terminal device is offline;
The control plane does not receive the Forwarding plane in the second preset duration and is sent for the terminal device Traffic report message, then delete the corresponding forwarding-table item of the terminal device in the control plane.
5th aspect, the disclosure provide a kind of machine readable storage medium, and the machine readable storage medium storage is organic Device executable instruction, when being called and being executed by processor, the machine-executable instruction promotes the machine-executable instruction The processor realizes the keep Alive Packet exchange method that the disclosure provides.
In terms of existing technologies, the disclosure has the advantages that:
A kind of keep Alive Packet exchange method of disclosure offer, device, communication equipment and communication system are turning a control separation architecture Under, replace control plane to carry out keep Alive Packet interaction with terminal device by Forwarding plane.In this way, the pressure that keep Alive Packet is interacted Each Forwarding plane is shared, the pressure of control plane can be effectively reduced, saves the process resource of control plane.
Description of the drawings
It, below will be to needed in the embodiment attached in order to illustrate more clearly of the technical solution of the embodiment of the present disclosure Figure is briefly described, it should be understood that the following drawings illustrates only some embodiments of the disclosure, therefore is not construed as pair The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this A little attached drawings obtain other relevant attached drawings.
Fig. 1 is the schematic diagram for the BRAS frameworks for turning control separation;
Fig. 2 is one of the flow diagram for the keep Alive Packet exchange method that the embodiment of the present disclosure provides;
Fig. 3 is the two of the flow diagram for the keep Alive Packet exchange method that the embodiment of the present disclosure provides;
Fig. 4 is that the function module for the keep Alive Packet interactive device that the embodiment of the present disclosure provides is intended to.
Icon:100- Forwarding plane;110- keep Alive Packet interactive devices;111- keep Alive Packet interactive modules;112- is detected Module;113- notification modules;200- control planes;300- terminal devices;400- external networks.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the embodiment of the present disclosure clearer, below in conjunction with the embodiment of the present disclosure In attached drawing, the technical solution in the embodiment of the present disclosure is clearly and completely described, it is clear that described embodiment is Disclosure a part of the embodiment, instead of all the embodiments.The disclosure being usually described and illustrated herein in the accompanying drawings is implemented The component of example can be arranged and be designed with a variety of different configurations.
Therefore, below the detailed description of the embodiment of the disclosure to providing in the accompanying drawings be not intended to limit it is claimed The scope of the present disclosure, but be merely representative of the selected embodiment of the disclosure.Based on the embodiment in the disclosure, this field is common The every other embodiment that technical staff is obtained without creative efforts belongs to the model of disclosure protection It encloses.
It should be noted that:Similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi It is defined, then it further need not be defined and explained in subsequent attached drawing in a attached drawing.
In the description of the disclosure, it should be noted that term " first ", " second ", " third " etc. are only used for distinguishing and retouch It states, is not understood to indicate or imply relative importance.
In the description of the disclosure, it is also necessary to which explanation is unless specifically defined or limited otherwise, term " setting ", " installation ", " connected ", " connection " shall be understood in a broad sense, for example, it may be fixedly connected, may be a detachable connection or one Connect to body;It can be mechanical connection, can also be electrical connection;It can be directly connected, it can also be indirect by intermediary It is connected, can is the connection inside two elements.For the ordinary skill in the art, on being understood with concrete condition State the concrete meaning of term in the disclosure.
Fig. 1 is please referred to, in turning the communication system of BRAS frameworks of control separation, terminal device 300 connects with Forwarding plane 100 It connects, Forwarding plane 100 and external network 400 or other-end equipment 300 can be passed through.
Simultaneously, Forwarding plane 100 can also pass through VXLAN (Virtual Extensible LAN, void to external network 400 Quasi- extension LAN) virtual channel communicated with control plane 200, terminal device 300 is sent with negotiation communication agreement Relevant message is sent to the control plane 200, or receives communication configuration information or forwarding table that control plane 200 issues .
Wherein, control plane 200 can by one or more based on X 86 processor (or based on data-handling capacity it is close Other types processor) communication equipment composition.Control plane 200 is connect with Forwarding plane 100, for receiving Forwarding plane 100 send with the relevant message of protocol negotiation, and to Forwarding plane 100 issue forwarding configuration or forwarding-table item.
Forwarding plane 100 can be based on network processing unit (Network Processor, abbreviation NP) by one or more Communication equipment forms.Forwarding plane 100 is connect with terminal device 300 and external public network respectively, for according under control plane 200 The forwarding of hair configures being forwarded to terminal device 300.
The prior art turns in the BRAS frameworks of control separation, and control plane 200 needs to be directed to when carrying out BRAS user managements Whether the terminal device 300 each reached the standard grade carries out the interaction of keep-alive (keepalive) message, kept with detection terminal equipment 300 Online.In keep Alive Packet interactive process, control plane 200 periodically sends keep-alive probe messages to terminal device 300, eventually End equipment 300 responds keep-alive response message after receiving keep-alive probe messages.If control plane 200 does not have within a certain period of time It receives terminal device 300 and is directed to the keep-alive response message that keep-alive probe messages are responded, then it is assumed that terminal device 300 is offline.
Since control plane 200 may be connect with multiple and different Forwarding plane 100, with each Forwarding plane of access 100 terminal device 300 increases, and control plane 200 needs the protection Message processing amount carried out also correspondingly to increase.A large amount of keep-alives The processing of message can occupy 200 a large amount of process resources of control plane, and huge pressure is brought to control plane 200.
Therefore the present embodiment proposes in a kind of communication system shown in Fig. 1, and control plane 200 is replaced by Forwarding plane 100 The scheme that keep Alive Packet interaction is carried out with terminal device 300, to mitigate the processing pressure of control plane 200.Below to this implementation The scheme that example provides is described in detail.
Fig. 2 is please referred to, Fig. 2 is a kind of flow of keep Alive Packet exchange method applied to Forwarding plane 100 shown in FIG. 1 Figure, below will be to the method includes each steps to be described in detail.
Step S110 carries out keep Alive Packet interaction by the Forwarding plane 100 and the terminal device 300.
In the present embodiment, control plane 200 is replaced to carry out keep Alive Packet with terminal device 300 by Forwarding plane 100 The pressure of keep Alive Packet processing can be shared each Forwarding plane 100 by interaction.In this way, can effectively mitigate control plane 200 processing pressure.
In a kind of specific implementation mode of the present embodiment, can control plane fixedly be replaced by the Forwarding plane 100 200 carry out the interaction of all keep Alive Packets, need not carry out additional negotiation.
In the present embodiment another kind specific implementation mode, according to different concrete application scenes, one may be only needed The interaction for dividing Forwarding plane 100 that control plane 200 is replaced to carry out keep Alive Packet.Or at the end for accessing a Forwarding plane 100 In end equipment 300, it is only necessary to be carried out instead of control plane 200 by Forwarding plane 100 for the terminal device 300 of a portion The interaction of keep Alive Packet, for example, can be directed to access 100 part special interface of Forwarding plane terminal device 300, be set as by Forwarding plane 100 replaces the interaction of the progress keep Alive Packet of control plane 200.
It is also possible to be the mistake for carrying out keep Alive Packet interaction by the control plane 200 and the terminal device 300 originally Cheng Zhong, such as according to the loading condition of control plane 200, needs to be taken over by Forwarding plane 100 according to the triggering of some concrete conditions Control plane 200 carries out the work of keep Alive Packet interaction with terminal device 300.
In these scenes, Fig. 3 is please referred to, the friendship of keep Alive Packet is if desired carried out by Forwarding plane 100 and terminal device 300 Mutually, then the Forwarding plane 100 first carries out step S210 before executing step S110.
Step S210 notifies the control plane 200 not carry out keep Alive Packet with the terminal device 300 and interact or stop working as The preceding keep Alive Packet interaction between the terminal device 300.
In the present embodiment, it just can replace controlling by the Forwarding plane 100 from being reached the standard grade the terminal device 300 Plane 200 carries out keep Alive Packet interaction.Can also be to carry out keep-alive report in the control plane 200 and the terminal device 300 In literary interactive process, the control plane 200 is taken over by Forwarding plane 100 and carries out protection message interaction with terminal device 300.
In the present embodiment, it for reaching the standard grade from the terminal device 300, just replaces controlling by the Forwarding plane 100 Plane 200 carry out keep Alive Packet interaction situation, the Forwarding plane 100 can the terminal device 300 ask reach the standard grade when, The control plane 200 is notified for the terminal device 300, and keep Alive Packet interaction is carried out by the Forwarding plane 100.
For example, in one embodiment, the Forwarding plane 100 can carry out special message with control plane 200 Interaction, to negotiate which side and terminal device 300 to carry out keep Alive Packet interaction by.
In another embodiment, due to determining that keep Alive Packet interaction executive agent belongs to one of communication protocol negotiation Point, the Forwarding plane 100 can pass through LCP (Link in the stage for negotiating to establish communication link with terminal device 300 Control Protocol, Link Control Protocol) Forwarding plane 100 described in message notifying.
Specifically, terminal device 300 first can send LCP messages to negotiate when request is reached the standard grade to the Forwarding plane 100 Establish communication link.The Forwarding plane 100 can be reported after the LCP messages that receiving terminal apparatus 300 is sent in the LCP It is inserted into a keep Alive Packet control field in text, and sets the keep Alive Packet control field to the first preset value.Then, will The LCP messages are sent to the control plane 200, so that the control plane 200 is according to the keep Alive Packet control field In the first preset value selection not with the terminal device 300 carry out keep Alive Packet interaction.
Alternatively, the Forwarding plane 100 can be reported after the LCP messages that receiving terminal apparatus 300 is sent in the LCP It is inserted into a keep Alive Packet control field in text, and sets the keep Alive Packet control field to the second preset value.Then, will The link control message is sent to the control plane 200, so that the control plane 200 is controlled according to the keep Alive Packet The second preset value selection in field does not carry out keep Alive Packet interaction with the terminal device 300.Wherein, first preset value 1 is could be provided as, second preset value could be provided as 0.
The situation of keep Alive Packet interaction is carried out by the Forwarding plane 100 and the terminal device 300 for needs, it is described Forwarding plane 100 also executes step S120.
Step S120, whether the keep Alive Packet between detection Forwarding plane 100 and the terminal device 300 interacts interrupts, If detecting, the keep Alive Packet between Forwarding plane 100 and the terminal device 300 interacts interruption, notifies the control plane 200 terminal devices 300 are offline.
The interaction of keep Alive Packet is periodically to send keep-alive probe messages by a wherein side, and another party is directed to the keep-alive Probe messages reply keep-alive response message, communicate so that two sides mutually confirm and maintain to communicate to connect.
In a kind of specific implementation mode of the present embodiment, periodically set from the Forwarding plane 100 to the terminal Standby 300 send keep-alive probe messages, and receive the terminal device 300 and be directed to the keep-alive response that the keep-alive probe messages are replied Message.
The Forwarding plane 100 detect do not receive the terminal device 300 transmission keep-alive response message it is lasting when It is long.If the duration reaches the first preset duration, during judgement is interacted with the keep Alive Packet between the terminal device 300 It is disconnected, notify the terminal device 300 of the control plane 200 offline.
For example, in the present embodiment, keep Alive Packet interaction cycle can be 60 seconds, first preset duration can be 3 A keep Alive Packet interaction cycle.If the Forwarding plane 100, which detects lasting 3 × 60 seconds, does not receive the terminal device 300 The keep-alive response message of reply, then it is assumed that the keep Alive Packet between the terminal device 300 interacts interruption, the terminal device 300 Offline, the Forwarding plane 100 sends notice to the control plane 200 and informs that terminal device 300 is offline.
In another specific implementation mode of the present embodiment, from the terminal device 300 periodically to the forwarding Plane 100 sends keep-alive probe messages.The Forwarding plane 100 receives the keep-alive that the terminal device 300 is periodically sent Probe messages, and for the keep-alive probe messages keep-alive response message is replied to the terminal device 300.
The Forwarding plane 100 detect do not receive the terminal device 300 transmission keep-alive probe messages it is lasting when It is long.If the duration reaches the first preset duration, during judgement is interacted with the keep Alive Packet between the terminal device 300 It is disconnected, notify the terminal device 300 of the control plane 200 offline.
If for example, the Forwarding plane 100 detects that not receiving the terminal device 300 within lasting 3 × 60 seconds actively sends out The keep-alive probe messages sent, then it is assumed that the keep Alive Packet between the terminal device 300 interacts interruption, and the terminal device 300 is Offline, the Forwarding plane 100 sends notice to the control plane 200 and informs that terminal device 300 is offline.
In the present embodiment, if carrying out keep Alive Packet interaction, control by the control plane 200 and terminal device 300 If plane 200 detects that terminal device 300 is offline, the 300 corresponding forwarding table of terminal device in the control plane 200 is deleted , and notify the Forwarding plane 100.For example, the control plane 200 can send one to the Forwarding plane 100 PADT messages make the Forwarding plane 100 discharge the communication session between the terminal device 300.
If keep Alive Packet interaction is carried out by the Forwarding plane 100 and user terminal, if the Forwarding plane 100 detects Terminal device 300 is offline, then deletes 300 corresponding forwarding-table item of the terminal device on the Forwarding plane 100, and described in notice The terminal device 300 of control plane 200 is offline, so that control plane 200 deletes the 300 corresponding forwarding table of terminal device .
Further, due between the Forwarding plane 100 and the control plane 200 probably due to will appear communicate it is different Often, for example, because there is packet loss in link obstructions.This 300 offline notice of terminal device that the Forwarding plane 100 can be caused to send can It can not reach the control plane 200.For example, because of link obstructions between the Forwarding plane 100 and the control plane 200 Packet loss occur, then offline notice is lost.Therefore in the present embodiment, the control plane 200 also by a kind of additional mechanism come Judge whether terminal device 300 is offline.
In general, the flow that the Forwarding plane 100 can obtain each terminal device 300 according to certain training in rotation period uses feelings Condition, and send traffic report message and report control plane 200.In the present embodiment, if the control plane 200 is default second The Forwarding plane 100 is not received in duration and is directed to 300 transmitted traffic report message of the terminal device, then it is assumed that the terminal Equipment 300 is offline, deletes the 300 corresponding forwarding-table item of terminal device.Wherein, second preset duration is more than described first Preset duration.
In this way, even if when communication between the Forwarding plane 100 and the control plane 200 occurs abnormal, the control It is offline that plane 200 processed can also perceive terminal device 300.
Fig. 4 is please referred to, the present embodiment also provides a kind of applied to 100 keep Alive Packet interactive device of Forwarding plane shown in Fig. 1 110, the keep Alive Packet interactive device 110 includes keep Alive Packet interactive module 111 and detection module 112.
The keep Alive Packet interactive module 111, for carrying out keep Alive Packet interaction with the terminal device 300.
In the present embodiment, the keep Alive Packet interactive module 111 can be used for executing step S110 shown in Fig. 2, about institute Description to the step S110 can be joined by stating the specific descriptions of keep Alive Packet interactive module 111.
The detection module 112 is handed over for detecting the keep Alive Packet between Forwarding plane 100 and the terminal device 300 Mutually whether interrupt, if detecting, the keep Alive Packet between Forwarding plane 100 and the terminal device 300 interacts interruption, notifies The terminal device 300 of the control plane 200 is offline.
In the present embodiment, the detection module 112 can be used for executing step S120 shown in Fig. 2, about the detection mould The specific descriptions of block 112 can join the description to the step S120.
Further, if the detection module 112 be additionally operable to detect Forwarding plane 100 and the terminal device 300 it Between keep Alive Packet interaction interrupt, then delete 300 corresponding forwarding-table item of the terminal device on the Forwarding plane 100.
Further, referring once again to Fig. 3, the keep Alive Packet interactive device 110 can also include notification module 113.
The notification module 113, for before asking to carry out keep Alive Packet interaction with the terminal device 300, notifying institute Control plane 200 is stated not interact or stop currently between the terminal device 300 with the terminal device 300 progress keep Alive Packet Keep Alive Packet interacts.
In the present embodiment, the notification module 113 can be used for executing step S210 shown in Fig. 3, about the notice mould The specific descriptions of block 113 can join the description to the step S210.
In an embodiment of the present embodiment, the keep Alive Packet interactive module 111 is periodically to the terminal Equipment 300 sends keep-alive probe messages, and receives the keep-alive that the terminal device 300 is replied for the keep-alive probe messages and answer Message is answered, realizes and carries out keep Alive Packet interaction with the terminal device.
The detection module 112 detects and does not receive what the terminal device 300 was replied for the keep-alive probe messages The duration of keep-alive response message;If the duration reaches the first preset duration, judgement and the terminal device 300 Between keep Alive Packet interaction interrupt 200 terminal device 300 of control plane.
In the another embodiment of the present embodiment, the keep Alive Packet interactive module 111 receives the terminal device The 300 keep-alive probe messages periodically sent, and for the keep-alive probe messages keep-alive is replied to the terminal device 300 Response message is realized and carries out keep Alive Packet interaction with the terminal device.
The detection module 112 detect do not receive the terminal device 300 transmission keep-alive probe messages it is lasting when It is long;If the duration reaches the first preset duration, during judgement is interacted with the keep Alive Packet between the terminal device 300 200 terminal device 300 of disconnected control plane.
Further, the notification module 113 terminal device 300 request reach the standard grade when, receiving terminal apparatus 300 send Link controls message;It is inserted into keep Alive Packet control field in the link controls message;Link control message is sent To the control plane 200 so that the control plane 200 according to the keep Alive Packet control field select not with the terminal Equipment 300 carries out keep Alive Packet interaction.
In the present embodiment, the Forwarding plane 100 may include having processor and logical with machine readable storage medium Believe that equipment, the machine readable storage medium are stored with the machine-executable instruction that can be executed by the processor, processor The machine-executable instruction is executed, the communication equipment is made to realize this as the Forwarding plane 100 communicated with control plane 200 The keep Alive Packet exchange method that embodiment provides.It is handed over for example, the machine readable storage medium stores the keep Alive Packet Software function module and computer program included by mutual device 110 etc..
In conclusion a kind of keep Alive Packet exchange method of disclosure offer, device, Forwarding plane and communication system, are turning It controls under separation architecture, replaces control plane to carry out keep Alive Packet interaction with terminal device by Forwarding plane.In this way, by keep Alive Packet Interactive pressure shares each Forwarding plane, can be effectively reduced the pressure of control plane, saves the processing of control plane Resource.
In the embodiment that the disclosure is provided, it should be understood that disclosed device and method, it can also be by other Mode realize.The apparatus embodiments described above are merely exemplary, for example, the flow chart and block diagram in attached drawing are shown According to the device, the architectural framework in the cards of method and computer program product, function of multiple embodiments of the disclosure And operation.In this regard, each box in flowchart or block diagram can represent one of a module, section or code Point, a part for the module, section or code includes one or more for implementing the specified logical function executable Instruction.It should also be noted that at some as in the realization method replaced, the function of being marked in box can also be attached to be different from The sequence marked in figure occurs.For example, two continuous boxes can essentially be basically executed in parallel, they also may be used sometimes To execute in the opposite order, this is depended on the functions involved.It is also noted that each of block diagram and or flow chart The combination of box in box and block diagram and or flow chart, function or the dedicated of action are based on as defined in execution The system of hardware is realized, or can be realized using a combination of dedicated hardware and computer instructions.
In addition, each function module in each embodiment of the disclosure can integrate to form an independent portion Point, can also be modules individualism, can also two or more modules be integrated to form an independent part.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module It is stored in a computer read/write memory medium.Based on this understanding, the technical solution of the disclosure is substantially in other words The part of the part that contributes to existing technology or the technical solution can be expressed in the form of software products, the meter Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be People's computer, server or network equipment etc.) execute each embodiment the method for the disclosure all or part of step. And storage medium above-mentioned includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that herein, relational terms such as first and second and the like are used merely to a reality Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those Element, but also include other elements that are not explicitly listed, or further include for this process, method, article or equipment Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that There is also other identical elements in process, method, article or equipment including the element.
The above, the only specific implementation mode of the disclosure, but the protection domain of the disclosure is not limited thereto, it is any Those familiar with the art can easily think of the change or the replacement in the technical scope that the disclosure discloses, and should all contain It covers within the protection domain of the disclosure.Therefore, the protection domain of the disclosure should be subject to the protection scope in claims.

Claims (13)

1. a kind of keep Alive Packet exchange method, which is characterized in that be applied to Forwarding plane, the Forwarding plane and control plane and Terminal equipment in communication;The method includes:
Keep Alive Packet interaction is carried out by the Forwarding plane and the terminal device;
Whether detection is interacted with the keep Alive Packet between the terminal device interrupts;
If detecting, the keep Alive Packet between the terminal device interacts interruption, notifies the control plane terminal device It is offline.
2. according to the method described in claim 1, it is characterized in that, being protected by the Forwarding plane and the terminal device Before the step of message interaction living, the method further includes:
The control plane is notified not carry out keep Alive Packet with the terminal device and interact or stop currently between the terminal device Keep Alive Packet interaction.
3. according to the method described in claim 2, it is characterized in that, it is described notify the control plane not with the terminal device into The step of row keep Alive Packet interaction, including:
The link that receiving terminal apparatus is sent controls message;
It is inserted into keep Alive Packet control field in the link controls message;
Link control message is sent to the control plane, so that the control plane is controlled according to the keep Alive Packet Field selection does not carry out keep Alive Packet interaction with the terminal device.
4. according to the method described in claim 1, it is characterized in that, the Forwarding plane is periodically sent out to the terminal device Keep-alive probe messages are sent, realizes and carries out keep Alive Packet interaction with the terminal device;Between the detection and the terminal device Keep Alive Packet interaction the step of whether interrupting, including:
Detection does not receive the duration for the keep-alive response message that the terminal device is replied for the keep-alive probe messages;
If the duration reaches the first preset duration, during judgement is interacted with the keep Alive Packet between the terminal device It is disconnected.
5. according to the method described in claim 1, it is characterized in that, the Forwarding plane receive the terminal device periodically to The keep-alive probe messages of transmission, and keep-alive response message is replied to the terminal device, realization is protected with the terminal device Message interaction living;The detection interacts the step of whether interrupting with the keep Alive Packet between the terminal device, including:
Detection does not receive the duration for the keep-alive probe messages that the terminal device is sent;
If the duration reaches the first preset duration, during judgement is interacted with the keep Alive Packet between the terminal device It is disconnected.
6. a kind of keep Alive Packet interactive device, which is characterized in that be applied to Forwarding plane, the Forwarding plane and control plane and Terminal equipment in communication;Described device includes:
Keep Alive Packet interactive module, for carrying out keep Alive Packet interaction with the terminal device;
Detection module, whether the keep Alive Packet for detecting between the terminal device interacts interrupts;If detect with Keep Alive Packet interaction between the terminal device is interrupted, then notifies the control plane terminal device offline.
7. device according to claim 6, which is characterized in that described device further includes:
Notification module, for the terminal device carry out keep Alive Packet interaction before, notify the control plane not with this The keep Alive Packet that terminal device carries out keep Alive Packet interaction or stops currently between the terminal device interacts.
8. device according to claim 7, which is characterized in that the notification module is carried out described with the terminal device Before keep Alive Packet interaction, the link that receiving terminal apparatus is sent controls message;
It is inserted into keep Alive Packet control field in the link controls message;
Link control message is sent to the control plane, so that the control plane is controlled according to the keep Alive Packet Field selection does not carry out keep Alive Packet interaction with the terminal device.
9. device according to claim 6, which is characterized in that the keep Alive Packet interactive module is periodically to the end End equipment sends keep-alive probe messages, realizes and carries out keep Alive Packet interaction with the terminal device;
The detection module detection does not receive the terminal device and is directed to the keep-alive response report that the keep-alive probe messages are replied The duration of text;If the duration reaches the first preset duration, the keep-alive report between judgement and the terminal device Text interaction is interrupted.
10. device according to claim 6, which is characterized in that the keep Alive Packet interactive module receives the terminal and sets The standby periodical keep-alive probe messages to transmission, and keep-alive response message is replied to the terminal device, it realizes and the terminal Equipment carries out keep Alive Packet interaction;
The detection module detection does not receive the duration for the keep-alive probe messages that the terminal device is sent;If described hold Continuous duration reaches the first preset duration, then judgement interacts interruption with the keep Alive Packet between the terminal device.
11. a kind of communication equipment, which is characterized in that including processor and and machine readable storage medium, it is described machine readable to deposit Storage media is stored with the machine-executable instruction that can be executed by the processor, and processor executes the executable finger of the machine It enables, the communication equipment is made to realize any methods of claim 1-5 as the Forwarding plane communicated with control plane.
12. a kind of communication system, which is characterized in that the communication system Forwarding plane and control plane, the Forwarding plane with Control plane and terminal equipment in communication, the Forwarding plane is periodically for accessing the terminal device of the Forwarding plane to described The traffic report message that control plane is sent;
The Forwarding plane carries out keep Alive Packet interaction with the terminal device;Keep-alive report between detection and the terminal device Whether text interaction is interrupted;If detecting, the keep Alive Packet between the terminal device interacts interruption, notifies the control flat The face terminal device is offline;
The control plane does not receive the Forwarding plane in the second preset duration and is directed to the stream that the terminal device is sent Report message is measured, then deletes the corresponding forwarding-table item of the terminal device in the control plane.
13. a kind of machine readable storage medium, which is characterized in that the machine readable storage medium is stored with the executable finger of machine It enables, for the machine-executable instruction when being called and being executed by processor, the machine-executable instruction promotes the processor Realize any methods of claim 1-5.
CN201810165816.8A 2018-02-28 2018-02-28 Keep Alive Packet exchange method, device, communication equipment and communication system Pending CN108366000A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810165816.8A CN108366000A (en) 2018-02-28 2018-02-28 Keep Alive Packet exchange method, device, communication equipment and communication system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810165816.8A CN108366000A (en) 2018-02-28 2018-02-28 Keep Alive Packet exchange method, device, communication equipment and communication system

Publications (1)

Publication Number Publication Date
CN108366000A true CN108366000A (en) 2018-08-03

Family

ID=63002730

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810165816.8A Pending CN108366000A (en) 2018-02-28 2018-02-28 Keep Alive Packet exchange method, device, communication equipment and communication system

Country Status (1)

Country Link
CN (1) CN108366000A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557331A (en) * 2019-07-15 2019-12-10 中移(杭州)信息技术有限公司 User offline control method, controller, forwarding equipment and user access system
WO2022037049A1 (en) * 2020-08-18 2022-02-24 华为技术有限公司 Method and apparatus for keeping user terminal alive
CN114629968A (en) * 2022-03-03 2022-06-14 南京国电南自电网自动化有限公司 Communication keep-alive system and method of relay protection device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2073506A1 (en) * 2007-12-21 2009-06-24 Alcatel Lucent Method for resolving a logical user address in an aggregation network
CN101977116A (en) * 2010-10-28 2011-02-16 杭州华三通信技术有限公司 Flow charging method and client side
CN104378250A (en) * 2013-08-13 2015-02-25 中兴通讯股份有限公司 Data link detection method, device and system, controller and gateways
CN105162829A (en) * 2014-06-06 2015-12-16 诺基亚通信公司 Automatic delta event synchronization in multiple manager-agent environments
CN105871964A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 User experience (UE) processing method and device
CN107645556A (en) * 2017-09-26 2018-01-30 中国联合网络通信有限公司广东省分公司 A kind of method and its forwarding and control device realized SDN and turn the broadband user's access and keep-alive of control separation

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2073506A1 (en) * 2007-12-21 2009-06-24 Alcatel Lucent Method for resolving a logical user address in an aggregation network
CN101977116A (en) * 2010-10-28 2011-02-16 杭州华三通信技术有限公司 Flow charging method and client side
CN104378250A (en) * 2013-08-13 2015-02-25 中兴通讯股份有限公司 Data link detection method, device and system, controller and gateways
CN105162829A (en) * 2014-06-06 2015-12-16 诺基亚通信公司 Automatic delta event synchronization in multiple manager-agent environments
CN105871964A (en) * 2015-01-23 2016-08-17 中兴通讯股份有限公司 User experience (UE) processing method and device
CN107645556A (en) * 2017-09-26 2018-01-30 中国联合网络通信有限公司广东省分公司 A kind of method and its forwarding and control device realized SDN and turn the broadband user's access and keep-alive of control separation

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557331A (en) * 2019-07-15 2019-12-10 中移(杭州)信息技术有限公司 User offline control method, controller, forwarding equipment and user access system
WO2022037049A1 (en) * 2020-08-18 2022-02-24 华为技术有限公司 Method and apparatus for keeping user terminal alive
CN114629968A (en) * 2022-03-03 2022-06-14 南京国电南自电网自动化有限公司 Communication keep-alive system and method of relay protection device

Similar Documents

Publication Publication Date Title
CN103152374B (en) Know the method and apparatus of terminal presence
US9712632B2 (en) Method for receiving data, method for sending data, mobile terminal, and server
CN103634409A (en) Method and system for realizing always-online internet application
CN102739411B (en) The service of proof is provided
US10863386B1 (en) State machine handling at a proxy node in an ethernet-based fronthaul network
CN102177697B (en) Method for controlling internet services, and relevant device and system
US9148778B2 (en) Activating a mobile terminal from mobile network side
CN104363247A (en) Flow saving method and device adopting saving-free application
CN105229939B (en) Method and apparatus in wireless communication system for the communication between user equipment
CN108366000A (en) Keep Alive Packet exchange method, device, communication equipment and communication system
CN104869043B (en) A kind of method and terminal for establishing VPN connection
EP3310093B1 (en) Traffic control method and apparatus
CN103297470A (en) Method for processing always-online service, application server, user terminal and system
CN103825777A (en) DMZ server switching method and device
CN109150659B (en) Processor and BFD message transmission method
WO2017076278A1 (en) Method and device for flexibly processing link between network elements
CN106533973A (en) Method and system for distributing service message, and equipment
CN109040295A (en) Determination method and device, terminal and the storage medium of abnormal broken line
CN106656659B (en) Network path selection method and network video recorder
CN103716230A (en) Message sending method, device and server
CN103944926B (en) Remote desktop conversation switching method, client and gateway
EP2874349B1 (en) Communication path processing method and apparatus
CN105553762B (en) Communication means, system and related device between household electrical appliance and mobile terminal
CN103391303B (en) Service fault noticing method and server using same
CN104468158A (en) A method and apparatus for notifying status among nodes

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180803