CN106528854A - DMP querying method and device - Google Patents

DMP querying method and device Download PDF

Info

Publication number
CN106528854A
CN106528854A CN201611066140.4A CN201611066140A CN106528854A CN 106528854 A CN106528854 A CN 106528854A CN 201611066140 A CN201611066140 A CN 201611066140A CN 106528854 A CN106528854 A CN 106528854A
Authority
CN
China
Prior art keywords
dmp
checked
subquery
condition
querying condition
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
CN201611066140.4A
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.)
Canada Plus (beijing) Mdt Infotech Ltd
Original Assignee
Canada Plus (beijing) Mdt Infotech 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 Canada Plus (beijing) Mdt Infotech Ltd filed Critical Canada Plus (beijing) Mdt Infotech Ltd
Priority to CN201611066140.4A priority Critical patent/CN106528854A/en
Publication of CN106528854A publication Critical patent/CN106528854A/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/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a DMP querying method and device. The method comprises the steps of receiving a query condition input externally for querying at least one DMF to be queried; according to the query condition, determining a sub-query condition corresponding to each DMF to be queried; for each DMP to be queried, querying the current DMP to be queried by means of the sub-query condition corresponding to the current DMP to be queried; receiving a query result returned by each DMP to be queried. According to the DMP querying method and device, the DMP can be queried more conveniently.

Description

A kind of method and device of inquiry DMP
Technical field
The present invention relates to field of computer technology, more particularly to a kind of inquiry DMP (Data-Management Platform, data management platform) method and device.
Background technology
DMP is that scattered multiparty data is carried out integrating to include unified technology platform, and carries out standard to these data Change and segment, user can inquire about required data from DMP.
In prior art, when DMP is inquired about, need to be connected with DMP to be checked foundation, to DMP inputs to be checked Search word, inquires about corresponding data from the DMP by search word.When the data for needing to inquire about in plural DMP, need To set up with each DMP respectively and be connected, and corresponding search word is input into in each DMP respectively.
It is visible by foregoing description, in the scheme of inquiry DMP of the prior art, when needing to inquire about plural DMP In data when, needs respectively each DMP is individually inquired about, it is more complicated.
The content of the invention
A kind of method and device of inquiry DMP is embodiments provided, DMP can be more easily inquired about.
On the one hand, a kind of method of inquiry DMP is embodiments provided, including:
Receive the querying condition for inquiring about at least one DMP to be checked of outside input;
According to the querying condition, the corresponding subquery conditions of each described DMP to be checked are determined;
For DMP to be checked each described, using the currently corresponding subquery conditions of DMP to be checked, inquire about described current DMP to be checked;
Receive the Query Result that each described DMP to be checked is returned.
Further, the querying condition includes:Write-back field, the write-back field include:Each is described to be checked Ask the mark of DMP;
After the Query Result for receiving each DMP return to be checked, further include:
According to the write-back field, marked by the mark of the corresponding DMP to be checked of Query Result each described Each described Query Result.
Further, the querying condition includes:Caching field, the caching field include:Target cache information;
Before the querying condition for inquiring about at least one DMP to be checked for receiving outside input, further wrap Include:
Pre-build the corresponding relation of cache information subquery condition corresponding with least one DMP;
It is described that the corresponding subquery conditions of each described DMP to be checked are determined according to the querying condition, including:
The target cache information is parsed from the caching field of the querying condition;
Judge with the presence or absence of the target cache information in the corresponding relation, if it is, according to the corresponding relation, really The corresponding subquery conditions of corresponding at least one DMP to be checked of the fixed target cache information.
Further, after the Query Result for receiving each DMP return to be checked, further include:
The Query Result that each described DMP to be checked is returned is converted into into the data of preset data form.
Further, described for DMP to be checked each described, using the currently corresponding subquery bars of DMP to be checked Part, before inquiring about the current DMP to be checked, further includes:
Respectively set up with each described DMP to be checked length be connected, with respectively by each it is described length connect with it is corresponding The DMP to be checked is communicated.
Further, the subquery condition includes:Keyword;
Wherein, the keyword includes:Os (Operating System, operating system), IMEI (International Mobile Equipment Identity, International Mobile Equipment Identity code), IDFA (IdentifierForIdentifier, extensively Accuse indications), Android ID (Android identification code), MAC (Medium Access Control, physical address), IP and One or more in cookie.
Further, the querying condition includes:The corresponding condition fields of each described DMP to be checked, wherein, for The corresponding condition field of each described DMP to be checked, the current DMP to be checked is used to preserve described current DMP pair to be checked The subquery condition answered;
It is described that the corresponding subquery conditions of each described DMP to be checked are determined according to the querying condition, including:
For DMP to be checked each described, from the corresponding condition fields of DMP described current to be checked of the querying condition Obtain the corresponding subquery conditions of the DMP currently to be checked.
On the other hand, a kind of device of inquiry DMP is embodiments provided, including:
First receiving unit, for receiving the querying condition for inquiring about at least one DMP to be checked of outside input;
Determining unit, for according to the querying condition, determining the corresponding subquery conditions of each described DMP to be checked;
Query unit, for for each described DMP to be checked, using the currently corresponding subquery conditions of DMP to be checked, The inquiry current DMP to be checked;
Second receiving unit, for receiving the Query Result that each described DMP to be checked is returned.
Further, the querying condition includes:Write-back field, the write-back field include:Each is described to be checked Ask the mark of DMP;
The device is further included:
Mark unit, for according to the write-back field, by the corresponding DMP to be checked of Query Result each described Mark marking each described Query Result.
Further, the querying condition includes:Caching field, the caching field include:Target cache information;
The device is further included:
First sets up unit, for setting up the corresponding relation of cache information subquery condition corresponding with least one DMP;
The determining unit, for the target cache letter is parsed from the caching field of the querying condition Breath, whether there is the target cache information in judging the corresponding relation, if it is, according to the corresponding relation, determining institute State the corresponding subquery conditions of corresponding at least one DMP to be checked of target cache information.
Further, the device is further included:
Converting unit, for the Query Result that each described DMP to be checked is returned is converted into preset data form Data.
Further, the device is further included:
Second sets up unit, and the length for being set up with DMP to be checked each described respectively is connected, to pass through each institute respectively State long connection to be communicated with the corresponding DMP to be checked.
Further, the subquery condition includes:Keyword;
Wherein, the keyword includes:One in os, IMEI, IDFA, Android ID, MAC, IP and cookie or It is multiple.
Further, the querying condition includes:The corresponding condition fields of each described DMP to be checked, wherein, for The corresponding condition field of each described DMP to be checked, the current DMP to be checked is used to preserve described current DMP pair to be checked The subquery condition answered;
The determining unit, for for each described DMP to be checked, from the described current to be checked of the querying condition The corresponding condition fields of DMP obtain the corresponding subquery conditions of the DMP currently to be checked.
In embodiments of the present invention, user input query condition, determines each DMP pair to be checked from the querying condition The subquery condition answered, is inquired about to each DMP to be checked respectively, is received the Query Result that each DMP to be checked is returned, is used Family can be inquired about to multiple DMP simultaneously by a querying condition, without the need for operating to each DMP respectively, Neng Gougeng Plus easily inquire about DMP.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with basis These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of the method for inquiry DMP that one embodiment of the invention is provided;
Fig. 2 is the flow chart of the method for another kind of inquiry DMP that one embodiment of the invention is provided;
Fig. 3 is the flow chart of the method for another inquiry DMP that one embodiment of the invention is provided;
Fig. 4 is the flow chart of the method for another inquiry DMP that one embodiment of the invention is provided;
Fig. 5 is a kind of schematic diagram of the device of inquiry DMP that one embodiment of the invention is provided;
Fig. 6 is the schematic diagram of the device of another kind of inquiry DMP that one embodiment of the invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is The a part of embodiment of the present invention, rather than the embodiment of whole, based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, embodiments providing a kind of method of inquiry DMP, the method may comprise steps of:
Step 101:Receive the querying condition for inquiring about at least one DMP to be checked of outside input;
Step 102:According to the querying condition, the corresponding subquery conditions of each described DMP to be checked are determined;
Step 103:For DMP to be checked each described, using the currently corresponding subquery conditions of DMP to be checked, inquiry The current DMP to be checked;
Step 104:Receive the Query Result that each described DMP to be checked is returned.
In embodiments of the present invention, user input query condition, determines each DMP pair to be checked from the querying condition The subquery condition answered, is inquired about to each DMP to be checked respectively, is received the Query Result that each DMP to be checked is returned, is used Family can be inquired about to multiple DMP simultaneously by a querying condition, without the need for operating to each DMP respectively, Neng Gougeng Plus easily inquire about DMP.
In order to more accurately distinguish the source of Query Result, in an embodiment of the present invention, wrap in the querying condition Include:Write-back field, the write-back field include:The mark of each DMP to be checked;
After the Query Result for receiving each DMP return to be checked, further include:
According to the write-back field, marked by the mark of the corresponding DMP to be checked of Query Result each described Each described Query Result.
As the Query Result that each DMP to be checked is returned is unordered, in embodiments of the present invention, by write-back field In mark these Query Results can be marked, these Query Results can be ranked up by these marks, be made Obtain the source that user can distinguish each Query Result.Here write-back field can user fill in as needed, That is, the mark of the DMP to be checked in write-back field can be it is self-defining in input inquiry condition, certainly, the write-back Field can also pre-set.For example, DMP to be checked has three, is DMP1, DMP2 and DMP3 respectively, in write-back In field, the mark of these three DMP to be checked respectively identifies A, mark B and mark C;What these three DMP to be checked were returned looks into Asking result is respectively:Query Result A, Query Result B and Query Result C.After these three Query Results are received, according to write-back Field, by identifying A tag query results A, by identifying B tag query results B, by identifying C flag Query Result C, this Sample, user can identify each Query Result from which DMP by these three marks.
In order to more easily inquire about DMP, in an embodiment of the present invention, the querying condition includes:Caching field, The caching field includes:Target cache information;
Before the querying condition for inquiring about at least one DMP to be checked for receiving outside input, further wrap Include:
Pre-build the corresponding relation of cache information subquery condition corresponding with least one DMP;
It is described that the corresponding subquery conditions of each described DMP to be checked are determined according to the querying condition, including:
The target cache information is parsed from the caching field of the querying condition;
Judge with the presence or absence of the target cache information in the corresponding relation, if it is, according to the corresponding relation, really The corresponding subquery conditions of corresponding at least one DMP to be checked of the fixed target cache information.
In embodiments of the present invention, in the corresponding relation, each cache information can correspond to plural DMP correspondences Subquery condition, simultaneously multiple DMP to be checked can be inquired about by the target cache information in the buffering field, nothing Different DMP to be checked need to be respectively directed to subquery condition is set, can more easily inquire about DMP.
For example, in corresponding relation, corresponding subquery conditions A of cache information A correspondence DMP1 and DMP2 are corresponding Subquery condition B, user in input inquiry condition, insert in caching field cache information A can simultaneously to DMP1 with DMP2 makes a look up, and corresponding subquery condition is subquery condition A and subquery condition B respectively.If certain target cache Information can not find corresponding subquery condition in corresponding relation, then, the conditional code of s.m.p querying condition is directly returned, is terminated Querying flow.By the corresponding relation, the subquery condition that DMP to be checked is capable of identify that can be exported.
In addition, the cache information in caching field can be with subquery condition.For example, it is DMP1 correspondences in caching field Subquery condition A, due to subquery condition A possibly cannot recognize by DMP2, in order to inquire about to DMP2, setting this pair Should be related to, in the corresponding relation, corresponding subquery conditions A of DMP1 are corresponding with corresponding subquery conditions B of DMP2, so, Simultaneously DMP1 and DMP2 can be inquired about.Here subquery condition can be with keyword, as different DMP can be recognized Keyword it is different, by the embodiment of the present invention, can be by the keyword of different DMP correspondence so that user is by caching The keyword of arbitrary DMP is input in field, the keyword of other DMP can be got by corresponding relation.For example, the pass Key word is cookie.As the cookie of different DMP is different.For same user, the user is different In DMP, cookie is different, and the cookie that a DMP is simply input in querying condition cannot inquire about the user at other Cookie in DMP.For example:Cookies of the user A in the DMP of youku.com is cookie1, the cookie in the DMP of Tengxun For cookie2, if the cookie of user A will be inquired about in the DMP of youku.com and the DMP of Tengxun simultaneously, it may be necessary to exist respectively Cookie1 and cookie2 is input in querying condition, it is more complicated.However, in embodiments of the present invention, in the corresponding relation, The corresponding relation of cookie1 and cookie2 can be included, need the user for inquiring about DMP fill in caching field cookie1 or Person cookie2, can determine that by corresponding relation the keyword of the DMP of youku.com is cookie1, it may be determined that go out Tengxun The keyword of DMP is cookie2, as such, it is possible to while the DMP of DMP and Tengxun to youku.com is inquired about.In addition, in this pair In should being related to, the cache information correspondence cookie1 and cookie2 of Ke Yishi, user A.Need to inquire about the user of DMP in caching word The cache information of user A is filled in section, can determine that by corresponding relation the keyword of the DMP of youku.com is cookie1, can be with The keyword for determining the DMP of Tengxun is cookie2, as such, it is possible to while the DMP of DMP and Tengxun to youku.com is inquired about, The cache information of user A therein can be with the mark of user A.
As shown in Fig. 2 a kind of method of inquiry DMP provided in an embodiment of the present invention, the method includes:
Step 201:Pre-build the corresponding relation of cache information subquery condition corresponding with least one DMP.
For example, cache information here can be the mark of targeted customer, and corresponding relation includes:Targeted customer's The corresponding cookie of mark at least one DMP of correspondence.For example:The mark corresponding cookie1 of correspondence DMP1 of targeted customer A and The corresponding cookie2 of DMP2.
Step 202:Receive the querying condition for inquiring about at least one DMP to be checked of outside input, the querying condition Include caching field, caching field includes:Target cache information.
For example, need to inquire about the user input query condition of DMP, the caching field of querying condition includes that target is used The mark of family A.
Step 203:Target cache information is parsed from the caching field of querying condition.
For example, the mark of targeted customer A is parsed from the caching field of querying condition.
Step 204:Whether there is target cache information in judging corresponding relation, if it is, execution step 205, otherwise, Execution step 208.
For example, there is the mark of targeted customer A in judging corresponding relation.
Step 205:According to corresponding relation, the corresponding sons of corresponding at least one DMP to be checked of target cache information are determined Querying condition, execution step 206.
For example, the corresponding cookie1 and DMP2 of mark correspondence DMP1 of targeted customer A according to corresponding relation, are determined Corresponding cookie2.
Step 206:For each DMP to be checked, using the currently corresponding subquery conditions of DMP to be checked, inquiry is current DMP to be checked.
For example, DMP to be checked is DMP1 and DMP2 respectively, corresponding subquery condition be respectively cookie1 and cookie2.For DMP1, the data of cookie1 are asked to DMP1.For DMP2, the data of cookie2 are asked to DMP2.
Step 207:Receive the Query Result that each DMP to be checked is returned.
Step 208:Terminate current process.
For example, the data of the cookie1 that DMP1 is returned are received, the data of the cookie2 that DMP2 is returned are received.
Based on a kind of method of the inquiry DMP shown in Fig. 1, subsequent treatment is carried out for the ease of the Query Result to obtaining, As shown in figure 3, in an embodiment of the present invention, after the Query Result for receiving each DMP return to be checked, enter One step includes:
Step 301:The Query Result that each described DMP to be checked is returned is converted into into the number of preset data form According to.
In embodiments of the present invention, preset data form can be json forms.Due to the lattice of data storage in different DMP Formula is different, after multiple DMP are inquired about, may obtain the Query Result of multiple format, by the embodiment of the present invention, each be looked into The data that result produces unified preset data form are ask, conveniently subsequently these data can be processed.
In an embodiment of the present invention, the subquery condition includes:Keyword;
Wherein, the keyword includes:One in os, IMEI, IDFA, Android ID, MAC, IP and cookie or It is multiple.
In embodiments of the present invention, subquery condition is keyword, and user need to only be input into keyword, you can according to keyword Inquire about corresponding DMP to be checked.At least one keyword of at least one DMP to be checked can be included in querying condition.Tool Body ground, in querying condition, user is input into corresponding at least one keyword for each DMP to be checked.For example, user Need to inquire about DMP1, DMP2, DMP3, user can be input into the corresponding keywords 1 of DMP1 and keyword 2 in querying condition, The corresponding keywords 3 of DMP2, the corresponding keywords 4 of DMP3 and keyword 5, look into DMP1 according to keyword 1 and keyword 2 Ask, DMP2 is inquired about according to keyword 3, DMP3 is inquired about according to keyword 4 and keyword 5.In addition, keyword can To include:Redis, redis are distributed memory systems.
In order to more accurately inquire about DMP, in an embodiment of the present invention, the querying condition includes:Each The corresponding condition field of the DMP to be checked, wherein, for DMP to be checked each described, the current DMP correspondences to be checked Condition field be used to preserving the corresponding subquery conditions of the current DMP to be checked;
It is described that the corresponding subquery conditions of each described DMP to be checked are determined according to the querying condition, including:
For DMP to be checked each described, from the corresponding condition fields of DMP described current to be checked of the querying condition Obtain the corresponding subquery conditions of the DMP currently to be checked.
In embodiments of the present invention, user generates querying condition according to preset format in input inquiry condition.Citing comes Say there are 10 DMP to be checked, in this querying condition, be provided with 10 condition fields, each one condition word of DMP correspondences to be checked Section, user are input into the subquery condition of the inquiry of needs, such as keyword in corresponding condition field.Subsequently can be according to this Preset format determines in querying condition the corresponding subquery conditions of each DMP to be checked.By changing preset format, can be more The corresponding subquery conditions of each DMP to be checked are accurately determined, and then can more accurately inquire about DMP.
In order to accelerate to inquire about the speed of DMP, in an embodiment of the present invention, described for DMP to be checked each described, Using the currently corresponding subquery conditions of DMP to be checked, before inquiring about the current DMP to be checked, further include:
Respectively set up with each described DMP to be checked length be connected, with respectively by each it is described length connect with it is corresponding The DMP to be checked is communicated.
In order to be communicated with each DMP to be checked, need to be connected with each DMP foundation to be checked, but, if set up Short connection, needs communication every time all to re-establish connection, loses time.In embodiments of the present invention, set up to be checked with each The long connection of DMP, repeatedly can be communicated with DMP by long connection, without the need for repeatedly setting up connection, save the time, accelerate The speed of inquiry DMP.
In an embodiment of the present invention, looked into according to the corresponding subquery conditions of each described DMP to be checked respectively described Before asking each described DMP to be checked, further include:
Set up respectively and be connected with the socket (socket) of DMP to be checked each described, with respectively by described in each Socket connections are communicated with the corresponding DMP to be checked;
After the Query Result that described each described DMP to be checked of reception is returned according to corresponding subquery condition, enter One step includes:
Connect for socket each described, after a sign off, current socket connections are put into into corresponding company Connect in pond, maintain the current socket connections.
Wherein, for each socket connection, after a sign off, it is right that current socket connections are put into In the connection pool answered, before maintaining the current socket connections, further include:
Obtain the domain name of each DMP to be checked;
The domain name of each DMP to be checked is parsed, the IP address of each DMP to be checked is obtained;
According to the corresponding connection pool of IP address for setting up each DMP to be checked.
In embodiments of the present invention, when request is sent to DMP to be checked by Socket, if DMP to be checked is HTTP (HyperText Transfer Protocol, HTTP) asks API (Application Programming Interface, application programming interface) mode, increase http heads keyword keep-alive, with Http1.1 protocol modes are set up HTTP length with DMP to be checked and are connected, and maintain the connection of HTTP length.
It should be noted that:In present example, DMP to be checked can be the DMP of outside need inquiry, and these are to be checked It can be the part in all DMP that can be queried to ask DMP.For example, the DMP that can be queried has 10, and uses Family A defines DMP1, DMP2 and the DMP3 simply inquired about in this 10 DMP by querying condition, then, DMP1, DMP2 and DMP3 is DMP to be checked.
In addition, DMP is provided with query interface, the configuration information of the query interface of each DMP can be obtained in advance, according to every The corresponding configuration information of individual DMP, is connected with the query interface of each DMP.
Further, as the connection from different DMP to be checked may be different, therefore, sending to different DMP to be checked During inquiry request, it may be necessary to send the request of multi-form, such as:Packet or inquiry address.
As shown in figure 4, embodiments providing a kind of method of inquiry DMP, the method may comprise steps of:
Step 401:Pre-build the corresponding relation of cache information subquery condition corresponding with least one DMP.
For example, subquery condition is keyword, and the corresponding relation is:Cache information is corresponding with least one DMP The corresponding relation of keyword.
Step 402:The querying condition for inquiring about at least one DMP to be checked of outside input is received, wherein, inquire about bar Part includes:Write-back field, caching field and the corresponding condition fields of each DMP to be checked.
Specifically, querying condition includes:Write-back field, caching field, the corresponding condition fields of each DMP to be checked; Wherein, write-back field includes:The mark of each DMP to be checked;Caching field includes:Target cache information;For each The corresponding condition field of the DMP to be checked, current DMP to be checked is used to preserve the corresponding subquery bars of current DMP to be checked Part.
In embodiments of the present invention, each DMP correspondences subquery condition to be checked, may come from corresponding relation, mesh The corresponding subquery condition of mark cache information, it is also possible to come from the querying condition in condition field.
For example, subquery condition is keyword.DMP to be checked has DMP1, DMP2 and DMP3.In querying condition It is keyword 1 in the corresponding condition fields of DMP1, is keyword 2 in the corresponding condition fields of DMP2, the corresponding condition words of DMP3 Duan Zhongwei is empty.
Caching field in querying condition is stored with cache information A, then cache information A is target cache information.
In corresponding relation, cache information A keywords 3 corresponding with DMP2 and the corresponding keywords of DMP3 4.
Based on above-mentioned querying condition, the corresponding subquery conditions of DMP1 be keyword 1, the corresponding subquery conditions of DMP2 For keyword 2 and keyword 3, the corresponding subquery conditions of DMP3 are keyword 4.
Step 403:For each DMP to be checked, obtain from the corresponding condition fields of the DMP current to be checked of querying condition The corresponding subquery condition of current DMP to be checked.
For example, the corresponding keywords 1 of DMP1 are obtained in the corresponding condition fields of DMP1 from querying condition, from inquiry The corresponding keywords of DMP2 2 are obtained in condition in the corresponding condition fields of DMP2.
Step 404:Target cache information is parsed from the caching field of querying condition.
For example, cache information A is parsed in the caching field from querying condition.
Step 405:Whether there is target cache information in judging corresponding relation, if it is, execution step 406, otherwise, Execution step 407.
For example, target cache information is cache information A, there is cache information A, execution step 406 in corresponding relation.
Step 406:According to corresponding relation, the corresponding sons of corresponding at least one DMP to be checked of target cache information are determined Querying condition.
For example, according to corresponding relation, determine the corresponding keywords 3 of DMP2, determine the corresponding keywords of DMP3 4.
Step 407:For each DMP to be checked, using the currently corresponding subquery conditions of DMP to be checked, inquiry is current DMP to be checked.
For example, determined by above-mentioned steps:The corresponding subquery conditions of DMP1 are keyword 1, and DMP2 is corresponding Subquery condition is keyword 2 and keyword 3, and the corresponding subquery conditions of DMP3 are keyword 4.
DMP1 is inquired about using keyword 1, using keyword 2 and the inquiry DMP2 of keyword 3, DMP3 is inquired about using keyword 4.
Specifically, the currently corresponding keywords of DMP to be checked can be sent to current DMP to be checked so that currently treat Inquiry DMP returns Query Result according to the keyword.
Step 408:Receive the Query Result that each DMP to be checked is returned.
For example, the Query Result 1 that DMP1 is returned according to keyword 1 is received, DMP2 is received according to keyword 2 and key The Query Result 2 that word 3 is returned, receives the Query Result 3 that DMP3 is returned according to keyword 4.
Step 409:According to write-back field, each is marked by the mark of the corresponding DMP to be checked of each Query Result Query Result.
For example, in the write-back field in querying condition:DMP1's is designated mark A, and DMP2's is designated mark B, DMP3's is designated mark C.
By identifying A tag queries result 1, by identifying B tag queries result 2, by identifying C flag Query Result 3.
Step 410:The Query Result that each DMP to be checked is returned is converted into into the data of preset data form.
For example, Query Result 1, Query Result 2 and Query Result 3 are the data of different-format respectively, for convenience Query Result 1, Query Result 2 and Query Result 3 are converted into the data of preset data form by subsequent treatment.Here default Data form can be json forms.
As shown in Figure 5, Figure 6, embodiments provide a kind of device of inquiry DMP.Device embodiment can pass through Software is realized, it is also possible to realized by way of hardware or software and hardware combining.From for hardware view, as shown in figure 5, for originally A kind of hardware structure diagram of the device place equipment of a kind of inquiry DMP that inventive embodiments are provided, except the process shown in Fig. 5 Outside device, internal memory, network interface and nonvolatile memory, the equipment that device is located in embodiment can also generally include Other hardware, are such as responsible for processing forwarding chip of message etc..As a example by implemented in software, as shown in fig. 6, as a logic meaning Device in justice, is read corresponding computer program instructions in nonvolatile memory by the CPU of its place equipment Operation in internal memory is formed.A kind of device of inquiry DMP that the present embodiment is provided, including:
First receiving unit 601, for receiving the inquiry bar for inquiring about at least one DMP to be checked of outside input Part;
Determining unit 602, for according to the querying condition, determining the corresponding subquery bars of each described DMP to be checked Part;
Query unit 603, for for each described DMP to be checked, using the currently corresponding subquery bars of DMP to be checked Part, inquires about the current DMP to be checked;
Second receiving unit 604, for receiving the Query Result that each described DMP to be checked is returned.
In an embodiment of the present invention, the querying condition includes:Write-back field, the write-back field include:Often The mark of the individual DMP to be checked;
The device is further included:
Mark unit, for according to the write-back field, by the corresponding DMP to be checked of Query Result each described Mark marking each described Query Result.
In an embodiment of the present invention, the querying condition includes:Caching field, the caching field include:Mesh Mark cache information;
The device is further included:
First sets up unit, for setting up the corresponding relation of cache information subquery condition corresponding with least one DMP;
The determining unit, for the target cache letter is parsed from the caching field of the querying condition Breath, whether there is the target cache information in judging the corresponding relation, if it is, according to the corresponding relation, determining institute State the corresponding subquery conditions of corresponding at least one DMP to be checked of target cache information.
In an embodiment of the present invention, the device is further included:
Converting unit, for the Query Result that each described DMP to be checked is returned is converted into preset data form Data.
In an embodiment of the present invention, the device is further included:
Second sets up unit, and the length for being set up with DMP to be checked each described respectively is connected, to pass through each institute respectively State long connection to be communicated with the corresponding DMP to be checked.
In an embodiment of the present invention, the subquery condition includes:Keyword;
Wherein, the keyword includes:One in os, IMEI, IDFA, Android ID, MAC, IP and cookie or It is multiple.
In an embodiment of the present invention, the querying condition includes:The corresponding condition words of each described DMP to be checked Section, wherein, for DMP to be checked each described, the corresponding condition field of the current DMP to be checked is used to preserve described current The corresponding subquery condition of DMP to be checked;
The determining unit, for for each described DMP to be checked, from the described current to be checked of the querying condition The corresponding condition fields of DMP obtain the corresponding subquery conditions of the DMP currently to be checked.
In addition, the querying condition that the device is received can be from connected client, user is by client to this Device sends querying condition, after the device receives Query Result, Query Result is sent to client.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
Each embodiment of the invention at least has the advantages that:
1st, in embodiments of the present invention, user input query condition, determines each DMP to be checked from the querying condition Corresponding subquery condition, is inquired about to each DMP to be checked respectively, receives the Query Result that each DMP to be checked is returned, User can be inquired about to multiple DMP simultaneously by a querying condition, without the need for operating to each DMP respectively, can DMP is inquired about more easily.
2nd, in embodiments of the present invention, rower can be entered to the Query Result for receiving by the mark in write-back field Note, can determine that the corresponding DMP to be checked of each Query Result by these marks so that user can distinguish exactly The source of each Query Result.
3rd, in embodiments of the present invention, pre-build the right of cache information subquery condition corresponding with least one DMP Should be related to, in the corresponding relation, each cache information can correspond to the corresponding subquery conditions of plural DMP, pass through Target cache information in the buffering field can be inquired about to multiple DMP to be checked simultaneously, need not be respectively directed to different DMP to be checked arranges subquery condition, can more easily inquire about DMP.
4th, in embodiments of the present invention, set up respectively and be connected with the length of each DMP to be checked, respectively by each length connection Communicated with corresponding DMP to be checked, repeatedly can be communicated with DMP by long connection, without the need for repeatedly setting up connection, section The time has been saved, the speed of inquiry DMP has been accelerated.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity Or operation is made a distinction with another entity or operation, and not necessarily require or imply presence between these entities or operation Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non- Exclusiveness is included, so that a series of process, method, article or equipment including key elements not only includes those key elements, But also including other key elements being not expressly set out, or also include solid by this process, method, article or equipment Some key elements.In the absence of more restrictions, the key element for being limited by sentence " including ", does not arrange Except also there is other identical factor in including the process of the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of said method embodiment can pass through Completing, aforesaid program can be stored in the storage medium of embodied on computer readable the related hardware of programmed instruction, the program Upon execution, perform the step of including said method embodiment;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, the skill of the present invention is merely to illustrate Art scheme, is not intended to limit protection scope of the present invention.All any modifications made within the spirit and principles in the present invention, Equivalent, improvement etc., are all contained in protection scope of the present invention.

Claims (10)

1. a kind of method of inquiry data management platform DMP, it is characterised in that include:
Receive the querying condition for inquiring about at least one DMP to be checked of outside input;
According to the querying condition, the corresponding subquery conditions of each described DMP to be checked are determined;
For DMP to be checked each described, using the currently corresponding subquery conditions of DMP to be checked, inquire about described current to be checked Ask DMP;
Receive the Query Result that each described DMP to be checked is returned.
2. method according to claim 1, it is characterised in that
The querying condition includes:Write-back field, the write-back field include:The mark of each DMP to be checked;
After the Query Result for receiving each DMP return to be checked, further include:
According to the write-back field, each is marked by the mark of the corresponding DMP to be checked of Query Result each described The Query Result.
3. method according to claim 1, it is characterised in that
The querying condition includes:Caching field, the caching field include:Target cache information;
Before the querying condition for inquiring about at least one DMP to be checked for receiving outside input, further include:
Pre-build the corresponding relation of cache information subquery condition corresponding with least one DMP;
It is described that the corresponding subquery conditions of each described DMP to be checked are determined according to the querying condition, including:
The target cache information is parsed from the caching field of the querying condition;
Whether there is the target cache information in judging the corresponding relation, if it is, according to the corresponding relation, determining institute State the corresponding subquery conditions of corresponding at least one DMP to be checked of target cache information.
4. method according to claim 1, it is characterised in that
After the Query Result for receiving each DMP return to be checked, further include:
The Query Result that each described DMP to be checked is returned is converted into into the data of preset data form;
And/or,
Described for DMP to be checked each described, using the currently corresponding subquery conditions of DMP to be checked, inquiry is described to work as Before front DMP to be checked, further include:
Set up respectively and be connected with the length of DMP to be checked each described, with described with corresponding by each described long connection respectively DMP to be checked is communicated.
5. according to arbitrary described method in claim 1-4, it is characterised in that
The subquery condition includes:Keyword;
Wherein, the keyword includes:Operating system os, International Mobile Equipment Identity code IMEI, advertisement indications IDFA, Android One or more in identification code Android ID, physical address MAC, IP and cookie;
And/or,
The querying condition includes:The corresponding condition fields of each described DMP to be checked, wherein, for be checked each described Ask DMP, the corresponding condition field of the current DMP to be checked is used to preserving the corresponding subquery bars of the current DMP to be checked Part;
It is described that the corresponding subquery conditions of each described DMP to be checked are determined according to the querying condition, including:
For DMP to be checked each described, obtain from the corresponding condition fields of DMP described current to be checked of the querying condition The corresponding subquery condition of the current DMP to be checked.
6. a kind of device of inquiry data management platform DMP, it is characterised in that include:
First receiving unit, for receiving the querying condition for inquiring about at least one DMP to be checked of outside input;
Determining unit, for according to the querying condition, determining the corresponding subquery conditions of each described DMP to be checked;
Query unit, for for each described DMP to be checked, using the currently corresponding subquery conditions of DMP to be checked, inquiry The current DMP to be checked;
Second receiving unit, for receiving the Query Result that each described DMP to be checked is returned.
7. device according to claim 6, it is characterised in that
The querying condition includes:Write-back field, the write-back field include:The mark of each DMP to be checked;
Further include:
Mark unit, for according to the write-back field, by the mark of the corresponding DMP to be checked of Query Result each described Know to mark each described Query Result.
8. device according to claim 6, it is characterised in that
The querying condition includes:Caching field, the caching field include:Target cache information;
Further include:
First sets up unit, for setting up the corresponding relation of cache information subquery condition corresponding with least one DMP;
The determining unit, for the target cache information is parsed from the caching field of the querying condition, sentences Whether there is the target cache information in the disconnected corresponding relation, if it is, according to the corresponding relation, determining the target The corresponding subquery conditions of corresponding at least one DMP to be checked of cache information.
9. device according to claim 6, it is characterised in that
Further include:
Converting unit, for the Query Result that each described DMP to be checked is returned to be converted into the number of preset data form According to;
And/or,
Further include:
Second sets up unit, and the length for being set up with DMP to be checked each described respectively is connected, to pass through each described length respectively Connection is communicated with the corresponding DMP to be checked.
10. according to arbitrary described device in claim 6-9, it is characterised in that
The subquery condition includes:Keyword;
Wherein, the keyword includes:Operating system os, International Mobile Equipment Identity code IMEI, advertisement indications IDFA, Android One or more in identification code Android ID, physical address MAC, IP and cookie;
And/or,
The querying condition includes:The corresponding condition fields of each described DMP to be checked, wherein, for be checked each described Ask DMP, the corresponding condition field of the current DMP to be checked is used to preserving the corresponding subquery bars of the current DMP to be checked Part;
The determining unit, for for each described DMP to be checked, from the described current DMP to be checked of the querying condition Corresponding condition field obtains the corresponding subquery conditions of the DMP currently to be checked.
CN201611066140.4A 2016-11-28 2016-11-28 DMP querying method and device Pending CN106528854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611066140.4A CN106528854A (en) 2016-11-28 2016-11-28 DMP querying method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611066140.4A CN106528854A (en) 2016-11-28 2016-11-28 DMP querying method and device

Publications (1)

Publication Number Publication Date
CN106528854A true CN106528854A (en) 2017-03-22

Family

ID=58357701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611066140.4A Pending CN106528854A (en) 2016-11-28 2016-11-28 DMP querying method and device

Country Status (1)

Country Link
CN (1) CN106528854A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426220A (en) * 2017-07-28 2017-12-01 浙江每日互动网络科技股份有限公司 A kind of method that accurate information is launched

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860449A (en) * 2009-04-09 2010-10-13 华为技术有限公司 Data query method, device and system
CN103729471A (en) * 2014-01-21 2014-04-16 华为软件技术有限公司 Method and device for database query
CN104991921A (en) * 2015-06-26 2015-10-21 北京奇虎科技有限公司 Data query method, client and server

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101860449A (en) * 2009-04-09 2010-10-13 华为技术有限公司 Data query method, device and system
CN103729471A (en) * 2014-01-21 2014-04-16 华为软件技术有限公司 Method and device for database query
CN104991921A (en) * 2015-06-26 2015-10-21 北京奇虎科技有限公司 Data query method, client and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426220A (en) * 2017-07-28 2017-12-01 浙江每日互动网络科技股份有限公司 A kind of method that accurate information is launched
CN107426220B (en) * 2017-07-28 2019-08-20 浙江每日互动网络科技股份有限公司 A kind of method that accurate information is launched

Similar Documents

Publication Publication Date Title
CN103825895B (en) A kind of information processing method and electronic equipment
CN104202360B (en) The method of accessed web page, device and router
US9299434B2 (en) Dedicated egress fast path for non-matching packets in an OpenFlow switch
JP5587732B2 (en) Computer-implemented method, computer program, and system for managing access to a domain name service (DNS) database
CN104144156B (en) Message processing method and device
CN109871224A (en) A kind of gray scale dissemination method, system, medium and equipment based on user identifier
AU676423B2 (en) An intra-vehicular local area network and method of routing messages along it
CN106533947B (en) Message processing method and device
CN108063833A (en) HTTP dns resolutions message processing method and device
CN104144231B (en) Method and device for processing DNS query request
CN110581835B (en) Vulnerability detection method and device and terminal equipment
JP4009591B2 (en) Domain naming system (DNS) for accessing databases
CN111224878B (en) Route forwarding method and device, electronic equipment and storage medium
CN103812774B (en) Tactics configuring method, message processing method and related device based on TCAM
CN106528854A (en) DMP querying method and device
CN108768727B (en) Method for accessing third-party service, electronic device and readable storage medium
US7653070B2 (en) Method and system for supporting efficient and cache-friendly TCP session lookup operations based on canonicalization tags
CN108494752A (en) A kind of analysis method and device of agreement
CN107105004B (en) Cross-platform service calling method and device
CN105530329B (en) A kind of novel domain name resolution service method and apparatus for supporting name to search for
CN116881040A (en) Service operation processing method and device, electronic device and storage medium
CN109981725B (en) Communication method across security domains, server and readable storage medium
EP4044542A1 (en) Method and apparatus for subscribing to resource
CN104008191B (en) A kind of data query method
CN115801731A (en) Network message processing method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
C06 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: 20170322