CN106649314A - Data query method and device - Google Patents
Data query method and device Download PDFInfo
- Publication number
- CN106649314A CN106649314A CN201510718321.XA CN201510718321A CN106649314A CN 106649314 A CN106649314 A CN 106649314A CN 201510718321 A CN201510718321 A CN 201510718321A CN 106649314 A CN106649314 A CN 106649314A
- Authority
- CN
- China
- Prior art keywords
- query
- fields
- field information
- data
- result
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/90335—Query processing
- G06F16/90348—Query processing by searching ordered data, e.g. alpha-numerically ordered data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9038—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a data query method and device, relates to the technical field of internet, and is provided for solving the problem of bad commonality in the query interface in the prior art. The method comprises the steps that a query field collection is obtained, the field collection comprises query fields respectively used for restricting query results, query conditions, result sorting methods and result grouping methods; the field collection is converted to query requests; the query requests are sent to a data query party; in response to the data query party, the query data are determined; wherein the query data are the data results obtained through the query conditions; the query conditions comprise query result requests, result sorting methods and result grouping methods. The data query method and device are applicable in the process of using query interface designs.
Description
Technical field
The present invention relates to Internet technical field, more particularly to a kind of method and device of data query.
Background technology
At present, each query interface provider has a set of query structure of oneself, and interface interchange side exists
Query interface is called to need to learn the logic of query interface query structure when being inquired about, then design is looked into
Ask request to be inquired about.
During being inquired about using query interface, inventor has found that interface interchange side is calling
When different query interfaces is inquired about, the logic for learning various different query interface query structures is needed,
The workload and difficulty of data query are which increased, all existing query interfaces have poor universality
Problem.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the problems referred to above or at least portion to provide one kind
A kind of method and device of the data query for solving the above problems with dividing.
To solve above-mentioned technical problem, on the one hand, the invention provides a kind of method of data query,
The method includes:
Obtain inquiry set of fields;Wherein, the set of fields comprising be respectively used to limit Query Result,
The inquiry field of querying condition, sort result mode and result packet mode;
The set of fields is converted to into inquiry request;
The inquiry request is sent to into data query side;
In response to the data query side, it is determined that inquiry data;Wherein, the inquiry data are to pass through
The data result that the querying condition is obtained;The querying condition is included:The Query Result requirement,
The sort result mode and the result packet mode.
On the other hand, present invention also offers a kind of device of data query, the device includes:
Set of fields acquiring unit, for obtaining inquiry set of fields;Wherein, the set of fields bag
Look into containing being respectively used to limit Query Result, querying condition, sort result mode and result packet mode
Ask field;
Request converting unit, for the set of fields to be converted to into inquiry request;
Transmitting element, for the inquiry request to be sent to into data query side;
Determining unit, in response to the data query side, it is determined that inquiry data;Wherein, it is described
Inquiry data are the data result obtained by the querying condition;The querying condition is included:It is described
Query Result requirement, the sort result mode and the result packet mode.
The method and device of the data query provided by above-mentioned technical proposal, the present invention, using the teaching of the invention it is possible to provide
A kind of general inquiry framework, includes acquisition inquiry set of fields, and set of fields is converted to into inquiry
Request, is then issued to data query side, and receiving data issuer returns and meets querying condition, meets
Query Result, the data result for meeting sort result mode and result packet mode.With prior art phase
Than the present invention can be by query interface according to inquiry framework standardization, and user is only needed to for carrying out
The field condition of data query is selected, without the need for writing query interface function, it is possible thereby to carry
Rise the versatility of query interface.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the present invention's
Technological means, and being practiced according to the content of description, and in order to allow the above-mentioned of the present invention and
Other objects, features and advantages can become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By the detailed description for reading hereafter preferred implementation, various other advantage and benefit for
Those of ordinary skill in the art will be clear from understanding.Accompanying drawing is only used for illustrating the mesh of preferred implementation
, and it is not considered as limitation of the present invention.And in whole accompanying drawing, with identical with reference to symbol
Number represent identical part.In the accompanying drawings:
Fig. 1 shows a kind of method flow diagram of data query provided in an embodiment of the present invention;
Fig. 2 shows the method flow diagram of another kind of data query provided in an embodiment of the present invention;
Fig. 3 shows a kind of composition frame chart of the device of data query provided in an embodiment of the present invention;
Fig. 4 shows the composition frame chart of the device of another kind of data query provided in an embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing in accompanying drawing
The exemplary embodiment of the disclosure is shown, it being understood, however, that may be realized in various forms the disclosure
And should not be limited by embodiments set forth here.On the contrary, there is provided these embodiments are able to more
Thoroughly understand the disclosure, and can be by the complete technology for conveying to this area of the scope of the present disclosure
Personnel.
To solve the problems, such as that existing query interface has poor universality, one kind is embodiments provided
The method of data query, as shown in figure 1, the method includes:
101st, inquiry set of fields is obtained.
The present embodiment is to provide for unified inquiry framework interface, that is, unify looking into for all of query interface
Framework is ask, all of query interface thus can preferably enter according to unified inquiry Frame Design
The standardization of line interface.The process of one inquiry is related to interface interchange side and interface provider, in inquiry
During need interface interchange side provide query demand, then interface provider according to obtain inquiry
Demand returns Query Result.
Generally, all there are the intrinsic factor of a set of fixation in query demand, and be all around field
Carry out, therefore field is factor crucial in inquiry, field here refers to attribute.
It is that to design unified query framework is also primarily crucial step that inquiry set of fields is obtained in this step
Suddenly.Wherein inquire about set of fields to be provided by interface interchange side.Set of fields bag in the present embodiment
Containing the word for being respectively used to restriction Query Result, querying condition, sort result mode and result packet mode
Section.
102nd, set of fields is converted to into inquiry request.
This step is that the set of fields obtained by step 101 is converted to inquiry request by interface provider.
103rd, inquiry request is sent to into data query side.
Here inquiry request is the set of fields that will be obtained in step 101, turning according to step 102
Change the inquiry request that method migration is obtained.In addition the inquiry request refers to the interface provider inquiry of itself
Request.
Then inquiry request is sent to into data query side, transmission here refers to that interface provider's is interior
Portion sends, i.e., data query side is the data query end inside interface provider.Wherein data query end
Can be with the data in query interface provider, the storage form of data can be data in interface provider
Storehouse, comma separated value (Comma-Separated Values, abbreviation CSV) file and excel are literary
Any one data storage format such as part.
It is not limited to the method for data query side to sending inquiry request in the present embodiment, existing
Delivery method is all within protection scope of the present invention.
104th, in response to the data query side, it is determined that inquiry data.
Wherein, the inquiry data are the data result obtained by the querying condition;The inquiry
Condition is included:Query Result requirement, sort result mode and result packet mode.
In the present embodiment, inquire about data can pass through querying condition acquisition, meet Query Result requirement
And the data result that arranges according to sort result mode and result packet mode.Further, look into
Inquiry condition can be inquiry data screening condition, inquiry data Rule of judgment etc.;Query Result is required can
Be for Query Result input/output format set.To above-mentioned querying condition and Query Result sheet
Any restriction is not done in invention.
The inquiry data that interface interchange side receiving data issuer returns, wherein inquiry data are that interface is carried
Supplier carries out inquiring about the data for obtaining by step 103 by the way that inquiry request is sent to into data query side.
The inquiry data of return are the data for meeting inquiry request, and because inquiry request is turned by set of fields
Change generation, thus return inquiry data be by querying condition obtain, meet Query Result will
Data result that is asking and arranging according to sort result mode and result packet mode.
Further, it is determined that after inquiry data, externally exporting inquiry data to interface interchange side.
A kind of method of the data query that the present embodiment is provided, using the teaching of the invention it is possible to provide general inquiry framework, bag
Acquisition inquiry set of fields is included, set of fields has been converted to into inquiry request, be then issued to data query
Side, and receiving data issuer return meet querying condition, meet Query Result, meet sort result
The data result of mode and result packet mode.Compared with prior art, the present embodiment will can be inquired about
According to inquiry framework standardization, user only needs to enter the field condition for carrying out data query interface
Row is selected, without the need for writing query interface function, it is possible thereby to lift the versatility of query interface.
Further, as the refinement and extension to embodiment illustrated in fig. 1, present invention also offers separately
One embodiment.As shown in Fig. 2 the method for data query includes in the embodiment:
201st, criteria field information is obtained, criteria field information is include that what data query side was related to owns
The field information of field.
Before data query is carried out, it is necessary first to send a request, the request to interface provider
It, in order to obtain all criteria field information that interface provider can be provided, is exactly that data query side relates to be
And all fields field information.
This step is also to generate set of fields for interface interchange side below to prepare.
202nd, derivative field information is converted to according to criteria field information.
Interface provider can also provide in addition to it can provide the criteria field information in step 201
Some derivative field informations.The derivative field information is that the criteria field being related to according to data query side is believed
The field information that breath is converted to.Provide example to illustrate:The criteria field letter that data query side is related to
There are the fields such as " by number ", " total number of persons " in breath, derivative field can be " logical to be new field
Cross rate ", and " percent of pass " is worth to the ratio of " total number of persons " " by number " by calculating.
203rd, external outputting standard field information and derivative field information, so that outside is according to criteria field
Information and derivative field information select to generate set of fields.
This step is that the criteria field information in step 201 is exported by interface provider's docking port called side
With the derivative field information in step 202.Outputting standard field information and derivative field information be in order to
Interface interchange root selects to generate set of fields according to criteria field information and derivative field information, thus
Ensure that the set of fields that interface interchange side generates is field present in interface provider, that is, ensure
The data of interface interchange side's inquiry are the data that interface provider can provide.
The set of fields of generation is the restriction to query script and Query Result, is specifically generating sets of fields
It is the field that can be provided according to specific query demand and interface provider during conjunction determining.
204th, inquiry set of fields is obtained.
Obtain inquiry set of fields and refer to that interface provider obtains the set of fields of interface interchange side's input,
All fields in the set of fields are believed from criteria field information and derivative field by interface interchange side
The field selected in breath.Set of fields is included for limiting Query Result, inquiry bar in the present embodiment
The field of part, sort result mode and result packet mode, concrete meaning is as follows:
Limit Query Result to refer to, limit the data comprising which attribute in result, attribute is exactly in fact
Row, so limiting in result comprising the data of which row;
Limit querying condition to refer to, limit and which type of condition to obtain data according to, that is, limit and select institute
The condition of satisfaction need to be arranged;
Limit sort result mode to refer to, when limiting inquiry data, be ranked up by what attribute, i.e.,
Specify the row included in sequence;
Limit result packet mode to refer to, when limiting inquiry data, data are carried out according to what attribute
Which packet, i.e., arrange in designated packet comprising.
205th, query argument is constructed according to set of fields, set of fields is converted to into inquiry request.
The set of fields that interface provider receives according to step 204 constructing query argument, construction ginseng
Several processes is exactly for the process of the corresponding dimensional labels of information addition in set of fields, dimensional labels
For the dimension that identification field is limited, dimension includes Query Result, querying condition, sort result side
Formula and result packet mode.
Then the query argument of construction is converted to inquiry request by interface provider.
206th, the qualificationss of range of results are added in inquiry request.
Before step 205, the qualificationss of range of results are added in inquiry request, as a result
The qualificationss of scope refer to the restriction of the bar number of the inquiry data to returning.Specify what data were returned
Quantity.
The qualificationss of the range of results in this step turn together with the query argument constructed in step 205
Change the inquiry request of generation.The qualificationss of range of results and restriction Query Result, querying condition, knot
Fruit sortord and result packet mode constitute together unified inquiry framework.
207th, inquiry request is sent to into data query side.
Inquiry request in the step is included the qualificationss and step of range of results in step 206
The query argument constructed in 205 changes together the inquiry request of generation, then by the inquiry request according to figure
The mode that inquiry request is sent in 1 step 103 is sent to data query side.
208th, in response to the data query side, it is determined that inquiry data.
The inquiry data that interface provider's receiving data issuer returns, wherein the inquiry data for returning are
Interface provider is sent to data query side according to the inquiry request in step 207, by data query
Side carries out inquiring about the result data for obtaining in interface provider.
Further, it is determined that after inquiry data, data are inquired about in externally output.
It is further to provide specific example and illustrate for clearer expression Fig. 2 embodiments,
It is as follows:
Hypothesis has a Students'Management System, the field information that the system can be provided have student name,
Age, student number, information of cutting classes etc..User wishes that acquisition the English class is monthly spacious in the range of a period of time
Class number of times, the name of student, and according to number of times sequence of cutting classes, take first five record, then inquiry
Process is as follows:
1st, the field information that Students'Management System can be provided is obtained, and externally output field information.
Obtain and the field information that externally exports is:
Name,Age,Id,AbsentClassName,AbsentMonth,AbsentDay,AbsentYear,
AbsentCount,AbsentTime
2nd, user i.e. interface interchange root select to generate field according to the field information exported in step 1
Set, with reference to this example, the set of fields of generation is:
Name, AbsentCount, AbsentClassName, AbsentTime, AbsentMonth
3rd, corresponding dimensional labels are added for set of fields, it is specific as follows:
For Name, AbsentCount addition Query Result labels, that is, limit in result and include Name,
The data of AbsentCount row;
For AbsentClassName, AbsentTime addition querying condition labels, specifically limit
AbsentClassName=" English " and AbsentTime are 2015.1-2015.7;
For AbsentCount add sort result mode label, limit result sortord be according to
AbsentCount ascending orders are arranged
For AbsentMonth add result packet mode label, limit result packet mode as according to
AbsentMonth is grouped.
This step is in fact the process for generating query argument.
4th, the set of fields of the complete dimensional labels of above-mentioned addition is sent to into Students'Management System, and generation is looked into
Request is ask, the condition that range of results is exported in addition first five record is added in inquiry request.
The 5th, inquiry request comprising range of results is sent to the data query side of Students'Management System, is entered
Row inquiry, returns inquiry data, as follows:
As a result arrange:Name, AbsentCount
Data:
Zhang San | 10 |
Li Si | 8 |
King five | 7 |
Saturday | 7 |
Zhao seven | 6 |
Further, as the realization to method shown in above-mentioned Fig. 1 and Fig. 2, the embodiment of the present invention is another
One embodiment additionally provides a kind of device of data query, for the side shown in above-mentioned Fig. 1 and Fig. 2
Method is realized.The device embodiment is corresponding with preceding method embodiment, for ease of reading, this device
Embodiment is no longer repeated one by one the detail content in preceding method embodiment, it should be understood that
Device in the present embodiment can correspond to the full content realized in preceding method embodiment.Such as Fig. 3 institutes
Show, the device includes:Set of fields acquiring unit 31, request converting unit 32, transmitting element 33
And determining unit 34.
Set of fields acquiring unit 31, for obtaining inquiry set of fields, set of fields is included and used respectively
In the inquiry field for limiting Query Result, querying condition, sort result mode and result packet mode;
Request converting unit 32, for set of fields to be converted to into inquiry request;
Transmitting element 33, for inquiry request to be sent to into data query side;
Determining unit 34, in response to the data query side, it is determined that inquiry data;Wherein, institute
It is the data result obtained by the querying condition to state inquiry data;The querying condition is included:Look into
Ask result requirement, the sort result mode and the result packet mode.
Further, as shown in figure 4, device is further included:
Criteria field information acquisition unit 35, for before inquiry set of fields is obtained, obtaining standard
Field information, criteria field information is the field information for including all fields that data query side is related to;
Criteria field information output unit 36, for external outputting standard field information, so as to outside root
Select to generate set of fields according to criteria field information.
Further, as shown in figure 4, device is further included:
Criteria field information conversion unit 37, for being converted to derivative field letter according to criteria field information
Breath;
Derivative field information output unit 38, for the derivative field information of externally output, so as to outside root
Select to generate set of fields according to derivative field information.
Further, converting unit 32 is asked to be used for:
Query argument is constructed according to set of fields, query argument includes the field information in set of fields.
Further, converting unit 32 is asked to be used for:
Add corresponding dimensional labels for field information, dimensional labels are used for the dimension that identification field is limited
Degree, dimension includes Query Result, querying condition, sort result mode and result packet mode.
Further, as shown in figure 4, device is further included:
Adding device 39, for before inquiry request is sent to into data query side, by range of results
Qualificationss be added in inquiry request.
A kind of device of the data query that the present embodiment is provided, using the teaching of the invention it is possible to provide general inquiry framework, bag
Acquisition inquiry set of fields is included, set of fields has been converted to into inquiry request, be then issued to data query
Side, and receiving data issuer return meet querying condition, meet Query Result, meet sort result
The data result of mode and result packet mode.Compared with prior art, the present embodiment will can be inquired about
According to inquiry framework standardization, user only needs to enter the field condition for carrying out data query interface
Row is selected, without the need for writing query interface function, it is possible thereby to lift the versatility of query interface.
The data query arrangement includes processor and memorizer, above-mentioned set of fields acquiring unit 31,
Request converting unit 32, transmitting element 33 and determining unit 34 etc. are stored in as program unit
In reservoir, corresponding function is realized by computing device storage said procedure unit in memory.
Present invention also provides a kind of computer program, when performing in data handling equipment,
It is adapted for carrying out initializing the program code of there are as below methods step:Obtain inquiry set of fields, sets of fields
Close to include and be respectively used to limit Query Result, querying condition, sort result mode and result packet mode
Inquiry field;Set of fields is converted to into inquiry request;Inquiry request is sent to into data query side;
In response to the data query side, it is determined that inquiry data;Wherein, the inquiry data are by described
The data result that querying condition is obtained;The querying condition is included:The Query Result requires, described
Sort result mode and the result packet mode.
Those skilled in the art it should be appreciated that embodiments herein can be provided as method, system,
Or computer program.Therefore, the application can be implemented using complete hardware embodiment, complete software
Example or with reference to the form of the embodiment in terms of software and hardware.And, the application can be adopted at one
Or it is multiple wherein include computer usable program code computer-usable storage medium (including but not
Be limited to disk memory, CD-ROM, optical memory etc.) on the computer program implemented
Form.
The application is with reference to the method according to the embodiment of the present application, equipment (system) and computer program
The flow chart and/or block diagram of product is describing.It should be understood that can be realized flowing by computer program instructions
In each flow process and/or square frame and flow chart and/or block diagram in journey figure and/or block diagram
Flow process and/or square frame combination.Can provide these computer program instructions to general purpose computer, specially
With the processor of computer, Embedded Processor or other programmable data processing devices producing one
Machine so that produced by the instruction of computer or the computing device of other programmable data processing devices
It is raw to be used to realize in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple sides
The device of the function of specifying in frame.
These computer program instructions may be alternatively stored in can guide computer or other programmable datas to process
In the computer-readable memory that equipment works in a specific way so that be stored in the computer-readable and deposit
Instruction in reservoir is produced and includes the manufacture of command device, and command device realization is in flow chart one
The function of specifying in flow process or one square frame of multiple flow processs and/or block diagram or multiple square frames.
These computer program instructions can also be loaded into computer or other programmable data processing devices
On so that series of operation steps is performed on computer or other programmable devices to produce computer
The process of realization, so as to the instruction performed on computer or other programmable devices is provided for realizing
Specify in one flow process of flow chart or one square frame of multiple flow processs and/or block diagram or multiple square frames
The step of function.
In a typical configuration, computing device include one or more processors (CPU), input/
Output interface, network interface and internal memory.
Memorizer potentially includes the volatile memory in computer-readable medium, random access memory
The form such as device (RAM) and/or Nonvolatile memory, such as read only memory (ROM) or flash memory (flash
RAM).Memorizer is the example of computer-readable medium.
Computer-readable medium includes that permanent and non-permanent, removable and non-removable media can be with
Information Store is realized by any method or technique.Information can be computer-readable instruction, data knot
Structure, the module of program or other data.The example of the storage medium of computer includes, but are not limited to phase
Become internal memory (PRAM), static RAM (SRAM), dynamic random access memory
(DRAM), other kinds of random access memory (RAM), read only memory (ROM), electricity can
Erasable programmable read-only memory (EPROM) (EEPROM), fast flash memory bank or other memory techniques, read-only light
Disk read only memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic
Cassette tape, the storage of tape magnetic rigid disk or other magnetic storage apparatus or any other non-transmission medium,
Can be used to store the information that can be accessed by a computing device.Define according to herein, computer-readable
Medium does not include temporary computer readable media (transitory media), the such as data signal and load of modulation
Ripple.
Embodiments herein is these are only, the application is not limited to.For this area skill
For art personnel, the application can have various modifications and variations.It is all spirit herein and principle it
Interior made any modification, equivalent substitution and improvements etc., should be included in claims hereof model
Within enclosing.
Claims (10)
1. a kind of method of data query, it is characterised in that methods described includes:
Obtain inquiry set of fields;Wherein, the set of fields comprising be respectively used to limit Query Result,
The inquiry field of querying condition, sort result mode and result packet mode;
The set of fields is converted to into inquiry request;
The inquiry request is sent to into data query side;
In response to the data query side, it is determined that inquiry data;Wherein, the inquiry data are to pass through
The data result that the querying condition is obtained;The querying condition is included:The Query Result requirement,
The sort result mode and the result packet mode.
2. method according to claim 1, it is characterised in that obtain inquiry sets of fields described
Before conjunction, methods described is further included:
Criteria field information is obtained, the criteria field information is related to including the data query side
The field information of all fields;
External outputting standard field information, so that outside selects to generate institute according to the criteria field information
State set of fields.
3. method according to claim 2, it is characterised in that methods described is further included:
Derivative field information is converted to according to the criteria field information;
Externally output derives field information, so that outside selects to generate institute according to the derivative field information
State set of fields.
4. method according to claim 1, it is characterised in that described to turn the set of fields
Inquiry request is changed to, including:
Query argument is constructed according to the set of fields, the query argument is comprising in the set of fields
Field information.
5. method according to claim 4, it is characterised in that described according to the set of fields
Construction query argument, including:
Add corresponding dimensional labels for the field information, the dimensional labels are used to identify the word
The dimension that section is limited, the dimension includes the Query Result, the querying condition, the result
Sortord and the result packet mode.
6. method according to any one of claim 1 to 5, it is characterised in that it is described will
The inquiry request is sent to before data query side, and methods described is further included:
The qualificationss of range of results are added in the inquiry request.
7. a kind of device of data query, it is characterised in that described device includes:
Set of fields acquiring unit, for obtaining inquiry set of fields;Wherein, the set of fields bag
Look into containing being respectively used to limit Query Result, querying condition, sort result mode and result packet mode
Ask field;
Request converting unit, for the set of fields to be converted to into inquiry request;
Transmitting element, for the inquiry request to be sent to into data query side;
Determining unit, in response to the data query side, it is determined that inquiry data;Wherein, it is described
Inquiry data are the data result obtained by the querying condition;The querying condition is included:Inquiry
As a result require, the sort result mode and the result packet mode.
8. device according to claim 7, it is characterised in that described device is further included:
Criteria field information acquisition unit, for obtaining before inquiring about set of fields described, obtains mark
Quasi- field information, the criteria field information is to include all fields that the data query side is related to
Field information;
Criteria field information output unit, for external outputting standard field information, so as to outside basis
The criteria field information selects to generate the set of fields.
9. device according to claim 8, it is characterised in that described device is further included:
Criteria field information conversion unit, for being converted to derivative field according to the criteria field information
Information;
Derivative field information output unit, for the derivative field information of externally output, so as to outside basis
The derivative field information selects to generate the set of fields.
10. device according to claim 7, it is characterised in that the request converting unit is used
In:
Query argument is constructed according to the set of fields, the query argument is comprising in the set of fields
Field information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510718321.XA CN106649314A (en) | 2015-10-29 | 2015-10-29 | Data query method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510718321.XA CN106649314A (en) | 2015-10-29 | 2015-10-29 | Data query method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106649314A true CN106649314A (en) | 2017-05-10 |
Family
ID=58830912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510718321.XA Pending CN106649314A (en) | 2015-10-29 | 2015-10-29 | Data query method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106649314A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304591A (en) * | 2018-03-16 | 2018-07-20 | 深圳市买买提信息科技有限公司 | A kind of method for customizing of label, system and terminal device |
CN108710708A (en) * | 2018-05-31 | 2018-10-26 | 泰康保险集团股份有限公司 | Report processing method, device, medium and electronic equipment |
CN109299234A (en) * | 2018-09-19 | 2019-02-01 | 北京明略软件系统有限公司 | A kind of information query method, device and computer readable storage medium |
CN113158000A (en) * | 2021-03-04 | 2021-07-23 | 北京智网易联科技有限公司 | Control method and control device for unified data structure and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040039752A1 (en) * | 2002-08-22 | 2004-02-26 | International Business Machines Corporation | Search on and search for functions in applications with varying data types |
CN101013439A (en) * | 2007-01-19 | 2007-08-08 | 徐源 | Control method for inquiring information with data base in website |
CN101145162A (en) * | 2007-10-31 | 2008-03-19 | 金蝶软件(中国)有限公司 | Data base dynamic inquiry method and system |
CN102081625A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团北京有限公司 | Data query method and query server |
CN104750810A (en) * | 2015-03-30 | 2015-07-01 | 浪潮集团有限公司 | Data querying and processing method based on configuration |
-
2015
- 2015-10-29 CN CN201510718321.XA patent/CN106649314A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20040039752A1 (en) * | 2002-08-22 | 2004-02-26 | International Business Machines Corporation | Search on and search for functions in applications with varying data types |
CN101013439A (en) * | 2007-01-19 | 2007-08-08 | 徐源 | Control method for inquiring information with data base in website |
CN101145162A (en) * | 2007-10-31 | 2008-03-19 | 金蝶软件(中国)有限公司 | Data base dynamic inquiry method and system |
CN102081625A (en) * | 2009-11-30 | 2011-06-01 | 中国移动通信集团北京有限公司 | Data query method and query server |
CN104750810A (en) * | 2015-03-30 | 2015-07-01 | 浪潮集团有限公司 | Data querying and processing method based on configuration |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108304591A (en) * | 2018-03-16 | 2018-07-20 | 深圳市买买提信息科技有限公司 | A kind of method for customizing of label, system and terminal device |
CN108710708A (en) * | 2018-05-31 | 2018-10-26 | 泰康保险集团股份有限公司 | Report processing method, device, medium and electronic equipment |
CN109299234A (en) * | 2018-09-19 | 2019-02-01 | 北京明略软件系统有限公司 | A kind of information query method, device and computer readable storage medium |
CN109299234B (en) * | 2018-09-19 | 2022-03-15 | 北京明略软件系统有限公司 | Information query method and device and computer readable storage medium |
CN113158000A (en) * | 2021-03-04 | 2021-07-23 | 北京智网易联科技有限公司 | Control method and control device for unified data structure and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20090006315A1 (en) | Structured method for schema matching using multiple levels of ontologies | |
CN113792159A (en) | Knowledge graph data fusion method and system | |
Vercellis | Multi-plant production planning in capacitated self-configuring two-stage serial systems | |
CN106372044B (en) | A method of based on the typing dimension XBRL report of report generation | |
CN106649314A (en) | Data query method and device | |
CN107665171A (en) | Automatic regression test method and device | |
CN104765760B (en) | A kind of page generation and display methods based on JSON forms | |
CN109299200A (en) | It is the method, device and equipment of database by data model translation | |
CN106649226A (en) | Report generation method and device | |
CN107436872A (en) | A kind of processing method and processing device of isomeric data | |
CN105446952B (en) | For handling the method and system of semantic segment | |
JP2020061136A (en) | Accessible machine learning backend | |
CN112463986A (en) | Information storage method and device | |
CN106844288A (en) | A kind of random string generation method and device | |
CN108228606A (en) | The wiring method and device of data | |
CN107025214B (en) | Data processing method and device | |
CN106649319A (en) | Search result display method and device | |
Kroer et al. | Symbolic configuration for interactive container ship stowage planning | |
CN108241620A (en) | The generation method and device of query script | |
Romeijn et al. | Computational complexity of finding Pareto efficient outcomes for biobjective lot‐sizing models | |
CN107844490A (en) | A kind of database divides storehouse method and device | |
CN106649355A (en) | Method and device for processing data | |
CN110765100A (en) | Label generation method and device, computer readable storage medium and server | |
CN106843819A (en) | The method and device of object serialization | |
US20110231360A1 (en) | Persistent flow method to define transformation of metrics packages into a data store suitable for analysis by visualization |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 100083 No. 401, 4th Floor, Haitai Building, 229 North Fourth Ring Road, Haidian District, Beijing Applicant after: Beijing Guoshuang Technology Co.,Ltd. Address before: 100086 Cuigong Hotel, 76 Zhichun Road, Shuangyushu District, Haidian District, Beijing Applicant before: Beijing Guoshuang Technology Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |