Unlock instant, AI-driven research and patent intelligence for your innovation.

Method, device and system for data inquiry

A data query device and data query technology, applied in the field of data processing, can solve the problems of query methods, ease of use, system efficiency, and performance that are difficult to achieve balance, and achieve the effects of improving convenience and efficiency, convenient programming, and simple use

Inactive Publication Date: 2012-07-11
KINGDEE SOFTWARE(CHINA) CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The embodiment of the present invention provides a data query method, which aims to solve the problem that it is difficult to achieve a balance between the ease of use of the existing query method and the efficient performance of the system

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, device and system for data inquiry
  • Method, device and system for data inquiry
  • Method, device and system for data inquiry

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0022] figure 1 The data query method provided by the first embodiment of the present invention is shown. In this embodiment, the acquired relational data stream is bridged into an object stream, and the object stream is mapped into an object. The details are as follows:

[0023] In step S11, a relational data stream is obtained from the database.

[0024] Use the IDataReader tool to obtain the relational data stream in the relational database. The specific definition of the IDataReader tool is shown in Table 1:

[0025] Table 1:

[0026]

[0027] The IDataReader tool uses the Read() function to read the data of the relational database row by row. After reading a row of data, it moves to the next row. The row-by-row relational data read is a relational data stream.

[0028] As another embodiment of the present invention, before the step of acquiring the relational data stream in the database, a step is further included: sending a request for acquiring the data stream to t...

Embodiment 2

[0056] figure 2 The data query device provided by the second embodiment of the present invention is shown, and for the convenience of description, only the parts related to the second embodiment of the present invention are shown.

[0057] The data query device can be a software unit, a hardware unit, or a combination of software and hardware running in the system, or it can be integrated into these systems as an independent pendant or run in the application systems of these systems, wherein:

[0058] The data stream acquisition module 21 is used to acquire relational data streams from the database.

[0059] As another embodiment of the present invention, before the data stream acquisition module 21 acquires the relational data stream, the data query device further includes: a sending request module 24, configured to send a data stream acquisition request to the database.

[0060] The bridge module 22 reads the relational data acquired by the data stream acquisiti...

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, a device and a system for data inquiry, which are applicable to the field of data processing. The method includes steps of acquiring relational data flows from a database; reading data from the relational data flows one by one and connecting read data bridges to be an object flow and mapping the object flow to be objects. The method, the device and the system are simple in use since object models, relation models and mapping relations do not need to be built in advance; further, relational data flows in the database are converted into objects so that programmers can program conveniently and convenience and efficiency in data inquiry in the database are improved. Moreover, the data flows can be shut down automatically on the condition of enumeration success or failures, and thereby safety shutting down of connection of the database is guaranteed.

Description

technical field [0001] The invention belongs to the field of data processing, and in particular relates to a data query method, device and system. Background technique [0002] At present, many software application systems need to be used in combination with databases and programs. In the process of use, it is often necessary to query the data stored in the database. Due to the complexity and variability of business in enterprise applications, the requirements for the convenience and efficiency of querying data in the database are relatively high. [0003] There are three commonly used data query methods: one is to execute SQL statements, use custom code to fill the data stream of the read-only forward reader IDataReader behind the object, and then directly access the data of the object, although this method can Directly access the data of the object, but it is difficult to use because the programmer needs to maintain the opening and closing of the database connection; the ...

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
Inventor 谈少民
Owner KINGDEE SOFTWARE(CHINA) CO LTD