Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for accessing data by combining caching and CDN

A technology for accessing data and caching, applied in the Internet field, it can solve the problems of slow data return and the inability of cache to exist for a long time, achieve the effect of accelerating static data, reducing the workload of repeatedly generating cache, and improving efficiency

Active Publication Date: 2020-11-03
GUANGDONG GUANGXIN COMM SERVICES COMPANY
View PDF8 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The technical problem to be solved by the embodiments of the present invention is to provide a combination of cache and CDN access data and device, which can solve the problem that the geographical location of the user and the server is too far apart, the returned data to be accessed is relatively slow, and the cache cannot exist for a long time

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
  • A method and device for accessing data by combining caching and CDN
  • A method and device for accessing data by combining caching and CDN
  • A method and device for accessing data by combining caching and CDN

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0029] Embodiments of the invention:

[0030] see Figure 1-3 .

[0031] Such as figure 1 As shown, a method for accessing data combined with caching and CDN provided in this embodiment includes at least the following steps:

[0032] S101. In response to the data request sent by the client, query the CDN file in each CDN server to determine whether there is the latest CDN file;

[0033] S102a. If so, lock the target CDN server, and decrypt the node service data...

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 and device for accessing data by combining cache and CDN. The method includes: in response to a data request sent by a client, querying CDN files in each CDN server to determine whether the latest CDN file exists; , then lock the target CDN server, and decrypt the business data of the node and return it to the client; if not, perform the following steps; read the corresponding latest data from the database according to the data request; transmit the latest data to the interpreter, So that the interpreter interprets the latest data into a CDN-distributable file format, and obtains the latest CDN file; transmits the latest CDN file to the middle-tier server, so that the middle-tier server encrypts the latest CDN file and distributes it to each CDN server. The invention can reduce the workload of the server to repeatedly generate the cache, and improve the access efficiency of users in different geographical locations without changing the processing mode of the existing CDN operator.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a method and device for accessing data combined with cache and CDN. Background technique [0002] The mobile phone repair service system will save historical repair data, which users will use to query the completion of these historical data and judge whether it is suitable to choose the repair provider. Therefore, most of the historical data queried by users are static data, and they have already occurred and will not be repeated. Changed maintenance data. [0003] The existing technical solutions use caching to improve the access efficiency of the application layer, but there are the following disadvantages: the data cache is placed on the application layer server or the cache server, and the application layer server or the cache server. It will return slowly. Secondly, if the user does not visit after a period of time, the cache will be cleared by the server, and the cach...

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): H04L29/08
CPCH04L67/1095H04L67/1097H04L67/5682
Inventor 冼陈建江健梁嘉晋
Owner GUANGDONG GUANGXIN COMM SERVICES COMPANY
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products