CN107657042A - Data query method and device, storage medium, the terminal of multi-data source - Google Patents
Data query method and device, storage medium, the terminal of multi-data source Download PDFInfo
- Publication number
- CN107657042A CN107657042A CN201710919378.5A CN201710919378A CN107657042A CN 107657042 A CN107657042 A CN 107657042A CN 201710919378 A CN201710919378 A CN 201710919378A CN 107657042 A CN107657042 A CN 107657042A
- Authority
- CN
- China
- Prior art keywords
- data
- inquiry request
- supplier
- inquiry
- query
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2455—Query execution
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Data query method and device, storage medium, the terminal of a kind of multi-data source, the data query method include:Receive multiple data inquiry requests of demand data side;The multiple data inquiry request is responded successively, when being responded to each data inquiry request, since next data supplier after the end point of a upper data inquiry request, for the multiple data suppliers of poll until inquiry is completed, the end point of a upper data inquiry request is the data supplier that a upper data query requesting query is completed;Receive the Query Result obtained when each data inquiry request inquiry is completed;The Query Result is sent to the demand data side.Pass through technical scheme, a kind of data query method of multi-data source supply data can be provided, so that multiple data suppliers have an opportunity to provide data for demand data side, and the coverage of demand data side can be increased, meet that demand data side obtains required data as far as possible.
Description
Technical field
The present invention relates to the data field of circulation, a kind of data query method and device more particularly to multi-data source, deposit
Storage media, terminal.
Background technology
In data trade, that multiple data sources (namely data supplier) provide homogeneous data information, number be present
It is the data message needed for obtaining according to party in request, many times needs the data from multi-data source to support.
But data trade both sides at this stage only have the technical scheme that one point data is merchandised.Even if multi-data source be present
Data supply, one point data trading scheme can not also provide the data from multi-data source for demand data side, and this will cause
Each data supplier lacks equal opportunity and provides data for demand data side, can not meet the public affairs of multiple data source supply data
Levelling requirement, can not meet the data cover requirement of demand data side, in some instances it may even be possible to cause demand data side not obtain required
Data.
The content of the invention
Present invention solves the technical problem that it is to provide a kind of data query method of multi-source so that multiple data suppliers are equal
Have an opportunity to provide data for demand data side, and the data cover degree of demand data side can be improved, meet demand data as far as possible
Side obtains required data.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of data query method of multi-data source, including:Connect
Receive multiple data inquiry requests of demand data side;The multiple data inquiry request is responded successively, to every number
When being responded according to inquiry request, since next data supplier after the end point of a upper data inquiry request, wheel
Multiple data suppliers are ask until inquiry is completed, the end point of a upper data inquiry request be a upper number it is investigated that
Ask the data supplier that requesting query is completed;Receive the Query Result obtained when each data inquiry request inquiry is completed;By institute
Query Result is stated to send to the demand data side.
Optionally, each data inquiry request is used to inquire about individual data attribute.
Optionally, the multiple data suppliers of the poll are until inquiry includes the step of completion:The multiple data of poll
Whether supplier can provide the data attribute, until successful inquiring or completion are to the data query of total data supplier
Only.
Optionally, the data attribute of different pieces of information inquiry request inquiry is identical or different.
Optionally, each data inquiry request is used to inquire about multiple data attributes.
Optionally, the multiple data suppliers of the poll are until inquiry completion includes:From a upper data inquiry request
Next data supplier after end point starts, and judges whether that the multiple data attribute can be provided;If current number
It is merely able to provide a part for the multiple data attribute according to supplier, then inquires about next data supplier, until described more
Untill individual data attribute is all provided or completed the data query to total data supplier.
Optionally, the combination of multiple data attributes of different pieces of information inquiry request inquiry is identical or different.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of data query arrangement of multi-data source, including:The
One receiving module, suitable for receiving multiple data inquiry requests of demand data side;Poller module, suitable for successively to the multiple number
Responded according to inquiry request, when being responded to each data inquiry request, from the end of a upper data inquiry request
Next data supplier after point starts, and the multiple data suppliers of poll are until inquiry completion, a upper data query
The data supplier that the end point of request is completed for a upper data query requesting query;Second receiving module, suitable for connecing
Receive the Query Result obtained when each data inquiry request inquiry is completed;Sending module, suitable for by the Query Result send to
The demand data side.
Optionally, each data inquiry request is used to inquire about individual data attribute.
Optionally, the poller module includes:Poll submodule, suitable for poll, whether the multiple data supplier can
The data attribute is provided, untill successful inquiring or completion are to the data query of total data supplier.
Optionally, the data attribute of different pieces of information inquiry request inquiry is identical or different.
Optionally, each data inquiry request is used to inquire about multiple data attributes.
Optionally, the poller module includes:Judging submodule, suitable for after the end point of a upper data inquiry request
Next data supplier start, judge whether that the multiple data attribute can be provided;Submodule is inquired about, if current
Data supplier is merely able to provide a part for the multiple data attribute, then the inquiry submodule is suitable to inquire about next number
According to supplier, untill the multiple data attribute is all provided or completed the data query to total data supplier.
Optionally, the combination of multiple data attributes of different pieces of information inquiry request inquiry is identical or different.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of storage medium, computer instruction is stored thereon with,
The step of querying method being performed during the computer instruction operation.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of terminal, including memory and processor, it is described to deposit
The computer instruction that can be run on the processor is stored with reservoir, the processor is held when running the computer instruction
The step of row querying method.
Compared with prior art, the technical scheme of the embodiment of the present invention has the advantages that:
The embodiment of the present invention by receiving multiple data inquiry requests of demand data side, can learn the data first
The inquiry request of party in request;Then multiple data suppliers can respond to the multiple data inquiry request successively,
When being responded to each data inquiry request, after the data supplier that can be completed from a upper data query requesting query
Next data supplier starts, the multiple data suppliers of poll until inquiry complete, now, if data supplier inquiry into
Work(, then since next data supplier, continue to inquire about next data inquiry request, otherwise can be supplied from next data
It should just start, continue to inquire about current data inquiry request, to cause the multiple data supplier balancedly for the party in request
Data query is provided, meets that more data suppliers supply the fairness requirement of data, due to poll so that demand data side obtains
Query Result come from different data suppliers, expand data query scope, strengthen the diversity of data, and increase data
The coverage of party in request's data query, so as to meet the data inquiry request of the demand data side as possible;It will finally connect
The Query Result that each data inquiry request inquiry received obtains when completing is sent to the demand data side to complete data
Inquiry.
Further, when the data inquiry request includes different pieces of information attribute, demand data side realizes single request
Multiple data attributes, it is possible to reduce the number of the data inquiry request.When the data inquiry request includes different pieces of information category
During property, it can start in next data supplier after the end point of a upper data inquiry request, it is first determined whether energy
Enough provide the multiple data attribute, if it is possible to all provide, then directly can be inquired about in next data supplier
Next data inquiry request;If current data supplier is merely able to provide a part for the multiple data attribute,
, it is necessary to the remaining other data attributes not inquired be inquired about, until the multiple data category when inquiring about next data supplier
Untill property is all provided or completed the data query to total data supplier, further to meet the demand data side
Data inquiry request.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of the data query method of multi-data source of the embodiment of the present invention;
Fig. 2 is a kind of schematic flow sheet of embodiment of step S102 shown in Fig. 1;
Fig. 3 is a kind of structural representation of the data query arrangement of multi-data source of the embodiment of the present invention.
Embodiment
It will be appreciated by those skilled in the art that as background technology is sayed, existing one point data transaction may both cause demand data
The data of the more data suppliers offers of Fang Wufa acquisitions, data cover degree are small, and possibly can not be provided for multiple data suppliers
Impartial data query chance.
The embodiment of the present invention by receiving multiple data inquiry requests of demand data side, can learn the data first
The inquiry request of party in request;Then multiple data suppliers can respond to the multiple data inquiry request successively,
When being responded to each data inquiry request, after the data supplier that can be completed from a upper data query requesting query
Next data supplier starts, and the multiple data suppliers of poll are until inquiry is completed, now, if data supplier successfully looks into
Ask, then since next data supplier, continue to inquire about next data inquiry request, otherwise can be supplied from next data
It should just start, continue to inquire about current data inquiry request, balancedly provided with the multiple data supplier for the party in request
Data query, meet that more data suppliers supply the fairness requirement of data, due to poll so that the acquisition of demand data side is looked into
Ask result and come from different data suppliers, expand data query scope, strengthen the diversity of data, and increase demand data
The coverage of square data query, so as to meet the data inquiry request of the demand data side as possible;It will finally receive
The inquiry of each data inquiry request when completing obtained Query Result send to the demand data side to complete data query.
It is understandable to enable above-mentioned purpose, feature and the beneficial effect of the present invention to become apparent, below in conjunction with the accompanying drawings to this
The specific embodiment of invention is described in detail.
Fig. 1 is a kind of schematic flow sheet of the data query method of multi-data source of the embodiment of the present invention.
Specifically, in the present embodiment, the data query method may include steps of:
Step S101:Receive multiple data inquiry requests of demand data side;
Step S102:The multiple data inquiry request is responded successively, carried out to each data inquiry request
During response, since next data supplier after the end point of a upper data inquiry request, the multiple data supplies of poll
Fang Zhizhi inquiries are completed, and the end point of a upper data inquiry request is completed for a upper data query requesting query
Data supplier;
Step S103:Receive the Query Result obtained when each data inquiry request inquiry is completed;
Step S104:The Query Result is sent to the demand data side.
More specifically, in step S101, each data inquiry request is received from the demand data side, wherein, often
Individual data inquiry request can be used for inquiring about individual data attribute, can be used for inquiring about multiple different data attributes.It is described
Data attribute refers to that the classification of the data message needed for the data inquiry request, such as the data inquiry request can represent
Gender information corresponding to one identification card number of inquiry it is expected in the demand data side, and its data attribute is gender information.Data
Attribute can also be various types of other data message such as age, address, marital status.Or the data inquiry request also may be used
To be represented by phone number, such as it is expected the data attribute that inquiry associates with phone number.When a data inquiry request is used for
When inquiring about multiple data attributes, data supplier may include total data attribute (namely required total data information),
May there was only partial data attribute (namely required same data message).Now, according to existing one point data counterparty
Case, the high-probability event that can not obtain total data attribute undoubtedly occurs, and then cause the demand data side not obtain
Required total data information.
In step s 102, after the data inquiry request for receiving the demand data side, each data supplier will be according to
It is secondary that the multiple data inquiry request is responded.The inquiry request can be used for inquiring about individual data attribute.Namely
Say, if current data supplier can provide the data attribute, using the data attribute as data inquiry request
Query Result, successfully complete inquiry.Afterwards, it is right since next data supplier after the data supplier currently completed
Next data inquiry request carries out data query, poll total data supplier, until inquiry is completed.
, can be from if current data supplier can not provide the data attribute as a non-limitative example
Next data supplier after current data supplier starts, and the current data inquiry request for not completing data query is continued
Data query is carried out, until successful inquiring, or untill completing the data query to total data supplier.By taking table 1 as an example, it is assumed that
Data supplier includes data supplier B1, data supplier B2, data supplier B3, data supplier B4, can provide body
Gender information corresponding to part mark.If demand data side A intend respectively inquire about 8643******490,8612******490 and
8635******490 sex (data attribute is gender information), then can pass through polling data supplier B1, data supplier
B2, data supplier B3, data supplier B4 obtain required data.In the data query method, in step S102
Polling procedure can be inquired about using following steps.
Table 1
Data supplier | Identity | Sex |
Data supplier B1 | 8643******490 | Man |
Data supplier B2 | 8612******490 | |
Data supplier B3 | 8612******490 | Female |
Data supplier B4 | 8635******490 | Female |
First, data trade platform looks into the data for including inquiry 8643******490 received from demand data side A
Request is ask to send to data supplier B1, to inquire about sex corresponding to 8643******490, as known from Table 1, demand data side A
The data (sex is man) needed for the data inquiry request, successful inquiring can be obtained from data supplier B1;Then, data
Transaction platform will be sent to next data supplier from next data inquiry request that demand data side A is received, will
8612******490 data inquiry request is sent to data supplier B2, is believed with inquiring about sex corresponding to 8612******490
Breath, as known from Table 1, demand data side A can not obtain the data needed for the data inquiry request from data supplier B2, currently
Data query fails;
Then, the data inquiry request for inquiring about 8612******490 is sent to next data and supplied by data trade platform
The side of answering B3.Table 1 is the data list of data supplier, and as known from Table 1, demand data side A can obtain from data supplier B3
Data (sex is female) needed for the data inquiry request, successful inquiring;
Finally, next data inquiry request 8635******490 that data trade platform will receive from demand data side A
Send to next data supplier B4, as known from Table 1, demand data side A can obtain the data from data supplier B4
Data needed for inquiry request (sex is female).So far, demand data side A whole inquiry requests are successfully completed.
It will be appreciated by those skilled in the art that in some cases, data trade platform may be that same data query please
The whole data supplier of poll is asked, to obtain the data needed for the demand data side as far as possible.
In one non-limiting embodiment, may comprise steps of with reference to figure 2, the step S102:
Step S1021:Since next data supplier after the end point of a upper data inquiry request, judgement is
It is no that the multiple data attribute can be provided;
Step S1022:If current data supplier is merely able to provide a part for the multiple data attribute, look into
Next data supplier is ask, until the multiple data attribute is all provided or completed to look into the data of total data supplier
Untill inquiry.
Specifically, after the data inquiry request of the demand data side is received, data supplier will be successively to institute
Multiple data inquiry requests are stated to be responded.The data inquiry request can be used for inquiring about multiple different data attributes.Such as
When data inquiry request described in fruit is used to inquire about multiple different pieces of information attributes, first determine whether the data supplier can carry
For the multiple different pieces of information attribute, if can provide, opened from next data supplier after current data supplier
Begin, data query carried out to next data inquiry request, else if current data supplier be merely able to provide it is the multiple
A part for data attribute, then when inquiring about next data supplier, the remainder data category inquired about in the multiple data attribute
Property, untill the data query that all properties are all provided or completed to total data supplier.
Table 2 is the data list of data supplier, by taking table 2 as an example, it is assumed that data supplier includes data supplier B1, number
According to supplier B2, data supplier B3, can provide sex corresponding to identity, the age, marital status it is part or all of
Data message.If demand data side A intends inquiry 8643******490,8612******490 sex, age and marriage shape
Condition (data attribute includes 3 kinds, respectively sex, age, marital status), then can pass through polling data supplier B1, data
Supplier B2, data supplier B3 are to obtain required data.In the data query, the polling procedure of more data attributes can
With using following steps:
First, data trade platform looks into the data for including inquiry 8643******490 received from demand data side A
Ask request (including sex, age, marital status) to send to data supplier B1, to inquire about property corresponding to 8643******490
Not, age, marital status, as known from Table 2, demand data side A can obtain the data inquiry request from data supplier B1
Required data (sex is man, age 33, and marital status is married);
Then, data trade platform will be sent to next from next data inquiry request that demand data side A is received
Individual data supplier, i.e., 8612******490 data inquiry request (including sex, age, marital status) is sent to number
According to supplier B2, to inquire about sex corresponding to 8612******490, age, marital status, as known from Table 2, demand data side A
The partial data attribute of the data inquiry request kind can only be obtained from data supplier B2 (i.e. the age is 23);
Finally, the remainder data attribute (property that data trade platform includes data inquiry request (8612******490)
Not, marital status) send to next data supplier B3, as known from Table 2, demand data side A can be from data supplier B3
The data (sex is female, marital status is married) needed for the data inquiry request are obtained, so far, successfully complete demand data
Square A whole inquiry requests.
It will be appreciated by those skilled in the art that in some cases, data trade platform may travel through whole data supplies
Side, the total data attribute that each data supplier of poll is inquired about with obtaining the demand data side it is expected.
Further, in step s 103, data trade platform can receive each from the multiple data supplier
Data needed for data inquiry request, and send it in subsequent step using the data received as Query Result described
Demand data side.
Further, in step S104, data trade platform sends the Query Result to the demand data side.
The Query Result can be the data that the data inquiry request successful inquiring obtains or complete to the multiple
The result of data needed for not obtained after the data query of data supplier.
In practical application, the data message amount of some data supplier is larger, the data message amount of some data supplier
It is smaller.When carrying out data query, the probability that the larger data supplier of data message amount can provide data may be much larger than
The less data supplier of data message amount.In order that the less data supplier of data message amount has an opportunity for demand data side
Data are provided, often in the poll again after traveling through all data suppliers, Priority polling fails to carry information trading platform
For the data supplier of data, to increase the chance that the less data supplier of data message amount provides data so that per number
Have an opportunity participation data trade according to supplier.
It was found from the data query process of foregoing description, the querying method of multi-data source provided in an embodiment of the present invention, one
Aspect causes the multiple data supplier to have an opportunity to provide data query for the party in request, on the other hand because expanding number
According to query context (traversal total data supplier), it can do the best and meet the data inquiry request of the demand data side.
Table 2
Data supplier | Identity | Sex | Age | Marriage |
Data supplier B1 | 8643******490 | Man | 30 | It is married |
Data supplier B2 | 8612******490 | 23 | ||
Data supplier B3 | 8612******490 | Female | It is married |
The embodiment of the present invention additionally provides a kind of data query arrangement of multi-data source.Fig. 3 is the one of the embodiment of the present invention
The structural representation of the data query arrangement of kind multi-data source.Referring to Fig. 3, it will be appreciated by those skilled in the art that described in the present embodiment
Data query arrangement 3 can be used for implementing data query method and technology scheme described in above-mentioned embodiment illustrated in fig. 1.
Specifically, in the present embodiment, the data query arrangement 3 can include the first receiving module 31, poller module
32nd, the second receiving module 33 and sending module 34.
Wherein, first receiving module 31 is suitable to the multiple data inquiry requests for receiving demand data side;The poll
Module 32 is suitable to successively respond the multiple data inquiry request, when being responded to each data inquiry request,
Since next data supplier after the end point of a upper data inquiry request, the multiple data suppliers of poll are until look into
Ask and complete, the end point of a upper data inquiry request supplies for the data that a upper data query requesting query is completed
Ying Fang;Second receiving module 33 is suitable to receive the Query Result obtained when each data inquiry request inquiry is completed;It is described
Sending module 34 is suitable to send the Query Result to the demand data side.
Further, each data inquiry request can be used for inquiring about individual data attribute.
As a non-limitative example, the poller module 32 can include:Poll submodule 321, suitable for poll institute
State whether multiple data suppliers can provide the data attribute, until successful inquiring or completion are to total data supplier's
Untill data query.
Further, the data attribute of different pieces of information inquiry request inquiry can be with identical or different.
Further, each data inquiry request can be used for inquiring about multiple data attributes.
As a preferred variant, the poller module 32 can include judging submodule 322 and inquiry submodule
323。
Wherein, the judging submodule 322, suitable for from next data after the end point of a upper data inquiry request
Supplier starts, and judges whether that the multiple data attribute can be provided.The inquiry submodule 323, if current data
Supplier is merely able to provide a part for the multiple data attribute, then the inquiry submodule is suitable to inquire about next data confession
Ying Fang, untill the multiple data attribute is all provided or completed the data query to total data supplier.
Further, the combination of multiple data attributes of different pieces of information inquiry request inquiry can be with identical, can also be different.
More contents of operation principle, working method on the data query arrangement 3, are referred to above to Fig. 1
The associated description of data query method in illustrated embodiment, is repeated no more here.
Further, the embodiment of the invention also discloses a kind of storage medium, computer instruction, the meter are stored thereon with
The step of data query method described in above-mentioned embodiment illustrated in fig. 1 being performed during calculation machine instruction operation.Preferably, the storage medium
Computer-readable recording medium can be included.Preferably, the storage medium can include ROM, RAM, disk or CD etc..
Further, the embodiment of the invention also discloses a kind of terminal, including memory and processor, on the memory
The computer instruction that can be run on the processor is stored with, the processor performs when running the computer instruction
The step of stating data query method described in embodiment illustrated in fig. 1.
Although present disclosure is as above, the present invention is not limited to this.Any those skilled in the art, this is not being departed from
In the spirit and scope of invention, it can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
The scope of restriction is defined.
Claims (16)
1. a kind of data query method of multi-data source, it is characterised in that including:
Receive multiple data inquiry requests of demand data side;
The multiple data inquiry request is responded successively, when being responded to each data inquiry request, from upper one
Next data supplier after the end point of individual data inquiry request starts, and the multiple data suppliers of poll are until inquired about
Into the end point of a upper data inquiry request is supplied for the data that a upper data query requesting query is completed
Side;
Receive the Query Result obtained when each data inquiry request inquiry is completed;
The Query Result is sent to the demand data side.
2. querying method according to claim 1, it is characterised in that each data inquiry request is used to inquire about individual data
Attribute.
3. querying method according to claim 2, it is characterised in that the multiple data suppliers of poll are until inquired about
Into the step of include:
Whether poll the multiple data supplier can provide the data attribute, until successful inquiring or completion are to whole numbers
Untill data query according to supplier.
4. the querying method according to Claims 2 or 3, it is characterised in that the data category of different pieces of information inquiry request inquiry
Property is identical or different.
5. querying method according to claim 1, it is characterised in that each data inquiry request is used to inquire about multiple data
Attribute.
6. querying method according to claim 5, it is characterised in that the multiple data suppliers of poll are until inquired about
Into including:
Since next data supplier after the end point of a upper data inquiry request, judge whether to provide described
Multiple data attributes;
If current data supplier is merely able to provide a part for the multiple data attribute, inquires about next data and supply
Ying Fang, untill the multiple data attribute is all provided or completed the data query to total data supplier.
7. the querying method according to claim 5 or 6, it is characterised in that more numbers of different pieces of information inquiry request inquiry
It is identical or different according to the combination of attribute.
A kind of 8. data query arrangement of multi-data source, it is characterised in that including:
First receiving module, suitable for receiving multiple data inquiry requests of demand data side;
Poller module, suitable for being responded successively to the multiple data inquiry request, carried out to each data inquiry request
During response, since next data supplier after the end point of a upper data inquiry request, the multiple data supplies of poll
Fang Zhizhi inquiries are completed, and the end point of a upper data inquiry request is completed for a upper data query requesting query
Data supplier;
Second receiving module, suitable for receiving the Query Result obtained when each data inquiry request inquiry is completed;
Sending module, suitable for the Query Result is sent to the demand data side.
9. inquiry unit according to claim 8, it is characterised in that each data inquiry request is used to inquire about individual data
Attribute.
10. inquiry unit according to claim 9, it is characterised in that the poller module includes:
Poll submodule, suitable for poll, whether the multiple data supplier can provide the data attribute,
Untill successful inquiring or completion are to the data query of total data supplier.
11. the inquiry unit according to claim 9 or 10, it is characterised in that the data of different pieces of information inquiry request inquiry
Attribute is identical or different.
12. inquiry unit according to claim 8, it is characterised in that each data inquiry request is used to inquire about more numbers
According to attribute.
13. inquiry unit according to claim 12, it is characterised in that the poller module includes:
Judging submodule, suitable for since next data supplier after the end point of a upper data inquiry request, judging
Whether the multiple data attribute can be provided;
Submodule is inquired about, it is described if current data supplier is merely able to provide a part for the multiple data attribute
Inquire about submodule to be suitable to inquire about next data supplier, until the multiple data attribute is all provided or completed to whole numbers
Untill data query according to supplier.
14. the inquiry unit according to claim 12 or 13, it is characterised in that different pieces of information inquiry request is inquired about multiple
The combination of data attribute is identical or different.
15. a kind of storage medium, is stored thereon with computer instruction, it is characterised in that is performed during the computer instruction operation
The step of any one of claim 1 to 7 querying method.
16. a kind of terminal, including memory and processor, the meter that can be run on the processor is stored with the memory
Calculation machine instructs, it is characterised in that perform claim requires any one of 1 to 7 institute when the processor runs the computer instruction
The step of querying method stated.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919378.5A CN107657042B (en) | 2017-09-30 | 2017-09-30 | Data query method and device for multiple data sources, storage medium and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710919378.5A CN107657042B (en) | 2017-09-30 | 2017-09-30 | Data query method and device for multiple data sources, storage medium and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107657042A true CN107657042A (en) | 2018-02-02 |
CN107657042B CN107657042B (en) | 2020-06-09 |
Family
ID=61117599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710919378.5A Active CN107657042B (en) | 2017-09-30 | 2017-09-30 | Data query method and device for multiple data sources, storage medium and terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107657042B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6732360B1 (en) * | 1998-12-07 | 2004-05-04 | Korea Telecom | System and method for providing connection between client and heterogeneous database management systems |
CN101694665B (en) * | 2009-10-27 | 2012-10-03 | 中兴通讯股份有限公司 | Method and device for data query of heterogeneous data source |
CN105190532A (en) * | 2013-03-13 | 2015-12-23 | 高通股份有限公司 | Hierarchical orchestration of data providers for the retrieval of point of interest metadata |
CN105243169A (en) * | 2015-11-12 | 2016-01-13 | 中国建设银行股份有限公司 | Data query method and system |
CN106407244A (en) * | 2016-06-21 | 2017-02-15 | 平安科技(深圳)有限公司 | Multi-database-based data query method, system and apparatus |
-
2017
- 2017-09-30 CN CN201710919378.5A patent/CN107657042B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6732360B1 (en) * | 1998-12-07 | 2004-05-04 | Korea Telecom | System and method for providing connection between client and heterogeneous database management systems |
CN101694665B (en) * | 2009-10-27 | 2012-10-03 | 中兴通讯股份有限公司 | Method and device for data query of heterogeneous data source |
CN105190532A (en) * | 2013-03-13 | 2015-12-23 | 高通股份有限公司 | Hierarchical orchestration of data providers for the retrieval of point of interest metadata |
CN105243169A (en) * | 2015-11-12 | 2016-01-13 | 中国建设银行股份有限公司 | Data query method and system |
CN106407244A (en) * | 2016-06-21 | 2017-02-15 | 平安科技(深圳)有限公司 | Multi-database-based data query method, system and apparatus |
Also Published As
Publication number | Publication date |
---|---|
CN107657042B (en) | 2020-06-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106296352A (en) | Order data treating method and apparatus | |
JP2020533254A (en) | Methods and equipment for sorting cargo | |
CN110580575A (en) | Order distribution method and device | |
CN106844372A (en) | A kind of logistics information querying method and device | |
CN110515929B (en) | Book display method, computing device and storage medium | |
CN112163868A (en) | Data processing method, device, equipment and storage medium | |
CN111126848B (en) | Service processing method and device based on big data, storage medium and electronic equipment | |
CN102256337A (en) | Message processing method and equipment in wireless local area network (WLAN) | |
CN113094474A (en) | Intelligent question answering method and device, server and computer readable storage medium | |
CN109039803A (en) | A kind of method, system and the computer equipment of processing readjustment notification message | |
CN113821495B (en) | Database cluster implementation system and method | |
CN109040255B (en) | Internet of things device access method, device, device and storage medium | |
CN112418927B (en) | Discount information recommendation method, discount information recommendation device, computer equipment and storage medium | |
CN109919739A (en) | Supply and demand service matching method, device, equipment and computer readable storage medium | |
CN107644017A (en) | The querying method and device of journal file | |
US20150088689A1 (en) | Product Recognition Platform | |
CN107657042A (en) | Data query method and device, storage medium, the terminal of multi-data source | |
CN113627835A (en) | Distribution management method and device | |
CN109739932A (en) | Data storage method and device, computer equipment and computer readable storage medium | |
CN107657447A (en) | A kind of transaction terminal and its method of work for supporting a variety of cards | |
CN106408269A (en) | Signature processing method, signature center system and signature system | |
US10650330B2 (en) | Systems and methods of database optimization and distributed computing | |
CN108920278A (en) | Resource allocation methods and device | |
CN116126803A (en) | File export method and device | |
CN116319576A (en) | An access flow control method, device, computer equipment and storage medium |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |