CN100403708C - Method for dynamically selecting interconnection network provide merchant for user - Google Patents
Method for dynamically selecting interconnection network provide merchant for user Download PDFInfo
- Publication number
- CN100403708C CN100403708C CNB200310101888XA CN200310101888A CN100403708C CN 100403708 C CN100403708 C CN 100403708C CN B200310101888X A CNB200310101888X A CN B200310101888XA CN 200310101888 A CN200310101888 A CN 200310101888A CN 100403708 C CN100403708 C CN 100403708C
- Authority
- CN
- China
- Prior art keywords
- address
- lan
- user
- router
- area network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Expired - Fee Related
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The purpose of the present invention is to provide a method for dynamically selecting an area ISP by residents through a user local-area network of a community, namely that according to the preference of the residents, the residents select different area ISPs at any time to enter an interconnected network, and pay for the access service according to the prior appointment. The fixed one-to-one relationship is established between an inner IP address and an outer IP address of ports at both sides of a router of a user local-area network, and the method is realized.
Description
Technical field
The present invention relates to the method for routing that a kind of computer network data transmits, in particular, relate to the method for a kind of user's Dynamic Selection internet provider (ISP).
Background technology
Computer interconnected network (Internet) is the worldwide computer network that the Wide Area Network of computer local network by telecommunication department is connected with each other.Divide according to the ultimate consumer, the computer local network that inserts computer interconnected network can be divided into legal person's local area network (LAN) and community resident's local area network (LAN).Legal person's local area network (LAN) is meant the LAN (Local Area Network) that institutes such as those governments that legal personality is arranged, enterprise, public institution build and have, and the ultimate consumer is the legal person; Community resident's local area network (LAN) is meant that those are based upon the LAN (Local Area Network) of residential quarter, and its builder is the internet provider (ISP) with telecommunication department mandate, and ultimate consumer or user are resident individual or family.Community resident's local area network (LAN) is a kind of of the local network of users, and according to the regulation of telecommunication department, " local network of users (CPN) is meant that User Network Interface (UNI) is to the network of relation facility between the user terminal.According to managerial demand, at this, the local network of users refers in particular to from the user resident point-of-traffic concentration to the network of relation facility the user terminal.User resident can be a residential quarter, also can be one or many adjacent office buildings, but does not comprise the Access Network in the metropolitan area scope." (" about readjusting<the telecommunication operation classification catalogue〉announcement ", Ministry of Information Industry's file, No. [2003] 73, letter portion electricity, on February 21st, 2003)
Legal person's local area network (LAN) and community resident's local area network (LAN) do not have the difference of essence in technology path and network organization management at present, and they pay to the regional ISP of the upper level that is in its LAN (Local Area Network), and provide the internet access service by the ISP of this area.But community resident's local area network (LAN) generally also needs those to realize transmitting with the regional ISP data of upper level by the ISP (to call sub-district ISP in the following text) that quarters at the residential quarter at present, some sub-district ISP and regional ISP belong to a legal person at present, no matter but whether they belong to a legal person, main several technical schemes that sub-district ISP is adopted are as follows:
1, sub-district ISP only is connected with the regional ISP of upper level by a circuit, and as accompanying drawing 1a, in case circuit is out of order, the service of sub-district ISP is paralysis just, and the chance of at this moment static selection route does not all have, let alone Dynamic Selection.
2, sub-district ISP passes through a main line is connected upper level with an extension wire same regional ISP, and as accompanying drawing 1b, this extension wire speed is low usually, low price, in case purpose is main line and breaks down that extension wire guarantees that local area network (LAN) is also available, but logical often and not smooth.This situation obviously can not supply user's Dynamic Selection, because both there be not alternative regional ISP, does not also have the data circuit of enough high-qualitys.
3, sub-district ISP connects with a plurality of different regional ISP of upper level by many different circuits, as accompanying drawing 1c, owing to there are a plurality of regional ISP to insert the router of sub-district ISP, make the router of sub-district ISP all between regional ISP, to weigh best route, but the user can't know the route of the own data that sent to each packet that the user sends over.Engaging accompanying drawing 2 below is specifically introduced this technical scheme:
The IP address that a plurality of regional ISP distribute to sub-district ISP is different, in accompanying drawing 2, ISP1 is 200.10.45.253 to the IP address of user's LAN router port assignment of sub-district, user's local area network (LAN) IP address allocated pond to the sub-district is 200.10.46.0/24, and the IP address of user's LAN router port assignment of ISP2 is 200.33.67.253, user's local area network (LAN) IP address allocated pond to the sub-district is 200.33.68.0/24, these all are the true IP addresses on the internet, or claim disclosed IP the address.If sub-district ISP wants to change regional ISP, for example change to ISP2 from ISP1, then 200.10.46.0/24 must be return to ISP1, be the IP address 200.33.68.0/24 of every computer distribution ISP2 of sub-district again.Obvious this change is very inconvenient.To change the trouble that regional ISP brings in order reducing, on the router of sub-district ISP, to introduce the network address translation (nat) function, the inner implicit IP address that uses in the sub-district, for example, 192.168.0.0/8.When the 203.120.10.30 of resident 192.168.0.5 on the internet sends packet, sub-district router Router finds earlier next jumping of best route in its routing table be to be the 200.10.45.253 of the ISP1 that arrives of the port of 200.10.45.253 through the address, so NAT converts 192.168.0.5 to external address, it is the true IP address that ISP1 distributes, 200.10.46.8 for example, like this, at 203.120.10.30, it is the packet that sends by 200.10.46.8,203.120.10.30 in the time of the passback packet, just pass back to 200.10.46.8, NAT converts thereof into 192.168.0.5 again.From this process, user's LAN router of sub-district can be selected best route automatically, but the user is uncontrollable to this route.
Summary of the invention
The present invention aims to provide the method that a kind of resident of allowing sees through user's local area network (LAN) Dynamic Selection area ISP of community.So-called Dynamic Selection area ISP, be exactly the resident according to its preference, select different regional ISP to insert the internet at any time, and be this access service according in advance promissory payment expense.
The objective of the invention is to be achieved by following technical proposals.
The router of user's local area network (LAN) is connected with the router of a plurality of regional internet provider respectively.
In described user's local area network (LAN), respectively different implicit IP address is located at described user's LAN router and connects the port of local area network (LAN) one side, the outside ip address that different regional internet provider is provided is located at the port that described user's LAN router links to each other with these internet providers.
Carry out network address translation, the implicit IP address that is located at described user's LAN router connection local area network (LAN) one side ports is set up fixing one-to-one relationship with being located at the outside ip address that is connected internet provider one side ports, and this fixed correspondence is logged in the routing table of user's local area network (LAN) as static routing.
The user on one's own initiative, dynamically be located in the router-list in the subscriber computer according to the implicit IP address of the just described user's LAN router of its preference.
The mode that the implicit IP address of described user's LAN router is located in the router-list in the subscriber computer has three kinds of modes: first kind, and an implicit IP address of a reserved route device; Second kind, all implicit IP address of reserved route device, but priority difference, subsidiary screening conditions; The third, all implicit IP address of reserved route device, priority is identical, subsidiary screening conditions;
Screening conditions refer to the requirement to the stability of regional ISP route, price, bandwidth etc.
User's local area network (LAN) can be regularly added up parameters such as the stability of regional ISP, price policy, bandwidth, forms screening index.
Router-list configuration at these three kinds of residents, the router of user's local area network (LAN) of community also has three kinds of response strategies: first kind, this resident's packet is received and dispatched according to this route of regional ISP that the pairing outside ip address of implicit IP address of the router of putting down in writing in the routing table is connected.Second kind, in the router-list from resident's computer, select the higher implicit IP address of priority, the corresponding regional ISP that outside ip address connected is if reach screening index, then with resident's packet according to this routing forwarding; If do not reach screening index, then select the implicit IP address of a low priority, judge whether it reaches screening index; Repeat this step up to finding out the route that reaches screening index; If do not reach the route of screening index all the time, then resident's packet does not send.The third in router-list from resident's computer, gets an implicit IP address at random, and its corresponding regional ISP that outside ip address connected then receives and dispatches resident's packet if reach screening index according to this route; If do not reach screening index, then get implicit IP address in addition, judge whether it reaches screening index; Repeat this step up to finding out the route that reaches screening index; If do not reach the route of screening index all the time, then resident's packet does not send.
The response strategy of area ISP comprises: check resident's identity, be recorded as this resident the time of internet access service, the parameters such as data volume of transmission are provided, and charge by the mode of agreement.
Method of the present invention, the resident adopts the tabulation of first kind of mode configuration router, is according to the manual regional ISP of selection of preference, and back two kinds is that the resident allows community resident's local area network (LAN) replace own manual operations and selects those can reach the regional ISP of screening conditions automatically.
Method of the present invention compared with prior art has the following advantages:
1, support each residential quarter only to set up the more excellent network (as Ethernet) of a cover cost performance.
2, support a plurality of regional ISP are inserted the internet with community resident's local area network (LAN) coequally.
3, support resident's Dynamic Selection area ISP.
Description of drawings
Below be description of drawings:
Accompanying drawing 1 is the sketch of method in succession that the current computer local area network (LAN) inserts the three kinds of patterns in internet
Accompanying drawing 2 is the current computer local area network (LAN) inserts the internet by a plurality of regional ISP connection block diagrams
Accompanying drawing 3 is application schematic diagrames of the inventive method
Accompanying drawing 4 is application schematic diagrames of improving one's methods of the inventive method
Accompanying drawing 5 is method of the present invention a kind of application schematic diagrames in complicated community resident's local area network (LAN)
Accompanying drawing 6 is to use flow chart of the present invention
Embodiment
Below in conjunction with embodiment the present invention is further described:
In technical scheme of the present invention, can realize network address translation by the router that has network address translation function, also can realize this conversion by independent network address translation (nat) device.As shown in Figure 3.Connect two routers (RNAT1 and RNAT2) that have network address translation function on the Ethernet switch of user's local area network (LAN) of community, connecting the implicit IP address that the port of local area network (LAN) one side sets up at RNAT1 is 192.168.0.1; The implicit IP address of setting up at the port of RNAT2 connection local area network (LAN) one side is divided into 192.168.0.2.The outside ip address 200.10.45.254 that the area internet ISP1 of provider provides is located at the port that the router RNAT1 of institute links to each other with ISP1; The outside ip address 200.33.67.254 that the area internet ISP2 of provider provides is located at the port that the router RNAT2 of institute links to each other with ISP2.Set up the fixing one-to-one relationship of 192.168.0.1 and 200.10.45.254 and 192.168.0.2 and 200.33.67.254 by network address translation, this fixed correspondence is logged in the routing table of user's local area network (LAN) as static routing.That is to say that corresponding one by one respectively true IP address 200.10.45.254 of user's LAN router RNAT1 of sub-district and RNAT2 and 200.33.67.254 insert regional ISP.When 192.168.0.5 is ready to use ISP1, just 192.168.0.1 is arranged in the router-list on oneself the computer uniquely; When being ready to use ISP2, just 192.168.0.2 is arranged in the router-list on oneself the computer uniquely.Like this, the resident has just controlled the route of arrival area ISP.
192.168.0.1 and two implicit IP address of 192.168.0.2 that the resident can also the reserved route device simultaneously, and set up different priority for it, attach screening conditions; Perhaps two implicit IP address of the 192.168.0.1 of reserved route device and 192.168.0.2, priority is identical, subsidiary screening conditions.
Accompanying drawing 4 is the further improvement to technical scheme, is equivalent to two routers that have nat feature are merged.The implicit IP address that the router RouterNAT of community resident's local area network (LAN) is different to the interface assignment of Ethernet, for example 192.168.0.1 and 192.168.0.2.The outside ip address 200.10.45.254 that the area internet ISP1 of provider provides is located at the port that router RouterNAT links to each other with ISP1; The outside ip address 200.33.67.254 that the area internet ISP2 of provider provides is located at the port that router RouterNAT links to each other with ISP2, change the fixing one-to-one relationship of setting up 192.168.0.1 and 200.10.45.254 and 192.168.0.2 and 200.33.67.254 by NAT, this fixed correspondence is logged in the routing table of user's local area network (LAN) as static routing.Next of the port 200.10.45.254 of RouterNAT jumped the router side port address 200.10.45.253 that points to ISP1 regularly, and next of 200.33.67.254 jumped the router side port address 200.33.67.253 that points to ISP2 regularly.
Resident 192.168.0.5 likes ISP1, just can be arranged on the home address 192.168.0.1 of router uniquely in the router-list on oneself the computer.
Suppose that resident 192.168.0.5 sends packet to 203.120.10.30, because in community resident's local area network (LAN), do not have 203.120.10.30, so this data packet stream is to router one 92.168.0.1, through the port address 200.10.45.253 of 200.10.45.254 to ISP1, RouterNAT converts 192.168.0.5 to 200.10.46.8, so send from 200.10.46.8 at this packet of ISP1, ISP1 sends to 203.120.10.30 with this packet again.203.120.10.30 the packet to the 200.10.46.8 passback corresponds to 192.168.0.5 through RouterNAT with 200.10.46.8.
If a certain moment, resident 192.168.0.5 wants to use the service of ISP2, just directly the unique address in the router-list on its computer is changed to 192.168.0.2, and then Shang Mian process will be repeated similarly, but use is this route of ISP2.
192.168.0.1 and two implicit IP address of 192.168.0.2 that the resident can also the reserved route device simultaneously, and set up different priority for it, attach screening conditions; The 3rd, two implicit IP address of the 192.168.0.1 of reserved route device and 192.168.0.2, priority is identical, subsidiary screening conditions.
Accompanying drawing 5 is when having a large amount of computer at the residential quarter, to use method of the present invention.At this moment, community resident's local area network (LAN) of residential quarter is divided into several subnets, as the LAN1 among Fig. 5, LAN2, LAN3, each subnet is connected with two NAT device respectively by different Ethernet switch switch, insert the internet by R1 or R2 again, set up the implicit IP address of router both sides port and the one-to-one relationship of outside ip address then.When the 192.168.2.6 among the LAN2 wants to insert ISP2, just 192.168.2.2 is arranged in the router-list of its computer uniquely; When wanting to insert ISP1, just 192.168.2.1 is arranged in the router-list of its computer uniquely.
The present invention can also provide one to entrust router on behalf of the technical scheme of selecting for the resident, and Here it is allows the resident to propose one group of condition of determining route, is referred to as screening conditions, as: the stability of route, price, bandwidth etc.Router regularly carries out statistical analysis to the route that arrives each regional ISP, for each route calculates screening index.After the route generation that the resident is using was fluctuateed or used certain hour, router all compared the screening index of each route and the screening conditions of this resident proposition, selects satisfied route, and from then on resident's packet is received and dispatched.
Claims (5)
1. the method for user's Dynamic Selection internet provider is characterized in that may further comprise the steps:
The router of user's local area network (LAN) is connected with the router of a plurality of regional internet provider respectively;
In described user's local area network (LAN), respectively different implicit IP address is located at described user's LAN router and connects the port of local area network (LAN) one side, the outside ip address that different regional internet provider is provided is located at the port that described user's LAN router links to each other with these internet providers;
Carry out network address translation, the implicit IP address that is located at described user's LAN router connection local area network (LAN) one side ports is set up fixing one-to-one relationship with being located at the outside ip address that is connected internet provider one side ports, and be logged into this fixed correspondence in the routing table of user's local area network (LAN) as static routing;
The user on one's own initiative, dynamically be located at the implicit IP address of described user's LAN router in the router-list in the subscriber computer according to its preference.
2. method according to claim 1 is characterized in that the mode that implicit IP address with user's LAN router is located in the router-list in the subscriber computer has three kinds:
(1) the reserved route device implicit IP address;
(2) a plurality of implicit IP address of reserved route device, and for it is provided with different priority, subsidiary simultaneously screening conditions;
(3) a plurality of implicit IP address of reserved route device, and for it is provided with identical priority, subsidiary simultaneously screening conditions.
3. method according to claim 2 is characterized in that described screening conditions comprise: index such as the stability of regional internet provider route, price, bandwidth.
4. method according to claim 3 is characterized in that, user's LAN router regularly carries out statistical analysis to the route that arrives each regional internet provider, determines screening index, selects the route that satisfies condition automatically.
5. according to claim 1,2,3 or 4 described methods, it is characterized in that user's local area network (LAN) is divided into several subnets, each subnet is connected with user's LAN router respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200310101888XA CN100403708C (en) | 2003-10-23 | 2003-10-23 | Method for dynamically selecting interconnection network provide merchant for user |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB200310101888XA CN100403708C (en) | 2003-10-23 | 2003-10-23 | Method for dynamically selecting interconnection network provide merchant for user |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1610317A CN1610317A (en) | 2005-04-27 |
CN100403708C true CN100403708C (en) | 2008-07-16 |
Family
ID=34756277
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB200310101888XA Expired - Fee Related CN100403708C (en) | 2003-10-23 | 2003-10-23 | Method for dynamically selecting interconnection network provide merchant for user |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100403708C (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100421406C (en) * | 2005-12-23 | 2008-09-24 | 深圳市深信服电子科技有限公司 | Automatic selection method of line based on web |
CN101626326B (en) * | 2008-07-07 | 2012-11-21 | 联想(北京)有限公司 | Method and device for automatically connecting route, method and device for safe connection |
CN101753424B (en) * | 2008-11-28 | 2012-07-04 | 华为技术有限公司 | Data communication system, router, data sending and mobility management method |
CN101552734B (en) * | 2009-05-22 | 2012-06-13 | 迈普通信技术股份有限公司 | Non-automatic multi-outlet routing method |
CN102307108A (en) * | 2011-08-18 | 2012-01-04 | 深圳市高德信通信有限公司 | Network service provider multiple exit connection system and method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6243379B1 (en) * | 1997-04-04 | 2001-06-05 | Ramp Networks, Inc. | Connection and packet level multiplexing between network links |
US6243754B1 (en) * | 1999-01-08 | 2001-06-05 | International Business Machines Corporation | Dynamic selection of network providers |
CN1424832A (en) * | 2001-12-11 | 2003-06-18 | 余鲲 | System and method for user dynamically to select information network service |
-
2003
- 2003-10-23 CN CNB200310101888XA patent/CN100403708C/en not_active Expired - Fee Related
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6243379B1 (en) * | 1997-04-04 | 2001-06-05 | Ramp Networks, Inc. | Connection and packet level multiplexing between network links |
US6243754B1 (en) * | 1999-01-08 | 2001-06-05 | International Business Machines Corporation | Dynamic selection of network providers |
CN1424832A (en) * | 2001-12-11 | 2003-06-18 | 余鲲 | System and method for user dynamically to select information network service |
Non-Patent Citations (2)
Title |
---|
校园网的路由策略选择及实现. 陈阿林,肖丹燕,肖嵬,缪春莹.电讯技术,第6期. 2002 |
校园网的路由策略选择及实现. 陈阿林,肖丹燕,肖嵬,缪春莹.电讯技术,第6期. 2002 * |
Also Published As
Publication number | Publication date |
---|---|
CN1610317A (en) | 2005-04-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6799210B1 (en) | Dynamic association of endpoints to media gateway controllers | |
US6189042B1 (en) | LAN internet connection having effective mechanism to classify LAN traffic and resolve address resolution protocol requests | |
CN101141494B (en) | Method for settling resource allocation conflict under load sharing condition | |
US7710901B2 (en) | GMPLS control of ethernet | |
US6937569B1 (en) | Method and system for determining a relative position of a device on a network | |
CN101595696B (en) | Multipath virtual router redundancy | |
US20060098642A1 (en) | System and method for SONET NSAP addressing | |
US20050190775A1 (en) | System and method for establishing service access relations | |
EP1727314B1 (en) | Method for building virtual private networks using routers | |
Chen et al. | An application of the BGP community attribute in multi-home routing | |
ATE349142T1 (en) | MAPPING PACKETS TO PDP CONTEXTS FOR MULTIPLE CONNECTIONS | |
CA2282883A1 (en) | A mechanism to guarantee quality of service to real-time traffic on ip networks | |
CN100407704C (en) | Method of dynamically learning address on MAC layer | |
WO1997048210A1 (en) | Logical ip address assignment in atm lan | |
CN101572692A (en) | Method, system and equipment for IP address assignment | |
CN100403708C (en) | Method for dynamically selecting interconnection network provide merchant for user | |
CN1406031A (en) | Multi-attaching agency device and relative method | |
Colella et al. | Guidelines for OSI NSAP Allocation in the Internet | |
CN108471440A (en) | A kind of digital intercom method and system | |
CN1392710A (en) | Ip address mapping and transmitting method for non-broadcast multipath access network | |
CN106790502A (en) | A kind of IPv4 terminals based on NAT64 prefixes, the SiteServer LBS of IPv6 service-interworking business | |
CN100435520C (en) | Method for selecting services provided by different providers of network service | |
CN100463430C (en) | Method for establishing a path, having a certain qos-class and a related access multiplexer | |
Francis | Addressing in internetwork protocols | |
US20060045079A1 (en) | Method for the automatic configuration of communication relationships between communicaiton units situated in a packet-oriented communications 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20080716 Termination date: 20211023 |
|
CF01 | Termination of patent right due to non-payment of annual fee |