CN111953700B - Session keeping method and device - Google Patents
Session keeping method and device Download PDFInfo
- Publication number
- CN111953700B CN111953700B CN202010833150.6A CN202010833150A CN111953700B CN 111953700 B CN111953700 B CN 111953700B CN 202010833150 A CN202010833150 A CN 202010833150A CN 111953700 B CN111953700 B CN 111953700B
- Authority
- CN
- China
- Prior art keywords
- target
- ipv6
- ipv4
- web container
- request 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 84
- 235000014510 cooky Nutrition 0.000 claims abstract description 139
- 238000012545 processing Methods 0.000 claims abstract description 51
- 230000008569 process Effects 0.000 claims abstract description 34
- 238000012423 maintenance Methods 0.000 claims abstract description 22
- 238000006243 chemical reaction Methods 0.000 claims description 17
- 238000004590 computer program Methods 0.000 claims description 13
- 238000003860 storage Methods 0.000 claims description 13
- 238000010586 diagram Methods 0.000 description 18
- 238000004891 communication Methods 0.000 description 16
- 230000006870 function Effects 0.000 description 16
- 230000004044 response Effects 0.000 description 6
- 239000000872 buffer Substances 0.000 description 4
- 238000010276 construction Methods 0.000 description 3
- 230000009977 dual effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000000593 degrading effect Effects 0.000 description 2
- 238000013507 mapping Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
- H04L61/09—Mapping addresses
- H04L61/25—Mapping addresses of the same type
- H04L61/2503—Translation of Internet protocol [IP] addresses
- H04L61/251—Translation of Internet protocol [IP] addresses between different IP versions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1001—Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
- H04L67/1004—Server selection for load balancing
- H04L67/1023—Server selection for load balancing based on a hash applied to IP addresses or costs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a session keeping method and a session keeping device, which can be used in the financial field or other fields, and the method comprises the following steps: receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client; determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and Cookie information, and sending a target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container when processing an initial request message of the target IPv6/IPv4 dual-stack client; and sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client. The method and the device can avoid the session maintenance invalidation caused by the switching of the IPv6 network and the IPv4 network, can improve the validity of the session maintenance, and further can improve the reliability of the user transaction process.
Description
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a session holding method and apparatus.
Background
With The development of information technology, the global Internet based on The IPv4 Protocol faces The problems of network address consumption depletion, difficulty in ensuring service quality, and The like, and for this reason, the Internet Engineering Task Force (IETF for short) designs an IPv6 Protocol (Internet Protocol version 6 ) to replace The existing IPv4 Protocol (Internet Protocol version 4 ). The IPv6 protocol is greatly modified and functionally expanded, providing an almost unlimited address space, stronger network security, etc., and it is a necessary trend that IPv6 gradually replaces IPv 4. Meanwhile, IPv6 and IPv4 networks will be in parallel as normal.
At the initial stage of IPv6 network construction and popularization, in a scenario where an IPv6 network is unstable and an IPv6 request of a user is overtime or a user network environment is switched and the switched network does not support IPv6 (for example, a 4G network is switched to a Wifi network), a user internet access channel is automatically switched from IPv6 to IPv4, and a request held based on a conventional Cookie session is routed to an IPv4 server (instead of an IPv6 server in the original IPv6 network) hung under a soft load, so that the conventional Cookie-based session is held invalid and a transaction fails.
Disclosure of Invention
Aiming at the problems in the prior art, the application provides a session maintaining method and a session maintaining device, which can avoid session maintaining failure caused by switching between IPv6 and IPv4 networks, improve the validity of session maintaining and further improve the reliability of a user transaction process.
In order to solve the technical problem, the present application provides the following technical solutions:
in a first aspect, the present application provides a session holding method, including:
receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client;
determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing an initial request message of the target IPv6/IPv4 dual-stack client;
and sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client.
Further, the sending the target request packet to the target Web container includes: determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information; if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, applying a preset protocol conversion relation to convert the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container; and applying the IP address converted by the IP protocol corresponding to the Cookie information to send the target request message to a target Web container.
Further, before the receiving the target request packet containing the Cookie information sent by the target IPv6/IPv4 dual-stack client, the method further includes: receiving an initial request message sent by the target IPv6/IPv4 dual-stack client; determining a Web container corresponding to the target IPv6/IPv4 dual-stack client according to a load balancing algorithm so that the Web container processes the initial request message; generating Cookie information corresponding to the target IPv6/IPv4 dual-stack client, and sending the Cookie information and the processing result of the initial request message to the target IPv6/IPv4 dual-stack client.
Further, the Cookie information includes: client identification and Cookie effective time; correspondingly, after generating the Cookie information corresponding to the target IPv6/IPv4 dual-stack client, the method further includes: and updating the session holding list item by applying the client identification, the Cookie effective time and the container identification of the Web container.
Further, the receiving a target request packet containing Cookie information sent by a target IPv6/IPv4 dual-stack client includes: and if the target request message is a request message sent based on an IPv4 protocol, receiving the target request message by applying a corresponding IPv4 virtual address.
Further, the receiving a target request packet containing Cookie information sent by a target IPv6/IPv4 dual-stack client includes: and if the target request message is a request message sent based on an IPv6 protocol, receiving the target request message by applying a corresponding IPv6 virtual address.
In a second aspect, the present application provides a session holding apparatus comprising:
the receiving module is used for receiving a target request message which is sent by a target IPv6/IPv4 dual-stack client and contains Cookie information;
the processing module is used for determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding table item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing an initial request message of the target IPv6/IPv4 dual-stack client;
and the sending module is used for sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client.
Further, the processing module includes: the protocol conversion unit is used for applying a preset protocol conversion relationship if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, and converting the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container; and the sending unit is used for applying the IP address converted by the IP protocol corresponding to the Cookie information and sending the target request message to the target Web container.
In a third aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the session holding method when executing the program.
In a fourth aspect, the present application provides a computer readable storage medium having stored thereon computer instructions that, when executed, implement the session-keeping method.
According to the technical scheme, the application provides a session holding method and device. Wherein, the method comprises the following steps: receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client; determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding table item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing an initial request message of the target IPv6/IPv4 dual-stack client; the processing result of the target request message is sent to the target IPv6/IPv4 dual-stack client, so that the failure of session maintenance caused by switching of IPv6 and IPv4 networks can be avoided, the effectiveness of session maintenance can be improved, and the reliability of a user transaction process can be improved; specifically, the mixed deployment of the container based on the IPv4 address and the IPv6 address on the session holding device can solve the problem that the client transaction cannot be processed normally under the condition that an IPv6 network is unstable or the environment of the client network changes. Its advantages are as follows: 1. the hybrid deployment of the Web container with the IPv4 address and the Web container with the IPv6 address is realized, a large address pool is formed and exposed to the session holding device, and when the IP address of the client drifts, the soft load server can load the client request to the original Web container, so that the usability of transaction can be improved. 2. In the early stage of IPv6 network construction and popularization, under the condition that the stability of the IPv6 network cannot be guaranteed, the client request is automatically distributed to the IPv4 address pool through the session maintaining device, and the session maintaining device is transparent to the client, so that the transaction can be continuously processed, and the transaction experience of the client can be further improved.
Drawings
In order to more clearly illustrate the embodiments of the present application 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, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flow chart illustrating a session maintaining method in an embodiment of the present application;
fig. 2 is a flowchart illustrating steps 201 to 202 of the session maintaining method in the embodiment of the present application;
fig. 3 is a flowchart illustrating steps 001 to 004 of the session maintaining method in the embodiment of the present application;
FIG. 4 is a schematic structural diagram of a session holding apparatus in an embodiment of the present application;
FIG. 5 is a logic diagram of a session maintenance system in an example application of the present application;
FIG. 6 is a schematic structural diagram of an IPv6/IPv4 dual-stack client in an application example of the application;
FIG. 7 is a schematic diagram of a soft load server in an application example of the present application;
FIG. 8 is a schematic structural diagram of a Web container in an application example of the present application;
FIG. 9 is a flow chart illustrating a session holding method in an application example of the present application;
fig. 10 is a schematic block diagram of a system configuration of an electronic device according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. 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 application.
In consideration of the insufficiency of the traditional Cookie session maintaining function, the application provides a session maintaining method and a device, IPv6 and IPv4 Web container addresses are mixed and deployed in an address pool, after a client requests for first access to the session maintaining device, the session maintaining device does not distinguish Web containers with different addresses of background IPv4 and IPv6, and an access request is distributed to any Web container in the background through a load balancing algorithm. In the subsequent access process, if the IPv6 and IPv4 addresses of the client are switched, the session holding device identifies the original Web container to which the request belongs according to Cookie information and IP protocol conversion carried by the request of the client, and accurately routes the request of the client to the original Web container for processing, so that the problem of failure of traditional Cookie session holding caused by IPv6 and IPv4 network switching can be solved.
Specifically, the virtual address for externally providing a service is a virtual address of the session holding apparatus; and the session holding device carries the IPv6 and IPv4 Web containers in a mixed way in the background. When a client initiates an access request for the first time, because the request message does not carry Cookie information, the session holding device distributes the client request to one of the Web containers in the background according to a load balancing strategy (usually, the minimum number of links, polling, the shortest response time and the like). After the Web container finishes processing the request, the data message returns to the session holding device, the session holding device inserts the Cookie information into the data message and then returns the data packet to the client, and the client stores the Cookie information locally. In the subsequent transaction process, the client requests to carry Cookie information to communicate with the server, if the client is subjected to network switching between IPv6 and IPv4, and when the session holding device is accessed again within the Cookie effective time, the session holding device reads the Cookie information and forwards the request to the same Web container through the IPv6 and IPv4 address conversion of the session holding device, so that session holding is realized, and the transaction is continuously processed.
It should be noted that the session holding method and apparatus disclosed in the present application may be used in the financial field, and may also be used in any field other than the financial field.
The following examples are intended to illustrate the details.
In order to avoid session maintaining failure due to switching between IPv6 and IPv4 networks, and improve the effectiveness of session maintaining, and thus improve the reliability of the user transaction process, the present embodiment provides a session maintaining method in which the executing entity is a session maintaining device, where the session maintaining device includes, but is not limited to, a server, and referring to fig. 1, the method specifically includes the following contents:
step 100: and receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client.
Specifically, the target IPv6/IPv4 dual-stack client is configured with an IPv6 address and an IPv4 address, and is dynamically allocated by the client operating system, and generally prefers the IPv6 address, and automatically degrades to the IPv4 network when the IPv6 network is not available. The request message may be a financial transaction request message, such as a transfer or payment.
Step 200: and determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing the initial request message of the target IPv6/IPv4 dual-stack client.
Specifically, the preset session holding list item may include a correspondence between the client, the Web container, and the Cookie valid time; the container identifier of the target Web container corresponding to the target IPv6/IPv4 dual-stack client may be obtained from the preset session holding entry according to the client identifier in the Cookie information. The target Web container can be an IPv6 Web container or an IPv4 Web container. The target Web container is the same as the Web container when the initial request message of the target IPv6/IPv4 dual-stack client is processed, and the request from the same client can be distributed to the same Web container. The target Web container may be provided in the session holding apparatus or may be provided in a separate server.
The table structure of the preset session holding table entry may be as shown in table 1.
TABLE 1
Step 300: and sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client.
In order to send request packets corresponding to different IP protocols to the same Web container, avoid session interruption, and improve the validity of session maintenance, referring to fig. 2, in an embodiment of the present application, sending the target request packet to the target Web container in step 200 includes:
step 201: and if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, applying a preset protocol conversion relation to convert the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container.
Specifically, if the IP address corresponding to the target Web container and the IP protocol of the client IP address corresponding to the Cookie information are different, protocol conversion is performed. The client IP address corresponding to the Cookie information may be determined in the session holding apparatus according to the Cookie information.
Step 202: and applying the IP address converted by the IP protocol corresponding to the Cookie information to send the target request message to a target Web container.
Specifically, the IP protocol may be an IPv6 protocol or an IPv4 protocol; the target IPv6/IPv4 dual-stack client application IP protocol is communicated with the session holding device, which IP protocol is specifically applied by the client is determined by a client operating system, mainstream operating systems are all IPv 6-first, and the IP protocol is automatically degraded to the IPv4 network under the condition that the IPv6 network is not communicated. The difference between the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information may include: the IP protocol corresponding to the IP address of the target Web container is an IPv4 protocol, and the IP protocol of the IP address corresponding to the Cookie information is an IPv6 protocol; may also include: and the IP protocol corresponding to the IP address of the target Web container is an IPv6 protocol, and the IP protocol corresponding to the IP address in the Cookie information is an IPv4 protocol. Specifically, the preset protocol conversion relationship includes correspondence between IP addresses of a plurality of IPv6/IPv4 dual-stack clients and IP addresses of an IPv4 virtual server, the IP addresses of the IPv6 virtual server and container identifiers respectively corresponding to the IP addresses, where the IP address of the IPv4 virtual server, that is, the IPv4 virtual address, is used to receive a client request based on the IPv4 protocol sent by the IPv6/IPv4 dual-stack client, and the IP address of the IPv6 virtual server, that is, the IPv6 virtual address, is used to receive a client request based on the IPv6 protocol sent by the IPv6/IPv4 dual-stack client. The virtual server IP address can be returned to the client by domain name resolution; the structure of the preset protocol conversion relationship may be as shown in table 2, and the actual content may be set as required:
TABLE 2
To further improve the effectiveness of session maintenance, in an embodiment of the present application, referring to fig. 3, before step 100, the method further includes:
step 001: and receiving an initial request message sent by the target IPv6/IPv4 dual-stack client.
Specifically, the initial request packet is an access request when the target IPv6/IPv4 dual-stack client accesses the session holding apparatus for the first time, where the access request does not carry Cookie information.
Step 002: and determining a Web container corresponding to the target IPv6/IPv4 dual-stack client according to a load balancing algorithm so that the Web container processes the initial request message.
Specifically, the load balancing algorithm may be one of a minimum number of connections, a minimum response time, polling, and priority-based, and preferably the minimum number of connections, and may determine the Web container to which the request packet is allocated and processed. The Web container may be deployed in a Web container pool in the session holding apparatus, where the Web container pool includes an IPv6 Web container and an IPv4 Web container.
The specific description of the load balancing algorithm is shown in table 3:
TABLE 3
Step 003: generating Cookie information corresponding to the target IPv6/IPv4 dual-stack client, and sending the Cookie information and the processing result of the initial request message to the target IPv6/IPv4 dual-stack client.
Specifically, after the Cookie information is inserted into the processing result of the initial request packet, the data packet may be sent to the target IPv6/IPv4 dual-stack client, and the Cookie information is stored locally at the client, so that when the session holding apparatus is accessed next time, the Cookie information is applied to determine the Web container corresponding to the target IPv6/IPv4 dual-stack client.
In order to further improve the reliability of the session holding entry and further improve the effectiveness of session holding by using the reliable session holding entry, in an embodiment of the present application, the Cookie information includes: client identification and Cookie effective time; correspondingly, referring to fig. 3, after generating Cookie information corresponding to the target IPv6/IPv4 dual-stack client in step 003, the method further includes:
step 004: and updating the session holding list item by applying the client identification, the Cookie effective time and the container identification of the Web container.
Specifically, the client identifier may be a client ID generated by applying a hash algorithm, and used for distinguishing different clients; the container identifier may be an IP address, a port number, of a Web container, and is used to distinguish different Web containers, store the client identifier and the container identifier of the Web container in the session holding table entry, so that when receiving a request packet of the target IPv6/IPv4 dual-stack client next time, the updated session holding table entry is applied to determine the Web container corresponding to the target IPv6/IPv4 dual-stack client, so as to ensure that the corresponding Web containers are the same when the same client processes request packets of different times. The Cookie effective time can be set according to actual needs, and is preferably 10 minutes.
Because the IPv4 protocol is incompatible with the IPv6 protocol, in order to ensure the reliability of communication between the target IPv6/IPv4 dual-stack client and the session holding apparatus, and further improve the validity of session holding, in an embodiment of the present application, step 100 includes:
and if the target request message is a request message sent based on an IPv4 protocol, receiving the target request message by applying a corresponding IPv4 virtual address.
Because the IPv4 protocol is incompatible with the IPv6 protocol, in order to ensure the reliability of communication between the target IPv6/IPv4 dual-stack client and the session holding apparatus, and further improve the validity of session holding, the receiving a target request packet containing Cookie information sent by the target IPv6/IPv4 dual-stack client includes:
and if the target request message is a request message sent based on an IPv6 protocol, receiving the target request message by applying a corresponding IPv6 virtual address.
In order to obtain reliable Cookie information and further apply the reliable Cookie information to improve reliability of session maintenance, in an application example of the present application, the preset session maintenance entry includes: client identification, container identification and Cookie effective time;
correspondingly, after the step 300, the method further includes: step 400: updating the Cookie effective time corresponding to the target IPv6/IPv4 dual-stack client in the preset session holding list item; step 500: and sending the Cookie effective time to the target IPv6/IPv4 dual-stack client so that the target IPv6/IPv4 dual-stack client saves the Cookie effective time to the Cookie information and sends a next request message within the Cookie effective time.
From the software aspect, in order to avoid session maintenance invalidation due to switching between IPv6 and IPv4 networks, improve the effectiveness of session maintenance, and further improve the reliability of the user transaction process, the present application provides an embodiment of a session maintaining apparatus for implementing all or part of the contents in the session maintaining method, and referring to fig. 4, the session maintaining apparatus specifically includes the following contents:
the receiving module 10 is configured to receive a target request packet containing Cookie information sent by a target IPv6/IPv4 dual-stack client.
And the processing module 20 is configured to determine a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding entry and the Cookie information, and send the target request packet to the target Web container, so that the target Web container processes the target request packet, where the target Web container is the same as the Web container used for processing the initial request packet of the target IPv6/IPv4 dual-stack client.
And the sending module 30 is configured to send the processing result of the target request packet to the target IPv6/IPv4 dual-stack client.
In one embodiment of the present application, the processing module includes:
and the protocol conversion unit is used for applying a preset protocol conversion relationship if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, and converting the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container.
And the sending unit is used for applying the IP address converted by the IP protocol corresponding to the Cookie information and sending the target request message to the target Web container.
The embodiment of the session holding apparatus provided in this specification may be specifically configured to execute the processing procedure of the embodiment of the session holding method, and its functions are not described herein again, and refer to the detailed description of the embodiment of the session holding method.
In order to avoid session maintaining failure caused by switching between IPv6 and IPv4 networks, and improve the effectiveness of session maintaining, and thus improve the reliability of the user transaction process, the present application provides a session maintaining system, see fig. 5, which includes: an IPv6/IPv4 dual-stack client 1, a soft load server 2 and a Web container 3; the IPv6/IPv4 dual-stack client 1 is connected with the soft load server 2 through an IPv6/IPv4 dual-stack network, the soft load server 2 is connected with the Web container 3 through an IPv6/IPv4 dual-stack network, the dual-stack network comprises a wired network and a wireless network, such as WiFi and 4G, the Web container 3 can be an IPV4 Web container or an IPV6 Web container, and the function realized by the soft load server 2 is equivalent to the session holding device. The specific description is as follows:
and the IPv6/IPv4 dual-stack client 1 is used for accessing the application system by the client through a dual-stack network.
The soft load Server 2 receives a dual-stack client HTTP request from an externally exposed Virtual Server IP address (VS), distributes a client HTTP request to a rear-end hybrid-deployed Web container pool according to a load balancing algorithm (such as a minimum connection number, a minimum response time, and the like) when a rear-end IPv6 Web container (RS) and an IPv4 Web container are hybrid-deployed in the Web container pool, and distributes a request from the same client to the same rear-end Web container according to a session maintenance algorithm configured by a user.
And the Web container 3 receives the client HTTP request distributed by the soft load equipment, and returns the processing result to the soft load server after the processing is finished.
Fig. 6 is a schematic structural diagram of an IPv6/IPv4 dual-stack client 1 in this application example, and as shown in fig. 6, the dual-stack client 1 includes an IPv4 address unit 11, an IPv6 address unit 12, and a Cookie management unit 13. Wherein:
the IPv4 address unit 11 communicates with a server, i.e., a soft load server, using an IPv4 protocol. The dual stack client itself has two IP addresses (one IPv4 and one IPv 6) that are dynamically assigned by the client operating system. The specific IP address used for communication is determined by the client operating system, and the mainstream operating system is IPv6 in priority. And automatically degrading to the IPv4 network under the condition that the IPv6 network is not communicated, and is transparent to clients. The IPv4 protocol used by the IPv4 address unit 11 and the IPv6 protocol used by the IPv6 address unit 12 are incompatible and cannot communicate with each other.
And the IPv6 address unit 12 is used for communicating with the server side by using an IPv6 protocol. The dual stack client itself has two IP addresses (one IPv4 and one IPv 6) that are dynamically assigned by the client operating system. The specific IP address used for communication is determined by the client operating system, and the mainstream operating system is IPv6 in priority. And automatically degrading to the IPv4 network under the condition that the IPv6 network is not communicated, and is transparent to clients. The IPv6 protocol used by the IPv6 address unit 12 and the IPv4 protocol used by the IPv4 address unit 11 are incompatible and cannot communicate with each other.
And the Cookie management unit 13 reads the locally stored Cookie information, and if the effective Cookie information exists, the Cookie management unit carries the Cookie information to access the soft load server. And if the HTTP message returned by the soft load server contains the response head of the Set-Cookie, updating the Cookie information stored locally.
Fig. 7 is a schematic structural diagram of the soft load server 2 in this application example, and as shown in fig. 7, the soft load server includes a user request receiving unit 21, a load balancing algorithm unit 22, an IP address hybrid deployment unit 23, a Cookie inserting unit 24, and a Cookie session holding unit 25.
The user request receiving unit 21 exposes an IP address of the virtual server to the outside, where the virtual IPv6 address is used to receive an HTTP request of the IPv6 client, and the virtual IPv4 address is used to receive an HTTP request of the IPv4 client.
The load balancing algorithm unit 22 determines, according to a load balancing algorithm, for example, the minimum number of connections, the minimum response time, polling, and the like, that the client HTTP request is allocated to the Web container managed by the IP address hybrid deployment unit 23 for processing.
The IP address hybrid deployment unit 23 is configured to combine the IPv4 address and the IPv6 address of the backend Web container into an IP address hybrid deployment pool, where the address pool serves as an allocation range for client HTTP request processing. The IP address hybrid deployment unit 23 maintains the mapping relationship between the VS address of the IPv4 protocol, the VS address of the IPv6 protocol, and the rear-end IPv4 and IPv6 Web containers, and when the user request reaches the VS address of IPv4 or IPv6, allocates a Web container of any rear-end IP according to the mapping relationship to process the client request, and if the container IP protocol and the client IP protocol are not consistent, the load balancing server performs protocol conversion. In general, the IP address mixing deployment unit 23 reads data in the Web container registration information storage component by the configuration management tool to acquire and update the IP address mixing pool it maintains in real time.
The Cookie insertion unit 24 generates a client ID by using a hash algorithm, and writes the client ID into an HTTP message through a Set-Cookie response packet and returns the HTTP message to the client.
And the Cookie session holding unit 25 is responsible for distributing the request of the same client ID to the same Web container for processing and refreshing the session holding effective time so as to realize session holding. The Cookie session holding unit judges whether the client carries Cookie information, reads the user ID in the Cookie information, and acquires a session holding list item (shown in the following table) of the user ID. The session holding table item represents the corresponding relation between the client and the Web container, and the Web container can be an IPv6 Web container or an IPv4 Web container through the unique identification of the IP address and the port number.
Fig. 8 is a schematic structural diagram of the Web container 3 in the present application example. As shown in fig. 8, the Web container includes a user request receiving unit 31, a container addressing unit 32, and a container request processing unit 33.
The user request receiving unit 31 is configured to expose the IP address + service port of the host to the outside, and is configured to receive the user request forwarded from the soft load server.
The container addressing unit 32 manages a correspondence between the "host IP address + service port" and the "container private address + service port", and is used to request an addressing process to the container.
And a container request processing unit 33, configured to process the user request and return a result.
In combination with the session maintaining system provided by the above application example, the application also provides an application example of a session maintaining method, referring to fig. 9, the processing flow is as follows:
step S101: the IPv6 address unit sends the client HTTP request using the IPv6 address: the dual stack client sends the HTTP request using the IPv6 address.
Step S102: the user request receiving unit receives a client request using a virtual address of IPv 6.
Step S103: and the load balancing algorithm unit distributes the request to one Web container in the address pool of the mixed deployment according to the load balancing strategy.
Step S104: : the Cookie inserting unit generates a client ID, and the Cookie session maintaining unit records the client request distribution result and updates the session maintaining list item.
Step S105: the Web container receives and processes the client request: and returns the processing result to the soft load server.
Step S106: and the Cookie inserting unit inserts the client ID into the Cookie in the return message.
Step S107: and the client receives the return of the load balancing server and stores the Cookie information.
Step S108: the double-stack client end generates IP address drift: multiple HTTP request interactions may exist in one complete transaction process, the IPv6 network of the network is unstable when a certain HTTP request is made, and IP address drift occurs in the dual-stack client.
Step S109: and the Cookie management unit reads the locally valid Cookie information.
Step S110: the IPv4 address unit sends a client HTTP request (containing a Cookie) using the IPv4 address.
Step S111: the user request receiving unit receives a client request using an IPv4 virtual address.
Step S112: and the Cookie session holding unit reads Cookie information in the HTTP request and acquires a session holding list item corresponding to the user ID.
Step S113: and the load balancing algorithm unit distributes according to the session maintaining table items.
Step S114: the Web container receives, processes and returns the client request.
Step S115: the Cookie session holding unit updates the session holding table entry, such as the Cookie valid time and the like.
Step S116: and the client receives the Cookie information returned by the load balancing server and updates the Cookie information stored locally.
As can be seen from the above description, the session maintaining method and apparatus provided by the present application can avoid session maintaining failure caused by IPv6 and IPv4 network handover, can improve the validity of session maintaining, and can further improve the reliability of the user transaction process; specifically, the mixed deployment of the container based on the IPv4 address and the IPv6 address on the session holding device can solve the problem that the client transaction cannot be processed normally under the condition that an IPv6 network is unstable or the environment of the client network changes. Its advantages are as follows: 1. the hybrid deployment of the Web container with the IPv4 address and the Web container with the IPv6 address is realized, a large address pool is formed and exposed to the session holding device, and when the IP address of the client drifts, the soft load server can load the client request to the original Web container, so that the usability of transaction can be improved. 2. In the early stage of IPv6 network construction and popularization, under the condition that the stability of the IPv6 network cannot be guaranteed, the client request is automatically distributed to the IPv4 address pool through the session maintaining device, and the session maintaining device is transparent to the client, so that the transaction can be continuously processed, and the transaction experience of the client can be further improved.
In terms of hardware, in order to avoid session maintenance invalidation due to switching between IPv6 and IPv4 networks, improve the effectiveness of session maintenance, and further improve the reliability of the user transaction process, the present application provides an embodiment of an electronic device for implementing all or part of the contents in the session maintenance method, where the electronic device specifically includes the following contents:
a processor (processor), a memory (memory), a communication Interface (Communications Interface), and a bus; the processor, the memory and the communication interface complete mutual communication through the bus; the communication interface is used for realizing information transmission between the session holding device and relevant equipment such as a user terminal and the like; the electronic device may be a desktop computer, a tablet computer, a mobile terminal, and the like, but the embodiment is not limited thereto. In this embodiment, the electronic device may be implemented with reference to the embodiment for implementing the session maintaining method and the embodiment for implementing the session maintaining apparatus in the embodiments, and the contents thereof are incorporated herein, and repeated details are not repeated.
Fig. 10 is a schematic block diagram of a system configuration of an electronic device 9600 according to an embodiment of the present application. As shown in fig. 10, the electronic device 9600 can include a central processor 9100 and a memory 9140; the memory 9140 is coupled to the central processor 9100. Notably, this fig. 10 is exemplary; other types of structures may also be used in addition to or in place of the structure to implement telecommunications or other functions.
In one or more embodiments of the present application, the session-holding function can be integrated into the central processor 9100. The central processor 9100 may be configured to control as follows:
step 100: and receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client.
Step 200: and determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing the initial request message of the target IPv6/IPv4 dual-stack client.
Step 300: and sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client.
As can be seen from the above description, the electronic device provided in the embodiment of the present application can avoid session maintenance invalidation due to switching between IPv6 and IPv4 networks, improve the effectiveness of session maintenance, and further improve the reliability of the user transaction process.
In another embodiment, the session holding apparatus may be configured separately from the central processor 9100, for example, the session holding apparatus may be configured as a chip connected to the central processor 9100, and the session holding function is realized by the control of the central processor.
As shown in fig. 10, the electronic device 9600 may further include: a communication module 9110, an input unit 9120, an audio processor 9130, a display 9160, and a power supply 9170. It is noted that the electronic device 9600 also does not necessarily include all of the components shown in fig. 10; in addition, the electronic device 9600 may further include components not shown in fig. 10, which can be referred to in the prior art.
As shown in fig. 10, a central processor 9100, sometimes referred to as a controller or operational control, can include a microprocessor or other processor device and/or logic device, which central processor 9100 receives input and controls the operation of the various components of the electronic device 9600.
The memory 9140 can be, for example, one or more of a buffer, a flash memory, a hard drive, a removable media, a volatile memory, a non-volatile memory, or other suitable device. The information relating to the failure may be stored, and a program for executing the information may be stored. And the central processing unit 9100 can execute the program stored in the memory 9140 to realize information storage or processing, or the like.
The input unit 9120 provides input to the central processor 9100. The input unit 9120 is, for example, a key or a touch input device. Power supply 9170 is used to provide power to electronic device 9600. The display 9160 is used for displaying display objects such as images and characters. The display may be, for example, an LCD display, but is not limited thereto.
The memory 9140 can be a solid state memory, e.g., read Only Memory (ROM), random Access Memory (RAM), a SIM card, or the like. There may also be a memory that holds information even when power is off, can be selectively erased, and is provided with more data, an example of which is sometimes called an EPROM or the like. The memory 9140 could also be some other type of device. Memory 9140 includes a buffer memory 9141 (sometimes referred to as a buffer). The memory 9140 may include an application/function storage portion 9142, the application/function storage portion 9142 being used for storing application programs and function programs or for executing a flow of operations of the electronic device 9600 by the central processor 9100.
The memory 9140 can also include a data store 9143, the data store 9143 being used to store data, such as contacts, digital data, pictures, sounds, and/or any other data used by an electronic device. The driver storage portion 9144 of the memory 9140 may include various drivers for the electronic device for communication functions and/or for performing other functions of the electronic device (e.g., messaging applications, contact book applications, etc.).
The communication module 9110 is a transmitter/receiver 9110 that transmits and receives signals via an antenna 9111. The communication module (transmitter/receiver) 9110 is coupled to the central processor 9100 to provide input signals and receive output signals, which may be the same as in the case of a conventional mobile communication terminal.
Based on different communication technologies, a plurality of communication modules 9110, such as a cellular network module, a bluetooth module, and/or a wireless local area network module, may be provided in the same electronic device. The communication module (transmitter/receiver) 9110 is also coupled to a speaker 9131 and a microphone 9132 via an audio processor 9130 to provide audio output via the speaker 9131 and receive audio input from the microphone 9132, thereby implementing ordinary telecommunications functions. The audio processor 9130 may include any suitable buffers, decoders, amplifiers and so forth. In addition, the audio processor 9130 is also coupled to the central processor 9100, thereby enabling recording locally through the microphone 9132 and enabling locally stored sounds to be played through the speaker 9131.
As can be seen from the above description, the electronic device provided in the embodiment of the present application can avoid session maintenance invalidation due to switching between IPv6 and IPv4 networks, improve the effectiveness of session maintenance, and further improve the reliability of the user transaction process.
Embodiments of the present application further provide a computer-readable storage medium capable of implementing all steps in the session holding method in the foregoing embodiments, where the computer-readable storage medium stores thereon a computer program, and when the computer program is executed by a processor, the computer program implements all steps of the session holding method in the foregoing embodiments, for example, when the processor executes the computer program, the processor implements the following steps:
step 100: and receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client.
Step 200: and determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing the initial request message of the target IPv6/IPv4 dual-stack client.
Step 300: and sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client.
As can be seen from the above description, the computer-readable storage medium provided in the embodiment of the present application can avoid session maintenance invalidation due to switching between IPv6 and IPv4 networks, improve the effectiveness of session maintenance, and further improve the reliability of the user transaction process.
In the present application, each embodiment of the method is described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. Reference is made to the description of the method embodiments in part.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The principle and the implementation mode of the present application are explained by applying specific embodiments in the present application, and the description of the above embodiments is only used to help understanding the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present application.
Claims (9)
1. A session maintenance method, comprising:
receiving a target request message containing Cookie information sent by a target IPv6/IPv4 dual-stack client;
determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing an initial request message of the target IPv6/IPv4 dual-stack client, and an IP protocol corresponding to the target Web container is an IPv4 protocol or an IPv6 protocol; the preset session holding table entry comprises: client identification, container identification and Cookie valid time; the target Web container is deployed in an address pool, which includes: realizing a Web container of an IPv4 address and a Web container of an IPv6 address;
sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client;
the sending the target request message to the target Web container includes:
if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, applying a preset protocol conversion relation to convert the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container;
applying the IP address converted by the IP protocol corresponding to the Cookie information to send the target request message to a target Web container; when the IPv6 network is unstable, the target request message is sent to an IPv4 address pool;
after the processing result of the target request message is sent to the target IPv6/IPv4 dual-stack client, the method further includes:
updating the Cookie effective time corresponding to the target IPv6/IPv4 dual-stack client in the preset session maintaining list item;
and sending the Cookie effective time to the target IPv6/IPv4 dual-stack client so that the target IPv6/IPv4 dual-stack client saves the Cookie effective time to the Cookie information and sends a next request message within the Cookie effective time.
2. The session holding method according to claim 1, wherein before receiving the target request packet containing Cookie information sent by the target IPv6/IPv4 dual-stack client, the method further comprises:
receiving an initial request message sent by the target IPv6/IPv4 dual-stack client;
determining a Web container corresponding to the target IPv6/IPv4 dual-stack client according to a load balancing algorithm so that the Web container processes the initial request message;
generating Cookie information corresponding to the target IPv6/IPv4 dual-stack client, and sending the Cookie information and the processing result of the initial request message to the target IPv6/IPv4 dual-stack client.
3. The session holding method according to claim 2, wherein the Cookie information comprises: client identification and Cookie effective time;
correspondingly, after generating the Cookie information corresponding to the target IPv6/IPv4 dual-stack client, the method further includes:
and updating the session holding list item by applying the client identification, the Cookie effective time and the container identification of the Web container.
4. The session holding method according to claim 1, wherein the receiving the target request packet containing Cookie information sent by the target IPv6/IPv4 dual-stack client includes:
and if the target request message is a request message sent based on an IPv4 protocol, receiving the target request message by applying a corresponding IPv4 virtual address.
5. The session holding method according to claim 1, wherein the receiving the target request packet containing Cookie information sent by the target IPv6/IPv4 dual-stack client includes:
and if the target request message is a request message sent based on an IPv6 protocol, receiving the target request message by applying a corresponding IPv6 virtual address.
6. A session-holding apparatus, comprising:
the receiving module is used for receiving a target request message which is sent by a target IPv6/IPv4 dual-stack client and contains Cookie information;
the processing module is used for determining a target Web container corresponding to the target IPv6/IPv4 dual-stack client according to a preset session holding list item and the Cookie information, and sending the target request message to the target Web container so that the target Web container processes the target request message, wherein the target Web container is the same as a Web container used for processing an initial request message of the target IPv6/IPv4 dual-stack client; the target Web container is deployed in an address pool, which includes: realizing a Web container of an IPv4 address and a Web container of an IPv6 address; the preset session holding table entry comprises: client identification, container identification and Cookie effective time;
the sending module is used for sending the processing result of the target request message to the target IPv6/IPv4 dual-stack client;
the updating module is used for updating the Cookie effective time corresponding to the target IPv6/IPv4 dual-stack client in the preset session maintaining list item;
the sending module is used for sending the Cookie effective time to the target IPv6/IPv4 dual-stack client so that the target IPv6/IPv4 dual-stack client can store the Cookie effective time into the Cookie information and send a next request message within the Cookie effective time;
the processing module comprises:
the judging unit is used for applying a preset protocol conversion relationship if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, and converting the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container;
the conversion unit is used for applying the IP address converted by the IP protocol corresponding to the Cookie information and sending the target request message to a target Web container; and when the IPv6 network is unstable, sending the target request message to an IPv4 address pool.
7. The session holding apparatus according to claim 6, wherein the processing module comprises:
the protocol conversion unit is used for applying a preset protocol conversion relationship if the IP protocols of the IP addresses corresponding to the target Web container and the Cookie information are different, and converting the IP protocol of the IP address corresponding to the Cookie information into the IP protocol of the IP address corresponding to the target Web container;
and the sending unit is used for applying the IP address converted by the IP protocol corresponding to the Cookie information and sending the target request message to the target Web container.
8. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the session holding method of any one of claims 1 to 5 when executing the program.
9. A computer readable storage medium having stored thereon computer instructions, wherein the instructions, when executed, implement the session-holding method of any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010833150.6A CN111953700B (en) | 2020-08-18 | 2020-08-18 | Session keeping method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010833150.6A CN111953700B (en) | 2020-08-18 | 2020-08-18 | Session keeping method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111953700A CN111953700A (en) | 2020-11-17 |
CN111953700B true CN111953700B (en) | 2023-04-07 |
Family
ID=73343078
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010833150.6A Active CN111953700B (en) | 2020-08-18 | 2020-08-18 | Session keeping method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111953700B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112511611B (en) * | 2020-11-19 | 2021-08-10 | 腾讯科技(深圳)有限公司 | Communication method, device and system of node cluster and electronic equipment |
CN112600935A (en) * | 2020-12-28 | 2021-04-02 | 咪咕音乐有限公司 | Session keeping method, device, electronic equipment and storage medium |
CN112929440A (en) * | 2021-02-09 | 2021-06-08 | 上海弘积信息科技有限公司 | Method for keeping double stack connection by cookie |
CN112866439A (en) * | 2021-04-02 | 2021-05-28 | 中国工商银行股份有限公司 | Data processing method, device and system |
CN113452778B (en) * | 2021-06-25 | 2023-10-13 | 中国农业银行股份有限公司 | Session holding method, device, equipment, system and storage medium |
CN113612851A (en) * | 2021-08-11 | 2021-11-05 | 山石网科通信技术股份有限公司 | Remote connection method and device, storage medium and processor |
CN114172726B (en) * | 2021-12-07 | 2023-08-29 | 北京天融信网络安全技术有限公司 | Access control method and system based on container environment |
CN114338832B (en) * | 2021-12-17 | 2023-08-18 | 上海道客网络科技有限公司 | Network protocol conversion method and system of container cloud platform |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585376A (en) * | 2003-08-20 | 2005-02-23 | 华为技术有限公司 | Addressing converting method and mixed addressing converting router for realizing it |
CN1913461A (en) * | 2006-08-30 | 2007-02-14 | 北京天地互连信息技术有限公司 | Remote vedio monitoring system based on next generation interconnection network and its implementing method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP3972733B2 (en) * | 2002-05-30 | 2007-09-05 | 株式会社日立製作所 | Address translation device, address translation system, and SIP server |
CN102075445B (en) * | 2011-02-28 | 2013-12-25 | 杭州华三通信技术有限公司 | Load balancing method and device |
US9419940B2 (en) * | 2012-03-02 | 2016-08-16 | Futurewei Technologies, Inc. | IPv4 data center support for IPv4 and IPv6 visitors |
CN107360251A (en) * | 2017-08-16 | 2017-11-17 | 中国工商银行股份有限公司 | Method, system and the load balancing apparatus that session is kept |
CN107682472A (en) * | 2017-10-24 | 2018-02-09 | 睿哲科技股份有限公司 | IPv4 and IPv6 interoperability methods, apparatus and system based on RTSP reverse proxys |
CN110149411A (en) * | 2019-06-05 | 2019-08-20 | 中星科源(北京)信息技术有限公司 | A kind of session keeping method, device, storage medium and processor |
CN209805866U (en) * | 2019-06-05 | 2019-12-17 | 中星科源(北京)信息技术有限公司 | Conversation maintaining system |
CN110233902B (en) * | 2019-06-28 | 2022-03-01 | 杭州迪普科技股份有限公司 | Session processing method and device, electronic equipment and machine-readable storage medium |
-
2020
- 2020-08-18 CN CN202010833150.6A patent/CN111953700B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1585376A (en) * | 2003-08-20 | 2005-02-23 | 华为技术有限公司 | Addressing converting method and mixed addressing converting router for realizing it |
CN1913461A (en) * | 2006-08-30 | 2007-02-14 | 北京天地互连信息技术有限公司 | Remote vedio monitoring system based on next generation interconnection network and its implementing method |
Also Published As
Publication number | Publication date |
---|---|
CN111953700A (en) | 2020-11-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111953700B (en) | Session keeping method and device | |
CN100484125C (en) | Answering method to address inquire and appts. thereof | |
US7245622B2 (en) | Allowing IPv4 clients to communicate over an IPv6 network when behind a network address translator with reduced server workload | |
KR100636186B1 (en) | Bidirectional tunnel establishment method and system | |
CN101207604B (en) | Virtual machine system and communication processing method thereof | |
US10541925B2 (en) | Non-DSR distributed load balancer with virtualized VIPS and source proxy on load balanced connection | |
US20060069836A1 (en) | Communication system and method for upgrade of user terminal software and user terminal upgraded by the same | |
WO2017054526A1 (en) | Arp entry generation method and device | |
JP4652653B2 (en) | Assign server address to terminal | |
US20140207857A1 (en) | System and method of managing information distribution to mobile stations | |
US7024484B2 (en) | Pre-execution environment compliant dynamic host configuration protocol relay agent | |
US20130346591A1 (en) | Clientless Cloud Computing | |
CN106878199B (en) | Configuration method and device of access information | |
US8572284B2 (en) | Method and apparatus for registering a mobile object on a foreign network | |
CN111741039B (en) | Session request processing method and device and electronic equipment | |
US20120230337A1 (en) | Method and apparatus for packet call setup | |
CN103763754A (en) | Method, device and system for processing data | |
CN106487948A (en) | A kind of DHCP service management system and DHCP service management method | |
JP5828952B2 (en) | Communication system, node, flow control network, and communication control method | |
WO2017219777A1 (en) | Packet processing method and device | |
CN111786989B (en) | Communication processing method and device and electronic equipment | |
JP4660379B2 (en) | Method, apparatus and system for accurate access to roaming mobile nodes | |
CN112866439A (en) | Data processing method, device and system | |
US7508786B2 (en) | Mobile communication system and method for exchanging data between mobile communication terminals using packet data communication | |
CN102811263A (en) | Communication method and system based on IPv6 for mobile terminal and mobile 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 |