CN101388863A - Implementing method and system for WAP gateway extraction service - Google Patents
Implementing method and system for WAP gateway extraction service Download PDFInfo
- Publication number
- CN101388863A CN101388863A CN200810216149.8A CN200810216149A CN101388863A CN 101388863 A CN101388863 A CN 101388863A CN 200810216149 A CN200810216149 A CN 200810216149A CN 101388863 A CN101388863 A CN 101388863A
- Authority
- CN
- China
- Prior art keywords
- wap gateway
- buffer memory
- cache
- response
- professional
- 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.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/66—Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/563—Data redirection of data network streams
Abstract
The invention discloses a method for implementing WAP gateway service picking up, which comprises: carrying out a matching to the content in buffer memory module by a request capable of using the buffer memory; if matching successively, sending the matched content in buffer memory to user directly; otherwise, transferring to a third side who offers the service; and after the gateway receives the respond from the third side, if the respond meets the buffer memory condition, it sends the respond to the terminal after a buffer memory in the buffer memory module. The invention further discloses a system for implementing WAP gateway service picking up, which comprises: a WAP gateway, a terminal, a third side for offering service, and a buffer memory module. On the performance, the invention can shorten service processing time and user experience time; and on the technology, it can reduce the interaction with the third side for offering service by saving the buffer memory content in the internal memory and the hard disk of service processing machine, and saves band width.
Description
Technical field
The present invention relates to implementation method and system that a kind of WAP gateway extracts professional (PULL business), be specifically related to a kind of by the method and system of buffer memory quickening PULL Business Processing speed is set.
Background technology
Investigate the quality of the performance of a WAP operation system, a very important index is arranged: send request to the time interval of receiving response from terminal.This is related to user's experience.The third party that the service request of each terminal all needs to obtain to provide professional in the existing business (for example: response SP), and response returned to terminal.For the SP of a large amount of repetitions response, information such as weather forecast for example, each terminal request all needs SP to respond, and has wasted the Internet resources of system greatly.
Lack a kind of fast processing of operational approach can carry out to(for) the identical services request of terminal in the prior art.Through retrieval, there is not to find to relate to the solution of this respect yet.
Summary of the invention
The technical problem that the present invention solves is to have proposed a kind of WAP gateway to extract professional implementation method and system, provide professional third party's response buffer by setting, make WAP gateway when receiving that the user asks, cache contents is directly replied to the user, and do not need to providing professional third party to initiate request.
The present invention is by the following technical solutions:
A kind of WAP gateway extracts professional implementation method, comprises following treatment step:
1) the extraction service request of WAP gateway receiving terminal;
2) for the request that can use buffer memory, in cache module, mate; The match is successful, and then the cache contents with coupling directly is transmitted to the user, the winding-up flow process; It fails to match, then request is forwarded to the third party who provides professional;
3) after WAP gateway is received the third party's response that provides professional,, in cache module, carry out issuing terminal again behind the buffer memory for the response of satisfying the buffer memory condition; For the response of not satisfying the cache bar part, then transmitted response is to terminal.
Preferably, WAP gateway determines whether to carry out buffer memory according to the respond style of information content provider in the described step 3).
Preferably, WAP gateway does not carry out buffer memory for the MMS response of information content provider in the described step 3), directly issues terminal.
Preferably, cache responses is specially in the described step 3): the mode by polling dispatching finds a root, and should correspondingly carry out buffer memory under this catalogue.
Preferably, the cache file for response adopts the mode of bitmap to store in the described step 3).
Preferably, when inadequate buffer space, delete the minimum old cache information of access frequency in the described step 3) by the LRU mode.
A kind of WAP gateway extracts professional realization system, comprise: WAP gateway, also comprise: cache module is used for storing the third-party response that provides professional under the control of described WAP gateway, and directly provides the cache contents that is complementary with its service request to terminal.
Preferably, be provided with the buffer memory condition in the described cache module, cache module is only stored the described third-party response that business is provided of satisfying the buffer memory condition.
Preferably, described cache module is specially a sub-function module in the described WAP gateway.
Preferably, described cache module is specially centralized layout's cache module, accepts the buffer memory control of each WAP gateway.
Adopting the present invention, compare with the implementation method of existing WAP gateway PULL business, on performance, is the once adjustment to original handling process, has reduced traffic handling time, has shortened the user experience time; Technically, cache contents is saved in service processor internal memory and the hard disk, has reduced and mutual between the professional third party is provided, saved bandwidth.
Description of drawings
Fig. 1 is that WAP gateway is received handling process after the terminal request in the preferred embodiment of the present invention;
Fig. 2 is the handling process that WAP gateway is received the SP response in the preferred embodiment of the present invention;
Fig. 3 is the layout schematic diagram of cache module of the present invention in WAP gateway.
Embodiment
Below in conjunction with accompanying drawing and by specific embodiment technical scheme of the present invention is elaborated, in following examples with SP (information content provider) as professional third-party preferred embodiment is provided.
For the WAP business, the stand-by period of user experience (terminal is sent request to the time interval of receiving response) is important performance index.WAP gateway of the present invention adopts distributed arrangement on each service processor cache module to be set in order to shorten the experience time and to reduce network congestion in the present embodiment.Also can select to adopt centralized layout's cache module, accept the buffer memory control of each WAP gateway, no longer describe in detail herein.Also increase in the present embodiment to be used for handling the Business Processing thread of buffer memory special, as shown in Figure 3.The caching process mechanism that the present invention adopts is with reference to existing Squid trafficwise.Squid is an a more outstanding Application Agent software under the Linux environment, and the configuration of high-speed cache and flexible strategies can be set.The existence of buffer memory makes network speed be greatly improved, its principle is for behind address of a user capture, Squid deposits this address contents on local internal memory or the hard disk, when next user visits again this address, if Squid finds this address contents and do not change, just directly fetch data and issue the user, so speed has obtained large increase from this locality, reduced the network bandwidth simultaneously and taken, this makes other access request obtain high speed processing becomes possibility.A plurality of Squid servers can cascade up, and are configured to a greater and faster proxy caching group.Squid also supports agreements such as FTP, GOPHER, SSL and WAIS simultaneously.What the present invention was different with Squid is, WAP gateway does not need used respond style is all carried out buffer memory (for example: MMS just can not be used buffer memory), and for fear of the bottleneck of caching function to bringing on the WAP gateway performance, can be configured the response message of a restriction WAP gateway SP that buffer memory SP visiting frequency is the highest by the foreground O﹠M.The specific implementation of the caching function that increases in the WAP gateway also comprises following ins and outs:
1.WAP if the cache module of gateway adopts distributed arrangement, the performance bottleneck that can avoid centralized layout to exist;
2.WAP the cache file structure in the gateway can be used for reference the file structure in the squid software;
3. Round-Roubin (polling dispatching) method is adopted in the selection of cache file root, finds the storage root of a suitable catalogue as cache file.The principle of polling dispatching method is each time the server of distributing in turn from user's request in the inside, since 1, up to N (internal server number), restarts circulation then.The meaning here is exactly after business is received the response of SP, if do not find that in local cache this response was buffered, then adopts the Round-Roubin algorithm, finds a suitable root, and buffer memory is carried out in this response.
4. the name of subpath and cache file name adopts BitMap (bitmap) algorithm to determine the name of cache file, utilizes the computational algorithm of existing file path to obtain the path of depositing of cache file then.Metadata is the data of data of description, often can use metadata in file system, volume management system, fast photographic system, utilizes metadata information to come the feature of data of description.The form of metadata information is various, and metadata has different forms in the different systems.Caching process of the present invention is similar to fast photographic system, and the amount of information of metadata is bigger, and can increase along with reducing of management data block granularity, can adopt the mode of bitmap (bitmap) to store such as the such metadata of file system.
According in the http protocol to the characteristics of dependency rule and the WAP gateway own service of cache, WAP gateway judges whether to carry out buffer memory;
6. when spatial cache uses totally, use LRU (the recent minimum use of least recently used) algorithm to judge whether a buffer memory should be deleted.
Below in conjunction with attached Fig. 1 and 2 detailed enforcement of the present invention is described:
Fig. 1 receives the handling process after the user asks after illustrating that WAP gateway increases buffer process module.
If 1 WAP gateway is received user's solicited message, judge whether this request allows to use buffer memory earlier, if do not allow, then the WAP gateway structure is asked to SP;
2 otherwise, according to the URL information of user request, calculate its MD5 value as index value, search whether there is this index in the local internal memory;
3, judge whether the cache information of this index available, if available, then notifies the buffer memory process, upgrade the file mapping information in the buffer memory, and by WAP gateway forwarding cache information to terminal; Otherwise the structuring user's request is transmitted to SP.
After Fig. 2 illustrates that WAP gateway increases the cache module, the handling process after receiving the SP response.
1, WAP gateway is received the SP response, goes to the caching process process;
2, the buffer memory process judges whether need allow to carry out buffer memory;
If 3 allow, judge whether disk space allows to store, if for being, cache information then; Otherwise, adopt lru algorithm, the information that the deletion visit is minimum, new cache contents is preserved in the release disk space, upgrades the map information in the local internal memory
If 4 do not satisfy the cache bar part, then directly the SP response is transmitted to professional other treatment progress.
Above content be in conjunction with concrete preferred implementation to further describing that the present invention did, can not assert that concrete enforcement of the present invention is confined to these explanations.For the general technical staff of the technical field of the invention, without departing from the inventive concept of the premise, can also make some simple deduction or replace, all should be considered as belonging to protection scope of the present invention.
Claims (10)
1. a WAP gateway extracts professional implementation method, it is characterized in that described method comprises following treatment step:
1) the extraction service request of WAP gateway receiving terminal;
2) for the request that can use buffer memory, in cache module, mate; The match is successful, and then the cache contents with coupling directly is transmitted to the user, the winding-up flow process; It fails to match, then request is forwarded to the third party who provides professional;
3) after WAP gateway is received the third party's response that provides professional,, in cache module, carry out issuing terminal again behind the buffer memory for the response of satisfying the buffer memory condition; For the response of not satisfying the cache bar part, then transmitted response is to terminal.
2. WAP gateway according to claim 1 extracts professional implementation method, it is characterized in that WAP gateway determines whether to carry out buffer memory according to the respond style of information content provider in the described step 3).
3. WAP gateway according to claim 2 extracts professional implementation method, it is characterized in that, WAP gateway does not carry out buffer memory for the MMS response of information content provider in the described step 3), directly issues terminal.
4. WAP gateway according to claim 1 and 2 extracts professional implementation method, and it is characterized in that cache responses is specially in the described step 3): the mode by polling dispatching finds a root, and should correspondingly carry out buffer memory under this catalogue.
5. WAP gateway according to claim 4 extracts professional implementation method, it is characterized in that, the cache file for response in the described step 3) adopts the mode of bitmap to store.
6. WAP gateway according to claim 1 and 2 extracts professional implementation method, it is characterized in that, when inadequate buffer space, deletes the minimum old cache information of access frequency by the LRU mode in the described step 3).
7. a WAP gateway extracts professional realization system, comprise: WAP gateway, it is characterized in that, described system also comprises: cache module, be used under the control of described WAP gateway, storing the third-party response that provides professional, and directly provide the cache contents that is complementary with its service request to terminal.
8. WAP gateway according to claim 7 extracts professional realization system, it is characterized in that, is provided with the buffer memory condition in the described cache module, and cache module is only stored the described third-party response that business is provided of satisfying the buffer memory condition.
9. extract professional realization system according to claim 7 or 8 described WAP gateways, it is characterized in that described cache module is specially a sub-function module in the described WAP gateway.
10. extract professional realization system according to claim 7 or 8 described WAP gateways, it is characterized in that described cache module is specially centralized layout's cache module, accept the buffer memory control of each WAP gateway.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810216149.8A CN101388863A (en) | 2008-09-16 | 2008-09-16 | Implementing method and system for WAP gateway extraction service |
PCT/CN2009/073521 WO2010031297A1 (en) | 2008-09-16 | 2009-08-26 | Method of wireless application protocol (wap) gateway pull service and system thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200810216149.8A CN101388863A (en) | 2008-09-16 | 2008-09-16 | Implementing method and system for WAP gateway extraction service |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101388863A true CN101388863A (en) | 2009-03-18 |
Family
ID=40478051
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200810216149.8A Pending CN101388863A (en) | 2008-09-16 | 2008-09-16 | Implementing method and system for WAP gateway extraction service |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN101388863A (en) |
WO (1) | WO2010031297A1 (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010031297A1 (en) * | 2008-09-16 | 2010-03-25 | 中兴通讯股份有限公司 | Method of wireless application protocol (wap) gateway pull service and system thereof |
CN103581258A (en) * | 2012-08-03 | 2014-02-12 | 中国移动通信集团公司 | Network data caching method and system |
CN105354304A (en) * | 2015-11-06 | 2016-02-24 | 上海视云网络科技有限公司 | Linux file system file link based method for caching LRU |
WO2017020743A1 (en) * | 2015-08-06 | 2017-02-09 | 阿里巴巴集团控股有限公司 | Method and device for sharing cache data |
CN110084114A (en) * | 2019-03-21 | 2019-08-02 | 北京旷视科技有限公司 | A kind of data dispatching method, device, system and the storage medium of static state portrait |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR100316288B1 (en) * | 1999-08-28 | 2001-12-20 | 서평원 | Wireless Internet Service Method In Gateway System |
KR20020017684A (en) * | 2000-08-31 | 2002-03-07 | 강준모 | Method For Conversion of Keyword Address to URL and Access to Wireless Web Sites |
US6901437B1 (en) * | 2000-10-06 | 2005-05-31 | Verizon Laboratories Inc. | Mobile cache for dynamically composing user-specific information |
CN100388788C (en) * | 2005-12-27 | 2008-05-14 | 北京邮电大学 | Mobile video order service system with optimized performance and realizing method |
CN100579122C (en) * | 2006-03-14 | 2010-01-06 | 中兴通讯股份有限公司 | Method for realizing browse service COOKIE of wireless application protocol gateway |
CN101388863A (en) * | 2008-09-16 | 2009-03-18 | 中兴通讯股份有限公司 | Implementing method and system for WAP gateway extraction service |
-
2008
- 2008-09-16 CN CN200810216149.8A patent/CN101388863A/en active Pending
-
2009
- 2009-08-26 WO PCT/CN2009/073521 patent/WO2010031297A1/en active Application Filing
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010031297A1 (en) * | 2008-09-16 | 2010-03-25 | 中兴通讯股份有限公司 | Method of wireless application protocol (wap) gateway pull service and system thereof |
CN103581258A (en) * | 2012-08-03 | 2014-02-12 | 中国移动通信集团公司 | Network data caching method and system |
WO2017020743A1 (en) * | 2015-08-06 | 2017-02-09 | 阿里巴巴集团控股有限公司 | Method and device for sharing cache data |
CN105354304A (en) * | 2015-11-06 | 2016-02-24 | 上海视云网络科技有限公司 | Linux file system file link based method for caching LRU |
CN105354304B (en) * | 2015-11-06 | 2018-10-02 | 上海视云网络科技有限公司 | A kind of caching LRU, method based on the link of Linux file system file |
CN110084114A (en) * | 2019-03-21 | 2019-08-02 | 北京旷视科技有限公司 | A kind of data dispatching method, device, system and the storage medium of static state portrait |
Also Published As
Publication number | Publication date |
---|---|
WO2010031297A1 (en) | 2010-03-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109684358B (en) | Data query method and device | |
CN110290217B (en) | Data request processing method and device, storage medium and electronic device | |
CN107251525B (en) | Distributed server architecture for supporting predictive content pre-fetching services for mobile device users | |
CN110457281A (en) | Data processing method, device, equipment and medium | |
US20150127766A1 (en) | Method and node entity for enhancing content delivery network | |
CN107251524A (en) | The mobile device user of management prognostic prefetching content is ordered and service preferences | |
CN107391664A (en) | Page data processing method and system based on WEB | |
CN110474940B (en) | Request scheduling method, device, electronic equipment and medium | |
JP2015509229A (en) | Application driven CDN pre-caching | |
CN101662483A (en) | Cache system for cloud computing system and method thereof | |
CN106453461A (en) | Resource caching method and resource caching device | |
CN113010818A (en) | Access current limiting method and device, electronic equipment and storage medium | |
CN107888666A (en) | A kind of cross-region data-storage system and method for data synchronization and device | |
CN108984553A (en) | Caching method and device | |
US20200320154A1 (en) | A webpage loading method, webpage loading system and server | |
CN101388863A (en) | Implementing method and system for WAP gateway extraction service | |
WO2014161261A1 (en) | Data storage method and apparatus | |
CN107613040A (en) | A kind of method and apparatus of domain name system DNS server lookup | |
CN107667352A (en) | File cache and synchronous technology for predictability | |
CN108156428A (en) | A kind of video monitoring system | |
US10705978B2 (en) | Asynchronous tracking for high-frequency and high-volume storage | |
CN103825922B (en) | A kind of data-updating method and web server | |
US10341454B2 (en) | Video and media content delivery network storage in elastic clouds | |
CN110334076B (en) | Data processing method, system, server and device | |
CN110365749A (en) | Information push method, message push system and a kind of storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20090318 |