CN110149411A - A kind of session keeping method, device, storage medium and processor - Google Patents

A kind of session keeping method, device, storage medium and processor Download PDF

Info

Publication number
CN110149411A
CN110149411A CN201910485458.3A CN201910485458A CN110149411A CN 110149411 A CN110149411 A CN 110149411A CN 201910485458 A CN201910485458 A CN 201910485458A CN 110149411 A CN110149411 A CN 110149411A
Authority
CN
China
Prior art keywords
agreement
client
former
data
session
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910485458.3A
Other languages
Chinese (zh)
Inventor
王洪文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhongxing Keyuan (beijing) Information Technology Co Ltd
Original Assignee
Zhongxing Keyuan (beijing) Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongxing Keyuan (beijing) Information Technology Co Ltd filed Critical Zhongxing Keyuan (beijing) Information Technology Co Ltd
Priority to CN201910485458.3A priority Critical patent/CN110149411A/en
Publication of CN110149411A publication Critical patent/CN110149411A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols 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 invention discloses a kind of session keeping method, device, storage medium and processors.Wherein, this method comprises: in the case that the original agreement used in the client changes, the first IP data that client is issued carry out protocol conversion, wherein, first IP data are that client uses IP data corresponding when changing agreement, variation agreement is the inconsistent agreement of the former agreement that uses with client, and the former agreement that client uses is consistent with agreement used in original server, and former server is the server that client carries out that load balancing is distributed when using former agreement;The 3rd IP data that converting system is issued after protocol conversion the 2nd IP data and client are issued using former agreement are conversated the scheme of holding by same SiteServer LBS, solving the prior art through the invention can not conversate the technical issues of keeping in the case where IPv4 network and IPv6 network switching.

Description

A kind of session keeping method, device, storage medium and processor
Technical field
The present invention relates to field of communication technology, in particular to a kind of session keeping method, device, storage medium and Processor.
Background technique
Currently, SiteServer LBS in the prior art only supports the session of the mono- protocol stack of IPv4 or the mono- protocol stack of IPv6 to protect It holds, that is, when client is using a certain single protocol stack, via corresponding single protocol stack SiteServer LBS to multiple servers It carries out load balancing and selects idle server as the corresponding server of client to the holding that conversates, for example, such as The session of fruit client is carried out in IPv4 protocol stack always, and IPv4 data transmission packet is sent to IPv4 load balancing system by client System selects suitable server to conversate holding;If the session of client is carried out in IPv6 protocol stack always, client will IPv6 data transmission packet is sent to IPv6 SiteServer LBS and suitable server is selected to conversate holding;
But network environment is frequently present of the case where switching between IPv4 and IPv6 dual stack, for example, user exists The unstable situation of the network environments such as high-speed rail, the prior art can only realize that session is kept in single protocol stack, in case of user Switching of the client between IPv4 network and IPv6 network, the then source address for the client that application service system receives also can Switch between the address IPv4 and IPv6, the session that the SiteServer LBS of the prior art cannot achieve user keeps function.
It can not solve for the prior art in the skill of IPv4 network and the holding that conversates in the case where IPv6 network switching Art problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of session keeping method, device, storage medium and processors, to solve existing skill Art can not conversate the technical issues of keeping in IPv4 network and IPv6 network switching in the case where.
According to an aspect of an embodiment of the present invention, a kind of session keeping method is provided, comprising: when client is used Former agreement change in the case where, by client issue the first IP data carry out protocol conversion, wherein the first IP Data are that the client uses IP data corresponding when changing agreement, and the variation agreement is used with the client The inconsistent agreement of former agreement, the former agreement that the client uses is consistent with agreement used in the former server, described Former server is the server that the client carries out that load balancing is distributed when using former agreement;It will be after protocol conversion The 3rd IP data that the 2nd IP data and the client that converting system is issued are issued using former agreement are by same negative It carries equal balance system and carries out load balancing;IP data after load balancing are sent to former server to conversate holding.
Further, information is kept comprising session in the first IP data, the session keeps information to be used to identify visitor Former server corresponding to the former agreement that family end uses.
Further, the 2nd IP data that converting system issues after protocol conversion are used into former association with the client It includes: to keep information that will turn after protocol conversion according to the session that the 3rd IP data that view issues carry out load balancing together The 3rd IP data that the 2nd IP data and the client for changing system sending are issued using former agreement are by same load balancing System carries out load balancing.
Further, the variation agreement includes: IPv4 agreement or IPv6 agreement.
Further, the former agreement includes: IPv4 agreement or IPv6 agreement.
Further, it includes: HTTP cookie or Session ID that the session, which keeps information,.
According to another aspect of an embodiment of the present invention, a kind of session holding meanss are additionally provided, comprising: protocol conversion system System, the first IP data for issuing client carry out protocol conversion, wherein the first IP data are that the client makes With corresponding IP data when variation agreement, the variation agreement is the inconsistent association of the former agreement that uses with the client View, the former agreement that the client uses is consistent with agreement used in the former server, and the original server is the visitor The server that family end is distributed when using former agreement by SiteServer LBS;SiteServer LBS, for that will turn by agreement The 2nd IP data that rear converting system is issued and the 3rd IP data that the client is issued using former agreement are changed all at this SiteServer LBS, which carries out being sent to former server after load balancing, to conversate holding.
Further, the session holding meanss further include: session information keeps module, for being kept according to the session The third that information issues the 2nd IP data that converting system issues after protocol conversion and the client using former agreement IP data carry out load balancing by same SiteServer LBS, and the session keeps information to be used to identify the original that client uses Former server corresponding to agreement.
Other side according to an embodiment of the present invention has been also provided to a kind of storage medium, has protected on the storage medium Computer program stored executes the upper method when described program is run.
Other side according to an embodiment of the present invention has been also provided to a kind of processor, has held when described program is run The above-mentioned method of row.
According to embodiments of the present invention, in the case where changing using the original agreement used in the client, by client The first IP data that end issues carry out protocol conversion, wherein when the first IP data are that the client uses variation agreement Corresponding IP data, the variation agreement are the inconsistent agreement of the former agreement that uses with the client, the client The former agreement used is consistent with agreement used in the former server, and the original server is the client using former association The server that load balancing is distributed is carried out when view;By converting system is issued after protocol conversion the 2nd IP data and institute It states client and carries out load balancing by same SiteServer LBS using the 3rd IP data that former agreement is issued;It will be by negative Carry it is balanced after IP data be sent to former server and conversate the scheme of holding, solving the prior art through the invention can not Conversate the technical issues of keeping in the case where IPv4 network and IPv6 network switching, so that feelings of the network environment in variation Under condition, user still can carry out good session holding with former server, will not because of network environment change and pay volume Outer cost.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present invention, schematic reality of the invention It applies example and its explanation is used to explain the present invention, do not constitute improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is a kind of flow chart of session keeping method according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of optional session keeping method according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram of session holding meanss according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
According to embodiments of the present invention, a kind of session keeping method embodiment is provided, it should be noted that in the stream of attached drawing The step of journey illustrates can execute in a computer system such as a set of computer executable instructions, although also, flowing Logical order is shown in journey figure, but in some cases, it can be to be different from shown or described by sequence execution herein The step of.
Fig. 1 is a kind of flow chart of session keeping method according to an embodiment of the present invention, as shown in Figure 1, this method includes Following steps:
Step S102, in the case that the original agreement used in the client changes, the first IP that client is issued Data carry out protocol conversion, wherein and the first IP data are that the client uses IP data corresponding when changing agreement, The variation agreement is the inconsistent agreement of the former agreement that uses with the client, the former agreement and institute that the client uses It is consistent to state agreement used in former server, the original server is that the client carries out load balancing when using former agreement The server distributed;
Step S104 uses converting system is issued after protocol conversion the 2nd IP data and the client former The 3rd IP data that agreement is issued carry out load balancing by same SiteServer LBS;
IP data after load balancing are sent to former server and conversated holding by step S106.
The first IP data, the 2nd IP data and the 3rd IP data in above-mentioned steps can be counted in the form of data packet According to transmission.For example, client is first in the network of IPv6 in high-speed rail, client has sent the corresponding number of 10 IPv6 agreements According to packet to server, at this point, network environment it is unstable etc. due to, client has been switched to IPv4 network, client's termination Have issued corresponding 5 data packets of IPv4 agreement again, this 5 data packets are equal by the load of single protocol stack in the prior art Weighing apparatus is re-started distribution, and the former server for leading to not be distributed with client continues to keep session, so that session be caused to protect Interruption is held, at this point, the present embodiment makes it be changed into new IP number by the way that the variation agreement in network environment is carried out protocol conversion It conversates holding according to the corresponding IP data packet of Bao Zaiyu original agreement by the same SiteServer LBS, this and prior art list Different by corresponding single protocol stack SiteServer LBS in protocol stack, the present embodiment is in different network protocols using same The SiteServer LBS of set, so that solving the prior art can not be understood in the case where IPv4 network and IPv6 network switching The technical issues of words are kept, so that network environment is in varying situations, user can still carry out good with former server Session keep, will not because of network environment change and pay additional cost.
The first IP data in above-mentioned steps can be changed into the corresponding IP data of former agreement after protocol translation, at this time Identical mark is needed just to can guarantee that the IP data converted can be sent to the clothes for having like-identified with the IP data of former agreement It is engaged in device, in a kind of optional embodiment, keeps information comprising session in the first IP data, the session keeps letter Breath is used to identify former server corresponding to the former agreement that client uses.
The 2nd IP data that converting system issues after protocol conversion are issued with the client using former agreement 3rd IP data carry out load balancing by same SiteServer LBS and need to store phase in the 2nd IP data and the 3rd IP data Same session keeps information realization, and it is the session fed back when accessing server for the first time by client which, which keeps information, Information is kept, hereafter, no matter how network environment changes, and protects comprising the session in the request data package each time of the client Information is held, consequently facilitating still can be with the server of the holding that conversates for the first time after continuation of insurance when network environment changes Session is held, the stability that session is kept is improved, in a kind of optional embodiment, comprising: information is kept according to the session By the 2nd IP data that converting system issues after protocol conversion and the 3rd IP number that the client is issued using former agreement Load balancing is carried out according to by same SiteServer LBS.
Network environment may be become IPv6 network from IPv4 network, it is also possible to become IPv4 network from IPv6 network, one In the optional embodiment of kind, the variation agreement includes: IPv4 agreement or IPv6 agreement.In a kind of optional embodiment In, the original agreement includes: IPv4 agreement or IPv6 agreement.For example, multiple servers when backstage work in IPv4 protocol stack When, the transparent transmission if the data information from user client belongs to IPv4 protocol stack, if the data from user client Information belongs to IPv6 protocol stack and is then converted into IPv4 protocol stack data information, i.e., by user client from IPv4 and IPv6 two The data information that a protocol stack is sent respectively is used as the data information of IPv4 protocol stack to conversate holding.It specifically, can be with It is realized according to certain specific identifiers in existing session holding or default mark and is sent to unified IPv4 association after conversion It discusses in the corresponding former server of stack, to realize that session keeps function.Similarly, when background server works in IPv6 protocol stack When, function is also kept using realization session in the corresponding former server of the unified IPv6 protocol stack of same method after conversion Energy.
IPv4 and IPv6 service request can be handled simultaneously through the foregoing embodiment, existed once user client has occurred The case where switching between IPv4 network and IPv6 network guarantees that the session of the user can continue to be maintained.
In the environment of IPv4 or IPv6 mono- protocol stack, load-balancing device can pass through cookie, Session Id etc. The keyword of client realizes that the session to client is kept, and in a kind of optional embodiment, the session keeps information It include: HTTP cookie or Session ID.
Above-mentioned whole sessions were kept as an optional embodiment by taking IPv4 protocol stack as an example below with reference to Fig. 2 Journey is illustrated, as shown in Figure 2:
Server is using IPv4 protocol stack, and there are two types of situations for access server for the first time for client: at client In IPv4 network and when client is in IPv6 network.
When the network environment that client 1 (as solid line in figure 2) uses for the first time is IPv4 network, client 1 Request is sent directly to SiteServer LBS, and the request of client 1 is sent to corresponding server A, meeting by SiteServer LBS It is that corresponding server A carries out the answer number that client of feeding is returned when response when the client accesses for the first time that words, which keep information, According to.
Similarly, when client 1 accesses application system using IPv6 network for the first time, first with the address IPv6 of client 1 For source address, the address IPv6 of protocol conversion system is purpose address, and client 1 is to the address destination IP v6 of protocol conversion system Request is initiated, protocol conversion system is with searching the IPv4 of the corresponding SiteServer LBS in itself address IPv6 (address destination IP v6) Then location uses the address IPv4 of protocol conversion system itself as source address, the address IPv4 of load-balancing device is as a purpose Address sends access request to SiteServer LBS, then by SiteServer LBS according to the load state of each IPv4 server, IPv6 request is distributed on the IPv4 protocol stack server an of relative free.After server A has handled the request, The IPv4 response that information is kept comprising session can be sent to SiteServer LBS, SiteServer LBS is with the IPv4 of itself Location is as source address, and address, forwarding response message to protocol conversion system are assisted as a purpose for the address IPv4 of protocol conversion system Converting system is discussed using the address IPv6 of itself as source address, the address IPv6 of client address as a purpose, including session The reply data of information is kept to be sent to client.
No matter the case where access server is using which kind of above-mentioned network environment for the first time, in later access data information Information is kept containing the session returned after original server response when accessing for the first time.
When client 1 is initiated to request again by IPv6 network to server, above-mentioned session is just contained in request and is protected Information is held, for client first using the address IPv6 of client as source address, the address IPv6 of protocol conversion system is purpose address, Client sends to protocol conversion system and requests, and protocol conversion system searches itself corresponding SiteServer LBS in the address IPv6 The address IPv4, and using the address IPv4 of itself as source address, the address IPv4 of SiteServer LBS is purpose address, forwards client The request at end after load-balancing device receives the request of client, sends the session in message according to client and keeps information, Former server A that is primary or handling client request for the first time before the request of the client is forwarded to.
If client 1 is sent directly to load balancing system by IPv6 network switching to IPv4 network, the request of client 1 System, SiteServer LBS keeps information by the above-mentioned session of identification client 1, primary before the request of client 1 is sent to Or the corresponding former server A of client request is handled for the first time.
Session of the client at IPv4 and the bis- stack switch instances of IPv6 may be implemented by above step to keep, and right Original SiteServer LBS does not need additional transformation, only need to newly increase protocol conversion system and share IPv4 and the bis- stacks of IPv6 One SiteServer LBS can be realized the holding of the session under dual stack, save the cost while solve IPv4 network with Conversate the technical issues of keeping in the case where IPv6 network switching.
The embodiment of the invention also provides a kind of session holding meanss, which can be by protocol conversion system 32 and negative It carries equal balance system 34 and realizes its function.It should be noted that a kind of session holding meanss of the embodiment of the present invention can be used for holding A kind of session keeping method of a kind of session keeping method provided by the row embodiment of the present invention, the embodiment of the present invention can also lead to A kind of session holding meanss provided by the embodiment of the present invention are crossed to execute.
Fig. 3 is a kind of schematic diagram of session holding meanss according to an embodiment of the present invention.As shown in figure 3, a kind of session is protected Holding device includes:
Protocol conversion system 32, the first IP data for issuing client carry out protocol conversion, wherein described first IP data are that the client uses IP data corresponding when changing agreement, and the variation agreement is and the client uses The inconsistent agreement of former agreement, the former agreement that the client uses is consistent with agreement used in the former server, institute Stating former server is the server that the client carries out that load balancing is distributed when using former agreement:
SiteServer LBS 34, for will converting system is issued after protocol conversion the 2nd IP data and the visitor The 3rd IP data that family end is issued using former agreement are all sent to former service after the SiteServer LBS carries out load balancing Device conversates holding.
Above system can simultaneously conversate holding to two kinds of protocol stacks of IPv4 and IPv6, and have IPv4/IPv6 association Conversion function is discussed, when client switches between IPv4 and IPv6 protocol stack, by protocol conversion system two The data packet of kind protocol stack is converted to the data packet of same protocol stack, then is uniformly processed by SiteServer LBS, realizes to client The session at end is kept.System in through this embodiment can handle IPv4 and IPv6 service request simultaneously, and once occur The case where switching of the user client between IPv4 network and IPv6 network, the session of the user can continue to be protected It holds.It can not be asked in IPv4 network and the technology for the holding that conversates in the case where IPv6 network switching to solve the prior art Topic, so that network environment is in varying situations, user still can carry out good session holding, Bu Huiyin with former server For network environment change and pay additional cost, it is simple and easy.
Above-mentioned client can be one or more, in the case where multiple client, each client corresponding one A preset session keeps information.
In an alternative embodiment, a kind of session holding meanss further include: session information keeps module, is used for basis The session keeps information that the 2nd IP data that converting system issues after protocol conversion are used former association with the client The 3rd IP data that view issues carry out load balancing by same SiteServer LBS, and the session keeps information to be used to identify visitor Former server corresponding to the former agreement that family end uses.
In the present embodiment, a kind of storage medium is provided, storage medium includes the program of storage, wherein is transported in program Equipment executes the above method where controlling storage medium when row.
In the present embodiment, a kind of processor is provided, processor includes the program of processor, wherein run in program When control processor where equipment execute the above method.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
A kind of above-mentioned session holding meanss embodiment is corresponding with a kind of session keeping method, so for beneficial to effect Fruit repeats no more.
In several embodiments provided herein, it should be understood that disclosed technology contents can pass through others Mode is realized.Wherein, Installation practice described above is only illustrative, such as the division of unit, can be patrolled for one kind Volume function division, there may be another division manner in actual implementation, such as multiple units or components can combine or can be with It is integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of unit or module, can To be electrically or in the form of others.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unit Component may or may not be physical unit, it can and it is in one place, or may be distributed over multiple units On.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent product To be stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention substantially or Say that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software products Out, which is stored in a storage medium, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of step of each embodiment method of the present invention Suddenly.And storage medium above-mentioned includes: USB flash disk, read-only memory (ROM, Read-OnIy Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
The above is only the preferred embodiment of the present invention, it is noted that those skilled in the art are come It says, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications also should be regarded as Protection scope of the present invention.

Claims (10)

1. a kind of session keeping method characterized by comprising
In the case that the original agreement used in the client changes, the first IP data that client is issued carry out agreement and turn It changes, wherein the first IP data are that the client uses IP data corresponding when changing agreement, and the variation agreement is The inconsistent agreement of the former agreement used with the client, the former agreement that the client uses are made with the former server Agreement is consistent, and the original server is the service that the client carries out that load balancing is distributed when using former agreement Device;
The 2nd IP data that converting system is issued after protocol conversion are issued with the client using former agreement 3rd IP data carry out load balancing by same SiteServer LBS;
IP data after load balancing are sent to former server to conversate holding.
2. the method according to claim 1, wherein keeping information, institute comprising session in the first IP data Stating session keeps information to be used to identify former server corresponding to the former agreement that client uses.
3. according to the method described in claim 2, it is characterized in that, by the 2nd IP of the converting system sending after protocol conversion Data carry out load balancing together with the 3rd IP data that the client is issued using former agreement
Keep information by the 2nd IP data and the client of the converting system sending after protocol conversion according to the session Load balancing is carried out by same SiteServer LBS using the 3rd IP data that former agreement issues.
4. the method according to claim 1, wherein the variation agreement includes: IPv4 agreement or IPv6 agreement.
5. the method according to claim 1, wherein the original agreement includes: IPv4 agreement or IPv6 agreement.
6. according to the method described in claim 2, it is characterized in that, the session keep information include: HTTP cookie or Session ID。
7. a kind of session holding meanss characterized by comprising
Protocol conversion system, the first IP data for issuing client carry out protocol conversion, wherein the first IP data It is that the client uses IP data corresponding when changing agreement, the variation agreement is the former association used with the client Inconsistent agreement is discussed, the former agreement that the client uses is consistent with agreement used in the former server, the former clothes Business device is the server that the client is distributed when using former agreement by SiteServer LBS;
SiteServer LBS, for making converting system is issued after protocol conversion the 2nd IP data with the client The 3rd IP data issued with former agreement are all sent to former server after the SiteServer LBS carries out load balancing and carry out Session is kept.
8. device according to claim 7, which is characterized in that it is characterised by comprising:
Session information keeps module, for keeping information by converting system issues after protocol conversion the according to the session The 3rd IP data that two IP data and the client are issued using former agreement load by same SiteServer LBS Weighing apparatus, the session keep information to be used to identify former server corresponding to the former agreement that client uses.
9. a kind of storage medium, which is characterized in that preserve program on the storage medium, right of execution when described program is run Benefit require any one of 1 to 6 described in method.
10. a kind of processor, which is characterized in that side described in any one of perform claim requirement 1 to 6 when described program is run Method.
CN201910485458.3A 2019-06-05 2019-06-05 A kind of session keeping method, device, storage medium and processor Pending CN110149411A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910485458.3A CN110149411A (en) 2019-06-05 2019-06-05 A kind of session keeping method, device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910485458.3A CN110149411A (en) 2019-06-05 2019-06-05 A kind of session keeping method, device, storage medium and processor

Publications (1)

Publication Number Publication Date
CN110149411A true CN110149411A (en) 2019-08-20

Family

ID=67590330

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910485458.3A Pending CN110149411A (en) 2019-06-05 2019-06-05 A kind of session keeping method, device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN110149411A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953700A (en) * 2020-08-18 2020-11-17 中国工商银行股份有限公司 Session keeping method and device
CN113923187A (en) * 2020-06-22 2022-01-11 中移(苏州)软件技术有限公司 Network access method and device, electronic equipment and storage medium
CN114945047A (en) * 2022-04-08 2022-08-26 北京智象信息技术有限公司 Intelligent terminal APP Internet protocol selection method, system, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101304436A (en) * 2008-07-07 2008-11-12 杭州华三通信技术有限公司 Load balancing method, system and equipment for implementing application layer conversation persistency
CN101322385A (en) * 2005-12-12 2008-12-10 国际商业机器公司 Load balancing and failover of distributed media resources in a media server
CN102075445A (en) * 2011-02-28 2011-05-25 杭州华三通信技术有限公司 Load balancing method and device
US20110153831A1 (en) * 2009-12-23 2011-06-23 Rishi Mutnuru Systems and methods for mixed mode of ipv6 and ipv4 dns of global server load balancing
CN103023787A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Data center system, data center device and method for providing service
CN209805866U (en) * 2019-06-05 2019-12-17 中星科源(北京)信息技术有限公司 Conversation maintaining system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101322385A (en) * 2005-12-12 2008-12-10 国际商业机器公司 Load balancing and failover of distributed media resources in a media server
CN101304436A (en) * 2008-07-07 2008-11-12 杭州华三通信技术有限公司 Load balancing method, system and equipment for implementing application layer conversation persistency
US20110153831A1 (en) * 2009-12-23 2011-06-23 Rishi Mutnuru Systems and methods for mixed mode of ipv6 and ipv4 dns of global server load balancing
CN102075445A (en) * 2011-02-28 2011-05-25 杭州华三通信技术有限公司 Load balancing method and device
CN103023787A (en) * 2011-09-26 2013-04-03 百度在线网络技术(北京)有限公司 Data center system, data center device and method for providing service
CN209805866U (en) * 2019-06-05 2019-12-17 中星科源(北京)信息技术有限公司 Conversation maintaining system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113923187A (en) * 2020-06-22 2022-01-11 中移(苏州)软件技术有限公司 Network access method and device, electronic equipment and storage medium
CN113923187B (en) * 2020-06-22 2024-04-09 中移(苏州)软件技术有限公司 Network access method and device, electronic equipment and storage medium
CN111953700A (en) * 2020-08-18 2020-11-17 中国工商银行股份有限公司 Session keeping method and device
CN114945047A (en) * 2022-04-08 2022-08-26 北京智象信息技术有限公司 Intelligent terminal APP Internet protocol selection method, system, equipment and medium
CN114945047B (en) * 2022-04-08 2023-09-26 北京智象信息技术有限公司 Intelligent terminal APP Internet protocol selection method, system, equipment and medium

Similar Documents

Publication Publication Date Title
US7630368B2 (en) Virtual network interface card loopback fastpath
US7764678B2 (en) Routing based on dynamic classification rules
CA2968964C (en) Source ip address transparency systems and methods
EP3352431B1 (en) Network load balance processing system, method, and apparatus
US6560630B1 (en) Receive load balancing and fail over with multiple network interface cards
US7437473B2 (en) Packet switch and method thereof dependent on application content
US6590861B1 (en) Combining virtual local area networks and load balancing with fault tolerance in a high performance protocol
US6490632B1 (en) High performance load balancing and fail over support of internet protocol exchange traffic over multiple network interface cards
US8913613B2 (en) Method and system for classification and management of inter-blade network traffic in a blade server
US7742474B2 (en) Virtual network interface cards with VLAN functionality
US20050111455A1 (en) VLAN server
US20060083177A1 (en) Listener mechanism in a distributed network system
CN100525237C (en) Data transferring system, method and network transferring apparatus
EP2566135A1 (en) Cloud-based mainframe integration system and method
CN110149411A (en) A kind of session keeping method, device, storage medium and processor
US20080002739A1 (en) Reflecting the bandwidth assigned to a virtual network interface card through its link speed
CN110166570A (en) Service conversation management method, device, electronic equipment
US20100306358A1 (en) Handling of multiple mac unicast addresses with virtual machines
CN111010340B (en) Data message forwarding control method and device and computing device
US8630296B2 (en) Shared and separate network stack instances
CN101355492B (en) Routing method and system for access protocol of simple objects as well as relevant equipment
CN209805866U (en) Conversation maintaining system
CN114024968A (en) Message sending method and device based on intermediate equipment and electronic equipment
US7392318B1 (en) Method and system for balancing a traffic load in a half-duplex environment
Zeng et al. Middlenet: A high-performance, lightweight, unified nfv and middlebox framework

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