CN107729460A - Data query method and device, storage medium, terminal - Google Patents

Data query method and device, storage medium, terminal Download PDF

Info

Publication number
CN107729460A
CN107729460A CN201710937944.5A CN201710937944A CN107729460A CN 107729460 A CN107729460 A CN 107729460A CN 201710937944 A CN201710937944 A CN 201710937944A CN 107729460 A CN107729460 A CN 107729460A
Authority
CN
China
Prior art keywords
data
query
supplier
data query
demand
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
Application number
CN201710937944.5A
Other languages
Chinese (zh)
Inventor
汤奇峰
陈满新
王润垠
陆振晔
陈海龙
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Data Trading Center Ltd
Original Assignee
Shanghai Data Trading Center Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Shanghai Data Trading Center Ltd filed Critical Shanghai Data Trading Center Ltd
Priority to CN201710937944.5A priority Critical patent/CN107729460A/en
Publication of CN107729460A publication Critical patent/CN107729460A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/242Query formulation
    • G06F16/2425Iterative querying; Query formulation based on the results of a preceding query
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • Mathematical Physics (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

A kind of data query method and device, storage medium, terminal, the data query method include:The selected data query scope in demand data side is received, the data query scope includes at least one data supplier in multiple data suppliers;Receive the data query ordering strategy of the demand data side;At least one data supplier in the data query scope is ranked up according to the data query ordering strategy;According to ranking results, the data needed for the demand data side are inquired about at least one data supplier successively.Pass through technical scheme provided by the invention so that demand data side can quickly and accurately obtain data from multi-source data.

Description

Data query method and device, storage medium, terminal
Technical field
The present invention relates to the data field of circulation, more particularly to a kind of data query method and device, storage medium, end End.
Background technology
During data trade, the feelings of homogeneous data (namely multi-source data) are provided despite the presence of multiple data suppliers Condition, and to meet data query requirements, demand data side is also required to combine the data provided from multiple data suppliers.
But available data both parties are mainly handed over using single-point (namely providing data by individual data supplier) data Easily, the querying method that data are provided by multiple data suppliers for demand data side is lacked.It is conceivable that one point data transaction makes The data filling of multiple data suppliers can not be obtained by obtaining data party in request.When carrying out data query in demand data side, due to Lack feasible data query method, also can be because that can not judge to inquire about even if multiple data suppliers be present provides multi-source data Scope, order and end condition and cause demand data side to be difficult to obtain satisfied Query Result, or even data need can not be met The search request for the side of asking causes data query to fail.
The content of the invention
Present invention solves the technical problem that it is how a kind of data query method is provided, to realize demand data side from multi-source Data are quickly and accurately obtained in data.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of data query method, the data query method Including:The selected data query scope in demand data side is received, the data query scope is included in multiple data suppliers At least one data supplier;Receive the data query ordering strategy of the demand data side;Sorted according to the data query Strategy is ranked up at least one data supplier in the data query scope;According to ranking results, successively described The data needed for the demand data side are inquired about at least one data supplier.
Optionally, the data are inquired about at least one data supplier successively according to ranking results described Before data needed for party in request, in addition to:The data query for receiving the demand data side terminates strategy.
Optionally, the number needed for the demand data side is inquired about at least one data supplier successively described According to the step of in, after each data supplier is inquired about, judge whether to meet that the data query terminates strategy, if it is satisfied, Inquiry is then terminated, and whole Query Results that inquiry is obtained are sent to the demand data side.
Optionally, the number needed for the demand data side is inquired about at least one data supplier successively described According to the step of in, if being unsatisfactory for the data query terminates strategy, continue to inquire about next number according to the ranking results According to supplier, until meeting that the data query terminates strategy or completes to supply total data in the data query scope The inquiry of side.
Optionally, it is the preset times termination that successfully once stops or succeed that the data query, which terminates strategy,.
Optionally, the data query ordering strategy is static ordering or dynamic order.
Optionally, the dynamic order is following one or more combination:Price sequence, quality-ordered, delay sequence, Budget is sorted.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of data query arrangement, the data query arrangement Including:First receiving module, the data query scope selected suitable for receiving demand data side, the data query scope includes more At least one data supplier in individual data supplier;Second receiving module, suitable for receiving the data of the demand data side Inquire about ordering strategy;Order module, suitable for according to it is described inquiry ordering strategy at least one data in the query context Supplier is ranked up;Enquiry module, suitable for according to ranking results, inquiring about institute at least one data supplier successively State the data needed for demand data side.
Optionally, the data query arrangement also includes:3rd receiving module, suitable in the enquiry module according to row Sequence result, before inquiring about the data needed for the demand data side at least one data supplier successively, receive institute The data query for stating demand data side terminates strategy.
Optionally, the enquiry module includes:Judging submodule, suitable for after each data supplier is inquired about, judgement is It is no to meet that the data query terminates strategy, if it is satisfied, then inquiry is terminated, and whole Query Results that inquiry is obtained are sent To the demand data side.
Optionally, the enquiry module also includes:Submodule is inquired about, if being unsatisfactory for the data query terminates strategy, Then the inquiry submodule is suitable to continue to inquire about next data supplier according to the ranking results, until meeting the data Inquiry terminates the inquiry of strategy or completion to total data supplier in the data query scope.
Optionally, it is the preset times termination that successfully once stops or succeed that the data query, which terminates strategy,.
Optionally, the data query ordering strategy is static ordering or dynamic order.
Optionally, the dynamic order is following one or more combination:Price sequence, quality-ordered, delay sequence, Budget is sorted.
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 above-mentioned data query 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 above-mentioned data query 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 provides a kind of data query method, and the data query method includes:Receive demand data side Selected data query scope, the data query scope include at least one data supplier in multiple data suppliers; Receive the data query ordering strategy of the demand data side;According to the data query ordering strategy to the data query model At least one data supplier in enclosing is ranked up;According to ranking results, successively at least one data supplier Inquire about the data needed for the demand data side.When multiple data suppliers offer data be present, data supply can be expanded Scope, the data supplier that data are provided is selected as data query model from the multiple data supplier by demand data side Enclose, demand data side is obtained the data from multiple data suppliers, improve the successful possibility of data query.By Demand data side determines data query ordering strategy, contributes to demand data side to obtain the data for best suiting its data demand, Help to reach data trade.Before carrying out data trade, whether demand data side can not learn selected data supplier The enough data for meeting query demand can be provided, thus demand data root is inquired about according to data query ranking results, can Data are quickly and accurately obtained to realize that demand data side combines in the multi-source data provided from multiple data suppliers, and Demand data side is allowd to stop inquiry after required data are got.
Further, the data query method also includes:The data query for receiving the demand data side terminates strategy.Such as Fruit is before data query is carried out, and demand data side has determined that data query terminates strategy, then data query can is being inquired about Success is to termination inquiry during preset times, or the inquiry of total data supplier is in completing to the data query scope Only.The data query termination strategy that demand data side determines enables demand data side to get as far as possible and meets demand data side Required data, further increase the ability that demand data side fast and accurately obtains data in multi-source data.
Further, the data query ordering strategy can be static ordering, disclosure satisfy that demand data side specifically counts According to search request;The data query ordering strategy can be dynamic order, and dynamic adjusts search order, can expire to greatest extent The demand data of sufficient demand data side.
Brief description of the drawings
Fig. 1 is a kind of schematic flow sheet of data query method of first embodiment of the invention;
Fig. 2 is a kind of schematic flow sheet of data query method of second embodiment of the invention;
Fig. 3 is a kind of structural representation of data query arrangement 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 method of commerce can not be applied to more In source data inquiry, the technical scheme that demand data side carries out multi-source data inquiry is lacked in existing data query scheme.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of data query method, the data query method Including:The selected data query scope in demand data side is received, the data query scope is included in multiple data suppliers At least one data supplier;Receive the data query ordering strategy of the demand data side;Sorted according to the data query Strategy is ranked up at least one data supplier in the data query scope;According to ranking results, successively described The data needed for the demand data side are inquired about at least one data supplier.When multiple data suppliers be present, by counting The data supplier that data are provided is selected as data query scope from the multiple data supplier according to party in request, and by counting Data query ordering strategy is determined according to party in request, is easy to meet data query requirements, helps to reach data trade.Due to entering Before row data trade, demand data side can not learn whether selected data supplier can provide and meet the enough of query demand Data, thus demand data root is inquired about according to data query ranking results, it is possible to achieve demand data side is from multiple data Supplier, which combines in the multi-source data provided, quickly and accurately obtains data, and demand data side is being got Stop inquiry after required data.
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 data query method of first embodiment of the invention.Data query shown in Fig. 1 Method can include:
Step S101:The selected data query scope in demand data side is received, the data query scope includes more numbers According at least one data supplier in supplier;
Step S102:Receive the data query ordering strategy of the demand data side;
Step S103:At least one data in the data query scope are supplied according to the data query ordering strategy Should just it be ranked up;
Step S104:According to ranking results, the demand data is inquired about at least one data supplier successively Fang Suoxu data.
Specifically, in step S101, data trade platform can receive data query scope from demand data side.It is existing Having in data trade, that multi-data source provides homogeneous data be present, multi-source data is provided when multiple data suppliers be present When, the demand data side can give a relatively wide in range data query scope, it is assumed for example that demand data side can incite somebody to action " quotation of wall scroll data is less than 0.8 yuan " is used as data query scope, and in this case, data trade platform can be according to institute The given data query scope in demand data side is stated, selects at least one data supply for meeting demand data side's condition Side.The demand data side can also directly select at least one data supplier from multiple data suppliers, and will be selected At least one data supplier as data query scope, this will be helpful to reach data trade.
Further, in step s 102, data trade platform can receive data query row from the demand data side Sequence strategy.Because before data trade is carried out, the demand data side can not learn that selected data supplier whether there is Meet the data of data query requirements, thus the demand data side can select multiple data suppliers as data query model Supplier in enclosing is to meet data query requirements.In addition, the demand data side can be based on data query ordering strategy pair Data supplier selected step S101 is ranked up, to determine that demand data side can be met as early as possible when being inquired about Demand.
Further, in step s 103, the data query ordering strategy determined according to step S102, looked into for the data At least one data supplier ask in scope is ranked up, to obtain ranking results.According to the ranking results, selecting successively Fixed at least one data supplier is inquired about, it is possible to achieve the demand data side combines from multiple data suppliers to be provided Data in quickly and accurately obtain data, and stop inquiry after inquiry data are got.Data are provided in multi-data source In the case of, the priority orders of inquiry are indicated, are inquired about successively can preferentially meet the situation of the needs of demand data side Data needed for lower acquisition so that query process is quicker.
Further, the data query ordering strategy can be static ordering or dynamic order.The static state Sequence refers to that the data query order of each data supplier is changeless, and during data query, the data are looked into Inquiry order will not be changed.The dynamic order refers to that the data query order of each data supplier is variable, in data It is described in the case of supplier's data change information (such as the data supplier improves or reduced the inquiry price of data) Data trade platform can be resequenced according to the data message after change.The static ordering can be it is randomly ordered, Namely the demand data side is not limited the order of data query, such as can be randomly assigned according to data trade platform Order is inquired about.
As a preferred embodiment, the dynamic order can also be following one or more combination:Price sequence, Quality-ordered, delay sequence, budget sequence.Wherein price sequence can carry out descending row according to the data price of data supplier Sequence or ascending sort.The quality-ordered can be ranked up according to the quality of data height of the data supplier.It is described to prolong When sequence can be obtained according to demand data side during data supplier's data inquire abouts Query Result time delay grow It is short to be ranked up.The budget sequence can be ranked up according to the budget amount of the demand data side.
For example, when using budget sequence, demand data side A budget amount is no more than 1 yuan for wall scroll data, if Data supplier B1, data supplier B2 data price are 0.4 yuan, 0.6 yuan respectively, then a demand data side A number Two data query results can be obtained according to query demand, i.e., obtain one from data supplier B1, data supplier B2 respectively Data query result.If data supplier B1, data supplier B2 data price are 0.6 yuan, 0.8 yuan respectively, then number A data query result can only be obtained according to party in request A from data supplier B1 or data supplier B2.Now, if only Budget ordering strategy will be unable to determine ranking results, then can use combination sequence be determined, such as by budget sequence with Price is sorted and/or delay is sorted and/or quality-ordered is combined, so that it is determined that the data query ordering strategy.Ability Field technique personnel can dissolve more sequence embodiments according to change is actually needed, and will not be described here.
Further, in step S104, data trade platform can notify each data to supply successively according to ranking results Root is answered to be inquired about according to the data query requirements of the demand data side so that the demand data side obtains required number According to.
As a nonlimiting examples, it is assumed that demand data side A requesting queries 8643******490 sex value, Alternative data supplier is respectively data supplier B1, data supplier B2, data supplier B3, wherein, data supply The side of answering B1, data supplier B2, data supplier B3 data message are as shown in table 1.Demand data side A can be by data query Scope is defined to only include data supplier B1, although data query now similar to existing one point data mode of doing business, Data query still can use method provided in an embodiment of the present invention, and specific steps can be as follows.
The data supplier's data list of table 1
Data supplier Query demand identifies Sex Price (member)
Data supplier B1 8643******490 Man 0.05
Data supplier B2 8643******490 Man 0.10
Data supplier B3 8643******490 0.07
First, data trade platform can receive demand data side A data query scope, namely data supplier B1; Secondly, data trade platform receives demand data side A data query ordering strategy, in the present embodiment, due to only having one Data supplier, thus the result to sort only includes data supplier B1;Then, demand data is inquired about in data supplier B1 Data (namely inquiry 8643******490 sex value) needed for square A;Finally, data supplier B1 successful queries are needed for Data (such as shown in table 1,8643******490 sex is man), so far, demand data side A can obtain data supply The sex value that square B1 is provided, poll-final.
As another nonlimiting examples, still by taking table 1 as an example, it is assumed that demand data side's A requesting queries 8643******490 sex value, alternative data supplier are respectively data supplier B1, data supplier B2, number According to supplier B3.If data query scope selected demand data side A is data supplier B1 and data supplier B3, and really It is static ordering to determine data query ordering strategy, such as can be preferential inquiry data supplier B3 and then inquiry data supply Square B1 static ordering.So, data query method provided in an embodiment of the present invention may include steps of.
First, it is data supplier B1, data that data trade platform, which receives the selected data query scopes of demand data side A, Supplier B3;Secondly, data trade platform receives the static ordering strategy that demand data side determines;Then, according to the static state Sequence is ranked up to data supplier B1 and data supplier B3;Then, demand data side A according to ranking results (that is, number According to supplier B3 formerly and data supplier B1 is rear) carry out data query, it is preferential to inquire about data supplier B3, but such as table 1 Shown, data supplier B3 does not obtain Query Result, inquiry failure, thus continues inquiry data supplier B1 according to ranking results (as shown in table 1), data supplier's B1 successful inquirings, now, demand data side A can obtain data supplier B1 inquiry knot Fruit (sex is man), so far, data query success, poll-final.
As another not limiting example, it is assumed that demand data side A requesting queries 8643******490 and 8675******321 sex value, alternative data supplier are respectively data supplier B1, data supplier B2.Such as Data query scope selected fruit demand data side A is data supplier B1, data supplier B2, and determines that data query sorts Strategy is dynamic low price priority ordering, namely every time before data query, the data quotation known to of data trade platform is carried out Sequence.In this case, by taking table 2 as an example, data query method provided in an embodiment of the present invention may include steps of.
First, it is data supplier B1, data that data trade platform, which receives the selected data query scopes of demand data side A, Supplier B2;Secondly, data trade platform receives the dynamic low price priority ordering strategy that demand data side determines;Then, according to The sequence is ranked up to data supplier B1 and data supplier B2;Then, demand data side A is carried out according to ranking results Data query, when inquire about 8643******490 sex value when, ranking results be data supplier B1 formerly and data supplier B2 is rear, and now, preferential to inquire about data supplier B1, after data supplier's B1 successful inquirings, demand data side A can obtain number According to supplier B1 Query Result (sex is man), afterwards, when demand data side A inquires about 8675******321 sex value, arrange Sequence result is data supplier B2 formerly and data supplier B1 is rear, now, preferential to inquire about data supplier B2, data supply After square B2 successful inquirings, demand data side A can obtain data supplier B2 Query Result (sex is female), so far, data Successful inquiring, poll-final.
It will be appreciated by those skilled in the art that during actual queries, the data query ordering strategy can also be by static state Sequence is arranged to dynamic order, such as can be price sequence, quality-ordered, delay sequence, budget sequence or sequence combination.This Art personnel can dissolve more sequence embodiments according to change is actually needed, and will not be described here.
The data supplier's data list of table 2
Data supplier Query demand identifies Sex Price (member)
Data supplier B1 8643******490 Man 0.05
Data supplier B2 8643******490 Man 0.10
Data supplier B1 8675******321 Female 0.07
Data supplier B2 8675******321 Female 0.02
Fig. 2 is a kind of schematic flow sheet of data query method of second embodiment of the invention.As a non-limiting reality Example is applied, the data query method can include:
Step S201:The selected data query scope in demand data side is received, the data query scope includes more numbers According at least one data supplier in supplier;
Step S202:Receive the data query ordering strategy of the demand data side;
Step S203:At least one data in the data query scope are supplied according to the data query ordering strategy Should just it be ranked up;
Step S204:The data query for receiving the demand data side terminates strategy;
Step S2051:According to ranking results, after each data supplier is inquired about, judge whether to meet that the data are looked into Inquiry terminates strategy, if it is satisfied, then inquiry is terminated, and whole Query Results that inquiry is obtained are sent to the demand data Side;
Step S2052:If being unsatisfactory for the data query terminates strategy, continue according to the ranking results under inquiry One data supplier, until meeting that the data query terminates strategy or completed to whole numbers in the data query scope According to the inquiry of supplier.
Specifically, in implementation process, in the step S101 to step S103 and this embodiment in embodiment illustrated in fig. 1 Step S201, step S202, step S203 it is identical, those skilled in the art may be referred to walk described in embodiment illustrated in fig. 1 Rapid S101 to 103 realizes step S201, step S202, step S203, will not be described here.
In step S204, data trade platform can receive the data query from the demand data side and terminate plan Slightly.Specifically, it can be the preset times termination that successfully once stops or succeed that the data query, which terminates strategy,.Wherein, into Work(once only refers to stopping inquiring about if successful inquiring, and success preset times, which terminate, refers to that the secondary of successful inquiring is counted to Terminated during up to preset times.Multiple queries knot can be obtained from selected data supplier in view of the demand data side Fruit, thus, strategy is terminated based on the data query that data trade platform receives from the demand data side, can stop looking into good time Ask, avoid repeating to inquire about and paying.
Further, according to ranking results, the data can be inquired about at least one data supplier successively Data needed for party in request.Specifically, may include steps of:
Step S2051, after each data supplier is inquired about, judge whether to meet that the data query terminates strategy, such as Fruit meets, then terminates inquiry, and whole Query Results that inquiry is obtained are sent to the demand data side;
Step S2052, if being unsatisfactory for the data query terminates strategy, continue according to the ranking results under inquiry One data supplier, until meeting that the data query terminates strategy or completed to whole numbers in the data query scope According to the inquiry of supplier.
In specific implementation, in step S2051, according to the ranking results, each data supplier is inquired about successively, After the data provided to data supplier, it is first determined whether meeting that the data query terminates strategy, if it is satisfied, then stopping Only inquire about., now can be using the data that inquiry obtain as looking into such as it be successfully once to stop that the data query, which terminates strategy, Result is ask to send to the demand data side.
In step S2052, if do not meet that data query terminates strategy (namely not up to success preset times) also, Query Result is then sent first to the demand data side, then continues to inquire about next data supply according to the ranking results Side, until meeting just to stop inquiry when the data query terminates tactful.For example, it is successfully two that the data query, which terminates strategy, Secondary (namely preset times is twice) terminates, it is assumed that there are multiple data suppliers, then after first data supplier is inquired about, Judgement, which is learnt, does not meet that the data query terminates strategy, thus the number that will be obtained from first data supplier also now Sent according to (Query Result) to the demand data side, and continue to inquire about second data supplier, now judge to learn now Meet that the data query terminates strategy, stopped inquiry, while the data obtained from second data supplier (are looked into Ask result) send to the demand data side.If after inquiring about the total data supplier in the data query scope, not yet Meet that data query terminates strategy, then terminate to inquire about.
For example, still by taking table 1 as an example, it is assumed that demand data side A selected data suppliers B1, data supplier B2 are as data Query context, and the ordering strategy that demand data side A is selected is dynamic order, such as can be the preferential dynamic order plan of high price Slightly, and determine that data query termination strategy is successfully once to stop, intend inquiry 8643******490 sex value.In this situation Under, data query method provided in an embodiment of the present invention may include steps of:First, data trade platform receives data and needed Data query the scope selected side of asking A is data supplier B1, data supplier B2;Secondly, data trade platform receives data The preferential dynamic order strategy of high price that party in request A is determined;Then, data supplier B1 and data are supplied according to the ordering strategy The side of answering B2 is ranked up, and ranking results are data supplier B2 formerly and data supplier B1 is rear;Then, data trade platform Receive data query and terminate strategy, for example, successful is once only;Afterwards, it is preferential to inquire about data supplier according to ranking results B2, data supplier B2 can provide Query Result (sex is man), now meet data query plan successfully once i.e. only Slightly, inquiry is terminated, the Query Result can be supplied to demand data side A.
In another example still by taking table 1 as an example, it is assumed that demand data side A requesting queries 8643******490 sex value, be available for The data supplier of selection includes data supplier B1, data supplier B2, data supplier B3, if demand data side A is wished Prestige obtains the relatively low data of the price amount of money from data supplier B1, data supplier B2, then demand data side A can be used Dynamic order, such as low price priority ordering strategy, and it is successfully once to stop to inquire about termination strategy.In the case, it is of the invention The data query method that embodiment provides may include steps of:First, data trade platform receives demand data side A and selected Data query scope be (data supplier B1, data supplier B2);Secondly, data trade platform receives demand data side A The preferential dynamic order strategy of low price of determination;Then, according to the ordering strategy to data supplier B1 and data supplier B2 It is ranked up, ranking results are data supplier B1 formerly and data supplier B2 is rear;Afterwards, data trade platform receives number Strategy is terminated it is investigated that asking, for example, successful is once only;Then, demand data side A carries out data query, according to ranking results, Preferential inquiry data supplier B1, after successful inquiring, Query Result (sex is man) can be fed back to number by data supplier B1 According to party in request A, now meet that data query successfully once i.e. only terminates strategy, poll-final.
As another not limiting example, still by taking table 1 as an example, it is assumed that demand data side A requesting queries 8643****** 490 sex value, alternative data supplier include data supplier B1, data supplier B2, data supplier B3, and And demand data side A wish to obtain the price amount of money from data supplier B1, data supplier B2, data supplier B3 it is relatively low Two Query Results, on this condition, data query method provided in an embodiment of the present invention may include steps of:First, It is data supplier B1, data supplier's B2 sums that data trade platform, which receives the selected data query scopes of demand data side A, According to supplier B3;Secondly, data trade platform receives dynamic order strategy preferential at a low price, and ranking results are followed successively by data supply Square B1, data supplier B3, data supplier B2;Then, it is successfully two that data trade platform, which receives data query and terminates strategy, Secondary termination;Then, demand data side A carries out data query, and preferential to inquire about data supplier B1 according to ranking results, data supply After the side's of answering B1 successful inquirings, Query Result can be fed back to demand data side A, because judgment result displays do not meet also now Success terminates strategy twice, thus continues to inquire about data supplier B3.But data supplier B3 does not have needed for demand data side A Data, inquiry failure, do not meet now successfully to terminate strategy twice yet, thus continue to inquire about data supplier B2, supplied in data After the side's of answering B2 successful inquirings, data supplier B2 can feed back to Query Result demand data side A, so far meet successfully two It is secondary to terminate strategy, poll-final.
It will be appreciated by those skilled in the art that during actual queries, the data query ordering strategy can also be static state Sequence or dynamic order.Dynamic order can be price sequence, quality-ordered, delay sequence, budget sequence or multinomial ordered set Close.Those skilled in the art can dissolve more sequence embodiments according to change is actually needed, and will not be described here.
Fig. 3 is a kind of structural representation of data query arrangement of the embodiment of the present invention.Referring to Fig. 3, people in the art Member understands that data query arrangement 3 described in the present embodiment can be used for implementing above-mentioned Fig. 1 to the side described in embodiment illustrated in fig. 2 Law technology scheme.
In specific implementation, the data query arrangement 3 can include the first receiving module 31, the second receiving module 32, row Sequence module 33 and enquiry module 35.
Wherein, first receiving module 31 is suitable to receive the selected data query scope in demand data side, the data Query context includes at least one data supplier in multiple data suppliers.
Second receiving module 32 is suitable to the data query ordering strategy for receiving the demand data side.
The order module 33 is suitable to according to the inquiry ordering strategy at least one data in the query context Supplier is ranked up.
The enquiry module 35 is suitable to according to ranking results, successively at least one data supplier described in inquiry Data needed for demand data side.
Further, the data query ordering strategy can be static ordering or dynamic order.Wherein, the static row Sequence can be randomly ordered, and the dynamic order can be following one or more combination:Price sequence, quality-ordered, prolong When sequence, budget sequence.
Preferably, the data query arrangement 3 can also include the 3rd receiving module 34, suitable for existing in the enquiry module According to ranking results, before inquiring about the data needed for the demand data side at least one data supplier successively, The data query for receiving the demand data side terminates strategy.Namely before enquiry module 35 is inquired about, data trade platform The data query is received based on the 3rd receiving module 34 and terminates strategy, to stop data query in good time.Further, It can be the preset times termination that successfully once stops or succeed that the data query, which terminates strategy,.
Preferably, the enquiry module 35 can include judging submodule 351 and inquiry submodule 352.
Wherein, the judging submodule 351 is suitable to after each data supplier is inquired about, and judges whether to meet the data Inquire about and terminate strategy, if it is satisfied, then inquiry is terminated, and whole Query Results that inquiry is obtained are sent to the demand data Side.
If being unsatisfactory for the data query terminates strategy, the inquiry submodule 352 is suitable to tie according to the sequence Fruit continues to inquire about next data supplier, until meeting that the data query terminates strategy or completed to the data query The inquiry of total data supplier in scope.
More contents of operation principle, working method on the data query arrangement 3, are referred to above-mentioned to Fig. 1 Associated description with embodiment illustrated in fig. 2, 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 Above-mentioned Fig. 1 is performed during calculation machine instruction operation to described in embodiment illustrated in fig. 2 the step of data query method.Preferably, it is described to deposit Storage media can include computer-readable recording medium.Preferably, the storage medium can include ROM, RAM, disk or light Disk 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 State the step of Fig. 1 is to embodiment illustrated in fig. 2 methods described.
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 1. data query method, it is characterised in that including:
    The selected data query scope in demand data side is received, the data query scope is included in multiple data suppliers extremely A few data supplier;
    Receive the data query ordering strategy of the demand data side;
    At least one data supplier in the data query scope is ranked up according to the data query ordering strategy;
    According to ranking results, the data needed for the demand data side are inquired about at least one data supplier successively.
  2. 2. data query method according to claim 1, it is characterised in that described according to ranking results,
    Before inquiring about the data needed for the demand data side at least one data supplier successively,
    Also include:The data query for receiving the demand data side terminates strategy.
  3. 3. data query method according to claim 2, it is characterised in that described successively at least one data In the step of data needed for the demand data side are inquired about in supplier, after each data supplier is inquired about, judge whether Meet that the data query terminates strategy, if it is satisfied, then terminate inquiry, and will inquire about obtained whole Query Results send to The demand data side.
  4. 4. data query method according to claim 3, it is characterised in that described successively at least one data In the step of data needed for the demand data side are inquired about in supplier, if being unsatisfactory for the data query terminates strategy, Then continue to inquire about next data supplier according to the ranking results, until it is tactful or complete to meet that the data query terminates The inquiry of total data supplier in the paired data query scope.
  5. 5. data query method according to claim 2, it is characterised in that it is successfully one that the data query, which terminates strategy, Secondary is only or success preset times terminate.
  6. 6. the data query method according to any one of claim 1 to 5, it is characterised in that the data query sequence plan Slightly static ordering or dynamic order.
  7. 7. data query method according to claim 6, it is characterised in that the dynamic order is following one or more Combination:Price sequence, quality-ordered, delay sequence, budget sequence.
  8. A kind of 8. data query arrangement, it is characterised in that including:
    First receiving module, the data query scope selected suitable for receiving demand data side, the data query scope includes more At least one data supplier in individual data supplier;
    Second receiving module, suitable for receiving the data query ordering strategy of the demand data side;
    Order module, suitable for being carried out according to the inquiry ordering strategy at least one data supplier in the query context Sequence;
    Enquiry module, suitable for according to ranking results, inquiring about the demand data at least one data supplier successively Fang Suoxu data.
  9. 9. data query arrangement according to claim 8, it is characterised in that also include:
    3rd receiving module, suitable for, according to ranking results, being supplied successively at least one data in the enquiry module Inquired about in side before the data needed for the demand data side, the data query for receiving the demand data side terminates strategy.
  10. 10. data query arrangement according to claim 9, it is characterised in that the enquiry module includes:
    Judging submodule, suitable for after each data supplier is inquired about, judging whether to meet that the data query terminates strategy, such as Fruit meets, then terminates inquiry, and whole Query Results that inquiry is obtained are sent to the demand data side.
  11. 11. data query arrangement according to claim 10, it is characterised in that the enquiry module also includes:
    Submodule is inquired about, if being unsatisfactory for the data query terminates strategy, the inquiry submodule is suitable to according to the row Sequence result continues to inquire about next data supplier, until meeting that the data query terminates strategy or completed to the data The inquiry of total data supplier in query context.
  12. 12. data query arrangement according to claim 9, it is characterised in that it is successfully that the data query, which terminates strategy, Once stop or success preset times terminate.
  13. 13. according to the data query arrangement described in any one of claim 8 to 12, it is characterised in that the data query sequence Strategy is static ordering or dynamic order.
  14. 14. data query arrangement according to claim 13, it is characterised in that the dynamic order is with the next item down or more The combination of item:Price sequence, quality-ordered, delay sequence, budget sequence.
  15. 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 data query method described in any one of claim 1 to 7.
  16. 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.
CN201710937944.5A 2017-09-30 2017-09-30 Data query method and device, storage medium, terminal Pending CN107729460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710937944.5A CN107729460A (en) 2017-09-30 2017-09-30 Data query method and device, storage medium, terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710937944.5A CN107729460A (en) 2017-09-30 2017-09-30 Data query method and device, storage medium, terminal

Publications (1)

Publication Number Publication Date
CN107729460A true CN107729460A (en) 2018-02-23

Family

ID=61210133

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710937944.5A Pending CN107729460A (en) 2017-09-30 2017-09-30 Data query method and device, storage medium, terminal

Country Status (1)

Country Link
CN (1) CN107729460A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763389A (en) * 2018-05-18 2018-11-06 上海数据交易中心有限公司 The integration method and device of data, storage medium, terminal
CN108920581A (en) * 2018-06-25 2018-11-30 上海数据交易中心有限公司 Data circulation method and device, storage medium, server
CN109145011A (en) * 2018-11-01 2019-01-04 上海数据交易中心有限公司 Data retrieval method and device, terminal
CN109582481A (en) * 2019-01-10 2019-04-05 北京城市网邻信息技术有限公司 Transmission method, device, equipment and the storage medium of call result
CN110704545A (en) * 2019-09-12 2020-01-17 上海数禾信息科技有限公司 Data calling method and device for data source provider
CN111291247A (en) * 2020-01-20 2020-06-16 支付宝(杭州)信息技术有限公司 Data service providing method, device and equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799624A (en) * 2012-06-19 2012-11-28 北京大学 Large-scale graph data query method in distributed environment based on Datalog
CN103886039A (en) * 2014-03-10 2014-06-25 百度在线网络技术(北京)有限公司 Optimization method and device with searching
CN105407097A (en) * 2015-11-26 2016-03-16 晶赞广告(上海)有限公司 Third-party based data supply method and device
CN106203140A (en) * 2016-07-15 2016-12-07 上海数据交易中心有限公司 Data circulation method based on data structure, device and terminal
CN106355262A (en) * 2016-09-27 2017-01-25 唐山百迅科技有限公司 Automatic recommendation method and system of employment supply side in human resource demand
US20190228040A1 (en) * 2012-12-10 2019-07-25 Verint Systems Ltd. Object search by description

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799624A (en) * 2012-06-19 2012-11-28 北京大学 Large-scale graph data query method in distributed environment based on Datalog
US20190228040A1 (en) * 2012-12-10 2019-07-25 Verint Systems Ltd. Object search by description
CN103886039A (en) * 2014-03-10 2014-06-25 百度在线网络技术(北京)有限公司 Optimization method and device with searching
CN105407097A (en) * 2015-11-26 2016-03-16 晶赞广告(上海)有限公司 Third-party based data supply method and device
CN106203140A (en) * 2016-07-15 2016-12-07 上海数据交易中心有限公司 Data circulation method based on data structure, device and terminal
CN106355262A (en) * 2016-09-27 2017-01-25 唐山百迅科技有限公司 Automatic recommendation method and system of employment supply side in human resource demand

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108763389A (en) * 2018-05-18 2018-11-06 上海数据交易中心有限公司 The integration method and device of data, storage medium, terminal
CN108763389B (en) * 2018-05-18 2023-10-17 上海数据交易中心有限公司 Data integration method and device, storage medium and terminal
CN108920581A (en) * 2018-06-25 2018-11-30 上海数据交易中心有限公司 Data circulation method and device, storage medium, server
CN109145011A (en) * 2018-11-01 2019-01-04 上海数据交易中心有限公司 Data retrieval method and device, terminal
CN109145011B (en) * 2018-11-01 2023-07-18 上海数据交易中心有限公司 Data retrieval method and device and terminal
CN109582481A (en) * 2019-01-10 2019-04-05 北京城市网邻信息技术有限公司 Transmission method, device, equipment and the storage medium of call result
CN110704545A (en) * 2019-09-12 2020-01-17 上海数禾信息科技有限公司 Data calling method and device for data source provider
CN110704545B (en) * 2019-09-12 2022-06-07 上海数禾信息科技有限公司 Data calling method and device for data source provider
CN111291247A (en) * 2020-01-20 2020-06-16 支付宝(杭州)信息技术有限公司 Data service providing method, device and equipment

Similar Documents

Publication Publication Date Title
CN107729460A (en) Data query method and device, storage medium, terminal
US8438072B2 (en) Online exchange system and method with reverse auction
JP7423816B2 (en) Order information processing methods, devices, computer equipment and media
CN106815700B (en) Logistics information processing method and device
CN107563843A (en) The inquiry price quoting method and system of auto-parts
CN102841904B (en) A kind of searching method and equipment
CN109034575A (en) A kind of jockey's intelligent dispatching method
US20070078758A1 (en) Risk assessment-based shopping of internet auctions
TW201710964A (en) Method and apparatus for processing logistics path information
CN107748792A (en) Data retrieval method and device, terminal
CN103188626A (en) Mobile phone advertisement delivery system, method and device, and data maintenance method and device
CN106992869A (en) Charging channel scheduling method and system based on big data caching server
CN108229876A (en) A kind of electric business method of commerce and electric business transaction system based on big data
CN109711875B (en) Content recommendation method and device
CN112184393A (en) Order transaction method for Internet e-commerce
CN104820915A (en) Personalized customization WeChat intelligent distribution management system
CN110110165A (en) Dynamic routing method and device for query engine in precomputation system
CN106251197A (en) A kind of order processing method and system and order whereabouts retroactive method and system
CN106529180A (en) Mobile medical service system and method based on hybrid cloud architecture
CN107784851A (en) A kind of stroke route recommends method, server, driver terminal and passenger terminal
CN106228407A (en) A kind of method and system of quickly conduction of offering
CN109919739A (en) Supply and demand service matching method, device, equipment and computer readable storage medium
CN103577955A (en) Distribution relation setting-up method and device
CN111062769B (en) Order dispatching method, system and storage device
CN110809024B (en) Service resource providing method and device and subscription package providing method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180223