CN108234219A - It is a kind of to realize that three links automatically switch the method for online in router gateway - Google Patents

It is a kind of to realize that three links automatically switch the method for online in router gateway Download PDF

Info

Publication number
CN108234219A
CN108234219A CN201810081000.7A CN201810081000A CN108234219A CN 108234219 A CN108234219 A CN 108234219A CN 201810081000 A CN201810081000 A CN 201810081000A CN 108234219 A CN108234219 A CN 108234219A
Authority
CN
China
Prior art keywords
link
links
router
recovery
online
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810081000.7A
Other languages
Chinese (zh)
Inventor
唐仕斌
彭府
钟兆福
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
Original Assignee
XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY 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 XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD filed Critical XIAMEN FOUR-FAITH COMMUNICATION TECHNOLOGY CO LTD
Priority to CN201810081000.7A priority Critical patent/CN108234219A/en
Publication of CN108234219A publication Critical patent/CN108234219A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/24Multipath
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery

Abstract

Three links automatically switch networking and are characterized in that only walk a link, other links are standby states, do not walk amount.The presence of link is detected by timing, when a link currently in use is obstructed, takes certain strategy, the functions such as routing table fire wall are automatically switched into other chains roads.The time spent in due to handoff links, is very short, and router is in all kinds of long-term unattended commercial Application environment or can steady operation under various severe natural climate environment.This method can not only undertake business transmission and can share network flow under certain conditions, ensure the patency of network, realize the continual data communication of user.

Description

It is a kind of to realize that three links automatically switch the method for online in router gateway
Technical field
The present invention relates to realizing that a variety of links automatically switch the method for online in router gateway, specifically and linux Procotol, driving exploitation and application and development under operating system is related.
Background technology
With popularizing for personal mobile phone, computer and industrial aspect communication equipment, demand of the people to network is more and more, Requirement to the stability of network simultaneously is also increasingly stringenter, and router will not only adapt to all kinds of long-term unattended commercial Applications Environment, will also under various severe natural climate environment can steady operation, therefore router gateway is in terms of software and hardware Upgrading should be constantly updated, towards it is more intelligent, can realize intelligent management develop.In this case, in original router On the basis of existing function, a kind of method for realizing the automatic switchover online of three links in router gateway is realized.
Invention content
The technical problems to be solved by the invention are to provide realizes that a variety of links automatically switch online in router gateway Method is realized based on the function that network stabilization is kept under various complex environments.
To reach goal of the invention, the present invention uses the operating mode of two kinds of link switchings.Operating mode one opens three chains Road is online simultaneously.It is online simultaneously to be not turned on three links for operating mode two.Router is logged in using webpage, it can be to both Operating mode is configured.Under each operating mode option and installment can be carried out to the network access of three kinds of links again.The present invention All configuration datas are all stored in router gateway, the reading that router can be easily and fast after re-powering these match It puts, is reconfigured without login page.
Description of the drawings
Attached drawing described herein is used to provide further understanding of the present invention, and forms the part of the present invention, this hair Bright illustrative embodiments and their description do not constitute improper limitations of the present invention for explaining the present invention.Fig. 1 is the present invention The flow diagram of method.
Specific embodiment
It is wired that three links include 1. WAN(The automatic acquisition modes of static IP/DHCP), 2. 3G/4G link 1,3. 3G/4G link 2。
It is online simultaneously to open three links for operating mode one.Implementation method is as follows:
After router powers on booting, default route is communicated using 1. link, i.e., all data all by 1. link, while also open With two other link, only two other link is in standby states.Each link is ensured after can networking, and is enabled The address of on-line checking, at regular intervals some server of ping(The server does not forbid the test of ping functions), use After this method detects that link disconnects, chain is switched over according to certain Policy Updates routing table and relevant fire wall Road, specific switching law are as described below:
1. after if 1. link disconnects, router automatically switches to 2. link;1. if link-recovery, 1. router automatically switches back into Link;
2. if 1. link does not restore, after 2. link disconnects, router automatically switches to 3. link;1. if link-recovery, Router automatically switches back into 1. link;
If 3. 1. link not restore and 2. link-recovery, router automatically switch back into 2. link;If 1. link, 2. link are all Do not restore, be switched to 3. link;
4. if three links all disconnect, router can attempt connection 1. link, 2. link, 3. link successively, and so cycle connects It connects, until there is a link-recovery to establish connection.This method is advantageous in that, once detect that link currently in use occurs After failure, the chain road of standby states can be quickly switched into.
Operating mode two, be not turned on three links simultaneously it is online, implementation method is as follows:
After router powers on booting, default route all passes through 1. link, two other using 1. link, i.e., the communication of all data Link remains static.1. link is ensured after can networking, on-line checking is enabled, at regular intervals some service of ping The address of device(The server does not forbid the test of ping functions), after detecting that link disconnects in this way, closing should The on-line checking function of link starts to carry out initial work to another link(Such as to wireless module send AT instruct into One sequence of row is configured)Start another link.Another link is according to certain Policy Updates routing table and relevant fire prevention Wall switches over link, so recycles.Specific switching law is as described below:
1. after 1. link disconnects, router automatically switches to 2. link;
2. after 2. link disconnects, router automatically switches to 3. link(No matter at this time 1. link either with or without recovery);
3. after 3. link disconnects, router automatically switches to 1. link;If 1. link does not have recovery and 2. link-recovery also at this time , then it is to automatically switch to 2. link.
The mode whether detection link disconnects has so several:
1. by sending icmp packet(Use ping or tracerouter);
2. it is detected by sending TCP half-open connections to the timing of some port;
3. in the case of for wireless networking, can also signal strength be judged by timing, trigger handover mechanism.
The preferred embodiment of the present invention has shown and described in above description, as previously described, it should be understood that the present invention is not office Be limited to form disclosed herein, be not to be taken as the exclusion to other embodiment, and available for various other combinations, modification and Environment, and can be changed in the scope of the invention is set forth herein by the above teachings or related fields of technology or knowledge It is dynamic.And changes and modifications made by those skilled in the art do not depart from the spirit and scope of the present invention, then it all should be appended by the present invention In scope of the claims.

Claims (3)

1. a kind of realize that three links automatically switch the method for online in router gateway, it is characterised in that:
First, a variety of network connecting modes are realized, have both supported wired broadband access network, also support to surf the Internet using insertion SIM cards of mobile phones.Its It is secondary, the patency of link can be detected in real time, when detecting that link currently in use is obstructed, can be switched to other chains Road in this way, the equipment for being connected to the routing is detectable the interruption of network, ensure that data normal communication.
2. a kind of method for realizing the automatic switchover online of three links in router gateway as described in claim 1, feature exist In:
It is wired that three links include 1. WAN(The automatic acquisition modes of static IP/DHCP), 2. 3G/4Glink1,3. 3G/4G link 2.
There are two types of schemes for the switching of link.
It is online simultaneously to open three links for scheme one.Working mechanism is as follows:
1. after if 1. link disconnects, router automatically switches to 2. link;1. if link-recovery, 1. router automatically switches back into Link;
2. if 1. link does not restore, after 2. link disconnects, router automatically switches to 3. link;1. if link-recovery, Router automatically switches back into 1. link;
If 3. 1. link not restore and 2. link-recovery, router automatically switch back into 2. link;If 1. link, 2. link are all Do not restore, be switched to 3. link.
4. if three links all disconnect, router can attempt connection 1. link, 2. link, 3. link successively, and so cycle connects It connects, until there is a link-recovery to establish connection.
Scheme two, be not turned on three links simultaneously it is online, working mechanism is as follows:
1. after 1. link disconnects, router automatically switches to 2. link;
2. after 2. link disconnects, router automatically switches to 3. link(No matter at this time 1. link either with or without recovery);
3. after 3. link disconnects, router automatically switches to 1. link;If 1. link does not have recovery and 2. link-recovery also at this time , then it is to automatically switch to 2. link.
3. a kind of method for realizing the automatic switchover online of three links in router gateway as described in claim 1, feature exist In:
The mode whether detection link disconnects has so several:By sending icmp packet(Using ping or tracerouter), can also be detected by sending TCP message to the timing of some port.
Three links automatically switch networking and are characterized in that only walk a link, other links are standby states, do not walk amount.Just Other circuits can be automatically switched to when the service interruption used, business transmission can be undertaken or share network flow Amount.Ensure the patency of network, realize the continual data communication of user.
CN201810081000.7A 2018-01-28 2018-01-28 It is a kind of to realize that three links automatically switch the method for online in router gateway Pending CN108234219A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810081000.7A CN108234219A (en) 2018-01-28 2018-01-28 It is a kind of to realize that three links automatically switch the method for online in router gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810081000.7A CN108234219A (en) 2018-01-28 2018-01-28 It is a kind of to realize that three links automatically switch the method for online in router gateway

Publications (1)

Publication Number Publication Date
CN108234219A true CN108234219A (en) 2018-06-29

Family

ID=62667637

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810081000.7A Pending CN108234219A (en) 2018-01-28 2018-01-28 It is a kind of to realize that three links automatically switch the method for online in router gateway

Country Status (1)

Country Link
CN (1) CN108234219A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194580A (en) * 2018-11-21 2019-01-11 深圳市吉祥腾达科技有限公司 A kind of policy routing method under home gateway multi-access mode
CN113225670A (en) * 2021-03-31 2021-08-06 中国船舶重工集团公司第七二二研究所 Heterogeneous wireless network based on packet switching and vertical switching method thereof
CN113364639A (en) * 2020-03-03 2021-09-07 成都鼎桥通信技术有限公司 Transmission link switching method, system and device for small station

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304346A (en) * 2008-06-27 2008-11-12 北京星网锐捷网络技术有限公司 Method and apparatus for monitoring link
CN101841429A (en) * 2010-04-30 2010-09-22 广州合立正通信息网络集成有限公司 Method for implementing backup of wireless IP network, 3G and GPRS link
CN102546222A (en) * 2010-12-07 2012-07-04 中国电信股份有限公司 Backup system and fault detection and processing method
CN102984014A (en) * 2012-12-18 2013-03-20 北京华为数字技术有限公司 Data transmission method and network system
CN103957538A (en) * 2014-04-04 2014-07-30 杭州华三通信技术有限公司 Method and device for detecting network quality
CN106209619A (en) * 2016-08-31 2016-12-07 上海地面通信息网络有限公司 A kind of real-time automatic switching control equipment being applied to route interruption and method
US20160380801A1 (en) * 2015-06-24 2016-12-29 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Switch, device and method for constructing aggregated link

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304346A (en) * 2008-06-27 2008-11-12 北京星网锐捷网络技术有限公司 Method and apparatus for monitoring link
CN101841429A (en) * 2010-04-30 2010-09-22 广州合立正通信息网络集成有限公司 Method for implementing backup of wireless IP network, 3G and GPRS link
CN102546222A (en) * 2010-12-07 2012-07-04 中国电信股份有限公司 Backup system and fault detection and processing method
CN102984014A (en) * 2012-12-18 2013-03-20 北京华为数字技术有限公司 Data transmission method and network system
CN103957538A (en) * 2014-04-04 2014-07-30 杭州华三通信技术有限公司 Method and device for detecting network quality
US20160380801A1 (en) * 2015-06-24 2016-12-29 Lenovo Enterprise Solutions (Singapore) Pte. Ltd. Switch, device and method for constructing aggregated link
CN106209619A (en) * 2016-08-31 2016-12-07 上海地面通信息网络有限公司 A kind of real-time automatic switching control equipment being applied to route interruption and method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109194580A (en) * 2018-11-21 2019-01-11 深圳市吉祥腾达科技有限公司 A kind of policy routing method under home gateway multi-access mode
CN113364639A (en) * 2020-03-03 2021-09-07 成都鼎桥通信技术有限公司 Transmission link switching method, system and device for small station
CN113364639B (en) * 2020-03-03 2023-09-08 成都鼎桥通信技术有限公司 Method, system and device for switching transmission links of small station
CN113225670A (en) * 2021-03-31 2021-08-06 中国船舶重工集团公司第七二二研究所 Heterogeneous wireless network based on packet switching and vertical switching method thereof

Similar Documents

Publication Publication Date Title
CN104601682B (en) A kind of method for switching things-internet gateway and relevant apparatus and system
US8745719B2 (en) Communication control apparatus, firewall apparatus, and data communication method
CN108234219A (en) It is a kind of to realize that three links automatically switch the method for online in router gateway
CN105471748B (en) A kind of application shunt method and device
CN102264063A (en) Mobile terminal and method for self-adaptively improving download rate of mobile terminal
CN106535238B (en) Link switching method and device
CN100391180C (en) Method for binding hardware address and port for Ethernet two-hier exchange equipment
KR101909400B1 (en) Method and system for managing network traffic
CN106210155A (en) The method and apparatus connecting application server
US9801111B2 (en) Method of providing a mobility service
CN104506549A (en) Method, device and system for establishing online game connection
Sinky et al. Seamless handoffs in wireless HetNets: Transport-layer challenges and multi-path TCP solutions with cross-layer awareness
CN107682221A (en) A kind of Link State inspection method and device based on ERPS
CN101414972B (en) Method and apparatus for updating information
JP2006525729A (en) Ad hoc network, network device, and configuration management method thereof
CN103987098A (en) Method and system for switching between IPV4 network and IPV6 network
CN113660109A (en) Gateway switching method, device, terminal equipment and computer readable storage medium
CN110519148B (en) Method, system and storage medium for establishing VPN channel by multilink backup
CN102811153B (en) VLAN state negotiating method and edge device
CN106130790A (en) A kind of fault handling method and device
CN100429638C (en) Auto-determination of DTE/DCE connection
CN105100300A (en) Method and device for network address translation
CN101909021A (en) BGP (Border Gateway Protocol) gateway equipment and method for realizing gateway on-off function by utilizing equipment
CN103596041A (en) Information prompt method and device
US11489764B2 (en) Failover system and method for diverting data traffic over a replacement access network

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20180629

WD01 Invention patent application deemed withdrawn after publication