CN102780712B - Conversation switching method and device - Google Patents

Conversation switching method and device Download PDF

Info

Publication number
CN102780712B
CN102780712B CN201110118610.8A CN201110118610A CN102780712B CN 102780712 B CN102780712 B CN 102780712B CN 201110118610 A CN201110118610 A CN 201110118610A CN 102780712 B CN102780712 B CN 102780712B
Authority
CN
China
Prior art keywords
tcp
indication message
client
http
described client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201110118610.8A
Other languages
Chinese (zh)
Other versions
CN102780712A (en
Inventor
崔翔嵩
韦安妮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Honor Device Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201110118610.8A priority Critical patent/CN102780712B/en
Publication of CN102780712A publication Critical patent/CN102780712A/en
Application granted granted Critical
Publication of CN102780712B publication Critical patent/CN102780712B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Computer And Data Communications (AREA)

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

The changing method of session and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of changing method and device of session.
Background technology
At present, at HTTP (Hypertext transfer protocol, HTML (Hypertext Markup Language))/TCP (Transmission Control Protocol, transmission control protocol) in conversation procedure, due to the reason such as mobility of terminal equipment in load balancing or wireless network, HTTP/TCP session needs to carry out being redirected, moving or switching.
When carrying out HTTP/TCP session redirection, migration between servers or switch, client needs to disconnect and is connected with the TCP of former destination server, and sends request to fresh target server, sets up after new TCP connects and proceeds TCP session.Thus, cause the interruption carrying out occurring transfer of data when TCP session switches, 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 TCP session switches, reduce the time delay of transfer of data.
On the one hand, provide a kind of changing method of session, comprising:
Receive TCP Indication message and the HTTP Indication message of the transmission of former server, described 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 using, described client are being accessed, the current use of described client connects, and described HTTP Indication message comprises: the URI that described client is being accessed and send the data area of described client to;
IP address/the tcp port number of the destination server that the IP address/tcp port number used according to described client, described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating connected according to the TCP of the current use of described client, new TCP connects;
According to the data area having sent described client in the URI that described client is being accessed to, obtain the data area not sending described client in the URI that described client accessing to, and connect at described new TCP and continue to transmit to described client.
On the one hand, provide a kind of changing method of session, comprising:
Whether the TCP session detecting client current switches;
When the TCP session that described client is current switches, TCP Indication message and HTTP Indication message is sent to new server, described TCP Indication message comprises: the state information that the IP address/tcp port number of the destination server that the Protocol IP address/tcp port number interconnected between the network that client is using, described client are being accessed, the TCP of the current use of described client connect, and described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to.
On the other hand, provide a kind of server, comprising:
Receiving element, for receiving TCP Indication message and the HTTP Indication message of the transmission of former server, described 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 using, described client are being accessed, the current use of described client connects, and described HTTP Indication message comprises: the URI that described client is being accessed and send the data area of described client to;
TCP linkage unit, IP address/the tcp port number of the destination server that the IP address/tcp port number used for the client received according to described receiving element, described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating that connects of the TCP of the current use of client received according to described receiving element, new TCP connects;
Processing unit, for having sent the data area of described client in the URI that accessing according to described client to, obtain the data area not sending described client in the URI that described client accessing to, and the new TCP after described TCP linkage unit upgrades connects and continues to transmit to described client.
On the other hand, provide a kind of server, comprising:
Whether detecting unit, switch for the TCP session detecting client current;
Transmitting element, during for detecting that at described detecting unit the current TCP session of described client switches, TCP Indication message and HTTP Indication message is sent to new server, described TCP Indication message comprises: the Protocol IP address/tcp port number interconnected between the network that client is using, IP address/the tcp port number of the destination server that described client is being accessed, the state information of the TCP connection of the current use of described client, described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to.
In the embodiment of the present invention described by technique scheme, if client is in the process of carrying out TCP session, when occurring from former server to the switching of new server, new server is by receiving TCP Indication message and the HTTP Indication message of the transmission of former server, according to IP address/tcp port number that described client is using, IP address/the tcp port number of the destination server that described client is being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating connected according to the TCP of the current use of described client, new TCP connects, afterwards, according to the data area having sent described client in the URI that described client is being accessed to, obtain the data area not sending described client in the URI that described client accessing to, and connect at described new TCP and continue to transmit to described client.In the embodiment of the present invention, client is without the need to again sending the request of TCP connection establishment to new server, but initiatively set up new TCP with HTTP Indication message by new server be connected according to receiving TCP Indication message, afterwards, utilize new TCP to connect and continue to transmit data to described client, the TCP disconnected with former destination server is needed to be connected with client in prior art, and send request to fresh target server, proceed TCP session after setting up new TCP connection to compare, the embodiment of the present invention effectively can avoid the interruption of transfer of data, reduces the time delay of transfer of data.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained 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 present invention;
The flow chart of the changing method of the another kind of session that Fig. 2 provides for the embodiment of the present invention;
The flow chart of the changing method of another session that Fig. 3 provides for the embodiment of the present invention;
The structure chart of a kind of server that Fig. 4 provides for the embodiment of the present invention;
The structure chart of the another kind of server that Fig. 5 provides for the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention provides a kind of changing method of session, and the method is performed by new server side, comprising:
101, TCP Indication message and the HTTP Indication message of the transmission of former server is received, described 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 using, described client are being accessed, the current use of described client connects, and described HTTP Indication message comprises: the URI that described client is being accessed and send the data area of described client to.
IP address/the tcp port number of the destination server that the IP address/tcp port number 102, used according to described client and described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating connected according to the TCP of the current use of described client, new TCP connects.
103, the data area of described client has been sent in the URI accessed according to described client to, obtain the data area not sending described client in the URI that described client accessing to, and connect at described new TCP and continue to transmit to described client.
As shown in Figure 2, the embodiment of the present invention provides a kind of changing method of session, and the method is performed by former server side, comprising:
Whether the TCP session 301, detecting client current switches.
302, when the TCP session that described client is current switches, TCP Indication message and HTTP Indication message is sent to new server, described TCP Indication message comprises: the state information that the IP address/tcp port number of the destination server that the Protocol IP address/tcp port number interconnected between the network that client is using, described client are being accessed, the TCP of the current use of described client connect, and described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to.
In the changing method of the session shown in above-mentioned Fig. 1 and Fig. 2 that the embodiment of the present invention provides, if client is in the process of carrying out TCP session, when occurring from former server to the switching of new server, client is without the need to again sending the request of TCP connection establishment to new server, but initiatively set up new TCP with HTTP Indication message by new server be connected according to receiving TCP Indication message, afterwards, the new TCP of new server by utilizing connects continuation and transmits data to described client, the TCP disconnected with former destination server is needed to be connected with client in prior art, and send request to fresh target server, proceed TCP session after setting up new TCP connection to compare, the embodiment of the present invention effectively can avoid the interruption of transfer of data, reduce the time delay of transfer of data.
It should be noted that, above-mentioned TCP Indication message and HTTP Indication message can send in an indication information, also can send respectively by two independent Indication messages.
As shown in Figure 3, a kind of application scenarios carrying out TCP session switching between servers provided in the embodiment of the present invention, when former server detects that client is switched under new server, sending TCP Indication message to new server, is that described 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:
201, when former server detects that the current TCP session of client switches, the data transmission in current TCP connection is stopped.
Such as, when client moves to the coverage of new server from the coverage of former server, the switching of TCP session between former server and new server can be produced.
202, former server sends TCP Indication message to new server, and described TCP Indication message comprises: the state information that the IP address/tcp port number of the destination server that IP address/tcp port number that client is using, described client are being accessed, the TCP of the current use of described client connect.
Particularly, former server sends described TCP Indication message by an Indication message, and source IP address is former server, and object IP address is new server.
Described TCP Indication message is identified by IP carrying and specific protocol type; Such as, described specific protocol type is the Open TCP defined in IP option field.
Or described TCP Indication message is identified by UDP (User Datagram Protocol, User Datagram Protocol) carrying and certain port number.Such as, described certain port number is specially the new port numbers 1026 of definition.
Described TCP Indication message adopts structure as shown in table 1 below:
Table 1
Wherein, the Remote IP Address in above-mentioned table 1 represents the IP address that client is using;
Remote Port represents the tcp port number that client is using;
Local IP Address (Server) represents the IP address of the destination server that described client is being accessed;
Local Port represents the tcp port number of the destination server that described client is being accessed;
The state information of the TCP connection of the current use of client described in the Parametric Representation between SND.UNA-IRS.
203, new server receives the TCP Indication message that former server sends.IP address/the tcp port number of the destination server that IP address/tcp port number that new server is using according to described client, described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating connected according to the TCP of the current use of described client, new TCP connects.
204, new server sends TCP connection establishment success indicating to described former server.
If when the new TCP connection establishment in above-mentioned steps 203 is failed, this step will send TCP connection establishment failure Indication message to described former server.
205, former server receives the TCP connection establishment success indicating that new server sends, and determines new server successfully for client is set up after new TCP connects, to new server transmission HTTP Indication message.
Particularly, described former server sends HTTP Indication message to new server, and source IP address is former server, and target ip address is new server.
Described HTTP Indication message comprises: the URI that described client is being accessed and send the data area of described client to.
Particularly, the original HTTP request of former server to client is modified after process, obtains the URI that described client is being accessed and the data area having sent described client to, and is placed in HTTP Indication message.Described HTTP Indication message specifically comprises: GET request line, GET Source, GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
Described 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 HTTP/1.1 r n " represents GET request line;
" URI carried in GET request line " represents GET Source, that is the URI that described client is being accessed;
" Range:ranges-specifier (ranges-specifier=byte-ranges-specifier) r n " represents GET Ent ity Range, that is has sent the data area of described client to.
It should be noted that, described HTTP Indication message is identified by IP carrying and specific protocol type, or described HTTP Indication message is identified by UDP carrying and certain port number.
Separately, what carry in the HTTP Indication message in this step is information in GET request, when former server comprises multiple GET request do not completed from the original HTTP request that client receives, former server needs to send one by one according to the order of sequence to ask corresponding HTTP Indication message with each GET.
206, new server receives the HTTP Indication message that former server sends.Resolve described HTTP Indication message, obtain URI (the Uniform Resource Identifier that described client is being accessed, universal resource identifier) and sent the data area of described client to, and in the URI accessed according to described client, sent the data area of described client to, obtain the data area not sending described client in the URI that described client accessing to, connect at described new TCP and continue to transmit to described client.
It should be noted that, described data area can adopt time or byte etc. to represent.
Such as, be the video of 5 minutes when needing the data area sending client to, when the described data area having sent described client to is 2 seconds, do not send the data area of described client to and continue to be transmitted as to described client in described new TCP connections described in then obtaining: obtains the 3rd second and data afterwards, and start continuation transmission on new TCP connects.
And for example, be the picture of 300 bytes when needing the data area sending client to, when the described data area having sent described client to is 100 byte, the data area of described client is not sent to described in then obtaining, and continue to be transmitted as to described client in described new TCP connection: obtain the 101st byte and data afterwards, and start to continue to transmit on new TCP connects.
In the embodiment of the present invention, if client is in the process of carrying out TCP session, when occurring from former server to the switching of new server, client is without the need to again sending the request of TCP connection establishment to new server, but initiatively set up new TCP with HTTP Indication message by new server be connected according to receiving TCP Indication message, afterwards, the new TCP of new server by utilizing connects continuation and transmits data to described client, the TCP disconnected with former destination server is needed to be connected with client in prior art, and send request to fresh target server, proceed TCP session after setting up new TCP connection to compare, the embodiment of the present invention effectively can avoid the interruption of transfer of data, reduce the time delay of transfer of data.
In RAN Cache structure, when subscriber equipment moves to another RAN coverage from current RAN coverage, if subscriber equipment carrying out with current RAN Cache tcp data mutual time, then can produce the problem that TCP session is carried out switching between adjacent R AN Cache, now when former RNC detects that client is switched under new RNC, TCP Indication message and HTTP Indication message is sent to new RNC, be that described client is set up new TCP and connected by new RNC, and continue in new TCP connection as client transmits data according to HTTP Indication message, specific implementation process is with reference to the method shown in above-mentioned Fig. 2, do not repeat them here.
As shown in Figure 4, the embodiment of the present invention also provides a kind of server, comprising: receiving element 11, TCP linkage unit 12 and processing unit 13.
Wherein, receiving element 11, for receiving TCP Indication message and the HTTP Indication message of the transmission of former server, described 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 using, described client are being accessed, the current use of described client connects, and described HTTP Indication message comprises: the URI that described client is being accessed and send the data area of described client to;
TCP linkage unit 12, for the IP address/tcp port number of the destination server that the IP address/tcp port number used according to the client of described receiving element 11 reception, described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that new TCP connects according to the state information updating of the TCP connection of the current use of client of described receiving element 11 reception;
Processing unit 13, for having sent the data area of described client in the URI that accessing according to described client to, obtain the data area not sending described client in the URI that described client accessing to, and the new TCP after described TCP linkage unit 12 upgrades connects and continues to transmit to described client.
In the embodiment of the present invention, if client is in the process of carrying out TCP session, when occurring from former server to the switching of new server, client is without the need to again sending the request of TCP connection establishment to new server, but initiatively set up new TCP with HTTP Indication message by new server be connected according to receiving TCP Indication message, afterwards, utilize new TCP to connect and continue to transmit data to described client, the TCP disconnected with former destination server is needed to be connected with client in prior art, and send request to fresh target server, proceed TCP session after setting up new TCP connection to compare, the embodiment of the present invention effectively can avoid the interruption of transfer of data, reduce the time delay of transfer of data.
Optionally, described receiving element 11 is specifically for the TCP Indication message that receives former server and sent by an Indication message and HTTP Indication message.
Optionally, described receiving element 11 is specifically for receiving the TCP Indication message of former server transmission; And after the new TCP of described foundation connects, receive the HTTP Indication message that former server sends.
Particularly, the TCP Indication message that described receiving element 11 receives is identified by IP carrying and specific protocol type, or the TCP Indication message that described receiving element 11 receives is identified by UDP carrying and certain port number; Described TCP Indication message specifically can with reference to the TCP indication message structure shown in above-mentioned middle table 1 embodiment illustrated in fig. 3.
The HTTP Indication message that described receiving element 11 receives is identified by IP carrying and specific protocol type, or the HTTP Indication message that described receiving element 11 receives is identified by UDP carrying and certain port number.Described HTTP Indication message specifically can with reference to the HTTP indication message structure shown in above-mentioned middle table 2 embodiment illustrated in fig. 3.
Described HTTP Indication message specifically comprises: GET request line, GET Source, GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
As shown in Figure 5, the embodiment of the present 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, switch for the TCP session detecting client current;
Transmitting element 32, during for detecting that at described detecting unit 31 the current TCP session of described client switches, TCP Indication message and HTTP Indication message is sent to new server, described TCP Indication message comprises: the Protocol IP address/tcp port number interconnected between the network that client is using, IP address/the tcp port number of the destination server that described client is being accessed, the state information of the TCP connection of the current use of described client, described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to.
In the embodiment of the present invention, if client is in the process of carrying out TCP session, when occurring from former server to the switching of new server, client is without the need to again sending the request of TCP connection establishment to new server, but send TCP Indication message and HTTP Indication message by former server to new server, so that described new server is initiatively set up new TCP with HTTP Indication message be connected according to being received TCP Indication message, afterwards, utilize new TCP to connect and continue to transmit data to described client, the TCP disconnected with former destination server is needed to be connected with client in prior art, and send request to fresh target server, proceed TCP session after setting up new TCP connection to compare, the embodiment of the present invention effectively can avoid the interruption of transfer of data, reduce the time delay of transfer of data.
Optionally, described transmitting element 32 is specifically for sending TCP Indication message and HTTP Indication message by same Indication message to described new server.
Optionally, described transmitting element 32 specifically for sending TCP Indication message to new server, and after the new TCP connection establishment success message receiving described new server transmission, sends HTTP Indication message to described new server.
Particularly, the TCP Indication message that described transmitting element 32 sends is identified by IP carrying and specific protocol type, or the TCP Indication message that described transmitting element 32 sends is identified by UDP carrying and certain port number; Described TCP Indication message specifically can with reference to the TCP indication message structure shown in above-mentioned middle table 1 embodiment illustrated in fig. 3.
The HTTP Indication message that described transmitting element 32 sends is identified by IP carrying and specific protocol type, or the HTTP Indication message that described transmitting element 32 sends is identified by UDP carrying and certain port number.Described HTTP Indication message specifically can with reference to the HTTP indication message structure shown in above-mentioned middle table 2 embodiment illustrated in fig. 3.
Described HTTP Indication message specifically comprises: GET request line, GET Source, GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
The embodiment of the present invention is mainly used in the process that TCP session switches, and effectively can avoid the interruption of transfer of data, reduces the time delay of transfer of data.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, 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 described claim.

Claims (20)

1. a changing method for session, is characterized in that, comprising:
Receive transmission control protocol TCP Indication message and the HTML (Hypertext Markup Language) HTTP Indication message of the transmission of former server, described TCP Indication message comprises: the state information that the IP address/tcp port number of the destination server that the Protocol IP address/tcp port number interconnected between the network that client is using, described client are being accessed, the TCP of the current use of described client connect, and described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to;
IP address/the tcp port number of the destination server that the IP address/tcp port number used according to described client, described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating connected according to the TCP of the current use of described client, new TCP connects;
According to the data area having sent described client in the URI that described client is being accessed to, obtain the data area not sending described client in the URI that described client accessing to, and connect at described new TCP and continue to transmit to described client.
2. the changing method of session according to claim 1, is characterized in that, the TCP Indication message that the former server of described reception sends and HTTP Indication message comprise:
Receive TCP Indication message and HTTP Indication message that former server sent by same Indication message.
3. the changing method of session according to claim 1, it is characterized in that, the TCP Indication message that the former server of described reception sends and HTTP Indication message comprise: receive the TCP Indication message that former server sends, and after the new TCP of described foundation connects, receive the HTTP Indication message that former server sends.
4. the changing method of the session according to any one of claim 1-3, it is characterized in that, described TCP Indication message is identified by IP carrying and specific protocol type, or described TCP Indication message is identified by user datagram protocol UDP carrying and certain port number;
Described HTTP Indication message is identified by IP carrying and specific protocol type, or described HTTP Indication message is identified by described UDP carrying and certain port number.
5. the changing method of the session according to any one of claim 1-3, it is characterized in that, described HTTP Indication message specifically comprises: GET request line, GET Source and GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
6. a changing method for session, is characterized in that, comprising:
Whether the TCP session detecting client current switches;
When the TCP session that described client is current switches, TCP Indication message and HTTP Indication message is sent to new server, described TCP Indication message comprises: the state information that the IP address/tcp port number of the destination server that the Protocol IP address/tcp port number interconnected between the network that client is using, described client are being accessed, the TCP of the current use of described client connect, and described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to.
7. the changing method of session according to claim 6, is characterized in that, describedly sends TCP Indication message to new server and HTTP Indication message comprises:
TCP Indication message and HTTP Indication message is sent to described new server by same Indication message.
8. the changing method of session according to claim 6, is characterized in that, describedly sends TCP Indication message to new server and HTTP Indication message comprises:
Send TCP Indication message to new server, and after the new TCP connection establishment success message receiving described new server transmission, send HTTP Indication message to described new server.
9. the changing method of the session according to any one of claim 6-8, it is characterized in that, described TCP Indication message is identified by IP carrying and specific protocol type, or described TCP Indication message is identified by user datagram protocol UDP carrying and certain port number;
Described HTTP Indication message is identified by IP carrying and specific protocol type, or described HTTP Indication message is identified by described UDP carrying and certain port number.
10. the changing method of the session according to any one of claim 6-8, it is characterized in that, described HTTP Indication message specifically comprises: GET request line, GET Source and GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
11. 1 kinds of servers, is characterized in that, comprising:
Receiving element, for receiving TCP Indication message and the HTTP Indication message of the transmission of former server, described 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 using, described client are being accessed, the current use of described client connects, and described HTTP Indication message comprises: the URI that described client is being accessed and send the data area of described client to;
TCP linkage unit, IP address/the tcp port number of the destination server that the IP address/tcp port number used for the client received according to described receiving element, described client are being accessed, between the destination server that described client and described client are being accessed, set up new TCP be connected, and the state that described in the state information updating that connects of the TCP of the current use of client received according to described receiving element, new TCP connects;
Processing unit, for having sent the data area of described client in the URI that accessing according to described client to, obtain the data area not sending described client in the URI that described client accessing to, and the new TCP after described TCP linkage unit upgrades connects and continues to transmit to described client.
12. servers according to claim 11, is characterized in that, described receiving element is specifically for the TCP Indication message that receives former server and sent by same Indication message and HTTP Indication message.
13. servers according to claim 11, is characterized in that, the TCP Indication message that described receiving element sends specifically for receiving former server; And after the new TCP of described foundation connects, receive the HTTP Indication message that former server sends.
14. servers according to any one of claim 11-13, it is characterized in that, the described TCP Indication message receiving single reception is identified by IP carrying and specific protocol type, or the TCP Indication message that described receiving element receives is identified by UDP carrying and certain port number;
The HTTP Indication message that described receiving element receives is identified by IP carrying and specific protocol type, or the HTTP Indication message that described receiving element receives is identified by UDP carrying and certain port number.
15. servers according to any one of claim 11-13, it is characterized in that, described HTTP Indication message specifically comprises: GET request line, GET Source and GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
16. 1 kinds of servers, is characterized in that, comprising:
Whether detecting unit, switch for the TCP session detecting client current;
Transmitting element, during for detecting that at described detecting unit the current TCP session of described client switches, TCP Indication message and HTTP Indication message is sent to new server, described TCP Indication message comprises: the Protocol IP address/tcp port number interconnected between the network that client is using, IP address/the tcp port number of the destination server that described client is being accessed, the state information of the TCP connection of the current use of described client, described HTTP Indication message comprises: the universal resource identifier URI that described client is being accessed and the data area having sent described client to.
17. servers according to claim 16, is characterized in that, described transmitting element is specifically for sending TCP Indication message and HTTP Indication message by same Indication message to described new server.
18. servers according to claim 16, it is characterized in that, described transmitting element specifically for sending TCP Indication message to new server, and after the new TCP connection establishment success message receiving described new server transmission, sends HTTP Indication message to described new server.
19. servers according to any one of claim 16-18, it is characterized in that, the TCP Indication message that described transmitting element sends is identified by IP carrying and specific protocol type, or the TCP Indication message that described transmission bill unit sends is identified by user datagram protocol UDP carrying and certain port number;
The HTTP Indication message that described transmitting element sends is identified by IP carrying and specific protocol type, or the HTTP Indication message that described transmitting element sends is identified by described UDP carrying and certain port number.
20. servers according to any one of claim 16-18, it is characterized in that, described HTTP Indication message specifically comprises: GET request line, GET Source and GET Entity Range, wherein, described GET Source represents the URI that described client is being accessed, and described GET Entity Range represents the data area sending described client to.
CN201110118610.8A 2011-05-09 2011-05-09 Conversation switching method and device Active CN102780712B (en)

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 CN102780712A (en) 2012-11-14
CN102780712B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104041108A (en) 2012-10-30 2014-09-10 华为技术有限公司 Data Transmission Method, Switching Method, Data Transmission Apparatus, Switching Apparatus, User Equipment, Wireless Access Node, Data Transmission System And Switching 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
CN106534331B (en) * 2016-11-30 2019-10-11 网宿科技股份有限公司 A kind of data transmission method and system based on dynamic port switching
CN110324391B (en) * 2018-03-30 2022-03-25 武汉斗鱼网络科技有限公司 Bullet screen server connection method, client and readable storage medium
CN108769257B (en) * 2018-06-28 2021-05-07 新华三信息安全技术有限公司 Server switching method and device
CN114257662B (en) * 2020-09-24 2024-04-12 花瓣云科技有限公司 Method, device, electronic equipment and storage medium for indicating transmission protocol
CN115242858B (en) * 2022-07-21 2024-02-09 山石网科通信技术股份有限公司 Message processing method, device, electronic equipment and computer readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
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

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7809840B2 (en) * 2006-11-02 2010-10-05 Alcatel Lucent 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

Patent Citations (2)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN102780712A (en) 2012-11-14

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
EP3633932A1 (en) Multipath data transmission processing method, and network device
KR20180009046A (en) Method and apparatus for multipath media delivery
US8488553B2 (en) Method for providing seamless transition between networks following different protocols
CN109417548B (en) Efficient transport of encapsulated media traffic over datagram-based transport layers
US20220407799A1 (en) Method and network device for multi-path communication
CN106471847B (en) Method and apparatus for communicating data communication sessions between radio access networks
JP2017028589A (en) Communication device, radio communication device, and communication method
EP2692115B1 (en) Sctp endpoint migration
CN111385268A (en) Data packet header compression confirmation method and communication equipment
JP5292172B2 (en) Connection management apparatus and connection management method
EP3632081B1 (en) Session layer communications using an id-oriented network
WO2015171023A1 (en) Establishing a multipath tcp (mptcp) connection
JP2005217626A (en) Packet data exchange node through wireless access network, terminal and its program
US20110058508A1 (en) Communication platform and method for packet communication between a service provider and a radio communicaiton device
CN106063217A (en) Method and system for implementing service optimization
CN104955079A (en) Data transmission method and performance enhancing proxy in wireless ad hoc network
US20130305082A1 (en) Recovering information
CN105230074B (en) Video cache switching handling method, device and system
JP5840575B2 (en) Multi-home communication method and system
US20170311135A1 (en) Control Signaling Transmission Method in MCPTT Architecture and Related Device
US9198090B2 (en) Node and method for AoIP address change
TWI483605B (en) Deployment method and computer system for network system
CN112055035B (en) NG interface establishing method and device

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
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.