CN103618743A - Service access method, speed-up client, speed-up server and system - Google Patents

Service access method, speed-up client, speed-up server and system Download PDF

Info

Publication number
CN103618743A
CN103618743A CN201310664889.9A CN201310664889A CN103618743A CN 103618743 A CN103618743 A CN 103618743A CN 201310664889 A CN201310664889 A CN 201310664889A CN 103618743 A CN103618743 A CN 103618743A
Authority
CN
China
Prior art keywords
link
service end
message
acceleration
data block
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
Application number
CN201310664889.9A
Other languages
Chinese (zh)
Other versions
CN103618743B (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks 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 Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201310664889.9A priority Critical patent/CN103618743B/en
Priority claimed from CN201310664889.9A external-priority patent/CN103618743B/en
Publication of CN103618743A publication Critical patent/CN103618743A/en
Application granted granted Critical
Publication of CN103618743B publication Critical patent/CN103618743B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a service access method, a speed-up client, a speed-up server and a system. The method comprises the following steps: receiving a first access request message sent by a terminal by the speed-up client and then forwarding the first access request message to the speed-up server; receiving first data messages sent by the speed-up server in sequence until a first link is judged to be abnormal, and sending a redirect message to the terminal; receiving a second access request message sent by the terminal and then forwarding the second access request message to the speed-up server; re-negotiating the size of a data block of data transmission for one time with the speed-up server; orderly receiving second data messages sent by the speed-up server; and splicing the received second data messages into compressed webpage information and then sending the compressed webpage information to the terminal. The scheme is used for improving the service access speed of a user and the processing efficiency.

Description

Operational Visit method, acceleration client, acceleration service end and system
Technical field
The present invention relates to communication technical field, espespecially a kind of Operational Visit method, acceleration client, acceleration service end and system.
Background technology
In recent years, wireless communication technology has experienced develop rapidly, from 2 early stage generation (Generation, G) 3G and Wireless Fidelity (wireless Fidelity till now, popularizing WIFI), and even the emergence of 4G, increasing enterprise customer's choice for use wireless network accesses the service server of enterprise.
For ease for use, consider, a lot of enterprise customers adopt terminal (Browser, B)/server (Server, S) framework.When enterprise customer will process certain business, need to use terminal to pass through wireless network access service server, in order to meet the demand of diversified business, a lot of B/S pages no longer adopt simple static page, but adopt dynamic page to carry out response terminal.Dynamic page need to go service server to transfer data by wireless network, because the transmission speed of wireless network is very easily subject to the impact of the factors such as environment, time delay on wireless network, packet loss etc. cannot be predicted, usually there is dynamic page and feed back slow phenomenon, affect Operational Visit speed and Business Processing efficiency.
Summary of the invention
The embodiment of the present invention provides a kind of Operational Visit method, accelerates client, accelerates service end and system, in order to solve the Operational Visit speed that affects that exists in existing Operational Visit method and the problem of Business Processing efficiency.
Therefore, according to the embodiment of the present invention, a kind of Operational Visit method is provided, be applied to comprise terminal, accelerate client, accelerate in the Operational Visit system of service end and service server, between described acceleration client and described acceleration service end, by network, communicate, the method comprises:
After the first access request message that described acceleration client sends to described terminal, be transmitted to described acceleration service end, described the first access request message is for service server described in request access;
The data block of consulting single transmission data with described acceleration service end is big or small;
Receive successively the first data message that described acceleration service end sends until to determine the first link abnormal, to described terminal, send redirection message, described the first data message is to obtain described acceleration service end splits the info web carrying in the first access response message of described service server transmission with the data block size of consulting after, and described the first link is the link between described terminal and described service server;
After receiving the second access request message that described terminal sends, be transmitted to described acceleration service end, described the second access request message is to send after described terminal receives described redirection message, for described in request access, accelerates service end;
Again consult the data block size of single transmission data with described acceleration service end;
Receive successively the second data message that described acceleration service end sends, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after;
After being spliced into the described info web after compression, described the second data message receiving sends to described terminal.
Concrete, the data block of consulting single transmission data with described acceleration service end is big or small, specifically comprises:
Receive the negotiation packet that described acceleration service end sends, described negotiation packet is that described acceleration service end sends described the first access request message repeating to described service server and after receiving described the first access response message;
Using the preset data block size corresponding with described the first link as the data block size of consulting, be carried at and in response message, send to described acceleration service end.
Optionally, before receiving successively the first data message of described acceleration service end transmission, also comprise:
Receive the benchmark two-way time that described acceleration service end sends, described benchmark two-way time is that described acceleration service end is sent described negotiation packet to the duration receiving between described response message;
Receive successively the first data message that described acceleration service end sends until to determine the first link abnormal, specifically comprise:
Receive after described the first data message at every turn, calculate the average deviation in transmission time;
According to described benchmark two-way time and described average deviation, judge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link, if the preset data block size after upgrading is less than threshold value, determine described the first link abnormal.
Concrete, according to described benchmark two-way time and described average deviation, judge and specifically comprise the mass change trend of the first link:
If described average deviation is greater than the described benchmark two-way time of the first setting multiple, the quality of determining described the first link has the trend of variation;
If described average deviation was less than or equal to for the 4th described benchmark two-way time of setting multiple, determine that the quality of described the first link has the trend improving, the described the 4th sets multiple is less than or equal to described first and sets multiple;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link, specifically comprise:
If the quality of the first link has the trend improving, the preset data block size corresponding with described the first link increased to second and set multiple;
If the quality of the first link has the trend of variation, the preset data block size corresponding with described the first link set to multiple divided by the 3rd.
Optionally, after receiving successively the second data message of described acceleration service end transmission, also comprise:
After the second data message that the described acceleration service end of each reception sends, rejudge the mass change trend of described the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link.
A kind of Operational Visit method is also provided, is applied to comprise terminal, accelerates client, accelerates, in the Operational Visit system of service end and service server, between described acceleration client and described acceleration service end, by network, to communicate, the method comprises:
That described acceleration service end receives is that described acceleration client forwards, be transmitted to described service server after the first access request message from described terminal;
Receive after the first access response message of described service server transmission, the data block of consulting single transmission data with described acceleration client is big or small;
To described acceleration client, send the first data message until receive that described acceleration client forwards successively, the second access request message from described terminal, described the first data message is to obtain described acceleration service end splits the info web carrying in described the first access response message with the data block size of consulting after, described the second access request message is to send after described terminal receives the redirection message from described acceleration client, for described in request access, accelerate service end, described redirection message is that described acceleration client determines the first link between described terminal and described service server and sends after abnormal,
Again consult the data block size of single transmission data with described acceleration client;
To described acceleration client, send the second data message successively, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after.
Concrete, the data block of consulting single transmission data with described acceleration client is big or small, specifically comprises:
To described acceleration client, send negotiation packet;
What receive described acceleration client transmission carries the preset data block size corresponding with described the first link as the response message of the data block size of consulting.
Optionally, before sending the first data message to described acceleration client successively, also comprise:
Calculating is sent described negotiation packet to the duration receiving between described response message, obtains benchmark two-way time;
Described benchmark is sent to described acceleration client two-way time.
A kind of acceleration client is also provided, comprises:
The first Transmit-Receive Unit is transmitted to acceleration service end after receiving the first access request message that terminal sends, and described the first access request message is for request access service server;
The first negotiation element, for the data block size with described acceleration service end negotiation single transmission data;
The second Transmit-Receive Unit, for receiving successively the first data message that described acceleration service end sends until to determine the first link abnormal, to described terminal, send redirection message, described the first data message is to obtain described acceleration service end splits the info web carrying in the first access response message of described service server transmission with the first data block size of consulting after, and described the first link is the link between described terminal and described service server;
The 3rd Transmit-Receive Unit, after receiving the second access request message that described terminal sends, be transmitted to described acceleration service end, described the second access request message is to send after described terminal receives described redirection message, for described in request access, accelerates service end;
The second negotiation element, for again consulting the data block size of single transmission data with described acceleration service end;
The 4th Transmit-Receive Unit, the second data message sending for receiving successively described acceleration service end, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after; After being spliced into the described info web after compression, described the second data message receiving sends to described terminal.
Concrete, described the first negotiation element, specifically for:
Receive the negotiation packet that described acceleration service end sends, described negotiation packet is that described acceleration service end sends described the first access request message repeating to described service server and after receiving described the first access response message;
Using the preset data block size corresponding with described the first link as the data block size of consulting, be carried at and in response message, send to described acceleration service end.
Optionally, described the second Transmit-Receive Unit, also for before receiving successively the first data message of described acceleration service end transmission, receive the benchmark two-way time that described acceleration service end sends, described benchmark two-way time is that described acceleration service end is sent described negotiation packet to the duration receiving between described response message;
Described the second Transmit-Receive Unit, for receiving successively the first data message that described acceleration service end sends until to determine the first link abnormal, specifically for:
Receive after described the first data message at every turn, calculate the average deviation in transmission time;
According to described benchmark two-way time and described average deviation, judge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link, if the preset data block size after upgrading is less than threshold value, determine described the first link abnormal.
Concrete, described the second Transmit-Receive Unit, for judge the mass change trend of the first link according to described benchmark two-way time and described average deviation, specifically for:
If described average deviation is greater than the described benchmark two-way time of the first setting multiple, the quality of determining described the first link has the trend of variation;
If described average deviation was less than or equal to for the 4th described benchmark two-way time of setting multiple, determine that the quality of described the first link has the trend improving, the described the 4th sets multiple is less than or equal to described first and sets multiple;
Described the second Transmit-Receive Unit, for upgrading the preset data block size corresponding with described the first link according to the mass change trend of the first link of judging, specifically for:
If the quality of the first link has the trend improving, the preset data block size corresponding with described the first link increased to second and set multiple;
If the quality of the first link has the trend of variation, the preset data block size corresponding with described the first link set to multiple divided by the 3rd.
Optionally, described the 4th receiving element, also, for after the second data message sending in the described acceleration service end of each reception, rejudges the mass change trend of described the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link.
A kind of acceleration service end is also provided, comprises:
The first Transmit-Receive Unit, accelerates to be transmitted to service server after client the first access request message that forward, that carry out self terminal for receiving;
The first negotiation element, for receiving after the first access response message of described service server transmission, the data block of consulting single transmission data with described acceleration client is big or small;
The second Transmit-Receive Unit, for sending the first data message until receive that described acceleration client forwards to described acceleration client successively, the second access request message from described terminal, described the first data message is to obtain the acceleration service end at self place splits the info web carrying in described the first access response message with the first data block size of consulting after, described the second access request message is to send after described terminal receives the redirection message sending from described acceleration client, for described in request access, accelerate service end, described redirection message is that described acceleration client determines the first link between described terminal and described service server and sends after abnormal,
The second negotiation element, for again consulting the data block size of single transmission data with described acceleration client;
The 3rd Transmit-Receive Unit, for sending the second data message to described acceleration client successively, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after.
Concrete, described the first negotiation element, for the data block size with described acceleration client negotiation single transmission data, specifically for:
To described acceleration client, send negotiation packet;
What receive described acceleration client transmission carries the preset data block size corresponding with described the first link as the response message of the data block size of consulting.
Optionally, described the second Transmit-Receive Unit, also for before sending the first data message to described acceleration client successively, calculates and to send described negotiation packet to the duration receiving between described response message, obtains benchmark two-way time;
Described benchmark is sent to described acceleration client two-way time.
A kind of Operational Visit system is also provided, comprises terminal, above-mentioned acceleration client, above-mentioned acceleration service end and service server.
The Operational Visit method that the embodiment of the present invention provides, accelerate client, accelerate service end and system, terminal is in carrying out the process of Operational Visit, accelerate client can monitor terminal and service server between the quality of the first link, when determine the first link abnormal after, accelerate client and can send redirection message to terminal, terminal is according to redirection message, request access accelerates service end, then accelerating service end can be to the info web that accelerates client push compression, because the info web of compression is more much smaller than original info web, so terminal can receive very soon, guaranteed that user carries out speed and the treatment effeciency of Operational Visit.
Accompanying drawing explanation
Fig. 1 is the structural representation of Operational Visit system in the embodiment of the present invention;
Fig. 2 a is the flow chart of Operational Visit method in the embodiment of the present invention;
Fig. 2 b is the form of DATA_STREAM in the embodiment of the present invention;
Fig. 2 c is the form of SYN_STREAM in the embodiment of the present invention;
Fig. 2 d is the form of SYN_REPLY in the embodiment of the present invention;
Fig. 3 accelerates the structure chart of client in the embodiment of the present invention;
Fig. 4 accelerates the structural representation of service end in the embodiment of the present invention.
Embodiment
The Operational Visit speed that affects existing in access method for existing service server and the problem of Business Processing efficiency, the embodiment of the present invention provides a kind of Operational Visit method, the method can be applied in operation system as shown in Figure 1, this operation system comprises terminal 10, accelerates client 11, accelerates service end 12 and service server 13, accelerates client 11 and accelerate by network, to communicate between service end 12.
The flow process of above-mentioned Operational Visit method as shown in Figure 2 a, specifically comprises:
S20: terminal sends the first access request message to accelerating client, and the first access request message is for request access service server.
When user will carry out Operational Visit, can in terminal, input the web page address that will access, in terminal, can generate the first access request message, the IP address that can carry service server in the first access request message identifies service server is conducted interviews.
The first access request message can be HTML (Hypertext Markup Language) (Hyper Text Transport Protocol, HTTP) message etc.
S21: accelerate client and be transmitted to acceleration service end after the first access request message of terminal transmission.
S22: accelerate after service end receives the first access request message to be transmitted to service server.
S23: service server receives after the first access request, sends to accelerating service end the first access response message that carries info web.
The first access response message can be also HTTP message etc.
S24: accelerate service end and receive after the first access response message, with the data block size of accelerating client negotiation single transmission data.
Accelerate server and receive after the first access response message, in order to ensure the best transmission effect under current link-quality, first with the data block size of accelerating client negotiation single transmission data.
S25: accelerate service end and send the first data message to accelerating client successively, the first data message is to accelerate service end splits the info web carrying in the first access response message of service server transmission with the data block size of consulting after to obtain.
S26: accelerate client and receive successively and accelerate the first data message that service end sends until to determine the first link abnormal, send redirection message to terminal, the first link is the link between terminal and service server.
Accelerate client and receive at every turn and accelerate, after the first data message that service end sends, all will judge link-quality, if link is abnormal, will send redirection message to terminal, indicating terminal is again accessed the service of acceleration and is brought in and carry out Operational Visit.
S27: terminal receives after redirection message, sends the second access request message to accelerating client, and the second access request message accelerates service end for request access.
S28: accelerate client and be transmitted to acceleration service end after the second access request message.
S29: accelerate service end and receive after the second access request message, again with the data block size of accelerating client negotiation single transmission data.
Because the first link is abnormal, so accelerate service end, need again big or small with the data block of accelerating client negotiation single transmission data.
S30: accelerate service end and send the second data message to accelerating client successively, the second data message is to accelerate service end splits the info web after compression with the data block size of again consulting after to obtain.
Accelerate service end and can preserve the info web of compression, when the first link is abnormal, just can reduce and accelerate the data transfer size between client, can guarantee very fast to terminal, to return to info web.The info web of compression only retains content of text, when former webpage has carried out, after modification, deletion or shielding, accelerating service end and can, according to the update time of info web, regenerating the info web of compression.
Can be specifically, accelerating service end receives after the first access response message that service server returns, according to the last modification time field (Last-Modified) in the first access response message, judge whether webpage has renewal, if had, need to upgrade the info web of local compression of preserving, the html code of the info web that scanning receives, extract hyperlink URL(uniform resource locator) (Uniform Resource Location, URL) with concrete web object file and store.
In the time need to sending the info web of compression to acceleration client, just the info web of compression can be split with the data block size of again consulting, be then encapsulated in the second data message, send to acceleration client.
S31: accelerate client and receive successively and accelerate the second data message that service end sends, send to terminal after the second data message receiving is spliced into the info web after compression.
In this scheme, terminal is in carrying out the process of Operational Visit, accelerate client can monitor terminal and service server between the quality of the first link, when determine the first link abnormal after, accelerate client and can send redirection message to terminal, terminal is according to redirection message, request access accelerates service end, then accelerating service end can be to the info web that accelerates client push compression, because the info web of compression is more much smaller than original info web, so terminal can receive very soon, guaranteed that user carries out speed and the treatment effeciency of Operational Visit.
From accelerating client one side, specifically introduce above-mentioned steps below:
Concrete, the acceleration client in above-mentioned S24 and the data block size of accelerating service end negotiation single transmission data, specifically comprise:
Receive and accelerate the negotiation packet that service end sends, negotiation packet accelerates service end the first access request message repeating is sent to service server and after receiving the first access response message;
Using the preset data block size corresponding with the first link as the data block size of consulting, be carried at and in response message, send to acceleration service end.
Accelerating client is connected adaptation and flows (Link Adaptation Stream with accelerating can adopt between service end, LAS) host-host protocol, receive and accelerate the negotiation packet that service end sends, be specifically as follows LAS control frame (SYN_STREAM), by LAS control frame and the data block size of accelerating client negotiation transmission data.
Accelerating client can maintenance link state information table, when accelerating a plurality of link of client maintenance, can determine the preset data block size corresponding with each link according to the information recording in link-state information table, and link-state information tableau format is as follows:
Figure BDA0000433405700000111
Link identification: link is identified in Internet protocol (Internet Protocol, the IP) address by terminal and service server.
Preset data block size: default value is 64KB upgrades according to the variation tendency of link-quality in transmission data procedures.
Accelerate client and can by response message, send to acceleration service end according to the preset data block size corresponding with link recording in link-state information table, response message can be LAS control frame (SYN_REPLY).
Above-mentioned the first data message and the second data message can be LAS Frame (DATA__STREAM).
Concrete, before the first data message that receives successively the transmission of acceleration service end in above-mentioned S26, also comprise:
Receive to accelerate the benchmark two-way time that service end sends, benchmark two-way time is to accelerate service end to send negotiation packet to the duration receiving between response message.
Supposing to accelerate service end is T0 to the moment of accelerating client and send negotiation packet, and accelerating the moment that service end receives response message is T1, and this duration of T1-T0 just can be used as benchmark two-way time so, is designated as RTT.
In above-mentioned S26, receive to accelerate successively the first data message that service end sends until to determine the first link abnormal, specifically comprise:
Receive after the first data message at every turn, calculate the average deviation in transmission time;
According to benchmark two-way time and average deviation, judge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with the first link, if the preset data block size after upgrading is less than threshold value, determine the first link abnormal.
Acceleration client can also be calculated the average deviation MD in transmission time after receiving the first data message at every turn,
Figure BDA0000433405700000121
wherein Tn is the time of the n that receives the first data message, is T(n-1) time of (n-1) individual first data message of receiving.
According to the relation between MD and RTT, just can determine the mass change trend of the first link, further can upgrade the preset data block size corresponding with the first link, and according to the preset data block size after upgrading, judge the quality of the first link.
Wherein, threshold value namely triggers the minimum data block size of the info web that sends compression, can be set to 1Kbyte, mean if the preset data block size after upgrading is less than or equal to 1Kbyte, trigger the info web that sends compression, threshold value also can be set to other numerical value according to actual conditions certainly.
Accelerate client and can safeguard flow state information table, when accelerating a plurality of link of client maintenance, benchmark two-way time and the average deviation of each link that can record in flow state information table, flow state information tableau format is as follows:
Figure BDA0000433405700000122
Figure BDA0000433405700000131
Stream identification: identify a unique TCP stream according to source IP, source port, object IP, destination interface.
Benchmark two-way time: the benchmark of every stream calculates two-way time when consulting the data block size of single transmission data, is recorded in stream mode table.
Average deviation: after each transmission data block, the average deviation in the transmission time of calculating.
Concrete, the above-mentioned mass change trend that judges the first link according to benchmark two-way time and average deviation, specifically comprises:
If average deviation is greater than the benchmark two-way time of the first setting multiple, the quality of definite the first link has the trend of variation;
If average deviation is less than or equal to the benchmark two-way time of the 4th setting multiple, determine that the quality of the first link has the trend improving, the 4th sets multiple is less than or equal to the first setting multiple.
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with the first link, specifically comprise:
If the quality of the first link has the trend improving, the preset data block size corresponding with the first link increased to second and set multiple;
If the quality of the first link has the trend of variation, the preset data block size corresponding with the first link set to multiple divided by the 3rd.
When the quality of the first link has the trend improving, this just means that the network bandwidth is sufficient, can increase the preset data block size corresponding with terminal, that is to say and can increase the data block of each transmission data size; Otherwise, for fear of network congestion, can reduce the preset data block size corresponding with the first link, that is to say the data block size that can reduce at every turn to transmit data.Describe for example below:
Start--->Stream_size=8Kbyte;
After 1 RTT--->Stream_size=2*8Kbyte;
After 2 RTT--->Stream_size=3*8Kbyte;
After 3 RTT--->Stream_size=4*8Kbyte;
Suppose that the N time link quality has trend--->Stream_size=(n-1) the * 8Kbyte/2 of variation.
Wherein, the first setting multiple, second is set multiple, the 3rd setting multiple, the 4th is set multiple and can be set according to actual needs.For example: 1,2,3 etc.
Optionally, after the second data message that receives successively the transmission of acceleration service end in above-mentioned S31, also comprise:
After the second data message of service end transmission is accelerated in each reception, rejudge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with the first link.
Accelerate client after the second data message of service end transmission is accelerated in each reception, also can rejudge the mass change trend of the first link, and according to the size of the variation tendency renewal of the quality of the first link of the judging preset data piece corresponding with the first link, thereby when the follow-up data block with accelerating service end negotiation single transmission data is big or small, can be more accurate.
From accelerating service end one side, specifically introduce above-mentioned steps below:
Concrete, the data block with accelerating client negotiation single transmission data in above-mentioned S24 is big or small, specifically comprises: to accelerating client, send negotiation packet; What receive the transmission of acceleration client carries the preset data block size corresponding with the first link as the response message of the data block size of consulting.
Optionally, before client sends the first data message, also comprising to accelerating successively in above-mentioned S25: calculate and send negotiation packet to the duration receiving between response message, obtain benchmark two-way time; Benchmark is sent to acceleration client two-way time.
Also maintenance link state information table of service end end can accelerated, when safeguarding a plurality of link, can determine the preset data block size corresponding with each the first link according to the information recording in link-state information table, the size of determining the first data message and the second data message, link-state information tableau format is as follows:
Figure BDA0000433405700000141
Figure BDA0000433405700000151
Lower mask body is introduced above-mentioned LAS host-host protocol, this host-host protocol is based on transmission control protocol (Transfer Control Protocol, TCP) protocol technology that transmission is optimized to application layer traffic, in application layer, increased a fragment (Session) layer (as shown in the table), thereby at a TCP, connect on basis, realized link-quality and detected and Flow Control.
Figure BDA0000433405700000152
1. type of message, comprises Frame and control frame, wherein:
LAS Frame, for transmitting data, comprises DATA_STREAM; LAS control frame, for control channel, comprises SYN_STREAM and SYN_REPLY.
2. message packet form:
As shown in Figure 2 b, wherein " C " is 0 to the form of DATA_STREAM, represents Frame.
As shown in Figure 2 c, wherein " C " is 1 to the form of SYN_STREAM, represents control frame.The form of SYN_REPLY as shown in Figure 2 d.
3. each parameter declaration in message:
In SYN_STREAM:
": stream_id ", the value of a 31bit identifies this stream;
": target:d_port ", the destination address+destination interface of request access;
": host:s_port ", the device address+source port of initiating request;
": Timestamp ", timestamp when recorded message sends;
": Stream_size ", need the data segment of transmission big or small;
": Req_Data_size ", the data block size of request data transfer.
In SYN_REPLY:
": stream_id ", the value of a 31bit identifies this stream;
": target:d_port ", the destination address+destination interface of request access;
": host:s_port ", the device address+source port of initiating request;
": Timestamp ", the timestamp while sending for message;
": Stream_size ", need the data segment of transmission big or small;
": Rep_Data_size ", confirm that the data block of transmission data is big or small.
In DATA_STREAM:
": stream_id ", the value of a 31bit identifies this stream;
": flag ", flag bit is 1, accelerates service end or accelerates client receiving that TCP message Shi,Jiang Bu pending buffer district is full, is delivered to immediately related process module; Flag bit is 0, does not do special processing;
": Lenth ", the size of data message equals to accelerate the data block size of the transmission data that client confirms;
": Body ", be the data message of encapsulation.
Based on same inventive concept, the embodiment of the present invention provides a kind of acceleration client, and this acceleration client can be arranged in terminal, also can be arranged on separately in the network equipments such as router, and structure as shown in Figure 3, comprising:
The first transmitting-receiving is single 30, after receiving the first access request message that terminal sends, is transmitted to acceleration service end, and the first access request message is for request access service server.
The first negotiation element 31, for the data block size with accelerating service end negotiation single transmission data.
The second Transmit-Receive Unit 32, for receive accelerating successively the first data message that service end sends until to determine the first link abnormal, to terminal, send redirection message, the first data message is to accelerate service end splits the info web carrying in the first access response message of service server transmission with the data block size of consulting after to obtain, and the first link is the link between terminal and service server.
The 3rd Transmit-Receive Unit 33 is transmitted to acceleration service end after receiving the second access request message that terminal sends, and the second access request message is to send after terminal receives redirection message, for request access, accelerates service end.
The second negotiation element 34, for again big or small with the data block of accelerating service end negotiation single transmission data.
The 4th Transmit-Receive Unit 35, accelerates for receiving successively the second data message that service end sends, and the second data message is to accelerate service end splits the info web after compression with the data block size of again consulting after to obtain; After being spliced into the info web after compression, the second data message receiving sends to terminal.
Concrete, above-mentioned the first negotiation element 31, specifically for:
Receive and accelerate the negotiation packet that service end sends, negotiation packet accelerates service end the first access request message repeating is sent to service server and after receiving the first access response message;
Using the preset data block size corresponding with the first link as the data block size of consulting, be carried at and in response message, send to acceleration service end.
Optionally, above-mentioned the second Transmit-Receive Unit 32, also, for before receive accelerating successively the first data message that service end sends, receive and accelerate the benchmark two-way time that service end sends, benchmark two-way time is to accelerate service end to send negotiation packet to the duration receiving between response message.
The second Transmit-Receive Unit 32, for receive accelerating successively the first data message that service end sends until to determine the first link abnormal, specifically for:
Receive after the first data message at every turn, calculate the average deviation in transmission time;
According to benchmark two-way time and average deviation, judge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with the first link, if the preset data block size after upgrading is less than threshold value, determine the first link abnormal.
Concrete, above-mentioned the second Transmit-Receive Unit 32, for according to benchmark two-way time and average deviation judgement change in link quality trend, specifically for:
If average deviation is greater than the benchmark two-way time of the first setting multiple, the quality of definite the first link has the trend of variation;
If average deviation is less than or equal to the benchmark two-way time of the 4th setting multiple, the quality of determining the first link is had to the trend improving, the 4th sets multiple is less than or equal to the first setting multiple.
The second Transmit-Receive Unit 32, for upgrading the preset data block size corresponding with the first link according to the mass change trend of the first link of judging, specifically for:
If the quality of the first link has the trend improving, the preset data block size corresponding with the first link increased to second and set multiple;
If the quality of the first link has the trend of variation, the preset data block size corresponding with the first link set multiple divided by the 3rd.
Optionally, above-mentioned the 4th receiving element 35, also, for after the second data message of service end transmission is accelerated in each reception, rejudges the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with the first link.
Based on same inventive concept, the embodiment of the present invention provides a kind of acceleration service end, and this acceleration service end can be arranged in the network equipments such as router, and structure as shown in Figure 4, comprising:
The first Transmit-Receive Unit 40, accelerates to be transmitted to service server after client the first access request message that forward, that carry out self terminal for receiving.
The first negotiation element 41, for receiving after the first access response message of service server transmission, with the data block size of accelerating client negotiation single transmission data.
The second Transmit-Receive Unit 42, for sending the first data message until receive and accelerate that client forwards to accelerating client successively, carry out the second access request message of self terminal, the first data message is to obtain the acceleration service end at self place splits the info web carrying in the first access response message with the data block size of consulting after, the second access request message be terminal receive autoacceleration client to send redirection message after send, for request access, accelerate service end, redirection message is to accelerate client to determine the first link between terminal and service server and send after abnormal.
The second negotiation element 43, for again big or small with the data block of accelerating client negotiation single transmission data.
The 3rd Transmit-Receive Unit 44, for sending the second data message to accelerating client successively, the second data message is to accelerate service end splits the info web after compression with the data block size of again consulting after to obtain.
Concrete, above-mentioned the first negotiation element 41, for the data block size with accelerating client negotiation single transmission data, specifically for:
To accelerating client, send negotiation packet;
What receive the transmission of acceleration client carries the preset data block size corresponding with the first link as the response message of the data block size of consulting.
Optionally, above-mentioned the second Transmit-Receive Unit 42, also for before client sends the first data message, calculating and sending negotiation packet to the duration receiving between response message to accelerating successively, obtains benchmark two-way time;
Benchmark is sent to acceleration client two-way time.
The present invention is with reference to describing according to flow chart and/or the block diagram of the method for the embodiment of the present invention, equipment (system) and computer program.Should understand can be in computer program instructions realization flow figure and/or block diagram each flow process and/or the flow process in square frame and flow chart and/or block diagram and/or the combination of square frame.Can provide these computer program instructions to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, the instruction of carrying out by the processor of computer or other programmable data processing device is produced for realizing the device in the function of flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame appointments.
These computer program instructions also can be stored in energy vectoring computer or the computer-readable memory of other programmable data processing device with ad hoc fashion work, the instruction that makes to be stored in this computer-readable memory produces the manufacture that comprises command device, and this command device is realized the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make to carry out sequence of operations step to produce computer implemented processing on computer or other programmable devices, thereby the instruction of carrying out is provided for realizing the step of the function of appointment in flow process of flow chart or a plurality of flow process and/or square frame of block diagram or a plurality of square frame on computer or other programmable devices.
Although described optional embodiment of the present invention, once those skilled in the art obtain the basic creative concept of cicada, can make other change and modification to these embodiment.So claims are intended to be interpreted as all changes and the modification that comprise optional embodiment and fall into the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from the spirit and scope of the embodiment of the present invention the embodiment of the present invention.Like this, if within these of the embodiment of the present invention are revised and modification belongs to the scope of the claims in the present invention and equivalent technologies thereof, the present invention is also intended to comprise these changes and modification interior.

Claims (17)

1. an Operational Visit method, it is characterized in that, be applied to comprise terminal, accelerate client, accelerate, in the Operational Visit system of service end and service server, between described acceleration client and described acceleration service end, by network, to communicate, the method comprises:
After the first access request message that described acceleration client sends to described terminal, be transmitted to described acceleration service end, described the first access request message is for service server described in request access;
The data block of consulting single transmission data with described acceleration service end is big or small;
Receive successively the first data message that described acceleration service end sends until to determine the first link abnormal, to described terminal, send redirection message, described the first data message is to obtain described acceleration service end splits the info web carrying in the first access response message of described service server transmission with the data block size of consulting after, and described the first link is the link between described terminal and described service server;
After receiving the second access request message that described terminal sends, be transmitted to described acceleration service end, described the second access request message is to send after described terminal receives described redirection message, for described in request access, accelerates service end;
Again consult the data block size of single transmission data with described acceleration service end;
Receive successively the second data message that described acceleration service end sends, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after;
After being spliced into the described info web after compression, described the second data message receiving sends to described terminal.
2. the method for claim 1, is characterized in that, the data block of consulting single transmission data with described acceleration service end is big or small, specifically comprises:
Receive the negotiation packet that described acceleration service end sends, described negotiation packet is that described acceleration service end sends described the first access request message repeating to described service server and after receiving described the first access response message;
Using the preset data block size corresponding with described the first link as the data block size of consulting, be carried at and in response message, send to described acceleration service end.
3. method as claimed in claim 2, is characterized in that, before receiving successively the first data message of described acceleration service end transmission, also comprises:
Receive the benchmark two-way time that described acceleration service end sends, described benchmark two-way time is that described acceleration service end is sent described negotiation packet to the duration receiving between described response message;
Receive successively the first data message that described acceleration service end sends until to determine the first link abnormal, specifically comprise:
Receive after described the first data message at every turn, calculate the average deviation in transmission time;
According to described benchmark two-way time and described average deviation, judge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link, if the preset data block size after upgrading is less than threshold value, determine described the first link abnormal.
4. method as claimed in claim 3, is characterized in that, judges the mass change trend of the first link according to described benchmark two-way time and described average deviation, specifically comprises:
If described average deviation is greater than the described benchmark two-way time of the first setting multiple, the quality of determining described the first link has the trend of variation;
If described average deviation was less than or equal to for the 4th described benchmark two-way time of setting multiple, determine that the quality of described the first link has the trend improving, the described the 4th sets multiple is less than or equal to described first and sets multiple;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link, specifically comprise:
If the quality of the first link has the trend improving, the preset data block size corresponding with described the first link increased to second and set multiple;
If the quality of the first link has the trend of variation, the preset data block size corresponding with described the first link set to multiple divided by the 3rd.
5. method as claimed in claim 3, is characterized in that, after receiving successively the second data message of described acceleration service end transmission, also comprises:
After the second data message that the described acceleration service end of each reception sends, rejudge the mass change trend of described the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link.
6. an Operational Visit method, it is characterized in that, be applied to comprise terminal, accelerate client, accelerate, in the Operational Visit system of service end and service server, between described acceleration client and described acceleration service end, by network, to communicate, the method comprises:
That described acceleration service end receives is that described acceleration client forwards, be transmitted to described service server after the first access request message from described terminal;
Receive after the first access response message of described service server transmission, the data block of consulting single transmission data with described acceleration client is big or small;
To described acceleration client, send the first data message until receive that described acceleration client forwards successively, the second access request message from described terminal, described the first data message is to obtain described acceleration service end splits the info web carrying in described the first access response message with the data block size of consulting after, described the second access request message is to send after described terminal receives the redirection message from described acceleration client, for described in request access, accelerate service end, described redirection message is that described acceleration client determines the first link between described terminal and described service server and sends after abnormal,
Again consult the data block size of single transmission data with described acceleration client;
To described acceleration client, send the second data message successively, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after.
7. method as claimed in claim 6, is characterized in that, the data block of consulting single transmission data with described acceleration client is big or small, specifically comprises:
To described acceleration client, send negotiation packet;
What receive described acceleration client transmission carries the preset data block size corresponding with described the first link as the response message of the data block size of consulting.
8. method as claimed in claim 7, is characterized in that, before sending the first data message successively, also comprises to described acceleration client:
Calculating is sent described negotiation packet to the duration receiving between described response message, obtains benchmark two-way time;
Described benchmark is sent to described acceleration client two-way time.
9. accelerate a client, it is characterized in that, comprising:
The first Transmit-Receive Unit is transmitted to acceleration service end after receiving the first access request message that terminal sends, and described the first access request message is for request access service server;
The first negotiation element, for the data block size with described acceleration service end negotiation single transmission data;
The second Transmit-Receive Unit, for receiving successively the first data message that described acceleration service end sends until to determine the first link abnormal, to described terminal, send redirection message, described the first data message is to obtain described acceleration service end splits the info web carrying in the first access response message of described service server transmission with the data block size of consulting after, and described the first link is the link between described terminal and described service server;
The 3rd Transmit-Receive Unit, after receiving the second access request message that described terminal sends, be transmitted to described acceleration service end, described the second access request message is to send after described terminal receives described redirection message, for described in request access, accelerates service end;
The second negotiation element, for again consulting the data block size of single transmission data with described acceleration service end;
The 4th Transmit-Receive Unit, the second data message sending for receiving successively described acceleration service end, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after; After being spliced into the described info web after compression, described the second data message receiving sends to described terminal.
10. acceleration client as claimed in claim 9, is characterized in that, described the first negotiation element, specifically for:
Receive the negotiation packet that described acceleration service end sends, described negotiation packet is that described acceleration service end sends described the first access request message repeating to described service server and after receiving described the first access response message;
Using the preset data block size corresponding with described the first link as the data block size of consulting, be carried at and in response message, send to described acceleration service end.
11. acceleration clients as claimed in claim 10, it is characterized in that, described the second Transmit-Receive Unit, also for before receiving successively the first data message of described acceleration service end transmission, receive the benchmark two-way time that described acceleration service end sends, described benchmark two-way time is that described acceleration service end is sent described negotiation packet to the duration receiving between described response message;
Described the second Transmit-Receive Unit, for receiving successively the first data message that described acceleration service end sends until to determine the first link abnormal, specifically for:
Receive after described the first data message at every turn, calculate the average deviation in transmission time;
According to described benchmark two-way time and described average deviation, judge the mass change trend of the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link, if the preset data block size after upgrading is less than threshold value, determine described the first link abnormal.
12. acceleration clients as claimed in claim 11, is characterized in that, described the second Transmit-Receive Unit, and for judge the mass change trend of the first link according to described benchmark two-way time and described average deviation, specifically for:
If described average deviation is greater than the described benchmark two-way time of the first setting multiple, the quality of determining described the first link has the trend of variation;
If described average deviation was less than or equal to for the 4th described benchmark two-way time of setting multiple, determine that the quality of described the first link has the trend improving, the described the 4th sets multiple is less than or equal to described first and sets multiple;
Described the second Transmit-Receive Unit, for upgrading the preset data block size corresponding with described the first link according to the mass change trend of the first link of judging, specifically for:
If the quality of the first link has the trend improving, the preset data block size corresponding with described the first link increased to second and set multiple;
If the quality of the first link has the trend of variation, the preset data block size corresponding with described the first link set to multiple divided by the 3rd.
13. acceleration clients as claimed in claim 11, is characterized in that, described the 4th receiving element also, for after the second data message sending in the described acceleration service end of each reception, rejudges the mass change trend of described the first link;
According to the mass change trend of the first link of judging, upgrade the preset data block size corresponding with described the first link.
14. 1 kinds are accelerated service end, it is characterized in that, comprising:
The first Transmit-Receive Unit, accelerates to be transmitted to service server after client the first access request message that forward, that carry out self terminal for receiving;
The first negotiation element, for receiving after the first access response message of described service server transmission, the data block of consulting single transmission data with described acceleration client is big or small;
The second Transmit-Receive Unit, for sending the first data message until receive that described acceleration client forwards to described acceleration client successively, the second access request message from described terminal, described the first data message is to obtain the acceleration service end at self place splits the info web carrying in described the first access response message with the data block size of consulting after, described the second access request message is to send after described terminal receives the redirection message sending from described acceleration client, for described in request access, accelerate service end, described redirection message is that described acceleration client determines the first link between described terminal and described service server and sends after abnormal,
The second negotiation element, for again consulting the data block size of single transmission data with described acceleration client;
The 3rd Transmit-Receive Unit, for sending the second data message to described acceleration client successively, described the second data message is to obtain described acceleration service end splits the described info web after compression with the data block size of again consulting after.
15. acceleration service ends as claimed in claim 14, is characterized in that, described the first negotiation element, and for the data block size with described acceleration client negotiation single transmission data, specifically for:
To described acceleration client, send negotiation packet;
What receive described acceleration client transmission carries the preset data block size corresponding with described the first link as the response message of the data block size of consulting.
16. acceleration service ends as claimed in claim 15, it is characterized in that, described the second Transmit-Receive Unit, also for before sending the first data message to described acceleration client successively, calculating is sent described negotiation packet to the duration receiving between described response message, obtains benchmark two-way time;
Described benchmark is sent to described acceleration client two-way time.
17. 1 kinds of Operational Visit systems, is characterized in that, comprise terminal, acceleration client as claimed in claim 9, acceleration service end as claimed in claim 14 and service server.
CN201310664889.9A 2013-12-09 Operational Visit method, client of accelerating, acceleration service end and system Active CN103618743B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310664889.9A CN103618743B (en) 2013-12-09 Operational Visit method, client of accelerating, acceleration service end and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310664889.9A CN103618743B (en) 2013-12-09 Operational Visit method, client of accelerating, acceleration service end and system

Publications (2)

Publication Number Publication Date
CN103618743A true CN103618743A (en) 2014-03-05
CN103618743B CN103618743B (en) 2016-11-30

Family

ID=

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168210A (en) * 2014-08-08 2014-11-26 网宿科技股份有限公司 Network software accelerating system based on intelligent routing
CN106375128A (en) * 2016-09-14 2017-02-01 网宿科技股份有限公司 Acceleration access method, device and equipment based on PPTP VPN (point to point tunneling protocol virtual private network)
CN106961439A (en) * 2017-03-31 2017-07-18 杭州迪普科技股份有限公司 A kind of HTTPS encrypted transmission methods and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249196B1 (en) * 2000-10-06 2007-07-24 Juniper Networks, Inc. Web page source file transfer system and method
US20080320151A1 (en) * 2002-10-30 2008-12-25 Riverbed Technology, Inc. Transaction accelerator for client-server communications systems
CN103384181A (en) * 2012-05-04 2013-11-06 华为技术有限公司 Data packet transmission method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7249196B1 (en) * 2000-10-06 2007-07-24 Juniper Networks, Inc. Web page source file transfer system and method
US20080320151A1 (en) * 2002-10-30 2008-12-25 Riverbed Technology, Inc. Transaction accelerator for client-server communications systems
CN103384181A (en) * 2012-05-04 2013-11-06 华为技术有限公司 Data packet transmission method and device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168210A (en) * 2014-08-08 2014-11-26 网宿科技股份有限公司 Network software accelerating system based on intelligent routing
CN106375128A (en) * 2016-09-14 2017-02-01 网宿科技股份有限公司 Acceleration access method, device and equipment based on PPTP VPN (point to point tunneling protocol virtual private network)
CN106375128B (en) * 2016-09-14 2019-07-02 网宿科技股份有限公司 Acceleration access method, device and equipment based on PPTP VPN
CN106961439A (en) * 2017-03-31 2017-07-18 杭州迪普科技股份有限公司 A kind of HTTPS encrypted transmission methods and device
CN106961439B (en) * 2017-03-31 2019-09-17 杭州迪普科技股份有限公司 A kind of HTTPS encrypted transmission method and device

Similar Documents

Publication Publication Date Title
US10587544B2 (en) Message processing method, processing server, terminal, and storage medium
EP2875622B1 (en) Techniques to support selective mobile content optimization
EP2880839B1 (en) Web caching method and system for content distribution network (cdn)
CN110022264B (en) Method for controlling network congestion, access device and computer readable storage medium
CN101039309B (en) Link sharing service apparatus and communication method thereof
CN102394880B (en) Method and device for processing jump response in content delivery network
CN101771585B (en) Network delay measuring equipment and method thereof
JP5645269B2 (en) Network system
CN104009938A (en) Method and system for long connections based on router level
EP3142306B1 (en) Openflow communication method, system, controller, and service gateway
JP6289092B2 (en) Information processing apparatus, control method thereof, and computer program
CN102790798A (en) Transparent proxy implementation method, device and system in content distribution network
US20140222960A1 (en) Method and Apparatus for Rapid Data Distribution
US20180091631A1 (en) Systems and methods for writing prioritized http/2 data to a socket buffer
CN103826139A (en) CDN system, watching server and streaming media data transmission method
US20140282788A1 (en) System for controlling video distribution in response to a request on reduced video data traffic and a method therefor
CN106330994A (en) User message publishing method and system
CN110798495B (en) Method and server for end-to-end message push in cluster architecture mode
CN110545230A (en) method and device for forwarding VXLAN message
US20190273808A1 (en) Leveraging Time-Windows Generated by Web Browser Pre-Connections
EP2731016A1 (en) Content distribution system and content distribution method
CN103731396A (en) Resource access method and system and cache resource information pushing device
CN103618743A (en) Service access method, speed-up client, speed-up server and system
CN113079055B (en) AGV operation data dynamic acquisition method and device
US11240161B2 (en) Data communication apparatus for high-speed identification of adaptive bit rate, communication system, data communication method, and program

Legal Events

Date Code Title Description
PB01 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