Data query method and device

A query method and data technology, applied in the database field, can solve problems such as hidden dangers, waste of server resources, leakage of data security, etc.

Inactive Publication Date: 2018-06-29
CHINA UNITED NETWORK COMM GRP CO LTD
View PDF5 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present invention provides a data query method and device, which solves the technical problem that the data query method in the prior art can only query data in fixed fields, resulting in a lot of...

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0048] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments It is a part of embodiments of the present invention, but not all embodiments. 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.

[0049] It should be understood that the term "and / or" used herein is only an association relationship describing associated objects, which means that there may be three relationships, for example, A and / or B, which may mean that A exists alone, and A and B exist simultaneously. B, there are three situations of B alone. In addition, the chara...

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 provides data query method and device. The method comprises the following steps: acquiring, via a uniform query interface, one or more fields selected by a user through a client; generating a query sentence according to the selected fields; sending the query sentence to a database; and receiving a dataset returned by the database. Since the user can freely select the to-be-queried field and conduct query through the uniform query interface, the generation of many duplicated codes is avoided, and the server resources are saved; and moreover, the data of the fields not for query isnot leaked, thereby enhancing the data security.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of databases, in particular to a data query method and device. Background technique [0002] With the explosive growth of information volume, the storage capacity requirements for databases storing various information are getting higher and higher. Facing the storage of big data, the query requirements for data are getting higher and higher. [0003] The query methods for data in the prior art mainly include two types. One is to query the data of fixed fields, and the other is to query the data of all fields. [0004] For the data query method of fixed fields, if you query different combinations of fields in the same table, you need to write multiple query functions or interfaces, resulting in a lot of repeated code and a waste of server resources. The data query method of all fields, each query returns the data of all fields, the data of useless fields wastes server resources an...

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): G06F17/30
CPCG06F16/903
Inventor 翟春辉贾捷张呈宇魏进武
Owner CHINA UNITED NETWORK COMM GRP CO LTD
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