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

Detection method, device, computer equipment and storage medium of cached data

A technology for caching data and detection methods, applied in the field of data processing, to achieve the effects of improving quality, improving detection efficiency, and reducing program bugs

Active Publication Date: 2022-03-18
PING AN TECH (SHENZHEN) CO LTD
View PDF7 Cites 0 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
  • Detection method, device, computer equipment and storage medium of cached data
  • Detection method, device, computer equipment and storage medium of cached data
  • Detection method, device, computer equipment and storage medium of cached data

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 present application relates to the technical field of data processing, and provides a cache data detection method, device, computer equipment, and storage medium. The method includes: when an input cache detection request is received, acquiring a cache detection script corresponding to item information; running the cache Detect the script, obtain the js code of the target project; generate an abstract syntax tree corresponding to the js code; traverse all objects in the abstract syntax tree, obtain the first key of each first cache data contained in the js code; and obtain the cache cleared The second key of the second cached data is processed; based on the third key whose matching result between the first key and the second key is a match failure, acquire and display the target cached data corresponding to the third key. The application can quickly detect the target cache data that has not been cleared in the local cache. The present application can also be applied to the blockchain field, and data such as the above-mentioned target cache data can be stored on the blockchain.

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 Patents(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