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

Pending Publication Date: 2021-03-09
FUJIAN TIANQUAN EDUCATION TECH LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] 1. The business server itself is a centralized deployment. The business request arrives at the business server first, and the business server obtains data from the distributed cache and returns it to the client. Therefore, the pressure on the business server is very high when there is a large amount of concurrency
[0004] 2. The use and maintenance costs of business servers and cache servers are very high
[0005] 3. When the user is far away from the business server, the time wasted in the request process is very high

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
  • Data request processing method and CDN server
  • Data request processing method and CDN server
  • Data request processing method and CDN server

Examples

Experimental program
Comparison scheme
Effect test

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...

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 data request processing method and a CDN server. The CDN server receives an access request of a client; 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; and otherwise, it is judged whether cache data corresponding to the request data exists ornot, if so, the corresponding cache data is returned to the client, otherwise, cloud data corresponding to the request data is requested from the business server and caching the cloud data, and the cloud data is returned to the client. In other words, certain non-static resources are stored in the CDN server side to serve as cache data, the service pressure of the service server side and the datastorage cost are reduced, the number of nodes of the CDN server side is very large, the CDN server side is generally deployed in all main cities in the world, when a user accesses, the nearest CDN server side can be accessed nearby, and therefore, the speed of obtaining the data from the CDN by the user is much higher than the speed of obtaining the data from the business server.

Description

technical field [0001] The invention relates to the technical field of server-end optimization architecture, in particular to a data request processing method and a CDN server. Background technique [0002] At present, the large concurrent architecture in the industry is mainly based on the design of business server plus distributed cache. There is a problem with this architecture design: [0003] 1. The business server itself is a centralized deployment. Business requests arrive at the business server first, and the business server obtains data from the distributed cache and returns it to the client. Therefore, the pressure on the business server is very high when there is a large amount of concurrency. [0004] 2. The use and maintenance costs of business servers and cache servers are very high. [0005] 3. When the user is far away from the business server, the time wasted in the request process is very high. Contents of the invention [0006] The technical problem to...

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 Applications(China)
IPC IPC(8): H04L29/08
CPCH04L67/10H04L67/5681
Inventor 刘德建陈铭陈耀灿郭玉湖陈宏
Owner FUJIAN TIANQUAN EDUCATION TECH LTD
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