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

File caching method and device, electronic equipment and storage medium

A technology of file caching and electronic equipment, applied in the field of data processing, can solve problems such as traffic requirements, long time, and cost, and achieve the effect of ensuring the latest status, satisfying storage space, and improving cache efficiency

Pending Publication Date: 2021-09-07
PING AN BANK CO LTD
View PDF6 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

At present, for large files, the size ranges from dozens of M to several G. When faced with large file caching, the following problems are likely to exist: 1. There are requirements for storage space, and it is no longer possible to use redis and the like Caching scheme; 2. There are requirements for traffic. During the caching process of large files, the transmission is prone to interruption, and when the transmission is interrupted, it needs to be retransmitted, which is a great waste of traffic and consumes more 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
  • File caching method and device, electronic equipment and storage medium
  • File caching method and device, electronic equipment and storage medium
  • File caching method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0057] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0058] An embodiment of the present application provides a file caching method. Executors of the file caching method include but are not limited to at least one of electronic devices such as a server and a terminal that can be configured to execute the method provided by the embodiment of the present application. In other words, the file caching method can be executed by software or hardware installed on the terminal device or server device, and the software can be a block chain platform. The server includes, but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.

[0059] refer to figure 1As shown, it is a schematic flowchart of a file caching method provided by an embodiment of the present invention. In an embodiment of the present invention, the file cach...

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 the field of data processing, and discloses a file caching method which comprises the following steps: receiving a server access request transmitted by a client, and verifying the server access request; when the server access request passes verification, querying a server file corresponding to the server access request; carrying out storage fragmentation on a server file to generate a plurality of sub-fragmented files, and storing the sub-fragmented files into a cache node space of a server; transmitting the sub-fragment files of the cache node space to a client, and combining the sub-fragment files to obtain a client file; identifying whether the client file is consistent with the server file; if not, re-querying the server file corresponding to the server access request; and if the client file is consistent with the server file, storing the client file in a cache of the client. In addition, the invention also relates to a block chain technology, and the server file can be stored in a block chain. According to the invention, the caching efficiency of the large file can be improved.

Description

technical field [0001] The present invention relates to the field of data processing, in particular to a file caching method, device, electronic equipment and computer-readable storage medium. Background technique [0002] File cache usually stores the content of web pages visited by users in the local client cache or browser cache, which is used to facilitate users to directly query from the local client cache or browser cache when they visit the webpage next time, and improve the webpage response speed. At present, for large files, the size ranges from dozens of M to several G. When faced with large file caching, the following problems are likely to exist: 1. There are requirements for storage space, and it is no longer possible to use redis Caching scheme; 2. There are requirements for traffic. During the caching process of large files, the transmission is prone to interruption, and when the transmission is interrupted, it needs to be retransmitted, which is a great waste...

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/08H04L29/06H04L12/24
CPCH04L63/08H04L67/06H04L41/0893H04L67/568
Inventor 陈欢
Owner PING AN BANK CO LTD
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