CN102780712A - Conversation switching method and device - Google Patents
Conversation switching method and device Download PDFInfo
- Publication number
- CN102780712A CN102780712A CN2011101186108A CN201110118610A CN102780712A CN 102780712 A CN102780712 A CN 102780712A CN 2011101186108 A CN2011101186108 A CN 2011101186108A CN 201110118610 A CN201110118610 A CN 201110118610A CN 102780712 A CN102780712 A CN 102780712A
- Authority
- CN
- China
- Prior art keywords
- client
- tcp
- indication message
- http
- server
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Abstract
The embodiment of the invention discloses a conversation switching method and device, and relates to the technical field of communication. The data transmission can be effectively prevented from being interrupted; and the time delay of the data transmission is reduced. The conversation switching method comprises the following steps of: receiving TCP (Transmission Control Protocol) indication messages and HTTP (Hyper Text Transport Protocol) messages sent by an original server; establishing a new TCP connection between a client and a target server accessed by the client, and updating the state of the new TCP connection according to the state information of the TCP connection currently used by the client; and obtaining a data range which is not transmitted to the client in a URI (Uniform Resource Identifier) accessed by the client according to a data range transmitted to the client in the URI accessed by the client, and continuously transmitting to the client on the new TCP connection. The embodiment of the invention is mainly applied to a process of converting a TCP conversion.
Description
Technical field
The present invention relates to communication technical field, relate in particular to a kind of changing method and device of session.
Background technology
At present; At HTTP (Hypertext transfer protocol; HTTP)/TCP (Transmission Control Protocol; Transmission control protocol) in the conversation procedure, owing to the reasons such as mobility of terminal equipment in load balancing or the wireless network, the HTTP/TCP session need be redirected, moves or switch.
When between server, carrying out the HTTP/TCP session redirection, move or switching, client need be broken off with the TCP of former destination server and being connected, and sends request to the fresh target server, sets up new TCP connection and proceeds the TCP session afterwards.Thereby, cause carrying out occurring when the TCP session is switched the interruption of transfer of data, cause the time delay of transfer of data.
Summary of the invention
Embodiments of the invention provide a kind of changing method and device of session, when the TCP session is switched, reduce the time delay of transfer of data.
On the one hand, a kind of changing method of session is provided, has comprised:
Receive TCP Indication message and HTTP Indication message that former server sends; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that IP address/tcp port number that client is being used, said client are being visited, the current use of said client connects, and said HTTP Indication message comprises: the URI that said client is being visited and sent the data area of said client to;
IP address/the tcp port number of the IP address/tcp port number that is using according to said client, the destination server that said client is being visited; Between said client and destination server that said client is being visited, set up new TCP and be connected, and the state that connects according to the said new TCP of state information updating that the TCP of the current use of said client connects;
Sent the data area of said client among the URI that is visiting according to said client to, obtained among the URI that said client visiting and do not send the data area of said client to, and in said new TCP connection, continue to transmit to said client.
On the one hand, a kind of changing method of session is provided, has comprised:
Whether detect the current TCP session of client switches;
When the current TCP session of said client switches; Send TCP Indication message and HTTP Indication message to new server; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to.
On the other hand, a kind of server is provided, has comprised:
Receiving element; Be used to receive TCP Indication message and the HTTP Indication message that former server sends; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that IP address/tcp port number that client is being used, said client are being visited, the current use of said client connects, and said HTTP Indication message comprises: the URI that said client is being visited and sent the data area of said client to;
The TCP linkage unit; IP address/the tcp port number of the IP address/tcp port number that is used for using, the destination server that said client is being visited according to the client that said receiving element receives; Between said client and destination server that said client is being visited, set up new TCP and be connected, and the state that connects of the said new TCP of state information updating that connects of the TCP of the current use of client that receives according to said receiving element;
Processing unit; The URI that is used for visiting according to said client has sent the data area of said client to; Obtain the data area that does not send said client among the URI that said client visiting to, and continue transmission to said client in new TCP connections after said TCP linkage unit upgrades.
On the other hand, a kind of server is provided, has comprised:
Whether detecting unit is used to detect the current TCP session of client and switches;
Transmitting element; Be used for going out the current TCP session of said client when switching in said detection; Send TCP Indication message and HTTP Indication message to new server; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to.
In the described embodiment of the invention of technique scheme; If client is in the process of carrying out the TCP session; During the switching of generation from former server to new server; New server is through receiving TCP Indication message and the HTTP Indication message that former server sends; IP address/the tcp port number of the IP address/tcp port number that is using according to said client, the destination server that said client is being visited is set up new TCP and is connected between said client and destination server that said client is being visited, and the state that connects according to the said new TCP of state information updating that the TCP of the current use of said client connects; Afterwards; Sent the data area of said client among the URI that is visiting according to said client to; Obtain the data area that does not send said client among the URI that said client visiting to, and in said new TCP connection, continue to transmit to said client.Client need not to send the TCP connection to new server again and sets up request in the embodiment of the invention; But initiatively set up new TCP with the HTTP Indication message and be connected according to receiving the TCP Indication message by new server; Afterwards, utilize new TCP to connect and continue to transmit data, need break off with the TCP of former destination server with client in the prior art and being connected to said client; And to fresh target server transmission request; Set up new TCP and proceed the TCP session after connecting and compare, the embodiment of the invention can effectively be avoided the interruption of transfer of data, reduces the time delay of transfer of data.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
The flow chart of the changing method of a kind of session that Fig. 1 provides for the embodiment of the invention;
The flow chart of the changing method of the another kind of session that Fig. 2 provides for the embodiment of the invention;
The flow chart of the changing method of another session that Fig. 3 provides for the embodiment of the invention;
The structure chart of a kind of server that Fig. 4 provides for the embodiment of the invention;
The structure chart of the another kind of server that Fig. 5 provides for the embodiment of the invention.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills are not making the every other embodiment that is obtained under the creative work prerequisite, all belong to the scope of the present invention's protection.
As shown in Figure 1, the embodiment of the invention provides a kind of changing method of session, and this method is carried out by new server one side, comprising:
101, receive TCP Indication message and the HTTP Indication message that former server sends; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that IP address/tcp port number that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: the URI that said client is being visited and sent the data area of said client to.
IP address/the tcp port number of the destination server that IP address/tcp port number that 102, is using according to said client and said client are being visited; Between said client and destination server that said client is being visited, set up new TCP and be connected, and the state that connects according to the said new TCP of state information updating that the TCP of the current use of said client connects.
103, sent the data area of said client among the URI that is visiting according to said client to; Obtain the data area that does not send said client among the URI that said client visiting to, and in said new TCP connection, continue to transmit to said client.
As shown in Figure 2, the embodiment of the invention provides a kind of changing method of session, and this method is carried out by former server one side, comprising:
Whether 301, detect the current TCP session of client switches.
302, when the current TCP session of said client switches; Send TCP Indication message and HTTP Indication message to new server; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to.
In the changing method of the session above-mentioned illustrated in figures 1 and 2 that the embodiment of the invention provides; If client is in the process of carrying out the TCP session, when the switching from former server to new server took place, client need not to send TCP to new server again and connects the request of foundation; But initiatively set up new TCP with the HTTP Indication message and be connected according to receiving the TCP Indication message by new server; Afterwards, the new TCP of new server by utilizing connects continuation and transmits data to said client, need break off with the TCP of former destination server with client in the prior art being connected; And to fresh target server transmission request; Set up new TCP and proceed the TCP session after connecting and compare, the embodiment of the invention can effectively be avoided the interruption of transfer of data, reduces the time delay of transfer of data.
Need to prove that above-mentioned TCP Indication message and HTTP Indication message can send in an indication information, also can send through two independent Indication messages respectively.
As shown in Figure 3; A kind of application scenarios that between server, carries out TCP session switching that provides in the embodiment of the invention; Switching to new server following time when former server detects client, send the TCP Indication message to new server, is that said client is set up new TCP and connected by new server.Introduce a kind of changing method of session below in detail, specifically comprise the steps:
When 201, former server detected the current TCP session of client and switches, the data that stop in the current TCP connection transmitted.
For example, when client moves to following time of coverage of new server from the coverage of former server, can produce the switching of TCP session between former server and new server.
202, former server sends the TCP Indication message to new server, and said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that IP address/tcp port number that client is being used, said client are being visited, the current use of said client connects.
Particularly, former server sends said TCP Indication message through an Indication message, and source IP address is former server, and purpose IP address is new server.
Said TCP Indication message carries through IP and the specific protocol type identifies; For example, the Open TCP of said specific protocol type in IP option field, defining.
Perhaps, said TCP Indication message identifies through UDP (User Datagram Protocol, User Datagram Protocol) carrying and certain port number.For example, said certain port number is specially the new port numbers 1026 of definition.
Said TCP Indication message adopts structure as shown in table 1 below:
Table 1
Wherein, the Remote IP Address in the above-mentioned table 1 representes the IP address that client is being used;
Remote Port representes the tcp port number that client is being used;
The IP address of the destination server that the said client of Local IP Address (Server) expression is being visited;
Local Port representes the tcp port number of the destination server that said client is being visited;
The state information that the TCP of the current use of the said client of the parametric representation between the SND.UNA-IRS connects.
203, new server receives the TCP Indication message that former server sends.IP address/the tcp port number of IP address/tcp port number that new server is using according to said client, the destination server that said client is being visited; Between said client and destination server that said client is being visited, set up new TCP and be connected, and the state that connects according to the said new TCP of state information updating that the TCP of the current use of said client connects.
204, new server sends the TCP connection to said former server and sets up success indicating.
If the new TCP in the above-mentioned steps 203 connects when setting up failure, this step will be sent the TCP connection to said former server and set up the failure Indication message.
205, former server receives TCP that new server sends and connects and set up success indicating, confirms that new server is successfully for after client sets up new TCP and connect, to new server transmission HTTP Indication message.
Particularly, said former server sends the HTTP Indication message to new server, and source IP address is former server, and target ip address is new server.
Said HTTP Indication message comprises: the URI that said client is being visited and sent the data area of said client to.
Particularly, former server to the original HTTP request of client make amendment handle after, obtain URI that said client visiting and the data area that has sent said client to, and be placed in the HTTP Indication message.Said HTTP Indication message specifically comprises: GET request row, GET Source, GET Entity Range; Wherein, Said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
Said HTTP Indication message adopts structure as shown in table 2 below:
REFER?Type?|?REFER?Length |
?Transaction?ID |
Local?IP?Address(Server) |
?Remote?IP?Address(UE) |
Local?Port?|?Remote?Port |
GET?original-URI?HTTP/1.1\r\n |
Referred-by:sender?identifier (IP?address?or?hostname...)\r\n |
Range:ranges-specifier (ranges-specifier=byte-ranges-specifier)\r\n |
Accept:image/gif,image/x-xbitmap,image/jpeg,image/pjpeg,*/*\r\n |
Accept-Language:zh-cn\r\n |
Accept-Encoding:gz?ip,deflate\r\n |
User-Agent:Mozilla/4.0(compatible;MSIE?6.0;Windows?NT?5.1)\r\n |
Host:original-URI-hostname\r\n |
Connection:Keep-Alive\r\n |
Cookie:MUID=177A69B31C064910B9699D1BDD7A6FCC;………\r\n |
others |
Wherein, " GET original-URI r " expression GET request row;
" URI that carries in the GET request row " expression GET Source, that is the URI that visiting of said client;
" Range:ranges-specifier (ranges-specifier=byte-ranges-specifier) r " expression GET Ent ity Range, that is sent the data area of said client to.
Need to prove that said HTTP Indication message carries through IP and the specific protocol type identifies, perhaps, said HTTP Indication message carries through UDP and certain port number identifies.
In addition; What carry in the HTTP Indication message in this step is the information in the GET request; When comprising that a plurality of uncompleted GET ask the original HTTP request that former server receives from client, former server needs to send one by one according to the order of sequence and the corresponding HTTP Indication message of each GET request.
206, new server receives the HTTP Indication message that former server sends.Resolve said HTTP Indication message; Obtain URI (the Uniform Resource Identifier that said client is being visited; The generic resource identifier) and send the data area of said client to; And sent the data area of said client among the URI that is visiting according to said client to, and obtain the data area that does not send said client among the URI that said client visiting to, in said new TCP connection, continue to transmit to said client.
Need to prove that said data area can adopt time or byte etc. to represent.
For example; The data area that sends client to when needs is 5 minutes a video; When the said data area that has sent said client to is 2 seconds; Then obtain and saidly do not send the data area of said client to and continuing to be transmitted as to said client in the said new TCP connection: obtained the 3rd second and after data, and connect at new TCP and to begin to continue transmission.
And for example; The data area that sends client when needs to is the picture of 300 bytes; When the said data area that has sent said client to is 100 bytes; Then obtain the said data area that does not send said client to, and continuing to be transmitted as to said client in the said new TCP connection: obtain the 101st byte and after data, and on new TCP connects, begin to continue transmission.
In the embodiment of the invention; If client is in the process of carrying out the TCP session, when the switching from former server to new server took place, client need not to send TCP to new server again and connects the request of foundation; But initiatively set up new TCP with the HTTP Indication message and be connected according to receiving the TCP Indication message by new server; Afterwards, the new TCP of new server by utilizing connects continuation and transmits data to said client, need break off with the TCP of former destination server with client in the prior art being connected; And to fresh target server transmission request; Set up new TCP and proceed the TCP session after connecting and compare, the embodiment of the invention can effectively be avoided the interruption of transfer of data, reduces the time delay of transfer of data.
In RAN Cache structure; When subscriber equipment when current RAN coverage moves to another RAN coverage, if subscriber equipment carries out tcp data when mutual with current RAN Cache, then can produce the problem that the TCP session is switched between adjacent R AN Cache; Switch to new RNC following time when former RNC detects client this moment; Sending TCP Indication message and HTTP Indication message to new RNC, is that said client is set up new TCP and connected by new RNC, and to continue in new TCP connection according to the HTTP Indication message be client transmission data; Concrete implementation procedure repeats no more at this with reference to above-mentioned method shown in Figure 2.
As shown in Figure 4, the embodiment of the invention also provides a kind of server, comprising: receiving element 11, TCP linkage unit 12 and processing unit 13.
Wherein, Receiving element 11; Be used to receive TCP Indication message and the HTTP Indication message that former server sends; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that IP address/tcp port number that client is being used, said client are being visited, the current use of said client connects, and said HTTP Indication message comprises: the URI that said client is being visited and sent the data area of said client to;
Processing unit 13; The URI that is used for visiting according to said client has sent the data area of said client to; Obtain the data area that does not send said client among the URI that said client visiting to, and continue transmission to said client in new TCP connections after said TCP linkage unit 12 upgrades.
In the embodiment of the invention; If client is in the process of carrying out the TCP session, when the switching from former server to new server took place, client need not to send TCP to new server again and connects the request of foundation; But initiatively set up new TCP with the HTTP Indication message and be connected according to receiving the TCP Indication message by new server; Afterwards, utilize new TCP to connect and continue to transmit data, need break off with the TCP of former destination server with client in the prior art and being connected to said client; And to fresh target server transmission request; Set up new TCP and proceed the TCP session after connecting and compare, the embodiment of the invention can effectively be avoided the interruption of transfer of data, reduces the time delay of transfer of data.
Optional, said receiving element 11 specifically is used to receive TCP Indication message and the HTTP Indication message that former server sends through an Indication message.
Optional, said receiving element 11 specifically is used to receive the TCP Indication message that former server sends; And after the new TCP of said foundation connects, receive the HTTP Indication message that former server sends.
Particularly, the TCP Indication message that said receiving element 11 receives carries through IP and the specific protocol type identifies, and perhaps, the TCP Indication message that said receiving element 11 receives carries through UDP and certain port number identifies; Said TCP Indication message specifically can be with reference to the TCP indication message structure shown in the above-mentioned middle table 1 embodiment illustrated in fig. 3.
The HTTP Indication message that said receiving element 11 receives carries through IP and the specific protocol type identifies, and perhaps, the HTTP Indication message that said receiving element 11 receives carries through UDP and certain port number identifies.Said HTTP Indication message specifically can be with reference to the HTTP indication message structure shown in the above-mentioned middle table 2 embodiment illustrated in fig. 3.
Said HTTP Indication message specifically comprises: GET request row, GET Source, GET Entity Range; Wherein, Said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
As shown in Figure 5, the embodiment of the invention also provides a kind of server, and this server is specially former server, comprising: detecting unit 31 and transmitting element 32.
Wherein, whether detecting unit 31 is used to detect the current TCP session of client and switches;
Transmitting element 32; Be used for detecting the current TCP session of said client when switching at said detecting unit 31; Send TCP Indication message and HTTP Indication message to new server; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to.
In the embodiment of the invention, if client is in the process of carrying out the TCP session, when the switching from former server to new server takes place; Client need not to send TCP to new server again and connects the request of foundation; But send TCP Indication message and HTTP Indication message to new server by former server, initiatively set up new TCP with the HTTP Indication message and be connected so that said new server basis receives the TCP Indication message, afterwards; Utilize new TCP to connect and continue to transmit data to said client; Need break off with the TCP of former destination server with client in the prior art and to be connected, and send request, set up new TCP and proceed the TCP session after connecting and compare to the fresh target server; The embodiment of the invention can effectively be avoided the interruption of transfer of data, reduces the time delay of transfer of data.
Optional, said transmitting element 32 specifically is used for sending TCP Indication message and HTTP Indication message through same Indication message to said new server.
Optional, said transmitting element 32 specifically is used for sending the TCP Indication message to new server, and after success message is set up in the new TCP connection that receives said new server transmission, sends the HTTP Indication message to said new server.
Particularly, the TCP Indication message that said transmitting element 32 sends carries through IP and the specific protocol type identifies, and perhaps, the TCP Indication message that said transmitting element 32 sends carries through UDP and certain port number identifies; Said TCP Indication message specifically can be with reference to the TCP indication message structure shown in the above-mentioned middle table 1 embodiment illustrated in fig. 3.
The HTTP Indication message that said transmitting element 32 sends carries through IP and the specific protocol type identifies, and perhaps, the HTTP Indication message that said transmitting element 32 sends carries through UDP and certain port number identifies.Said HTTP Indication message specifically can be with reference to the HTTP indication message structure shown in the above-mentioned middle table 2 embodiment illustrated in fig. 3.
Said HTTP Indication message specifically comprises: GET request row, GET Source, GET Entity Range; Wherein, Said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
The embodiment of the invention is mainly used in the process that the TCP session switches, and can effectively avoid the interruption of transfer of data, reduces the time delay of transfer of data.
The above; Be merely embodiment of the present invention, but protection scope of the present invention is not limited thereto, any technical staff who is familiar with the present technique field is in the technical scope that the present invention discloses; Can expect easily changing or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of said claim.
Claims (20)
1. the changing method of a session is characterized in that, comprising:
Receive transmission control protocol TCP Indication message and HTTP HTTP Indication message that former server sends; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, and said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to;
IP address/the tcp port number of the IP address/tcp port number that is using according to said client, the destination server that said client is being visited; Between said client and destination server that said client is being visited, set up new TCP and be connected, and the state that connects according to the said new TCP of state information updating that the TCP of the current use of said client connects;
Sent the data area of said client among the URI that is visiting according to said client to, obtained among the URI that said client visiting and do not send the data area of said client to, and in said new TCP connection, continue to transmit to said client.
2. the changing method of session according to claim 1 is characterized in that, TCP Indication message and HTTP Indication message that the former server of said reception sends comprise:
Receive TCP Indication message and HTTP Indication message that former server sends through same Indication message.
3. the changing method of session according to claim 1; It is characterized in that; TCP Indication message and HTTP Indication message that the former server of said reception sends comprise: receive the TCP Indication message that former server sends; And after the new TCP of said foundation connects, receive the HTTP Indication message that former server sends.
4. according to the changing method of each described session of claim 1-3, it is characterized in that said TCP Indication message carries through IP and the specific protocol type identifies, perhaps, said TCP Indication message carries through UDP and certain port number identifies;
Said HTTP Indication message carries through IP and the specific protocol type identifies, and perhaps, said HTTP Indication message carries through user datagram protocol UDP and certain port number identifies.
5. according to the changing method of each described session of claim 1-3; It is characterized in that; Said HTTP Indication message specifically comprises: GET request row, GET Source and GET Entity Range; Wherein, said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
6. the changing method of a session is characterized in that, comprising:
Whether detect the current TCP session of client switches;
When the current TCP session of said client switches; Send TCP Indication message and HTTP Indication message to new server; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to.
7. the changing method of session according to claim 6 is characterized in that, saidly sends the TCP Indication message and the HTTP Indication message comprises to new server:
Send TCP Indication message and HTTP Indication message through same Indication message to said new server.
8. the changing method of session according to claim 6 is characterized in that, saidly sends the TCP Indication message and the HTTP Indication message comprises to new server:
Send the TCP Indication message to new server, and after success message is set up in the new TCP connection that receives said new server transmission, send the HTTP Indication message to said new server.
9. according to the changing method of each described session of claim 6-8, it is characterized in that said TCP Indication message carries through IP and the specific protocol type identifies, perhaps, said TCP Indication message carries through UDP and certain port number identifies;
Said HTTP Indication message carries through IP and the specific protocol type identifies, and perhaps, said HTTP Indication message carries through user datagram protocol UDP and certain port number identifies.
10. according to the changing method of each described session of claim 6-8; It is characterized in that; Said HTTP Indication message specifically comprises: GET request row, GET Source and GET Entity Range; Wherein, said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
11. a server is characterized in that, comprising:
Receiving element; Be used to receive TCP Indication message and the HTTP Indication message that former server sends; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that IP address/tcp port number that client is being used, said client are being visited, the current use of said client connects, and said HTTP Indication message comprises: the URI that said client is being visited and sent the data area of said client to;
The TCP linkage unit; IP address/the tcp port number of the IP address/tcp port number that is used for using, the destination server that said client is being visited according to the client that said receiving element receives; Between said client and destination server that said client is being visited, set up new TCP and be connected, and the state that connects of the said new TCP of state information updating that connects of the TCP of the current use of client that receives according to said receiving element;
Processing unit; The URI that is used for visiting according to said client has sent the data area of said client to; Obtain the data area that does not send said client among the URI that said client visiting to, and continue transmission to said client in new TCP connections after said TCP linkage unit upgrades.
12. server according to claim 11 is characterized in that, said receiving element specifically is used to receive TCP Indication message and the HTTP Indication message that former server sends through same Indication message.
13. server according to claim 11 is characterized in that, said receiving element specifically is used to receive the TCP Indication message that former server sends; And after the new TCP of said foundation connects, receive the HTTP Indication message that former server sends.
14. according to each described server of claim 11-13; It is characterized in that; The said TCP Indication message that receives single reception carries through IP and the specific protocol type identifies, and perhaps, the TCP Indication message that said receiving element receives carries through UDP and certain port number identifies;
The HTTP Indication message that said receiving element receives carries through IP and the specific protocol type identifies, and perhaps, the HTTP Indication message that said receiving element receives carries through UDP and certain port number identifies.
15. according to each described server of claim 11-13; It is characterized in that; Said HTTP Indication message specifically comprises: GET request row, GET Source and GET Entity Range; Wherein, said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
16. a server is characterized in that, comprising:
Whether detecting unit is used to detect the current TCP session of client and switches;
Transmitting element; Be used for going out the current TCP session of said client when switching in said detection; Send TCP Indication message and HTTP Indication message to new server; Said TCP Indication message comprises: the state information that the TCP of the IP address/tcp port number of the destination server that the protocol IP address/tcp port number that interconnects between the network that client is being used, said client are being visited, the current use of said client connects, said HTTP Indication message comprises: generic resource identifier URI that said client is being visited and the data area that has sent said client to.
17. server according to claim 16 is characterized in that, said transmitting element specifically is used for sending TCP Indication message and HTTP Indication message through same Indication message to said new server.
18. server according to claim 16; It is characterized in that; Said transmitting element specifically is used for sending the TCP Indication message to new server, and after success message is set up in the new TCP connection that receives said new server transmission, sends the HTTP Indication message to said new server.
19. according to each described server of claim 16-18; It is characterized in that; The TCP Indication message that said transmitting element sends carries through IP and the specific protocol type identifies; Perhaps, the first TCP Indication message that sends of said transmission bill identifies through UDP carrying and certain port number;
The HTTP Indication message that said transmitting element sends carries through IP and the specific protocol type identifies, and perhaps, the HTTP Indication message that said transmitting element sends carries through user datagram protocol UDP and certain port number identifies.
20. according to each described server of claim 16-18; It is characterized in that; Said HTTP Indication message specifically comprises: GET request row, GET Source and GET Entity Range; Wherein, said GET Source representes the URI that said client is being visited, and said GET Entity Range representes to send to the data area of said client.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110118610.8A CN102780712B (en) | 2011-05-09 | 2011-05-09 | Conversation switching method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201110118610.8A CN102780712B (en) | 2011-05-09 | 2011-05-09 | Conversation switching method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102780712A true CN102780712A (en) | 2012-11-14 |
CN102780712B CN102780712B (en) | 2015-04-15 |
Family
ID=47125465
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201110118610.8A Active CN102780712B (en) | 2011-05-09 | 2011-05-09 | Conversation switching method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102780712B (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103067992A (en) * | 2012-12-04 | 2013-04-24 | 大唐移动通信设备有限公司 | Method and system for transmission control protocol (TCP) business processing |
WO2014067070A1 (en) * | 2012-10-30 | 2014-05-08 | 华为技术有限公司 | Data transmission method, switching method, data transmission apparatus, switching apparatus, user equipment, wireless access node, data transmission system and switching system |
CN105978936A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | CDN server and data caching method thereof |
CN106534331A (en) * | 2016-11-30 | 2017-03-22 | 网宿科技股份有限公司 | Data transmission method and system based on dynamic port switching |
CN108769257A (en) * | 2018-06-28 | 2018-11-06 | 新华三信息安全技术有限公司 | A kind of server switching method and device |
CN110324391A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server connection method, client and readable storage medium storing program for executing |
CN114257662A (en) * | 2020-09-24 | 2022-03-29 | 华为技术有限公司 | Method and device for indicating transmission protocol, electronic equipment and storage medium |
CN115242858A (en) * | 2022-07-21 | 2022-10-25 | 山石网科通信技术股份有限公司 | Message processing method and device, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482773A (en) * | 2003-04-11 | 2004-03-17 | 清华紫光比威网络技术有限公司 | Method for implementing fault tolerant transmission control protocol |
CN101022451A (en) * | 2006-02-14 | 2007-08-22 | 杭州华为三康技术有限公司 | Connection state synchronizing method in data communication and applied communication node thereof |
US20080109554A1 (en) * | 2006-11-02 | 2008-05-08 | Jin Jing | System And Method of Enabling TCP Splice With A Content-Based Charging Proxy |
US20080235382A1 (en) * | 2007-01-22 | 2008-09-25 | The Regents Of The University Of Colorado | Fault tolerant tcp splice systems and methods |
US20100174817A1 (en) * | 2009-01-06 | 2010-07-08 | Chetuparambil Madhu K | Splicing proxied web requests with callback for subsequent requests |
-
2011
- 2011-05-09 CN CN201110118610.8A patent/CN102780712B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1482773A (en) * | 2003-04-11 | 2004-03-17 | 清华紫光比威网络技术有限公司 | Method for implementing fault tolerant transmission control protocol |
CN101022451A (en) * | 2006-02-14 | 2007-08-22 | 杭州华为三康技术有限公司 | Connection state synchronizing method in data communication and applied communication node thereof |
US20080109554A1 (en) * | 2006-11-02 | 2008-05-08 | Jin Jing | System And Method of Enabling TCP Splice With A Content-Based Charging Proxy |
US20080235382A1 (en) * | 2007-01-22 | 2008-09-25 | The Regents Of The University Of Colorado | Fault tolerant tcp splice systems and methods |
US20100174817A1 (en) * | 2009-01-06 | 2010-07-08 | Chetuparambil Madhu K | Splicing proxied web requests with callback for subsequent requests |
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014067070A1 (en) * | 2012-10-30 | 2014-05-08 | 华为技术有限公司 | Data transmission method, switching method, data transmission apparatus, switching apparatus, user equipment, wireless access node, data transmission system and switching system |
US9883434B2 (en) | 2012-10-30 | 2018-01-30 | Huawei Technologies Co., Ltd. | Data transmitting method, handover method, apparatus, equipment, access node, and system |
CN103067992A (en) * | 2012-12-04 | 2013-04-24 | 大唐移动通信设备有限公司 | Method and system for transmission control protocol (TCP) business processing |
CN105978936A (en) * | 2016-04-25 | 2016-09-28 | 乐视控股(北京)有限公司 | CDN server and data caching method thereof |
CN106534331A (en) * | 2016-11-30 | 2017-03-22 | 网宿科技股份有限公司 | Data transmission method and system based on dynamic port switching |
CN106534331B (en) * | 2016-11-30 | 2019-10-11 | 网宿科技股份有限公司 | A kind of data transmission method and system based on dynamic port switching |
CN110324391A (en) * | 2018-03-30 | 2019-10-11 | 武汉斗鱼网络科技有限公司 | A kind of barrage server connection method, client and readable storage medium storing program for executing |
CN108769257A (en) * | 2018-06-28 | 2018-11-06 | 新华三信息安全技术有限公司 | A kind of server switching method and device |
CN108769257B (en) * | 2018-06-28 | 2021-05-07 | 新华三信息安全技术有限公司 | Server switching method and device |
CN114257662A (en) * | 2020-09-24 | 2022-03-29 | 华为技术有限公司 | Method and device for indicating transmission protocol, electronic equipment and storage medium |
CN115242858A (en) * | 2022-07-21 | 2022-10-25 | 山石网科通信技术股份有限公司 | Message processing method and device, electronic equipment and computer readable storage medium |
CN115242858B (en) * | 2022-07-21 | 2024-02-09 | 山石网科通信技术股份有限公司 | Message processing method, device, electronic equipment and computer readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102780712B (en) | 2015-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102780712B (en) | Conversation switching method and device | |
US8208430B2 (en) | Transparent interaction with multi-layer protocols via selective bridging and proxying | |
CA2985353C (en) | Managing alternative networks for high quality of service communications | |
CN102932461B (en) | Network acceleration transmission method and device | |
KR101169581B1 (en) | Method for providing seamless transition between networks following different protocols | |
KR20180009046A (en) | Method and apparatus for multipath media delivery | |
US8923195B2 (en) | Method and apparatus for efficient content delivery in radio access networks | |
EP2692115B1 (en) | Sctp endpoint migration | |
JP5292172B2 (en) | Connection management apparatus and connection management method | |
CN106471847B (en) | Method and apparatus for communicating data communication sessions between radio access networks | |
US8477664B2 (en) | Communication platform and method for packet communication between a service provider and a radio communication device | |
WO2016078072A1 (en) | Method and system for implementing service optimization | |
CN102984785B (en) | Data are sent by multiple networks | |
JP2005217626A (en) | Packet data exchange node through wireless access network, terminal and its program | |
JP2014146876A (en) | Message distribution system and message distribution method | |
JP5840575B2 (en) | Multi-home communication method and system | |
US20090052446A1 (en) | Communications Interface | |
US9198090B2 (en) | Node and method for AoIP address change | |
CN112544104B (en) | Data transmission method and terminal | |
KR101368693B1 (en) | Method and apparatus for processing traffic in internet protocol multimedia subsystem network | |
CN114125950A (en) | Data transmission method and equipment | |
Navajas et al. | Transport Area Working Group J. Saldana Internet-Draft University of Zaragoza Intended status: Best Current Practice D. Wing Expires: December 12, 2014 Cisco Systems | |
Lee et al. | Novel web agent framework to support seamless mobility for data networks | |
Perumal et al. | Tunneling Compressed Multiplexed Traffic Flows (TCM-TF) Reference Model draft-saldana-tsvwg-tcmtf-06 | |
Söderman et al. | SCTP: Fast Transport Layer Vertical Handover in Android Mobile Devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20210508 Address after: Unit 3401, unit a, building 6, Shenye Zhongcheng, No. 8089, Hongli West Road, Donghai community, Xiangmihu street, Futian District, Shenzhen, Guangdong 518040 Patentee after: Honor Device Co.,Ltd. Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd. |
|
TR01 | Transfer of patent right |