CN100571215C - Keep the method and the network element device of network service - Google Patents
Keep the method and the network element device of network service Download PDFInfo
- Publication number
- CN100571215C CN100571215C CNB2007100794877A CN200710079487A CN100571215C CN 100571215 C CN100571215 C CN 100571215C CN B2007100794877 A CNB2007100794877 A CN B2007100794877A CN 200710079487 A CN200710079487 A CN 200710079487A CN 100571215 C CN100571215 C CN 100571215C
- Authority
- CN
- China
- Prior art keywords
- network element
- element device
- time limit
- receiving time
- count results
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of method of keeping network service, this method comprises: obtain at least one to the count results from the data message of network element device in the maximum receiving time limit; When in the described maximum receiving time limit, not receiving the protocol massages of described network element device, obtain most recent count result from the data message of described network element device; The count results of obtaining in the described maximum receiving time limit when described most recent count result and any one sends message to keep and the communicating by letter of described network element device to described network element device not simultaneously.Simultaneously, the invention also discloses a kind of network element device, use technical scheme provided by the present invention, can when service traffics surpass the professional ability of network element device, keep network service, avoid service disconnection.
Description
Technical field
The present invention relates to communication technical field, particularly keep the method and the network element device of network service.
Background technology
Communication protocol generally operates between two routers, need set up communication between two routers.Be connected many routers on the same network segment, before communication is set up, need to send protocol massages and find each other to set up communication; After communication was set up, needs transmission protocol massages was kept communication each other.
Consult Fig. 1, router device can comprise: control plane and Forwarding plane.Control plane sends forwarding information and protocol massages to Forwarding plane, and Forwarding plane sends datagram and this protocol massages to neighbor router; Wherein, forwarding information refer to protocol massages or/and data message when being routed device and transmitting, be used to indicate this protocol massages or/and the outgoing interface of data message, and can forward used information from this outgoing interface, promptly can be used to notify Forwarding plane to send datagram and/or protocol massages to which neighbor router.Forwarding information is sending with neighbor router protocol negotiation success back, for example, router and neighbor router are at ppp protocol (Point to Point Protocol, point-to-point protocol) after negotiation is passed through, just the forwarding information that ppp negotiation success back is generated is handed down to Forwarding plane, and Forwarding plane just can be to outgoing interface transmission message that should neighbor router; If consult not pass through, just can not issue, this outgoing interface just can not be used so; If communication disruption, control plane will issue deletion information so, and the link layer information for that outgoing interface in the Forwarding plane is deleted, and this outgoing interface also just can not participate in having transmitted again, also just means service disconnection.Protocol massages is used for keeping with neighbor router communicates by letter, and this protocol massages can be hello packet; Forwarding plane receives simultaneously from the protocol massages of neighbor router and data message, and the protocol massages of neighbor router is sent to control plane.
Discover that through the inventor shortcoming of prior art is:
Along with the network user and professional increasing, service traffics may surpass the professional ability of router, the disposal ability that promptly surpasses the router Forwarding plane, this moment, router had to abandon the part message, make router can't receive this part message, when lose be protocol massages from neighbor router the time, the control plane of router is because of can not receive the protocol massages from this neighbor router, issue deletion information, in the Forwarding plane to the link layer information deletion of outgoing interface that should neighbor router, this outgoing interface also just can not participate in having transmitted again, thereby Forwarding plane stops to send datagram and protocol massages to this neighbor router, then stop to communicate by letter service disconnection with this neighbor router.
Summary of the invention
The embodiment of the invention provides a kind of method and network element device of keeping network service, can keep network service when service traffics surpass the professional ability of network element device, avoids service disconnection.
In view of this, embodiments of the invention provide:
A kind of method of keeping network service, this method comprises:
In the maximum receiving time limit, obtain at least one to count results from the data message of network element device;
When in the described maximum receiving time limit, not receiving the protocol massages of described network element device, obtain most recent count result from the data message of described network element device;
The count results of obtaining in the described maximum receiving time limit when described most recent count result and any one sends message to keep and the communicating by letter of described network element device to described network element device not simultaneously.
A kind of network element device, this network element device comprises:
The maximum receiving time limit is provided with the unit, is used to be provided with the maximum receiving time limit;
Judging unit is used to judge the protocol massages that whether receives network element device in the described maximum receiving time limit;
The count results acquiring unit is used for obtaining at least one to the count results from the data message of network element device in the described maximum receiving time limit; When the judged result of described judging unit when not receiving the protocol massages of described network element device, obtain most recent count result from the data message of described network element device;
Comparing unit is used for count results that described most recent count result and any one are obtained relatively in the described maximum receiving time limit;
Packet sending unit is used for comparative result when described comparing unit and is described most recent count result and any one count results of obtaining not simultaneously, the transmission message in the described maximum receiving time limit.
Above technical scheme as can be seen, the embodiment of the invention adopts when not receiving the protocol massages of network element device, obtain most recent count result to the data message of this network element device, and the count results to from the data message of this network element device that this most recent count result and maximum were obtained in the receiving time limit compared, because the transmission frequency of data message is very fast, can be up to the ns level, if network does not have interrupt communication, the count results of obtaining in most recent count result and maximum receiving time limit is different so, so when comparative result be two count results not simultaneously, determine that then the protocol massages that does not receive network element device causes owing to this protocol massages is dropped, do not need interrupt communication, thereby continue to send message to this network element device, can reach and keep and the communicating by letter of this network element device, avoid the purpose of service disconnection.
Description of drawings
Fig. 1 is the schematic diagram of the router communication that prior art provided;
The method flow diagram of keeping network service that Fig. 2 is provided for the embodiment of the invention two;
The method flow diagram of keeping network service that Fig. 3 is provided for the embodiment of the invention three;
The network element device structure chart that Fig. 4 is provided for the embodiment of the invention four.
Embodiment
The embodiment of the invention one provides a kind of method of keeping network service, and this method comprises: obtain at least one to the count results from the data message of network element device in the maximum receiving time limit; When in the maximum receiving time limit, not receiving the protocol massages of network element device, obtain most recent count result from the data message of network element device; The count results of obtaining in the receiving time limit in maximum when most recent count result and any one sends message to keep and the communicating by letter of network element device to network element device not simultaneously.Use the technical scheme that the embodiment of the invention provided, when service traffics surpass the professional ability of network element device, can keep network service, avoid service disconnection.
Consult Fig. 2, the embodiment of the invention two provides a kind of method of keeping network service, and this method comprises:
Send out protocol massages between step 201, the network element device mutually, set up communication, wherein, network element device can be router, and the network element device of sending out protocol massages with this network element device mutually is a neighbor router, and promptly router and neighbor router are sent out protocol massages mutually, hold consultation, consult successfully after, set up communication;
Wherein, the transmission of protocol massages is to send with fixing interval.For example, OSPF (Open ShortestPath First, SPF) in the agreement, hello packet sends with fixing interval HelloInterval, in point to point network P2P, point-to-point configuration P2MP, and the Broadcast network on HelloInterval be defaulted as 10s, the HelloInterval in non-broadcast multipoint access network NBMA is 30s;
Wherein, after router and neighbor router are consulted successfully, the control plane of router sends forwarding information to Forwarding plane, forwarding information refer to protocol massages or/and data message when being routed device and transmitting, be used to indicate this protocol massages or/and the outgoing interface of data message, and can forward used information from this outgoing interface, and promptly be used to notify Forwarding plane to send datagram and/or protocol massages to which neighbor router, be convenient to router and communicate by letter with neighbor router foundation;
For ospf protocol, after communication is set up, router still is to send hello packet the time interval to keep communication with HelloInterval, but the hello packet that can allow not receive the other side in the certain hour section is still kept communication, DeadInterval is the maximum receiving time limit that allows not receive hello packet, DeadInterval in the time period router do not receive the hello packet of neighbor router, communication disruption.HelloInterval and DeadInterval are configurable, and usually, the default value of DeadInterval is configured to four times of HelloInterval.
Wherein, when router and neighbor router were kept and communicated by letter, control plane sent protocol massages to Forwarding plane, and Forwarding plane sends datagram and this protocol massages to neighbor router; Forwarding plane receives simultaneously from the protocol massages of neighbor router and data message, and Forwarding plane is counted the data message from neighbor router that receives, and the protocol massages of neighbor router is sent to control plane;
The control plane of step 204, router judges whether to want interrupt communication, if not, returns execution in step 202, if, execution in step 205;
Judge whether in this step that interrupt communication judges according to the maximum receiving time limit,, be limited to the time that maximum allows not receive the protocol massages of neighbor router during maximum receiving for different systems maximum receiving time limit difference; For example, for ospf protocol, in the maximum of the protocol massages that does not receive neighbor router receiving time limit DeadInterval, can not receive and just think from the protocol massages of neighbor router and to need interrupt communication, DeadInterval can be set be four times of HelloInterval.
The control plane of step 205, router obtains the most recent count result from the data message of neighbor router to Forwarding plane;
For the big network segment of service traffics, the transmission frequency of data message is very fast, can be up to the ns level, thereby any one count results and the most recent count result that can select this maximum to obtain in the receiving time limit compare, for example, the count results of selecting maximum to obtain at last in the receiving time limit, the result compares with most recent count.
The control plane of step 207, router issues deletion information, in the Forwarding plane to the link layer information deletion of outgoing interface that should neighbor router, this outgoing interface also just can not participate in having transmitted again, thereby Forwarding plane stops to send datagram and/or protocol massages to neighbor router, communication disruption, process ends;
The control plane of step 208, router is determined not receive protocol massages and is lost and cause owing to protocol massages, returns execution in step 202.
Wherein, the control plane of the router in the embodiment of the invention is provided with high priority to the protocol massages that sends, high priority message is encapsulated in and sends to Forwarding plane in the protocol massages, Forwarding plane has precedence over data message according to this high priority message guarantee agreement message and sends, thereby has guaranteed the reliability that protocol massages sends.
Wherein, control plane adopts when Forwarding plane sends protocol massages in the step 202, get count results to Forwarding plane, the implementation that other also can be arranged, for example, control plane can be provided with timer, is timed to Forwarding plane and obtains the count results from the data message of neighbor router.
Consult Fig. 3, the embodiment of the invention three provides a kind of method of keeping network service, and this method comprises:
Send out protocol massages between step 301, the network element device mutually, set up communication, wherein, network element device can be router, and the network element device of sending out protocol massages with this network element device mutually is a neighbor router, and promptly router and neighbor router are sent out protocol massages mutually, hold consultation, consult successfully after, set up communication;
Judge whether in this step that interrupt communication judges according to the maximum receiving time limit,, be limited to the time that maximum allows not receive the protocol massages of neighbor router during maximum receiving for different systems maximum receiving time limit difference;
Wherein, router in the embodiment of the invention is provided with high priority to the protocol massages that sends, high priority message is encapsulated in the protocol massages, can have precedence over data message according to this high priority message guarantee agreement message and send, thereby guarantee the reliability that protocol massages sends.
Wherein, when adopt sending protocol massages in the step 302, obtain, other implementation also can be arranged count results from the data message of neighbor router, for example, timer can be set regularly obtains the count results from the data message of neighbor router.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to finish by program, this program can be stored in the computer read/write memory medium, as: ROM/RAM, disk, CD etc.
Consult Fig. 4, the embodiment of the invention four provides a kind of network element device, and this network element device can be router, and this network element device comprises:
The maximum receiving time limit is provided with unit 401, is used to be provided with the maximum receiving time limit;
Count results acquiring unit 403 is used for obtaining at least one to the count results from the data message of network element device in the maximum receiving time limit; When the judged result of judging unit 402 when not receiving the protocol massages of network element device, obtain most recent count result from the data message of this network element device;
Comparing unit 404 is used for count results that most recent count result and any one are obtained in the receiving time limit in maximum relatively;
This network element device also comprises: data message receiving element 406, and counting unit 407,
Data message receiving element 406 is used to receive the data message from this network element device;
Counting unit 407 is used for the data message that data message receiving element 406 receives is counted, and the record count result;
Most recent count result that count results acquiring unit 403 obtains and the count results of obtaining in maximum is received telegraph the time limit are the count results from counting unit 407.
Wherein, the count results of count results in the maximum receiving time limit, obtained of count results acquiring unit 403 for regularly obtaining from counting unit 407.
Comparing unit 404 be used for comparison the count results of in the maximum receiving time limit, obtaining can for: maximum obtain at last in the receiving time limit to count results from the data message of network element device.
More than analyze as can be seen, because the embodiment of the invention adopts when not receiving the protocol massages of neighbor router, obtain most recent count result from the data message of neighbor router, and the count results to from the data message of this neighbor router that this most recent count result and maximum were obtained in the receiving time limit compared, because the transmission frequency of data message is very fast, can be up to the ns level, if network does not have interrupt communication, the most recent count result is different with the count results meeting that maximum obtained in the receiving time limit so, so comparative result is not for not simultaneously, determine that then the protocol massages that does not receive neighbor router causes owing to this protocol massages is dropped, do not need interrupt communication, thereby continue to send message to neighbor router, can reach keep with neighbor router communicate by letter the purpose of avoiding protocol service to interrupt.
The explanation of above embodiment just is used to help to understand the method for the embodiment of the invention, for one of ordinary skill in the art, according to thought of the present invention, part in specific embodiments and applications may change, in sum, this description should not be construed as limitation of the present invention.
Claims (9)
1, a kind of method of keeping network service is characterized in that, this method comprises:
In the maximum receiving time limit, obtain at least one to count results from the data message of network element device;
When in the described maximum receiving time limit, not receiving the protocol massages of described network element device, obtain most recent count result from the data message of described network element device;
The count results of obtaining in the described maximum receiving time limit when described most recent count result and any one sends message to keep and the communicating by letter of described network element device to described network element device not simultaneously.
2, method according to claim 1 is characterized in that:
When described most recent count result is identical with any one count results of obtaining in the described maximum receiving time limit, stop to send message to described network element device.
3, method according to claim 1 is characterized in that:
Describedly in the maximum receiving time limit, obtain at least one and be mode from the count results of the data message of network element device:
In the described maximum receiving time limit, in the protocol massages that sends self, obtain count results from the data message of network element device.
4, method according to claim 3 is characterized in that:
Described most recent count result and any one different being specially of count results of in the described maximum receiving time limit, obtaining:
Described most recent count result is different with the count results of obtaining at last in the described maximum receiving time limit to from the data message of described network element device.
5, according to claim 1,2,3 or 4 described methods, it is characterized in that:
The mode that described most recent count result is different with any one count results of obtaining in the described maximum receiving time limit is:
Described most recent count result is greater than any one count results of obtaining in the described maximum receiving time limit.
6, a kind of network element device is characterized in that, this network element device comprises:
The maximum receiving time limit is provided with the unit, is used to be provided with the maximum receiving time limit;
Judging unit is used to judge the protocol massages that whether receives network element device in the described maximum receiving time limit;
The count results acquiring unit is used for obtaining at least one to the count results from the data message of network element device in the described maximum receiving time limit; When the judged result of described judging unit when not receiving the protocol massages of described network element device, obtain most recent count result from the data message of described network element device;
Comparing unit is used for count results that described most recent count result and any one are obtained relatively in the described maximum receiving time limit;
Packet sending unit is used for comparative result when described comparing unit and is described most recent count result and any one count results of obtaining not simultaneously, the transmission message in the described maximum receiving time limit.
7, network element device according to claim 6 is characterized in that:
Described network element device also comprises: the data message receiving element, and counting unit,
Described data message receiving element is used to receive the data message from described network element device;
Described counting unit is used for the data message that described data message receiving element receives is counted, and the record count result;
Most recent count result that described count results acquiring unit obtains and the count results of obtaining in the described maximum receiving time limit are the count results from described counting unit.
8, network element device according to claim 7 is characterized in that:
The count results of count results that described count results acquiring unit obtained in the described maximum receiving time limit for regularly obtaining from described counting unit.
9, network element device according to claim 8 is characterized in that:
The count results of obtaining in the described maximum receiving time limit that described comparing unit is used for comparison is: in the described maximum receiving time limit, obtain at last to count results from the data message of described network element device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100794877A CN100571215C (en) | 2007-04-11 | 2007-04-11 | Keep the method and the network element device of network service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2007100794877A CN100571215C (en) | 2007-04-11 | 2007-04-11 | Keep the method and the network element device of network service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101035077A CN101035077A (en) | 2007-09-12 |
CN100571215C true CN100571215C (en) | 2009-12-16 |
Family
ID=38731389
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2007100794877A Expired - Fee Related CN100571215C (en) | 2007-04-11 | 2007-04-11 | Keep the method and the network element device of network service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100571215C (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103746856B (en) * | 2014-01-28 | 2017-09-19 | 华为技术有限公司 | Prevent the method and the network equipment of service disconnection |
CN111030943A (en) * | 2019-12-13 | 2020-04-17 | 迈普通信技术股份有限公司 | Message processing method and device, forwarding equipment and storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1486018A (en) * | 2002-09-29 | 2004-03-31 | 华为技术有限公司 | Method for alarm consistency comparing and resuming |
US20040095887A1 (en) * | 2000-01-18 | 2004-05-20 | At&T Corp. | Apparatus and method for designing a network |
CN1595887A (en) * | 2003-09-08 | 2005-03-16 | 华为技术有限公司 | A next generation network system and resource management method |
US20050068942A1 (en) * | 2003-09-30 | 2005-03-31 | Chu Thomas P. | Method and apparatus for establishment and management of voice-over IP virtual private networks in IP-based communication systems |
-
2007
- 2007-04-11 CN CNB2007100794877A patent/CN100571215C/en not_active Expired - Fee Related
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040095887A1 (en) * | 2000-01-18 | 2004-05-20 | At&T Corp. | Apparatus and method for designing a network |
CN1486018A (en) * | 2002-09-29 | 2004-03-31 | 华为技术有限公司 | Method for alarm consistency comparing and resuming |
CN1595887A (en) * | 2003-09-08 | 2005-03-16 | 华为技术有限公司 | A next generation network system and resource management method |
US20050068942A1 (en) * | 2003-09-30 | 2005-03-31 | Chu Thomas P. | Method and apparatus for establishment and management of voice-over IP virtual private networks in IP-based communication systems |
Also Published As
Publication number | Publication date |
---|---|
CN101035077A (en) | 2007-09-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2286649C2 (en) | Method and device for efficient use of communication resources in data exchange system under overload conditions | |
US7872992B2 (en) | Network system and relay device | |
TWI472255B (en) | Method to control reconfiguration of multiple radio access bearers in a wireless device | |
CN110831075A (en) | Data transmission method and device and service switching method and device | |
US7724649B2 (en) | Method and device for making uplink standby | |
US20080126492A1 (en) | Pinging for the Presence of a Server in a Peer to Peer Monitoring System | |
EP2079198A1 (en) | Method and exchanger for realizing internet group management protocol snooping | |
BRPI0612472A2 (en) | method for transmitting and receiving a point-to-multipoint service in a mobile communication system | |
US20210329528A1 (en) | Connection establishment method and related device | |
JP5485543B2 (en) | Communication method in network including primary network and secondary network | |
CN102090023A (en) | TCP transmission control device and TCP transmission control method | |
WO2014094432A1 (en) | Deep packet inspection result dissemination method and device | |
CN105262836A (en) | Information push method of server and push information reception method of client | |
WO2015192306A1 (en) | Control device and system and transmission channel control method in software-defined networking | |
CN111726293A (en) | Message transmission method and device | |
WO2014169557A1 (en) | Interface switching method and device | |
CN101800702A (en) | Method and network device for switching interface links | |
RU2580395C2 (en) | System and method for realizing end-to-end hierarchical quality of service | |
CN100571215C (en) | Keep the method and the network element device of network service | |
CN101026559B (en) | Communication establishing method and router | |
KR20160131532A (en) | Adaptive Bidirectional Forwarding Detection protocol and equipment for maximizing service availability in network system | |
EP2582199A1 (en) | M2m system and method for processing services thereof | |
CN109873763B (en) | Communication method and device | |
KR100424651B1 (en) | Data communication method using resource reservation | |
CN102006635A (en) | Data transmission method and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20091216 Termination date: 20170411 |
|
CF01 | Termination of patent right due to non-payment of annual fee |