CN100428735C - Network connection apparatus and network connection switching method - Google Patents

Network connection apparatus and network connection switching method Download PDF

Info

Publication number
CN100428735C
CN100428735C CNB2004800009161A CN200480000916A CN100428735C CN 100428735 C CN100428735 C CN 100428735C CN B2004800009161 A CNB2004800009161 A CN B2004800009161A CN 200480000916 A CN200480000916 A CN 200480000916A CN 100428735 C CN100428735 C CN 100428735C
Authority
CN
China
Prior art keywords
network connection
aforementioned
connection device
priority
advertisement information
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
Application number
CNB2004800009161A
Other languages
Chinese (zh)
Other versions
CN1701575A (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.)
Panasonic Holdings Corp
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co Ltd filed Critical Matsushita Electric Industrial Co Ltd
Publication of CN1701575A publication Critical patent/CN1701575A/en
Application granted granted Critical
Publication of CN100428735C publication Critical patent/CN100428735C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

Between network connection apparatuses connected to each other by use of a virtual redundant arrangement, a first network connection apparatus that is in a standby state receives an advertisement message from a second network connection apparatus that is active as a network connection apparatus, and uses a priority comparison part (203) to compare its own priority with the priority in the received advertisement message. When its own priority is higher, the first network connection apparatus uses a master countdown timer comparison part (212) to compare the remaining time of a master countdown timer (205) with the time as weighted in accordance with its own priority and resets the timer for a shorter time. When the master countdown time expires, a message processing part (202) of the first network connection apparatus notifies the second network connection apparatus that the first network connection apparatus has been shifted to an active state, whereby a switching of master backup can be performed swiftly.

Description

Network connection device and network connection switching method
Technical field
The present invention relates to interconnective network connection device and network connection switching method, particularly be positioned at the network connection device of operating state and be positioned at switching between the network connection device of holding state by the virtual redundancy structure.
Background technology
Always, in IP (Internet Protocol) network, have and external network between a plurality of network connection devices (to call router in the following text) of communicating with other sub-network of being used for are set side by side, form redundancy structure with these routers, situation when the router (hereinafter referred to as active router) that carries out work as main equipment breaks down is become the system that replaces device and continue to communicate by letter by other routers (to call backup router in the following text) that are positioned at holding state.As such system, known have use Virtual Router Redundancy Protocol VRRP (Virtual Router Redundancy Protocol for IPv6) system (for example, United States Patent (USP) the 5th, 473, No. 599 specifications, and " Virtual Router Redundancy Protocol for IPv6 ", with reference to internet<URL.http: //www.ietf.org/internet-drafts/draft-1etf-vrrp-ipv-spec-03 .txt).
Figure 24 is an illustration of the structure of this virtual router system of expression.In Figure 24, active router 2401, the backup router when active router 2401 can not use 2402 and the host node 1~3 (hereinafter referred to as [node 1], [node 2], [node 3]) that in fact carry out the network connection are connected to inner local area network (LAN) 2405.In addition, active router 2401 and backup router 2402 are connected with different external lan 2404 respectively.In the prior art, by virtual router ID (hereinafter referred to as [VRID]) router group of carrying out VRRP is organized appointment.With from the router group that in the same subnet network, has identical VRID with 1 as active router, divide into groups practically the dispensing.The situation that backup router breaks down at active router, backup router self switches to the dispensing that active router divides into groups.Active router and backup router are with respect to each node virtual representation identical address (virtual router ip address, virtual router MAC Address).Thus, it is active router or backup router that each node can be realized the router that send, the transmission of can being divided into groups as default router in the virtual router address.
Figure 25 (a) and (b) are the advertisement information of expression according to the VRRP regulation of being received and dispatched between active router and backup router, carry out the precedence diagram of change action between main stage and the backup phase.
Especially, Figure 25 (a) is shown in the application drawing of the low situation of priority in the advertisement information that self priority ratio receives.
Among Figure 25 (a), multicast comprises the promising advertisement information 2101 that makes the priority that self becomes active router to active router 2401 to backup router termly.Backup router 2402 resets 2102 to main count-down device receive advertising message 2101 from the active router with priority higher than the priority of self in (between main countdown) during certain after, and affirmation active router 2401 is for working.
The application drawing of the situation that the priority in the advertisement information that Figure 25 (b) receives for the priority ratio that is illustrated in oneself is high.
Among Figure 25 (b), backup router does not reset to main count-down device in situation about receiving from the advertisement information 2103 of the active router with priority lower than the priority of self, and is intact with advertisement information discarded (2104).Then, when this backup router arrives (2105) at main count-down device, judge and to break down that self becomes active router, to the router transmission advertisement information 2106 on the same group mutually at active router.Because the timeout value of main count-down device is set to the high weak point of priority, the length that priority is low, thereby can corresponding priority level initializing active router.
And the form of advertisement information is represented by Figure 26.In Figure 26, the type of type field 2201 expression message, ' 1 ' expression is an advertisement information.The virtual router identifier VRID of virtual router group under the 2202 record expressions of VRID field are own.Should become the priority of active router among the precedence field 2203 expression virtual router groups.2204 expressions of time spot interval field send the time interval of advertisement information.IPv6 address field 2205 record virtual router groups' virtual router address.In other fields of VRRP message, putting down in writing information according to VRRP order defined.
In addition, as other existing example, disclose between active router and backup router and found fault in early days by the message that exchanges mutual supervision termly, change metric transmission path information when breaking down, thereby make the technology (for example, opening flat 7-264233 communique) of hand-off process high speed with reference to the spy.
But, in the existing structure of in " Virtual Router Redundancy Protocol for IPv6 ", putting down in writing, has such problem, be that backup router receives advertisement information from active router, even under the low situation of priority ratio self, do not carry out transfer immediately to main equipment yet, discard the advertisement information that receives, wait for the end between main countdown, after overtime, carry out hand-off process, therefore, even there is the high router of priority, can not promptly carry out the switching between active router and the backup router.
In addition, except that switching, after can not using, active router begins to carry out the hand-off process of router with the high router of priority.Therefore, have with the vicissitudinous situation of the connectivity at networking under, for example in the mobile communicating environment, can not carry out the such problem of switching between active router and the backup router rapidly.
In addition, open in the existing structure that flat 7-264233 communique put down in writing the spy, must send information from active router and backup router mutually because be used for monitored state, have increase, the problem that network load increases along with the router number that constitutes redundancy structure.
Summary of the invention
The present invention proposes for solving aforesaid existing issue, even its objective is the platform number of the router that a kind of formation redundancy structure is provided increases, do not increase the load of network yet, can make active router and the backup router network connection device and the network connection switching method of switching rapidly with easy structure.
In order to solve aforesaid existing issue, network connection device of the present invention is to make a plurality of networkings jockey that is connected on the local area network (LAN) come the network connection device of work as 1 virtual network connection device, it is characterized in that: have the Stateful Inspection portion of management as the operating state of network connection device; When working, represent the Message Processing portion that the transmitting-receiving of the advertisement information of relevant work state is handled as network connection device; Obtaining expression from the aforesaid advertisement information that receives should be as the precedence information and the precedence information of oneself the priority comparing section relatively of the priority of network connection device work; Metering turns to the main timer portion that shifts as the time point of the operating state of network connection device from holding state; When the judgement of aforesaid state monitoring unit is not operating state, judge high moment of precedence information in the aforementioned advertisement information that the priority ratio of oneself receives in aforementioned priority comparing section, utilize the aforesaid main timer portion that shifts, the mediation to the operating state transfer each other of the network connection device of beginning holding state is handled.
According to this structure, because the network connection device of starting holding state is a time point when the priority of judging oneself is higher to the time point of operating state transfer processing, thereby can shorten the used time of switching, make and carry out rapidly from the possibility that is switching to of holding state to operating state.
Network connection device of the present invention is to make a plurality of networkings jockey that is connected on the local area network (LAN) come the network connection device of work as 1 virtual network connection device, it is characterized in that: have the Stateful Inspection portion of management as the operating state of network connection device; When working as network connection device, represent the Message Processing portion of the advertisement information transmitting-receiving processing of relevant work state: metering regularly sends the advertisement timer of aforementioned advertisement information time point; Metering be used to judge aforementioned advertisement information in official hour whether from the message age device portion of the time that the network connection device as network connection device work receives; Obtaining expression from the aforementioned advertisement information that receives should be as the precedence information and the precedence information of oneself the priority comparing section relatively of the priority of network connection device work; Metering turns to the main timer portion that shifts of the time point that shifts as the operating state of network connection device from holding state; When the judgement of aforesaid state monitoring unit is not operating state, judge under the high situation of precedence information in the aforementioned advertisement information that the priority ratio of oneself receives in aforementioned priority comparing section, residual time and the priority of oneself time lag time of calculating of device portion compare according to aforesaid message age, the aforesaid time lag time more in short-term, the aforesaid time lag time is established to the aforesaid main timer portion that shifts, aforesaid main transfer timer portion's time is when arriving, aforesaid state monitoring unit indication aforementioned messages handling part is to sending the advertisement information that request is shifted to holding state from operating state as the network connection device in the network connection device work.
According to this structure, because the network connection device of starting holding state is the longest to the processing time that operating state shifts, become with other and mediate the essential time lag time of processing institute for the network connection device of holding state, thereby can shorten the used time of switching, make and carry out rapidly becoming possibility to the transfer of operating state from holding state.
In addition, network connection device of the present invention further has the link monitoring portion of the switching performance of evaluation and external network, when the aforementioned main time of shifting timer portion arrives, judge switching performance under setting or the situation more than it in aforementioned link monitoring portion, the aforesaid state monitoring unit is to sending the advertisement information that indication is shifted to holding state from operating state as the network connection device in the network connection device work.
According to this structure, not be used between the network connection device transmitting-receiving mutually in order to monitor and outside internuncial specific message just can be only carried out hand-off process when the network connection device of holding state has with the good connectivity of external network.Therefore, become after just can guaranteeing to switch between the network connection device of operating state and the external network good connection is arranged.
In addition, network connection device of the present invention further has the link monitoring portion of the switching performance of evaluation and external network, when the judgement of aforesaid state monitoring unit is worked as network connection device, and aforementioned link monitoring portion is judged when switching performance is lower than setting, aforesaid state monitoring unit indication aforementioned messages handling part, the network connection device on same local network sends the advertisement information of expression as the operating state of network connection device.
According to this structure, not be used between the network connection device transmitting-receiving mutually for monitor and outside internuncial specific message, in running order network connection device and the connectivity of external network when worsening, the network connection device of holding state just can be known the connection status of the network connection device of operating state, therefore, just can with the network connection device in the work lose with being connected of external network before switch to the network connection device of holding state.
In addition, network connection device of the present invention further has the link monitoring portion of the switching performance of evaluation and external network, judge as network connection device work in the aforesaid state monitoring unit, and aforementioned link monitoring portion is judged when switching performance is lower than setting, aforesaid state monitoring unit indication aforementioned messages handling part, the network connection device on same local network sends the advertisement information that request is shifted to operating state from holding state.
According to this structure, not be used between the network connection device transmitting-receiving mutually in order to monitor and outside internuncial information specific just can be in running order network connection device and during the deterioration of the connectivity of external network, the network connection device of holding state is clear and definite receives hand-off process, therefore, just can with the network connection device in the work lose with being connected of external network before promptly switch network connection device to holding state.
In addition, the request of shifting to holding state from operating state that the Stateful Inspection portion of network connection device of the present invention carries out is that to set own priority be the aforementioned advertisement information of highest order, and is set to the aforementioned time lag time based on priority level initializing in aforementioned main transfer timer portion.
According to this structure, now in running order network connection device is owing to become the reception advertisement information higher than own priority, so can shorten the time of the processing that starting shifts to holding state from operating state, can promptly carry out in running order network connection device and be in switching between the network connection device of holding state.In addition, the network connection device that is in holding state can be the time lag time with the time set till beginning to hand-off process also, and making to shift rapidly becomes possibility.
In addition, the aforesaid state monitoring unit of network connection device of the present invention is judged as network connection device at work, and aforementioned link monitoring portion judges when switching performance is lower than setting that the advertisement information of representing aforementioned operating state is the message that priority level initializing is become lowest order.
According to this structure, be in the network connection device in the standby now because network connection device that can the judgment task state is lower than own priority, so can send in the time from the network connection device of holding state handoff request in the longest time lag, promptly carry out being switching in the possible time of network connection device and carry out to the network connection device of operating state.
Network connection switching method of the present invention has: judge that make a plurality of networkings jockey of being connected on the local area network (LAN) come the network connection device of work as 1 virtual network connection device is operating state, the still monitoring step of holding state; The 1st network connection device that is holding state in aforesaid judgement is from receiving the step of advertisement information as the 2nd in running order network connection device of network connection device; The priority comparison step that should compare as the precedence information of network connection device work and the precedence information of oneself expression in the aforementioned advertisement information that receives; Judge when aforementioned own priority is high the mediation processing of shifting to operating state each other of the network connection device of beginning holding state in the aforementioned priority comparison step.
Thus, because the time point of the processing that the network connection device of starting holding state shifts to operating state is to be the high moment in the priority of judging oneself, thereby can shorten the used time of switching, make and carry out rapidly from the possibility that is switching to of holding state to operating state.
Network connection switching method of the present invention has: judge that make a plurality of networkings jockey of being connected on the local area network (LAN) come the network connection device of work as 1 virtual network connection device is operating state, the still monitoring step of holding state; The 1st network connection device that is holding state in aforesaid judgement is from receiving the step of advertisement information as the 2nd in running order network connection device of network connection device; Metering is for the step between the main countdown of judging aforementioned advertisement information and whether receiving from aforementioned the 2nd network connection device at the appointed time; When arriving between aforementioned main countdown, notice shifts from aforementioned the 1st network connection device step from operating state to aforementioned the 2nd network connection device; The priority comparison step that should compare as the precedence information of network connection device work and the precedence information of oneself expression in the aforementioned advertisement information that receives; Judge in the aforementioned priority comparison step when aforementioned oneself priority is high, the residual time of comparison of aforementioned master's count-down device and make aforementioned oneself priority high more and become the time lag time that the short more time calculates like that, the time lag time will be replaced as the step of time lag time more in short-term between aforesaid main countdown.
Thus, because the network connection device of starting holding state is the time lag time to the time of the processing of operating state transfer for growing up to most, thereby can shorten the used time of switching, make and carry out rapidly from the possibility that is switching to of holding state to operating state.
In addition, network connection switching method of the present invention further have detect and the switching performance of external network whether be setting or its above step and just in aforementioned detection about the switching performance of aforementioned the 1st network connection device when setting or its are above, just permit the step of aforementioned the 2nd network connection device being carried out aforementioned notice to the operating state transfer from aforementioned the 1st network connection device.
Thus, not be used between the network connection device transmitting-receiving mutually in order to monitor and outside internuncial specific message just can be just carried out hand-off process when the network connection device of holding state has with the good connectivity of external network.Therefore, become after just can guaranteeing to switch between the network connection device of operating state and the external network good connection is arranged.
In addition, it is not setting or its when above that network connection switching method of the present invention further has aforementioned switching performance in aforementioned the 2nd network connection device, the transfer request step that aforementioned the 2nd network connection device shifts to operating state aforementioned the 1st network connection device request.
Thus, not be used between the network connection device transmitting-receiving mutually in order to monitor and outside internuncial specific message just can be in running order network connection device and during the deterioration of the connectivity of external network, the network connection device of holding state can be clear and definite receives hand-off process.Therefore, just can with the network connection device in the work lose with being connected of external network before promptly switch to the network connection device of holding state.
In addition, network connection switching method of the present invention further has in the aforementioned priority comparison step in aforementioned the 1st network connection device, when aforementioned oneself priority is high, aforementioned oneself priority is temporarily set for the step of highest order, in the notifying process that operating state shifts, notify aforementioned oneself precedence information from the network connection device of aforementioned the 1st network connection device to aforementioned the 2nd network connection device and other holding state.
Thus, now in running order network connection device is owing to become the reception advertisement information higher than own priority, so can shorten from the starting time of operating state, make and promptly carry out in running order network connection device and be in the possibility that is switching between the network connection device of holding state to the holding state transfer processing.
In addition, network connection switching method of the present invention is in aforementioned transfer request step, and aforementioned the 2nd network connection device is notified as lowest order with the priority of oneself.
Thus, because now the network connection device that the network connection device in the standby can the judgment task state is lower than the priority of oneself, therefore can send in the time from the network connection device of holding state handoff request in the longest time lag, make and promptly carry out network connection device and be switching to possibility to the network connection device of operating state.
In addition, network connection switching method of the present invention aforementioned the 1st network connection device from holding state after operating state shifts, own priority reverted to is set at highest order value before.
Thus, because the network connection device that shifts to operating state from holding state reverts to original priority, therefore when occurring, the high network connection device of other priority just can switch to that network connection device.
In addition, network connection switching method of the present invention further has at aforementioned the 1st network connection device when aforementioned the 2nd network connection device receives the request of aforementioned transfer, will be replaced into the step of aforementioned time lag time between aforementioned main countdown.
Thus, the network connection device of holding state is when the network connection device of operating state is requested to start hand-off process, can mediate such time with the network connection device in other the standby owing to set, make transfer become possibility to the network connection device of the highest holding state of priority.
According to aforesaid invention, the network connection device of association and method for connecting network according to the present invention, because in running order network connection device breaks down, perhaps new access network jockey or worsen as the network connection device of the network connection device work in the operating state and the switching performance of external network, when the network connection device of the holding state higher than used network connection device priority exists, network load can be do not increased, big like this effect can be switched rapidly.
Description of drawings
Fig. 1 relates to the structure chart of the network system of example 1 of the present invention;
Fig. 2 is the piece figure of structure that expression relates to the network connection device of example 1 of the present invention;
Fig. 3 is the precedence diagram that expression relates to the network connection switching method of example 1 of the present invention;
Fig. 4 is that expression relates to the flow chart in the initial phase of network connection switching method of example 1 of the present invention;
Fig. 5 is the flow chart of expression when relating to the backup phase of network connection switching method of example 1 of the present invention;
Fig. 6 is that expression relates to the flow chart in main stage of network connection switching method of example 1 of the present invention;
Fig. 7 is the construction module figure that expression relates to the network connection device of example 2 of the present invention;
Fig. 8 is that expression relates to the flow chart in the initial phase of network connection switching method of example 2 of the present invention;
Fig. 9 is that expression relates to the flow chart in the backup phase of network connection switching method of example 2 of the present invention;
Figure 10 is the module map of structure that expression relates to the network connection device of example 3 of the present invention;
Figure 11 (a) is the precedence diagram that expression relates to the network connection switching method of example 3 of the present invention (b);
Figure 12 is that expression relates to a part of flow chart in main stage of network connection switching method of example 3 of the present invention;
Figure 13 is that expression relates to a part of flow chart in main stage of network connection switching method of example 3 of the present invention;
Figure 14 is the precedence diagram that expression relates to the network connection switching method of example 1 of the present invention;
Figure 15 (a) is the precedence diagram that expression relates to the network connection switching method of example 4 of the present invention (b);
Figure 16 is that expression relates to the flow chart in the backup phase of network connection switching method of example 4 of the present invention;
Figure 17 is that expression relates to a part of flow chart in main stage of network connection switching method of example 4 of the present invention;
Figure 18 is that expression relates to a part of flow chart in main stage of network connection switching method of example 4 of the present invention;
Figure 19 is the precedence diagram that expression relates to the network connection switching method of example 5 of the present invention;
Figure 20 is that expression relates to a part of flow chart in the backup phase of network connection switching method of example 5 of the present invention;
Figure 21 is that expression relates to a part of flow chart in the backup phase of network connection switching method of example 5 of the present invention;
Figure 22 is that expression relates to a part of flow chart in main stage of network connection switching method of example 5 of the present invention;
Figure 23 is that expression relates to a part of flow chart in main stage of network connection switching method of example 5 of the present invention;
Figure 24 is the structure chart of the network system in the existing example of expression;
Figure 25 (a) is the precedence diagram of the network connection switching method in the existing example of expression (b);
Figure 26 is the figure of the advertisement information form in the existing example of expression.
Embodiment
Below, for example of the present invention, describe with reference to accompanying drawing.
(example 1)
Fig. 1~Fig. 6 is the form of an enforcement of expression network connection device of association of the present invention and network system.In the following description, be called active router as the network connection device of router work, the network connection device that is in holding state is called backup router.
Fig. 1 is that the main frame 103 on the expression LAN is connected with network 104,105 respectively by active router 101, backup router 102, then the figure of an example of the system that is connected with wide area network 107.Here, network 1, networking 2 can be in identical subnets, also can be in different subnets.In addition, the characteristic of the physical layer of network 104, network 105 can be respectively different, even backup router 102 also can have a plurality of.
Fig. 2 is made of L3 handling part 208, outside L1/L2 handling part 209 and inner L1/L2 handling part 210 for the module map of expression network connection device of the present invention.
Outside L1/L2 handling part, inner L1/L2 handling part 209,210 carry out the processing of physical layer and articulamentum, respectively with external network and internal network physical connection.Outside L1/L2 handling part 209 and inner L1/L2 handling part 210 for example are exemplified as WLAN, HIPERLAN, Bluetooth, UWB, IrDA, ADSL, PDC, GSM, IMT2000, IEEE1394, the USB etc. of IEEE802.3, IEEE802.11 (A, B, E, G) defined.
L3 handling part 208 is made of with the router hand-off process portion 201 that carries out the hand-off process of active router 101 and backup router 102 the main handling part 207 of the L3 that grouping sends and reception is handled that carries out on the network layer.The main handling part of L3 transmits advertisement informations to router hand-off process portion 201 when L1/L2 handling part 210 receives advertisement information internally.In addition, when router hand-off process portion 201 receives advertising message, carry out the processing of transmitting advertisement informations to inner L1/L2 handling part 210.In addition, in Fig. 2, do not record and narrate, but in network connection device 208 of the present invention, the upper layer handling part that the processing of the so-called upper layer that carries out transport layer, session layer, presentation layer and application layer also can be arranged, and between the L3 handling part 208, carry out the reception and the transmission of information at this moment.
Router hand-off process portion 201 is made of Message Processing portion 202, priority comparing section 203, Stateful Inspection portion 211 and timer portion 206, and timer portion 206 is made of advertisement timer 204, main count-down device 205 and main count-down device comparing section 212.In router hand-off process portion 201, has the function that appointment is changed the mode of priority of router according to priority slicing and do not switched the non-mode of priority of router according to priority.Under the non-mode of priority, owing to do not lead-back up the switching of relation beyond the shutdown event, so below, describe with regard to mode of priority.
Message Processing portion 202 become active router 101 router generation, the transmission and receiving of the advertisement information that regularly sends handle.When Message Processing portion 202 receives advertisement information from the main handling part 207 of L3, extract the precedence information of depositing in the precedence field 53 of advertisement information, pass to priority comparing section 203.Under situation, after the generation indication of priority comparing section 203 reception advertisement informations, monitor main count-down device 205 as backup router.Then, after main count-down device 205 timing are finished, generate advertisement information and pass to the main handling part 207 of L3.Message Processing portion 202 also will establish the time spot at interval to advertisement timer 204 and starting.In addition, under the situation as active router, monitoring of advertisement timer 204 after 204 timing of advertisement timer are finished, generates advertisement information, passes to the main handling part 207 of L3.
The precedence information of storage oneself in priority comparing section 203, when any one timing of advertisement timer 204 or main count-down device 205 is finished, when the priority of the notice packet that perhaps receives is minimum [0], the precedence information of oneself is passed to Message Processing portion 202, and indication generates advertisement information.
In addition, after priority comparing section 203 receives precedence information by Message Processing portion 202, compare with oneself priority.When the priority of oneself is high, when 202 indications of Message Processing portion generate advertisement information, to the renewal of the main count-down device 205 of timing portion 206 indications.
Record and to manage self be in running order or be in holding state or be in init state as backup router as active router now in Stateful Inspection portion 211.These states are by deciding with reference to the advertisement information that receives from Message Processing portion 202 or priority comparing section 203 or timer portion 206.
When taking place for electricity or shutdown event, the record expression is the sign of initial phase in Stateful Inspection portion 211.With reference to priority comparing section 203, if the priority of oneself is highest order, then immediate record represents it is the sign of main stage condition in init state in Stateful Inspection portion 211.If not highest order, then the record expression is the sign of backup phase state.
In addition, when 205 timing of backup phase master count-down device were finished, the record expression was the sign of main stage condition.In addition, Stateful Inspection portion 211 by Message Processing portion 202 expression when other router receives the advertisement information of the expression priority higher than own priority, it is the sign of backup phase that record is represented.
In timer portion 206, has the main count-down device 205 that oneself starts during for backup router and to the residual time of main count-down device and the main count-down device comparing section 212 that compares corresponding to oneself time started (hereinafter referred to as [time lag time]) till hand-off process of priority for the advertisement timer 204 of active router 101 time starting and oneself.This time lag time calculates according to formula 1.
Hand-off process time started=(256-priority)/256 (1)
In the formula, the value of priority is 0 to 255.
Advertisement timer 204 is in order to set advertisement blanking time, regularly to send advertisement information and be used after sending advertisement informations in Message Processing portion 202.
Main count-down device 205 is in order to monitor whether at work timer of active router, when having received than the high advertisement information of oneself priority by priority comparing section notice, main count-down device is updated to the value of main countdown interbody spacer, begins the timing of main count-down device.
Here, main countdown interbody spacer carries out iteration according to formula 2 corresponding to priority, from the high router of priority main count-down device can timing be over and sets like that.For example, can set the time spot be spaced apart 1 second, N is 3, the time lag time is (256-priority)/256 seconds.
Main countdown interbody spacer=time spot interval * N+ time lag time (2)
Be judged as oneself priority when high in main count-down device comparing section 212, residual time by 212 pairs of main count-down devices of main count-down device comparing section and compare corresponding to self time lag time of priority, will a time short side's time set is given main count-down device.When being used as the purposes that monitors advertisement information from active router, this main count-down device 205 is equivalent to message age portion, when the time lag time has been set in conduct, when the purposes that turns to the time the operating state was used, main count-down device 205 was equivalent to the main timer portion that shifts from holding state in metering.
Below, describe with regard to the change action in stage (main stage or backup phase) of active router 101 and backup router 102.
When Fig. 3 and Figure 14 exist for the expression backup router higher than the priority of the router that becomes active router 101, the figure of role's transfer sequence of active router 101 and backup router 102.
In Fig. 3, active router 101 sends advertisement information 1301 (step S301) to backup router 102 termly.When the precedence information of backup router 102 in notification message for a certain reason hangs down than own priority, the time that the residual time of time lag time and main count-down device is short-and-medium establishes to main count-down device 205 (1303), turn to the main stage (step S302) through (1304) after this time, send advertisement information 1302 (step S303) to comprising the router multiple spot of present active router 101 at interior other.Thus, the priority high backup router that timing has at first been finished sends this advertisement information, and the backup router 102 that priority is the highest has just switched to active router.Other backup router receives this advertisement information before timing is over, oneself just no longer carry out the transmission of advertisement information in this case.Like this, just having carried out backup router mediation each other handles.
On the other hand, present active router 101 turns to backup phase (step S304) by receiving advertisement information 1302 from the router higher than the priority of oneself, becomes backup router.After the hand-off process, backup router 102 sends advertisement information 1302 (step S305) termly as active router.
In this hand-off process, each router turns to initial phase, main stage, these 3 states of backup phase to determine each effect.Utilize Fig. 4~Fig. 6 to describe about this flow process.
Fig. 4 represents after the energising just or the flow process of the initial phase that shifts under the situation of energising immediately after the shutdown event generation, describes below.Here, so-called shutdown event is meant the reset processing to router self, for example, when net or extranets disconnect internally, during power down, generations such as certain moment or the user also can set.
Router shifts when initial phase, priority comparing section 203 judges whether the priority of oneself is highest order (step S401), during for highest order, notification message handling part 202, in the precedence field of advertisement information shown in Figure 26, set the priority of self, carry out the processing that sends the processing of advertisement information and send neighbor advertisement message to contiguous main frame to other router.So-called neighbor advertisement message is meant an information in the proximity search agreement in IP network, comprises virtual router ip address, virtual router MAC Address.
In addition, priority comparing section 203 is set advertisement timer 204 (step S402) to timer portion 206 at interval with the time spot.Afterwards, router shifted to the main stage.Here, though can freely set time spot value at interval, standard value was for example got 1 second.
On the other hand, at step S401, priority comparing section 203 is judged when the priority of oneself is not highest order, and main countdown interbody spacer is established to main count-down device 205, shifts to backup phase.
Fig. 5 represents an example of the flow process of backup phase, describes below.
At first, Stateful Inspection portion 211 monitors shutdown event (step S501), when aforementioned incident takes place, stops the timing (step S502) of main count-down device 205 immediately, and router shifts to initial phase.
Whether timing be over (step S503) of timer is judged by Stateful Inspection portion 211 in the timing of main count-down device 205.When main count-down device 205 timing were over, notification message handling part 202 carried out the transmission of advertisement information and the transmission of neighbor advertisement message and handles.In addition, Stateful Inspection portion 211 also carries out the starting of advertisement timer 204 and is set at time spot processing (step S504) at interval.Afterwards, router shifted to the main stage.
In step S503, after before main count-down device 205 timing are finished, receiving advertisement information (step S505) from active router 101, judge whether the priority in the message is lowest order (step S506), during for lowest order, Stateful Inspection portion 211 is set at the time lag time (step S507) with main count-down device 205, returns step S501.
When the priority in the advertisement information is not lowest order, carry out and own priority ratio than (step S508).The priority of the advertisement information that receives oneself priority or its when above, main count-down device 205 is set at main countdown interbody spacer (step S509) again, return step S501.On the other hand, when the advertisement information that the priority ratio of oneself receives is high, whether the residual time of judging main count-down device 205 is than time lag time big (step S510), when the residual time of main count-down device 205 is big, main count-down device 205 is set at the time lag time (step S511), returns step S501.The residual time of main count-down device 205 is just directly returned step S501 in the time lag time and when following.
In addition, in the later flow process of step S505, also can obtain same effect like that according to following.
After promptly, judgement receives advertisement information, priority in the advertisement information that receives is the high and residual time main count-down device 205 of lowest order or the priority of oneself when bigger than the time lag time, and main count-down device 205 is set at the time lag time and returns step S501.When aforementioned condition does not satisfy, main count-down device 205 is set at main countdown interbody spacer and returns step S501.
In addition, in step S505, when not detecting the reception of advertisement information, return any one step of step S501 or step S503.In addition, the order transposing with step S501, S503, S505 also can obtain same action.
Fig. 6 represents an example of the flow process in main stage, describes below.
At first; Stateful Inspection portion 211 monitors shutdown event (step S601); when aforementioned incident takes place; stop the timing (step S602) of advertisement timer 204 immediately; notification message handling part 202; information treatment part 202 transmission priority are the advertisement information (step S603) of lowest order then, and router shifts to initial phase.
On the other hand, when shutdown event did not take place, Stateful Inspection portion 211 judged whether 204 timing of advertisement timer have finished (step S604).When 204 timing of advertisement timer had been finished, Stateful Inspection portion 211 notification message handling parts 202 carried out the transmission of advertisement information and handle.In addition, Stateful Inspection portion 211 also carries out the advertisement timer is set at time spot processing (step S605) at interval again.Afterwards, return step S601.
When backup router receives advertisement information (step S606), priority comparing section 203 judges whether the priority in the message is lowest order (step S607) to advertisement timer 204 before timing is over.During for lowest order, priority comparing section 203 notification message handling parts 202, the transmission of carrying out advertisement information is handled, advertisement timer 204 is set at time spot processing (step S608) at interval again.Afterwards, return step S601.
When the priority of advertisement information is not lowest order, priority comparing section 203 judges that aforementioned priority is whether than oneself priority height, whether identical with oneself priority the perhaps and IP address of router that sends advertisement information than own IP address (step S609) greatly, when consistent, stop the timing (step S610) of advertisement timer 204 with Rule of judgment.Then, priority comparing section 203 is set at main countdown interbody spacer with main count-down device 205, shifts to backup phase.In addition, the processing when priority is identical is not limited thereto, also can be according to other the method decision flow process of reserving in advance.
On the other hand and the Rule of judgment of step S609 when inconsistent, priority comparing section 203 notification message handling parts 202, the advertisement information discarded (step S612) with receiving returns step S601.
In addition, the order transposing with step S607, step S609, step S601, S604, S606 also can obtain same operation.
In the form of this enforcement as above, when the priority of the priority ratio advertisement information of backup phase oneself is high, by residual time that main count-down device is set at again main count-down device and the time lag time ratio that carries out a priority iteration side short than the back time, the backup router that priority is high can promptly switch to active router.
(example 2)
Fig. 7 is the module map of expression network connection device of the present invention, and additional have link monitoring portion 701 these points different with example 1.
This link monitoring portion 701 is from receiving link information for the outside L1/L2 handling part 209 that connects external network.Here, so-called link information is meant to comprise and receives electrolysis strength, BER, FER, sends any one of frequency, the modulation system that sends signal, transmission bandwidth, transmission capacity etc. or a plurality of information again.Then, link monitoring portion 701 is according to these information, for example, external network is during based on the Wireless LAN system of IEEE802.11, reception electrolysis strength according to the beacon signal that regularly sends from accessing points, monitor communication passage in perhaps during certain according to the transmission bandwidth result that the calculation of total from the grouping of passage transmission goes out, can be judged the quality of this connection.
The quality that connects is judged when setting or its are above by link monitoring portion 701 according to the information that receives from outside L1/L2 handling part 209, transmit to Message Processing portion and carry out the permission of active router-backup router hand-off process.When Message Processing portion 202 receives this permission, can carry out the processing of record in the example 1.
Fig. 8 is the flow chart of the flow process of expression initial phase.
After router entered initial phase, link monitoring portion 701 judged that whether the quality that connects is at setting or more than it (step S801).It is good to be judged as switching performance when setting or its are above, at this moment, carries out the processing of the step S401~S403 of example 1.Quality of connection returns the foremost of initial phase not when setting or its are above.
Fig. 9 is the flow chart of expression backup phase.
At step S901, whether link monitoring portion 701 is as above judged and the quality of connection of external network good (step S901) like that.When good, turn to step S503, when quality of connection is bad, turn to step S505, carry out the processing of explanation in the example 1 backward.
As above in this example, owing to utilized link quality information with the network of outside before the switching of leading-backing up, thereby can carry out just and will convert active router to the good router of external network quality of connection.
In addition, identical with example 1, it also is identical operations that the flow process of step S501, S901, S505 is changed.
(example 3)
Figure 10 is the module map of expression network connection device of the present invention, and it is different with example 2 to have added that connection worsens instruction unit 1005 this point.
This connection worsens instruction unit 1005 and worsens the setting of sign/reset corresponding to quality of connection.Promptly, Stateful Inspection portion 211 is with own during as active router, judges the result of quality of connection according to link monitoring portion 701, if quality is good, indication connects and worsens instruction unit 1005 and reset to connect and worsen sign, if the poor quality then sets to connect and worsens sign.
When Message Processing portion 202 detected the deterioration of connection according to the link information from link monitoring portion 701, sending priority level initializing to other router was the advertisement information of lowest order.
When Figure 11 (a) worsens for the quality of connection that is illustrated in active router 101, the figure of the role's transfer sequence between active router 101 and the backup router 102.
In Figure 11 (a), active router 101 sends advertisement information (step S1101) to backup router termly.When active router 101 worsens at the quality of connection with external network (step S1102), sending priority 53 to backup router is the advertisement information (step S1103) of lowest order.
Backup router 102 receives priority 53 for behind the advertisement information of lowest order, when oneself can become active router, becomes active router (step S1104) after the time through time lag, sends advertisement information (step S1105).
Once for the router of active router 101 receives this advertisement information, switched to backup router (step S1106).
The router that becomes active router sends advertisement information (step S1107) termly after finishing switching.
In addition, shown in Figure 11 (b), when active router 101 transmission priority level initializings are the advertisement information of lowest order, when this backup router of replying is not had, continue to send this advertisement information (step S1103).Then, the quality of connection of active router sends the advertisement information (step S1111) that priority reverts to original priority after recovering (step S1110) once more.
In the hand-off process of active router-backup router, each router turns to initial phase, main stage, these 3 states of backup phase to determine each effect respectively.Utilize Figure 12~Figure 13 to describe about this flow process.In addition, identical about initial phase, backup phase with example 2.
Figure 12 and Figure 13 are the figure of an example of the flow process in main stage of expression.Added and monitored that the processing this point of quality of connection is different with example 1." A " of Figure 12 and " A " of Figure 13 link to each other, and " B " of Figure 13 and " B " of Figure 12 link to each other.
Link monitoring portion 701 monitors quality of connection (step S1201), when quality of connection worsens, judges whether worsen sign is set up (step S1202).Link monitoring portion 701 be not provided with when worsening sign, is judged as quality of connection and is from good state deteriorating, and indication connects and worsens instruction unit 1005 and be provided with and worsen sign (step S1203).In addition, link monitoring portion 701 stops the timing (step S1204) of advertisement timer 204, and notification message handling part 202 carries out the transmission processing (step S1206) that priority is set to the advertisement information of lowest order.Afterwards, return step S601.
In step S1202, when worsening sign and being set,, judge whether timing be over (step S604) of advertisement timer 204 in order to carry out the transmission of advertisement information.Processing that step S604 is later and example 1 are same.Just, in this case because quality of connection is low, the priority 53 of the advertisement information that sends at step S605 is the value of lowest order.
In step S1201, when quality of connection is good, judge whether worsen sign is set up (step S1207).Worsen and indicate when being set up that return to good state as quality of connection, indication connects deterioration instruction unit 1005 and removes deterioration sign (step S1208).Then, (step S1209) turned to step S604 after priority returned to general value.When the deterioration sign is not set up, turn to step S1209.
In addition, identical with example 1, the transposing of the flow process of step S601, S1201, S604, S606 also can be obtained same effect.
As above, in the form of this enforcement, in the hand-off process of leading-backing up, have only with the good backup router of the quality of connection of external network and just can carry out in order to become the processing of active router, in addition, even the quality of connection of active router worsens, when the possible backup router of switching does not exist, because in the same old way as active router work, quality of connection recovers back priority and also reverts to original priority, so the network connection device of good connection can preferentially become active router.In addition, can before being disconnected, connection set the next backup router that becomes active router.
(example 4)
Though the structure of the network connection device of this example is identical with example 3, generation and explanation function this point that Message Processing portion 202 further has handoff request information are different.
When Figure 15 (a) worsens for the quality of connection that is illustrated in active router 101, the figure of the role's transfer sequence between active router 101 and the backup router 102.
Active router 101 sends advertisement information (step S1401) to backup router termly.When active router 101 worsens at the quality of connection with the network of outside (step S1402), send handoff request message (step S1403) to backup router 102.After backup router 102 receives handoff request message, when oneself can become active router, become active router (step S1404) after the time difference, send advertisement information (step S1405) through time lag.
In addition, active router 101 receives behind the advertisement information of backup router 102, switches to the backup phase state.Thus, the hand-off process of active router-backup router finishes (step S1406).After hand-off process finished, backup router sent advertisement information (step S1407) termly as active router.
In addition, at this moment, shown in Figure 15 (b), do not receive under the state of advertisement information at active router 101 from backup router 102, when quality of connection recovers, priority is reverted to original priority (step S1410), send advertisement information (step S1411).
In the hand-off process of leading-backing up, each router turns to these 3 states of initial phase, main stage and backup phase to determine each effect respectively.Utilize Figure 16~Figure 18 to describe about this flow process.In addition, identical about initial phase with example 3.
Figure 16 is the figure of the flow process of expression backup phase.Monitor shutdown event, quality of connection, the reception of handoff request message, the reception of advertisement information in backup phase.
In the supervision of quality of connection was handled, well whether the quality of connection of judgement and external network (step S901).When good, turn to step S503, when quality of connection is bad, turn to the processing (step S1501) of judging handoff request message and whether receiving.When receiving handoff request information, main count-down device 205 is set at the time lag time (step S1502), returns step S501.
On the other hand, when not receiving handoff request information, receive the judgement (step S505) of advertisement information.After and in example 3 explanation same.
In addition, the handling process of step S501, S901, S1501, S505 being changed respectively also is same action.
Figure 17 and Figure 18 are the figure of an example of the flow process in main stage of expression.Basic flow process is identical with example 3, just when detecting for the first time the quality of connection deterioration, be provided with and worsen sign (step S1203), priority is made as lowest order (step S1505) after, send handoff request information (step S1601) this point difference to backup router." C " of Figure 17 and " C " of Figure 18 link to each other, and " D " of Figure 18 and " D " of Figure 17 link to each other.
Here, handoff request message is for resetting the value of the type field 1702 of advertisement information shown in Figure 26 identifier as handoff request message.In the form of this enforcement, for example this value is made as 3.
Backup router 102 is by receiving this information, and the quality of connection that detects active router 101 and external network worsens, and when quality of connection own and external network was good, starting was in order to become the processing of active router.
In the form of this enforcement as above, in the hand-off process of active router-backup router, when the quality of connection of active router 101 and external network worsens, to the handoff request message of backup router 102 transmissions in order to ask to switch.Thus and since backup router 102 clear and definite received the indication of switching, so the carrying out that can let slip no opportunity is from the switching of backup router 102 to active router.In addition, thus, the network connection device of good connection can preferentially become active router, even, also can before being disconnected, connection set the next backup router that becomes active router.
(example 5)
The structure of the network connection device of this example and example 3 are much at one; just; Message Processing portion 202; when being the state of backup router, further having multicast is different for the function of the shutdown message that makes active router 101 and shut down and the function this point of explanation shutdown message.
Figure 19 is the figure of role's transfer sequence of the active router-backup router when being illustrated in existence than the high backup router of the priority of active router 101.
In Figure 19, active router 101 sends advertisement information (step S1901) to backup router termly.
When the precedence information of backup router 102 in advertisement information hangs down than the priority of oneself, main count-down device is set at the time (step S1910) of the weak point in time lag time and the main count-down device residual time.Then, before this main count-down device timing is over not when other backup router receives shutdown message (step S1902), send shutdown message (step S1903) to active router 101 and other backup router multiple spot.This shutdown message identifier as shutdown message in the type field of advertisement information shown in Figure 26 resets, and for example is set at " 4 ".Afterwards, be highest order with priority level initializing, shift to initial phase (step S1904).Then, behind the advertisement information of 1 priority highest order of these backup router 102 transmissions (step S1905), shift, become new active router to the main stage.Afterwards, priority is reverted to original value (step S1906), send advertisement information (step S1907) termly.
On the other hand, shutdown event takes place in the active router 101 that receives shutdown message, shifts to initial phase (step S1908).Afterwards, after active router 101 received advertisement information, shifting became backup router (step S1909) to backup phase.
In the hand-off process of active router-backup router, each router turns to these 3 states of initial phase, main stage and backup phase to determine each effect respectively.Utilize Figure 20~Figure 23 to describe about this flow process.Identical about initial phase with example 3.
Figure 20 and Figure 21 are the figure of an example of the flow process of expression backup phase.It is different with example 3 having appended the judgement flow process of shutdown message reception and the transmission flow this point of shutdown message." E " of Figure 20 and " E " of Figure 21 link to each other, and " F " of Figure 21 and " F " of Figure 20 link to each other.
Shutdown event is not taking place in router, when receiving shutdown message (step S2001) and that shutdown event has taken place is same, stops the timing (step S502) of main count-down device 205, shifts to initial phase.
In addition, during for backup router 102, judge whether the priority of the advertisement information that receives is oneself priority or its above (step S508).The priority of advertisement information be oneself priority or its when above, after main count-down device is set at main countdown interbody spacer, return step S501.When not satisfying this condition, judge whether the residual time of main count-down device is more than the time lag time,, shift,, main count-down device is set at the time lag time (step S510) for more for a long time to step S2002 for more after a little while.
Then, judge whether (step S2002) finished in timing to main count-down device, when timing is not finished, judge whether to have received shutdown message from other backup router.If do not receive, return step S2002, if received, stop main timing of shutting down timer, turn to initial phase.
In step S2002, when main count-down device timing is finished, to active router and other backup router multicast shutdown message (step S2003).Afterwards, backup router is that highest order turns to initial phase with the priority level initializing of oneself.
By according to such flow process, the backup router 102 that sends shutdown message becomes active router immediately shifting behind initial phase.
In addition and the form of other enforcement same, the transposing of the flow process of step S501, S901, S505, S2001 also can be obtained same effect.
Figure 22 and Figure 23 are the figure of an example of the flow process in main stage of expression.The flow process this point that when having appended judgement flow process that shutdown message receives and master-backup hand-off process the priority of highest order is reverted to common priority is with example 3 different." G " of Figure 22 and " G " of Figure 23 link to each other, and " H " of Figure 23 and " H " of Figure 22 link to each other.
Shutdown event is not taking place in router, when receiving shutdown message (step S2101), stops the timing (step S2102) of advertisement timer 204, shifts to initial phase.
On the other hand, do not detect when having received shutdown message, judge whether that present priority is that highest order and preceding priority are not highest order (step S2103).When consistent, be original priority (step S2104) with priority level initializing with aforementioned Rule of judgment.
By according to this flow process, in the hand-off process of active router-backup router, newly become the priority transmission initial advertisement information of the network connection device of active router, but just send later on for the 2nd time with common priority with highest order.Thus, can continue master-backup hand-off process according to the priority of judging oneself.
In addition, identical with other example, the transposing of the flow process of step S601, S2101, S2103, S1201, S604, S606 also can be obtained same effect.
Router detects the starting of the hand-off process of active router-backup router by receiving shutdown message, shifts to initial phase.
In aforesaid example; in the hand-off process of active router-backup router; send shutdown message, the hand-off process that can start active router-backup router to active router by backup router multiple spot when the priority of the priority ratio oneself of active router is hanged down.
This example is recorded and narrated as basic structure with example 3, but is not limited to this, also can be with example 1,2 or 4 as basic structure.For example, during as basic structure, backup router sends shutdown message by multiple spot and also can obtain identical effect when receiving handoff request message with example 4.
The present invention is useful to the network connection device in the virtual router system of mobile IP network, is applicable to the switching of carrying out active router-backup router rapidly.

Claims (15)

1. network connection device that makes a plurality of network connection devices of being connected to local area network (LAN) as 1 virtual network connection device work is characterized in that:
Have the Stateful Inspection portion of management as the network connection device operating state; When carrying out work, represent the Message Processing portion that the transmitting-receiving of the advertisement information of this operating state is handled as network connection device; Obtain the precedence information that expression should be carried out the priority of work as network connection device from the aforementioned advertisement information that receives, with the precedence information priority comparing section relatively of oneself; Metering is from main the shift timer portion of holding state to the time point that shifts as the operating state of network connection device;
Be judged as when not being operating state in the aforesaid state monitoring unit, the high moment of precedence information in aforementioned priority comparing section is judged the aforementioned advertisement information that the priority ratio of oneself receives, comparison of aforementioned master shifts the residual time of timer portion and the time lag time that calculates based on aforementioned oneself priority, when the aforementioned time lag time in short-term, set the aforementioned time lag time in the aforementioned main timer portion that shifts.
2. a network connection device that makes a plurality of network connection devices of being connected on the local area network (LAN) as 1 virtual network connection device work is characterized in that: have the Stateful Inspection portion of management as the network connection device operating state; When working, represent the Message Processing portion that the transmitting-receiving of the advertisement information of this operating state is handled as network connection device; Metering sends the advertisement timer of the time point of aforementioned advertisement information termly; Metering is in order to judge the message age device portion that whether receives the time of aforementioned advertisement information from the network connection device as network connection device work at the appointed time; Obtaining expression from the aforementioned advertisement information that receives should be as the precedence information of the priority of network connection device work, with the precedence information priority comparing section relatively of oneself; Metering is from main the shift timer portion of holding state to the time point that shifts as the operating state of network connection device;
When judging that the aforesaid state monitoring unit is not operating state, when the precedence information in the aforementioned advertisement information that the priority ratio of aforementioned priority comparing section judgement oneself receives is high, the residual time of comparison of aforementioned message age device portion and the time lag time that calculates based on oneself priority, when the aforementioned time lag time in short-term, the aforementioned time lag time is established to the aforementioned main timer portion that shifts, aforementioned main when shifting the timing of timer portion and finishing, aforesaid state monitoring unit indication aforementioned messages handling part sends the advertisement information that request is shifted to holding state from operating state to the network connection device as network connection device work.
3. network connection device as claimed in claim 1 or 2 is characterized in that:
The link monitoring portion that further has the switching performance of evaluation and external network, the aforementioned main timer portion that shifts is when timing is over, switching performance is judged when setting or its are above by aforementioned link monitoring portion, and the aforesaid state monitoring unit is to the transmission of the advertisement information of asking as the network connection device of network connection device work to shift to holding state from operating state.
4. network connection device as claimed in claim 1 or 2 is characterized in that:
The link monitoring portion that further has the switching performance of evaluation and external network, the aforesaid state monitoring unit is judged as network connection device at work and aforementioned link monitoring portion when judging that switching performance is lower than setting, aforesaid state monitoring unit indication aforementioned messages handling part sends the advertisement information of expression as the operating state of network connection device to the network connection device on the same local network.
5. network connection device as claimed in claim 1 or 2 is characterized in that:
The link monitoring portion that further has the switching performance of evaluation and external network, judge at work and aforementioned link monitoring portion when judging that switching performance is lower than setting in the aforesaid state monitoring unit as network connection device, aforesaid state monitoring unit indication aforementioned messages handling part sends the advertisement information that request is shifted to operating state from holding state to the network connection device on the same local network.
6. as network connection device as described in the claim 2, it is characterized in that:
The request that the aforesaid state monitoring unit shifts to holding state from operating state is to be the aforementioned advertisement information of highest order with own priority level initializing, and to the priority level initializing time lag time of aforementioned main transfer timer portion based on aforementioned setting.
7. as network connection device as described in the claim 4, it is characterized in that:
The aforesaid state monitoring unit is judged when judging that as network connection device work and aforementioned link monitoring portion switching performance is lower than setting, is represented that the advertisement information of aforementioned operating state is a lowest order with priority level initializing.
8. network connection switching method is characterized in that having:
Judge that a plurality of network connection devices be connected on the local area network (LAN) are in running order, or the Stateful Inspection steps of holding state as 1 virtual network connection device;
The 1st network connection device that is holding state in aforesaid judgement is from receiving the step of advertisement information as the 2nd in running order network connection device of network connection device;
As the network connection device work in the aforementioned advertisement information that receives the precedence information of priority and the priority comparison step that the precedence information of oneself compares should be arranged to expression;
In aforementioned priority comparison step, judge when aforementioned oneself priority is high, be used to relatively to judge that aforementioned advertisement information is whether from the residual time of the main count-down device portion that aforementioned the 2nd network connection device receives and time lag time of calculating based on aforementioned oneself priority in official hour, when the aforementioned time lag time in short-term, set the aforementioned time lag time in aforementioned main count-down device portion.
9. network connection switching method is characterized in that having:
Judge that a plurality of network connection devices that are connected on the local area network (LAN) are in running order or the Stateful Inspection step of holding state as 1 virtual network connection device;
The 1st network connection device that is holding state in aforesaid judgement is from receiving the step of advertisement information as the 2nd in running order network connection device of network connection device;
Metering receives step between the main countdown of aforementioned advertisement information in order whether to judge in the stipulated time from aforementioned the 2nd network connection device:
When timing is finished between aforementioned main countdown, notice shifts from aforementioned the 1st network connection device step from operating state to aforementioned the 2nd network connection device;
As the network connection device in the aforementioned advertisement information that receives the precedence information of priority and the priority comparison step that the precedence information of oneself compares should be arranged to expression;
In aforementioned priority comparison step, judge when aforementioned oneself priority is high, residual time between aforementioned main countdown and time lag time are compared, the described time lag time is by making aforementioned oneself priority high more and short more mode of time is calculated, the time lag time will be replaced into the step of aforementioned time lag time in short-term between aforementioned main countdown.
10. as network connection switching method as described in the claim 9, it is characterized in that further having:
Whether the switching performance of detection and external network is in setting or the step more than it;
Only switching performance is setting or its when above in the aforementioned detection of aforementioned the 1st network connection device, just the step that the aforementioned aforementioned notice that shifts to operating state is permitted.
11., it is characterized in that further having as network connection switching method as described in the claim 10:
At the aforementioned switching performance of aforementioned the 2nd network connection device is not setting or its when above, the transfer request step that aforementioned the 2nd network connection device shifts to operating state aforementioned the 1st network connection device request.
12., it is characterized in that as network connection switching method as described in claim 9 or 10:
Further have in the aforementioned priority comparison step of aforementioned the 1st network connection device, when aforementioned oneself priority is high, aforementioned oneself priority temporarily is set at the step of highest order;
In the step that operating state shifts, notify aforementioned oneself precedence information to aforementioned the 2nd network connection device and other the network connection device that is in holding state in notice from aforementioned the 1st network connection device.
13., it is characterized in that as network connection switching method as described in the claim 11:
In aforementioned transfer request step, the priority of aforementioned the 2nd network connection device notice oneself is lowest order.
14., it is characterized in that as network connection switching method as described in the claim 12:
After aforementioned the 1st network connection device is transferred to operating state from holding state, oneself priority is returned to the value that is set at before the highest order.
15., it is characterized in that further having as network connection switching method as described in the claim 11:
Aforementioned the 1st network connection device will be replaced into the step of aforementioned time lag time receive the transfer request moment that aforementioned operating state shifts from aforementioned the 2nd network connection device between aforementioned main countdown.
CNB2004800009161A 2003-02-14 2004-02-16 Network connection apparatus and network connection switching method Expired - Fee Related CN100428735C (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
JP2003036441 2003-02-14
JP036441/2003 2003-02-14
JP034694/2004 2004-02-12

Publications (2)

Publication Number Publication Date
CN1701575A CN1701575A (en) 2005-11-23
CN100428735C true CN100428735C (en) 2008-10-22

Family

ID=35476803

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004800009161A Expired - Fee Related CN100428735C (en) 2003-02-14 2004-02-16 Network connection apparatus and network connection switching method

Country Status (1)

Country Link
CN (1) CN100428735C (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264233A (en) * 1994-03-24 1995-10-13 Hitachi Ltd Route high speed changeover method and router
US5473599A (en) * 1994-04-22 1995-12-05 Cisco Systems, Incorporated Standby router protocol
CN1466322A (en) * 2002-06-23 2004-01-07 ��Ϊ�������޹�˾ Method for realfizing router interface backup utilizing virtual router redundancy procotol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH07264233A (en) * 1994-03-24 1995-10-13 Hitachi Ltd Route high speed changeover method and router
US5473599A (en) * 1994-04-22 1995-12-05 Cisco Systems, Incorporated Standby router protocol
CN1466322A (en) * 2002-06-23 2004-01-07 ��Ϊ�������޹�˾ Method for realfizing router interface backup utilizing virtual router redundancy procotol

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
Virtual Router Redundancy Protocol. R.Hinden,et,al.. 2002
Virtual Router Redundancy Protocol. R.Hinden,et,al.. 2002 *

Also Published As

Publication number Publication date
CN1701575A (en) 2005-11-23

Similar Documents

Publication Publication Date Title
EP1594265A1 (en) Network connection apparatus and network connection switching method
TW201014396A (en) Network utilities in wireless mesh communications networks
EP0324277B1 (en) Distributed load sharing
EP2911348A1 (en) Control device discovery in networks having separate control and forwarding devices
US8804486B2 (en) Base stations routing traffic over a packet backhaul network to multiple routing elements
US20090080333A1 (en) Method and device for providing an alternative backhaul portal in a mesh network
EP2501083A1 (en) Relay node, distributed network of relay node and networking method thereof
CN100539518C (en) Overlay network fault detect and restoration methods based on quick switching
CN104620637B (en) Method and system for the mobile management in label exchange network
WO2014090083A1 (en) Service bearing method and apparatus during distributed resilient network interconnect
JP2016519911A (en) Computer-implemented method, computer program product and computer
CN106550348A (en) A kind of method for realizing in the wireless local area network roaming, WAP and server
CN103560962A (en) Method for automatically updating host routing table entries of Ethernet switch and switch
EP1441477A2 (en) Communication system
CN107172653A (en) A kind of method, control system and system for connecting many wireless access points
WO2002006918A2 (en) A method, system, and product for preventing data loss and forwarding loops when conducting a scheduled change to the topology of a link-state routing protocol network
CN101141376A (en) Method to establish TE path, path computation equipment and system
CN104580002B (en) The big balanced retransmission method of current load and device
KR20120134466A (en) Mesh network node and data transferring method thereof
CN101867920A (en) Grading type wireless sensor networking method
EP1222724B1 (en) Method and apparatus for failure detection in a communications network
CN100428735C (en) Network connection apparatus and network connection switching method
CN101667927B (en) Method and device for rapidly restoring service
CN109039889A (en) A kind of message forwarding method and device
CN103702370A (en) ZigBee mesh topology route method

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20081022

Termination date: 20130216