Method and device for querying data

A query method and data technology, applied in the field of communications, can solve problems such as bloated packets and inflexible user queries, and achieve the effects of improving query flexibility, improving query efficiency, and reducing query times.

Active Publication Date: 2017-06-20
ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES CO LTD
View PDF5 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, in this way, although the number of user queries can be reduced to some extent, if the que

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

Example Embodiment

[0062] In related technologies, when performing a query operation for a certain type of data containing many attributes, in order to avoid multiple queries for different attributes, the data of each attribute contained in this type of data can usually be passed through a specific report. The text format is assembled in a message and returned to the query end to complete the query; however, assembling the data of each attribute in a message may cause the message bloat and the user's query is not flexible enough.

[0063] For example, in an application scenario shown, the foregoing type of data containing many attributes may be financial account data.

[0064] Among them, financial account data refers to the data retained by users in the counter systems of financial institutions such as brokers. These data include data with many different attributes related to the user's account. For example, financial account data can usually include funds such as fund balance, available balance, Di...

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 a method and a device for querying data. The method comprises the following steps: receiving a query message transmitted by a query side, wherein the query message carries query data, the query data is used for indicating one or more target data packets in target data, the target data is pre-divided into the data packets, and each of the data packets contains data of several attributes; querying data corresponding to the target data packets indicated by the query data and building a response message based on the queried data, wherein the response message contains at least one sub-message body, and the data corresponding to the attributes contained in the target data packets is respectively carried in the different sub-message bodies; transmitting the built response message to the query side. According to the method and the device provided by the invention, the query flexibility of the target data can be improved.

Description

technical field [0001] The present application relates to the communication field, and in particular to a data query method and device. Background technique [0002] In practical applications, when executing data query for a certain type of data that contains many attributes, in order to avoid executing multiple queries for different attributes, resulting in low query efficiency and high system overhead, you can usually use this The data of each attribute contained in one type of data is assembled in a message through a specific message format, and then returned to the query end to complete the query. [0003] However, in this way, although the number of user queries can be reduced to a certain extent, if the queried data contains a large number of attributes, it may cause bloated messages and the user's query is not flexible enough. Contents of the invention [0004] The present application proposes a data query method, the method comprising: [0005] Receive a query me...

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/2453G06F16/2455
Inventor 李兆贵周杰李少翀王义龙蒋超樊宏伟
Owner ANT WEALTH (SHANGHAI) FINANCIAL INFORMATION SERVICES 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