CN103516617A - Router, network connection recovering system and network connection recovering method - Google Patents

Router, network connection recovering system and network connection recovering method Download PDF

Info

Publication number
CN103516617A
CN103516617A CN201210211879.5A CN201210211879A CN103516617A CN 103516617 A CN103516617 A CN 103516617A CN 201210211879 A CN201210211879 A CN 201210211879A CN 103516617 A CN103516617 A CN 103516617A
Authority
CN
China
Prior art keywords
network
port
network port
objective
packet
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
CN201210211879.5A
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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201210211879.5A priority Critical patent/CN103516617A/en
Publication of CN103516617A publication Critical patent/CN103516617A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A router is used for realizing data transmission is used for realizing data transmission between multi-port equipment and far-end equipment. The multi-port equipment comprises a plurality of network ports. Each network port corresponds with a network address. The router comprises the following components: a receiving module which receives data packets that are transmitted from the far-end equipment, wherein, each data packet comprises a target network address and a target network port; a changing module which acquires a network port in network connection in the multi-port equipment and changes the target network address and the target network port in the data pocket to the acquired network port and the corresponding network address when network connection of the target network port that corresponds with the target network address is disconnected; and a transmitting module which transmits the data pocket to the multi-port equipment through the changed target network address and the target network port. The invention further provides a network connection recovering system and a network connection recovering method, and the network connection can be automatically recovered after the network of one port is disconnected.

Description

Router, network connect recovery system and network connects restoration methods
Technical field
The present invention relates to network and connect, particularly an a kind of port at multi bri device connects router, the network that while disconnecting, packet can be sent to multi bri device and connects recovery system and network connection restoration methods.
Background technology
After traditional router network outage at one end mouthful, for the networking of transmitting data, connect and can not recover, user can only, by manual operation, as click connects again, utilize other port to re-establish new connection.So, will make troubles and waste Internet resources to user.
Summary of the invention
In view of above content, be necessary to provide a kind of router, network to connect recovery system and network connection restoration methods, at one end after the network outage of mouth, automatically recover network and connect.
A kind of router, for realizing the transfer of data between multi bri device and remote equipment, this multi bri device comprises a plurality of network ports, the corresponding network address of each network port, this router comprises: a receiver module, this receiver module is for receiving the packet sending from this remote equipment, and wherein, this packet comprises a destination network addresses and an objective network port; One change module, this change module is for when detecting the network connection disconnection of objective network port corresponding to this destination network addresses, obtain the network port connecting in network in this multi bri device, and the destination network addresses in this packet and objective network port are changed to this network port obtaining and the corresponding network address thereof; One delivery module, this delivery module is sent to this multi bri device for the packet that this receiver module is received by this destination network addresses and objective network port after changing.
A kind of network connects recovery system, this network connects recovery system and is applied on a router, this router is for realizing the transfer of data between multi bri device and remote equipment, this multi bri device comprises a plurality of network ports, the corresponding network address of each network port, this network connects recovery system and comprises: a receiver module, this receiver module is for receiving the packet sending from this remote equipment, wherein, this packet comprises a destination network addresses and an objective network port; One change module, this change module is for when detecting the network connection disconnection of objective network port corresponding to this destination network addresses, obtain the network port connecting in network in this multi bri device, and the destination network addresses in this packet and objective network port are changed to this network port obtaining and the corresponding network address thereof; One delivery module, this delivery module is sent to this multi bri device for the packet that this receiver module is received by this destination network addresses and objective network port after changing.
A kind of network connects restoration methods, this network connects restoration methods and is applied on a router, this network connects recovery system and is used for for realizing the transfer of data between multi bri device and remote equipment, this multi bri device comprises a plurality of network ports, the corresponding network address of each network port, this network connects restoration methods and comprises: receive the packet sending from this remote equipment, wherein, this packet comprises a destination network addresses and an objective network port; When detecting the network connection disconnection of objective network port corresponding to this destination network addresses, obtain the network port connecting in network in this multi bri device, and the destination network addresses in this packet and objective network port are changed to this network port obtaining and the corresponding network address thereof; The packet of this reception is sent to this multi bri device by this destination network addresses and objective network port after changing.
When the present invention connects disconnection by the network detecting objective network port corresponding to destination network addresses, obtain the network port connecting in network in multi bri device, and the destination network addresses in this packet and objective network port are changed to the network port and the corresponding network address thereof obtaining, and the packet of reception is sent to this multi bri device by this destination network addresses and objective network port after changing, thereby at one end after the network outage of mouth, automatically recover network connection.
Accompanying drawing explanation
Fig. 1 is the schematic diagram that in an embodiment of the present invention, router is connected with a multi bri device and a remote equipment.
Fig. 2 is that the router that the remote equipment of an embodiment of the present invention passes through as shown in Figure 1 transmits packet to the schematic diagram of multi bri device.
Fig. 3 is the flow chart that in an embodiment of the present invention, network connects restoration methods.
Main element symbol description
Network connects recovery system 10
Router 1
Multi bri device 2
Remote equipment 3
The network port 21
Receiver module 101
Detecting module 102
Change module 103
Delivery module 104
Processor 20
Memory 30
Following embodiment further illustrates the present invention in connection with above-mentioned accompanying drawing.
Embodiment
Please refer to Fig. 1 to Fig. 2, a network connects recovery system 10 and is applied in a router one.This router one is connected in a multi bri device 2 and a remote equipment 3, and for realizing the transfer of data between this multi bri device 2 and this remote equipment 3.This multi bri device 2 at least comprises two network ports 21, this corresponding network address of each network port 21.The corresponding network address of this remote equipment 3.This remote equipment 3 can carry out by wired or wireless mode the transmission of data with this multi bri device 2.The packet transmitting between this multi bri device 2 and remote equipment 3, includes a source network address, a source network port 21, a destination network addresses and an objective network port 21.Wherein, this source network address and source network port 21 send the port of this packet for identifying transmit leg, and this destination network addresses and objective network port 21 receive the port of this packet for identifying recipient.
This network connects recovery system 10 and comprises a receiver module 101, a detecting module 102, change module 103 and a delivery module 104.The alleged module of the present invention refers to that a kind of processor 20 that can be routed device 1 is performed and can complete the series of computation machine program block of specific function, and it is stored in the memory 30 of this router one.
This receiver module 101 is for receiving the packet sending from this remote equipment 3.
Whether this detecting module 102 connects and disconnects for the network of objective network port 21 corresponding to the destination network addresses detecting this packet and comprise.Wherein, whether the network of the objective network port 21 that this detecting module 102 is can this destination network addresses of detecting real-time corresponding connects and disconnects, and also can when this receiver module 101 receives the packet that this remote equipment 3 sends, start detecting.In the present embodiment, this detecting module 102 is by the network connection state of ping instruction detecting objective network port 21.
When the network of objective network port 21 corresponding to this destination network addresses connects disconnection, the network port 21 that this change module 103 connects in network for obtaining this multi bri device 2 one, and the destination network addresses in this packet and objective network port 21 are changed to this network port obtaining 21 and the corresponding network address thereof.In the present embodiment, in this memory 30, store the mapping table of each network port 21 of multi bri device 2 and the network address of correspondence thereof, this change module 103 is determined this corresponding network address of network port obtaining 21 according to the mapping table of this storage, the network port 21 that the destination network addresses in this packet and objective network port 21 are changed to this definite network address and obtain.In other embodiments, this detecting module 102 obtains a plurality of network ports 21 and the corresponding network address thereof of this multi bri device 2, this corresponding network address of network port obtaining 21 is determined in the network port 21 of the multi bri device 2 that this change module 103 is obtained according to this detecting module 102 and the corresponding network address thereof, the network port 21 that the destination network addresses in this packet and objective network port 21 are changed to this definite network address and obtain.
In the present embodiment, this change module 103 is when the network that detects objective network port 21 corresponding to this destination network addresses connects disconnection, obtain the all-network port 21 connecting in network in this multi bri device 2, determine a network port 21 of the Internet Transmission state the best in this all-network port 21, and the destination network addresses in this packet and objective network port 21 are changed to the network port 21 of this definite Internet Transmission state the best and the network address of correspondence thereof.Wherein, the network port 21 of this Internet Transmission state the best can be the fastest network port of network transfer speeds 21 or is the minimum network port 21 of current transmission volume.
This delivery module 104 is sent to this multi bri device 2 for the packet that this receiver module 101 is received by this destination network addresses and objective network port 21 after changing.
When the network of the destination network addresses of these objective network port 21 correspondences connects while not disconnecting, this delivery module 104 also for the destination network addresses of the packet that receives by this receiver module 101 and Packet Generation that objective network port 21 receives this receiver module 101 to this multi bri device 2.
Please refer to Fig. 3, is the flow chart of the present invention's one network connection restoration methods.
In step S301, this receiver module 101 receives this packet sending from remote equipment 3, and wherein, this packet comprises a destination network addresses and an objective network port 21.
In step S302, whether the network connection of the objective network port 21 that these detecting module 102 these destination network addresses of detecting are corresponding disconnects.When the network of objective network port 21 corresponding to this destination network addresses connects disconnection, execution step S303.When the network connection of objective network port 21 corresponding to this destination network addresses does not disconnect, execution step S305.Wherein, whether the network of the objective network port 21 that this detecting module 102 is can this destination network addresses of detecting real-time corresponding connects and disconnects, and also can when this receiver module 101 receives the packet that this remote equipment 3 sends, start detecting.In the present embodiment, this detecting module 102 is by the network connection state of ping instruction detecting objective network port 21.
In step S303, this change module 103 is obtained the network port 21 connecting in network in this multi bri device 2, and the destination network addresses in this packet and objective network port 21 are changed to this network port obtaining 21 and the corresponding network address thereof.In the present embodiment, in this memory, store the mapping table of each network port 21 of multi bri device 2 and the network address of correspondence thereof, this change module 103 is determined this corresponding network address of network port obtaining 21 according to the mapping table of this storage, the network port 21 that the destination network addresses in this packet and objective network port 21 are changed to this definite network address and obtain.In other embodiments, this detecting module 102 obtains a plurality of network ports 21 and the corresponding network address thereof of this multi bri device 2, this corresponding network address of network port obtaining 21 is determined in the network port 21 of the multi bri device 2 that this change module 103 is obtained according to this detecting module 102 and the corresponding network address thereof, the network port 21 that the destination network addresses in this packet and objective network port 21 are changed to this definite network address and obtain.
In step S304, the packet that this delivery module 104 receives this receiver module 101 sends to this multi bri device 2 according to destination network addresses and the objective network port 21 of these change module 103 changes.
In step S305, destination network addresses and objective network port 21 in the packet that the packet that this delivery module 104 receives this receiver module 101 obtains according to this acquisition module are given this multi bri device 2.
In the present embodiment, step S303 is specially: this change module 103 is obtained the all-network port 21 connecting in network in this multi bri device 2, determine a network port 21 of the network state the best in this all-network port 21, and the destination network addresses in this packet and objective network port 21 are changed to the network port 21 of this definite network state the best and the network address of correspondence thereof.Wherein, the network port 21 of this Internet Transmission state the best can be the fastest network port of network transfer speeds 21 or is the minimum network port 21 of current transmission volume.
To those skilled in the art, can in conjunction with the actual needs of producing, make other corresponding changes or adjustment according to scheme of the invention of the present invention and inventive concept, and these changes and adjustment all should belong to the protection range of the claims in the present invention.

Claims (18)

1. a router, for realizing the transfer of data between multi bri device and remote equipment, this multi bri device comprises a plurality of network ports, and the corresponding network address of each network port, is characterized in that, and this router comprises:
One receiver module, this receiver module is for receiving the packet sending from this remote equipment, and wherein, this packet comprises a destination network addresses and an objective network port;
One change module, this change module is for when detecting the network connection disconnection of objective network port corresponding to this destination network addresses, obtain the network port connecting in network in this multi bri device, and the destination network addresses in this packet and objective network port are changed to this network port obtaining and the corresponding network address thereof;
One delivery module, this delivery module is sent to this multi bri device for the packet that this receiver module is received by this destination network addresses and objective network port after changing.
2. router as claimed in claim 1, is characterized in that: this router starts to detect the network connection state of objective network port corresponding to this destination network addresses when receiving the packet sending from remote equipment.
3. router as claimed in claim 1, is characterized in that: this router also comprises a memory, stores each network port and the corresponding network address thereof of multi bri device in this memory.
4. router as claimed in claim 1, is characterized in that: this router, when the network of objective network port corresponding to this destination network addresses of detecting connects disconnection, also obtains a plurality of network ports and the corresponding network address thereof of this multi bri device.
5. router as claimed in claim 1, it is characterized in that: this change module is when the network that detects objective network port corresponding to this destination network addresses connects disconnection, obtain the all-network port connecting in network in this multi bri device, determine a network port of the Internet Transmission state the best in this all-network port, and the destination network addresses in this packet and objective network port are changed to the network port of this definite Internet Transmission state the best and the network address of correspondence thereof.
6. router as claimed in claim 1, it is characterized in that: when the network connection of objective network port corresponding to this destination network addresses of detecting does not disconnect, the packet that the destination network addresses that this delivery module comprises for the packet receiving by this receiver module and objective network port receive this receiver module is sent to this multi bri device.
7. a network connects recovery system, this network connects recovery system and is applied on a router, this router is for realizing the transfer of data between multi bri device and remote equipment, this multi bri device comprises a plurality of network ports, the corresponding network address of each network port, it is characterized in that, this network connects recovery system and comprises:
One receiver module, this receiver module is for receiving the packet sending from this remote equipment, and wherein, this packet comprises a destination network addresses and an objective network port;
One change module, this change module is for when detecting the network connection disconnection of objective network port corresponding to this destination network addresses, obtain the network port connecting in network in this multi bri device, and the destination network addresses in this packet and objective network port are changed to this network port obtaining and the corresponding network address thereof;
One delivery module, this delivery module is sent to this multi bri device for the packet that this receiver module is received by this destination network addresses and objective network port after changing.
8. network as claimed in claim 7 connects recovery system, it is characterized in that: this network connects the network connection state that recovery system starts to detect objective network port corresponding to this destination network addresses when receiving the packet sending from remote equipment.
9. network as claimed in claim 7 connects recovery system, it is characterized in that: this router also comprises a memory, stores each network port and the corresponding network address thereof of multi bri device in this memory.
10. network as claimed in claim 7 connects recovery system, it is characterized in that: this network connects recovery system when the network of objective network port corresponding to this destination network addresses of detecting connects disconnection, also obtains a plurality of network ports and the corresponding network address thereof of this multi bri device.
11. networks as claimed in claim 7 connect recovery system, it is characterized in that: this change module is when the network that detects objective network port corresponding to this destination network addresses connects disconnection, obtain the all-network port connecting in network in this multi bri device, determine a network port of the Internet Transmission state the best in this all-network port, and the destination network addresses in this packet and objective network port are changed to the network port of this definite Internet Transmission state the best and the network address of correspondence thereof.
12. networks as claimed in claim 7 connect recovery system, it is characterized in that: when the network connection of objective network port corresponding to this destination network addresses of detecting does not disconnect, the packet that the destination network addresses that this delivery module comprises for the packet receiving by this receiver module and objective network port receive this receiver module is sent to this multi bri device.
13. 1 kinds of networks connect restoration methods, this network connects restoration methods and is applied on a router, this network connects recovery system and is used for for realizing the transfer of data between multi bri device and remote equipment, this multi bri device comprises a plurality of network ports, the corresponding network address of each network port, it is characterized in that, this network connects restoration methods and comprises:
The packet that reception sends from this remote equipment, wherein, this packet comprises a destination network addresses and an objective network port;
When detecting the network connection disconnection of objective network port corresponding to this destination network addresses, obtain the network port connecting in network in this multi bri device, and the destination network addresses in this packet and objective network port are changed to this network port obtaining and the corresponding network address thereof;
The packet of this reception is sent to this multi bri device by this destination network addresses and objective network port after changing.
14. networks as claimed in claim 13 connect restoration methods, it is characterized in that: the network connection state that starts to detect objective network port corresponding to this destination network addresses when receiving the packet sending from this remote equipment.
15. networks as claimed in claim 13 connect restoration methods, it is characterized in that: this router also comprises a memory, store each network port and the corresponding network address thereof of multi bri device in this memory.
16. networks as claimed in claim 13 connect restoration methods, it is characterized in that: when the network of objective network port corresponding to this destination network addresses of detecting connects disconnection, also obtain a plurality of network ports and the corresponding network address thereof of this multi bri device.
17. networks as claimed in claim 13 connect restoration methods, it is characterized in that: when the network that detects objective network port corresponding to this destination network addresses connects disconnection, obtain the all-network port connecting in network in this multi bri device, determine a network port of the Internet Transmission state the best in this all-network port, and the destination network addresses in this packet and objective network port are changed to the network port of this definite Internet Transmission state the best and the network address of correspondence thereof.
18. networks as claimed in claim 13 connect restoration methods, it is characterized in that: when the network connection of objective network port corresponding to this destination network addresses of detecting does not disconnect, the destination network addresses comprising according to the packet of this reception and objective network port are sent to this multi bri device by the packet of this reception.
CN201210211879.5A 2012-06-25 2012-06-25 Router, network connection recovering system and network connection recovering method Pending CN103516617A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210211879.5A CN103516617A (en) 2012-06-25 2012-06-25 Router, network connection recovering system and network connection recovering method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210211879.5A CN103516617A (en) 2012-06-25 2012-06-25 Router, network connection recovering system and network connection recovering method

Publications (1)

Publication Number Publication Date
CN103516617A true CN103516617A (en) 2014-01-15

Family

ID=49898681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210211879.5A Pending CN103516617A (en) 2012-06-25 2012-06-25 Router, network connection recovering system and network connection recovering method

Country Status (1)

Country Link
CN (1) CN103516617A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375224A (en) * 2015-07-22 2017-02-01 国基电子(上海)有限公司 Router and method for performing network connection by use of the router

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620781A (en) * 2002-04-25 2005-05-25 国际商业机器公司 System and method for dynamically altering connections in a data processing network
CN1848768A (en) * 2005-04-12 2006-10-18 富士通株式会社 Characteristic identifying message for link aggregation marker protocol
CN1874314A (en) * 2005-06-02 2006-12-06 美国博通公司 Network device and method for selecting fault transfer port in relay series
CN1878088A (en) * 2006-03-07 2006-12-13 华为技术有限公司 Hot standby maintenance system and hot standby maintenance and failover method
CN101193044A (en) * 2006-11-21 2008-06-04 北京大学 Redirection method and device for real time monitoring network activities
CN102209040A (en) * 2011-07-12 2011-10-05 杭州华三通信技术有限公司 Multi-network-port-based load sharing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1620781A (en) * 2002-04-25 2005-05-25 国际商业机器公司 System and method for dynamically altering connections in a data processing network
CN1848768A (en) * 2005-04-12 2006-10-18 富士通株式会社 Characteristic identifying message for link aggregation marker protocol
CN1874314A (en) * 2005-06-02 2006-12-06 美国博通公司 Network device and method for selecting fault transfer port in relay series
CN1878088A (en) * 2006-03-07 2006-12-13 华为技术有限公司 Hot standby maintenance system and hot standby maintenance and failover method
CN101193044A (en) * 2006-11-21 2008-06-04 北京大学 Redirection method and device for real time monitoring network activities
CN102209040A (en) * 2011-07-12 2011-10-05 杭州华三通信技术有限公司 Multi-network-port-based load sharing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106375224A (en) * 2015-07-22 2017-02-01 国基电子(上海)有限公司 Router and method for performing network connection by use of the router
CN106375224B (en) * 2015-07-22 2020-03-17 国基电子(上海)有限公司 Router and method for network connection by using same

Similar Documents

Publication Publication Date Title
RU2013111523A (en) PRIORIZED DATA TRANSFER
CN103580880A (en) Method, device and system for rapidly notifying CGN anomalies
CN101340356A (en) Method for forwarding information and information forwarding apparatus
CN105450779A (en) Method for achieving connection between one household electric appliance and multiple servers
CN103984325A (en) IEEE802.15.4-oriented equipment data synchronization method of intelligent housing system
CN105262836A (en) Information push method of server and push information reception method of client
CN104683994A (en) Wireless network configuration method and wireless network devices
CN104980368A (en) Bandwidth guarantee method and apparatus in software defined network (SDN)
CN105429814A (en) Method and device for BFD protection by utilizing multiple board cards
CN102984070A (en) Method for realizing data forwarding through unnumbered interface of Ethernet
CN102857421B (en) A kind of VLL fault detection method and equipment
CN104184834A (en) File transmission method and device and terminal
CN101800677B (en) Processing device and method of bidirectional forwarding detection (BFD) messages
CN104486174A (en) Networking method and networking device for intelligent terminals
CN102571970A (en) Node module for traffic Internet of things and communication method for traffic Internet of things
CN103812664B (en) A kind of method and device of network share
CN105591817A (en) Negotiation mode processing method and intelligent network device
CN102801555A (en) Network interruption recovering method and device
CN103685043A (en) Router, network connection recovery system and network connection recovery method
CN104184565B (en) A kind of method and device of processing retransmission information
CN103516617A (en) Router, network connection recovering system and network connection recovering method
CN104506358A (en) SNMP (simple network management protocol) based network management system and network management method
CN102238040B (en) Method for monitoring CE (Customer Edge router) and routing device
JP5999461B2 (en) Method, apparatus, and system for obtaining an internet protocol address
CN104468234A (en) High-robustness communication network for dual backup of optical network and wireless Mesh network

Legal Events

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

Application publication date: 20140115