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

Method and device for querying data

A technology for querying data and data, which is applied in the field of querying data, can solve problems such as data with expired data, whether hierarchical data has expired, etc., and achieve the effect of improving effectiveness

Active Publication Date: 2021-10-19
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The data query system in the prior art usually queries the set or quantity of identifiers related to the identifier in the sub-level according to the identifier located in the parent layer, and usually does not consider whether the stored hierarchical data has expired, so as to return to the user Data may be outdated

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
  • Method and device for querying data
  • Method and device for querying data
  • Method and device for querying data

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0034] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0035] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0036] figure 1 An exemplary system architecture 100 is shown to which embodiments of the method for querying data or the apparatus for querying data of the present application can be applied.

[0037] Such as figure 1 As shown, the system architecture 100 may include term...

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

This application discloses a method and device for querying data. A specific implementation of the method includes: receiving a data query request sent by a user terminal, wherein the data query request includes a user identifier, a field name, and a data version number; Target level data that matches and contains the same data version number as that contained in the data query request, wherein the level data set is pre-stored in memory, and each level data set in the level data set have a data identifier and a data version number; in response to determining that the target level data exists in the level data set, based on the target level data, determine the data related to the field indicated by the field name requested by the data query request, and The data is returned to the user terminal. This embodiment improves the effectiveness of data query.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to a method and device for querying data. Background technique [0002] Hierarchical data is data that includes multiple hierarchies (such as parent hierarchies, child hierarchies) and has a clear hierarchical structure. Hierarchical data may, for example, be data with a tree-like storage structure. For example, hierarchical data containing three levels for storing item information, the first level of the hierarchical data may include the category identification of the first-level category to which the item belongs, and the second level may include the category identification of each sub-category of the first-level category, The third level may include item identifiers of items belonging to each subcategory, and the third level is the last level of the hierarchical data. Here, the first level may be called the paren...

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/2458G06F16/2455G06F16/22
Inventor 刘辉聪王希斌刘泽胤
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) 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