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

Data query method, data processing method and device

A data query and data processing technology, applied in the computer field, can solve problems such as increasing user cost, affecting user experience, development, use, expansion and maintenance inconvenience, etc., to achieve the effect of improving user experience, easy maintenance, and easy use

Active Publication Date: 2017-08-11
ADVANCED NEW TECH CO LTD
View PDF4 Cites 42 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, due to the inconvenience in development, use, expansion and maintenance of this system, it increases the user's use cost and affects the user experience.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] Such as figure 1 As shown, the data processing method provided in the embodiment of the present application includes:

[0064] S101: Receive a data storage request.

[0065] In this step, the data storage request may include data to be stored. Of course, in addition to this, the request can also contain other content, such as an instruction identifier used to indicate data storage or index writing, used to distinguish user table names for different applications, and used to distinguish different stored index data unique identifier, etc.

[0066] The data to be stored included in the data storage request can be embodied in various forms. If it is embodied as unstructured data, it is preferable to use JSON (full name JavaScript Object Notation, which is a JavaScript programming language based on the ECMA-262 3rd Edition-December 1999 standard. Lightweight Data Interchange Format) is a form of data that is easy for users to read and write, but also easy for machines to ...

Embodiment 2

[0138] The embodiment of the present application also provides a data query method, including:

[0139] Receive a data query request; wherein, the data query request contains user fields;

[0140] According to the mapping relationship between the user field and the database field, the data query request is mapped to the database query statement; wherein, the data query request is embodied in the form of the user field, and the database query statement is embodied in the form of the database field;

[0141] According to the database query statement, query in the database to obtain a first query result; wherein, the database stores index data embodied in the form of a database field, and the first query result is embodied in the form of a database field;

[0142] According to the mapping relationship, the first query result is converted into a second query result; wherein, the second query result is embodied in the form of a user field.

[0143] The method provided in this embo...

Embodiment 3

[0145] The embodiment of the present application also provides a data processing system, see Figure 4 shown, including:

[0146] A request receiving module 101, configured to receive a data storage request including data to be stored;

[0147] The mapping relationship determination module 102 is used to determine the mapping relationship between the user field and the database field in the data to be stored according to the preset mapping rules when the request receiving module receives the data storage request containing the data to be stored; Store data as unstructured data;

[0148] The first conversion module 103 is configured to convert the data to be stored into index data according to the mapping relationship; wherein, the index data is embodied in the form of a database field;

[0149] A storage module 104, configured to store index data in a database.

[0150] Further, the system may also include:

[0151] The data center is used to save the mapping relationship,...

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 processing method. The method comprises the steps of determining a mapping relation between a user field and a database field in the to-be-stored data according to a preset mapping rule when a data storage request including to-be-stored data is received, wherein the to-be-stored data are unstructured data; converting the to-be-stored data into index data according to the mapping relation, wherein the index data are reflected in the form of database field; and storing the index data in a database. According to the method, the mapping relation can be stored, when the data query request is received, conversion between the user field and the database field is carried out and the data query is realized. The embodiment of the invention also provides a corresponding data query method and data processing system. Therefore, a data solution scheme which is easy to use, expand and maintain is provided, the method is suitable for processing of the unstructured data, and thus the usage cost of a user is reduced and the user experience is improved.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a data query method, a data processing method and a device. Background technique [0002] With the explosive growth of Internet data scale, data has played an increasingly important role in people's lives. How to store massive historical and real-time data, and how to quickly obtain useful information from huge data storage systems are becoming more and more challenging. In this context, technologies and systems related to various data processing have emerged as the times require. [0003] Take the search system as an example. Since search is one of the most efficient ways to obtain information, it has also become a basic standard function of various websites or applications. Developers who want to implement search functions in their products generally build search services based on an open source search system (such as ElasticSearch, Solr, Sphinx, Lucene, etc.). F...

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/313G06F16/3325
Inventor 马华标
Owner ADVANCED NEW TECH 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