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
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
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...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com