[go: up one dir, main page]

CN102904959A - Network accelerating method and gateway - Google Patents

Network accelerating method and gateway Download PDF

Info

Publication number
CN102904959A
CN102904959A CN2012103989967A CN201210398996A CN102904959A CN 102904959 A CN102904959 A CN 102904959A CN 2012103989967 A CN2012103989967 A CN 2012103989967A CN 201210398996 A CN201210398996 A CN 201210398996A CN 102904959 A CN102904959 A CN 102904959A
Authority
CN
China
Prior art keywords
data
request
acceleration
gateway
receive
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
CN2012103989967A
Other languages
Chinese (zh)
Other versions
CN102904959B (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 Geek Geek Technology Co ltd
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201210398996.7A priority Critical patent/CN102904959B/en
Publication of CN102904959A publication Critical patent/CN102904959A/en
Application granted granted Critical
Publication of CN102904959B publication Critical patent/CN102904959B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a network accelerating method and a gateway. The network accelerating method executed on the gateway comprises the following steps of: when a data request sent to the Internet is received from a connected user terminal, extracting an upper-layer protocol header of the data request; determining whether to perform network acceleration on data stream for sending the data request and receiving data according to the extracted upper-layer protocol header; and if the performance of network acceleration is determined, performing network acceleration on the data stream according to a preset network accelerating strategy.

Description

Network accelerating method and gateway
Technical field
The application relates to a kind of network accelerating method of carrying out at gateway and the gateway of carrying out described method, relate in particular to and a kind ofly on gateway, analyze by the request of data that user terminal is sent to the Internet, and the relevant data flow of described request of data is carried out method and the gateway of network acceleration according to predetermined network acceleration strategy.
Background technology
Traditional network acceleration needs upper software or the browser plug-in of realizing accelerating function of installing of the terminal (such as PC, notebook computer, panel computer, smart mobile phone etc.) of its use of user.The internet software of user by downloading, thus the content accelerating to transmit in the process of downloading media contents such as video, music, obtained, and some video website require the browser of user installation to accelerate plug-in unit to carry out by the way network acceleration; Another kind of mode is, the user directly uses the software media content download of download or application program etc., carries out by this way software a such as sudden peal of thunder that accelerates and downloads software, Flashget etc.
Traditional network acceleration mode has the following disadvantages: at first, must the software with network acceleration function be installed respectively on each user terminal could realize accelerating, and for the special or new model terminal that does not have corresponding software (for example mobile phone), possibly can't realize the online acceleration, simultaneously for special operating system, because software has requirement to operation platform, may also can't realize accelerating; Secondly, extra mounting software makes user's terminal operating efficient step-down, and it uses complicated, has brought trouble to a certain degree to the user.
Summary of the invention
The object of the present invention is to provide a kind of network accelerating method of carrying out at gateway and the gateway that uses described method, analyze by the request of data that user terminal is sent to the Internet, and according to predetermined network acceleration strategy the relevant data flow of described request of data is carried out network acceleration, thereby need to software that realize network acceleration be installed respectively at connected each user terminal, the operational efficiency of user terminal will can not be affected, and offer convenience for the upper net operation of user yet.
According to an aspect of the present invention, a kind of network accelerating method of carrying out at gateway is provided, comprise: when receiving the request of data that mails to the Internet from the user terminal that connects, extract the upper-layer protocol header of described request of data, determine whether the data flow that is used for sending described request of data and receives described data is carried out network acceleration according to the upper-layer protocol header that extracts, if and determined to carry out network acceleration, then according to predetermined network acceleration strategy described data flow would be carried out network acceleration.
Describedly determine whether that the operation of the data flow that sends described request of data and receive described data being carried out network acceleration can comprise: if determine that from the upper-layer protocol header that extracts described data flow is encrypting traffic, then determine described data flow not to be carried out network acceleration.
Described network accelerating method can also comprise: set in advance at least one acceleration strategy item, each acceleration strategy item comprise accelerate object and and Provisioning Policy, described acceleration is to liking file type, distance host or the telefile path of request, and described Provisioning Policy is at least one in multithreading acceleration strategy, P2P delivery acceleration strategy and the gateway buffer memory acceleration strategy.Wherein, describedly determine whether that the operation of the data flow that sends described request of data and receive described data being carried out network acceleration also comprises: use the upper-layer protocol header that extracts to search the acceleration strategy item of coupling from described at least one acceleration strategy item, if and found the acceleration strategy item of coupling, would then determine according to the Provisioning Policy in the acceleration strategy item of coupling described data flow to be carried out network acceleration.
Described network accelerating method can also comprise: set in advance at least one and forbid acceleration term, each forbids that acceleration term comprises the acceleration object.Wherein, describedly determine whether that the operation of the data flow that sends described request of data and receive described data being carried out network acceleration also comprises: use the upper-layer protocol header that extracts from described at least one forbid that the acceleration strategy item searches coupling forbid the acceleration strategy item, if and find coupling forbid the acceleration strategy item, then determine described data flow not to be carried out network acceleration.
When according to the network acceleration of gateway buffer memory acceleration strategy executing data stream, the data that can use the caching device buffer memory to receive from the remote access path, and the remote access path of recording described data, thereby when again receiving request to the data on the described remote access path from the arbitrary user terminal that connects, the data of buffer memory are sent to the user terminal that sends described request.
When according to the network acceleration of multithreading acceleration strategy executing data stream, can act on behalf of as the user terminal of the local endpoint of data flow and send described request of data to the remote endpoint of data flow.When the information of the size of the data that receive relevant request from described remote endpoint, can be from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
When according to the network acceleration of P2P delivery acceleration strategy execution, at least one node of data content of request and the information of corresponding content fragment can be provided to the P2P Tracker server lookup of appointment, to the corresponding content fragment of part of nodes request that inquires, send respectively the information of other node and corresponding content fragment, the content fragment that will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive at least one other gateway that connects.
Described network accelerating method can also comprise: if receive the information of P2P content node and content fragment from another gateway that connects, then according to the P2P agreement to the described content fragment of described content node request, and the content fragment that receives sent to described another gateway.
Can determine according to the content-length field in the http header size of the data of relevant request, the described data of the certain limit that can wait to receive by the Range field value request in the http header, the data of each scope of described reception have the Content-Range header.
According to a further aspect in the invention, a kind of method of carrying out network acceleration at gateway is provided, comprise, when receiving the request of data that mails to the Internet from the user terminal that connects, carry out following steps: the agency sends described request of data as the user terminal of the local endpoint of the data flow of the data that are used for sending described request of data and receiving request to the remote endpoint of described data flow, when the information of the size of the data that receive relevant request from described remote endpoint, from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
Can determine according to the content-length field in the http header size of the data of relevant request, the described data of the certain limit that waits to receive by the Range field value request in the http header, the data of each scope of described reception have the Content-Range header.
According to a further aspect in the invention, a kind of method of carrying out network acceleration at gateway is provided, comprise, when receiving the request of data that mails to the Internet from the user terminal that connects, carry out following steps: provide at least one node of data content of request and the information of corresponding content fragment to the P2P Tracker server lookup of appointment, to the corresponding content fragment of part of nodes request that inquires, send respectively the information of other node and corresponding content fragment, the content fragment that will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive at least one other gateway that connects.
Described method can also comprise: if receive the information of P2P content node and content fragment from another gateway that connects, then according to the P2P agreement to the described content fragment of described content node request, and the content fragment that receives sent to described another gateway.
The present invention also provides a kind of gateway of realizing above-mentioned network accelerating method.
Description of drawings
By the description of carrying out below in conjunction with accompanying drawing, above and other purpose of the present invention and characteristics will become apparent, wherein:
Fig. 1 illustrates the schematic flow sheet of carrying out the method for network acceleration according to the gateway of exemplary embodiment of the present invention;
The acceleration operation of the schematically illustrated multi-thread transmission of Fig. 2;
The P2P of the gateway of a plurality of user terminals of the schematically illustrated connection of Fig. 3 accelerates operation;
The schematically illustrated gateway of Fig. 4 uses buffer memory to reach the operation of acceleration effect.
Embodiment
The network accelerating method of carrying out at gateway of the present invention can realize that the combination in any that also can pass through software, firmware or hardware realizes by software module or the firmware of realizing described method logic are installed in gateway.
Below, describe with reference to the accompanying drawings embodiments of the invention in detail.
In order to realize network accelerating method of the present invention, pre-configured acceleration strategy on gateway, but when gateway receives the request of data that mails to the Internet from the user terminal that connects, according to the data flow execution network acceleration of acceleration strategy to being used for sending described request of data and receiving described data of configuration.For example, for the request of data that sends by http protocol, the whole conversation procedure execution network acceleration of gateway to being used for asking described data and receiving the data of asking; For the request of data that sends by File Transfer Protocol, gateway is also carried out the whole conversation procedure of setting up between user terminal and the distance host and is accelerated to process, and comprises the relevant session status of record, file path etc.Those of ordinary skills can realize the network acceleration of specific upper-layer protocol according to inventive concept of the present invention and the disclosed content of exemplary embodiment.
For the ease of acceleration strategy is set, can provide special-purpose user interface at gateway, thereby the user can set in advance the network acceleration strategy by described user interface.Can the network acceleration strategy be set respectively for specific acceleration object, thereby the acceleration strategy of different thicknesses granularity is provided.Described acceleration to as if file type, distance host or the telefile path of request, and described acceleration strategy is in multithreading acceleration strategy, P2P delivery acceleration strategy and the gateway buffer memory acceleration strategy at least one, but is not limited to these acceleration strategies.Certainly, the acceleration strategy of acquiescence can be set for the data flow that all can accelerate also, perhaps only partial data stream be arranged acceleration strategy, thereby the data flow that is not set up strategy is not performed network acceleration.
For example, the data flow that can be for download mp3, mp4 and jpg file arranges any acceleration strategy.Again for example, can be from the data flow of specific website or particular host downloading data content the multithreading acceleration strategy is set.Again for example, can be to the data flow of the particular download catalog request data content of a certain website any acceleration strategy (such as gateway buffer memory acceleration strategy) is set.
In addition, also can the sign whether opening network accelerates function be set at gateway, thereby opening network accelerates function if described sign is set to not, then any data flow is not carried out network acceleration.
In addition, can also forbid for the specific object setting of accelerating the strategy of network acceleration, thereby according to the acceleration strategy of forbidding that arranges specific data stream not carried out network acceleration.For example, can not arrange the data flow of access specific website is carried out network acceleration, perhaps not arrange the data flow of downloading particular type file (such as the jpg file) is carried out network acceleration.
Fig. 1 illustrates the schematic flow sheet of carrying out the method for network acceleration according to the gateway of exemplary embodiment of the present invention.
With reference to Fig. 1, when gateway receives the request of data that mails to the Internet from connected user terminal, at first extract the upper-layer protocol header from described request of data, to determine whether the data flow execution network acceleration to sending described request of data and receiving described data.According to exemplary embodiment of the present invention, gateway extracts the header of session layer or application layer protocol.For example, the user when user terminal inputs network address in browser Http:// example.com/test.mp4The time, gateway will receive and comprise GET in the header Http:// example.com/test.mp4HTTP request, the extraction agreement is that HTTP, distance host are that example.com, file path are the roots of example.com website, the file of request is the information such as test.mp4.
According to exemplary embodiment of the present invention, in the processing of determining being used for sending described request of data and receiving the data flow execution network acceleration of described data, gateway can be determined the data flow whether described data flow encrypts by the upper-layer protocol header that extracts.If determining described data flow is the data flow (for example, using the HTTPS agreement) of encrypting, then determine described data flow not to be carried out network acceleration.
According to another embodiment of the present invention, gateway sets in advance at least one and forbids acceleration term, and each forbids that acceleration term comprises the acceleration object, and described acceleration is to liking file type, distance host or the telefile path of request.At this moment, in the processing of determining being used for sending described request of data and receiving the data flow execution network acceleration of described data, the upper-layer protocol header that gateway use to extract from described at least one forbid that the acceleration strategy item searches coupling forbid the acceleration strategy item, if and find coupling forbid the acceleration strategy item, then determine described data flow not to be carried out network acceleration.Suppose that setting in advance the html file that HTTP is not related at gateway carries out network acceleration, then ought receive to comprise Http:// example.com/intro.htmlHTTP when request, gateway is determined relevant to described HTTP request data flow execution network acceleration by above-mentioned processing.
According to a preferred embodiment of the invention, gateway sets in advance at least one acceleration strategy item, each acceleration strategy item comprise accelerate object and and Provisioning Policy, described acceleration object is file type, distance host or the telefile path of request as previously mentioned, and described Provisioning Policy is at least one in multithreading acceleration strategy, P2P delivery acceleration strategy and the gateway buffer memory acceleration strategy.Described determining whether the data flow that sends described request of data and receive described data is carried out in the processing of network acceleration, gateway uses the upper-layer protocol header that extracts to search the acceleration strategy item of coupling from described at least one acceleration strategy item, if and found the acceleration strategy item of coupling, would then determine according to the Provisioning Policy of acceleration strategy item indication described data flow to be carried out network acceleration.Suppose in gateway, to set in advance MP3 or MP4 file are carried out the multithreading acceleration strategy, then when comprising the HTTP request of http://example.com/test.mp4, can determine that according to above-mentioned processing the relevant data flow of described HTTP request is carried out multi-threaded network to be accelerated.Describe the processing that multi-threaded network accelerates in detail with reference to Fig. 2 after a while.
After this, if definite execution network acceleration to sending described request of data and receiving the data flow of described data, then gateway is carried out network acceleration according to the network acceleration strategy of coupling to described data flow.
According to another exemplary embodiment of the present invention, gateway according to predetermined network acceleration strategy (such as the network acceleration strategy of acquiescence) to as described in data flow carry out network acceleration.
Data flow shown in Fig. 2 left side is that the transfer of data when not carrying out network acceleration flows to, the processing of the schematically illustrated multithreading acceleration strategy according to exemplary embodiment of the present invention in right side.
Shown in Fig. 2 right side, when according to the network acceleration of multithreading acceleration strategy executing data stream, gateway proxy of the present invention sends described request of data as the user terminal of the local endpoint of data flow to the remote endpoint of data flow; When the information of the size of the data that receive relevant request from described remote endpoint, from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
Suppose to receive the HTTP request that comprises http://example.com/test.mp4 from user terminal, gateway sends the HTTP request of http://example.com/test.mp4 separately as the agency of described user terminal by the Internet at this moment.When receiving the corresponding http response that comprises a part of data (such as 1200 byte datas), gateway determines also need download how many data by the content-length in the http response (3M), after this start for example 5 threads, sending range by these 5 threads respectively is 1201-2400,2401-3600, the HTTP request of 3601-4800 and 4801-6000, comprise the RANGE field that value is respectively above-mentioned scope in the header of described HTTP request), and when each range data that receives request from example.com (marking among the CONTENT-RANGE the header in http response), described http response is sent to user terminal again.Gateway sends be used to the request of data of asking follow-up each scope continuously by described a plurality of threads, and the http response that receives is transmitted to user terminal, until finish the reception of whole request msgs.
Fig. 3 illustrates the processing according to the P2P delivery acceleration strategy of exemplary embodiment of the present invention.
When according to the network acceleration of P2P delivery acceleration strategy execution, gateway of the present invention provides at least one node of data content of request and the information of corresponding content fragment to the P2PTracker server lookup of appointment; Gateway is to the corresponding content fragment of part of nodes request that inquires; Send respectively the information of other node and corresponding content fragment and the content fragment that will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive at least one other gateway that connects.
In described other gateways each to the described content fragment of described content node request, and sends to described gateway with the content fragment that receives according to the P2P agreement when the gateway from described connection receives the information of P2P content node and content fragment.
As shown in Figure 3, user terminal 1, user terminal 2 are connected with user terminal respectively and are connected separately gateway 1, gateway 2 and gateway 3, and described 3 gateways are connected to each other.Suppose this moment, described 3 user terminals are all asked same data content.At this moment, gateway 1 at first can provide content node and the content fragment of described data content to P2P Tracker server lookup, suppose to inquire 3 content nodes, then gateway 1 is to first first content fragment of content node request, and the information of second content node and corresponding contents burst is sent to gateway 2, the information of the 3rd content node and corresponding contents burst is sent to gateway 3.After gateway 2 and gateway 3 each leisure receive the information of corresponding content node and content fragment, separately to the corresponding content fragment of corresponding content node request.When gateway 2 and gateway 3 receive corresponding content fragment separately, the content fragment that receives is sent to gateway 1.The content fragment that gateway 1 receives with the content fragment of its request and from other two gateways sends to user terminal 1 as the response of request of data.
Fig. 4 exemplarily illustrates the processing according to gateway buffer memory acceleration strategy of the present invention.
When according to the network acceleration of gateway buffer memory acceleration strategy executing data stream, the data of using the caching device buffer memory to receive from the remote access path, and the remote access path of recording described data, thereby when again receiving request to the data on the described remote access path from the arbitrary user terminal that connects, the data of buffer memory are sent to the user terminal that sends described request.
With reference to Fig. 4, when the network acceleration of the data flow of carrying out user terminal 1 request http://example.com/test.mp4 according to the gateway buffer memory acceleration strategy that arranges, gateway allows described HTTP request by to download test.mp4.When gateway receives the test.mp4 file, test.mp4 is buffered in its inner buffer device, and records the remote access path of described file, namely Http:// example.com/test.mp4After this, when again receiving from user terminal 1 or the user terminal 2 that connects described gateway Http:// example.com/test.mp4Request the time, gateway is packaged as the user terminal that http response sends to the described content of request with the test.mp4 of buffer memory.
Network accelerating method of the present invention can be carried out the transmission of data flow in conjunction with the multiple network acceleration strategy and accelerate to optimize.For example, can in conjunction with gateway buffer memory acceleration strategy and multi-thread transmission acceleration strategy, in the data content that starts the multi-thread transmission request, the data content that receives be buffered in the caching device.
The present invention also provides a kind of gateway be used to realizing described network accelerating method.
Can find out with reference to the exemplary embodiment description of this invention according to above-mentioned, the network accelerating method of realizing at gateway of the present invention can be carried out network acceleration to data flow on gateway, thereby need to software or browser plug-in that realize the network acceleration function be installed separately at user terminal, the system effectiveness to user terminal does not produce harmful effect in accelerator, for the user also provides convenience.
In addition, according to technical scheme of the present invention, can different thicknesses granularity, different network acceleration strategy be set to specific protocol type, particular file types, specific communications end points, neatly the network acceleration of executing data stream.
Although represent with reference to preferred embodiment and described the present invention, it should be appreciated by those skilled in the art that in the situation that does not break away from the spirit and scope of the present invention that are defined by the claims, can carry out various modifications and conversion to these embodiment.

Claims (26)

1. network accelerating method of carrying out at gateway comprises:
When receiving the request of data that mails to the Internet from the user terminal that connects,
Extract the upper-layer protocol header of described request of data,
Determine whether the data flow that is used for sending described request of data and receives described data is carried out network acceleration according to the upper-layer protocol header that extracts, and
If determine to carry out network acceleration, then according to predetermined network acceleration strategy described data flow carried out network acceleration.
2. network accelerating method as claimed in claim 1 wherein, describedly determines whether that the operation of the data flow that sends described request of data and receive described data being carried out network acceleration comprises:
If determine that from the upper-layer protocol header that extracts described data flow is encrypting traffic, then determine described data flow not to be carried out network acceleration.
3. network accelerating method as claimed in claim 2, also comprise: set in advance at least one acceleration strategy item, each acceleration strategy item comprise accelerate object and and Provisioning Policy, described acceleration is to liking file type, distance host or the telefile path of request, described Provisioning Policy is at least one in multithreading acceleration strategy, P2P delivery acceleration strategy and the gateway buffer memory acceleration strategy
Wherein, describedly determine whether that the operation of the data flow that sends described request of data and receive described data being carried out network acceleration also comprises: use the upper-layer protocol header that extracts to search the acceleration strategy item of coupling from described at least one acceleration strategy item, if and found the acceleration strategy item of coupling, would then determine according to the Provisioning Policy in the acceleration strategy item of coupling described data flow to be carried out network acceleration.
4. network accelerating method as claimed in claim 3, also comprise: set in advance at least one and forbid acceleration term, each forbids that acceleration term comprises the acceleration object,
Wherein, describedly determine whether that the operation of the data flow that sends described request of data and receive described data being carried out network acceleration also comprises: use the upper-layer protocol header that extracts from described at least one forbid that the acceleration strategy item searches coupling forbid the acceleration strategy item, if and find coupling forbid the acceleration strategy item, then determine described data flow not to be carried out network acceleration.
5. network accelerating method as claimed in claim 4, wherein, when according to the network acceleration of gateway buffer memory acceleration strategy executing data stream, the data of using the caching device buffer memory to receive from the remote access path, and the remote access path of recording described data, thereby when again receiving request to the data on the described remote access path from the arbitrary user terminal that connects, the data of buffer memory are sent to the user terminal that sends described request.
6. network accelerating method as claimed in claim 4, wherein, when according to the network acceleration of multithreading acceleration strategy executing data stream,
The agency sends described request of data as the user terminal of the local endpoint of data flow to the remote endpoint of data flow,
When the information of the size of the data that receive relevant request from described remote endpoint, from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
7. network accelerating method as claimed in claim 3, wherein, when according to the network acceleration of P2P delivery acceleration strategy execution,
At least one node of data content of request and the information of corresponding content fragment are provided to the P2P Tracker server lookup of appointment,
To the corresponding content fragment of part of nodes request that inquires,
Send respectively the information of other node and corresponding content fragment at least one other gateway that connects,
The content fragment that will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive.
8. network accelerating method as claimed in claim 7 also comprises:
If receive the information of P2P content node and content fragment from another gateway that connects, then according to the P2P agreement to the described content fragment of described content node request, and the content fragment that receives sent to described another gateway.
9. network accelerating method as claimed in claim 6, wherein, determine the size of the data of relevant request according to the content-length field in the http header, the described data of the certain limit that waits to receive by the Range field value request in the http header, the data of each scope of described reception have the Content-Range header.
10. the method in gateway execution network acceleration comprises, when receiving the request of data that mails to the Internet from the user terminal that connects, carries out following steps:
The agency sends described request of data as the user terminal of the local endpoint of the data flow of the data that are used for sending described request of data and receiving request to the remote endpoint of described data flow,
When the information of the size of the data that receive relevant request from described remote endpoint, from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
11. method as claimed in claim 10, wherein, determine the size of the data of relevant request according to the content-length field in the http header, the described data of the certain limit that waits to receive by the Range field value request in the http header, the data of each scope of described reception have the Content-Range header.
12. the method in gateway execution network acceleration comprises, when receiving the request of data that mails to the Internet from the user terminal that connects, carries out following steps:
At least one node of data content of request and the information of corresponding content fragment are provided to the P2P Tracker server lookup of appointment,
To the corresponding content fragment of part of nodes request that inquires,
Send respectively the information of other node and corresponding content fragment at least one other gateway that connects,
The content fragment that will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive.
13. method as claimed in claim 12 also comprises:
If receive the information of P2P content node and content fragment from another gateway that connects, then according to the P2P agreement to the described content fragment of described content node request, and the content fragment that receives sent to described another gateway.
14. a gateway of carrying out network acceleration comprises:
Accelerating module, be used for when receiving the request of data that mails to the Internet from the user terminal that connects, extract the upper-layer protocol header of described request of data, determine whether the data flow that is used for sending described request of data and receives described data is carried out network acceleration according to the upper-layer protocol header that extracts, if and determined to carry out network acceleration, then according to predetermined network acceleration strategy described data flow would be carried out network acceleration.
15. gateway as claimed in claim 14, wherein, when accelerating module determines whether that the data flow that sends described request of data and receive described data carried out network acceleration, if determine that from the upper-layer protocol header that extracts described data flow is encrypting traffic, then determine described data flow not to be carried out network acceleration.
16. gateway as claimed in claim 15, also comprise: the acceleration strategy configuration module, be used for setting in advance at least one acceleration strategy item, each acceleration strategy item comprise accelerate object and and Provisioning Policy, described acceleration is to liking file type, distance host or the telefile path of request, described Provisioning Policy is at least one in multithreading acceleration strategy, P2P delivery acceleration strategy and the gateway buffer memory acceleration strategy
Wherein, when accelerating module is described when determining whether that the data flow that sends described request of data and receive described data carried out network acceleration, also use the upper-layer protocol header that extracts to search the acceleration strategy item of coupling from described at least one acceleration strategy item, if and found the acceleration strategy item of coupling, would then determine according to the Provisioning Policy in the acceleration strategy item of coupling described data flow to be carried out network acceleration.
17. gateway as claimed in claim 16, wherein, the acceleration strategy configuration module also sets in advance at least one and forbids acceleration term, and each forbids that acceleration term comprises the acceleration object,
Wherein, when accelerating module determines whether that the data flow that sends described request of data and receive described data carried out network acceleration, the upper-layer protocol header that also use to extract from described at least one forbid that the acceleration strategy item searches coupling forbid the acceleration strategy item, if and find coupling forbid the acceleration strategy item, then determine described data flow not to be carried out network acceleration.
18. gateway as claimed in claim 17, wherein, when accelerating module during according to the network acceleration of gateway buffer memory acceleration strategy executing data stream, the data that accelerating module uses the caching device buffer memory to receive from the remote access path, and the remote access path of recording described data, thereby when again receiving request to the data on the described remote access path from the arbitrary user terminal that connects, the data of buffer memory are sent to the user terminal that sends described request.
19. gateway as claimed in claim 17, wherein, when accelerating module during according to the network acceleration of multithreading acceleration strategy executing data stream,
Accelerating module agency sends described request of data as the user terminal of the local endpoint of data flow to the remote endpoint of data flow,
When accelerating module receives the information of size of data of relevant request from described remote endpoint, accelerating module is from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
20. gateway as claimed in claim 16, wherein, when accelerating module during according to the network acceleration of P2P delivery acceleration strategy execution,
Accelerating module provides at least one node of data content of request and the information of corresponding content fragment to the P2P Tracker server lookup of appointment,
Accelerating module is to the corresponding content fragment of part of nodes request that inquires,
Accelerating module sends respectively the information of other node and corresponding content fragment at least one other gateway that connects,
The content fragment that accelerating module will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive.
21. gateway as claimed in claim 20, wherein, if accelerating module receives the information of P2P content node and content fragment from another gateway that connects, then accelerating module to the described content fragment of described content node request, and sends to described another gateway with the content fragment that receives according to the P2P agreement.
22. gateway as claimed in claim 19, wherein, accelerating module is determined the size of the data of relevant request according to the content-length field in the http header, the described data of the certain limit that accelerating module waits to receive by the Range field value request in the http header, the data of each scope of described reception have the Content-Range header.
23. a gateway of carrying out network acceleration comprises:
The multithreading accelerating module, be used for when receiving the request of data that mails to the Internet from the user terminal that connects, the agency sends described request of data as the user terminal of the local endpoint of the data flow of the data that are used for sending described request of data and receiving request to the remote endpoint of described data flow, when the information of the size of the data that receive relevant request from described remote endpoint, from first byte of described data, carry out iteratively following operation, until receive the total data of request: start a plurality of threads, the described data of the certain limit that waits to receive to described remote endpoint request successively by described a plurality of threads, and the data of each scope that will receive from remote endpoint send to local endpoint.
24. gateway as claimed in claim 23, wherein, the multithreading accelerating module is determined the size of the data of relevant request according to the content-length field in the http header, the described data of the certain limit that waits to receive by the Range field value request in the http header, the data of each scope of described reception have the Content-Range header.
25. a gateway of carrying out network acceleration comprises:
P2P delivery acceleration module is used for carrying out following steps when receiving the request of data that mails to the Internet from the user terminal that connects:
At least one node of data content of request and the information of corresponding content fragment are provided to the P2P Tracker server lookup of appointment,
To the corresponding content fragment of part of nodes request that inquires,
Send respectively the information of other node and corresponding content fragment at least one other gateway that connects,
The content fragment that will receive from the node of request and the user terminal that sends to the request msg content from the content fragment that other gateways receive.
26. gateway as claimed in claim 25, wherein, if P2P delivery acceleration module receives the information of P2P content node and content fragment from another gateway that connects, then according to the P2P agreement to the described content fragment of described content node request, and the content fragment that receives sent to described another gateway.
CN201210398996.7A 2012-10-19 2012-10-19 Network accelerating method and gateway Expired - Fee Related CN102904959B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210398996.7A CN102904959B (en) 2012-10-19 2012-10-19 Network accelerating method and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210398996.7A CN102904959B (en) 2012-10-19 2012-10-19 Network accelerating method and gateway

Publications (2)

Publication Number Publication Date
CN102904959A true CN102904959A (en) 2013-01-30
CN102904959B CN102904959B (en) 2016-01-20

Family

ID=47576994

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210398996.7A Expired - Fee Related CN102904959B (en) 2012-10-19 2012-10-19 Network accelerating method and gateway

Country Status (1)

Country Link
CN (1) CN102904959B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994058A (en) * 2015-05-15 2015-10-21 北京京东尚科信息技术有限公司 Method, device, and system for achieving accelerated access for a router
CN105072057A (en) * 2015-07-09 2015-11-18 中国科学院计算技术研究所 Intermediate switch equipment for network data transmission, and network communication system
CN105516017A (en) * 2015-11-20 2016-04-20 上海斐讯数据通信技术有限公司 Directed acceleration method and device, and terminal equipment
CN105657175A (en) * 2016-01-29 2016-06-08 努比亚技术有限公司 Network acceleration device and method
WO2016201839A1 (en) * 2015-06-17 2016-12-22 中兴通讯股份有限公司 Processing method and device for service acceleration
CN107707373A (en) * 2017-02-21 2018-02-16 贵州白山云科技有限公司 A kind of dynamic resource based on API request accesses accelerated method
CN107707593A (en) * 2017-02-21 2018-02-16 贵州白山云科技有限公司 A kind of dynamic resource for improving cache hit rate accesses accelerating method and device
CN108429701A (en) * 2018-02-08 2018-08-21 四川速宝网络科技有限公司 network acceleration system
CN108509509A (en) * 2018-03-05 2018-09-07 广东欧珀移动通信有限公司 Webpage display process, device, mobile terminal and storage medium
CN110113440A (en) * 2019-04-15 2019-08-09 北京奇艺世纪科技有限公司 A kind of request responding method, device and terminal
TWI686064B (en) * 2019-03-14 2020-02-21 就肆電競股份有限公司 Peer-to-peer network boost system
CN111193722A (en) * 2019-12-16 2020-05-22 武汉思为同飞网络技术股份有限公司 Linux kernel based accelerated forwarding method, device, equipment and medium
CN114584582A (en) * 2022-02-24 2022-06-03 中汽创智科技有限公司 In-vehicle message processing method and device, vehicle-mounted terminal and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656751A (en) * 2008-08-18 2010-02-24 北京数码大方科技有限公司 Method and system for accelerating file uploading and downloading
CN101873348A (en) * 2010-06-09 2010-10-27 清华大学 Cloud storage system based on network egress device and network access method thereof
CN101945103A (en) * 2010-08-09 2011-01-12 中国电子科技集团公司第五十四研究所 IP (Internet Protocol) network application accelerating system
CN102685162A (en) * 2011-03-11 2012-09-19 中国电信股份有限公司 Cloud computing acceleration method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656751A (en) * 2008-08-18 2010-02-24 北京数码大方科技有限公司 Method and system for accelerating file uploading and downloading
CN101873348A (en) * 2010-06-09 2010-10-27 清华大学 Cloud storage system based on network egress device and network access method thereof
CN101945103A (en) * 2010-08-09 2011-01-12 中国电子科技集团公司第五十四研究所 IP (Internet Protocol) network application accelerating system
CN102685162A (en) * 2011-03-11 2012-09-19 中国电信股份有限公司 Cloud computing acceleration method and system

Cited By (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104994058A (en) * 2015-05-15 2015-10-21 北京京东尚科信息技术有限公司 Method, device, and system for achieving accelerated access for a router
WO2016201839A1 (en) * 2015-06-17 2016-12-22 中兴通讯股份有限公司 Processing method and device for service acceleration
CN105072057B (en) * 2015-07-09 2019-02-01 中国科学院计算技术研究所 A kind of intermediate switching equipment and its method and system for network data transmission
CN105072057A (en) * 2015-07-09 2015-11-18 中国科学院计算技术研究所 Intermediate switch equipment for network data transmission, and network communication system
CN105516017A (en) * 2015-11-20 2016-04-20 上海斐讯数据通信技术有限公司 Directed acceleration method and device, and terminal equipment
CN105657175A (en) * 2016-01-29 2016-06-08 努比亚技术有限公司 Network acceleration device and method
CN105657175B (en) * 2016-01-29 2019-06-07 努比亚技术有限公司 Network acceleration device and method
CN107707373A (en) * 2017-02-21 2018-02-16 贵州白山云科技有限公司 A kind of dynamic resource based on API request accesses accelerated method
CN107707373B (en) * 2017-02-21 2018-08-17 贵州白山云科技有限公司 A kind of dynamic resource access accelerated method based on API request
CN107707593A (en) * 2017-02-21 2018-02-16 贵州白山云科技有限公司 A kind of dynamic resource for improving cache hit rate accesses accelerating method and device
CN108429701A (en) * 2018-02-08 2018-08-21 四川速宝网络科技有限公司 network acceleration system
CN108429701B (en) * 2018-02-08 2021-08-03 四川速宝网络科技有限公司 Network acceleration system
CN108509509A (en) * 2018-03-05 2018-09-07 广东欧珀移动通信有限公司 Webpage display process, device, mobile terminal and storage medium
TWI686064B (en) * 2019-03-14 2020-02-21 就肆電競股份有限公司 Peer-to-peer network boost system
US11063824B2 (en) 2019-03-14 2021-07-13 Forgamers Inc. Peer-to-peer network boost system
CN110113440A (en) * 2019-04-15 2019-08-09 北京奇艺世纪科技有限公司 A kind of request responding method, device and terminal
CN110113440B (en) * 2019-04-15 2022-06-03 北京奇艺世纪科技有限公司 Request response method, device and terminal
CN111193722A (en) * 2019-12-16 2020-05-22 武汉思为同飞网络技术股份有限公司 Linux kernel based accelerated forwarding method, device, equipment and medium
CN114584582A (en) * 2022-02-24 2022-06-03 中汽创智科技有限公司 In-vehicle message processing method and device, vehicle-mounted terminal and storage medium
CN114584582B (en) * 2022-02-24 2024-03-08 中汽创智科技有限公司 In-vehicle message processing method and device, vehicle-mounted terminal and storage medium

Also Published As

Publication number Publication date
CN102904959B (en) 2016-01-20

Similar Documents

Publication Publication Date Title
CN102904959B (en) Network accelerating method and gateway
CN109152095B (en) Wireless network connection method for terminal
CN109152094B (en) Wireless network connection method for terminal
CN102546794B (en) Method for directly communicating browser client with back-end server as well as gateway and communication system
CN104754003B (en) Transmit the method and system of data
CN104253856A (en) Scalable Web Real-Time Communications (WebRTC) media engines, and related method and system
US20140359001A1 (en) Multimedia device configured to provide both client and server aspects of a network service
CN108965365B (en) Data processing method, terminal and computer storage medium
CN105611422A (en) Online live broadcast method based on multi-media list and apparatus thereof
CN108696899A (en) Sip message transmits and method of reseptance and transmission and reception device
CN108737471B (en) Network access method and device
CN113965628B (en) Message scheduling method, server and storage medium
CN108512889B (en) A HTTP-based application response push method and proxy server
CN107368334B (en) Business plug-in interaction system and method
EP3119044B1 (en) Page insertion method and device
CN108600378A (en) A kind of document down loading method, device, terminal and storage medium
CN103873443B (en) Information processing method, local proxy server and network proxy server
CN103729440A (en) Method and device for having access to website
CN113778499B (en) Method, apparatus, device and computer readable medium for publishing services
CN108370500B (en) Optimized settings for wireless devices
CN109981778B (en) Method, device, equipment and storage medium for realizing service of content distribution network
CN102761780A (en) Method for obtaining media metadata by intelligent remote controller to
CN106331051A (en) File transmission method and system, file receiving device and file transmission device
CN112055083B (en) Request processing method and device, electronic equipment and medium
CN109005250A (en) Method and apparatus for accessing server-side

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
ASS Succession or assignment of patent right

Owner name: BEIJING JIKE JIKE TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: LI KAI

Effective date: 20140703

C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20140703

Address after: 100080 Beijing City, Haidian District Haidian street, No. 3 tophere A room 1220

Applicant after: BEIJING GEEK-GEEK TECHNOLOGY Co.,Ltd.

Address before: 100080 Beijing city Haidian District Shanyuan Street No. 1 court 2 cubic 831

Applicant before: Li Kai

C14 Grant of patent or utility model
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Network accelerating method and gateway

Effective date of registration: 20170518

Granted publication date: 20160120

Pledgee: China Co. truction Bank Corp Beijing Zhongguancun branch

Pledgor: BEIJING GEEK-GEEK TECHNOLOGY Co.,Ltd.

Registration number: 2017990000420

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Date of cancellation: 20180627

Granted publication date: 20160120

Pledgee: China Co. truction Bank Corp Beijing Zhongguancun branch

Pledgor: BEIJING GEEK-GEEK TECHNOLOGY Co.,Ltd.

Registration number: 2017990000420

PC01 Cancellation of the registration of the contract for pledge of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20160120

Termination date: 20211019

CF01 Termination of patent right due to non-payment of annual fee