CN103873443A - Information processing method, local proxy server and network proxy server - Google Patents

Information processing method, local proxy server and network proxy server Download PDF

Info

Publication number
CN103873443A
CN103873443A CN201210541061.XA CN201210541061A CN103873443A CN 103873443 A CN103873443 A CN 103873443A CN 201210541061 A CN201210541061 A CN 201210541061A CN 103873443 A CN103873443 A CN 103873443A
Authority
CN
China
Prior art keywords
compression
field
packet
server
data packet
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
CN201210541061.XA
Other languages
Chinese (zh)
Other versions
CN103873443B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210541061.XA priority Critical patent/CN103873443B/en
Publication of CN103873443A publication Critical patent/CN103873443A/en
Application granted granted Critical
Publication of CN103873443B publication Critical patent/CN103873443B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses an information processing method, a local proxy server and a network proxy server. The method is applicable to the local proxy server positioned at a local terminal; the local proxy server is connected to an electronic device positioned at the local terminal; the local proxy server is connected to the network proxy server positioned at a network terminal through the network; and the network proxy server is connected to a content server positioned at the network terminal in order to make the electronic device can visit the content server through the local proxy server and the network proxy. The method comprises steps of intercepting the original data packet transmitted from the electronic device to the content server, determining redundant information segments in the original data packet according to a compression strategy, generating compression data packet by compressing the redundant information segments, and transmitting the compressed data packet to the network proxy server. As a result, the data packet transmitted between the electronic device and the content server can be compressed, which reduce the bandwidth occupation.

Description

Information processing method, local proxy server and network agent server
Technical field
The present invention relates to field of computer technology, more specifically, the present invention relates to a kind of information processing method, local proxy server and network agent server.
Background technology
Along with the development of computer technology and network (WEB) technology, in recent years, electronic equipment such as notebook, panel computer (PAD), mobile phone, PDA(Personal Digital Assistant) is universal all the more, and increasing user brings into use the several network applications of installing on these electronic equipments to visit the content server in network.For example, user can carry out browsing page by web application, carries out audio frequency and video chat or participate in game on line etc.
At present, most accesss to netwoks is all used hypertext transmission communication agreement (HTTP)/1.1 carry out the download of relevant information and upload.And in the time that electronic equipment visits network by http protocol, this HTTP access connects and carries out based on transmission control protocol (TCP).
Through the associated packets in HTTP access process is analyzed, the inventor finds: in actual use, a series of HTTP requests under same TCP connects often carry almost identical http header.For example, in WEB access of making for a webpage, in all HTTP requests, nearly all information field that http header is carried (such as, User Agent, Accept-Language, Referer and Accept) be all identical.This just causes, in this WEB access process, having transmitted the Overhead of a large amount of repetitions between content server and electronic equipment.And, in the various application programs of current use http protocol, in the process to content server transmission network access related information, often there are a lot of little mutual HTTP groupings.But even very little at the divide into groups real load that comprises of this little mutual HTTP, they need too to comprise complete http header, thereby cause the overhead information content in transmission information very high.The Overhead of this big data quantity directly causes access to netwoks speed to slow down, and has delayed the load time of Web content.In addition,, if this http header carries cookie information field, the data volume of Overhead will become larger.
To this, a solution of the prior art be company of Google (Google) propose in order to optimize the New Deal SPDY of http protocol, its basic thought is carry out data-optimized and be encrypted transmission by secure socket layer (ssl), simultaneously by supporting multiple concurrent HTTP to connect to increase loading velocity in a TCP connects.
But the resource that SPDY agreement consumes in electronic equipment is more, and larger on the impact of whole system, be difficult to rapid deployment application in various electronic equipments (such as, EMBEDDED AVIONICS).
In addition, another solution of the prior art is that the UC browser (UCWEB) that utilizes You Shi company to propose carries out access to netwoks.The basic framework of this solution is to rely on UC browser in the time of access to netwoks, directly not access the originating website, but obtains the data through special processing from specific UC server, solves the excessive problem of network traffics.
But this mode can only be saved flow in the time that electronic equipment uses UC browser, and in the time that electronic equipment uses other web applications, helpless.In addition, UC browser is merely able to process the network elements such as picture, HTML (HTML), network CSS, and any content in cannot processing protocol itself.
As can be seen here, need a kind of novel information processing method, local proxy server and network agent server to solve the problems referred to above.
Summary of the invention
In order to solve the problems of the technologies described above, according to an aspect of the present invention, a kind of information processing method is provided, described method is applied to the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, described local proxy server is also connected to by network the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, make described electronic equipment to visit described content server via described local proxy server and described network agent server, described method comprises: the original data packet that interception is transmitted to described content server by described electronic equipment, determine the redundant information field in described original data packet according to Compression Strategies, by described redundant information field is compressed to generate compressed data packet, and transmit described compressed data packet to described network agent server.
In addition, according to a further aspect in the invention, a kind of information processing method is provided, described method is applied to the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, described network agent server is also connected to by network the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, make described electronic equipment to visit described content server via described local proxy server and described network agent server, described method comprises: from described local proxy server receiving compressed data grouping, determine the packed field in described compressed data packet according to Compression Strategies, by described packed field is decompressed to generate original data packet, and transmit described original data packet to described content server.
According to another aspect of the invention, a kind of local proxy server is provided, described local proxy server is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, described local proxy server is also connected to by network the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, make described electronic equipment to visit described content server via described local proxy server and described network agent server, described local proxy server comprises: original packet interception unit, for tackling the original data packet being transmitted to described content server by described electronic equipment, Compression Strategies acquiring unit, for redundant field determining unit, for determine the redundant information field of described original data packet according to Compression Strategies, compressed packet generation unit, for by compressing to generate compressed data packet to described redundant information field, and compressed packet delivery unit, for transmitting described compressed data packet to described network agent server.
According to another aspect of the invention, a kind of network agent server is provided, described network agent server is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, described network agent server is also connected to by network the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, make described electronic equipment to visit described content server via described local proxy server and described network agent server, described network agent server comprises: compressed packet receiving element, for dividing into groups from described local proxy server receiving compressed data, Compression Strategies acquiring unit, for packed field determining unit, for determine the packed field of described compressed data packet according to Compression Strategies, original packet generation unit, for by decompressing to generate original data packet to described packed field, and original packet delivery unit, for transmitting described original data packet to described content server.
Compared with prior art, adopt according to information processing method of the present invention, local proxy server and network agent server, in the time that the electronic equipment that is positioned at local side visits via local proxy server and network agent server the content server that is positioned at network terminal, be arranged in equally this local proxy server of local side, the original data packet that can will transmit to content server this electronic equipment according to Compression Strategies is processed, compress the redundant information field in this original data packet, and there is the compressed data packet of smaller szie to the transmission of network agent server, and, be arranged in the network agent server of network terminal, after receiving this compressed data packet, process contrary decompression by execution and above-mentioned compression and recover the original data packet that this electronic equipment will transmit to content server, and it is sent to this content server, to carry out by this content server the subsequent operation that access to netwoks is relevant.Therefore, in the present invention, can compress the packet transmitting between electronic equipment and content server, to reduce data volume related in transmitting procedure, thereby promote access to netwoks speed, and reduced taking of the network bandwidth.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, or understand by implementing the present invention.Object of the present invention and other advantages can be realized and be obtained by specifically noted structure in specification, claims and accompanying drawing.
Brief description of the drawings
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, for explaining the present invention, is not construed as limiting the invention together with embodiments of the present invention.In the accompanying drawings:
Fig. 1 illustrates according to information processing method of the present invention.
Fig. 2 illustrates according to local proxy server of the present invention.
Fig. 3 illustrates according to information processing method of the present invention.
Fig. 4 illustrates according to network agent server of the present invention.
Fig. 5 a illustrates respectively the first http request header and the second http request header according to belonging to of prior art, same TCP was connected with Fig. 5 b.
Fig. 6 illustrates the information processing method according to the embodiment of the present invention.
Fig. 7 illustrates the information processing system according to the embodiment of the present invention.
Fig. 8 illustrates according to the Compression Strategies of first embodiment of the invention and handles through consultation.
Fig. 9 illustrates the unit of consulting for Compression Strategies in information processing system according to first embodiment of the invention.
Figure 10 a illustrates the first packet according to the embodiment of the present invention.
Figure 10 b illustrates according to the compression of the embodiment of the present invention and transmits request.
Figure 10 c illustrates according to the compression of the embodiment of the present invention and transmits response.
Figure 10 d illustrates the compressed data packet according to the embodiment of the present invention.
Figure 11 illustrates according to the Compression Strategies of second embodiment of the invention and handles through consultation.
Figure 12 illustrates the unit of consulting for Compression Strategies in information processing system according to second embodiment of the invention.
Embodiment
Describe in detail with reference to the accompanying drawings according to each embodiment of the present invention.Here, it should be noted that in the accompanying drawings, identical Reference numeral is given and substantially had part identical or similar structures and function, and will omit being repeated in this description about them.
Hereinafter, describe according to information processing method of the present invention, local proxy server and network agent server with reference to Fig. 1-4.
Fig. 1 illustrates according to information processing method of the present invention, and Fig. 2 illustrates according to local proxy server 100 of the present invention.
Described information processing method is applied to the local proxy server 100 that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, described local proxy server is also connected to by network the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, makes described electronic equipment to visit described content server via described local proxy server and described network agent server.As illustrated in Figure 2, described local proxy server 100 comprises: original packet interception unit 110, redundant field determining unit 120, compressed packet generation unit 130 and compressed packet delivery unit 140.
As illustrated in figure 1, described information processing method comprises:
In step S110, original packet interception unit 110 is tackled the original data packet being transmitted to described content server by described electronic equipment;
In step S120, redundant field determining unit 120 is determined the redundant information field in described original data packet according to Compression Strategies;
In step S130, compressed packet generation unit 130 is by compressing to generate compressed data packet to described redundant information field; And
In step S140, compressed packet delivery unit 140 transmits described compressed data packet to described network agent server.
Fig. 3 illustrates according to information processing method of the present invention, and Fig. 4 illustrates according to network agent server 200 of the present invention.
Described information processing method is applied to the network agent server 200 that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, described network agent server is also connected to by network the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, makes described electronic equipment to visit described content server via described local proxy server and described network agent server.As illustrated in Fig. 4, described network agent server 200 comprises: compressed packet receiving element 210, packed field determining unit 220, original packet generation unit 230 and original packet delivery unit 240.
As illustrated in Fig. 3, described information processing method comprises:
In step S210, compressed packet receiving element 210 divides into groups from described local proxy server receiving compressed data;
In step S220, packed field determining unit 220 is determined the packed field in described compressed data packet according to Compression Strategies;
In step S230, original packet generation unit 230 is by decompressing to generate original data packet to described packed field; And
In step S240, original packet delivery unit 240 transmits described original data packet to described content server.
As can be seen here, adopt according to information processing method of the present invention, local proxy server and network agent server, in the time that the electronic equipment that is positioned at local side visits via local proxy server and network agent server the content server that is positioned at network terminal, be arranged in equally this local proxy server of local side, the original data packet that can will transmit to content server this electronic equipment according to Compression Strategies is processed, compress the redundant information field in this original data packet, and there is the compressed data packet of smaller szie to the transmission of network agent server, and, be arranged in the network agent server of network terminal, after receiving this compressed data packet, process contrary decompression by execution and above-mentioned compression and recover the original data packet that this electronic equipment will transmit to content server, and it is sent to this content server, to carry out by this content server the subsequent operation that access to netwoks is relevant.Therefore, in the present invention, can compress the packet transmitting between electronic equipment and content server, to reduce data volume related in transmitting procedure, thereby promote access to netwoks speed, and reduced taking of the network bandwidth.
As described in the background art, in the process that connects to carry out HTTP access to netwoks based on TCP in, there is the Overhead of big data quantity, this will directly cause access to netwoks speed to slow down, and delay the load time of Web content.Illustrate in one example this problem existing in the prior art below.
Fig. 5 a illustrates respectively the first http request header and the second http request header according to belonging to of prior art, same TCP was connected with Fig. 5 b.For example, a HTTP request and the 2nd HTTP request can be input the network address of website (or content server) in browser time, ask for two HTTP that open different objects on the webpage of this website.
Particularly, as Fig. 5 a and Fig. 5 b illustrated, the first http request header is for loading the first file, i.e. sohuflash_1.js to content server request, and the second http request header is for loading the second file to content server request, i.e. global1212.css.
Comparison diagram 5a and Fig. 5 b, obviously can find out, the Part I content being identified by Reference numeral 501a and 502a in the first http request header is respectively duplicate with the second part being identified by Reference numeral 501b and 502b in the second http request header.That is to say, in these two HTTP requests that belong under same TCP connection, carry almost identical http header of content.
As can be seen here, in the process of a TCP connection, for example, in the time that the webpage of content server is once accessed, owing to being often included in a large amount of objects that need to load while browsing in a webpage simultaneously, so electronic equipment need to send a large amount of HTTP requests to content server in the time loading this webpage.And owing to including almost identical http header in these HTTP requests, so this just causes in this WEB access process, between content server and electronic equipment, transmitted the Overhead of a large amount of repetitions.The Overhead of this big data quantity takies a large amount of Internet Transmission bandwidth, causes access to netwoks speed to slow down.
In addition, at present, electronic equipment, conventionally by wired or wireless communication network, utilizes various communication protocol to come from network resource uploading and/or to network resource uploading.At present, the communication protocol of main flow comprises GPRS (GPRS) or enhanced data rates global system for mobile communications (GSM) evolution technology (EDGE), Wideband Code Division Multiple Access (WCDMA) (WCDMA) and asymmetrical digital subscriber line (ADSL).These communication protocols all adopt asymmetrical syndeton, and under this structure, upstream bandwidth will be significantly smaller than downlink bandwidth (upstream bandwidth is 1/4th left and right of downlink bandwidth normally).So, the above-mentioned problems in the prior art is often far longer than the impact for downlink transfer link for the impact of uplink link between electronic equipment and content server, thereby has delayed on the whole electronic equipment and content server carries out mutual whole process.
Therefore, if dreaming up, the inventor can carry out compression optimization to a large amount of identical Overhead existing in a series of HTTP requests under same TCP connects, can significantly reduce the consumption of HTTP Overhead for the network bandwidth, and propose information processing method and information processing system solves technical problem of the prior art according to this imagination.
Hereinafter, describe according to the information processing method of the embodiment of the present invention and information processing system with reference to Fig. 6 and Fig. 7.To in following scene, embodiments of the invention be described, wherein the electronic equipment in information processing system is chosen for to mobile phone, content server in information processing system is chosen for to the content server for web service is provided, in the process of each object information processing method is applied in the less up link of bandwidth from mobile phone to content server request Web page loading.
It should be noted that, the invention is not restricted to this.But, (for example can also apply the present invention to other one or more electronic equipments, personal computer, panel computer, mobile phone, multimedia player, personal digital assistant, super, intelligent television etc.) with for provide various network services (such as, audio frequency and video chat, game on line, net disk storage) content server between any reciprocal process of up link and/or down link.
Fig. 6 illustrates the information processing method according to the embodiment of the present invention, and Fig. 7 illustrates the information processing system 300 according to the embodiment of the present invention.
Fig. 6 is illustrated can be applied to the illustrated information processing system 300 of Fig. 7 according to the information processing method of the embodiment of the present invention.As illustrated in Fig. 7, this information processing system 300 comprises: electronic equipment 10, local proxy server 100, network agent server 200 and content server 20.
This electronic equipment 10 is positioned at local side with this local proxy server 100.And in a preferred example, this local proxy server 100 can be used as a functional module and/or hardware unit and is integrated in this electronic equipment 10.For example, in the time that electronic equipment 10 is mobile phone, for example, a software module in the operating system (, the Android (Android) of the iOS of apple (Apple) company, company of Google (Google) and the form phone (WP) of company of Microsoft (Microsoft) etc.) that this local proxy server 100 can be this mobile phone.
In addition, alternatively, because this electronic equipment 10 is positioned at network terminal with this local proxy server 100, so transmission bandwidth right and wrong are between the two limited, therefore,, even if can think that between has transmitted the Overhead of a large amount of repetitions, also can not have any impact to the bandwidth of magnanimity.At this moment, alternatively, in another example, this electronic equipment 10 can be the equipment separating with this local proxy server 100.For example, the gateway device for providing network to connect can be provided this local proxy server 100, to provide packet compression service to the one or more electronic equipments 10 in its coverage uniformly.
This network agent server 200 is positioned at network terminal (or high in the clouds) with this content server 20.And in one example, this network agent server 200 can be used as a functional module and/or hardware unit and is integrated in this content server 20.Because an electronic equipment 10 can send access request to multiple content servers 20, so each content server 20 needs to be integrated with this network agent server 200, to carry out relevant treatment of the present invention.
In addition, because this network agent server 200 is positioned at network terminal with this content server 20, so transmission bandwidth right and wrong are between the two limited, therefore, even if can think that equally between has transmitted the Overhead of a large amount of repetitions, also can not have any impact to the bandwidth of magnanimity.At this moment, alternatively, in another example, this network agent server 200 can be the server separating with one or more content servers 20, provide packet to decompress by the same network agent server 200 of network terminal to one or more content servers 20 and serve, to alleviate the installation cost of integrated this network agent server 200 in each content server 20.
This local side and this network terminal can be passed through wireless network (or, cable network) and link together.
The same with Fig. 2, this local proxy server 100 comprises: original packet interception unit 110, redundant field determining unit 120, compressed packet generation unit 130 and compressed packet delivery unit 140.In addition, this local proxy server 100 also comprises: Compression Strategies acquiring unit 150.
The same with Fig. 4, this network agent server 200 comprises: compressed packet receiving element 210, packed field determining unit 220, original packet generation unit 230 and original packet delivery unit 240.In addition, this local proxy server 100 also comprises: Compression Strategies acquiring unit 250.
As illustrated in Fig. 6, comprise according to the information processing method of the embodiment of the present invention:
In step S310, transmit original data packet to content server.
Particularly, when user by electronic equipment 10(for example wishes, mobile phone) for example remotely access content server 20(, the Website server of web browser service is provided) time, first open any browser in this electronic equipment 10 of this user, and in the Web address field of this browser, input the network address of this Website server.
Next, the browser of this electronic equipment 10 will connect to this content server 20 and initiate HTTP request based on TCP, that is to say, this electronic equipment 10 will send a series of HTTP requests of some object on the webpage for opening this website to content server 20.Because this HTTP request is the not HTTP request through any processing in the present invention, it is the packet that comprises complete http request header, so be referred to as hereinafter original data packet.
In step S320, interception original data packet.
In the prior art, at electronic equipment 10, after content server 20 transmits original data packet, the up link by network channel is directly sent to content server 20 by this original data packet.But, in the present invention, before being sent to network channel, by local proxy server 100, this original data packet is carried out the processing of removing redundant information.
Particularly, in local proxy server 100, original packet interception unit 110 is tackled the original data packet being transmitted to content server 20 by electronic equipment 10, and other unit that it is sent in local proxy server 100 compress processing to this original data packet.
In step S330, obtain Compression Strategies.
Particularly, Compression Strategies acquiring unit 150 obtains the Compression Strategies for this original data packet being carried out to compression.
In one example, this Compression Strategies can be by the keeper of Website server and the user of electronic equipment rule of thumb, the agreement that uses etc. decide through consultation in advance and after all remain unchanged in each process using, this Compression Strategies is without again obtaining in the time that original packet interception unit 110 is intercepted original data packet at every turn.And for example, it can be kept in the memory of this electronic equipment 10 or local proxy server 100.At this moment, Compression Strategies acquiring unit 150 can directly read this Compression Strategies from memory.
In another example, this Compression Strategies can be also to transmit in the process of original data packet to content server 20 at electronic equipment 10 at every turn, or after setting up new TCP connection, is consulted to generate by both at every turn.
Fig. 8 illustrates according to the Compression Strategies of first embodiment of the invention and handles through consultation, Fig. 9 illustrates the unit of consulting for Compression Strategies in information processing system according to first embodiment of the invention, and Figure 10 a illustrates the first packet according to the embodiment of the present invention, Figure 10 b illustrates according to the compression of the embodiment of the present invention and transmits request, Figure 10 c illustrates according to the compression of the embodiment of the present invention and transmits response, and Figure 10 d illustrates the compressed data packet according to the embodiment of the present invention.In Fig. 8 and the illustrated Compression Strategies of Fig. 9 are handled through consultation, this Compression Strategies generates in network agent server 200.
As illustrated in Fig. 9, in order to realize handling through consultation of Compression Strategies between local proxy server 100 and network agent server 200, this local proxy server 100 also comprises: the first grouping interception unit 161, compression request generation unit 162, compression request delivery unit 163, compression response receiving element 164 and Compression Strategies extraction unit 165.Meanwhile, this network agent server 200 also comprises: compression request receiving element 261, grouping request extraction unit 262, Compression Strategies generation unit 263, compression response generation unit 264 and compression response delivery unit 265.
As illustrated in Figure 8, handle through consultation and comprise according to the Compression Strategies of first embodiment of the invention:
In step S410, interception the first packet.
Transmitted before the original data packet of overcompression to content server 20 at electronic equipment 10, between must establish appropriate Compression Strategies, in order to avoid occur because wrong compression processing causes information dropout.For this reason, first this electronic equipment 10 can transmit first packet to this content server 20.For example, this first packet can be the special packet of test.
At this moment, in local proxy server 100, before this first grouping interception unit 161 tackles in original packet interception unit 110 original data packet being transmitted to content server 20 by electronic equipment 10, first tackle this first packet, for example this first packet can be http request header as illustrated in Figure 10 a.
Alternatively, this first packet obviously also can directly adopt first packet in the original data packet that electronic equipment 10 reality will transmit to content server 20, or can directly produce a test data packets by local proxy server 100.
In step S420, generate compression transmission request by adding compression request information.
Compression request generation unit 162 generates compression transmission request by add compression request information in the first packet as illustrated in Figure 10 a, and described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking.For example this compression request of transmitting can be http request header as illustrated in Figure 10 b, and obviously, the compression request information " Compress:true " for asking Compression Strategies to be consulted has been added in this compression request of transmitting on the basis of this first packet.
In step S430, transmit compression and transmit request.
Compression request delivery unit 163 transmits described compression to network agent server 200 and transmits request.Now, at the other end of network, in network agent server 200, compression request receiving element 261, before compressed packet receiving element 210 divides into groups from local proxy server 100 receiving compressed datas, receives compression from local proxy server 100 and transmits request.
In step S440, extract the first packet and compression transmission request.
Grouping request extraction unit 262 transmits request and extracts the first packet and the compression request information that are transmitted to content server 20 by electronic equipment 10 from compression, and described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking.
In step S450, generate Compression Strategies.
Compression Strategies generation unit 263 generates Compression Strategies according to described the first packet.
In one example, one or more information fields that this Compression Strategies generation unit 263 comprises described the first packet be defined as one or more reference information fields (such as, User Agent, Accept-Language, Referer and Accept etc.); To each reference information field distribution packed field, the size of described packed field is less than the size of described reference information field, and this packed field is for example the identifier (it comprises numeral, letter, symbol etc.) for identifying this reference information field; And generate the Compression Strategies of the corresponding relation that comprises described reference information field and described packed field.
In another example, universality and high efficiency in order to ensure this Compression Strategies in same TCP connects, preferably, this Compression Strategies generation unit 263 can be after one or more information fields that described the first packet is comprised be defined as one or more reference information fields, further comparison receives from electronic equipment 10, belong to that between the first packet that same TCP connects and other packets, to have what reference information field be repetition, and only to each the reference information field distribution packed field repeating, thereby determine that in follow-up transport process, can carry out compression to which Overhead processes.
In another example, this Compression Strategies also can by Compression Strategies generation unit 263 by rule of thumb data set or artificially set by the keeper of network agent server 200.
This Compression Strategies can comprise the expense project of the Overhead for distinguishing connection identifier (CID that different TCP connect, can compress and particularly for distinguishing the expense identifier etc. of different Overhead.
In addition, this Compression Strategies generation unit 263 can also be stored these Compression Strategies by informing network proxy server 200, to use after a while.
In step S460, generate compression and transmit response.
Compression response generation unit 264 generates the compression transmission response that transmits request in response to described compression, and described compression transmits response and comprises described Compression Strategies.It can be http request header as illustrated in Figure 10 c that for example this compression transmits response, obviously, this compression transmits response and on the basis of this first packet, has added for determining which Overhead can compress and the relevant information " Compress-field:Accept-Charset=1; User-Agent=2; Cookie=3; Accept-Encoding=4; Accept-Language=5; referrer=6 of respective identifier, Host=7, Proxy-Connection=8@1198 ", i.e. the information relevant to Compression Strategies.
That is to say, in this Compression Strategies, the expense project of the Overhead that can compress comprises: Accept-Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection; Their corresponding expense identifiers are 1 to 8; And this Compression Strategies is applicable to following HTTP request, and the connection identifier (CID that the TCP that it belongs to connects is 1198.
In step S470, transmit compression and transmit response.
Compression response delivery unit 265 transmits compression to described local proxy server 100 and transmits response.Now, at the other end of network, in local proxy server 100, compression response receiving element 164 receives compression from network agent server 200 and transmits response, and described compression transmits response and comprises described Compression Strategies.
In step S480, extract Compression Strategies.
Compression Strategies extraction unit 165 transmits response and extracts Compression Strategies from described compression.At this moment, this local proxy server 100 can be informed in that Compression Strategies comprises for the expense project of the Overhead of distinguishing connection identifier (CID that different TCP connect, can compress with for distinguishing the expense identifier etc. of different Overhead.
So far, this Compression Strategies is consulted successfully between local proxy server 100 and network agent server 200, just can compress the transferring content of the follow-up HTTP packet that belongs to same TCP connection thereafter.That is to say, after completing the negotiation of Compression Strategies, in the transmitting procedure of the follow-up HTTP packet between local proxy server 100 and network agent server 200, can use the identifier (for example, numeral) in packed field (Compress-field) to substitute corresponding field.
In addition, this Compression Strategies extraction unit 165 can also notify local proxy server 100 these Compression Strategies of storage, to use after a while.
Figure 11 illustrates according to the Compression Strategies of second embodiment of the invention and handles through consultation, and Figure 12 illustrates the unit of consulting for Compression Strategies in information processing system according to second embodiment of the invention.In Figure 11 and the illustrated Compression Strategies of Figure 12 are handled through consultation, this Compression Strategies generates in local proxy server 100.
As illustrated in Figure 12, in order to realize handling through consultation of Compression Strategies between local proxy server 100 and network agent server 200, this local proxy server 100 also comprises: the first grouping interception unit 171, Compression Strategies generation unit 172, compression request generation unit 173, compression request delivery unit 174 and compression response receiving element 175.Meanwhile, this network agent server 200 also comprises: compression request receiving element 271, grouping request extraction unit 272, Compression Strategies extraction unit 273, compression response generation unit 274 and compression response delivery unit 275.
As illustrated in Figure 11, handle through consultation and comprise according to the Compression Strategies of first embodiment of the invention:
In step S510, first the first grouping interception unit 171 tackles the first packet being transmitted to described content server by described electronic equipment.
In step S520, Compression Strategies generation unit 172 generates described Compression Strategies according to described the first packet.This Compression Strategies can comprise the expense project of the Overhead for distinguishing connection identifier (CID that different TCP connect, can compress and particularly for distinguishing the expense identifier etc. of different Overhead.
Except the executive agent difference for generating Compression Strategies, the step S520 in the second embodiment can be identical with the step S450 in the first embodiment, and therefore omit its detailed description.
In step S530, compression request generation unit 173 generates compression transmission request by add compression request information in described the first packet, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking, and comprises described Compression Strategies.
In step S540, compression request delivery unit 174 transmits described compression to described network agent server 200 and transmits request.Now, in network agent server 200, compression request receiving element 271 receives compression from local proxy server 100 and transmits request.
In step S550, grouping request extraction unit 272 transmits from described compression the first packet and the compression request information that request, extraction is transmitted to described content server 20 by described electronic equipment 10, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking, and comprises described Compression Strategies.
In step S560, Compression Strategies extraction unit 273 transmits request and extracts described Compression Strategies from described compression, thereby makes network agent server 200 know the Compression Strategies that will carry out in local proxy server 100.
In step S570, compression response generation unit 274 generates the compression transmission response that transmits request in response to described compression.
In step S580, compression response delivery unit 275 transmits described compression to local proxy server 100 and transmits response.Now, in local proxy server 100, compression response receiving element 175 receives compression from described network agent server 200 and transmits response, and learns thus, and this Compression Strategies is consulted successfully between local proxy server 100 and network agent server 200.
Next, continue to describe according to the information processing method of the embodiment of the present invention and information processing system referring back to Fig. 6 and Fig. 7.
In step S340, determine the redundant information field in original data packet.
After Compression Strategies acquiring unit 150 gets Compression Strategies, redundant field determining unit 120 is determined the redundant information field in described original data packet according to Compression Strategies.
Particularly, the information field in described original data packet is defined as information field to be compared by this redundant field determining unit 120; Reference information field in described information field to be compared and described Compression Strategies is compared; If described information field to be compared is identical with described reference information field, described information field to be compared is defined as to the redundant information field in described original data packet.
For example, when determining in this Compression Strategies, the expense project of the Overhead that can compress comprises: Accept-Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection; Their corresponding expense identifiers are 1 to 8; And the connection identifier (CID that TCP connects is 1198 o'clock, first this redundant field determining unit 120 can determine the identifier that the TCP of current HTTP request connects, if the identifier that the TCP of current HTTP request connects is 1198, illustrate that current HTTP request belongs at same TCP and is connected with the HTTP request in Compression Strategies, i.e. current HTTP request can be suitable for this Compression Strategies.
Next, the information field in described original data packet is defined as information field to be compared by this redundant field determining unit 120, and then the reference information field in described information field to be compared and described Compression Strategies is compared, determine in current HTTP request whether comprise expense project Accept-Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection.And if comprise these expense projects, these expense projects are defined as the redundant information field in described original data packet by this redundant field determining unit 120.
In step S350, generate compressed data packet.
After redundant field determining unit 120 is determined redundant information field, this compressed packet generation unit 130 is by compressing to generate compressed data packet to described redundant information field.
Particularly, the Compression Strategies that this compressed packet generation unit 130 obtains according to Compression Strategies acquiring unit 150 is determined the packed field corresponding with described redundant information field; Utilize described packed field to replace described redundant information field; Generate compressed data packet, described compressed data packet comprises described packed field.
For example, after this redundant field determining unit 120 is determined include expense project Accept-Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection in original data packet, this compressed packet generation unit 130 is according to the reference information field comprising in Compression Strategies and the corresponding relation of described packed field, these expense projects are replaced with respectively to corresponding expense identifier 1 to 8, and generate compressed data packet.For example, this compressed data packet can be http request header as illustrated in Figure 10 d.
In addition, can find out according to Figure 10 d, this compressed data packet is except each packed field that is included in Compression Strategies and comprises; also may comprise the information field of not replacing; for example " Accept:text/html, application/xhtml+xml, application/xml; Q=0.9, */*; Q=0.8 " and " If-Modified-Since:Thu, 01 Dec 201103:54:24GMT ", this is because these information fields are the fields that do not repeat mutually among the different http request headers in same TCP connects.
In step S360, transmit compressed data packet.
After this compressed packet generation unit 130 generates compressed data packet, compressed packet delivery unit 140 transmits described compressed data packet by network to network agent server 200.Now, in network agent server 200, compressed packet receiving element 210 divides into groups from local proxy server 100 receiving compressed datas by network.
In step S370, obtain Compression Strategies.
After this compressed packet receiving element 210 receives compressed data packet, Compression Strategies acquiring unit 250 obtains Compression Strategies.
Particularly, this Compression Strategies can be to be generated by the Compression Strategies generation unit 263 in network agent server 200, as handled through consultation described according to the Compression Strategies of first embodiment of the invention; Or can be to be generated by the Compression Strategies generation unit 172 in local proxy server 100, as handled through consultation described according to the Compression Strategies of second embodiment of the invention.Certainly, depend on concrete practice, this Compression Strategies can be also that the keeper of information processing system sets in advance, and in the process connecting in whole TCP connection procedure or even at the different TCP of leap, remain unchanged, so also just without again obtain Compression Strategies after each interception original data packet.
In step S380, determine the packed field in compressed data packet.
After this Compression Strategies acquiring unit 250 obtains Compression Strategies, packed field determining unit 220 is determined the packed field in described compressed data packet according to described Compression Strategies.
Particularly, the information field in described compressed data packet is defined as information field to be compared by packed field determining unit 220; Described packed field in described information field to be compared and described Compression Strategies is compared; If described information field to be compared is identical with described packed field, described information field to be compared is defined as to the packed field in described compressed data packet.
For example, to receive compressed data packet be http request header as illustrated in Figure 10 d to this compressed packet receiving element 210.And, this Compression Strategies acquiring unit 250 is determined in this Compression Strategies, and the expense project of the Overhead that can compress comprises: Accept-Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection; Their corresponding expense identifiers are 1 to 8; And the connection identifier (CID that TCP connects is 1198.
At this moment, first this packed field determining unit 220 can determine the identifier that the TCP of current HTTP request connects, if the identifier that the TCP of current HTTP request connects is 1198, illustrate that current HTTP request belongs at same TCP and is connected with the HTTP request in Compression Strategies, i.e. current HTTP request can be suitable for this Compression Strategies.
Next, the information field in described compressed data packet is defined as information field to be compared by this packed field determining unit 220, and then the described packed field in described information field to be compared and described Compression Strategies is compared, determine in current HTTP request whether comprise the packed field identifying by identifier 1 to 8.And if comprise these identifiers, these identifiers are defined as the packed field in described compressed data packet by this packed field determining unit 220.
In step S390, generate original data packet.
After packed field determining unit 220 is determined packed field, original packet generation unit 230 is by decompressing to generate original data packet to described packed field.
Particularly, original packet generation unit 230 is determined the reference information field corresponding with described packed field according to described Compression Strategies; Utilize described reference information field to replace described packed field; Generate original data packet, described original data packet comprises described reference information field.
For example, determine and in compressed data packet, include identifier 1 after 8 when this packed field determining unit 220, the reference information field that this original packet generation unit 230 comprises in Compression Strategies according to basis and the corresponding relation of described packed field, these expense identifiers are replaced with respectively to corresponding expense project Accept-Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host, and Proxy-Connection, that is to say, according to identifier (for example, numeral) carry out polishing http request header, and generation original data packet, decompress by compressed data packet or revert to original data packet.For example, this original data packet can be as the http request header of form illustrated in Figure 10 a.
In addition, can find out according to Figure 10 a, this original data packet is except each reference information field that is included in Compression Strategies and comprises; also may comprise the information field of not replacing; for example " Accept:text/html, application/xhtml+xml, application/xml; Q=0.9, */*; Q=0.8 " and " If-Modified-Since:Thu, 01 Dec 2011 03:54:24GMT ", this is because these information fields are the fields that do not repeat mutually among the different http request headers in same TCP connects.
In step S400, transmit original data packet.
After original packet generation unit 230 generates original data packet, original packet delivery unit 240 transmits described original data packet to the destination address comprising in this original data packet content server 20 pointed.
Next, the original data packet that this content server 20 can transmit according to electronic equipment 10 is searched the respective resources that electronic equipment 10 is asked, and returns to corresponding resource to this electronic equipment 10.
Obviously, in the time that this content server 20 returns to this electronic equipment 10 packet that comprises respective resources in down link, can utilize equally above-mentioned processing procedure to transmit original data packet between content server 20 and network agent server 200, in network agent server 200, this original data packet is carried out and compressed and generate compressed data packet, between network agent server 200 and local proxy server 100, transmit this compressed data packet, and in local proxy server 100, this compressed data packet is carried out to decompress(ion) recovery original data packet that contracts, between local proxy server 100 and electronic equipment 10, transmit original data packet.
As can be seen here, adopt according to the information processing method of the embodiment of the present invention and information processing system, between the electronic equipment at local side and the content server in network terminal, realized a kind of double-deck agency's framework.At local side, tackle HTTP request bag that electronic equipment sends and the header that belongs to same TCP and connect lower HTTP request bag is compressed with local agent, then issuing high in the clouds and act on behalf of; Beyond the clouds, the header of HTTP request is carried out decompress(ion) recovery by high in the clouds agency, then the content server being transmitted to such as website carries out subsequent treatment.
Therefore, in an embodiment of the present invention, by bilayer agency's structure, local agent and high in the clouds are acted on behalf of and carried out collaborative work, so that the http request header that will transmit is compressed, thereby bandwidth and the traffic consumes brought due to the redundant information repeating are reduced in HTTP request bag, save the flow that user transmits in the up link of network and/or down link, increased access to netwoks speed, improved bandwidth availability ratio.
In addition, the resource consuming in electronic equipment or content server according to the solution of the embodiment of the present invention is few,, can apply at various electronic equipment rapid deployments almost without any impact for whole system.And, this solution go for any browser, also or other web applications (such as, audio frequency and video chat tool or game on line software etc.), and can not only can process the network elements such as picture, HTML (HTML), network CSS, but also therefore overhead field in can processing protocol header has further reduced the network bandwidth that HTTP data consume.
It should be noted that, although described the information processing method according to the embodiment of the present invention with specific order hereinbefore, the invention is not restricted to this.For example, obviously, step S330 and step S370 can only carry out once, and not after getting original data packet, all must carry out at every turn.And step S330 can carry out or carry out with it before step S310 and S320 simultaneously, in like manner, step S370 can carry out or carry out with it simultaneously before step S360.
In addition, preferably, although hereinbefore by be applied to the process for the packet that belongs to same TCP connection is compressed in up link according to the information processing method of the embodiment of the present invention, the invention is not restricted to this.For example, can will be applied to according to the information processing method of the embodiment of the present invention in down link or compress belonging to the packet that different TCP connect in both at uplink downlink equally.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add essential hardware platform by means of software and realize, and can certainly all implement by software or hardware.Based on such understanding, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, disk, CD etc., comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
Describe each embodiment of the present invention in the above in detail.But, it should be appreciated by those skilled in the art that without departing from the principles and spirit of the present invention, can carry out various amendments to these embodiment, combination or sub-portfolio, and such amendment should fall within the scope of the present invention.

Claims (24)

1. an information processing method, described method is applied to the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, described local proxy server is also connected to by network the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, make described electronic equipment to visit described content server via described local proxy server and described network agent server, it is characterized in that, described method comprises:
The original data packet that interception is transmitted to described content server by described electronic equipment;
Determine the redundant information field in described original data packet according to Compression Strategies;
By described redundant information field is compressed to generate compressed data packet; And
Transmit described compressed data packet to described network agent server.
2. according to the method for claim 1, it is characterized in that, determine the step of the redundant information field in described original data packet according to Compression Strategies before, described method also comprises:
The first packet that interception is transmitted to described content server by described electronic equipment;
Generate compression transmission request by add compression request information in described the first packet, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking;
Transmit described compression to described network agent server and transmit request;
Receive compression from described network agent server and transmit response, described compression transmits response and comprises described Compression Strategies;
Transmit response and extract described Compression Strategies from described compression.
3. according to the method for claim 1, it is characterized in that, determine the step of the redundant information field in described original data packet according to Compression Strategies before, described method also comprises:
The first packet that interception is transmitted to described content server by described electronic equipment;
Generate described Compression Strategies according to described the first packet;
Generate compression transmission request by add compression request information in described the first packet, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking, and comprises described Compression Strategies;
Transmit described compression to described network agent server and transmit request;
Receive compression from described network agent server and transmit response.
4. according to the method for claim 3, it is characterized in that, the step that generates described Compression Strategies according to described the first packet comprises:
One or more information fields that described the first packet is comprised are defined as one or more reference information fields;
To each reference information field distribution packed field, the size of described packed field is less than the size of described reference information field;
Generation comprises the Compression Strategies of the corresponding relation of described reference information field and described packed field.
5. according to the method for claim 1, it is characterized in that, determine that according to Compression Strategies the step of the redundant information field in described original data packet comprises:
Information field in described original data packet is defined as to information field to be compared;
Reference information field in described information field to be compared and described Compression Strategies is compared;
If described information field to be compared is identical with described reference information field, described information field to be compared is defined as to the redundant information field in described original data packet.
6. according to the method for claim 1, it is characterized in that, comprise by the step of described redundant information field being compressed to generate compressed data packet:
Determine the packed field corresponding with described redundant information field according to described Compression Strategies;
Utilize described packed field to replace described redundant information field;
Generate compressed data packet, described compressed data packet comprises described packed field.
7. an information processing method, described method is applied to the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, described network agent server is also connected to by network the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, make described electronic equipment to visit described content server via described local proxy server and described network agent server, it is characterized in that, described method comprises:
From described local proxy server receiving compressed data grouping;
Determine the packed field in described compressed data packet according to Compression Strategies;
By described packed field is decompressed to generate original data packet; And
Transmit described original data packet to described content server.
8. according to the method for claim 7, it is characterized in that, before determining the step of the packed field in described compressed data packet according to Compression Strategies, described method also comprises:
Receive compression from described local proxy server and transmit request;
Transmit request and extract the first packet and the compression request information that are transmitted to described content server by described electronic equipment from described compression, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking;
Generate described Compression Strategies according to described the first packet;
Generate the compression transmission response that transmits request in response to described compression, described compression transmits response and comprises described Compression Strategies;
Transmit described compression to described local proxy server and transmit response.
9. method according to Claim 8, is characterized in that, the step that generates described Compression Strategies according to described the first packet comprises:
One or more information fields that described the first packet is comprised are defined as one or more reference information fields;
To each reference information field distribution packed field, the size of described packed field is less than the size of described reference information field;
Generation comprises the Compression Strategies of the corresponding relation of described reference information field and described packed field.
10. according to the method for claim 7, it is characterized in that, determine that according to Compression Strategies the step of the packed field in described compressed data packet comprises:
Information field in described compressed data packet is defined as to information field to be compared;
Packed field in described information field to be compared and described Compression Strategies is compared;
If described information field to be compared is identical with described packed field, described information field to be compared is defined as to the packed field in described compressed data packet.
11. according to the method for claim 7, it is characterized in that, comprises by the step that described packed field is decompressed to generate original data packet:
Determine the reference information field corresponding with described packed field according to described Compression Strategies;
Utilize described reference information field to replace described packed field;
Generate original data packet, described original data packet comprises described reference information field.
12. according to the method for claim 7, it is characterized in that, before determining the step of the packed field in described compressed data packet according to Compression Strategies, described method also comprises:
Receive compression from described local proxy server and transmit request;
Transmit from described compression the first packet and the compression request information that request, extraction is transmitted to described content server by described electronic equipment, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking, and comprises described Compression Strategies;
From described compression request information, extract described Compression Strategies;
Generate the compression transmission response that transmits request in response to described compression;
Transmit described compression to described local proxy server and transmit response.
13. 1 kinds of local proxy servers, described local proxy server is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, described local proxy server is also connected to by network the network agent server that is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, make described electronic equipment to visit described content server via described local proxy server and described network agent server, it is characterized in that, described local proxy server comprises:
Original packet interception unit, for tackling the original data packet being transmitted to described content server by described electronic equipment;
Redundant field determining unit, for determining the redundant information field of described original data packet according to Compression Strategies;
Compressed packet generation unit, for by compressing to generate compressed data packet to described redundant information field; And
Compressed packet delivery unit, for transmitting described compressed data packet to described network agent server.
14. according to the local proxy server of claim 13, it is characterized in that, described local proxy server also comprises:
The first grouping interception unit, before determining the redundant information field of described original data packet according to Compression Strategies in described redundant field determining unit, the first packet that interception is transmitted to described content server by described electronic equipment;
Compression request generation unit, generate compression transmission request by add compression request information in described the first packet, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking;
Compression request delivery unit, transmits request for transmit described compression to described network agent server;
Compression response receiving element, transmits response for receiving compression from described network agent server, and described compression transmits response and comprises described Compression Strategies;
Compression Strategies extraction unit, extracts described Compression Strategies for transmitting response from described compression.
15. according to the local proxy server of claim 13, it is characterized in that, described local proxy server also comprises:
The first grouping interception unit, before determining the redundant information field of described original data packet according to Compression Strategies in described redundant field determining unit, the first packet that interception is transmitted to described content server by described electronic equipment;
Compression Strategies generation unit, for generating described Compression Strategies according to described the first packet;
Compression request generation unit, for generating compression transmission request by add compression request information in described the first packet, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking, and comprises described Compression Strategies;
Compression request delivery unit, transmits request for transmit described compression to described network agent server;
Compression response receiving element, transmits response for receiving compression from described network agent server.
16. according to the local proxy server of claim 15, it is characterized in that, one or more information fields that described Compression Strategies generation unit comprises described the first packet are defined as one or more reference information fields; To each reference information field distribution packed field, the size of described packed field is less than the size of described reference information field; Generation comprises the Compression Strategies of the corresponding relation of described reference information field and described packed field.
17. according to the local proxy server of claim 13, it is characterized in that, the information field in described original data packet is defined as information field to be compared by described redundant field determining unit; Reference information field in described information field to be compared and described Compression Strategies is compared; If described information field to be compared is identical with described reference information field, described information field to be compared is defined as to the redundant information field in described original data packet.
18. according to the local proxy server of claim 13, it is characterized in that, described compressed packet generation unit is determined the packed field corresponding with described redundant information field according to described Compression Strategies; Utilize described packed field to replace described redundant information field; Generate compressed data packet, described compressed data packet comprises described packed field.
19. 1 kinds of network agent servers, described network agent server is positioned at network terminal, described network agent server is connected to the content server that is positioned at described network terminal, described network agent server is also connected to by network the local proxy server that is positioned at local side, described local proxy server is connected to the electronic equipment that is positioned at described local side, make described electronic equipment to visit described content server via described local proxy server and described network agent server, it is characterized in that, described network agent server comprises:
Compressed packet receiving element, for dividing into groups from described local proxy server receiving compressed data;
Packed field determining unit, for determining the packed field of described compressed data packet according to Compression Strategies;
Original packet generation unit, for by decompressing to generate original data packet to described packed field; And
Original packet delivery unit, for transmitting described original data packet to described content server.
20. according to the network agent server of claim 19, it is characterized in that, described network agent server also comprises:
Compression request receiving element, before determining the packed field of described compressed data packet in described packed field determining unit according to Compression Strategies, receives compression from described local proxy server and transmits request;
Grouping request extraction unit, for extracting from the described compression request of transmitting the first packet and the compression request information that are transmitted to described content server by described electronic equipment, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking;
Compression Strategies generation unit, for generating described Compression Strategies according to described the first packet;
Compression response generation unit, for generating the compression transmission response that transmits request in response to described compression, described compression transmits response and comprises described Compression Strategies;
Compression response delivery unit, transmits response for transmit described compression to described local proxy server.
21. according to the network agent server of claim 20, it is characterized in that, one or more information fields that described Compression Strategies generation unit comprises described the first packet are defined as one or more reference information fields; To each reference information field distribution packed field, the size of described packed field is less than the size of described reference information field; Generation comprises the Compression Strategies of the corresponding relation of described reference information field and described packed field.
22. according to the network agent server of claim 19, it is characterized in that, the information field in described compressed data packet is defined as information field to be compared by described packed field determining unit; Packed field in described information field to be compared and described Compression Strategies is compared; If described information field to be compared is identical with described packed field, described information field to be compared is defined as to the packed field in described compressed data packet.
23. according to the network agent server of claim 19, it is characterized in that, described original packet generation unit is determined the reference information field corresponding with described packed field according to described Compression Strategies; Utilize described reference information field to replace described packed field; Generate original data packet, described original data packet comprises described reference information field.
24. according to the network agent server of claim 19, it is characterized in that, described network agent server also comprises:
Compression request receiving element, before determining the packed field of described compressed data packet in described packed field determining unit according to Compression Strategies, receives compression from described local proxy server and transmits request;
Grouping request extraction unit, for extracting from the described compression request of transmitting the first packet and the compression request information that are transmitted to described content server by described electronic equipment, described compression request information is between described local proxy server and described network agent server, each packet to be compressed to the information transmitting for asking, and comprises described Compression Strategies;
Compression Strategies extraction unit, for extracting described Compression Strategies from described compression request information;
Compression response generation unit, for generating the compression transmission response that transmits request in response to described compression;
Compression response delivery unit, transmits response for transmit described compression to described local proxy server.
CN201210541061.XA 2012-12-13 2012-12-13 Information processing method, local proxy server and network proxy server Active CN103873443B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210541061.XA CN103873443B (en) 2012-12-13 2012-12-13 Information processing method, local proxy server and network proxy server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210541061.XA CN103873443B (en) 2012-12-13 2012-12-13 Information processing method, local proxy server and network proxy server

Publications (2)

Publication Number Publication Date
CN103873443A true CN103873443A (en) 2014-06-18
CN103873443B CN103873443B (en) 2018-04-27

Family

ID=50911572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210541061.XA Active CN103873443B (en) 2012-12-13 2012-12-13 Information processing method, local proxy server and network proxy server

Country Status (1)

Country Link
CN (1) CN103873443B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357829A (en) * 2016-11-24 2017-01-25 北京友道互联电子商务有限公司 HTTP-based information filtering overlaying method and device
CN109144949A (en) * 2017-06-27 2019-01-04 阿瓦亚公司 System and method for reducing the memory space in liaison centre
CN110019012A (en) * 2017-12-01 2019-07-16 中国电信股份有限公司 Data preprocessing method, device and computer readable storage medium
CN111225058A (en) * 2020-01-09 2020-06-02 深圳壹账通智能科技有限公司 File uploading method and related product
EP3651438A4 (en) * 2017-07-03 2021-01-13 ZTE Corporation Data transmission method and device

Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002032081A1 (en) * 2000-10-11 2002-04-18 Broadcom Corporation Dynamic delta encoding for cable modem header suppression
CN1349702A (en) * 1999-02-26 2002-05-15 艾利森电话股份有限公司 Adaptive header compression for packet communications
US20020129168A1 (en) * 2001-03-12 2002-09-12 Kabushiki Kaisha Toshiba Data transfer scheme using caching and differential compression techniques for reducing network load
US20020129167A1 (en) * 2001-03-12 2002-09-12 Kabushiki Kaisha Toshiba Data transfer scheme using caching technique for reducing network load
US20040081151A1 (en) * 2002-10-28 2004-04-29 Marc Greis Method and system for early header compression
CN1522526A (en) * 2001-06-29 2004-08-18 Ħ��������˾ Apparatus and method for implementing text based compression using cache and blank approach
US6804238B1 (en) * 1998-12-29 2004-10-12 International Business Machines Corporation System and method for transmitting compressed frame headers in a multiprotocal data transmission network
CN1592272A (en) * 2003-09-04 2005-03-09 国际商业机器公司 Method for header compression
US20060262788A1 (en) * 2005-05-23 2006-11-23 Broadcom Corporation Dynamic payload header suppression extensions for IPV6
CN1968211A (en) * 2006-11-23 2007-05-23 华为技术有限公司 Message header compression method, compressor and transmission system
CN101102263A (en) * 2006-07-07 2008-01-09 华为技术有限公司 Recovery method and device for compressed packet
CN101146025A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Packet transmission method, system and compression unit for compression real time transmission protocol
CN101350812A (en) * 2008-08-22 2009-01-21 上海华为技术有限公司 Data transmission method, communication apparatus and communication system
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending
US7773634B1 (en) * 2007-12-06 2010-08-10 Sprint Communications Company L.P. Algorithms for constructing sets of frequently occurring strings
CN101930418A (en) * 2009-06-26 2010-12-29 英特尔公司 The multiple compress technique that is used for grouping information

Patent Citations (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6804238B1 (en) * 1998-12-29 2004-10-12 International Business Machines Corporation System and method for transmitting compressed frame headers in a multiprotocal data transmission network
CN1349702A (en) * 1999-02-26 2002-05-15 艾利森电话股份有限公司 Adaptive header compression for packet communications
WO2002032081A1 (en) * 2000-10-11 2002-04-18 Broadcom Corporation Dynamic delta encoding for cable modem header suppression
US20020129168A1 (en) * 2001-03-12 2002-09-12 Kabushiki Kaisha Toshiba Data transfer scheme using caching and differential compression techniques for reducing network load
US20020129167A1 (en) * 2001-03-12 2002-09-12 Kabushiki Kaisha Toshiba Data transfer scheme using caching technique for reducing network load
CN1522526A (en) * 2001-06-29 2004-08-18 Ħ��������˾ Apparatus and method for implementing text based compression using cache and blank approach
US20040081151A1 (en) * 2002-10-28 2004-04-29 Marc Greis Method and system for early header compression
CN1592272A (en) * 2003-09-04 2005-03-09 国际商业机器公司 Method for header compression
US20060262788A1 (en) * 2005-05-23 2006-11-23 Broadcom Corporation Dynamic payload header suppression extensions for IPV6
CN101102263A (en) * 2006-07-07 2008-01-09 华为技术有限公司 Recovery method and device for compressed packet
CN101146025A (en) * 2006-09-13 2008-03-19 华为技术有限公司 Packet transmission method, system and compression unit for compression real time transmission protocol
CN1968211A (en) * 2006-11-23 2007-05-23 华为技术有限公司 Message header compression method, compressor and transmission system
CN101400083A (en) * 2007-09-29 2009-04-01 华为技术有限公司 Method, system and device for head compression of packet and service stream classified sending
US7773634B1 (en) * 2007-12-06 2010-08-10 Sprint Communications Company L.P. Algorithms for constructing sets of frequently occurring strings
CN101350812A (en) * 2008-08-22 2009-01-21 上海华为技术有限公司 Data transmission method, communication apparatus and communication system
CN101930418A (en) * 2009-06-26 2010-12-29 英特尔公司 The multiple compress technique that is used for grouping information

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106357829A (en) * 2016-11-24 2017-01-25 北京友道互联电子商务有限公司 HTTP-based information filtering overlaying method and device
CN106357829B (en) * 2016-11-24 2019-09-06 北京友道互联电子商务有限公司 A kind of information filtering stacking method and device based on HTTP
CN109144949A (en) * 2017-06-27 2019-01-04 阿瓦亚公司 System and method for reducing the memory space in liaison centre
CN109144949B (en) * 2017-06-27 2021-12-03 阿瓦亚公司 System and method for reducing storage space in a contact center
EP3651438A4 (en) * 2017-07-03 2021-01-13 ZTE Corporation Data transmission method and device
US11349962B2 (en) 2017-07-03 2022-05-31 Xi'an Zhongxing New Software Co., Ltd. Data transmission method and device
CN110019012A (en) * 2017-12-01 2019-07-16 中国电信股份有限公司 Data preprocessing method, device and computer readable storage medium
CN110019012B (en) * 2017-12-01 2021-05-11 中国电信股份有限公司 Data preprocessing method, data preprocessing device and computer-readable storage medium
CN111225058A (en) * 2020-01-09 2020-06-02 深圳壹账通智能科技有限公司 File uploading method and related product
CN111225058B (en) * 2020-01-09 2023-11-03 深圳壹账通智能科技有限公司 File uploading method and related products

Also Published As

Publication number Publication date
CN103873443B (en) 2018-04-27

Similar Documents

Publication Publication Date Title
CN102651861B (en) Download method for mobile terminal, mobile terminal and proxy download server
EP2083359B1 (en) System and method for enhancing network-browsing speed by setting a proxy server on a handheld device
EP3013015B1 (en) Packet compression method and apparatus
CN106612284B (en) Streaming data transmission method and device
CN104009938A (en) Method and system for long connections based on router level
CN102970287A (en) Processing method of hyper text transport protocol (HTTP) request data
CN103873443A (en) Information processing method, local proxy server and network proxy server
CN102904959A (en) Network accelerating method and gateway
CN110581812A (en) Data message processing method and device
EP2869533B1 (en) Data distribution method and device
US20100146112A1 (en) Efficient communication techniques
CN112953850B (en) Data transmission method and device, computer readable medium and electronic equipment
CN107222561A (en) A kind of transport layer reverse proxy method
CN103457956A (en) HTTP streaming media live broadcasting method and system based on multiple TCP links
CN104010001A (en) Method and system for carrying out connection communication on same networking requests in mobile terminal
CN111541555A (en) Group chat optimization method and related product
US20140074912A1 (en) Communication apparatus, relay apparatus and communication method
CN104735151A (en) Process bar control method, device and system
CN103729440A (en) Method and device for having access to website
Hogawa et al. Hardware parallel decoder of compressed http traffic on service-oriented router
Kodama et al. Sub-GHz Band Communication Bridge Connecting TCP/IP Network
CN103906007A (en) Multimedia-message forwarding method and device
CN107196819B (en) Network connection method and system and computer readable storage medium
Cardaci et al. Using SPDY to improve Web 2.0 over satellite links
CN107749875B (en) Big data artificial intelligence analytic system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant