CN103167554A - Gateway traffic compressing method, device and network service supply system - Google Patents

Gateway traffic compressing method, device and network service supply system Download PDF

Info

Publication number
CN103167554A
CN103167554A CN2011104108257A CN201110410825A CN103167554A CN 103167554 A CN103167554 A CN 103167554A CN 2011104108257 A CN2011104108257 A CN 2011104108257A CN 201110410825 A CN201110410825 A CN 201110410825A CN 103167554 A CN103167554 A CN 103167554A
Authority
CN
China
Prior art keywords
terminal
gateway
compression
request
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011104108257A
Other languages
Chinese (zh)
Other versions
CN103167554B (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.)
China Mobile Group Guangdong Co Ltd
Original Assignee
China Mobile Group Guangdong Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Mobile Group Guangdong Co Ltd filed Critical China Mobile Group Guangdong Co Ltd
Priority to CN201110410825.7A priority Critical patent/CN103167554B/en
Publication of CN103167554A publication Critical patent/CN103167554A/en
Application granted granted Critical
Publication of CN103167554B publication Critical patent/CN103167554B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses a gateway traffic compressing method, a device and a network service supply system to be used for optimizing traffic compressing of gateway agency. The gateway traffic compressing method includes the steps of judging whether a received terminal request contains a compressing support field or not by a gateway and obtaining a judgment result, inquiring a preset terminal compressing ability memory unit by the gateway when the judgment result is that the terminal request does not contain the compressing support field and obtaining a first query result, obtaining a compressed encoding mode supported by a terminal in the preset terminal compressing ability memory unit by the gateway when the first query result is terminal supporting compressing, compressing return content corresponding to the terminal request and returning to the terminal by using a compressed encoding algorithm supporting the compressed encoding mode by the gateway. The gateway traffic compressing method, the device and the network service supply system has the advantages of fully developing processing capacity of a client-side according to the actual processing capacity of the client-side and improving compressing efficiency of network traffic.

Description

Gateway flow compression processing method and device, network service providing system
Technical field
The present invention relates to the data service technical field, relate to more specifically a kind of gateway flow compression processing method and device, network service providing system.
Background technology
The full name of WAP is " WAP (wireless application protocol) (Wireless Application Protocol) ", and the approach by the mobile phone access the Internet is provided.As long as a mobile phone of supporting WAP has been arranged, just can pass through WAP gateway (WAP Gateway) as online proxy access the Internet.When mobile terminal is surfed the Net by WAP, generally follow WAP1.x agreement or WAP2.0 agreement.Day by day to the drawing close and merge of the Internet standard, up-to-date version WAP2.0 supports comprehensively along with WAP: XHTML,, TCP/IP,, HTML (Hypertext Markup Language) (HTTP/1.1), and Transport Layer Security (TLS).
WAP gateway is that the agency as online exists, effect be exactly be mobile phone terminal (client) to targeted website transfer browse request,, and be given to client in the content that the targeted website is returned.
Defined the treatment mechanism of the content compression of HTTP/1.1 agreement at RFC2616.Return to the flow content of client by compression from the WEB network service providing system, will effectively promote efficiency of transmission and client perception.The general compression algorithm of the general employing of WEB network service providing system is compressed content as zip and compress, achieves the desired result.The network traffics type comprises the polytypes such as text, image and application program, according to statistics, to the flow content of text type compress most effective.
Owing to being not all complete supported web page compression mechanisms of all browsers, therefore, browser that can the supported web page compression function will indicate with specific field in HTTP request bag.According to the definition of RFC2616, browser can be stated with the Accept-Encoding field, after WAP gateway is received the request of client, will be forwarded to website, target URL place to the request of client, and the corresponding contents of website is returned to client.When returning to web page contents to client, will be according to whether comprising the Accept-Encoding field in the request header of client whether to determine to returning to the content compression of client.If comprised Accept-Encoding in the request of client and the compression algorithm of supporting has been described, as gzip or deflate, WAP gateway can return to client with content after gzip or deflate compression.Otherwise WAP gateway will pass through client to the content that the website is returned.
Existing WAP gateway flow Compression Processor system is that the support situation of the compressed capability that proposes according to client (Accept-Encoding:gzip, deflate) determines whether the flow compression to returning.Do not support compression if client is not stated, will pass through client to flow.
Due to client kind, One's name is legion on network, the mechanism that client is taked when processing the compression of HTTP flow is had nothing in common with each other.By analysis, although being arranged in network, a large amount of clients support the web page contents after compression is carried out the ability of decompress(ion), but but do not comprise the Accept-Encoding field in actual request submitting web page browsing to, thereby cause SP network service providing system or WAP gateway can not process this partial discharge, cause the waste of network traffics resource, and reduced client's web page browsing perception.
On the other hand, because the quantity of not supporting the client that the HTTP flow compresses fully also has a lot, for fear of the complaint that user's impulse contracting problem is brought, WAP gateway can not simply directly compress all flows, and needs to adopt certain strategy to process.
Therefore, in prior art, existence only determines whether adopting compression mechanism according to the simple statement of client requests, and there is no fully to excavate the problem of the disposal ability of client.
Summary of the invention
The invention provides a kind of gateway flow compression processing method and device, network service providing system, be used for solving prior art, existence only determines whether adopting compression mechanism according to the simple statement of client requests, and there is no fully to excavate the problem of the disposal ability of client.
For realizing above-mentioned purpose of the present invention, according to a first aspect of the invention, provide a kind of gateway flow compression processing method, and by the following technical solutions:
Gateway flow compression processing method comprises: a: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result; B: when not comprising compression support field in judgment result is that terminal request, the default terminal compressed capability memory cell of gateway inquiry gets the first Query Result; C: when the first Query Result was terminal support compression, gateway obtained the compression coding mode that terminal is supported in default terminal compressed capability memory cell; And d: return to terminal after the returned content compression of Coding Compression Algorithm with the counterpart terminal request that gateway uses compression coding mode to support.
Further, after step c, gateway flow compression processing method also comprises: e: the default client's behavior database of gateway inquiry gets the second Query Result; F: the second Query Result for default client's behavior database in being designated when allowing compression of terminal, gateway continues execution in step d.
Further, after step e, gateway flow compression processing method also comprises: g: the second Query Result for default client's behavior database in being designated when forbidding compressing of terminal, the returned content that gateway is corresponding with terminal request passes through terminal.
Further, the model of all terminals of default terminal compressed capability unit records IAD and the compressed capability information of corresponding model.
Further, after step a, gateway flow compression processing method also comprises: h: when comprising compression support field in judgment result is that request, return to terminal after the returned content that gateway is corresponding with terminal request according to the compress mode that compression supports field to support compresses; J: described gateway upgrades the compressing mark of terminal described in default client's behavior database; And k: described gateway is updated to described terminal compressed capability memory cell with the support coded system of described terminal.
The terminal of preserving in default client's behavior database further, comprises: whether the first terminal of gateway judgement access initiates linking request to the webpage that comprises in the compressed data packets that receives in the Preset Time scope; When the webpage that does not comprise in to the compressed data packets that receives in Preset Time at first terminal was initiated linking request, gateway was recorded in first terminal in default client's behavior database, and the identification renewal of first terminal is the forbidding compression.
Further, after step b, gateway flow compression processing method also comprises: i: be terminal when not supporting to compress at the first Query Result, gateway will ask corresponding returned content to pass through terminal.
According to another aspect of the present invention, provide a kind of gateway flow compression treatment device, and by the following technical solutions:
Gateway flow compression treatment device comprises: the first judge module, and whether the terminal request that accesses for judgement comprises compression support field, and gets a judged result; The first enquiry module is used for when judgment result is that terminal request does not comprise compression support field, and the terminal compressed capability memory cell that inquiry is default gets the first Query Result; Acquisition module is used for obtaining the compression coding mode that terminal is supported in default terminal compressed capability memory cell when the first Query Result is terminal support compression; And compression module, return to terminal after the returned content compression of Coding Compression Algorithm with the counterpart terminal request that is used for using compression coding mode to support.
Further, gateway flow compression treatment device also comprises: the second enquiry module, be used for the default client's behavior database of inquiry terminal, and get the second Query Result; Continue Executive Module, be used for continuing execution in step c when the second Query Result allows compression for being masked as of client's behavior database terminal.
Further, gateway flow compression treatment device also comprises the transparent transmission module, is used for when the second Query Result is forbidden compressing for being masked as of default client's behavior database terminal, and the returned content that terminal request is corresponding passes through terminal.
Further, gateway flow compression treatment device also comprises maintenance module, be used for safeguarding default client's behavior database, maintenance module comprises: the second judge module, and the webpage whether first terminal that accesses for judgement comprises the compressed data packets that receives in the Preset Time scope is initiated linking request; Identification module, when the webpage that is used in Preset Time, the compressed data packets that receives not being comprised at first terminal is initiated linking request, gateway is recorded in first terminal in default client's behavior database, and the identification renewal of first terminal is the forbidding compression.
Further, gateway flow compression treatment device also comprises: logging modle, and for model and the corresponding model compressed capability information of all terminals that record IAD.
According to a further aspect of the invention, provide a kind of network service providing system, and by the following technical solutions:
Network service providing system comprises WAP gateway, WAP gateway comprises above-mentioned gateway flow compression treatment device, network service providing system also comprises: the customer behavior analysis device, connect WAP gateway, be used for analyzing the terminal behavior of access WAP gateway, the terminal that draws terminal for the terminal of support compression or do not support to compress; Terminal compressed capability memory cell connects the first enquiry module, is used for when terminal request does not comprise compression support field the compressed capability information of inquiry terminal correspondence in terminal compressed capability memory cell; And client's behavior database, connect the second enquiry module, be used for inquiry terminal in the compressing mark of client's behavior database.
Further, the analysis of customer behavior analysis device is after the page of receiving the compressed processing that WAP gateway returns, and energy is concurrent terminal to the terminal support compression of the linking request of the page of decompress(ion) normally; The analysis of customer behavior analysis device is waited for and is initiated the terminal of the overtime terminal of page link for not supporting to compress after the page of receiving the compressed processing that WAP gateway returns.
Can find, technical scheme of the present invention has following advantage:
1) according to the actual treatment ability of client rather than only the simple statement in terminal request determines whether adopting compression mechanism according to it, can fully excavate the disposal ability of various clients, promote the compression efficiency of network traffics.
2) kind and the quantity due to the existing network client has diversity, the present invention proposes the way that various terminals and client's behavior are analyzed and followed the tracks of, and avoids and reduce the complaint of client.
3) client's behavior database of proposing of the present invention has realized being accurate to personal user's Compression manager ability.
Except purpose described above, feature and advantage, the present invention also has other purpose, feature and advantage.The below is with reference to figure, and the present invention is further detailed explanation.
Description of drawings
Fig. 1 represents the main flow chart of gateway flow compression processing method in the invention process;
Fig. 2 represents the handling process schematic diagram of terminal support compression in the invention process;
Fig. 3 represents that terminal in the invention process do not support the handling process schematic diagram that compresses;
Fig. 4 represents to support in the invention process the initiatively online flow process of compressing terminal;
Fig. 5 represents the primary structure figure of gateway flow compression treatment device in the invention process; And
Fig. 6 represents the structural representation of network service providing system in the invention process.
Embodiment
Below in conjunction with accompanying drawing, embodiments of the invention are elaborated, but the multitude of different ways that the present invention can be defined by the claims and cover is implemented.
Fig. 1 represents the main flow chart of gateway flow compression processing method in the invention process.
Shown in Figure 1, gateway flow compression processing method comprises:
A: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result;
B: when not comprising compression support field in judgment result is that terminal request, the default terminal compressed capability memory cell of gateway inquiry gets the first Query Result;
C: when the first Query Result was terminal support compression, gateway obtained the compression coding mode that terminal is supported in default terminal compressed capability memory cell; And
D: return to terminal after the returned content compression of Coding Compression Algorithm with the counterpart terminal request that gateway uses compression coding mode to support.
in the technique scheme of the present embodiment, in step a, gateway can judge by the mode of hardware or software in the HTTP request bag of terminal request the compressed capability whether terminal is shown with specific field, if terminal support compression, can comprise the Accept-Encoding field whether to determine to returning to the content compression of terminal in the HTTP request, if do not comprise similar Accept-Encoding field in the HTTP request, the terminal compressed capability memory cell that gateway is preset by inquiry, to understand the compressed capability of this terminal, if client support compression, after compressing, the content of choosing this terminal support returns to client.This embodiment be by a terminal compressed capability unit records model of terminal and corresponding compressed capability in the net, replenish and carry out for the returned content of not shown packed field in request compression problem whether.
Preferably, terminal compressed capability unit records the tenability of all terminal convection current piezometric compression algorithms of existing network.If the content of record also comprise terminal model, whether send Accept-Encoding information, in the situation that send Accept-Encoding information and could not support compression and support compression specifically support which code decode algorithm.
Preferably, gateway flow compression processing method can comprise:
A: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result;
B: when not comprising compression support field in judgment result is that terminal request, the default terminal compressed capability memory cell of gateway inquiry gets the first Query Result;
C: when the first Query Result was terminal support compression, gateway obtained the compression coding mode that terminal is supported in default terminal compressed capability memory cell;
E: the default client's behavior database of gateway inquiry gets the second Query Result;
F: the second Query Result for default client's behavior database in being designated when allowing compression of terminal, gateway continues execution in step d; And
D: return to terminal after the returned content compression of Coding Compression Algorithm with the counterpart terminal request that gateway uses compression coding mode to support.
In the technique scheme of the present embodiment, terminal models is after terminal compressed capability memory cell is shown as the support compression, gateway also will be inquired about default client's behavior database, this client's behavior database is by analyzing the behavior of this terminal in the past, record this terminal and whether supported the information compressed, forbid compression if require the terminal of access not to be registered as in this client's behavior database, return to terminal after can returned content being compressed according to the step of above-described embodiment.
Preferably, in default client's behavior database, the acquisition methods of terminal is: whether arbitrary terminal of gateway judgement access initiates linking request to the webpage that comprises in the compressed data packets that receives in the Preset Time scope; When the webpage that does not comprise in to the compressed data packets that receives in Preset Time in arbitrary terminal was initiated linking request, gateway was the forbidding compression with the identification renewal of arbitrary terminal in default client's behavior database.
In the technique scheme of the present embodiment, the customer behavior analysis device that parallel connection is connected across between client and WAP gateway is analyzed and record the internet behavior of client, if find that the internet behavior of user after receiving the compression flow is abnormal, upgrade client's behavior database.Specific practice is: gateway is monitored each user's online reciprocal process.when if client does not comprise the Accept-Encoding field in the request web page files such as HTML/WML/XHTML and request header, network service providing system has returned to compressed content, and this client is not just initiated the linking request that comprises in the page in the regular hour scope thereafter, the web page files of the compression that this user can not proper solution pressure network network service provider system returns is described, namely do not support " WAP gateway initiatively compresses ", so upgrade client's behavior database, this Subscriber Number of sign and corresponding terminal models are masked as forbidding to the demand of compression in client's behavior database.
Alternatively, gateway flow compression processing method can comprise:
A: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result;
H: when comprising compression support field in judgment result is that request, return to terminal after the returned content that gateway is corresponding with terminal request according to the compress mode that compression supports field to support compresses.
In the technical scheme of the present embodiment, client by http protocol, is sent the web page contents access request through WAP gateway to the objective network service provider system by the TCP/IP network.At first WAP gateway extracts the contents such as webpage, image to the targeted website according to target URL after receiving client-requested.If WAP gateway receives that the compression that comprises Accept-Encoding in the request of client supports field, will return to client after content compression, flow process finishes.
Alternatively, gateway flow compression processing method can comprise:
A: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result;
H: when comprising compression support field in judgment result is that request, return to terminal after the returned content that gateway is corresponding with terminal request according to the compress mode that compression supports field to support compresses.
J: gateway upgrades the compressing mark of terminal in default client's behavior database; And
K: gateway is updated to terminal compressed capability memory cell with the support coded system of terminal.
In the technique scheme of the present embodiment, terminal receive that WAP gateway returns after the page (html/xhtml/wml) that overcompression is processed, the link that can normal concurrent page of decompress(ion) comprises (as image/js/css etc.), terminal support compressed capability is described, WAP gateway is updated to client's behavior database with the compression requirements sign of this terminal, and the code encoding/decoding mode of terminal support is updated to terminal compressed capability memory cell.
Alternatively, gateway flow compression processing method can comprise:
A: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result;
B: when not comprising compression support field in judgment result is that terminal request, the default terminal compressed capability memory cell of gateway inquiry gets the first Query Result;
I: be terminal when not supporting to compress at the first Query Result, gateway will ask corresponding returned content to pass through terminal.
In the technique scheme of the present embodiment, WAP gateway is understood client and whether is supported compressed capability by inquiry terminal compressed capability memory cell, if client is not supported compression, the web site contents transparent transmission is returned to client.
Fig. 2 represents the handling process schematic diagram of terminal support compression in the invention process.
According to above-described embodiment, the handling process that Fig. 2 has provided terminal support compression is:
Step 201:WAP gateway receiving terminal is initiated the HTTP Req of html/xhtml/wml;
Step 202:WAP gateway is to the HTTP Req of the above-mentioned html/xhtml/wml of SP network service providing system transfer;
Step 203:WAP gateway receives the compressed HTTPResq that do not have that the SP network service providing system returns;
Step 204:WAP gateway is done the HTTP Resq that returns and is returned to terminal after compression is processed;
Step 205:WAP gateway receiving terminal is to the link that comprises in compression HTTP Resq (as image/js/css etc.), illustrates that terminal supports compressed capability;
Be given to the SP network service providing system in the above-mentioned connection of step 206:WAP gateway;
Step 207:WAP gateway upgrades compression requirements sign in client's behavior database;
Step 208:WAP gateway receives the message that is updated successfully that client's behavior database returns;
Step 209:WAP gateway is updated to terminal compressed capability memory cell with the code encoding/decoding mode of this terminal support.
Fig. 3 represents that terminal in the invention process do not support the handling process schematic diagram that compresses.
Shown in Figure 3, do not support the handling process of compressing for terminal:
Step 301:WAP gateway receiving terminal is initiated the HTTP Req of html/xhtml/wml;
Step 302:WAP gateway is to the HTTP Req of the above-mentioned html/xhtml/wml of SP network service providing system transfer;
Step 303:WAP gateway receives the compressed HTTPResq that do not have that the SP network service providing system returns;
Step 304:WAP gateway is done the HTTP Resq that returns and is returned to terminal after compression is processed;
The link that step 305:WAP gateway waits terminal is initiated to comprise in the page (as image/js/css etc.) overtime, the failure of terminal decompress(ion) content of pages is described, this terminal is not supported compression, and WAP gateway is updated to client's behavior database with the compression requirements sign of this terminal;
Step 305:WAP gateway receives the information that is updated successfully that client's behavior database returns.
Fig. 4 represents to support in the invention process the initiatively online flow process of compressing terminal.
Shown in Figure 4, support that initiatively the online flow process of compressing terminal is:
The HTTP Req without the compression sign that step 401:WAP gateway receiving terminal is initiated;
Step 402:WAP gateway is to the above-mentioned HTTPReq without the compression sign of SP network service providing system transfer;
Step 403:WAP gateway receives the compressed HTTPResq that do not have that the SP network service providing system returns;
Compression requirements sign in step 404:WAP gateway inquiry client behavior database;
Step 405:WAP gateway receives the terminal compression requirements sign that client's behavior database returns;
The coded system that in step 406:WAP gateway inquiry terminal compressed capability memory cell, terminal is supported;
The coded system that the terminal that step 407:WAP gateway receiving terminal compressed capability memory cell is returned is supported;
Step 408:WAP gateway is done the HTTP Resq that returns and is returned to terminal after compression is processed.
Fig. 5 represents the primary structure figure of gateway flow compression treatment device in the invention process.
Shown in Figure 5, gateway flow compression treatment device comprises: the first judge module 51, and whether the terminal request that accesses for judgement comprises compression support field, and gets a judged result; The first enquiry module 53 is used for when judgment result is that terminal request does not comprise compression support field, and the terminal compressed capability memory cell that inquiry is default gets the first Query Result; Acquisition module 55 is used for obtaining the compression coding mode that terminal is supported in default terminal compressed capability memory cell when the first Query Result is terminal support compression; And compression module 57, return to terminal after the returned content compression of Coding Compression Algorithm with the counterpart terminal request that is used for using compression coding mode to support.
Preferably, gateway flow compression treatment device also comprises: the second enquiry module (not shown), be used for the default client's behavior database of inquiry terminal, and get the second Query Result; Continue the Executive Module (not shown), be used for continuing execution in step c when the second Query Result allows compression for being masked as of client's behavior database terminal.
Preferably, gateway flow compression treatment device also comprises transparent transmission module (not shown), is used for when the second Query Result is forbidden compressing for being masked as of default client's behavior database terminal, and the returned content that terminal request is corresponding passes through terminal.
Preferably, gateway flow compression treatment device also comprises the maintenance module (not shown), be used for safeguarding default client's behavior database, maintenance module comprises: the second judge module (not shown), and the webpage whether first terminal that accesses for judgement comprises the compressed data packets that receives in the Preset Time scope is initiated linking request; The identification module (not shown), when the webpage that is used in described Preset Time, the compressed data packets that receives not being comprised at described first terminal is initiated linking request, described gateway is recorded in described first terminal in described default client's behavior database, and the identification renewal of described first terminal is the forbidding compression.
Preferably, gateway flow compression treatment device also comprises the logging modle (not shown), for model and the corresponding model compressed capability information of all terminals that record IAD.
Fig. 6 represents the structural representation of network service providing system in the invention process.
Shown in Figure 6, network service providing system comprises WAP gateway 60, WAP gateway 60 comprises above-mentioned gateway flow compression treatment device, network service providing system also comprises: customer behavior analysis device 66, connect WAP gateway 60, be used for analyzing the terminal behavior of access WAP gateway 60, the terminal that draws described terminal for the terminal of support compression or do not support to compress; Terminal compressed capability memory cell 68 connects the first enquiry module (in Fig. 5, label is not show in 53, Fig. 6), is used for when terminal request does not comprise compression support field the compressed capability information of inquiry terminal correspondence in terminal compressed capability memory cell; And client's behavior database 64, connect the second enquiry module (not shown), be used for inquiry terminal in the compressing mark of client's behavior database.
Preferably, the analysis of customer behavior analysis device after the page of receiving the compressed processing that WAP gateway returns, can concurrent terminal to the linking request of the page of normal decompress(ion) be to support the terminal of compression; The analysis of customer behavior analysis device is waited for and is initiated the terminal of the overtime terminal of page link for not supporting to compress after the page of receiving the compressed processing that WAP gateway returns.
In all technical schemes of the present invention, WAP gateway is all to compress processing according to the compress mode of terminal support, the part that counterpart terminal is not supported, and WAP gateway can return to terminal with this part content in the mode of transparent transmission.
Can find, technical scheme by above-described embodiment, those skilled in the art should be understood that, the present invention is according to the actual treatment ability of client rather than only the simple statement in HTTP determines whether adopting compression mechanism according to it, can fully excavate the disposal ability of various clients, promote the compression efficiency of network traffics; Because kind and the quantity of existing network client has diversity, the present invention proposes the way that various terminals and client's behavior are analyzed and followed the tracks of, avoid and reduce the complaint of client; And customer behavior analysis analyzer and client's behavior database have realized being accurate to personal user's Compression manager ability.

Claims (14)

1. a gateway flow compression processing method, is characterized in that, comprising:
A: whether comprise compression in the terminal request of gateway judgement access and support field, and get a judged result;
B: when not comprising compression in judgment result is that described terminal request and supporting field, the default terminal compressed capability memory cell of described gateway inquiry gets the first Query Result described;
C: when described the first Query Result was described terminal support compression, described gateway obtained the compression coding mode that described terminal is supported in described default terminal compressed capability memory cell; And
D: described gateway returns to described terminal after using the returned content compression of Coding Compression Algorithm with the described terminal request of correspondence of supporting described compression coding mode.
2. gateway flow compression processing method as claimed in claim 1, is characterized in that, after described step c, described gateway flow compression processing method also comprises:
E: the default client's behavior database of described gateway inquiry gets the second Query Result;
F: be being designated of terminal described in described default client's behavior database when allowing compression at described the second Query Result, described gateway continues execution in step d.
3. gateway flow compression processing method as claimed in claim 2, is characterized in that, after step e, described gateway flow compression processing method also comprises:
G: be being designated of terminal described in described default client's behavior database when forbidding compressing at described the second Query Result, the returned content that described gateway is corresponding with described terminal request passes through described terminal.
4. gateway flow compression processing method as claimed in claim 1, is characterized in that, the model of all terminals of the described gateway of described default terminal compressed capability unit records access and the compressed capability information of corresponding described model.
5. gateway flow compression processing method as claimed in claim 4, is characterized in that, after step a, described gateway flow compression processing method also comprises:
H: described when comprising compression in judgment result is that described request and supporting field, return to described terminal after the returned content compression described terminal request is corresponding according to the compress mode that described compression supports field to support of described gateway;
J: described gateway upgrades the compressing mark of terminal described in default client's behavior database; And
K: described gateway is updated to described terminal compressed capability memory cell with the support coded system of described terminal.
6. gateway flow compression processing method as claimed in claim 5, is characterized in that, the terminal of preserving in described default client's behavior database comprises:
Whether the first terminal of described gateway judgement access initiates linking request to the webpage that comprises in the compressed data packets that receives in the Preset Time scope;
When the webpage that does not comprise in to the compressed data packets that receives in described Preset Time at described first terminal is initiated linking request, described gateway is recorded in described first terminal in described default client's behavior database, and the identification renewal of described first terminal is the forbidding compression.
7. gateway flow compression processing method as claimed in claim 2, is characterized in that, after described step b, described gateway flow compression processing method also comprises:
I: be described terminal when not supporting to compress at described the first Query Result, the returned content that described gateway is corresponding with described request passes through described terminal.
8. a gateway flow compression treatment device, is characterized in that, comprising:
The first judge module, whether the terminal request that accesses for judgement comprises compression support field, and gets a judged result;
The first enquiry module is used for described when judgment result is that described terminal request does not comprise compression and supports field, and the terminal compressed capability memory cell that inquiry is default gets the first Query Result;
Acquisition module is used for obtaining the compression coding mode that described terminal is supported in described default terminal compressed capability memory cell when described the first Query Result is described terminal support compression; And
Compression module returns to described terminal after the returned content compression of Coding Compression Algorithm with the described terminal request of correspondence that is used for using described compression coding mode to support.
9. gateway flow compression treatment device as claimed in claim 8, is characterized in that, also comprises:
The second enquiry module is used for inquiring about the default client's behavior database of described terminal, gets the second Query Result;
Continue Executive Module, being used at described the second Query Result is being masked as of terminal described in described client's behavior database when allowing compression, continues execution in step c.
10. gateway flow compression treatment device as claimed in claim 8, is characterized in that, also comprises:
The transparent transmission module, being used at described the second Query Result is being masked as of terminal described in described default client's behavior database when forbidding compressing, the returned content that described terminal request is corresponding passes through described terminal.
11. gateway flow compression treatment device as claimed in claim 8 is characterized in that, also comprises maintenance module, is used for safeguarding described default client's behavior database, described maintenance module comprises:
The second judge module, the webpage whether first terminal that accesses for judgement comprises the compressed data packets that receives in the Preset Time scope is initiated linking request;
Identification module, when the webpage that is used in described Preset Time, the compressed data packets that receives not being comprised at described first terminal is initiated linking request, described gateway is recorded in described first terminal in described default client's behavior database, and the identification renewal of described first terminal is the forbidding compression.
12. gateway flow compression treatment device as claimed in claim 8 is characterized in that, also comprises:
Logging modle is used for model and corresponding described model compressed capability information that record accesses all terminals of described gateway.
13. a network service providing system is characterized in that, comprises WAP gateway, described WAP gateway comprises the described gateway flow of any one compression treatment device in claim 8 to 12, and described network service providing system also comprises:
The customer behavior analysis device connects described WAP gateway, is used for analyzing the terminal behavior of the described WAP gateway of access, the terminal that draws described terminal for the terminal of support compression or do not support to compress;
Terminal compressed capability memory cell connects described the first enquiry module, is used for inquiring about the compressed capability information of described terminal correspondence in terminal compressed capability memory cell when described terminal request does not comprise compression support field; And
Client's behavior database connects described the second enquiry module, is used for inquiring about described terminal in the compressing mark of described client's behavior database.
14. network service providing system as claimed in claim 13 is characterized in that,
Described customer behavior analysis device by analyzing after the page of receiving the compressed processing that described WAP gateway returns, can concurrent terminal to the linking request of the described page of normal decompress(ion) be to support the terminal of compression;
Described customer behavior analysis device waits for by analyzing after the page of receiving the compressed processing that described WAP gateway returns the terminal of terminal for not supporting to compress that the described page link of initiation is overtime.
CN201110410825.7A 2011-12-09 2011-12-09 Gateway flow constriction processing method and device, network service providing system Active CN103167554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110410825.7A CN103167554B (en) 2011-12-09 2011-12-09 Gateway flow constriction processing method and device, network service providing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110410825.7A CN103167554B (en) 2011-12-09 2011-12-09 Gateway flow constriction processing method and device, network service providing system

Publications (2)

Publication Number Publication Date
CN103167554A true CN103167554A (en) 2013-06-19
CN103167554B CN103167554B (en) 2016-09-07

Family

ID=48590209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110410825.7A Active CN103167554B (en) 2011-12-09 2011-12-09 Gateway flow constriction processing method and device, network service providing system

Country Status (1)

Country Link
CN (1) CN103167554B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902462A (en) * 2015-06-30 2015-09-09 北京奇虎科技有限公司 Traffic-saving method for accessing network by mobile terminal and mobile terminal
CN105101140A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Traffic-saving method for visiting network, proxy server and network access system
CN107592553A (en) * 2017-09-01 2018-01-16 清华大学 A kind of compression of images agency balance processing method and processing device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365189A (en) * 2008-09-02 2009-02-11 中国电信股份有限公司 Method and system implementing speech passing through in mobile network
WO2009021443A1 (en) * 2007-08-10 2009-02-19 Huawei Technologies Co., Ltd. Parameter arrangement, achievement method and system for header compression parameter feedback
CN101610268A (en) * 2009-07-16 2009-12-23 杭州华三通信技术有限公司 A kind of implementation method of keyword filtration and equipment
CN101640869A (en) * 2009-08-27 2010-02-03 中兴通讯股份有限公司 Content conversion method and wireless application protocol gateway

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2009021443A1 (en) * 2007-08-10 2009-02-19 Huawei Technologies Co., Ltd. Parameter arrangement, achievement method and system for header compression parameter feedback
CN101365189A (en) * 2008-09-02 2009-02-11 中国电信股份有限公司 Method and system implementing speech passing through in mobile network
CN101610268A (en) * 2009-07-16 2009-12-23 杭州华三通信技术有限公司 A kind of implementation method of keyword filtration and equipment
CN101640869A (en) * 2009-08-27 2010-02-03 中兴通讯股份有限公司 Content conversion method and wireless application protocol gateway

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104902462A (en) * 2015-06-30 2015-09-09 北京奇虎科技有限公司 Traffic-saving method for accessing network by mobile terminal and mobile terminal
CN105101140A (en) * 2015-06-30 2015-11-25 北京奇虎科技有限公司 Traffic-saving method for visiting network, proxy server and network access system
CN104902462B (en) * 2015-06-30 2019-02-12 北京奇虎科技有限公司 A kind of method and mobile terminal saving stream access network for mobile terminal
CN109587270A (en) * 2015-06-30 2019-04-05 北京奇虎科技有限公司 A kind of method and mobile terminal saving stream access network for mobile terminal
CN109587270B (en) * 2015-06-30 2021-06-11 北京奇虎科技有限公司 Method for mobile terminal to access network in flow-saving mode and mobile terminal
CN107592553A (en) * 2017-09-01 2018-01-16 清华大学 A kind of compression of images agency balance processing method and processing device

Also Published As

Publication number Publication date
CN103167554B (en) 2016-09-07

Similar Documents

Publication Publication Date Title
US10110695B1 (en) Key resource prefetching using front-end optimization (FEO) configuration
US11258870B1 (en) Method and system for monitoring an activity of a user
US10972573B1 (en) Browser optimization through user history analysis
US10594827B1 (en) Cache hinting systems
US8725794B2 (en) Enhanced website tracking system and method
AU2005232076B2 (en) Systems and methods for tracking web activity
US7702317B2 (en) System and method to query wireless network offerings
US9456050B1 (en) Browser optimization through user history analysis
CN103024933A (en) Mobile Internet access system and mobile Internet access method
US8255491B1 (en) Determining a particular type of wireless device to be emulated
US8180376B1 (en) Mobile analytics tracking and reporting
CN101662464A (en) System for realizing HTTP request service and method thereof
CN101540734A (en) Method, system and device for accessing Cookie by crossing domain names
FI114066B (en) Traffic flow analysis method
EP2083359B1 (en) System and method for enhancing network-browsing speed by setting a proxy server on a handheld device
WO2007007027A1 (en) Method and system for obtaining information
CN101937439A (en) Method and system for collecting user access related information
CN1196528A (en) System and method for delivery of information over narrow-band communications links
CN102638580A (en) Webpage information processing method and webpage information processing device
CN103347092A (en) Method and device for recognizing cacheable file
CN103167554A (en) Gateway traffic compressing method, device and network service supply system
CN102681996B (en) Pre-head method and device
CN105338091A (en) High-transmission-efficiency personalized information interface display method and apparatus
CN102918527B (en) Investigation method and system for web application hosting
US20220092146A1 (en) Facilitating Inter-System Data Transfer with Serialized Data Objects

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant