CN105681249B - A kind of Network Access Method and link switch equipment - Google Patents

A kind of Network Access Method and link switch equipment Download PDF

Info

Publication number
CN105681249B
CN105681249B CN201410654804.3A CN201410654804A CN105681249B CN 105681249 B CN105681249 B CN 105681249B CN 201410654804 A CN201410654804 A CN 201410654804A CN 105681249 B CN105681249 B CN 105681249B
Authority
CN
China
Prior art keywords
address
ipv4
network
network access
destination address
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.)
Active
Application number
CN201410654804.3A
Other languages
Chinese (zh)
Other versions
CN105681249A (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.)
China Mobile Communications Group Co Ltd
Original Assignee
China Mobile Communications Group 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 China Mobile Communications Group Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN201410654804.3A priority Critical patent/CN105681249B/en
Publication of CN105681249A publication Critical patent/CN105681249A/en
Application granted granted Critical
Publication of CN105681249B publication Critical patent/CN105681249B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of Network Access Method and link switch equipments to reduce the processing load of network and server to provide a kind of method that general double stack terminals carry out network access.By increasing link switch equipment between the network that heterogeneous networks provider provides, the link switch equipment issues default route to the network terminal of management;The method, comprising: link switch equipment receives the network terminal in the network access request message for send when network access routing is unreachable according to the default route using accessed destination address, and the accessed destination address is the address Ipv6;Link switch equipment determines the corresponding address IPv4 of the accessed destination address;After link switch equipment carries out NAT64 conversion to the network access request message, the network access request message after NAT64 conversion is carried out to the corresponding address the IPv4 forwarding of the accessed destination address determine, described.

Description

A kind of Network Access Method and link switch equipment
Technical field
The present invention relates to network communication technology field more particularly to a kind of Network Access Methods and link switch equipment.
Background technique
With the fast development of the technologies such as mobile Internet, cloud computing, Internet of Things, all kinds of novel intelligent terminals, Internet of Things Terminal etc. continues to bring out, and exponentially type increases demand of the user to IP address.Global ip v4 (Internet Protocol Version 4, the fourth edition of Internet protocol) address announces to exhaust at the beginning of 2011, IPv6 (Internet Protocol Version 6, the sixth version of Internet protocol) basic bearing protocol as Next Generation Internet, the address with magnanimity is empty Between capacity and exclusive technical advantage, obtained the highest attention of industrial circle, quickly grown in recent years.
Network is in transition stage of the IPv4 to IPv6, two kinds of protocol stacks and the situation deposited for long-term existence at present.? In various transitional technologies, double-stack technology is the basis of other transitional technologies.Dual stack node supports IPv4 protocol stack and IPv6 simultaneously Protocol stack, support with the communication of IPv4 and IPv6 node, need when with the communication of IPv4 node using IPv4 protocol stack, when with IPv6 node is needed when communicating using IPv6 protocol stack.Dual stack node is supported to pass through DNS (Domain Name when accessing business System, domain name system) parsing result selection communication protocol stack, i.e., when domain name mapping result returns to the address IPv4 or IPv6, Node can be used corresponding protocol stack to communicate.
It may include following step as shown in Figure 1, being existing double stack terminals in the flow diagram for carrying out network access It is rapid:
S11, double stack terminals are respectively to the corresponding A record of DNS query domain name www.example.com and AAAA record.
When it is implemented, double stack terminals when carrying out DNS query, can request A record (address IPv4) and AAAA note simultaneously It records (address IPv6).
S12, DNS return to A record and AAAA record to double stack terminals simultaneously.
S13, double stack terminals, which are recorded using AAAA to the double stack servers of outer net, initiates TCP connection foundation request.
Double stack terminals are preferentially outside using the address IPv6 after the A record and AAAA record for receiving DNS while returning It nets double stack servers and initiates TCP connection request to carry out business access, i.e., establish connection to the double stack server requests of outer net.(TCP Flag bit is SYN).
It should be noted that if the access failure of IPv6 network, double stack terminals can initiate multiple connection attempts, specific to connect Number and time interval depend on terminal or browser.If DNS returns to multiple AAAA records, terminal can successively be attempted using every A AAAA record initiates TCP connection request to the double stack servers of outer net respectively.
S14, terminal, which are recorded using A to the double stack servers of outer net, initiates TCP connection foundation request.
It (records after double stack terminals initiate network access failure using AAAA record, then uses if there is multiple AAAA After all AAAA records all fail), it can return back to record using A and initiate TCP connection request (part browser can not retract), TCP flag bit is SYN.
The type of data packet that network layer device is initiated according to terminal is carried using corresponding agreement, is specifically included following Step:
The double stack servers of S15, outer net return to TCP connection request response to double stack terminals.
The double stack servers of outer net return to TCP SYN+ACK (confirmation) to double stack servers.
S16, double stack terminals send the confirmation of TCP connection request response to the double stack servers of outer net.
So far, double stack terminals and the double stack servers of outer net complete three-way handshake, establish TCP connection.
But due to security protection, technology etc., do not realized all between heterogeneous networks provider at present IPv6 interconnects, and only can be realized intercommunication using IPv4 agreement.Therefore when double stack terminals access external network using IPv6 When, it is possible that the case where routing is obstructed, and server is without response, at this point, double stack terminals needs are return back to and are carried out using IPv4 Network access is not available the resource of IPv6 access external network.Moreover, because the behavior mould of the preferred IPv6 of above-mentioned terminal Formula, the time that double stack terminal backoffs are needed to IPv4 is generally longer, and part terminal can not even retract, and reduces network access Efficiency and success rate.
To solve the above-mentioned problems, the prior art proposes happy eyeballs mechanism, can be to a certain extent The problem of optimizing double access delays of the stack terminal when IPv6 network is unavailable and access failure.Its working principles are as follows: double stacks Terminal after obtaining A record and AAAA record, while to the double stack servers of outer net send IPv4TCP connection requests and IPv6TCP connection request judges the working condition of two kinds of protocol stacks according to the response condition of server.It is available in IPv6 network When, it is preferential to select the IPv6 network carrying that just select the IPv4 network carrying only when IPv6 network is obstructed.When IPv6 network not When logical, terminal only receives the response of IPv4 network at the appointed time, then initiates IPv4 carrying, and detailed process is as shown in Figure 2:
S21, double stack terminals are recorded to the corresponding A record of DNS query nslookup www.example.com and AAAA.
S22, DNS return to A record and AAAA record to double stack terminals simultaneously.
S23, double stack terminals use AAAA record and A to record simultaneously and ask to the double stack servers initiation TCP connections foundation of outer net It asks.
S24, double stack terminals only receive the connection request that the double stack servers of outer net are returned for A record at the appointed time Response.
S25, double stack terminals send connection request response confirmation to the double stack servers of outer net.
When IPv4 and IPv6 network is all available, terminal obtains the network response of IPv4 and IPv6 simultaneously, and then terminal is sent out IPv6 carrying is played, and notifies IPv4 interrupting TCP service, as shown in figure 3, may comprise steps of:
S31, double stack terminals are recorded to the corresponding A record of DNS query nslookup www.example.com and AAAA.
S32, DNS return to A record and AAAA record to double stack terminals simultaneously.
S33, double stack terminals use AAAA record and A to record simultaneously and ask to the double stack servers initiation TCP connections foundation of outer net It asks.
S34, double stack terminals are respectively received the double stack servers of outer net at the appointed time and return for A record and AAAA record The connection request response returned.
S35, double stack terminals send the connection request response confirmation returned for AAAA record to the double stack servers of outer net, and It is sent to the double stack servers of outer net and responds termination messages for A record connection request.
Although Happy eyeballs can optimize IPv4 the and IPv6 protocol stack selection of double stack terminals to a certain extent, shorten Period of reservation of number when IPv6 routes obstructed, but its there is also following problems: 1, terminal or browser need support happy Eyeballs mechanism, major part terminal or browser are not supported still at present.2, for all business all simultaneously initiate IPv4 and The TCP connection of IPv6 is requested, and is increased extra data packet flow, has been aggravated the processing load of network and server.
Summary of the invention
The embodiment of the present invention provides a kind of Network Access Method and link switch equipment, to provide a kind of general double stacks The method that terminal carries out network access reduces the processing load of network and server.
The embodiment of the present invention provides a kind of Network Access Method, increases net between the network that heterogeneous networks provider provides Network conversion equipment, the link switch equipment issue default route to the network terminal of management;
The method, comprising:
The link switch equipment receives the network terminal and is carrying out network access road using accessed destination address By it is unreachable when according to the default route send network access request message, the accessed destination address is for Ipv6 Location;
The link switch equipment determines the corresponding address IPv4 of the accessed destination address;
After the link switch equipment carries out NAT64 conversion to the network access request message, to determining, described The corresponding address the IPv4 forwarding of accessed destination address carries out the network access request message after NAT64 conversion.
The embodiment of the present invention provides a kind of link switch equipment, is set between the network of heterogeneous networks provider offer;
The link switch equipment, comprising:
Release unit, for issuing default route to the network terminal of management;
Receiving unit is carrying out network access routing not using accessed destination address for receiving the network terminal The network access request message sent when reachable according to the default route, the destination address are the address Ipv6;
Determination unit, for determining the corresponding address IPv4 of the accessed destination address;
Converting unit, for carrying out NAT64 conversion to the network access request message;
Transmission unit, for the corresponding IPv4 of being determined to the determination unit, the accessed destination address Location forwarding carries out the network access request message after NAT64 conversion.
Network Access Method and link switch equipment provided in an embodiment of the present invention, in the net that heterogeneous networks provider provides Increase link switch equipment between network, link switch equipment is by issuing default route to the network terminal of management, in this way, terminal When IPv6 routing is unreachable, net address outside identification IPv6 is identified by link switch equipment, and complete network access accordingly.It is above-mentioned In the process, it can identify that network access is completed in the address outer net IPv6, supports Happy without terminal by link switch equipment Eyeballs mechanism;For outer net is accessed server, due to only needing to handle the utilization of link switch equipment transmission Therefore the network access request that the address IPv4 is sent can reduce the processing load of network and accessed server.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention can be by written explanation Specifically noted structure is achieved and obtained in book, claims and attached drawing.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes a part of the invention, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is that in the prior art, double stack terminals are in the flow diagram for carrying out network access;
Fig. 2 is the obstructed network browsing process schematic diagram of IPv6 network under Happy eyeballs mechanism in the prior art;
Fig. 3 be in the prior art, under Happy eyeballs mechanism IPv6 network and IPv4 network up to when network Browsing process schematic diagram;
Fig. 4 is network architecture schematic diagram in the embodiment of the present invention;
Fig. 5 is the implementation process diagram of Network Access Method in the embodiment of the present invention;
Fig. 6 is the interaction flow schematic diagram between double stack terminals and double stack servers in the embodiment of the present invention;
Fig. 7 is the structural schematic diagram of link switch equipment in the embodiment of the present invention.
Specific embodiment
In order to reduce the processing load of network and accessed server, the embodiment of the invention provides one kind to be not necessarily to terminal branch Hold Happy eyeballs mechanism, general Network Access Method.
Below in conjunction with Figure of description, preferred embodiment of the present invention will be described, it should be understood that described herein Preferred embodiment only for the purpose of illustrating and explaining the present invention and is not intended to limit the present invention, and in the absence of conflict, this hair The feature in embodiment and embodiment in bright can be combined with each other.
As shown in figure 4, for the schematic network structure in the embodiment of the present invention, it is mutual between different network providers Join intercommunication outlet setting link switch equipment, which can be newly added equipment, be also possible to existing network side Boundary's equipment is transformed.It interconnects since the network access between heterogeneous networks based on the address IPv6 is not carried out, Therefore, internal network go to external network IPv6 routing it is unreachable, i.e., when destination address be the address outer net IPv6 when, according to quilt The destination address matching of access causes to route unreachable less than corresponding route table items.For this problem, the embodiment of the present invention In, the network terminal of the link switch equipment into the internal network of self-management issues default route, i.e. the notice network terminal is set Set default route when routing unreachable.In this way, the network terminal carries out in network access procedure, according to accessed destination address If it is not matched to corresponding route table items for the address outer net Ipv6, default route will be matched, according to the default of setting Routing, network access request message will be forwarded to link switch equipment and handle.If the accessed address purpose Ipv6 is The address Intranet Ipv6 then can normally be accessed using the address IPv6.
It should be noted that in the embodiment of the present invention, internal network and external network be in contrast, can be by The network that different network providers provides.
It may include following as shown in figure 5, implementing the implementation process diagram of Network Access Method for link switch equipment Step:
S51, link switch equipment receive the network terminal and are carrying out network access routing not using accessed destination address The network access request message sent when reachable according to default route.
When it is implemented, the network terminal in the A record (address IPv4) for obtaining accessed server by DNS query and After AAAA records (address IPv6), network access preferentially is carried out using the address IPv6.I.e. in the network access request received The accessed destination address carried in message is the address outer net Ipv6.
S52, link switch equipment determine the accessed corresponding address IPv4 of destination address.
In the embodiment of the present invention, link switch equipment is after receiving network access request message, first according to wherein The accessed destination address carried searches its corresponding address IPv4 in local cache list, and determines the IPv4 found Address is the accessed corresponding address IPv4 of destination address.If the network terminal is the net initiated for the first time for the destination address Network access, then can not find its corresponding address IPv4 in local cache list.In this case, link switch equipment root The corresponding domain name of the destination address is looked into dns server is counter according to the destination address, i.e. link switch equipment utilizes the destination address Its corresponding domain names is inquired to dns server.Assuming that the domain names that inquiry obtains are www.exmple.com.Network turns The domain names that exchange device recycles inquiry to obtain its corresponding address IPv4 (A record, it is assumed that be to DNS query 100.10.10.2).Preferably, link switch equipment after inquiring the corresponding address IPv4 of the destination address, is locally delaying Deposit the corresponding relationship cached between the corresponding address IPv4 of the destination address in list.In this way, link switch equipment for Its corresponding address IPv4 can be directly searched in local cache list for the network access request of the destination address later , without being inquired again to DNS, thus, it is possible to further save network access time.
, can be according to the destination address in the embodiment of the present invention based on this, it is corresponding in local cache list to search its The address IPv4, if do not found, according to the destination address to DNS query its corresponding domain names, according to inquiring The domain names arrived its corresponding address Ipv4 to DNS query.
After S53, link switch equipment carry out NAT64 conversion to the network access request message that receives, to it is determining, The corresponding address the IPv4 forwarding of accessed destination address carries out the network access request message after NAT64 conversion.
When it is implemented, link switch equipment is after obtaining the corresponding address IPv4 of accessed destination address, it is right The network access request message received executes NAT64, i.e., carries out address and agreement to the network access request message received The source IP v6 address conversion carried in the network access request message received is in preconfigured IPv4 address pool by translation Any unassigned address IPv4, and destination address is converted to its corresponding address IPv4 determined in step S52, The network access request message after NAT64 conversion is carried out according to destination address (address the IPv4) forwarding being converted to.In addition, net The IPv4 network report that network access request message of the network conversion equipment after receiving accessed server for the conversion returns After text, it is converted into IPv6 network message, and be transmitted to the network terminal.To realize in accessed destination address When causing to route unreachable for the address outer net Ipv6, net address outside IPv6 is identified by conversion equipment, and anti-by the address IPv6 It checks and answers domain name and the address IPv4, carry out the purpose of network access by NAT64 later.
In order to be best understood from the embodiment of the present invention, below with the address of double stack terminals are as follows: the address IPv4: 210.242.18.10 the address IPv6: 2001:0E80:C90::10;Double stack server address are as follows: the address IPv4: 100.10.10.2, the address IPv6: 2408:DB8::2;NAT64 configuration of IP v4 address pool: for 218.207.242.185, to this The specific implementation process of inventive embodiments is illustrated.It is and double as shown in fig. 6, when initiating network access request for double stack terminals Interaction flow schematic diagram between stack server, comprising the following steps:
S61, link switch equipment issue default route to the Intranet network terminal.
Default route is configured link switch equipment by the network terminal for receiving default route.
S62, double stack terminals are recorded to the corresponding A record of DNS query domain name www.example.com and AAAA.
S63, DNS return to the corresponding A record of domain name www.example.com: 100.10.10.2 and AAAA to double stack terminals Record: 2408:DB8::2.
S64, double stack terminals, which initiate TCP connection using AAAA record, requests.
When it is implemented, the source address carried in the TCP connection request of transmission is 2001:0E80:C90::10, purpose Address is 2408:DB8::2, and since the destination address is outer net address, TCP connection request is routed to network forwarding equipment.
To DNS query, its is corresponding using the IPv6 destination address carried in TCP connection request for S65, link switch equipment Domain name.
S66, DNS return to the corresponding domain name www.example.com of IPv6 destination address to link switch equipment.
The domain name that S67, link switch equipment are returned using DNS its corresponding address IPv4 to DNS query.
S68, DNS return to the corresponding address IPv4: 100.10.10.2 to link switch equipment.
S69, link switch equipment carry out NAT64 conversion to the TCP connection request received.
TCP connection request after conversion is sent to double stack servers by S610, link switch equipment.
The source address wherein carried is 218.207.242.185, destination address are as follows: 100.10.10.2
S611, double stack servers return to TCP connection request response to link switch equipment.
The source address wherein carried are as follows: 100.10.10.2, destination address are as follows: 218.207.242.185.
TCP connection request response is converted to IPv6 format by S612, link switch equipment.
The source address carried in the response of TCP connection request is converted are as follows: 2408:DB8::2, destination address are converted to 2001:0E80:C90::10。
S613, link switch equipment request response to the TCP connection after the forwarding conversion of double stack terminals.
S614, double stack terminals send the confirmation for the response that TCP connection is requested to link switch equipment.
Wherein, the source address carried in the confirmation of the response of TCP connection request are as follows: 2001:0E80:C90::10, purpose Address are as follows: 2408:DB8::2.
S615, link switch equipment carry out NAT64 conversion to the confirmation for the response that TCP connection is requested.
The response of TCP connection request after conversion is sent to double stack servers by S616, link switch equipment.
It can be seen that the address Ipv6 can be automatically converted to by link switch equipment when IPv6 routing is unreachable IPv4 carries out network access.In Fig. 6, the network access for receiving double double stack servers of stack terminal access for the first time with the network equipment is asked It is illustrated for asking.
In above process, no matter terminal carries out network access using the address IPv4 or carries out network using the address IPv6 Access, network and accessed server one of only need to utilize the network access request initiated, therefore, energy for terminal Enough reduce the processing load of network and accessed server;On the other hand, Network Access Method provided in an embodiment of the present invention, i.e., Make the network terminal do not support Happy eyeballs mechanism also can by link switch equipment identify the address outer net IPv6, and according to This completes network access, and therefore, it is suitable for any network terminals.Meanwhile in the embodiment of the present invention, routed in IPv6 unreachable When, IPv4 is automatically converted to by link switch equipment and carries out network access, carries out net using the address IPv4 without retracting Network access, simplifies network browsing process, improves network access efficiency.
Based on the same inventive concept, a kind of link switch equipment is additionally provided in the embodiment of the present invention, due to above equipment The principle solved the problems, such as is similar to Network Access Method, therefore the implementation of above equipment may refer to the implementation of method, repetition Place repeats no more.
The network provided in different heterogeneous networks providers can be set in link switch equipment provided in an embodiment of the present invention Between, as shown in fig. 7, being the structural schematic diagram of link switch equipment provided in an embodiment of the present invention, comprising:
Release unit 71, for issuing default route to the network terminal of management.
Receiving unit 72, for receive the network terminal carry out network access routing using accessed destination address can not Up to when according to the default route send network access request message.
Wherein, the accessed destination address carried in the network access request message is the address outer net Ipv6.
Determination unit 73, for determining the corresponding address IPv4 of the accessed destination address.
Converting unit 74, for carrying out NAT64 conversion to the network access request message.
Specifically, converting unit 74, can be used for being converted to the source address carried in the network access request message Any address IPv4 in preconfigured IPv4 address pool, and the accessed mesh that will be carried in the network request message Address conversion be determine, the corresponding address IPv4 of the accessed destination address.
Transmission unit 75 turns for the corresponding address IPv4 of destination address determine to determination unit 73, accessed Hair carries out the network access request message after NAT64 conversion.
Wherein it is determined that unit 73, may include:
Subelement is searched, for searching the corresponding IPv4 of the accessed destination address in local cache list Location;
Determine subelement, the address IPv4 for will find is determined as the corresponding IPv4 of the accessed destination address Address.
When it is implemented, link switch equipment provided in an embodiment of the present invention can also include inquiry subelement, in which:
The inquiry subelement, if not found in local cache list for the lookup subelement described accessed The destination address corresponding address IPv4 when, which is inquired to domain name system DNS according to the accessed destination address The corresponding domain names in location;And according to the domain names inquired to the DNS query its corresponding address IPv4;
The determining subelement, the address IPv4 for being also used to determine that the inquiry subelement is arrived to the DNS query is institute State the corresponding address IPv4 of accessed destination address.
Preferably, link switch equipment provided in an embodiment of the present invention, can also include:
Cache unit, for stored in local cache list the accessed destination address with to the DNS query The corresponding relationship between the address IPv4 arrived.
When it is implemented, receiving unit 72, is also used to receive for the network access request after the progress NAT64 conversion The IPv4 network message that message returns;Converting unit 74 is also used to the IPv4 network message being converted to IPv6 network message; Transmission unit 75 is also used to forward the IPv6 network message to the network terminal.
For convenience of description, above each section is divided by function describes respectively for each module (or unit).Certainly, exist Implement to realize the function of each module (or unit) in same or multiple softwares or hardware when the present invention.
It should be understood by those skilled in the art that, the embodiment of the present invention can provide as method, system or computer program Product.Therefore, complete hardware embodiment, complete software embodiment or reality combining software and hardware aspects can be used in the present invention Apply the form of example.Moreover, it wherein includes the computer of computer usable program code that the present invention, which can be used in one or more, The computer program implemented in usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) produces The form of product.
The present invention be referring to according to the method for the embodiment of the present invention, the process of equipment (system) and computer program product Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates, Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device, so that counting Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one The step of function of being specified in a box or multiple boxes.
Although preferred embodiments of the present invention have been described, it is created once a person skilled in the art knows basic Property concept, then additional changes and modifications can be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as It selects embodiment and falls into all change and modification of the scope of the invention.
Obviously, various changes and modifications can be made to the invention without departing from essence of the invention by those skilled in the art Mind and range.In this way, if these modifications and changes of the present invention belongs to the range of the claims in the present invention and its equivalent technologies Within, then the present invention is also intended to include these modifications and variations.

Claims (10)

1. a kind of Network Access Method, which is characterized in that increase network conversion between the network that heterogeneous networks provider provides Equipment, the link switch equipment issue default route to the network terminal of management;And
The method, comprising:
The link switch equipment receives the network terminal and is carrying out network access routing not using accessed destination address The network access request message sent when reachable according to the default route, the accessed destination address are the address Ipv6;
The link switch equipment determines the corresponding address IPv4 of the accessed destination address;Determine the accessed mesh The corresponding address IPv4 in address, specifically include: it is corresponding to search the accessed destination address in local cache list The address IPv4;The address IPv4 found is determined as the corresponding address IPv4 of the accessed destination address;
After the link switch equipment carries out NAT64 conversion to the network access request message, it is interviewed to determining, described The corresponding address the IPv4 forwarding of the destination address asked carries out the network access request message after NAT64 conversion.
2. the method as described in claim 1, which is characterized in that if it is corresponding not find the accessed destination address When the address IPv4, further includes:
The corresponding domain names of the destination address are inquired to domain name system DNS according to the accessed destination address;And
According to the domain names inquired to the DNS query its corresponding address IPv4;
Determine that the address IPv4 arrived to the DNS query is the corresponding address IPv4 of the accessed destination address.
3. method according to claim 2, which is characterized in that further include:
It is being stored in local cache list between the accessed destination address and the address IPv4 arrived to the DNS query Corresponding relationship.
4. the method as described in claim 1, which is characterized in that carry out NAT64 conversion, tool to the network access request message Body includes:
The source address carried in the network access request message is converted into any in preconfigured IPv4 address pool The address IPv4, and the accessed destination address carried in the network access request message is converted into determine, institute State the corresponding address IPv4 of accessed destination address.
5. the method as described in Claims 1 to 4 any claim, which is characterized in that further include:
Receive the IPv4 network message returned for the network access request message after the progress NAT64 conversion;
The IPv4 network message is converted into IPv6 network message;
The IPv6 network message is forwarded to the network terminal.
6. a kind of link switch equipment, which is characterized in that be set between the network of heterogeneous networks provider offer;
The link switch equipment, comprising:
Release unit, for issuing default route to the network terminal of management;
Receiving unit, for receiving the network terminal unreachable using accessed destination address progress network access routing When according to the default route send network access request message, the destination address be the address Ipv6;
Determination unit, for determining the corresponding address IPv4 of the accessed destination address;
The determination unit, comprising: subelement is searched, for searching the accessed destination address in local cache list The corresponding address IPv4;Determine subelement, the address IPv4 for will find is determined as the accessed destination address pair The address IPv4 answered;
Converting unit, for carrying out NAT64 conversion to the network access request message;
Transmission unit turns for the corresponding address IPv4 of determining to the determination unit, the accessed destination address Hair carries out the network access request message after NAT64 conversion.
7. link switch equipment as claimed in claim 6, which is characterized in that the determination unit further includes inquiry subelement, Wherein:
The inquiry subelement, if not finding the accessed mesh in local cache list for the lookup subelement The corresponding address IPv4 in address when, which is inquired to domain name system DNS according to the accessed destination address The domain names answered;And according to the domain names inquired to the DNS query its corresponding address IPv4;
The determining subelement, the address IPv4 for being also used to determine that the inquiry subelement is arrived to the DNS query is the quilt The corresponding address IPv4 of the destination address of access.
8. link switch equipment as claimed in claim 7, which is characterized in that further include:
Cache unit, for storing the accessed destination address in local cache list and arriving to the DNS query Corresponding relationship between the address IPv4.
9. link switch equipment as claimed in claim 6, which is characterized in that
The converting unit, it is preconfigured specifically for being converted to the source address carried in the network access request message Any address IPv4 in IPv4 address pool, and the accessed destination that will be carried in the network access request message Location is converted to the corresponding address IPv4 of the accessed destination address determine, described.
10. the link switch equipment as described in claim 6~9 any claim, which is characterized in that
The receiving unit is also used to receive for the network access request message return after the progress NAT64 conversion IPv4 network message;
The converting unit is also used to the IPv4 network message being converted to IPv6 network message;
The transmission unit is also used to forward the IPv6 network message to the network terminal.
CN201410654804.3A 2014-11-17 2014-11-17 A kind of Network Access Method and link switch equipment Active CN105681249B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410654804.3A CN105681249B (en) 2014-11-17 2014-11-17 A kind of Network Access Method and link switch equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410654804.3A CN105681249B (en) 2014-11-17 2014-11-17 A kind of Network Access Method and link switch equipment

Publications (2)

Publication Number Publication Date
CN105681249A CN105681249A (en) 2016-06-15
CN105681249B true CN105681249B (en) 2019-09-13

Family

ID=56944581

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410654804.3A Active CN105681249B (en) 2014-11-17 2014-11-17 A kind of Network Access Method and link switch equipment

Country Status (1)

Country Link
CN (1) CN105681249B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110602263A (en) * 2019-08-21 2019-12-20 广东省广播电视网络股份有限公司 Hot content caching system and caching method
CN110535983B (en) * 2019-09-24 2022-08-16 锐捷网络股份有限公司 Message forwarding method and device
CN113315848B (en) * 2020-02-27 2023-04-21 阿里巴巴集团控股有限公司 Access control method, device and equipment
CN114124889B (en) * 2020-08-31 2023-04-28 华为技术有限公司 Method for determining service server address and communication device
CN112153753B (en) * 2020-09-24 2022-09-16 维沃移动通信有限公司 Network connection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043411A (en) * 2006-03-24 2007-09-26 华为技术有限公司 Method and system for realizing mobile VPN service in hybrid network
CN101197858A (en) * 2008-01-07 2008-06-11 杭州华三通信技术有限公司 Address translation method, device and router with the same
CN102148773A (en) * 2010-02-08 2011-08-10 中国联合网络通信集团有限公司 Method and system for converting IPv6 (Internet Protocol Version 6) protocol and IPv4 (Internet Protocol Version 4) protocol
CN102394947A (en) * 2011-10-31 2012-03-28 福建星网锐捷网络有限公司 Translation method, device and system and ALG device for IPv4 and IPv6 addresses

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9137199B2 (en) * 2012-02-27 2015-09-15 Microsoft Technology Licensing, Llc Stateful NAT64 function in a distributed architecture

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043411A (en) * 2006-03-24 2007-09-26 华为技术有限公司 Method and system for realizing mobile VPN service in hybrid network
CN101197858A (en) * 2008-01-07 2008-06-11 杭州华三通信技术有限公司 Address translation method, device and router with the same
CN102148773A (en) * 2010-02-08 2011-08-10 中国联合网络通信集团有限公司 Method and system for converting IPv6 (Internet Protocol Version 6) protocol and IPv4 (Internet Protocol Version 4) protocol
CN102394947A (en) * 2011-10-31 2012-03-28 福建星网锐捷网络有限公司 Translation method, device and system and ALG device for IPv4 and IPv6 addresses

Also Published As

Publication number Publication date
CN105681249A (en) 2016-06-15

Similar Documents

Publication Publication Date Title
CN102484639B (en) A method and host node for multiple NAT64 environments
CN105681249B (en) A kind of Network Access Method and link switch equipment
CN103051740B (en) Domain name analytic method, dns server and domain name analysis system
JP5607252B2 (en) Processing method, proxy processing agent, system and method for filling routing table of DHT client node, router, and DHT client node
CN104718733B (en) The method and system of packet-based identifier finger URL procotol (ILNP) load balance and Route Selection
US9882866B2 (en) Address allocating method, apparatus, and system
CN102790813B (en) Communication method as well as system and terminal equipment based on IPv6 (internet protocol version 6) network
CN104618243B (en) Method for routing, apparatus and system, Scheduling of Gateway method and device
CN103618801B (en) Method, equipment and the system of a kind of P2P resource-sharing
US8149840B2 (en) Method, system and processor for processing network address translation service
JP2003229856A (en) Communication equipment and communication control method
JP5324266B2 (en) Method for managing a request to obtain a peer identifier to access content stored in P2P mode, management device and network device related thereto
CN107580079A (en) A kind of message transmitting method and device
TWI469605B (en) Network address translation system and method
CN110225144A (en) Obtain and provide method, user equipment and the management server of service
CN110460641A (en) Data transmission method, apparatus and system
CN110213365B (en) User access request processing method based on user partition and electronic equipment
CN110324244A (en) A kind of method for routing and server based on Linux virtual server
WO2009146615A1 (en) A processing method, a system and a processor for network address translation service
CN105721622A (en) Method and device for achieving 6LoWPAN and IPv4 network interconnection
Trouva et al. Layer discovery in rina networks
JP4251148B2 (en) In-group communication method, system, and recording medium
CN104320373A (en) Protocol interworking device between application server and terminal and method for implementing the same
CN105208140A (en) Method used for sending data, apparatus and system thereof
CN115225606B (en) Domain name access method and system of cross-network protocol of container cloud platform

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant