CN102724171A - Ipv4/ipv6 http protocol conversion method - Google Patents

Ipv4/ipv6 http protocol conversion method Download PDF

Info

Publication number
CN102724171A
CN102724171A CN2011101495879A CN201110149587A CN102724171A CN 102724171 A CN102724171 A CN 102724171A CN 2011101495879 A CN2011101495879 A CN 2011101495879A CN 201110149587 A CN201110149587 A CN 201110149587A CN 102724171 A CN102724171 A CN 102724171A
Authority
CN
China
Prior art keywords
ipv6
ipv4
network
http
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101495879A
Other languages
Chinese (zh)
Inventor
刘�东
刘铭
步日欣
谷晨
董伟
程远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Original Assignee
BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd filed Critical BEIJING TIANDI INTERCONNECTION INFORMATION TECHNOLOGY Co Ltd
Priority to CN2011101495879A priority Critical patent/CN102724171A/en
Publication of CN102724171A publication Critical patent/CN102724171A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a scheme for IPv4/IPv6 HTTP protocol conversion and especially relates to a method for a design of an HTTP IPv4/IPv6 protocol conversion gateway. The gateway extracts a destination IPv4 URL from an HTTP request adapted by a navigation portal and requests a webpage from a destination server; and meanwhile, the URL of the requested webpage and a URL contained in a webpage content are dynamically added to an IPv6 address of a certain gateway in a gateway group according to a flow balancing demand, the URL is adapted to a destination website address: http: // ipv6 */ and the destination website address is returned to a user PC. Therefore, a function that an IPv6 terminal in an IPv6 network can access an IPv4 webpage in an IPv4 network can be realized.

Description

IPv4/IPv6 http protocol conversion method
Technical field
The present invention relates to a kind of method of IPv4/IPv6 http protocol conversion.
Background technology
The Internet is in the extensive use of social life every field and business-likely go deep into development and brought up the age of Internet economy of today jointly.The Internet is when the IPv4 epoch are obtained immense success; A series of problem also occurred, weary like the address space plaque, as to lack safety and service quality assurance, lacked the support of the service of moving and lack multimedia information dissemination, move the support of new application services such as inserting.To these problems, the IPv6 agreement is arisen at the historic moment, and through years of researches, test and deployment, has become a kind of procotol of maturation.Compare with the IPv4 agreement, the IPv6 agreement provides many new characteristics, for the development of Next Generation Internet provides more perfect support.Generally believe that IPv4 is the inexorable trend of Next Generation Internet development to the IPv6 transition.
IPv4 is meant under the prerequisite that does not influence the existing network application service to the IPv6 transition, realizes the transformation of network layer IPv4 agreement to the IPv6 agreement.Existing IPv4 network size is huge; The life cycle that technology such as routing CIDR and network address translation NAT has prolonged IPv4 between type field; Various circles of society also need a period of time to understanding and the acceptance of IPv6 in addition; Therefore IPv4 can not be accomplished to the TCP/IP network by the NCP network transition as nineteen eighty-two ARPNet to the transition of IPv6 overnight, and will be long-term, a progressive process.
IPv4 must experience one long period to the process of IPv6 transition, and the problem of interconnecting that how to solve network in this becomes one of focus that the Next Generation Internet development pays close attention in period.IETF sets up NGTrans working group (2002 be reassembled as v6ops working group) immediately and solves IPv4/IPv6 network transition problem after 1994 release the IPv6 agreement.The work of this working group is fruitful, has proposed a large amount of basic transitional technology schemes, but these schemes all are to design to the specific transitions scene, and exists limited applicability, safety problem and scalability problem.The emphasis of this working group's research no longer is basic transitional technology at present, and lays particular emphasis on the IPv4/IPv6 co-existence network problem under the research heterogeneous networks applied environment.
IPv4 comprises the transition of the main frame and the network equipment to the IPv6 transition, and wherein the transition of the network equipment is the emphasis of transition research.In IPv4/IPv6 transition period, the network equipment need adopt suitable transitional technology to guarantee the proper communication of transition network.Transfer gateway plays function served as bridge as the IPv4/IPv6 network edge device in the communication process of transition network.Along with progressively going deep into of IPv4/IPv6 network transition; The complexity and the potential safety hazard of transition network further increase; Conventional conversion gateway designs scheme can not satisfy actual application and demand for security gradually; Therefore press for transfer gateway is further furtherd investigate, the safety that achieves complicated transition scene lower network is interconnected.
HTTP is an important use layer protocol in the TCP/IP protocol suite, is the technical foundation that Web service realizes.Web service is a most important applications on the present the Internet, also is internet development and the important motive force of popularizing.According to the IAB statistics, the flow of Internet last 80% is from Web server at present.Except Wbe uses, other are much served, and like file transmission, audio frequency and video flow transmission etc., also can use http protocol to realize.Data interaction between major applications software and the sql server and the data, services on the Internet all are http traffics.Even some other agreement such as SMTP, SOCKS etc., can transmit through HTTP tunnel (HTTP Tunnel).We can say that present Internet goes up most data and transmits through http protocol.Along with the application software of B/S pattern becomes main flow gradually, the development of technology such as Web Service, the last HTTP data volume of Internet also can further increase.
But, can't directly carry out http communication between the main frame of different agreement stack because IPv6 and IPv4's is incompatible.Even inner at two stack main frames, the software of pure (Native) IPv4 also can't be visited pure IPv6 HTTP service.Equally, pure IPv4 HTTP service also can't be used by pure IPv6 software.The relevant application software of present most HTTP can't compatible IPv6, designs and develops these softwares again and wants the manpower of labor, financial resources and time, causes the serious waste of existing software resource simultaneously, does not meet the PIv6 transition basic principle of IETF proposition.
Summary of the invention
The invention discloses a kind of scheme of IPv4/IPv6HTTP protocol conversion.It relates to a kind of method for designing of HTTP IPv4/IPv6 protocol conversion gateway, and gateway extracts the purpose IPv4URL from the HTTP request of rewriting through the navigation door, and asks for webpage to this destination server; Simultaneously with the URL that is comprised in the URL of the webpage of asking for and the web page contents; The IPv6 address that dynamically adds a certain gateway among the gateway crowd according to the needs of flow equalization; This URL is rewritten into http://ipv6*/purpose station address returns to user PG, thereby the function of the IPv4 webpage in the IPv4 network can be visited in the IPv6 terminal in the realization IPv6 network.
The technical scheme that the present invention adopts is following:
A kind of IPv4/IPv6 http protocol conversion method, it may further comprise the steps:
1) the IPv6 network user asks the server of connected reference IPv4 network;
2) acting server deposits buffer memory in to IPv4 web server requests data and download process;
3) acting server sends to the IPv6 browser with the data that obtain.
The detailed step of said step 1) is: acting server starts the request that browser in the IPv6 network is waited in the back; And startup thread pool; In receiving the IPv6 network, during the request of browser, the request that receives is resolved the result queries buffer memory that obtains according to parsing.
Said step 2) detailed step is: if corresponding data are arranged in the buffer memory, and just direct return data, otherwise,, deposit buffer memory then in handling after the content download just to the address of these data of web server requests.
The HTTP IPv4/lPv6 protocol conversion gateway of the present invention design can make full use of existing a large amount of software resource in transition stage, realizes seamless, efficiently, intercommunication cheaply, be a kind of have very much study and the intercommunication solution of using value.And the present invention is conceived to http protocol, can simplified design, and the also control more easily at aspects such as performance, fail safe and reliabilities.
Description of drawings
Fig. 1 is the scheme principle schematic of IPv4/IPv6 http protocol conversion;
Fig. 2 is the flow chart of browser communication module;
Fig. 3 is the flow chart of web server communication module;
Fig. 4 is the flow chart of data processing module;
Fig. 5 is the flow chart of cache manager.
Embodiment
The present invention is a kind of IPv4/IPv6 http protocol conversion method, may further comprise the steps:
1) the IPv6 network user asks the server of connected reference IPv4 network;
2) acting server deposits buffer memory in to IPv4 web server requests data and download process;
3) acting server sends to the IPv6 browser with the data that obtain.
The detailed step of step 1) is: acting server starts the request that browser in the IPv6 network is waited in the back; And startup thread pool; In receiving the IPv6 network, during the request of browser, the request that receives is resolved the result queries buffer memory that obtains according to parsing.
Step 2) detailed step is: if corresponding data are arranged in the buffer memory, and just direct return data, otherwise,, deposit buffer memory then in handling after the content download just to the address of these data of web server requests.
IPv4/IPv6 http protocol conversion plan of the present invention relates to the method for designing of HTTP IPv4/IPv6 protocol conversion gateway; As shown in Figure 1; Gateway extracts the purpose IPv4 URL from the HTTP request of rewriting through the navigation door, and asks for webpage to this destination server; Simultaneously with the URL that is comprised in the URL of the webpage of asking for and the web page contents; The IPv6 address that dynamically adds a certain gateway among the gateway crowd according to the needs of flow equalization; This URL is rewritten into http://ipv6*/purpose station address returns to user PC, thereby the function of the IPv4 webpage in the IPv4 network can be visited in the IPv6 terminal in the realization IPv6 network.
The IPv6 Http proxy gateway that the present invention relates to comprises four modules: browser communication module, web server communication module, data processing module and cache manager.Wherein:
Like Fig. 2, the browser communication module is responsible for carrying out the communication of acting server and browser, promptly receives request from browser, from buffer memory, obtains data, sends data to browser.
Like Fig. 3, web server communication module and Web server carry out communication, and request is sent to the web server, downloading page content then, and give caching management module with it.
Like Fig. 4, data processing module is analyzed downloaded contents, and parsing etc. is filtered in replacement, then it is submitted to cache manager.The content of if needed from the web server, obtaining is once more then submitted to cache manager with its address, and repeats above-mentioned steps.
Like Fig. 5; Cache manager receives the request from the browser communication module; If do not have corresponding data in the buffer memory, then request sent to web server communication module, after waiting to receive the data of web server communication module and data processing module; Deposit data in buffer memory, and content is returned to the browser communication module.
Flow process of the present invention is following:
The step 1:IPv6 network user asks the server of connected reference IPv4 network.
Visit the IPv6 network user under the server scene of IPv4 network; The user browser communication module is to IPv6 Http proxy gateway initiation request; IPv6 Http proxy gateway starts thread pool; Request to receiving is resolved, and extracts the purpose IPv4 URL from ask through the HTTP that rewrote of navigation door the result queries buffer memory that obtains according to parsing.If corresponding data are arranged in the buffer memory, then directly get into step 3; Otherwise, get into step 2.
Step 2:IPv6 Http proxy gateway deposits buffer memory in to IPv4 web server requests data and download process.
In buffer memory, do not have under the corresponding data conditions; IPv6 Http proxy gateway sends request through web server communication module to IPv4 network Web server; Data download then, data processing module is analyzed downloaded contents, and replacement is filtered and is resolved etc.; With the URL that is comprised in the URL of the webpage of asking for and the web page contents; Dynamically add the IPv6 address of a certain gateway among the gateway crowd according to the needs of flow equalization, this URL is rewritten into http://ipv6*/purpose station address, then it is submitted to cache manager.
Step 3: cache manager sends to the IPv6 browser with the data that obtain.
From buffer memory, ask to obtain after the data, cache manager sends to the IPv6 browser with data through the browser communication module, accomplishes whole communication process.

Claims (3)

1. IPv4/IPv6 http protocol conversion method is characterized in that may further comprise the steps:
1) the IPv6 network user asks the server of connected reference IPv4 network;
2) acting server deposits buffer memory in to IPv4 web server requests data and download process;
3) acting server sends to the IPv6 browser with the data that obtain.
2. IPv4/IPv6 http protocol conversion method as claimed in claim 1 is characterized in that:
The detailed step of said step 1) is: acting server starts the request that browser in the IPv6 network is waited in the back; And startup thread pool; In receiving the IPv6 network, during the request of browser, the request that receives is resolved the result queries buffer memory that obtains according to parsing.
3. IPv4/IPv6 http protocol conversion method as claimed in claim 1 is characterized in that:
Said step 2) detailed step is: if corresponding data are arranged in the buffer memory, and just direct return data, otherwise,, deposit buffer memory then in handling after the content download just to the address of these data of web server requests.
CN2011101495879A 2011-06-03 2011-06-03 Ipv4/ipv6 http protocol conversion method Pending CN102724171A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101495879A CN102724171A (en) 2011-06-03 2011-06-03 Ipv4/ipv6 http protocol conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101495879A CN102724171A (en) 2011-06-03 2011-06-03 Ipv4/ipv6 http protocol conversion method

Publications (1)

Publication Number Publication Date
CN102724171A true CN102724171A (en) 2012-10-10

Family

ID=46949834

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101495879A Pending CN102724171A (en) 2011-06-03 2011-06-03 Ipv4/ipv6 http protocol conversion method

Country Status (1)

Country Link
CN (1) CN102724171A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131544A (en) * 2019-12-26 2020-05-08 杭州迪普科技股份有限公司 Method for realizing NAT traversal

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101600000A (en) * 2009-06-26 2009-12-09 中国电信股份有限公司 The data communications method and the system of IPv6 user capture IPv4 website
CN101800782A (en) * 2010-01-29 2010-08-11 北京天地互连信息技术有限公司 Method for upgrading IPv4 website to support IPv6 with mirror images
US20100217890A1 (en) * 2009-02-20 2010-08-26 Microsoft Corporation Using server type to obtain network address

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100217890A1 (en) * 2009-02-20 2010-08-26 Microsoft Corporation Using server type to obtain network address
CN101600000A (en) * 2009-06-26 2009-12-09 中国电信股份有限公司 The data communications method and the system of IPv6 user capture IPv4 website
CN101800782A (en) * 2010-01-29 2010-08-11 北京天地互连信息技术有限公司 Method for upgrading IPv4 website to support IPv6 with mirror images

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111131544A (en) * 2019-12-26 2020-05-08 杭州迪普科技股份有限公司 Method for realizing NAT traversal

Similar Documents

Publication Publication Date Title
KR101987784B1 (en) Software-defined network-based method and system for implementing content distribution network
US9917914B2 (en) Facilitating content accessibility via different communication formats
CN104580192B (en) The treating method and apparatus of the network access request of application program
US10999215B2 (en) Software-defined network-based method and system for implementing content distribution network
CN101946493B (en) Method and system for providing connectivity between clients connected to the internet
CN103188260B (en) Use method and the gateway of IP-based real-time performance CCN in gateway
US8151002B2 (en) Information conversion apparatus, information conversion method, information conversion program and relay device
CN106790098B (en) IPv4/IPv6 intercommunication system based on HTTP ALG and NAT64 technology
US9699138B2 (en) Directing clients based on communication format
CN1968227A (en) System and method for enabling wireless access gateway to support transparent agent
CN102739809B (en) DNS64 database, server, system and IPv4/IPv6 communication method
CN106790503A (en) It is a kind of to realize the IPv4 websites without skylight using the device upgraded to IPv6 based on HTTP reverse proxys
CN104836863B (en) The system and method for realizing the mapping of TCP reverse ports
CN108418847B (en) Network traffic caching system, method and device
CN103220371A (en) Method and system for conducting content adaptation
CN103200231B (en) Policy control method and system
CN104994079A (en) Access request processing method, access request processing device and acceleration server
WO2017107795A1 (en) Method and device for accelerating access to website
CN104079682B (en) A kind of address conversion method and device based on domain name system DNS
CN101068189A (en) Method for supporting IPv4 applied program utilizing intermain machine tunnel in IPV6
RU2664480C2 (en) Method, device and system for content delivery
CN104735073A (en) IPv4-IPv6 transitional protocol dispatching method and device
US20160285946A1 (en) Qos improvement method, apparatus, and system
CN102724171A (en) Ipv4/ipv6 http protocol conversion method
CN103812868A (en) Method and system for realizing free Internet access based on IPv4/IPv6 conversion

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121010