A dynamic resource access acceleration method and device for improving cache hit rate
A cache hit rate and dynamic resource technology, which is applied in the field of dynamic resource access acceleration methods and devices, can solve problems such as overall page transmission delay, and achieve the effects of improving request response speed, cache hit rate, and intelligence
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] The execution subject of this method is a server or a node. The server can be a website server, a CDN content node server, or a server in a cloud computing service platform.
[0040] figure 1 It is a flowchart of a dynamic resource access acceleration method for improving cache hit ratio in Embodiment 1; this method includes:
[0041] Step 101, receiving an application programming interface API request carrying a user ID and a request target for a target website;
[0042] Step 102, generating a mapping request that removes the relevant information of the user identifier according to the API request;
[0043] Step 103, judging that the request result corresponding to the mapping request has been stored and the storage duration of the request result is less than or equal to the preset duration, extracting the stored request result corresponding to the mapping request, and returning the request result to the user identification corresponding User.
[0044] This method ...
Embodiment 2
[0049] figure 2 It is a structural diagram of a dynamic resource access acceleration device for improving the cache hit rate in Embodiment 2. This device is applied to a server or a node. The server can be a website server, a CDN content node server, or a server in a cloud computing service platform. This device include:
[0050] A receiving module, configured to receive an application programming interface API request carrying a user identification and a request target for a target website;
[0051] A generating module, configured to generate a mapping request that removes the relevant information of the user identifier according to the API request;
[0052] A storage judging module, configured to judge whether the request result corresponding to the mapping request has been stored and whether the storage duration of the request result is less than or equal to the preset duration;
[0053] The processing module is used to extract the stored request result corresponding to th...
specific Embodiment
[0064] The server provides a real-time fund price query function for registered users of a certain website, and only stores the fund code and the corresponding price when storing. In the prior art, after receiving an API request sent by a user to query the price of a certain fund during processing, the user ID and fund code are parsed from the API request, and the real-time price of the fund code is inquired to the back-end server, and the The queried real-time price is returned to the user corresponding to the above user ID.
[0065] In this specific embodiment, the fund identifier and the corresponding price requested by the user are cached in real time, the preset duration is set to 1 millisecond, and the price is updated after 1 millisecond. Received an API request from the first user Zhang San, the API request is to request the price of the fund code 300384, and the API request is http: / / www.stock.com / price.php? user=Zhang San&stock= 300384 . Remove the relevant info...
PUM
![No PUM](https://static-eureka-patsnap-com.libproxy1.nus.edu.sg/ssr/23.2.0/_nuxt/noPUMSmall.5c5f49c7.png)
Abstract
Description
Claims
Application Information
![application no application](https://static-eureka-patsnap-com.libproxy1.nus.edu.sg/ssr/23.2.0/_nuxt/application.06fe782c.png)
- 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