Data query method and system

A data query and cluster system technology, applied in the field of data processing, can solve the problems of performance discount, increase hardware equipment, etc., to achieve the effect of improving performance, saving costs and resources

Inactive Publication Date: 2018-08-17
北京思特奇信息技术股份有限公司
View PDF4 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will undoubtedly add more hardware devices, and the performance will be greatly reduced

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 query method and system
  • Data query method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0014] In the following description, for purposes of illustration rather than limitation, specific details such as specific system architectures, interfaces, and techniques are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the invention may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0015] The embodiment of the present invention provides a data query method and system.

[0016] According to an aspect of the embodiments of the present invention, the embodiments of the present invention provide a data query method.

[0017] see figure 1 , figure 1 It is a schematic flowchart of a data query method provided by an embodiment of the present invention.

[0018] like figure 1 As shown, th...

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 embodiment of the invention relates to a data query method and system, and belongs to the technical field of data processing. The method comprises the steps that cluster information is loaded intoan instruction configuration table carrying redis information through a lua script to obtain a redis-cluster instruction; according to the redis-cluster instruction, a redis cluster system and a keyin received data query request information, target hash slot information is determined; connection with target redis in the redis cluster system is established according to the target hash slot information, and data is inquired from the target redis. According to the technical scheme, on the one hand, the technical defect that a plurality of hardware devices are added by using middleware in the prior art is avoided; on the other hand, the technical effects of saving cost and resources and improving the data query performance are achieved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of data processing, and in particular, to a data query method and system. Background technique [0002] Redis is an open-source, log-type, Key-value database written in ANSI C language, supports network, can be memory-based or persistent, and provides APIs in multiple languages. Redis is a high-performance key-value storage system. [0003] With the wide application of redis, Openresty, as a web platform based on nginx+lua, currently also has a library that supports redis. But in the existing technology, Openresty can only support a single point. Of course, in the existing technology, such as openresty, many enterprises also choose middleware (codis, twemproxy, etc.) Layer single point problem, and then had to introduce keepalived as a high availability solution. This undoubtedly adds more hardware devices, and the performance is greatly reduced. Contents of the invention [0...

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): G06F17/30
CPCG06F16/2255G06F16/2455G06F16/25
Inventor 针虎虎
Owner 北京思特奇信息技术股份有限公司
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