Method for managing url resource cache and device thereof

A resource caching and resource location technology, applied in the Internet field, can solve the problems of consuming large processing resources, url adaptation of resource query and reading and writing, affecting user access speed, etc., to achieve the effect of improving flexibility and utilization, and expanding cache capacity

Active Publication Date: 2012-12-19
罗源县产品质量检验所
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0011] The technical problem to be solved by the present invention is to provide a method and device for managing url resource cache, which overcomes the fact that in the prior art, web gateways need to consume a large amount of processing resources to query and read and write url adaptation resources, so as to affect the user's Defects in access speed, while expanding the cache space

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for managing url resource cache and device thereof
  • Method for managing url resource cache and device thereof
  • Method for managing url resource cache and device thereof

Examples

Experimental program
Comparison scheme
Effect test

no. 2 example

[0049] In the second embodiment of the present invention, a method for managing url resource cache, the web gateway includes a service control module, an adaptation engine module and a cache module, such as Figure 4 As shown, the method includes:

[0050] Step 401, the service control module establishes communication links with multiple cache modules.

[0051] Step 402, the business control module sets a unique new url for each url adaptation resource, and inserts a large number of url adaptation resources into multiple cache modules in a balanced manner. Specifically, a corresponding new url is obtained through function mapping in the cache An integer within the range of the number of modules, and then allocate the url adaptation resource corresponding to the new url to the cache module corresponding to the integer number. The process of function mapping may be to process each new url string with a hash function to obtain an integer number, and then take the remainder of th...

no. 3 example

[0057] In the third embodiment of the present invention, the following describes the processing method of the web gateway for the end user to access the website request through a specific end user's access to the website, such as Image 6 Shown:

[0058] When the terminal user enters the url locally and sends the first http (hyper text transfer protocol, hypertext transfer protocol) request 601 to the web gateway to access a certain website, the service control module judges whether the url adaptation resource of the website exists in the cache of the web gateway in the module;

[0059] If the url adaptation resource of the website is not cached in the web gateway, the service control module sends the second http request 602 to obtain the url resource to the website, and after the service control module of the web gateway receives the second http response 603 from the website, it will The adaptation request 604 is sent to the adaptation engine module, and the adaptation engin...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for managing url resource cache and a device thereof; the method comprises: setting up communication link between a service control module and a plurality of cache modules in web gateway; and setting an unique new url for url adapting resource by the service control module, and inserting a great deal of url adapting resource into the plurality of cache modules in a balancing way; therefore, the defect that a great deal of processing resource are needed to be consumed by the web gateway for querying as well as reading and writing the url adapting resource so asto affect the access speed of the user can be overcome. Meanwhile, the plurality of cache modules are provided, a task assigning module of each cache module can be connected with at least one task processing module, and a plurality of task processing modules can execute the task of inserting and querying the url adapting resource in parallel, the cache capacity of the web gateway can be expanded,and the flexibility and the utilization rate of the url resource cache can be improved.

Description

technical field [0001] The present invention relates to the technical field of the Internet, in particular to a method and device for managing url (uniform resource locator, Uniform Resource Locator) resource cache. Background technique [0002] As wireless terminals such as terminal mobile phone users have higher and higher requirements for accessing Internet resources, existing terminal Internet access devices, such as WAP (Wireless Application Protocol, wireless application protocol) gateways, no longer adapt to the growing number of wireless terminal users. Requirements for content enhancement and adaptation. In order to solve this problem and bring wireless terminal users a better surfing experience, web gateways have been constructed to provide such content-enhanced and adapted web services. [0003] A web gateway generally includes the following functional modules: [0004] The service control module is responsible for wireless terminal user access and access contro...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): H04W28/14H04W76/02H04W80/12
Inventor 丁宇峰
Owner 罗源县产品质量检验所
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products