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

Cache data detection method and device, computer equipment and storage medium

A technology for caching data and detection methods, applied in the field of data processing, to achieve the effect of improving detection efficiency

Active Publication Date: 2021-03-23
PING AN TECH (SHENZHEN) CO LTD
View PDF7 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The main purpose of this application is to provide a cache data detection method, device, computer equipment and storage medium, aiming to solve the existing technical problem of how to quickly detect project cache data that has not been cleared in local storage

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
  • Cache data detection method and device, computer equipment and storage medium
  • Cache data detection method and device, computer equipment and storage medium
  • Cache data detection method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0070] Those skilled in the art can understand that, unless otherwise defined, all terms (including technical terms and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this invention belongs. It should also be understood that terms, such as those defined in commonly used dictionaries, should be understood to have meanings consistent with their meaning in the context of the prior art, and unless specifically defined as herein, are not intended to be idealized or overly Formal meaning to explain.

[0071] refer to figure 1 , a method for detecting cached data in an embodiment of the present application, including:

[0072] S1: Judging whether an input cache detection request is received, wherein the cache detection request carries item infor...

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 technical field of data processing, and provides a cache data detection method and device, computer equipment and a storage medium, and the method comprises the steps: obtaining a cache detection script corresponding to project information when an input cache detection request is received; running the cache detection script, and obtaining a js code of the target project; generating an abstract syntax tree corresponding to the js code; traversing all objects in the abstract syntax tree, and obtaining a first key of each piece of first cache data contained in the jscode; obtaining a second key of the second cache data subjected to cache clearing processing; and obtaining and displaying target cache data corresponding to a third key based on the third key which is contained in the first key and has a matching result with the second key as matching failure. According to the method and the device, the target cache data which are not subjected to clearing processing in the local cache can be quickly detected. The method can also be applied to the field of block chains, and the target cache data and other data can be stored on the blockchains.

Description

technical field [0001] The present application relates to the technical field of data processing, and in particular to a cache data detection method, device, computer equipment and storage medium. Background technique [0002] Since the introduction of Localstorage (which can be called local storage) in HTML5, local storage has been widely used in the front-end field. [0003] Local storage is mainly operated through js code, which is used to store some commonly used and infrequently changed data in the project, such as user information and static data, directly in the browser, so as to facilitate calls from multiple places in the project. After the developer uses the project cache data in the local storage, if the project cache data in the local storage permanently exists locally in the browser and is not cleared in time, problems such as project code errors may occur. When the user has the need to detect whether there is uncleared item cache data in the local storage, how...

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): G06F9/448
CPCG06F9/4482
Inventor 陈志城
Owner PING AN TECH (SHENZHEN) 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