CN109586962B - Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment - Google Patents

Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment Download PDF

Info

Publication number
CN109586962B
CN109586962B CN201811445881.2A CN201811445881A CN109586962B CN 109586962 B CN109586962 B CN 109586962B CN 201811445881 A CN201811445881 A CN 201811445881A CN 109586962 B CN109586962 B CN 109586962B
Authority
CN
China
Prior art keywords
http
ipv6
https
request
response message
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
CN201811445881.2A
Other languages
Chinese (zh)
Other versions
CN109586962A (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.)
Reyzar Technology Co ltd
Original Assignee
Reyzar 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 Reyzar Technology Co ltd filed Critical Reyzar Technology Co ltd
Priority to CN201811445881.2A priority Critical patent/CN109586962B/en
Publication of CN109586962A publication Critical patent/CN109586962A/en
Application granted granted Critical
Publication of CN109586962B publication Critical patent/CN109586962B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/25Mapping addresses of the same type
    • H04L61/2503Translation of Internet protocol [IP] addresses
    • H04L61/251Translation of Internet protocol [IP] addresses between different IP versions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/45Network directories; Name-to-address mapping
    • H04L61/4505Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols
    • H04L61/4511Network directories; Name-to-address mapping using standardised directories; using standardised directory access protocols using domain name system [DNS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2212/00Encapsulation of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a device, a method and electronic equipment for processing the problem that IPv4 is upgraded to an IPv6 HTTPS external link, and relates to the technical field of data communication information extraction.A processing device is arranged between an IPv6 client and an IPv4HTTPS site and comprises an identification module used for identifying the HTTPS external link from an HTTP response message, a conversion module used for converting the HTTPS external link into the HTTP external link, packaging the HTTP response message into an IPv6 response message and sending the IPv6 response message to an IPv6 client, receiving the HTTP external link request returned by the IPv6 client, converting the HTTP external link request into the HTTPS message request and sending the HTTPS message request to the IPv4HTTPS site, so that the IPv6 client can finish the access of the HTTP request with the HTTPS external link to the IPv4HTTPS site under the condition of no SS L certificate, and the cost of upgrading the IPv4HTTPS site to the IPv6 network is reduced.

Description

Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment
Technical Field
The invention relates to the technical field of data communication information extraction, in particular to a device and a method for processing an HTTPS (hypertext transfer protocol secure protocol) outer chain problem of upgrading from IPv4 to IPv6 and electronic equipment.
Background
In current reverse proxy technology, upgrading of websites IPv4 to IPv6 is possible, in handling out-link access of HTTPS during upgrading, it is often necessary to use a large number of SS L certificates, which are primarily used for client access to reverse proxies, purchase and maintenance of a large number of certificates, which incurs additional cost overhead for enterprise IPv4 to IPv6 network upgrades.
However, under some scenes, when HTTPS outer chains reach dozens or even hundreds, one HTTPS outer chain has a plurality of sub domain names, so that each word domain name is applied for an SS L certificate, and the realization cost of upgrading the HTTPS website of IPv4 to an IPv6 network is increased.
Disclosure of Invention
In view of this, the present invention is to provide a device, a method, and an electronic device for processing an HTTPS out-link problem of upgrading IPv4 to IPv6, so as to reduce implementation cost of upgrading an HTTPS website of IPv4 to an IPv6 network.
In a first aspect, an embodiment of the present invention provides a processing apparatus for upgrading IPv4 to an HTTPS out-link problem of IPv6, where the processing apparatus is disposed between an IPv6 client and an HTTPS site of IPv4, and the processing apparatus includes:
the identification module is used for identifying the HTTPS outer chain from the HTTP response message; the HTTP response message is obtained from an HTTP response message responded by the HTTP site of IPv4 after an HTTP request sent by an IPv6 client to the HTTP site of IPv4, wherein the HTTP response message comprises an HTTPS outer chain;
the conversion module is used for converting the HTTPS external link into the HTTP external link, packaging the HTTP response message into an IPv6 response message, sending the IPv6 response message to the IPv6 client, receiving an HTTP external link request returned by the IPv6 client, converting the HTTP external link request into an HTTPS message request, and sending the HTTPS message request to an HTTPS site of the IPv 4; the HTTP out-link request is an out-link request which is sent to the processing device again after the IPv6 client receives the IPv6 response packet.
In combination with the first aspect, the embodiments of the present invention provide a first possible implementation manner of the first aspect, wherein,
the conversion module includes: the device comprises a first conversion submodule, an encapsulation submodule and a second conversion submodule;
the first conversion sub-module is used for converting the HTTPS external chain into the HTTP external chain;
the packaging submodule is used for packaging the HTTP response message into an IPv6 response message and sending the IPv6 response message to the IPv6 client;
the second conversion sub-module is used for converting the HTTP external link request into an HTTPS message request after receiving the HTTP external link request returned by the IPv6 client, and sending the HTTPS message request to an HTTPS site of IPv 4; the HTTP out-link request is an out-link request which is sent to the processing device again after the IPv6 client receives the IPv6 response packet.
In combination with the first aspect, the embodiments of the present invention provide a second possible implementation manner of the first aspect, wherein,
the processing device is also arranged between an IPv6 client and an HTTP site of IPv4, and further comprises:
the reverse proxy module is used for sending the HTTP request sent by the IPv6 client to an HTTP site of IPv4 to obtain an HTTP response message of IPv 4; the HTTP response message comprises a non-HTTP external link request and an HTTP external link.
In combination with the first aspect, the present embodiments provide a third possible implementation manner of the first aspect, wherein,
the processing apparatus further comprises: and the monitoring module is used for monitoring the HTTP external link request sent by the IPv6 client and sending the HTTP external link request to the second conversion submodule.
In a second aspect, an embodiment of the present invention further provides a method for processing an HTTPS out-link problem of IPv4 upgrading IPv6, where the method includes:
the IPv6 client sends an HTTP external link request to the processing device;
after receiving the HTTP external link request, the processing device obtains an IPv6 response message according to the HTTP request and sends the IPv6 response message to the IPv6 client; the processing device is the processing device according to any one of the above embodiments;
after receiving the IPv6 response message, the IPv6 client sends an HTTP external link request to the processing device;
and after receiving the HTTP external link request, the processing device obtains an HTTPS message request and sends the HTTPS message request to an HTTPS site of the IPv 4.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the apparatus according to any one of the foregoing embodiments when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable medium having non-volatile program code executable by a processor, where the program code causes the processor to execute any one of the apparatuses in the foregoing embodiments.
The embodiment of the invention has the advantages that the HTTPS outer chain can be identified from the HTTP response message through the identification module in the processing device, the HTTP response message is obtained from the HTTP response message responded by the HTTP station of IPv4 after the HTTP response message is the HTTP request sent by the IPv6 client to the HTTP station of IPv4, wherein the HTTP response message comprises the HTTPS outer chain, the conversion module converts the HTTPS outer chain into the HTTP outer chain, encapsulates the HTTP response message into the IPv6 response message and sends the IPv6 response message to the IPv6 client, receives the HTTP outer chain request returned by the IPv6 client, converts the HTTP outer chain request into the HTTPS message request, and sends the HTTPS message request to the HTTPS station of IPv4, so that the IPv6 client can finish the access of the HTTP request with the HTTPS outer chain to the HTTPS station of IPv4 under the condition of no SS L certificate, and the realization cost of upgrading the HTTPS station of IPv4 to the IPv6 network is reduced.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a scenario illustrating a handling device application of the present invention upgrading IPv4 to the HTTPS out-link problem of IPv 6;
FIG. 2 is a block diagram of a processing apparatus for upgrading IPv4 to HTTPS out-link problem of IPv6 according to an embodiment of the present invention;
fig. 3 is a schematic diagram of an operation process of a processing apparatus for upgrading IPv4 to an HTTPS out-link problem of IPv6 according to an embodiment of the present invention;
fig. 4 is a structural diagram of a conversion module in a processing apparatus for upgrading IPv4 to an HTTPS out-link problem of IPv6 according to an embodiment of the present invention;
fig. 5 is a flowchart of a method for processing an HTTPS out-link problem of upgrading IPv4 to IPv6 according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In current reverse proxy technology, upgrading of websites IPv4 to IPv6 is possible, in handling out-link access of HTTPS during upgrading, it is often necessary to use a large number of SS L certificates, which are primarily used for client access to reverse proxies, purchase and maintenance of a large number of certificates, which incurs additional cost overhead for enterprise IPv4 to IPv6 network upgrades.
However, under some scenes, when HTTPS outer chains reach dozens or even hundreds, one HTTPS outer chain has a plurality of sub domain names, so that each word domain name is applied for an SS L certificate, and the realization cost of upgrading the HTTPS website of IPv4 to an IPv6 network is increased.
Based on this, the device, the method and the electronic device for processing the problem that the IPv4 is upgraded to the HTTPS external link of the IPv6 provided by the embodiment of the present invention can complete the access of the HTTP request with the HTTPS external link to the HTTPS site of the IPv4, and reduce the implementation cost of upgrading the HTTPS website of the IPv4 to the IPv6 network.
An embodiment of the present invention provides a processing apparatus for upgrading IPv4 to an HTTPS external link of IPv6, where, with reference to fig. 1, a scenario in which the processing apparatus of the present invention is applied is shown, where the processing apparatus 100 is disposed between an IPv6 client 200 and an HTTPS site 300 of IPv4, and when the IPv6 client 200 needs to request data from the HTTPS site 300 of IPv4, a response message of the HTTPS site 300 of IPv4 needs to be processed by the processing apparatus 100 and returned to the IPv6 client 200.
As shown in fig. 2, the processing apparatus 100 includes: an identification module 110 and a conversion module 120.
The working process of the identification module 110 and the conversion module 120, as shown in fig. 3, the identification module 110 is configured to identify an HTTPs outer link from an HTTP response message; the HTTP response message is obtained from an HTTP response message responded by the HTTP site of IPv4 after the HTTP request sent by the IPv6 client to the HTTP site of IPv4, wherein the HTTP response message comprises an HTTPS outer chain.
The conversion module 120 is configured to convert the HTTPS external link into an HTTP external link, encapsulate the HTTP response packet into an IPv6 response packet, send the IPv6 response packet to the IPv6 client, receive an HTTP external link request returned by the IPv6 client, convert the HTTP external link request into an HTTPS packet request, and send the HTTPS packet request to an HTTPS site of the IPv 4; the HTTP out-link request is an out-link request which is sent to the processing device again after the IPv6 client receives the IPv6 response packet.
Specifically, a user at an IPv6 client wants to use HTTP to communicate with an IPv4 website, so the IPv6 client sends data required by the user to an IPv4HTTP site in an HTTP request manner, after receiving the HTTP request, an IPv4HTTP site responds to the HTTP request to generate an HTTP response message, where the HTTP response has an HTTPs outer chain, the IPv4HTTPs outer chain is converted into an HTTP outer chain by a conversion module 120, then a processing device encapsulates an IPv4 message (i.e., an HTTP response message) where the HTTP outer chain is located into an IPv6 response message and sends the IPv6 response message to an IPv6 client, after receiving the IPv6 response message, the IPv6 client starts an HTTP outer chain request, and when the processing device receives the HTTP outer chain request returned by the IPv6 client, converts the HTTP outer chain request into an HTTPs message request, sends the HTTPs message request to an HTTPs 4 site, and if interaction is to be completed, the HTTPs 4HTTP client goes to the IPv6 client, and also converts the HTTPs 4 of the HTTPs response message back to the IPv 394648 client to the IPv6 client, and then the IPv6 client can realize that the IPv6 access to the IPv 465 network is updated and the IPv 465 network without the IPv 465 certificate.
The IPv6 client is characterized in that the client mainly adopts an HTTP protocol for communication. The conversion module 120 converts the HTTPS external link into an HTTP external link, which is in the form of HTTPS:// external link website domain name: port/before conversion, and is in the form of HTTP:// external link website domain name: port/after conversion, and then the device sends the converted response packet of IPv6 to the IPv6 client.
Referring to fig. 4, the present invention divides the conversion module 120 into three different sub-modules, and specifically, the conversion module 120 includes: a first conversion submodule 1201, a packaging submodule 1202, and a second conversion submodule 1203.
The first conversion sub-module 1201 is configured to convert the HTTPS external chain into an HTTP external chain; the encapsulation submodule 1202 is configured to encapsulate the HTTP response packet into an IPv6 response packet, and send the IPv6 response packet to the IPv6 client; the second conversion submodule 1203 is configured to receive an HTTP external link request returned by the IPv6 client, convert the HTTP external link request into an HTTPs message request, and send the HTTPs message request to an HTTPs site of the IPv 4; the HTTP out-link request is an out-link request which is sent to the processing device again after the IPv6 client receives the IPv6 response packet.
Optionally, the processing apparatus further includes, between the IPv6 client and the HTTP site of IPv4, setting:
the reverse proxy module is used for sending the HTTP request sent by the IPv6 client to an HTTP site of IPv4 to obtain an HTTP response message of IPv 4; the HTTP request comprises a non-HTTP external chain and an HTTP external chain.
The reverse proxy module is similar to the existing reverse proxy server in that the reverse proxy function is completed, that is, the HTTP request sent by the IPv6 client is sent to the HTTP site of IPv4, and the HTTP response message of IPv4 is obtained. The difference is that the reverse proxy module provided by the invention does not send the HTTP response message of IPv4 to the IPv6 client, but identifies the HTTPs external link from the HTTP response message and processes the HTTPs external link, and finally can have the capability of accessing the HTTPs site of IPv4 using the HTTP request.
IPv6 is optional, and the processing apparatus further includes: and the monitoring module is used for monitoring the HTTP external link request sent by the IPv6 client and sending the HTTP external link request to the second conversion submodule.
Based on the processing apparatus described above, an embodiment of the present invention further provides a method for processing an HTTPS out-link problem of IPv4 upgrading IPv6, which is shown in fig. 5, where the method includes:
s510: the IPv6 client sends an HTTP request to the processing device;
s520: after receiving the HTTP request, the processing device obtains an IPv6 response message according to the HTTP request and sends the IPv6 response message to the IPv6 client;
s530: after receiving the IPv6 response message, the IPv6 client sends an HTTP external link request to the processing device;
s540: and after receiving the HTTP external link request, the processing device obtains an HTTPS message request and sends the HTTPS message request to an HTTPS site of the IPv 4.
S550: and the HTTPS site returns an HTTPS message, and the processing device encapsulates the HTTPS message into an HTTP message after acquiring the HTTPS response message and returns the HTTP message to the IPv6 client.
The processing apparatus provided by the embodiment of the present invention has the same implementation principle and technical effect as the foregoing embodiments, and for the sake of brief description, reference may be made to the corresponding contents in the foregoing embodiments without reference to the embodiments of the processing apparatus.
When the processing device comprises an identification module 110, a conversion module 120, a reverse proxy module and a monitoring module, the processing method for upgrading the HTTPS external link problem of IPv6 by IPv4 can be that firstly, an HTTP request of an IPv6 client 200 is sent to the processing device 100 and forwarded back to an HTTP site of IPv4 by the reverse proxy module to obtain an HTTP response message of IPv4, the processing device starts to analyze the HTTP response message obtained by the reverse proxy and searches and records all HTTPS external links in the HTTP response message first by the identification module 110, the conversion module 120 in the processing device 100 converts all HTTPS external links in the HTTP response message into HTTP/external link website domain name/HTTP sub-request in port/form and repackages the HTTP sub-request into an HTTP 6 response message to be returned to the IPv6 client 200, the IPv6 client 200 sends the HTTP/external link request in port/external link form, the processing device 100 receives the HTTP external link request, obtains the HTTP response message by the HTTP service module via an HTTP 6 and returns the HTTP request to the IPv6 client 200, the IPv6 client 200 sends the HTTP external link request in port/external link request/port/external link request in port/external link mode, the IPv 3637 and returns the IPv 9685 to the IPv6 after the IPv 200 receives the HTTP external link request, the IPv 200, the HTTP request which can be processed by the IPv 3637, the IPv6, the IPv 9 receives the IPv 9, the IPv 9 and the IPv 9, the IPv 200, the IPv 9 receives the IPv 9, the IPv 200, the IPv 9 receives the IPv 24 and the IPv 24, the IPv 200, the IPv 24, the IPv 9 a HTTP external link request, the IPv.
In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory and a processor, where the memory stores a computer program operable on the processor, and the processor implements the apparatus according to any one of the foregoing embodiments when executing the computer program.
The Memory may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory.
The memory is used for storing a program, and the processor executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the process disclosed in any of the foregoing embodiments of the present invention may be applied to or implemented by the processor.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and combines hardware thereof to complete the functions described in the above device.
Unless specifically stated otherwise, the relative steps, numerical expressions, and values of the components and steps set forth in these embodiments do not limit the scope of the present invention.
In all examples shown and described herein, any particular value should be construed as merely exemplary, and not as a limitation, and thus other examples of example embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in specific cases to those skilled in the art.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The computer-readable storage medium of the non-volatile program code that is executable by the processor according to the embodiment of the present invention may be a computer program product of a processing apparatus for performing IPv4 upgrading an HTTPS external link problem of IPv6, where instructions included in the program code may be used to execute the apparatus described in the foregoing apparatus embodiment, and specific implementation may refer to the method embodiment, and details are not described herein.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (6)

1. A processing device for upgrading IPv4 to HTTPS out-link problem of IPv6, wherein the processing device is arranged between an IPv6 client and an HTTPS site of IPv4, the processing device comprises:
the identification module is used for identifying the HTTPS outer chain from the HTTP response message; the HTTP response message is obtained from an HTTP response message responded by the HTTP site of IPv4 after an HTTP request sent by an IPv6 client to the HTTP site of IPv4, wherein the HTTP response message comprises an HTTPS outer chain;
the conversion module is used for converting the HTTPS external link into the HTTP external link, packaging the HTTP response message into an IPv6 response message, sending the IPv6 response message to the IPv6 client, receiving an HTTP external link request returned by the IPv6 client, converting the HTTP external link request into an HTTPS message request, and sending the HTTPS message request to an HTTPS site of the IPv 4; the HTTP external link request is an external link request which is sent to the processing device again after the IPv6 client receives the IPv6 response message;
wherein the conversion module comprises: the device comprises a first conversion submodule, an encapsulation submodule and a second conversion submodule;
the first conversion sub-module is used for converting the HTTPS external chain into the HTTP external chain; the external chain of the HTTPS is in a form of HTTP:// external chain website domain name: port/form;
the packaging submodule is used for packaging the HTTP response message into an IPv6 response message and sending the IPv6 response message to the IPv6 client;
the second conversion sub-module is used for converting the HTTP external link request into an HTTPS message request after receiving the HTTP external link request returned by the IPv6 client, and sending the HTTPS message request to an HTTPS site of IPv 4; the HTTP out-link request is an out-link request which is sent to the processing device again after the IPv6 client receives the IPv6 response packet.
2. The processing device of claim 1, further disposed between an IPv6 client and an IPv4HTTP site, the processing device further comprising:
the reverse proxy module is used for sending the HTTP request sent by the IPv6 client to an HTTP site of the IPv4 to obtain an HTTP response message; the HTTP request comprises a non-HTTP external chain and an HTTP external chain.
3. The processing apparatus according to claim 2, characterized in that the processing apparatus further comprises: and the monitoring module is used for monitoring the HTTP external link request sent by the IPv6 client and sending the HTTP external link request to the second conversion submodule.
4. A method for processing an HTTPS out-link problem of upgrading IPv4 to IPv6 is characterized by comprising the following steps:
the IPv6 client sends an HTTP request to the processing device;
after receiving the HTTP request, the processing device obtains an IPv6 response message according to the HTTP request and sends the IPv6 response message to the IPv6 client; the processing device is according to any one of claims 1-3;
after receiving the IPv6 response message, the IPv6 client sends an HTTP external link request to the processing device;
and after receiving the HTTP external link request, the processing device obtains an HTTPS message request and sends the HTTPS message request to an HTTPS site of the IPv 4.
5. An electronic device comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and wherein the processor implements the apparatus of any of claims 1 to 3 when executing the computer program.
6. A computer readable medium having non-volatile program code executable by a processor, wherein the program code causes the processor to execute the apparatus of any of claims 1-3.
CN201811445881.2A 2018-11-29 2018-11-29 Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment Active CN109586962B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811445881.2A CN109586962B (en) 2018-11-29 2018-11-29 Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811445881.2A CN109586962B (en) 2018-11-29 2018-11-29 Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment

Publications (2)

Publication Number Publication Date
CN109586962A CN109586962A (en) 2019-04-05
CN109586962B true CN109586962B (en) 2020-08-04

Family

ID=65923933

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811445881.2A Active CN109586962B (en) 2018-11-29 2018-11-29 Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment

Country Status (1)

Country Link
CN (1) CN109586962B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110071840A (en) * 2019-04-29 2019-07-30 厦门美图之家科技有限公司 Upgrade method, device and client
CN110417932B (en) * 2019-07-30 2020-08-04 睿哲科技股份有限公司 IPv 6-based out-link resource upgrading device, electronic equipment and computer readable medium
CN110839046B (en) * 2019-12-03 2022-04-22 睿哲科技股份有限公司 Multi-protocol intercommunication method and system
CN112600949A (en) * 2020-12-09 2021-04-02 福建万物易联网络科技有限公司 Outer chain rewriting method and system for reserving original domain name
CN115022284A (en) * 2022-06-01 2022-09-06 睿哲科技股份有限公司 Method and system for identifying external links in webpage and electronic equipment
CN115277236B (en) * 2022-08-01 2023-08-18 福建天晴在线互动科技有限公司 Method and system for carrying out request analysis on domain name

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694754A (en) * 2012-06-07 2012-09-26 广州睿哲网络科技有限公司 Application gateway technology and system for realizing content interchange of Internet protocol version 4/Internet protocol version 6 (IPv4/IPv6) websites
CN105227687A (en) * 2014-06-20 2016-01-06 中国电信股份有限公司 IPv4 user accesses communication means and the system of IPv6 resource
CN106790503A (en) * 2016-12-16 2017-05-31 广东睿哲科技股份有限公司 It is a kind of to realize the IPv4 websites without skylight using the device upgraded to IPv6 based on HTTP reverse proxys

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8019986B2 (en) * 2005-08-12 2011-09-13 Comcast Cable Holdings, Llc Method and system for booting, provisioning and activating hardware and software clients
CN106331211A (en) * 2016-08-23 2017-01-11 赛尔网络有限公司 Method and system for accessing IPv4 resource through IPv6 address

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102694754A (en) * 2012-06-07 2012-09-26 广州睿哲网络科技有限公司 Application gateway technology and system for realizing content interchange of Internet protocol version 4/Internet protocol version 6 (IPv4/IPv6) websites
CN105227687A (en) * 2014-06-20 2016-01-06 中国电信股份有限公司 IPv4 user accesses communication means and the system of IPv6 resource
CN106790503A (en) * 2016-12-16 2017-05-31 广东睿哲科技股份有限公司 It is a kind of to realize the IPv4 websites without skylight using the device upgraded to IPv6 based on HTTP reverse proxys

Also Published As

Publication number Publication date
CN109586962A (en) 2019-04-05

Similar Documents

Publication Publication Date Title
CN109586962B (en) Device and method for processing HTTPS (hypertext transfer protocol secure) outer chain problem of upgrading IPv4 to IPv6 and electronic equipment
US11310253B1 (en) Detection of anomalous computer behavior
US8892718B2 (en) Monitoring web service transactions
US20220083326A1 (en) Upgrading method and system, server, and terminal device
US20190268320A1 (en) Dynamic web services server
CN113015165A (en) Internet of things platform device access method, device and system
CN111026982A (en) Intelligent contract processing method, computer equipment and storage medium
CN113010378B (en) Log processing method and device of microservice module, storage medium and electronic device
CN111182525A (en) Method and device for storing data
CN104333548A (en) Method and system of accessing local services in https websites
CN111294235A (en) Data processing method, device, gateway and readable storage medium
CN114422618A (en) IOT platform protocol adaptation method, device, equipment and medium based on cloud protogenesis
CN114416508A (en) Application performance monitoring method and device, storage medium and electronic equipment
CN114598750A (en) Data request processing method and device and storage medium
CN114040032A (en) Protocol conversion method, system, storage medium and electronic equipment
CN114675876B (en) Service processing method and device, electronic equipment and storage medium
CN114285668B (en) Gate testing method and device, storage medium and electronic equipment
CN108737350B (en) Information processing method and client
CN114285890A (en) Cloud platform connection method, device, equipment and storage medium
CN110187911B (en) Client software generation method and device and electronic equipment
EP3038390B1 (en) Processing method and apparatus for signaling tracing
CN113742101A (en) Data intercommunication method, device, equipment and readable storage medium
CN116170240B (en) Access method and device for privately-allocated service, electronic equipment and storage medium
CN114615170B (en) Message processing method, device and computer storage medium
CN110708208B (en) Monitoring data acquisition method and device, storage medium and terminal

Legal Events

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