CN105099928A - Dual-stack router and method for realizing bandwidth sharing - Google Patents

Dual-stack router and method for realizing bandwidth sharing Download PDF

Info

Publication number
CN105099928A
CN105099928A CN201410221910.2A CN201410221910A CN105099928A CN 105099928 A CN105099928 A CN 105099928A CN 201410221910 A CN201410221910 A CN 201410221910A CN 105099928 A CN105099928 A CN 105099928A
Authority
CN
China
Prior art keywords
internet protocol
end node
address
dual
distant
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.)
Granted
Application number
CN201410221910.2A
Other languages
Chinese (zh)
Other versions
CN105099928B (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.)
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 CN201410221910.2A priority Critical patent/CN105099928B/en
Publication of CN105099928A publication Critical patent/CN105099928A/en
Application granted granted Critical
Publication of CN105099928B publication Critical patent/CN105099928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A dual-stack router includes a query module, a conversion module and a transport module. The dual-stack router communicates with remote nodes through a first IP protocol interface and a second IP protocol interface. The query module queries an IP address of the objective remote node for confirming whether the objective remote node is a dual-stack node or not after the query module receives a resource acquisition request from a user terminal. The conversion module performs a corresponding protocol conversion according to the first IP protocol adopted by the resource acquisition request if the objective remote node is confirmed as the dual-stack node; at least a first linkage request and a second linkage request adopting the first IP protocol are established newly, and the second linkage request is converted into a third linkage request adopting the second IP protocol. The transport module transmits the first linkage request and the third linkage request through various interfaces, and establishes at least two linkages with the objective remote node so as to download all pieces of data of resource in a segmented manner. The present invention also provides a method for realizing bandwidth sharing. The dual-stack router and the method can realize bandwidth sharing by fully utilizing all interfaces of the router.

Description

Dual-stacker router and realize the method for bandwidth sharing
Technical field
The present invention relates to network communication field, particularly relate to a kind of by dual-stacker router distinct interface transmission data with the method for shared bandwidth and dual-stacker router.
Background technology
Along with the development of Internet technology and the universal of various computer equipment, existing available IPv4 address has been not enough to the needs meeting user, so IPv6 address is suggested as a kind of new solution.Deposit now at IPv6 and IPv4, many routers need to support IPv4 and IPv6, so create dual-stacker router simultaneously.Existing dual-stacker router has multiple network interface mostly, different interfaces uses different agreements and distributes certain bandwidth, can referred to as IPv4 interface or IPv6 interface.As packet header uses IPv4, then think that this packet is IPv4 packet, dual-stacker router is by this packet of IPv4 interface process; As packet header uses IPv6, then think that this packet is IPv6 packet, dual-stacker router is by this packet of IPv6 interface process.But this processing method only employs IPv4 interface or IPv6 interface, and cause the idle of another kind of interface, the bandwidth on total interface cannot be made full use of.
Summary of the invention
In view of this, the invention provides a kind of dual-stacker router, the total interface that can make full use of on router carries out data processing to realize bandwidth sharing.
In addition, the present invention also provides a kind of method of bandwidth sharing, and the total interface that can make full use of on dual-stacker router carries out data processing to realize bandwidth sharing.
The dual-stacker router that embodiment of the present invention provides, comprise the first internet protocol interface and the second internet protocol interface, dual-stacker router carries out the resource communicating to obtain needed for user terminal by the first internet protocol interface and the second internet protocol interface and distant-end node, dual-stacker router comprises enquiry module, modular converter and transport module.Enquiry module, when receiving the acquisition request conforms of user terminal, carries out IP address lookup to confirm that whether object distant-end node is support the first internet protocol to negotiate peace the dual stack node of the second Internet Protocol simultaneously to the object distant-end node pointed by acquisition request conforms; Modular converter is when confirming that object distant-end node is dual stack node, the type of the first Internet Protocol used according to acquisition request conforms carries out corresponding Internet Protocol conversion, described protocol conversion comprises: the first connection request of newly-built at least two use the first Internet Protocols and the second connection request, and the Internet Protocol conversion that the second connection request uses is obtained to the 3rd connection request of use second Internet Protocol; Transport module sends the first connection request and the 3rd connection request that use corresponding Internet Protocol respectively by least one first internet protocol interface and at least one second internet protocol interface, set up at least two with object distant-end node to be connected, burst downloads all data slice of described resource from object distant-end node, and data slice quantity is at least two.
Preferably, the internet that modular converter carries out is changed and is specifically comprised: when the first Internet Protocol is into IPv4 agreement, second connection request is converted to the 3rd connection request of use second Internet Protocol of address for the purpose of described object distant-end node IPv6 address, wherein, the second Internet Protocol is IPv6 agreement; When the first Internet Protocol is IPv6 agreement, the second connection request is converted to the 3rd connection request of use second Internet Protocol of address for the purpose of described object distant-end node IPv4 address, wherein, the second Internet Protocol is IPv4 agreement.
Preferably, enquiry module is when inquiring object distant-end node and only having the first IP address or the second IP address, judge that object distant-end node is as the single stack node only supporting the first Internet Protocol or the second Internet Protocol, when inquiring existing first IP address of object distant-end node and also having the second IP address, judge that object distant-end node is as dual stack node.
Preferably, transport module also for all data slice are combined into described resource, and removes multiple connection.Embodiment of the present invention the method realizing bandwidth sharing is provided, be applied in dual-stacker router, dual-stacker router is comprised the first internet protocol interface with the second internet protocol interface and is carried out the resource that communicates to obtain needed for user terminal by the first internet protocol interface and described second internet protocol interface and distant-end node.The method realizing bandwidth sharing comprises the following steps: when receiving the acquisition request conforms of user terminal, carries out IP address lookup to confirm that whether object distant-end node is support the first internet protocol to negotiate peace the dual stack node of the second Internet Protocol simultaneously to the object distant-end node pointed by acquisition request conforms; When confirming that object distant-end node is dual stack node, the type of the first Internet Protocol used according to acquisition request conforms carries out corresponding Internet Protocol conversion, described protocol conversion comprises: the first connection request of newly-built at least two use the first Internet Protocols and the second connection request, and the Internet Protocol conversion that the second connection request uses is obtained to the 3rd connection request of use second Internet Protocol; The first connection request and the 3rd connection request that use corresponding Internet Protocol is sent respectively by least one first internet protocol interface and at least one second internet protocol interface, set up at least two with object distant-end node to be connected, burst downloads all data slice of described resource from object distant-end node, and data slice quantity is at least two.
Preferably, described Internet Protocol conversion comprises the following steps: when the first Internet Protocol is into IPv4 agreement, second connection request is converted to the 3rd connection request of use second Internet Protocol of address for the purpose of object distant-end node IPv6 address, wherein, described second Internet Protocol is IPv6 agreement; When the first Internet Protocol is IPv6 agreement, the second connection request is converted to the 3rd connection request of use second Internet Protocol of address for the purpose of object distant-end node IPv4 address, wherein, the second Internet Protocol is IPv4 agreement.
Preferably, described method is further comprising the steps of: when inquiring object distant-end node and only having the first IP address or the second Internet Protocol address, judges that object distant-end node is as the single stack node only supporting the first Internet Protocol or the second Internet Protocol; When inquiring existing first IP address of object distant-end node and also having the second IP address, judge that object distant-end node is as described dual stack node.
Preferably, described method is further comprising the steps of: all data slice are combined into described resource; Remove multiple connection.
The dual-stacker router provided in embodiment of the present invention and realize the method for bandwidth sharing, by the object distant-end node of inquiring user terminal request resource whether also simultaneously for dual stack node and when judging that object distant-end node is dual stack node, changed by the Internet Protocol used connection request, utilize the different internet protocol interfaces of dual-stacker router to carry out transfer of data simultaneously, burst is recombinated after obtaining resource requirement again, take full advantage of each class interface of dual-stacker router thus, avoid the idle of interface, have shared the bandwidth distributing to each interface better.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram of dual-stacker router one execution mode of the present invention.
Fig. 2 is the functional block diagram of dual-stacker router one execution mode in Fig. 1.
Fig. 3 is the schematic diagram that in an embodiment of the present invention, dual-stacker router obtains distant-end node data.
Fig. 4 is the schematic diagram that in another execution mode of the present invention, dual-stacker router obtains distant-end node data.
Fig. 5 is the functional block diagram of another execution mode of dual-stacker router in the present invention.
Fig. 6 is the flow chart of dual-stacker router Gains resources in an embodiment of the present invention.
Fig. 7 is the flow chart that in an embodiment of the present invention, dual-stacker router realizes inquiry distant-end node IP address.Main element symbol description
Dual-stacker router 10
Distant-end node 20,22,24
User terminal 30
Processor 101
Storage medium 102
Enquiry module 1021
Modular converter 1022
Transport module 1023
Database 1024
Following embodiment will further illustrate the present invention in conjunction with above-mentioned accompanying drawing.
Embodiment
Fig. 1 is the applied environment schematic diagram of dual-stacker router one execution mode of the present invention.In the present embodiment, user terminal user terminal 30 is by dual-stacker router 10, and via communications such as internet and distant-end nodes 20,22,24, distally node obtains resource requirement.Such as, user terminal user terminal 30 can send to dual-stacker router 10 request that destination address is distant-end node 20, resource on request distant-end node 20, dual-stacker router is that user terminal distally node 20 sends to user terminal 30 after Gains resources according to the destination address of request.Herein, destination address can be that the first Internet Protocol address of distant-end node 20 is as IPv4 address, also can be distant-end node 20 and Internet Protocol address as IPv6 address, can also be the domain name (DomainNameSystem, DNS) of distant-end node 20.Below, for convenience of describing, being the request of IPv4 address for destination address, referred to as IPv4 request, being the request of IPv6 address for destination address, asking referred to as IPv6.
It should be noted that, in embodiments of the present invention, dual-stacker router 10 supports that Internet Protocol is as IPv4 agreement and IPv6 agreement simultaneously, and there is multiple different wan interface, each interface supports that different agreements is as IPv4 or IPv6, in this article, to the wan interface supporting IPv4, describe with IPv4 interface, to the wan interface supporting IPv6, describe with IPv6 interface.In description later, all support that IPv4 agreement and IPv6 agreement are described for dual-stacker router 10, in other embodiments, dual-stacker router 10 also can be support other Internet Protocols simultaneously, does not limit herein to this simultaneously.
It should be noted that, in embodiments of the present invention, distant-end node can be multiple servers be connected in networking, PC or other electronic equipments, only lists three herein for example.
Refer to Fig. 2, be depicted as the functional block diagram of dual-stacker router 10 1 execution mode of the present invention.Dual-stacker router 10 comprises enquiry module 1021, modular converter 1022, transport module 1023 and database 1024.
When enquiry module 1021 is for requiring when the connection request receiving user terminal 30 from object distant-end node downloaded resources, IP address lookup is carried out to confirm whether object distant-end node supports the two agreement of IPv4 and IPv6 to object distant-end node.After enquiry module 1021 receives the request of user terminal 30, first the destination address of request bag is judged, if destination address is a domain name addresses, then directly inquire about IP address corresponding to object distant-end node by DNSquery (DNS query) and judge whether distant-end node is dual stack node according to Query Result, herein, IP address can comprise IPv4 address and IPv6 address.When Query Result only has IPv4 address or IPv6 address, then illustrating that this distant-end node only supports IPv4 agreement or IPv6 agreement, is single stack node.When also there is IPv6 address the existing IPv4 address of Query Result, then illustrating that this distant-end node supports the two agreement of IPv4/IPv6, is dual stack node.If the destination address of request bag is the IPv4 address or IPv6 address determined, then inquire about the IP address of correspondence corresponding to object distant-end node by class DNSquery and judge whether distant-end node is dual stack node, and deterministic process is identical with the judgement of above-mentioned DNS query process according to Query Result.After enquiry module 1021 obtains all IP addresses of object distant-end node, all IP addresses, object distant-end node and the download management of setting up for described request are associated, be recorded in database 1024, whether send request to a certain IP according to User Defined strategy decision.
Herein, class DNS query is self-defined IP query method, adopt the method similar with DNS query, when router needs to carry out class DNS query to a certain distant-end node of object, the IP information of a UDP bag in order to inquire about this distant-end node can be sent to 53 ports of IPv4 or the IPv6 address of this distant-end node acquired (also can be the port that other are subscribed).Class DNS query and DNS query difference its be that DNSqueryresponse when needing the DNSquery sent and respond does corresponding expansion.For DNSquery, corresponding expansion need be done in the flags section (mark) of UDP message and questions (problem of inquiry) part, normal DNSquery can be distinguished.For DNSqueryresponse, then need do corresponding expansion at the flags of UDP heading (mark), questions (problem of inquiry) and answer (response) part, wherein, answer part must comprise the IP protocol type and corresponding IP address that this node supports, also can comprise other information as network type, operator's informaiton etc.In embodiments of the present invention, distant-end node and dual-stacker router 10 all support this IP query method.
Modular converter 1022 is for carrying out IPv4/IPv6 or IPv6/IPv4 conversion to request bag.When the connection request carrying out user terminal that modular converter 1022 receives is IPv4 request, modular converter 1022 is changed connection request via enquiry module 1021 Query Result.If object distant-end node is single stack node, then modular converter is without the need to changing connection request, and dual-stacker router 10 normally works, and newly-built corresponding IPv4 request downloads resource requirement by IPv4 interface from object distant-end node.If object distant-end node is dual stack node, then newly-built at least two IPv4 request of modular converter 1022 is used for object distant-end node request resource requirement, and one of them IPv4 request is converted to the IPv6 request of address for the purpose of object distant-end node IPv6 address, can use IPv4 interface and IPv6 interface when subsequent transmission module 1023 carries out resource downloading simultaneously.When the connection request carrying out user terminal that modular converter 1022 receives is IPv6 request, the transfer process of modular converter 1022 is identical with said process, and what its difference was only that now modular converter 1022 place does is converted to: the IPv4 request IPv6 request to object distant-end node request resource being converted to address for the purpose of object distant-end node IPv4 address.
Transport module 1023 is for managing from transfer of data during object distant-end node downloaded resources by distinct interface.For downloaded resources on user terminal 30 distally node 20 (supposing that distant-end node 20 is for dual stack node), dual-stacker router is by burst downloading data on multiple IPv4 and IPv6 port distally node, user terminal is sent to after more each data assemblies being become resource, resource is divided into two data slice in present embodiment, i.e. data slice 1 and data slice 2.Carry out in two kinds of situation below describing.
As the transfer of data schematic diagram that Fig. 3 is when the request of user terminal transmission is IPv4 request.Session 1 is the session task that user terminal is set up, in order to ask the resource on distant-end node 20.Session 1 uses IPv4 to ask.When transport module 1023 receives the IPv4 request of session 1, corresponding IPv4 interface is used to send the newly-built IPv4 request of a modular converter 1022, ask the response bag carrying out with distant-end node 20 being connected to obtain comprising data slice 1, enquiry module 1021 obtains the IPv6 address of distant-end node 20 correspondence simultaneously, the newly-built IPv4 that another associates with session 1 of modular converter 1022 asks to obtain data slice 2, by IPv4/IPv6 conversion, another newly-built IPv4 request is converted to the IPv6 request of address for the purpose of distant-end node 20IPv6 address, transport module 1023 re-uses corresponding IPv6 interface and sends this IPv6 and ask, request is connected with distant-end node 20, obtain the response comprising data slice 2.Since then, dual-stacker router 10 obtain user terminal 30 ask all data slice of resource of downloading and data slice 1 and data slice 2, transport module 1023 is sent to user terminal after data slice 1 and 2 being combined, and removes as this downloads all connections of setting up.
As the transfer of data schematic diagram that Fig. 4 is when the request of user terminal transmission is IPv6 request.Session 2 is session tasks that user terminal is set up, in order to ask the resource on distant-end node 20.Session 2 uses IPv6 to ask.When transport module 1023 receives the IPv6 request of session 2, corresponding IPv46 interface is used to send the newly-built IPv6 request of a modular converter 1022, request is connected with distant-end node 20, obtain the response comprising data slice 1, enquiry module 1021 obtains the IPv4 address of distant-end node 20 correspondence simultaneously, the newly-built IPv6 that another associates with session 2 of modular converter 1022 asks to obtain data slice 2, by IPv4/IPv6 conversion, newly-built IPv6 request is converted to the IPv4 request of address for the purpose of distant-end node IPv4 address, transport module 1023 re-uses corresponding IPv4 interface and sends this IPv4 and ask, request is connected with distant-end node 20, to obtain the response bag comprising data slice 2.Since then, dual-stacker router 10 obtain user terminal 30 ask all data slice of resource of downloading and data slice 1 and data slice 2, transport module 1023 is sent to user terminal after data slice 1 and 2 being combined, and removes as this downloads all connections of setting up.
Only to being divided into by resource requirement two data slice to explain in present embodiment, in other embodiments, if there is more data sheet, the IPv4 request of the newly-built respective numbers of its 10 foundation data slice quantity of two stack route or IPv6 request, the quantity of foundation IPv4 interface and IPv6 interface carries out the download of conversion and data slice according to the method described above, does not make repeated description at this.
Refer to Fig. 5, be depicted as the functional block diagram of another execution mode of dual-stacker router 10 in the present invention.Dual-stacker router 10 comprises enquiry module 1021, modular converter 1022, transport module 1023, database 1024, processor 101 and storage medium 102.Module 1021 ~ 1024 is for being stored in the executable program in storage medium 102, and function is consistent with the description in Fig. 2.
Refer to Fig. 6, shown in be the flow chart of dual-stacker router 10 Gains resources in an embodiment of the present invention.In the present embodiment, the method is realized by the modules shown in Fig. 2 or Fig. 5.
In step S600, when receiving the request of user terminal 30, enquiry module 1021 pairs of object distant-end nodes carry out IP address lookup to confirm whether object distant-end node supports the two agreement of IPv4 and IPv6.After enquiry module 1021 receives the request of user terminal 30, first judge the destination address of request bag, according to destination address to object distant-end node DNS query or class DNS query, to obtain all IP addresses of object distant-end node.When Query Result only has IPv4 address or IPv6 address, then illustrating that this distant-end node only supports IPv4 agreement or IPv6 agreement, is single stack node.When also there is IPv6 address the existing IPv4 address of Query Result, then illustrating that this distant-end node supports the two agreement of IPv4/IPv6, is dual stack node.
In step S602, modular converter 1022 carries out corresponding conversion operations according to the type of the type carrying out the connection request of user terminal received and object distant-end node.If object distant-end node is single stack node, then modular converter is without the need to changing connection request, and dual-stacker router 10 normally works, by IPv4 interface or IPv6 interface send corresponding IPv4 ask or IPv6 request from object distant-end node download resource requirement.If object distant-end node is dual stack node, then modular converter 1022 according to the connection request of user terminal the newly-built corresponding connection request of type and do corresponding conversion.When the connection request carrying out user terminal that modular converter 1022 receives is IPv4 request, then newly-built at least two IPv4 request of modular converter 1022 is used for object distant-end node request resource requirement, and one of them IPv4 request is converted to the IPv6 request of address for the purpose of object distant-end node IPv6 address, can use IPv4 interface and IPv6 interface when subsequent transmission module 1023 carries out resource downloading simultaneously.When the connection request carrying out user terminal that modular converter 1022 receives is IPv6 request, the transfer process of modular converter 1022 is identical with said process, and what its difference was only that now modular converter 1022 place does is converted to: the IPv4 request IPv6 request to object distant-end node request resource being converted to address for the purpose of object distant-end node IPv4 address.
In step S604, dual-stacker router 10 by burst downloading data on multiple IPv4 and IPv6 port distally node, then sends to user terminal after each data assemblies is become resource.In the present embodiment to carry out from Gains resources on dual stack node distant-end node 20 (being divided into data slice 1 and data slice 2) describing, for the situation of single stack node, it normally works for dual-stacker router 10, so be not described herein.When the request carrying out user terminal 30 that dual-stacker router 10 receives is IPv4 request, the IPv4 that transport module 1023 uses corresponding IPv4 interface to send by modular converter is newly-built asks, ask the response bag carrying out with distant-end node 20 being connected to obtain comprising data slice 1, enquiry module 1021 obtains the IPv6 address of distant-end node 20 correspondence by inquiry simultaneously, modular converter 1022 another IPv4 newly-built asks to obtain data slice 2, by IPv4/IPv6 conversion, another newly-built IPv4 request is converted to the IPv6 request of address for the purpose of distant-end node 20IPv6 address, transport module 1023 re-uses corresponding IPv6 interface and sends this IPv6 and ask, request is connected with distant-end node 20, obtain the response comprising data slice 2.Since then, dual-stacker router 10 obtain user terminal 30 ask all data slice of resource of downloading and data slice 1 and data slice 2, transport module 1023 is sent to user terminal after data slice 1 and 2 being combined, and removes as this downloads all connections of setting up.When the request carrying out user terminal 30 that dual-stacker router 10 receives is IPv6 request, its operation principle and said process are similar, and difference is only done being transformed to and IPv6 request is converted to IPv4 asks, and does not make repeated description at this.
Refer to Fig. 7, be depicted as dual-stacker router in an embodiment of the present invention and realize the flow chart of inquiry distant-end node IP address.In the present embodiment, the method is realized by the modules shown in Fig. 2 or Fig. 5.
In step S700, after enquiry module 1021 receives the request of user terminal 30, enter step S702, the destination address of request bag is judged, if destination address is a domain name addresses, then enter step S704, directly inquire about IPv4/IPv6 address corresponding to object distant-end node by DNSquery (DNS query).If the destination address of request bag is not domain name addresses, then enter step S712 or S714.
In step S706, when Query Result only has IPv6 address, then entering step S728, judge that this distant-end node only supports IPv6 agreement, is single stack node.Similar, in step S710, when Query Result only has IPv4 address, then entering step S724, judge that this distant-end node only supports IPv4 agreement, is single stack node.
In step S708, when also there is IPv6 address the existing IPv4 address of Query Result, then enter step S726, judging that this distant-end node supports the two agreement of IPv4/IPv6, is dual stack node.
In step S712, if the destination address carrying out the request of user terminal 30 is an IPv6 address, then enter step S716, send an IP querying command to object distant-end node i.e. this IPv6 address and enter step S720.
In step S714, if the destination address carrying out the request of user terminal 30 is an IPv4 address, then enter step S718, send an IP querying command to object distant-end node i.e. this IPv4 address and enter step S724.
In step S720, the response of object distant-end node is inquired about, if when including the IPv4 address of object distant-end node in responding, the existing IPv6 address of this distant-end node is described, also IPv4 address is had, enter step S726 thus, judging that this distant-end node supports the two agreement of IPv4/IPv6, is dual stack node.If do not have the IPv4 address of object distant-end node in responding, illustrating that this distant-end node only has IPv6 address, enter step S728, judge that this distant-end node only supports IPv6 agreement, is single stack node.
In step S724, the response of object distant-end node is inquired about, if when including the IPv6 address of object distant-end node in responding, the existing IPv4 address of this distant-end node is described, also IPv6 address is had, enter step S726 thus, judging that this distant-end node supports the two agreement of IPv4/IPv6, is dual stack node.If do not have the IPv6 address of object distant-end node in responding, illustrating that this distant-end node only has IPv4 address, enter step S724, judge that this distant-end node only supports IPv4 agreement, is single stack node.
Herein, the IP querying command mentioned in step S716 and S718 is the order of a class DNS query, for the self-defined IP query method of the present invention, adopt the method similar with DNS query, when router needs to carry out class DNS query to a certain distant-end node of object, the IP information of a UDP bag in order to inquire about this distant-end node can be sent to 53 ports of IPv4 or the IPv6 address of this distant-end node acquired (also can be the port that other are subscribed).Class DNS query and DNS query difference its be that DNSqueryresponse when needing the DNSquery sent and respond does corresponding expansion.For DNSquery, corresponding expansion need be done in the flags section (mark) of UDP message and questions (problem of inquiry) part, normal DNSquery can be distinguished.For DNSqueryresponse, then need do corresponding expansion at the flags of UDP heading (mark), questions (problem of inquiry) and answer (response) part, wherein, answer part must comprise the IP protocol type and corresponding IP address that this node supports, also can comprise other information as network type, operator's informaiton etc.In embodiments of the present invention, distant-end node and dual-stacker router 10 all support this IP query method.
As can be seen here, the dual-stacker router 10 provided in embodiment of the present invention and the method realizing bandwidth sharing thereof, by the object distant-end node of inquiring user terminal 30 request resource whether also simultaneously for dual stack node and when judging that object distant-end node is dual stack node, by carrying out IPv6/IPv4 conversion to IPv4/IPv6, utilize the IPv4/IPv6 interface of dual-stacker router to carry out transfer of data simultaneously, burst is recombinated after obtaining resource requirement again, take full advantage of each class interface of dual-stacker router thus, avoid the idle of interface, have shared the bandwidth distributing to each interface better.
Above execution mode is only in order to illustrate technical scheme of the present invention and unrestricted, although with reference to above execution mode to invention has been detailed description, those of ordinary skill in the art is to be understood that, can modify to technical scheme of the present invention or equivalent replacement, and not depart from the spirit and scope of technical solution of the present invention.

Claims (8)

1. a dual-stacker router, comprise the first internet protocol interface and the second internet protocol interface, described dual-stacker router carries out the resource communicating to obtain needed for user terminal by described first internet protocol interface and the second internet protocol interface and distant-end node, it is characterized in that, described dual-stacker router comprises:
Enquiry module, for when receiving the acquisition request conforms of described user terminal, IP address lookup is carried out to confirm that whether described object distant-end node is support the first internet protocol to negotiate peace the dual stack node of the second Internet Protocol simultaneously to the object distant-end node pointed by described acquisition request conforms;
Modular converter, for when confirming that described object distant-end node is described dual stack node, the type of described first Internet Protocol used according to described acquisition request conforms carries out corresponding Internet Protocol conversion, described protocol conversion comprises: the first connection request of newly-built at least two described first Internet Protocols of use and the second connection request, and the Internet Protocol conversion that described second connection request uses is obtained to the 3rd connection request using described second Internet Protocol;
Transport module, for being sent described first connection request and described 3rd connection request that use corresponding Internet Protocol respectively by the second internet protocol interface described in the first internet protocol interface described at least one and at least one, set up at least two with described object distant-end node to be connected, burst downloads all data slice of described resource from described object distant-end node, and described data slice quantity is at least two.
2. dual-stacker router as claimed in claim 1, it is characterized in that, the internet that described modular converter carries out is changed and is specifically comprised: when described first Internet Protocol is into IPv4 agreement, described second connection request is converted to the 3rd connection request of described second Internet Protocol of use of address for the purpose of described object distant-end node IPv6 address, wherein, described second Internet Protocol is IPv6 agreement; When described first Internet Protocol is IPv6 agreement, described second connection request is converted to the 3rd connection request of described second Internet Protocol of use of address for the purpose of described object distant-end node IPv4 address, wherein, described second Internet Protocol is IPv4 agreement.
3. dual-stacker router as claimed in claim 1, it is characterized in that, described enquiry module is when inquiring described object distant-end node and only having the first IP address or the second IP address, judge that described object distant-end node is as the single stack node only supporting described first Internet Protocol or described second Internet Protocol, when inquiring existing first IP address of described object distant-end node and also having the second IP address, judge that described object distant-end node is as described dual stack node.
4. dual-stacker router as claimed in claim 1, it is characterized in that, described transport module also for described all data slice are combined into described resource, and removes described multiple connection.
5. one kind realizes the method for bandwidth sharing, be applied in dual-stacker router, described dual-stacker router is comprised the first internet protocol interface with the second internet protocol interface and is carried out the resource that communicates to obtain needed for user terminal by described first internet protocol interface and described second internet protocol interface and distant-end node, it is characterized in that, described method comprises:
When receiving the acquisition request conforms of described user terminal, IP address lookup is carried out to confirm that whether described object distant-end node is support the first internet protocol to negotiate peace the dual stack node of the second Internet Protocol simultaneously to the object distant-end node pointed by described acquisition request conforms;
When confirming that described object distant-end node is described dual stack node, the type of described first Internet Protocol used according to described acquisition request conforms carries out corresponding Internet Protocol conversion, described protocol conversion comprises: the first connection request of newly-built at least two described first Internet Protocols of use and the second connection request, and the Internet Protocol conversion that described second connection request uses is obtained to the 3rd connection request using described second Internet Protocol;
Described first connection request and described 3rd connection request that use corresponding Internet Protocol is sent respectively by the second internet protocol interface described in the first internet protocol interface described at least one and at least one, set up at least two with described object distant-end node to be connected, burst downloads all data slice of described resource from described object distant-end node, and described data slice quantity is at least two.
6. method as claimed in claim 5, is characterized in that, described Internet Protocol conversion comprises:
When described first Internet Protocol is IPv4 agreement, described second connection request is converted to the 3rd connection request of described second Internet Protocol of use of address for the purpose of described object distant-end node IPv6 address, wherein, described second Internet Protocol is IPv6 agreement;
When described first Internet Protocol is IPv6 agreement, described second connection request is converted to the 3rd connection request of described second Internet Protocol of use of address for the purpose of described object distant-end node IPv4 address, wherein, described second Internet Protocol is IPv4 agreement.
7. method as claimed in claim 5, it is characterized in that, described method also comprises:
When inquiring described object distant-end node and only having the first IP address or the second IP address, judge that described object distant-end node is as the single stack node only supporting described first Internet Protocol or described second Internet Protocol;
When inquiring existing first IP address of described object distant-end node and also having the second IP address, judge that described object distant-end node is as described dual stack node.
8. method as claimed in claim 5, it is characterized in that, described method also comprises:
Described all data slice are combined into described resource; And
Remove described multiple connection.
CN201410221910.2A 2014-05-23 2014-05-23 Dual-stacker router and its method for realizing bandwidth sharing Active CN105099928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410221910.2A CN105099928B (en) 2014-05-23 2014-05-23 Dual-stacker router and its method for realizing bandwidth sharing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410221910.2A CN105099928B (en) 2014-05-23 2014-05-23 Dual-stacker router and its method for realizing bandwidth sharing

Publications (2)

Publication Number Publication Date
CN105099928A true CN105099928A (en) 2015-11-25
CN105099928B CN105099928B (en) 2019-01-25

Family

ID=54579513

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410221910.2A Active CN105099928B (en) 2014-05-23 2014-05-23 Dual-stacker router and its method for realizing bandwidth sharing

Country Status (1)

Country Link
CN (1) CN105099928B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277477A (en) * 2008-04-29 2008-10-01 华为技术有限公司 Method, apparatus and system for equalizing flux
CN101316272A (en) * 2008-07-09 2008-12-03 南京邮电大学 Multi-protocol layer interpretation method for constructing hybrid network of internet protocol version four and version six
CN101610223A (en) * 2009-08-04 2009-12-23 杭州华三通信技术有限公司 Send the method and apparatus of IPv4 flow in a kind of IPv6 network
US20140064057A1 (en) * 2012-08-30 2014-03-06 Adva Ag Optical Networking Method for managing services in a generalized-multi-protocol label switching, gmpls, controlled network
CN103685043A (en) * 2012-09-19 2014-03-26 国基电子(上海)有限公司 Router, network connection recovery system and network connection recovery method
TW201414253A (en) * 2012-09-18 2014-04-01 Hon Hai Prec Ind Co Ltd Network address translation system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101277477A (en) * 2008-04-29 2008-10-01 华为技术有限公司 Method, apparatus and system for equalizing flux
CN101316272A (en) * 2008-07-09 2008-12-03 南京邮电大学 Multi-protocol layer interpretation method for constructing hybrid network of internet protocol version four and version six
CN101610223A (en) * 2009-08-04 2009-12-23 杭州华三通信技术有限公司 Send the method and apparatus of IPv4 flow in a kind of IPv6 network
US20140064057A1 (en) * 2012-08-30 2014-03-06 Adva Ag Optical Networking Method for managing services in a generalized-multi-protocol label switching, gmpls, controlled network
TW201414253A (en) * 2012-09-18 2014-04-01 Hon Hai Prec Ind Co Ltd Network address translation system and method
CN103685043A (en) * 2012-09-19 2014-03-26 国基电子(上海)有限公司 Router, network connection recovery system and network connection recovery method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
童振新: "一种IPv4/IPv6混合网络下P2P直播系统资源共享方法", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Also Published As

Publication number Publication date
CN105099928B (en) 2019-01-25

Similar Documents

Publication Publication Date Title
US8457014B2 (en) Method for configuring control tunnel and direct tunnel in IPv4 network-based IPv6 service providing system
US10659430B2 (en) Systems and methods for dynamic network address modification related applications
US11025497B2 (en) Network fabric topology expansion and self-healing devices
US20060015513A1 (en) System, network entities and computer programs for configuration management of a dynamic host configuration protocol framework
US7673061B2 (en) Method and apparatus for neighborhood discovery across disparate point-to-point networks
CN103209108B (en) A kind of route generating method based on DVPN and equipment
CN105227466B (en) Communication processing method and device
US9467374B2 (en) Supporting multiple IEC-101/IEC-104 masters on an IEC-101/IEC-104 translation gateway
EP2451125A1 (en) Method and system for realizing network topology discovery
CN103618801A (en) Method, device and system for sharing P2P (Peer-to-Peer) resources
MXPA04007647A (en) Method and apparatus for parameter borrowing for network address translator configuration.
CN101345657B (en) Method and system for cluster management of multiple network elements based on simple network management protocol
US20140372499A1 (en) Methods and Systems for Enabling NAT Traversal
WO2018149701A1 (en) Method for an improved deployment and use of network nodes of a switching fabric of a data center or within a central office point of delivery of a broadband access network of a telecommunications network
CN101656762B (en) Method, apparatus and system for transmitting domain name server information
CN104935677B (en) A kind of NAT64 resource acquiring method and acquisition/distributor
EP2124397A1 (en) A method for transfering the ip transmission session and the equipment whereto
US20060002384A1 (en) Network system and connecting method thereof
WO2008069504A1 (en) Method for configuring control tunnel and direct tunnel in ipv4 network-based ipv6 service providing system
CN105099928A (en) Dual-stack router and method for realizing bandwidth sharing
JP6898120B2 (en) Network system, network system address resolution method, and base-side connection device
JP5054666B2 (en) VPN connection device, packet control method, and program
US20140351453A1 (en) Node in a Network
US20140379785A1 (en) Server Communication
Igulu et al. IPV6: Strengths and Limitations

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