Data caching method and system for network request

A data caching and network request technology, applied in the network field, can solve problems such as occupying a large memory space, unable to save data, and data delay

Inactive Publication Date: 2019-05-17
NINGBO FOTILE KITCHEN WARE CO LTD
View PDF7 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, there are still some shortcomings in the above two traditional data caching methods: the pre-batch data caching method is actually a blind data caching. When the client needs to request a large amount of data, the data caching cannot save all the data In the memory, and it will also

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 caching method and system for network request
  • Data caching method and system for network request

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments.

[0034] Such as figure 1 As shown, the data caching method for the network request in this embodiment is used to realize the data communication between the client and the server, and the data caching method for the network request includes the following steps 1 to 5:

[0035] Step 1, adding a data cache device between the client and the server, so that each data request information transmitted on the network is received by the data cache device; wherein each data request information has a URL identifier representing the data request information; Among them, the URL (Uniform Resource Locator, abbreviated as URL) identifier is also called a uniform resource locator;

[0036]Step 2, the data caching device intercepts the URL identification of each data request information and caches each URL identification and the response data corresponding to e...

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 relates to a data caching method and system for a network request, and the method comprises the steps: adding a data caching device between a client and a server, and receiving data request information which is transmitted on a network and has a URL identifier; the caching device intercepts and caches the URL identifier of each piece of data request information and establishes a caching database; when the client sends a data request to the server, the client sends data request information to the data caching device for judgment: when the URL identifier corresponding to the current data request information sent by the client is located in the caching database, the data caching device sends cached response data corresponding to the current URL identifier to the client; otherwise, the data caching device forwards the data request information sent by the client to the server; the server sends response data corresponding to the data request information URL identifier to the data caching device for caching; and the data caching device sends the cached corresponding response data to the client, so that the client can receive the requested data.

Description

technical field [0001] The invention relates to the network field, in particular to a data cache method and a data cache system for network requests. Background technique [0002] With the development of information network technology, various clients for different applications have been developed one after another. In order to improve the performance of the client, a data cache layer is usually added to the client or a data layer is added to the server. These clients pre-fetch data from the server and save it in memory; when the client sends a data request, the client retrieves the data from the data cache and returns the corresponding data to the client. [0003] Of course, the traditional data caching method for the above data caching mainly adopts a pre-batch data caching method for data and a real-time filling data caching method for data. For example, when the pre-batch data cache method is used, before the client starts to request data, the data cache will be filled...

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
IPC IPC(8): H04L29/08
Inventor 黄煌陈斌德茅忠群诸永定
Owner NINGBO FOTILE KITCHEN WARE CO 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