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

Data query method and system, electronic device and storage medium

A data query and data technology, applied in the database field, can solve problems such as reducing database performance and long query response time, and achieve the effect of improving data query efficiency

Inactive Publication Date: 2019-10-18
SERVYOU SOFTWARE GRP
View PDF6 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In this way, when querying a large amount of data, there will be a large amount of irrelevant data in the decrypted plaintext, resulting in a long query response time and reducing the performance of the database

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, electronic device and storage medium
  • Data query method and system, electronic device and storage medium
  • Data query method and system, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] The following will clearly and completely describe the technical solutions in the embodiments of the application with reference to the drawings in the embodiments of the application. Apparently, the described embodiments are only some of the embodiments of the application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0052] In the prior art, when performing fuzzy query on a database storing ciphertext data, the traditional solution is to decrypt the ciphertext data in the database to obtain plaintext, fuzzy query on the plaintext, and then re-encrypt the data into ciphertext, stored again in the database. In this way, when querying a large amount of data, there will be a large amount of irrelevant data in the decrypted plaintext, resulting in a long query response time and reducing the performan...

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 data query method and system, device and a medium. The method comprises: acquiring a query character string in a query request; segmenting the query character string into single characters, and respectively encrypting the segmented single characters by using a preset encryption algorithm to obtain ciphertext character strings; performing fuzzy query in a preset database by utilizing the ciphertext character string, and performing matching to obtain a corresponding target character string; wherein the preset database pre-stores all encrypted data, and the encrypted data is obtained by cutting all plaintext data into single characters and encrypting the single characters by using a preset encryption algorithm; and decrypting the target character string to obtain decrypted data corresponding to the query request. According to the method and the device, fuzzy query is carried out in the database by utilizing the ciphertext character string, the corresponding ciphertext is matched, and fuzzy query can be carried out without analyzing all ciphertext data, so that data unrelated to the query request is prevented from being decrypted, and the data query efficiencyis effectively improved.

Description

technical field [0001] The present application relates to the technical field of databases, and more specifically, relates to a data query method and system, an electronic device, and a computer-readable storage medium. Background technique [0002] With the development of computer science and technology, a large amount of important business data is stored in the database, such as user privacy information such as name, mobile phone number, and ID number. In order to protect the security of private data in the database and prevent attackers from exploiting system vulnerabilities or illegally obtaining access rights to steal and tamper with private data, it is necessary to encrypt these important business data and store the ciphertext in the database to effectively protect Security of private data. [0003] However, when performing fuzzy query on a database storing ciphertext data, the traditional solution is to decrypt the ciphertext data in the database to obtain plaintext,...

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
IPC IPC(8): G06F16/2458G06F21/60G06F21/62
CPCG06F16/2468G06F21/602G06F21/6227
Inventor 苏辉吴迪邱剑锋
Owner SERVYOU SOFTWARE GRP
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