CN103873443B - Information processing method, local proxy server and network proxy server - Google Patents
Information processing method, local proxy server and network proxy server Download PDFInfo
- Publication number
- CN103873443B CN103873443B CN201210541061.XA CN201210541061A CN103873443B CN 103873443 B CN103873443 B CN 103873443B CN 201210541061 A CN201210541061 A CN 201210541061A CN 103873443 B CN103873443 B CN 103873443B
- Authority
- CN
- China
- Prior art keywords
- compression
- proxy server
- field
- packet
- network
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 43
- 238000003672 processing method Methods 0.000 title claims abstract description 31
- 238000007906 compression Methods 0.000 claims abstract description 299
- 230000006835 compression Effects 0.000 claims abstract description 298
- 238000000034 method Methods 0.000 claims abstract description 35
- 230000005540 biological transmission Effects 0.000 claims description 55
- 230000004044 response Effects 0.000 claims description 55
- 238000000605 extraction Methods 0.000 claims description 20
- 238000012545 processing Methods 0.000 description 14
- 235000014510 cooky Nutrition 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 7
- 238000004891 communication Methods 0.000 description 5
- 238000012546 transfer Methods 0.000 description 5
- 230000006837 decompression Effects 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000005611 electricity Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 3
- 239000000284 extract Substances 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 101150012579 ADSL gene Proteins 0.000 description 1
- 108010022579 ATP dependent 26S protease Proteins 0.000 description 1
- 102100020775 Adenylosuccinate lyase Human genes 0.000 description 1
- 108700040193 Adenylosuccinate lyases Proteins 0.000 description 1
- 230000003111 delayed effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 238000005498 polishing Methods 0.000 description 1
- 238000011084 recovery Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000011144 upstream manufacturing Methods 0.000 description 1
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of information processing method, local proxy server and network proxy server.This method is applied to the local proxy server for being located locally end, local proxy server is connected to the electronic equipment for being located locally end, local proxy server is also by network connection to the network proxy server positioned at network-side, network proxy server is connected to the content server positioned at network-side so that electronic equipment can access the content server via local proxy server and network proxy server.This method includes:Intercept the original data packet transmitted from electronic equipment to content server;The redundancy field in original data packet is determined according to Compression Strategies;Compressed data packet is generated by being compressed to redundancy field;And transmit compressed data packet to network proxy server.Therefore, the packet transmitted between electronic equipment and content server can be compressed, reduces the occupancy of network bandwidth.
Description
Technical field
The present invention relates to field of computer technology, more particularly it relates to a kind of information processing method, local agent
Server and network proxy server.
Background technology
With computer technology and network(WEB)The development of technology, in recent years, such as notebook, tablet computer
(PAD), mobile phone, personal digital assistant(PDA)Etc electronic equipment popularize all the more, and more and more user starts
The content server in network is accessed using the various web applications installed on these electronic equipments.For example, user
Webpage can be browsed, carry out audio and video chat or participates in game on line etc. by web application.
At present, most network access uses Hyper text transfer communications protocol(HTTP)/ 1.1 perform relevant information
Download and upload.Also, when electronic equipment by http protocol to access network when, the HTTP access be based on pass transport control protocol
View(TCP)Connect to carry out.
By analyzing the associated packets in HTTP access process, the inventors discovered that:In actual use, same
A series of HTTP requests under one TCP connection often carry substantially identical http header.For example, for one
During the WEB that webpage is made is accessed, in all HTTP requests, nearly all information field of http header carrying(Such as,
User Agent, Accept-Language, Referer and Accept)All it is identical.This is resulted in accessed in this WEB
Cheng Zhong, transfers the Overhead largely repeated between content server and electronic equipment.Moreover, assisted in currently used HTTP
In the various application programs of view, often exist during to content server transport network access relevant information many small
Interaction HTTP packets.However, the real load very little included even in the small interactive HTTP packets, they similarly need to wrap
Complete http header is included, thus causes the overhead information content in transmission information very high.The expense of this big data quantity
Information directly contributes network access speed and slows down, and has delayed the load time of Web content.In addition, if the http header carries
There is cookie information field, then the data volume of Overhead will become much larger.
In this regard, a solution of the prior art is Google(Google)Company propose optimizing http protocol
New agreement SPDY, its basic thought is to carry out data-optimized and pass through Secure Socket Layer(SSL)Transmission is encrypted, leads at the same time
Cross in a TCP connection and support multiple concurrent HTTP connections to increase loading velocity.
However, the resource that SPDY agreements consume in the electronic device is more, and have a great influence to whole system, it is difficult to
In various electronic equipments(Such as, EMBEDDED AVIONICS)Middle rapid deployment application.
In addition, another solution of the prior art is to utilize the excellent UC browsers proposed regarding company(UCWEB)Come into
Row network access.The basic framework of this solution is not access original net directly in network access by UC browsers
Stand, but the data Jing Guo specially treated are obtained from specific UC servers, to solve the problems, such as that network traffics are excessive.
However, this mode can only save flow when electronic equipment is using UC browsers, and when electronic equipment uses it
It is during his web application, then helpless.In addition, UC browsers are merely able to processing picture, hypertext markup language
(HTML), the network element such as network style sheet, and can not processing protocol in itself in any content.
As can be seen here, it is necessary to which a kind of new information processing method, local proxy server and network proxy server come
Solve the above problems.
The content of the invention
In order to solve the above-mentioned technical problem, according to an aspect of the invention, there is provided a kind of information processing method, described
Method is applied to the local proxy server for being located locally end, and the local proxy server is connected to positioned at the local side
Electronic equipment, the local proxy server is also by network connection to the network proxy server positioned at network-side, the net
Network proxy server is connected to the content server positioned at the network-side so that the electronic equipment can be via the local
Proxy server and the network proxy server access the content server, the described method includes:Intercept by the electricity
The original data packet that sub- equipment is transmitted to the content server;Determined according to Compression Strategies in the original data packet
Redundancy field;Compressed data packet is generated by being compressed to the redundancy field;And to the net
Network proxy server transmits the compressed data packet.
In addition, according to another aspect of the present invention, there is provided a kind of information processing method, the method are applied to be located at net
The network proxy server at network end, the network proxy server is connected to the content server positioned at the network-side, described
Network proxy server connects also by network connection to the local proxy server positioned at local side, the local proxy server
It is connected to the electronic equipment positioned at the local side so that the electronic equipment can be via the local proxy server and described
Network proxy server accesses the content server, the described method includes:Receive and compress from the local proxy server
Packet;The packed field in the compressed data packet is determined according to Compression Strategies;By to the packed field into
Row is decompressed to generate original data packet;And transmit the original data packet to the content server.
According to another aspect of the invention, there is provided a kind of local proxy server, the local proxy server are located at
Local side, the local proxy server are connected to the electronic equipment positioned at the local side, and the local proxy server is also
It is connected to by network connection to the network proxy server positioned at network-side, the network proxy server positioned at the network
The content server at end so that the electronic equipment can be via the local proxy server and the network proxy server
To access the content server, the local proxy server includes:Original packet interception unit, for intercepting by the electricity
The original data packet that sub- equipment is transmitted to the content server;Compression Strategies acquiring unit, list is determined for redundant field
Member, for determining the redundancy field in the original data packet according to Compression Strategies;Compressed packet generation unit, is used
In generating compressed data packet by being compressed to the redundancy field;And compressed packet delivery unit, it is used for
The compressed data packet is transmitted to the network proxy server.
According to another aspect of the invention, there is provided a kind of network proxy server, the network proxy server are located at
Network-side, the network proxy server are connected to the content server positioned at the network-side, the network proxy server
Also it is connected to by network connection to the local proxy server positioned at local side, the local proxy server positioned at described
The electronic equipment of ground terminal so that the electronic equipment can be via the local proxy server and the network proxy server
To access the content server, the network proxy server includes:Compressed packet receiving unit, for from the local generation
Manage the packet of server receiving compressed data;Compression Strategies acquiring unit, for packed field determination unit, for according to compression plan
Slightly determine the packed field in the compressed data packet;Original packet generation unit, for by the packed field
Unzip it to generate original data packet;And original packet delivery unit, for transmitting institute to the content server
State original data packet.
Compared with prior art, using information processing method according to the present invention, local proxy server and network agent
Server, accesses positioned at network in the electronic equipment positioned at local side via local proxy server and network proxy server
, can be according to Compression Strategies come to this in the local proxy server of local side is similarly positioned in during the content server at end
The original data packet that electronic equipment will be transmitted to content server is handled, and compresses the redundancy letter in the original data packet
Field is ceased, and there is smaller size of compressed data packet to network proxy server transmission;Also, positioned at network-side
In network proxy server, after the compressed data packet is received, by performing the decompression opposite with above-mentioned compression processing
Contracting is handled to recover the original data packet that the electronic equipment will be transmitted to content server, and is transferred to the content
Server, to perform the relevant subsequent operation of network access by the content server.Therefore, in the present invention it is possible to right
The packet transmitted between electronic equipment and content server is compressed, to reduce number involved in transmitting procedure
According to amount, so as to improve network access speed, and the occupancy of network bandwidth is reduced.
Other features and advantages of the present invention will be illustrated in the following description, also, partly becomes from specification
Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by specification, rights
Specifically noted structure is realized and obtained in claim and attached drawing.
Brief description of the drawings
Attached drawing is used for providing a further understanding of the present invention, and a part for constitution instruction, the reality with the present invention
Apply example to be used to explain the present invention together, be not construed as limiting the invention.In the accompanying drawings:
Fig. 1 illustrates information processing method according to the present invention.
Fig. 2 illustrates local proxy server according to the present invention.
Fig. 3 illustrates information processing method according to the present invention.
Fig. 4 illustrates the network according to the invention proxy server.
Fig. 5 a are respectively illustrated with Fig. 5 b belongs to the first http request header that same TCP is connected according to prior art
With the second http request header.
Fig. 6 illustrates information processing method according to embodiments of the present invention.
Fig. 7 illustrates information processing system according to embodiments of the present invention.
The Compression Strategies that Fig. 8 illustrates according to a first embodiment of the present invention are handled through consultation.
Fig. 9 illustrates the list for being used for Compression Strategies negotiation in information processing system according to a first embodiment of the present invention
Member.
Figure 10 a illustrate the first packet according to embodiments of the present invention.
Figure 10 b illustrate compression transmitting request according to embodiments of the present invention.
Figure 10 c illustrate compression transmission response according to embodiments of the present invention.
Figure 10 d illustrate compressed data packet according to embodiments of the present invention.
The Compression Strategies that Figure 11 illustrates according to a second embodiment of the present invention are handled through consultation.
Figure 12 illustrates the list for being used for Compression Strategies negotiation in information processing system according to a second embodiment of the present invention
Member.
Embodiment
It will be described in detail with reference to the accompanying drawings each embodiment according to the present invention.Here it is to be noted that it in the accompanying drawings,
Identical reference numeral, which is assigned, substantially has the part of same or like 26S Proteasome Structure and Function, and will omit on it
Repeated description.
Hereinafter, information processing method, local proxy server and net according to the present invention will be described with reference to figure 1-4
Network proxy server.
Fig. 1 illustrates information processing method according to the present invention, and Fig. 2 illustrates local agent service according to the present invention
Device 100.
Described information processing method is applied to the local proxy server 100 for being located locally end, the local agent service
Device is connected to the electronic equipment positioned at the local side, and the local proxy server is also by network connection to being located at network-side
Network proxy server, the network proxy server is connected to the content server positioned at the network-side so that described
Electronic equipment can access the content server via the local proxy server and the network proxy server.Such as
Fig. 2 is illustrated, and the local proxy server 100 includes:Original packet interception unit 110, redundant field determination unit
120th, compressed packet generation unit 130 and compressed packet delivery unit 140.
As illustrated in figure 1, described information processing method includes:
In step s 110, original packet interception unit 110 is intercepted is passed from the electronic equipment to the content server
The original data packet sent;
In the step s 120, redundant field determination unit 120 is determined according to Compression Strategies in the original data packet
Redundancy field;
In step s 130, compressed packet generation unit 130 is generated by being compressed to the redundancy field
Compressed data packet;And
In step S140, compressed packet delivery unit 140 transmits the compressed data to the network proxy server
Packet.
Fig. 3 illustrates information processing method according to the present invention, and Fig. 4 illustrates the network according to the invention agency service
Device 200.
Described information processing method is applied to the network proxy server 200 positioned at network-side, the external network proxy services
Device is connected to the content server positioned at the network-side, and the network proxy server is also by network connection to being located locally
The local proxy server at end, the local proxy server are connected to the electronic equipment positioned at the local side so that described
Electronic equipment can access the content server via the local proxy server and the network proxy server.Such as
Fig. 4 is illustrated, and the network proxy server 200 includes:Compressed packet receiving unit 210, packed field determination unit
220th, original packet generation unit 230 and original packet delivery unit 240.
As illustrated in fig. 3, described information processing method includes:
In step S210, compressed packet receiving unit 210 is grouped from the local proxy server receiving compressed data;
In step S220, packed field determination unit 220 is determined according to Compression Strategies in the compressed data packet
Packed field;
In step S230, original packet generation unit 230 generates original by being unziped it to the packed field
Beginning packet;And
In step S240, original packet delivery unit 240 transmits the original data packet to the content server.
It can be seen from the above that using information processing method according to the present invention, local proxy server and network proxy server,
Accessed in the electronic equipment positioned at local side via local proxy server and network proxy server in network-side
When holding server, in the local proxy server of local side is similarly positioned in, the electronics can be set according to Compression Strategies
The standby original data packet to be transmitted to content server is handled, and compresses the redundancy word in the original data packet
Section, and there is smaller size of compressed data packet to network proxy server transmission;Also, in the network positioned at network-side
In proxy server, after the compressed data packet is received, by performing at the decompression opposite with above-mentioned compression processing
Manage to recover the original data packet that the electronic equipment will be transmitted to content server, and be transferred to the content service
Device, to perform the relevant subsequent operation of network access by the content server.Therefore, in the present invention it is possible to in electricity
The packet transmitted between sub- equipment and content server is compressed, to reduce data involved in transmitting procedure
Amount, so as to improve network access speed, and reduces the occupancy of network bandwidth.
As described in the background art, based on TCP connections come perform http network access during in, there are big number
According to the Overhead of amount, this will directly contribute network access speed and slow down, and delay the load time of Web content.In the following,
This problem existing in theprior art is illustrated in one example.
Fig. 5 a are respectively illustrated with Fig. 5 b belongs to the first http request header that same TCP is connected according to prior art
With the second http request header.For example, the first HTTP request and the second HTTP request can input website in a browser(Or
Content server)Network address when, two HTTP requests of different objects on the webpage for opening the website.
Specifically, as Fig. 5 a and Fig. 5 b are illustrated, the first http request header is used for content server request of loading
First file, i.e. sohuflash_1.js, and the second http request header is used for the second file of content server request of loading,
That is global1212.css.
Comparison diagram 5a and Fig. 5 b, it is clear that as can be seen that by reference numeral 501a and 502a in the first http request header
The Part I content identified with second identified in the second http request header by reference numeral 501b and 502b
Point content is duplicate respectively.That is, carried in the two HTTP requests under belonging to same TCP connections
The substantially identical http header of content.
It can be seen from the above that during a TCP connection, for example, once being accessed in the webpage to content server
When, due to frequently including a large amount of objects for needing while loading when browsing in a webpage, so electronic equipment is loading
Need to send substantial amounts of HTTP request to content server during the webpage.And due to including almost in these HTTP requests
Identical http header, so this is resulted in this WEB access process, is transmitted between content server and electronic equipment
The Overhead of a large amount of repetitions.The Overhead of this big data quantity takes substantial amounts of network transmission bandwidth, causes network to be visited
Ask that speed slows down.
In addition, at present, electronic equipment is usually by wired or wireless communication network, using various communication protocols come from network
Upload resource and/or upload resource to network.At present, the communication protocol of mainstream includes General Packet Radio Service(GPRS)Or
Person's enhanced data rates global system for mobile communications(GSM)Evolution technology(EDGE), wideband code division multiple access(WCDMA)And
Asymmetrical digital subscriber line(ADSL).These communication protocols use asymmetrical connection structure, under this configuration, uplink band
Width will be significantly smaller than downlink bandwidth(Upstream bandwidth is typically a quarter of downlink bandwidth or so).Then, deposit in the prior art
Influence of the above problem for the uplink link between electronic equipment and content server be often far longer than for
The influence of downlink transfer link, so as to delay the whole process that electronic equipment is interacted with content server on the whole.
Therefore, if inventors have contemplated that go out can be to existing in a series of HTTP requests under same TCP connections
A large amount of identical Overhead be compressed optimization, then will can be substantially reduced HTTP Overhead for network bandwidth
Consumption, and information processing method and information processing system are proposed according to this imagination and asked to solve technology of the prior art
Topic.
Hereinafter, information processing method according to embodiments of the present invention and information processing will be described with reference to figure 6 and Fig. 7
System.It will illustrate the embodiment of the present invention in following scene, wherein the electronic equipment in information processing system is chosen for moving
Mobile phone, is chosen for the content server for providing web service, by information by the content server in information processing system
Processing method is applied to each into content server request of loading webpage from mobile phone in the less uplink of bandwidth
During a object.
It should be noted that the present invention is not limited thereto.But it the invention applies also to other one or more
Electronic equipment(For example, personal computer, tablet computer, mobile phone, multimedia player, personal digital assistant, ultrabook,
Smart television etc.)With for providing various network services(Such as, audio and video chat, game on line, Dropbox storage)Content clothes
Uplink and/or any interaction of downlink between business device.
Fig. 6 illustrates information processing method according to embodiments of the present invention, and Fig. 7 illustrate it is according to embodiments of the present invention
Information processing system 300.
The illustrated information processing methods according to embodiments of the present invention of Fig. 6 can be applied at the illustrated information of Fig. 7
Reason system 300.As illustrated in figure 7, which includes:Electronic equipment 10, local proxy server 100, net
Network proxy server 200 and content server 20.
The electronic equipment 10 is located locally end with the local proxy server 100.Also, in a preferable example,
The local proxy server 100 can be integrated into the electronic equipment 10 as a function module and/or hardware unit.Example
Such as, when electronic equipment 10 is mobile phone, which can be the operating system of the mobile phone(Example
Such as, apple(Apple)The iOS of company, Google(Google)The Android of company(Android)And Microsoft(Microsoft)Company
Form phone(WP)Deng)In a software module.
In addition, alternatively, since the electronic equipment 10 and the local proxy server 100 are located at network-side, so both
Between transmission bandwidth be untethered, it is therefore contemplated that even if transfer therebetween largely repeat Overhead,
It will not have any impact to the bandwidth of magnanimity.At this moment, alternatively, in another example, the electronic equipment 10 and the local
Proxy server 100 can be separated equipment.For example, the local proxy server 100 can be integrated in for providing network
In the gateway device of connection, so that uniformly one or more electronic equipments 10 into its coverage provide packet pressure
Contracting service.
The network proxy server 200 is located at network-side with the content server 20(Or high in the clouds).Also, in an example
In, which can be integrated into the content server 20 as a function module and/or hardware unit
In.Since an electronic equipment 10 can send access request to multiple content servers 20, so each content server
20 are required for being integrated with the network proxy server 200, to perform the relevant treatment of the present invention.
Further, since the network proxy server 200 is located at network-side with the content server 20, so between the two
Transmission bandwidth be it is untethered, therefore, even if same it is considered that transfer the Overhead largely repeated therebetween,
It will not have any impact to the bandwidth of magnanimity.At this moment, alternatively, in another example, the network proxy server 200 and one
A or multiple content servers 20 can be separated server, by the same network proxy server 200 of network-side to
One or more content servers 20 provide data packet de-compression service, to mitigate in each content server 20
Integrate the installation cost of the network proxy server 200.
The local side can pass through wireless network with the network-side(Alternatively, cable network)And link together.
With Fig. 2, which includes:Original packet interception unit 110, redundant field are true
Order member 120, compressed packet generation unit 130 and compressed packet delivery unit 140.In addition, the local proxy server 100
Further include:Compression Strategies acquiring unit 150.
With Fig. 4, which includes:Compressed packet receiving unit 210, packed field are true
Order member 220, original packet generation unit 230 and original packet delivery unit 240.In addition, the local proxy server 100
Further include:Compression Strategies acquiring unit 250.
As illustrated in FIG. 6, information processing method according to embodiments of the present invention includes:
In step S310, original data packet is transmitted to content server.
Specifically, when user is wished by electronic equipment 10(For example, mobile phone)Remotely to access content server
20(Such as, there is provided the Website server of web browser service)When, the user can open in the electronic equipment 10 first
Browser, and input in the Web address field of the browser network address of the Website server.
Next, the browser of the electronic equipment 10 will be asked based on TCP connections to initiate HTTP to the content server 20
Ask, that is to say, that the electronic equipment 10 by content server 20 send for open the website webpage on some objects
A series of HTTP requests.Since the HTTP request is that is, it is to have included without the HTTP request of any processing in the present invention
The packet of whole http request header, so hereinafter referred to as original data packet.
In step s 320, original data packet is intercepted.
In the prior art, after electronic equipment 10 transmits original data packet to content server 20, the original number
Content server 20 will be transferred directly to by the uplink of network channel according to packet.However, in the present invention, it is being transmitted to
Before network channel, the processing for removing redundancy is performed to the original data packet by local proxy server 100.
Specifically, in local proxy server 100, original packet interception unit 110 intercepts inside by electronic equipment 10
Hold the original data packet that server 20 transmits, and other units being sent in local proxy server 100 come pair
The original data packet is compressed processing.
In step S330, Compression Strategies are obtained.
Specifically, Compression Strategies acquiring unit 150 obtains the Compression Strategies for being used for that compression to be performed to the original data packet.
In one example, the Compression Strategies can be by the administrator of Website server and the user of electronic equipment according to
Experience, used agreement etc. decide through consultation and all remained unchanged during each use afterwards in advance, i.e. the Compression Strategies
Without being reacquired every time when original packet interception unit 110 intercepts original data packet.Also, for example, it can be with
It is stored in the memory of the electronic equipment 10 or local proxy server 100.At this moment, Compression Strategies acquiring unit 150 can
Directly to read the Compression Strategies from memory.
In another example, the Compression Strategies can also be transmitted every time to content server 20 in electronic equipment 10 it is original
During packet, or after new TCP connections are set up every time, consult generation by both.
The Compression Strategies that Fig. 8 illustrates according to a first embodiment of the present invention are handled through consultation, and Fig. 9 illustrates according to the present invention
One embodiment is used for the unit that Compression Strategies are consulted in information processing system, and Figure 10 a are illustrated according to the present invention in fact
The first packet of example is applied, Figure 10 b illustrate compression transmitting request according to embodiments of the present invention, and Figure 10 c illustrate basis
The compression transmission response of the embodiment of the present invention, and Figure 10 d illustrate compressed data packet according to embodiments of the present invention.In Fig. 8
In being handled through consultation with the illustrated Compression Strategies of Fig. 9, which generates in network proxy server 200.
As illustrated in fig. 9, compressed to be realized between local proxy server 100 and network proxy server 200
Strategy is handled through consultation, which further includes:First packet interception unit 161, compression request generation unit
162nd, compression request delivery unit 163, compression response receiving unit 164 and Compression Strategies extraction unit 165.Meanwhile the network
Proxy server 200 further includes:Compression request receiving unit 261, packet request extraction unit 262, Compression Strategies generation unit
263rd, compression response generation unit 264 and compression response delivery unit 265.
As illustrated in Figure 8, Compression Strategies according to a first embodiment of the present invention handle through consultation including:
In step S410, the first packet is intercepted.
Before electronic equipment 10 is transmitted through the original data packet of overcompression to content server 20, therebetween must
Appropriate Compression Strategies must be established, in order to avoid occur causing information to be lost due to the compression processing of mistake.For this reason, the electronics is set
Standby 10 can transmit first packet first to the content server 20.For example, first packet can be surveyed
Try dedicated packet.
At this moment, in local proxy server 100, the first packet interception unit 161 is in original packet interception unit 110
Before intercepting the original data packet transmitted from electronic equipment 10 to content server 20, first packet is intercepted first,
Such as first packet can be such as the illustrated http request headers of Figure 10 a.
Alternatively, which obviously can also be directly actually subjected to content server 20 using electronic equipment 10
First packet in the original data packet of transmission, or can directly produce one by local proxy server 100
Test data packets.
In the step s 420, compression transmitting request is generated by adding compression request information.
Compression request generation unit 162 is believed by adding compression request in illustrated first packets of such as Figure 10 a
Cease to generate compression transmitting request, the compression request information is to be used to ask in the local proxy server and the network
The information of transmission is compressed between proxy server to each packet.Such as the compression transmitting request can be such as figure
The illustrated http request headers of 10b, it is clear that the compression transmitting request with the addition of on the basis of first packet to be used for
Compression request information " the Compress for asking Compression Strategies to be consulted:true”.
In step S430, transmission compression transmitting request.
Compression request delivery unit 163 transmits the compression transmitting request to network proxy server 200.At this time, in net
The other end of network, in network proxy server 200, compression request receiving unit 261 is in compressed packet receiving unit 210 from originally
Before the packet of 100 receiving compressed data of ground proxy server, compression transmitting request is received from local proxy server 100.
In step S440, the first packet of extraction and compression transmitting request.
The extraction from compression transmitting request of packet request extraction unit 262 is transmitted from electronic equipment 10 to content server 20
The first packet and compression request information, the compression request information be used for ask the local proxy server with
The information of transmission is compressed between the network proxy server to each packet.
In step S450, Compression Strategies are generated.
Compression Strategies generation unit 263 generates Compression Strategies according to first packet.
In one example, the Compression Strategies generation unit 263 include first packet one or more
A information field is determined 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 the packed field is less than institute
The size of reference information field is stated, and the packed field is, for example, the identifier for being used to identify the reference information field(It is wrapped
Include numeral, letter, symbol etc.);And generate the pressure for the correspondence for including the reference information field and the packed field
Contracting strategy.
In another example, the universality and high efficiency in order to ensure the Compression Strategies in same TCP connections, preferably
Ground, the Compression Strategies generation unit 263 can be true in the one or more information fields for including first packet
Be set to after one or more reference information fields, further compare from electronic equipment 10 it is receiving, belong to same TCP connections
The first packet and other packets between have what reference information field be repeat, and only to repeat it is each
A reference information field distribution packed field, so that it is determined that in follow-up transmit process which Overhead compression can be performed to
Processing.
In another example, the Compression Strategies can also by Compression Strategies generation unit 263 by rule of thumb data setting or
Person is manually set by the administrator of network proxy server 200.
The Compression Strategies specifically can be including being used to distinguish the connection identifier (CID of different TCP connections, can be compressed
Overhead expenditure item and header identifier for distinguishing different Overhead etc..
In addition, the Compression Strategies generation unit 263 can also notify network proxy server 200 to store the Compression Strategies,
To use later.
In step S460, generation compression transmission response.
Compression response generation unit 264 generates the compression transmission response in response to the compression transmitting request, the compression
Transmission response includes the Compression Strategies.Such as compression transmission response can be such as the illustrated http request headers of Figure 10 c,
Obviously, compression transmission response is with the addition of on the basis of first packet for determining which Overhead can carry out
Compression and its relevant information " Compress-field of respective identifier:Accept-Charset=1,User-Agent=2,
Cookie=3,Accept-Encoding=4,Accept-Language=5,referrer=6,Host=7,Proxy-
The@1198 " of Connection=8, i.e., with the relevant information of Compression Strategies.
That is, in the Compression Strategies, the expenditure item for the Overhead that can be compressed includes:Accept-
Charset, User-Agent, Cookie, Accept-Encoding, Accept-Language, referrer, Host and
Proxy-Connection;Their corresponding header identifiers are 1 to 8;And this Compression Strategies is suitable for following HTTP request,
The connection identifier (CID of TCP connections belonging to it is 1198.
In step S470, transmission compression transmission response.
Compression response delivery unit 265 transmits compression transmission response to the local proxy server 100.At this time, in net
The other end of network, in local proxy server 100, compression response receiving unit 164 is received from network proxy server 200 presses
Contracting transmission response, the compression transmission response include the Compression Strategies.
In step S480, Compression Strategies are extracted.
Compression Strategies extraction unit 165 extracts Compression Strategies from the compression transmission response.At this moment, which takes
What business device 100 can be informed in that Compression Strategies include is used to distinguish the connection identifier (CID of different TCP connections, can be compressed
Overhead expenditure item and header identifier for distinguishing different Overhead etc..
So far, the Compression Strategies between local proxy server 100 and network proxy server 200 consult into
Work(, thereafter can be compressed the transferring content for the follow-up HTTP packets for belonging to same TCP connections.That is,
After the negotiation of Compression Strategies is completed, the follow-up HTTP between local proxy server 100 and network proxy server 200
In the transmitting procedure of packet, packed field can be used(Compress-field)In identifier(It is for example, digital)Come
Substitute corresponding field.
In addition, the Compression Strategies extraction unit 165 can also notify local proxy server 100 to store the Compression Strategies,
To use later.
The Compression Strategies that Figure 11 illustrates according to a second embodiment of the present invention are handled through consultation, and Figure 12 is illustrated according to this hair
Bright second embodiment is used for the unit that Compression Strategies are consulted in information processing system.In the illustrated compressions of Figure 11 and Figure 12
In policy conferring processing, which generates in local proxy server 100.
As illustrated in Figure 12, compressed to be realized between local proxy server 100 and network proxy server 200
Strategy is handled through consultation, which further includes:First packet interception unit 171, Compression Strategies generation unit
172nd, compression request generation unit 173, compression request delivery unit 174 and compression response receiving unit 175.Meanwhile the network
Proxy server 200 further includes:Compression request receiving unit 271, packet request extraction unit 272, Compression Strategies extraction unit
273rd, compression response generation unit 274 and compression response delivery unit 275.
As illustrated in Figure 11, Compression Strategies according to a first embodiment of the present invention handle through consultation including:
In step S510, the first packet interception unit 171 is intercepted from the electronic equipment to the content service first
First packet of device transmission.
In step S520, Compression Strategies generation unit 172 generates the compression plan according to first packet
Slightly.The Compression Strategies can specifically include being used to distinguish the connection identifier (CID of different TCP connections, the expense that can be compressed
The expenditure item of information and header identifier for distinguishing different Overhead etc..
In addition to the executive agent difference for generating Compression Strategies, the step S520 in second embodiment can be with
Step S450 in one embodiment is identical, and therefore omits the detailed description.
In step S530, compression request generation unit 173 in first packet by adding compression request
Information generates compression transmitting request, and the compression request information is to be used to ask in the local proxy server and the net
The information of transmission is compressed between network proxy server to each packet, and including the Compression Strategies.
In step S540, compression request delivery unit 174 transmits the compression to the network proxy server 200 and passes
Send request.At this time, in network proxy server 200, compression request receiving unit 271 is received from local proxy server 100
Compress transmitting request.
In step S550, the extraction from the compression transmitting request of packet request extraction unit 272 is set by the electronics
Standby 10 the first packets transmitted to the content server 20 and compression request information, the compression request information is to be used for
Request is compressed transmission between the local proxy server and the network proxy server to each packet
Information, and including the Compression Strategies.
In step S560, Compression Strategies extraction unit 273 extracts the Compression Strategies from the compression transmitting request,
So that network proxy server 200 knows to the Compression Strategies performed in local proxy server 100.
In step S570, compression response generation unit 274 generates the compression transmission in response to the compression transmitting request
Response.
In step S580, compression response delivery unit 275 transmits the compression transmission to local proxy server 100 and rings
Should.At this time, in local proxy server 100, compression response receiving unit 175 is received from the network proxy server 200
Compression transmission response, and it follows that the Compression Strategies in local proxy server 100 and network proxy server 200
Between consult successfully.
Next, come referring back to Fig. 6 and Fig. 7 continuing on information processing method and information according to embodiments of the present invention
Processing system.
In step S340, the redundancy field in original data packet is determined.
After Compression Strategies acquiring unit 150 gets Compression Strategies, redundant field determination unit 120 is according to compression plan
Slightly determine the redundancy field in the original data packet.
Specifically, which is determined as waiting to compare by the information field in the original data packet
Compared with information field;By the information field to be compared compared with the reference information field in the Compression Strategies;If institute
It is identical with the reference information field to state information field to be compared, then the information field to be compared is determined as the original number
According to the redundancy field in packet.
Determined for example, working as in the Compression Strategies, the expenditure item for the Overhead that can be compressed includes:
Accept-Charset、User-Agent、Cookie、Accept-Encoding、Accept-Language、referrer、
Host and Proxy-Connection;Their corresponding header identifiers are 1 to 8;And the connection identifier (CID of TCP connections is
When 1198, which can determine the identifier of the TCP connections of current HTTP request first, if worked as
The identifier of the TCP connections of preceding HTTP request is 1198, illustrates current HTTP request and the HTTP request category in Compression Strategies
In the Compression Strategies can be applicable in same TCP connections, i.e., current HTTP request.
Next, the information field in the original data packet is determined as waiting to compare by the redundant field determination unit 120
Compared with information field, and then by the information field to be compared compared with the reference information field in the Compression Strategies,
Determine in current HTTP request whether to include expenditure item Accept-Charset, User-Agent, Cookie,
Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection.Also, if bag
These expenditure items are included, then these expenditure items are determined as in the original data packet by the redundant field determination unit 120
Redundancy field.
In step S350, compressed data packet is generated.
After redundant field determination unit 120 determines redundancy field, which passes through
The redundancy field is compressed to generate compressed data packet.
Specifically, the compressed packet generation unit 130 according to the Compression Strategies acquired in Compression Strategies acquiring unit 150 come
Determine packed field corresponding with the redundancy field;The redundancy field is replaced using the packed field;
Compressed data packet is generated, the compressed data packet includes the packed field.
For example, when the redundant field determination unit 120 is determined to include expenditure item in original data packet
Accept-Charset、User-Agent、Cookie、Accept-Encoding、Accept-Language、referrer、
After Host and Proxy-Connection, which believes according to the benchmark included in Compression Strategies
The correspondence of field and the packed field is ceased, these expenditure items are replaced with into corresponding header identifier 1 to 8 respectively,
And generate compressed data packet.For example, the compressed data packet can be such as the illustrated http request headers of Figure 10 d.
In addition, each pressure that the compressed data packet includes except being included in Compression Strategies can be seen that according to Figure 10 d
Outside contracting field, it is also possible to including the information field do not replaced, such as " 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 not repeated mutually among the different http request headers in same TCP connections
Field.
In step S360, compressed data packet is transmitted.
After the compressed packet generation unit 130 generates compressed data packet, compressed packet delivery unit 140 passes through net
Network transmits the compressed data packet to network proxy server 200.At this time, in network proxy server 200, compressed packet
Receiving unit 210 is grouped by network from 100 receiving compressed data of local proxy server.
In step S370, Compression Strategies are obtained.
After the compressed packet receiving unit 210 receives compressed data packet, Compression Strategies acquiring unit 250 obtains
Compression Strategies.
Specifically, which can be generated by the Compression Strategies generation unit 263 in network proxy server 200
, such as Compression Strategies according to a first embodiment of the present invention are handled through consultation described;Or can be by local agent service
What the Compression Strategies generation unit 172 in device 100 generated, as Compression Strategies according to a second embodiment of the present invention handle institute through consultation
Description.Certainly, depending on specific practice, which can also be that the administrator of information processing system is previously set
, and in whole TCP connection procedures, even during across different TCP connections, remain unchanged, so also
Without reacquiring Compression Strategies after original data packet is intercepted every time.
In step S380, the packed field in compressed data packet is determined.
After the Compression Strategies acquiring unit 250 obtains Compression Strategies, packed field determination unit 220 is according to the pressure
Strategy contract to determine the packed field in the compressed data packet.
Specifically, the information field in the compressed data packet is determined as to be compared by packed field determination unit 220
Information field;By the information field to be compared compared with the packed field in the Compression Strategies;It is if described
Information field to be compared is identical with the packed field, then the information field to be compared is determined as the compressed data packet
In packed field.
For example, it is such as the illustrated HTTP requests of Figure 10 d that the compressed packet receiving unit 210, which receives compressed data packet,
Header.Also, the Compression Strategies acquiring unit 250 is determined in the Compression Strategies, the Overhead that can be compressed
Expenditure item includes:Accept-Charset、User-Agent、Cookie、Accept-Encoding、Accept-
Language, referrer, Host and Proxy-Connection;Their corresponding header identifiers are 1 to 8;And TCP
The connection identifier (CID of connection is 1198.
At this moment, which can determine the identifier of the TCP connections of current HTTP request first,
If the identifier of the TCP connections of current HTTP request is 1198, illustrate current HTTP request and the HTTP in Compression Strategies
Request belongs to can be applicable in the Compression Strategies in same TCP connections, i.e., current HTTP request.
Next, the information field in the compressed data packet is determined as waiting to compare by the packed field determination unit 220
Compared with information field, and then by the information field to be compared compared with the packed field in the Compression Strategies,
Determine whether include the packed field being identified by identifier 1 to 8 in current HTTP request.Also, if including
These identifiers, then the packed field determination unit 220 these identifiers are determined as to the compression in the compressed data packet
Field.
In step S390, original data packet is generated.
After packed field determination unit 220 determines packed field, original packet generation unit 230 is by described
Packed field is unziped it to generate original data packet.
Specifically, original packet generation unit 230 determines corresponding with the packed field according to the Compression Strategies
Reference information field;The packed field is replaced using the reference information field;Original data packet is generated, it is described original
Packet includes the reference information field.
For example, when the packed field determination unit 220 determine to include in compressed data packet identifier 1 to 8 it
Afterwards, the original packet generation unit 230 is according to according to the reference information field and the packed field included in Compression Strategies
Correspondence, by these header identifiers replace with respectively corresponding expenditure item Accept-Charset, User-Agent,
Cookie, Accept-Encoding, Accept-Language, referrer, Host and Proxy-Connection, also
It is to say, according to identifier(It is for example, digital)Carry out polishing http request header, and generate original data packet, number will be compressed
Original data packet is decompressed or reverted to according to packet.For example, the original data packet can be the form as illustrated in Figure 10 a
Http request header.
In addition, each base that the original data packet includes except being included in Compression Strategies can be seen that according to Figure 10 a
Outside calibration information field, it is also possible to including the information field do not replaced, such as " 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 among the different http request headers in same TCP connections
The field not repeated mutually.
In step S400, original data packet is transmitted.
After original packet generation unit 230 generates original data packet, original packet delivery unit 240 is in the original
Content server 20 pointed by the destination address that beginning packet includes transmits the original data packet.
Next, the content server 20 can be set according to the original data packet that electronic equipment 10 transmits to search electronics
Standby 10 requested respective resources, and return to corresponding resource to the electronic equipment 10.
Obviously, when the content server 20 includes the data of respective resources to the electronic equipment 10 return in the downlink
, equally can be former to be transmitted between content server 20 and network proxy server 200 using above-mentioned processing procedure during packet
Beginning packet, performs the original data packet in network proxy server 200 and compresses and generate compressed data packet,
The compressed data packet is transmitted between network proxy server 200 and local proxy server 100, and in local agent service
Is performed by decompression and is contractd for the compressed data packet in device 100 and recovers original data packet, in local proxy server 100 and electronics
Original data packet is transmitted between equipment 10.
It can be seen from the above that using information processing method and information processing system according to embodiments of the present invention, it is being located locally
The electronic equipment at end and between the content server of network-side, realizes a kind of framework of double-deck agency.I.e. in local side,
HTTP request bag that electronic equipment is sent is intercepted using local agent and by the HTTP request bag belonged under same TCP connections
Header is compressed, then issues high in the clouds agency;Beyond the clouds, the header of HTTP request is carried out decompression recovery by high in the clouds agency, then is turned
The content server for issuing such as website etc carries out subsequent treatment.
Therefore, in an embodiment of the present invention, use the double-deck structure acted on behalf of come so that local agent and high in the clouds act on behalf of into
Row cooperates, to be compressed to the http request header to be transmitted, so as to reduce due to being repeated in HTTP request bag
The bandwidth brought of redundancy and flow consumption, save user and transmitted in the uplink of network and/or downlink
Flow, add network access speed, improve bandwidth availability ratio.
In addition, the resource pole that solution according to embodiments of the present invention consumes in electronic equipment or content server
It is few, it is almost no impact for whole system, can be in various electronic equipment rapid deployment applications.Moreover, the solution party
Case can be adapted for any browser, also or other web applications(Such as, audio and video chat tool or online trip
Play software etc.), and processing picture, hypertext markup language can be not only able to(HTML), the network such as network style sheet
Element, but also can be with the overhead field in processing protocol header, therefore further reduce the network that HTTP data are consumed
Bandwidth.
It should be noted that although information processing according to embodiments of the present invention is hereinbefore described in a particular order
Method, but the present invention is not limited thereto.For example it will be clear that step S330 and step S370 can be only only performed once, and not exist
Original data packet is got every time all to have to carry out afterwards.Moreover, step S330 can be held before step S310 and S320
Row concurrently performs, and similarly, step S370 can be performed or concurrently performed before step S360.
Furthermore it is preferred that although hereinbefore information processing method according to embodiments of the present invention is applied in uplink
It is used in link during being compressed to the packet for belonging to same TCP connections, but the present invention is not limited thereto.Example
Such as, information processing method according to embodiments of the present invention can be equally applied in the downlink or in uplink and downlink chain
The packet for belonging to different TCP connections is compressed in both roads.
Through the above description of the embodiments, those skilled in the art can be understood that the present invention can be by
Realized in the mode of software plus required hardware platform, naturally it is also possible to all implemented by software or hardware.Based on this
The understanding of sample, what technical scheme contributed background technology in whole or in part can be in the form of software product
Embody, which can be stored in storage medium, such as ROM/RAM, disk, CD, including some
Instruction is used so that a computer equipment(Can be personal computer, server, or network equipment etc.)Perform the present invention
Method described in some parts of each embodiment or embodiment.
Each embodiment of the present invention has been described in detail above.However, it should be appreciated by those skilled in the art that do not taking off
In the case of from the principle of the present invention and spirit, these embodiments can be carried out with various modifications, combination or sub-portfolio, and so
Modification should fall within the scope of the present invention.
Claims (20)
1. a kind of information processing method, the method is applied to the local proxy server for being located locally end, the local agent
Server is connected to the electronic equipment positioned at the local side, and the local proxy server is also by network connection to being located at net
The network proxy server at network end, the network proxy server are connected to the content server positioned at the network-side so that
The electronic equipment can access the content service via the local proxy server and the network proxy server
Device, it is characterised in that the described method includes:
Intercept the original data packet transmitted from the electronic equipment to the content server;
The redundancy field in the original data packet is determined according to Compression Strategies;
Compressed data packet is generated by being compressed to the redundancy field;And
The compressed data packet is transmitted to the network proxy server;
Before the step of redundancy field during the original data packet is determined according to Compression Strategies, the method is also
Including:
Intercept the first packet transmitted from the electronic equipment to the content server;
The Compression Strategies are generated according to first packet;
Wherein, by being compressed the redundancy field to generate compressed data packet the step of, includes:
Packed field corresponding with the redundancy field is determined according to the Compression Strategies;
The redundancy field is replaced using the packed field;
Compressed data packet is generated, the compressed data packet includes the packed field.
2. the method according to claim 1, it is characterised in that in the original data packet is determined according to Compression Strategies
Before the step of redundancy field, the method further includes:
Intercept the first packet transmitted from the electronic equipment to the content server;
Compression transmitting request, the compression request letter are generated by adding compression request information in first packet
Breath is to be used to ask to press each packet between the local proxy server and the network proxy server
Contract the information transmitted;
The compression transmitting request is transmitted to the network proxy server;
Compression transmission response is received from the network proxy server, the compression transmission response includes the Compression Strategies;
The Compression Strategies are extracted from the compression transmission response.
3. the method according to claim 1, it is characterised in that in the original data packet is determined according to Compression Strategies
Before the step of redundancy field, the method further includes:
Compression transmitting request, the compression request letter are generated by adding compression request information in first packet
Breath is to be used to ask to press each packet between the local proxy server and the network proxy server
Contract the information transmitted, and including the Compression Strategies;
The compression transmitting request is transmitted to the network proxy server;
Compression transmission response is received from the network proxy server.
4. the method according to claim 1, it is characterised in that the Compression Strategies are generated according to first packet
Step includes:
One or more information fields that first packet includes are determined as one or more reference information fields;
To each reference information field distribution packed field, the size of the packed field is less than the reference information field
Size;
Generation includes the Compression Strategies of the correspondence of the reference information field and the packed field.
5. the method according to claim 1, it is characterised in that determined according to Compression Strategies superfluous in the original data packet
The step of remaining information field, includes:
Information field in the original data packet is determined as information field to be compared;
By the information field to be compared compared with the reference information field in the Compression Strategies;
If the information field to be compared is identical with the reference information field, the information field to be compared is determined as
Redundancy field in the original data packet.
6. a kind of information processing method, the method is applied to the network proxy server positioned at network-side, the network agent
Server is connected to the content server positioned at the network-side, and the network proxy server is also by network connection to being located at
The local proxy server of local side, the local proxy server are connected to the electronic equipment positioned at the local side so that
The electronic equipment can access the content service via the local proxy server and the network proxy server
Device, it is characterised in that the described method includes:
It is grouped from the local proxy server receiving compressed data;
The packed field in the compressed data packet is determined according to Compression Strategies;
Original data packet is generated by being unziped it to the packed field;And
The original data packet is transmitted to the content server;
Before the step of packed field during the compressed data packet is determined according to Compression Strategies, the method is also wrapped
Include:
Compression transmitting request is received from the local proxy server;
The first packet transmitted from the electronic equipment to the content server is extracted from the compression transmitting request;
Compression Strategies are generated according to first packet;
Wherein, by unziping it the packed field to generate original data packet the step of, includes:
Reference information field corresponding with the packed field is determined according to the Compression Strategies;
The packed field is replaced using the reference information field;
Original data packet is generated, the original data packet includes the reference information field.
7. method according to claim 6, it is characterised in that in the compressed data packet is determined according to Compression Strategies
Before the step of packed field, the method further includes:
The compression request information transmitted from the electronic equipment to the content server is extracted from the compression transmitting request,
The compression request information is to be used to ask between the local proxy server and the network proxy server to each
Packet is compressed the information of transmission;
The compression generated in response to the compression transmitting request transmits response, and the compression transmission response includes the compression plan
Slightly;
To the local proxy server transmission compression transmission response.
8. method according to claim 6, it is characterised in that the Compression Strategies are generated according to first packet
Step includes:
One or more information fields that first packet includes are determined as one or more reference information fields;
To each reference information field distribution packed field, the size of the packed field is less than the reference information field
Size;
Generation includes the Compression Strategies of the correspondence of the reference information field and the packed field.
9. method according to claim 6, it is characterised in that the pressure in the compressed data packet is determined according to Compression Strategies
The step of contracting field, includes:
Information field in the compressed data packet is determined as information field to be compared;
By the information field to be compared compared with the packed field in the Compression Strategies;
If the information field to be compared is identical with the packed field, the information field to be compared is determined as described
Packed field in compressed data packet.
10. method according to claim 6, it is characterised in that in the compressed data packet is determined according to Compression Strategies
Packed field the step of before, the method further includes:
Compression transmitting request is received from the local proxy server;
The first packet transmitted from the electronic equipment to the content server is extracted from the compression transmitting request
With compression request information, the compression request information is to be used to ask to take in the local proxy server and the network agent
The information of transmission is compressed between business device to each packet, and including the Compression Strategies;
The Compression Strategies are extracted from the compression request information;
The compression generated in response to the compression transmitting request transmits response;
To the local proxy server transmission compression transmission response.
11. a kind of local proxy server, the local proxy server is located locally end, the local proxy server connection
To the electronic equipment positioned at the local side, the local proxy server is also by network connection to the network positioned at network-side
Proxy server, the network proxy server are connected to the content server positioned at the network-side so that the electronics is set
Standby that the content server can be accessed via the local proxy server and the network proxy server, its feature exists
In the local proxy server includes:
Original packet interception unit, for intercepting the initial data transmitted from the electronic equipment to the content server point
Group;
Redundant field determination unit, for determining the redundancy field in the original data packet according to Compression Strategies;
Compressed packet generation unit, for generating compressed data packet by being compressed to the redundancy field;With
And
Compressed packet delivery unit, for transmitting the compressed data packet to the network proxy server;
The local proxy server further includes:
First packet interception unit, for determining the initial data according to Compression Strategies in the redundant field determination unit
Before redundancy field in packet, the first data point transmitted from the electronic equipment to the content server are intercepted
Group;
Compression Strategies generation unit, for generating the Compression Strategies according to first packet;
Wherein, the compressed packet generation unit determines pressure corresponding with the redundancy field according to the Compression Strategies
Contracting field;The redundancy field is replaced using the packed field;Generate compressed data packet, the compressed data point
Group includes the packed field.
12. local proxy server according to claim 11, it is characterised in that the local proxy server further includes:
First packet interception unit, for determining the initial data according to Compression Strategies in the redundant field determination unit
Before redundancy field in packet, the first data point transmitted from the electronic equipment to the content server are intercepted
Group;
Compression request generation unit, is asked by adding compression request information in first packet to generate compression transmission
Ask, the compression request information is to be used to ask between the local proxy server and the network proxy server to each
A packet is compressed the information of transmission;
Compression request delivery unit, for transmitting the compression transmitting request to the network proxy server;
Compression response receiving unit, for receiving compression transmission response from the network proxy server, the compression transmission is rung
It should include the Compression Strategies;
Compression Strategies extraction unit, for extracting the Compression Strategies from the compression transmission response.
13. local proxy server according to claim 11, it is characterised in that the local proxy server further includes:
Compression request generation unit, for being passed by adding compression request information in first packet to generate compression
Request is sent, the compression request information is to be used to ask between the local proxy server and the network proxy server
The information of transmission is compressed to each packet, and including the Compression Strategies;
Compression request delivery unit, for transmitting the compression transmitting request to the network proxy server;
Compression response receiving unit, for receiving compression transmission response from the network proxy server.
14. local proxy server according to claim 11, it is characterised in that the Compression Strategies generation unit is by described
One or more information fields that one packet includes are determined as one or more reference information fields;To each benchmark
Information field distributes packed field, and the size of the packed field is less than the size of the reference information field;Generation includes institute
State the Compression Strategies of the correspondence of reference information field and the packed field.
15. local proxy server according to claim 11, it is characterised in that the redundant field determination unit is by the original
Information field in beginning packet is determined as information field to be compared;By the information field to be compared and the Compression Strategies
In reference information field be compared;If the information field to be compared is identical with the reference information field, by institute
State the redundancy field that information field to be compared is determined as in the original data packet.
16. a kind of network proxy server, the network proxy server is located at network-side, the network proxy server connection
To the content server positioned at the network-side, the network proxy server is also by network connection to the sheet positioned at local side
Ground proxy server, the local proxy server are connected to the electronic equipment positioned at the local side so that the electronics is set
Standby that the content server can be accessed via the local proxy server and the network proxy server, its feature exists
In the network proxy server includes:
Compressed packet receiving unit, for being grouped from the local proxy server receiving compressed data;
Packed field determination unit, for determining the packed field in the compressed data packet according to Compression Strategies;
Original packet generation unit, for generating original data packet by being unziped it to the packed field;And
Original packet delivery unit, for transmitting the original data packet to the content server;
The network proxy server further includes:
Compression request receiving unit, for determining the compressed data according to Compression Strategies in the packed field determination unit
Before packed field in packet, compression transmitting request is received from the local proxy server;
Packet request extraction unit, for from the compression transmitting request extraction from the electronic equipment to the content service
First packet of device transmission,
Compression Strategies generation unit, for generating Compression Strategies according to first packet;
The original packet generation unit determines reference information word corresponding with the packed field according to the Compression Strategies
Section;The packed field is replaced using the reference information field;Generate original data packet, the original data packet bag
Include the reference information field.
17. network proxy server according to claim 16, it is characterised in that the network proxy server further includes:
The packet request extraction unit, for from the compression transmitting request extraction from the electronic equipment to the content
Server transmission compression request information, the compression request information be used for ask the local proxy server with it is described
The information of transmission is compressed between network proxy server to each packet;
Compression response generation unit, the compression for generating in response to the compression transmitting request transmit response, and the compression passes
Response is sent to include the Compression Strategies;
Compression response delivery unit, for transmitting response to the local proxy server transmission compression.
18. network proxy server according to claim 16, it is characterised in that the Compression Strategies generation unit is by described
One or more information fields that one packet includes are determined as one or more reference information fields;To each benchmark
Information field distributes packed field, and the size of the packed field is less than the size of the reference information field;Generation includes institute
State the Compression Strategies of the correspondence of reference information field and the packed field.
19. network proxy server according to claim 16, it is characterised in that the packed field determination unit is by the pressure
Information field in contracting packet is determined as information field to be compared;By the information field to be compared and the Compression Strategies
In packed field be compared;If the information field to be compared is identical with the packed field, will be described to be compared
Information field is determined as the packed field in the compressed data packet.
20. network proxy server according to claim 16, it is characterised in that the network proxy server further includes:
Compression request receiving unit, for determining the compressed data according to Compression Strategies in the packed field determination unit
Before packed field in packet, compression transmitting request is received from the local proxy server;
Packet request extraction unit, for from the compression transmitting request extraction from the electronic equipment to the content service
First packet of device transmission and compression request information, the compression request information are to be used to ask to take in the local agent
The information of transmission is compressed between business device and the network proxy server to each packet, and including the compression
Strategy;
Compression Strategies extraction unit, for extracting the Compression Strategies from the compression request information;
Compression response generation unit, the compression for generating in response to the compression transmitting request transmit response;
Compression response delivery unit, for transmitting response to the local proxy server transmission compression.
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 CN103873443A (en) | 2014-06-18 |
CN103873443B true 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) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106357829B (en) * | 2016-11-24 | 2019-09-06 | 北京友道互联电子商务有限公司 | A kind of information filtering stacking method and device based on HTTP |
US10348897B2 (en) * | 2017-06-27 | 2019-07-09 | Avaya Inc. | System and method for reducing storage space in a contact center |
CN107332909B (en) | 2017-07-03 | 2020-03-31 | 中兴通讯股份有限公司 | Method and device for realizing data transmission |
CN110019012B (en) * | 2017-12-01 | 2021-05-11 | 中国电信股份有限公司 | Data preprocessing method, data preprocessing device and computer-readable storage medium |
CN111225058B (en) * | 2020-01-09 | 2023-11-03 | 深圳壹账通智能科技有限公司 | File uploading method and related products |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1349702A (en) * | 1999-02-26 | 2002-05-15 | 艾利森电话股份有限公司 | Adaptive header compression for packet communications |
CN1522526A (en) * | 2001-06-29 | 2004-08-18 | Ħ��������˾ | Apparatus and method for implementing text-based compression using store and flush methods |
CN1592272A (en) * | 2003-09-04 | 2005-03-09 | 国际商业机器公司 | Method for header compression |
CN1968211A (en) * | 2006-11-23 | 2007-05-23 | 华为技术有限公司 | Message header compression method, compressor and transmission system |
CN101350812A (en) * | 2008-08-22 | 2009-01-21 | 上海华为技术有限公司 | A data transmission method, communication device and communication system |
Family Cites Families (11)
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 |
WO2002032073A2 (en) * | 2000-10-11 | 2002-04-18 | Broadcom Corporation | Efficiently transmitting rtp protocol in a network |
JP3990115B2 (en) * | 2001-03-12 | 2007-10-10 | 株式会社東芝 | Server-side proxy device and program |
US7054912B2 (en) * | 2001-03-12 | 2006-05-30 | Kabushiki Kaisha Toshiba | Data transfer scheme using caching technique for reducing network load |
US7286536B2 (en) * | 2002-10-28 | 2007-10-23 | Nokia Corporation | Method and system for early header compression |
US20060262788A1 (en) * | 2005-05-23 | 2006-11-23 | Broadcom Corporation | Dynamic payload header suppression extensions for IPV6 |
CN101102263B (en) * | 2006-07-07 | 2010-05-12 | 华为技术有限公司 | Method and device for recovering compressed message |
CN101146025B (en) * | 2006-09-13 | 2010-12-08 | 华为技术有限公司 | Compressed real-time transport protocol message transmission method and system and compression end unit |
CN101400083B (en) * | 2007-09-29 | 2010-12-15 | 华为技术有限公司 | 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 |
US8111704B2 (en) * | 2009-06-26 | 2012-02-07 | Intel Corporation | Multiple compression techniques for packetized information |
-
2012
- 2012-12-13 CN CN201210541061.XA patent/CN103873443B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1349702A (en) * | 1999-02-26 | 2002-05-15 | 艾利森电话股份有限公司 | Adaptive header compression for packet communications |
CN1522526A (en) * | 2001-06-29 | 2004-08-18 | Ħ��������˾ | Apparatus and method for implementing text-based compression using store and flush methods |
CN1592272A (en) * | 2003-09-04 | 2005-03-09 | 国际商业机器公司 | Method for header compression |
CN1968211A (en) * | 2006-11-23 | 2007-05-23 | 华为技术有限公司 | Message header compression method, compressor and transmission system |
CN101350812A (en) * | 2008-08-22 | 2009-01-21 | 上海华为技术有限公司 | A data transmission method, communication device and communication system |
Also Published As
Publication number | Publication date |
---|---|
CN103873443A (en) | 2014-06-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10411956B2 (en) | Enabling planned upgrade/downgrade of network devices without impacting network sessions | |
Wang et al. | How speedy is {SPDY}? | |
Zhang et al. | Understanding the characteristics of cellular data traffic | |
Sivakumar et al. | Parcel: Proxy assisted browsing in cellular networks for energy and latency reduction | |
CN102710748B (en) | Data capture method, system and equipment | |
Qian et al. | Characterizing resource usage for mobile web browsing | |
CN103873443B (en) | Information processing method, local proxy server and network proxy server | |
CN102904959B (en) | Network accelerating method and gateway | |
CN104426985B (en) | Show the method, apparatus and system of webpage | |
CN102184231A (en) | Method and device for acquiring page resources | |
US10405365B2 (en) | Method and apparatus for web browsing on multihomed mobile devices | |
JP6250048B2 (en) | Data distribution method and data distribution apparatus | |
CN107465666A (en) | A kind of client ip acquisition methods and device | |
CN106657206A (en) | Virtual desktop infrastructure web video redirection method | |
CN104518968B (en) | The method and Transparent proxy server of a kind of Message processing | |
CN104239302A (en) | Page content acquiring method and device, application device, and mobile terminal | |
Liu et al. | Can HTTP/2 really help Web performance on smartphones? | |
CN103729440B (en) | A kind of method and device of access website | |
CN104615597A (en) | Method, device and system for clearing cache file in browser | |
US9992226B2 (en) | Enhanced thread handling in security handshaking | |
US20140074912A1 (en) | Communication apparatus, relay apparatus and communication method | |
CN110347945A (en) | The method and apparatus for obtaining the data of the page | |
CN103167554B (en) | Gateway flow constriction processing method and device, network service providing system | |
Elkhatib et al. | The effect of network and infrastructural variables on spdy's performance | |
KR102537370B1 (en) | Real-time packet analysis method and apparatus for mass network monitoring |
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 |