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

Data query method and device

A data query and data technology, applied in the information field, can solve the problems of low query efficiency and high query cost, and achieve the effects of saving query cost, improving query efficiency, and avoiding resource consumption

Active Publication Date: 2020-09-15
BEIJING FEINNO COMM TECH
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] When querying a certain piece of data, it is necessary to traverse the entire database of the DNS server, which not only has low query efficiency, but also has high query costs

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

[0052] In order to make the object, technical solution and advantages of the present invention clearer, the implementation manner of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0053]The embodiment of the present invention provides a data query method, see figure 1 , the method flow provided by the embodiment of the present invention includes:

[0054] 101. Receive a data query request, where the data query request carries at least phone number mapping ENUM data to be queried, and the ENUM data to be queried includes multiple levels of data.

[0055] 102. From the pre-established database, query the ENUM data that matches each level of the ENUM data to be queried layer by layer. The database stores multiple ENUM data, and each ENUM data is stored hierarchically in the database.

[0056] 103. During the layer-by-layer query process, if any ENUM data in the database does not match the ENUM data to be queried a...

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 device, and belongs to the technical field of information. The method comprises the following steps that: receiving a data query request, wherein the data query request at least carries ENUM (enumeration) data to be queried; from a pre-established database, inquiring the ENUM data matched with each hierarchy of data of the ENUM data to be queried by hierarchy; in a hierarchy to hierarchy query process, if any one piece of ENUM data in the database is not matched with the data, on an appointed hierarchy, of the ENUM data to be queried, returning a failure message; and if any one piece of ENUM data in the database is matched with each hierarchy of data of the ENUM data to be queried, returning a successful message. By use of the method, all data in the database does not need to be traversed, after the data query request is received, query is carried out in multiple hierarchies of the database to return a query result, query efficiency is improved, resource consumption caused by querying useless resources is avoided, and query cost is greatly saved.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a data query method and device. Background technique [0002] In the field of information technology, ENUM data (E.164 Number URI Mapping, telephone number mapping) can be obtained by converting E.164 numbers into domain name data. Usually ENUM data is stored in a database of a DNS (Domain Name System, domain name resolution system) server in units of entries. [0003] Based on the storage method of ENUM data, if you want to query a piece of ENUM data from the database of the DNS server, you need to query and compare one by one. For example, if 100,000 pieces of ENUM data are stored in the DNS database, it may be necessary to query 100,000 times. [0004] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0005] When querying a certain piece of data, it is necessary to traverse the entir...

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): G06F16/245
CPCG06F16/245
Inventor 井淼
Owner BEIJING FEINNO COMM TECH
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