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

Cache-based quick query method and device, computer equipment and storage medium

A query method and caching technology, applied in the Internet field, can solve problems such as slow disk response to query requirements

Pending Publication Date: 2020-04-10
SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES CO LTD
View PDF2 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a cache-based fast query method, device, computer equipment, and storage medium, aiming to solve the existing problem of slow disk response to query requirements due to excessive data volume

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-based quick query method and device, computer equipment and storage medium
  • Cache-based quick query method and device, computer equipment and storage medium
  • Cache-based quick query method and device, computer equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] 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 some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0031] It should be understood that when used in this specification and the appended claims, the terms "comprising" and "comprises" indicate the presence of described features, integers, steps, operations, elements and / or components, but do not exclude one or Presence or addition of multiple other features, integers, steps, operations, elements, components and / or collections thereof.

[0032] It should also be understood that the terminology 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
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a cache-based quick query method. The method comprises the steps of obtaining a query demand of a user for querying required information; detecting whether required data existsin cache data or not on the basis of the query demand; if the required data exists, acquiring the required data, and ending the query; if the required data does not exist, switching to a database toinquire required information, and calling after the required information is inquired; and taking the called required information data as value, taking the id of a class name plus the required data askey, and storing the value and the key in cache data. The consistency of data in a database and data in a cache is guaranteed through distributed cache middleware in a cluster environment, high availability and persistence of the cache middleware are guaranteed, the problem that the disk response speed is low due to the fact that the data size is too large is solved, and data needed by a query command are rapidly and accurately obtained; the cache of the memory space is periodically cleared, and the situation of overflow due to overlarge data volume is prevented.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a cache-based fast query method, device, computer equipment and storage medium. Background technique [0002] At this stage, as the number of users and business volume in the system continues to grow, the business continues to accumulate and the amount of data also continues to grow. At this time, the server response is getting slower and slower, and the disk throughput encounters a bottleneck. Optimizing SQL can no longer solve the problem. It is necessary to solve the corresponding performance problems by adding data to the cache. [0003] For the above performance problems, third-party caching middleware is required. Although the JVM itself has a cache, it is not suitable for use in a cluster environment because it is a stand-alone machine and cannot be recovered. In a cluster environment, you need to use distributed cache middleware; when using cache, you need to ensure...

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): G06F16/2455G06F16/25
CPCG06F16/24552G06F16/25
Inventor 邓涛肖隆韬邓爽
Owner SHENZHEN QIANHAI HUANRONG LIANYI INFORMATION TECH SERVICES 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