Data request processing method and CDN server
A processing method and data request technology, applied to electrical components, transmission systems, etc., can solve problems such as high wasted time, high use and maintenance costs of business servers and cache servers, and high pressure on business servers, so as to reduce business pressure Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0061] Please refer to figure 1 and figure 2 , Embodiment 1 of the present invention is:
[0062] A method for processing a data request, comprising the steps of:
[0063] S1. The CDN server receives the access request from the client;
[0064] In this embodiment, it is assumed that in an e-commerce business, there is an interface for obtaining a product list under a certain store. Since the basic information of the product list in the store does not change frequently, the product list belongs to the preset cache data type. At this point, when user A initiates an access request to obtain a store list, the CDN gateway assigns a nearby CDN server to user A according to user A's geographic location.
[0065] S2. The CDN server judges whether the request data of the access request is a static resource, and if so, returns the static resource corresponding to the request data to the client, otherwise executes step S3;
[0066] Wherein, in step S2, otherwise performing step S3 i...
Embodiment 2
[0081] Please refer to image 3 , the second embodiment of the present invention is:
[0082] A CDN server 1, comprising a memory 3, a processor 2, and a computer program stored on the memory 3 and operable on the processor 2, when the processor 2 executes the computer program, it realizes the process as in Embodiment 1 step.
[0083]In summary, the present invention provides a data request processing method and a CDN server. After the CDN server receives the access request from the client, it directly returns the static resource to the client by using the interface access; it judges whether the non-static resource is The type of data that can be cached, does not cache data that requires high immediacy and frequently changes information, to avoid data delays and inaccuracies, and judges whether cacheable non-static resources are cached in the CDN server, and the data has been cached and the data is valid If the time has not expired, return the cached data to the client; othe...
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