CN108537577A - Validity querying method and device, storage medium, the server of data - Google Patents
Validity querying method and device, storage medium, the server of data Download PDFInfo
- Publication number
- CN108537577A CN108537577A CN201810252010.2A CN201810252010A CN108537577A CN 108537577 A CN108537577 A CN 108537577A CN 201810252010 A CN201810252010 A CN 201810252010A CN 108537577 A CN108537577 A CN 108537577A
- Authority
- CN
- China
- Prior art keywords
- data
- data identification
- validity
- query
- time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
- G06Q30/00—Commerce
- G06Q30/02—Marketing; Price estimation or determination; Fundraising
- G06Q30/0241—Advertisements
- G06Q30/0251—Targeted advertisements
Abstract
A kind of the validity querying method and device, storage medium, server of data, the validity querying method of the data include:Receive the Data Identification that data query side is sent;The validity for inquiring the Data Identification, to obtain the query result of the Data Identification, the validity of the Data Identification is that the transaction record for the data being directed toward according to the Data Identification determines;The query result is sent to the data query side.The technical solution provided through the invention, it may be determined that whether data are effective, provide stable, online data (such as data of Data Identification direction) inquiry service, avoid invalid data, deactivation data waste of resource as possible.
Description
Technical field
The present invention relates to the data fields of circulation, more particularly to the validity querying method and device of a kind of data, storage
Medium, server.
Background technology
In data circulation and data excavation applications, the data that some Data Identifications are directed toward have a wide range of applications, such as state
Border mobile equipment identity code (International Mobile Equipment Identity, abbreviation IMEI) or advertisement mark
It accords with (Identifier For Advertising, abbreviation IDFA).In typical application, information push side, advertisement putting business
It is (such as new to its target customer's pushed information by mobile devices such as mobile phone, tablet computers Deng often by IMEI or IDFA
Hear), advertisement.
But show that the average life period of the Data Identifications such as IMEI or IDFA is only 6 months according to investigation, later will
Become inactivation, invalid Data Identification.If information push side, advertisement putting business do not differentiate whether Data Identification fails, only
Simply by Data Identification pushed information, advertisement, then the existing inactivation of magnanimity and invalid Data Identification will lead to information
Push side, advertisement putting business generate a large amount of invalid push, waste of resource.In addition, inactivation and invalid Data Identification may also be led
Data owner is caused to generate the analysis result of mistake.
Thus, there is an urgent need for a kind of validity query schemes providing Data Identification at present, to overcome drawbacks described above.
Invention content
Present invention solves the technical problem that being how to realize the validity inquiry of the data such as Data Identification, to determine number
According to whether effectively.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of validity querying method of data, the data
Validity querying method include:Receive the Data Identification that data query side is sent;The validity for inquiring the Data Identification, with
The query result of the Data Identification is obtained, the validity of the Data Identification is the data being directed toward according to the Data Identification
What transaction record determined;The query result is sent to the data query side.
Optionally, before the validity for inquiring the Data Identification, the validity querying method of the data further includes:
Format check is carried out to the Data Identification;If not prompting the data query side to lead again by the format check
Enter the Data Identification.
Optionally, initial exchange hour and the last trade time for having each Data Identification are recorded in the transaction record,
The validity of the Data Identification is true according to query time and the initial exchange hour and/or the relationship of last trade time
Fixed.
Optionally, in the query time, if without the initial exchange hour and last trade in the transaction record
Time, then the validity of the Data Identification is invalid;If the time difference of query time described in the last trade time interval
More than the first predetermined threshold value, then the validity of the Data Identification is inactivation;If inquired described in the last trade time interval
The time difference of time is less than or equal to first predetermined threshold value, and the liveness of the Data Identification is more than or equal to the second default threshold
Value, then the validity of the Data Identification is effective;If the time difference of query time described in the last trade time interval is small
In equal to first predetermined threshold value, and the liveness of the Data Identification is less than second predetermined threshold value, then the data
The validity of mark is invalid;Wherein, the liveness of the Data Identification and the friendship of the Data Identification within a preset period of time
Easy number is directly proportional.
Optionally, the liveness of the Data Identification is determined using following formula:The liveness of the Data Identification=(institute
State the duration of the transaction count/preset time period of the Data Identification in the preset time period) × preset liveness coefficient.
Optionally, the validity querying method of the data further includes:The life cycle of the Data Identification is calculated, it is described
The initial exchange hour of the m- Data Identification when last trade of the life cycle of Data Identification=Data Identification.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of validity inquiry unit of data, the number
According to validity inquiry unit include:Receiving module is suitable for receiving the Data Identification that data query side is sent;Enquiry module is fitted
In the validity for inquiring the Data Identification, to obtain the query result of the Data Identification, the validity of the Data Identification
It is that the transaction records of the data being directed toward according to the Data Identification determines;Sending module, suitable for sending the query result
To the data query side.
Optionally, the validity inquiry unit of the data further includes:Correction verification module is suitable for inquiring the Data Identification
Validity before, to the Data Identification carry out format check;Reminding module, if not passing through the format check, institute
Reminding module is stated to be suitable for that the data query side is prompted to import the Data Identification again.
Optionally, initial exchange hour and the last trade time for having each Data Identification are recorded in the transaction record,
The validity of the Data Identification is true according to query time and the initial exchange hour and/or the relationship of last trade time
Fixed.
Optionally, in the query time, if without the initial exchange hour and last trade in the transaction record
Time, then the validity of the Data Identification is invalid;If the time difference of query time described in the last trade time interval
More than the first predetermined threshold value, then the validity of the Data Identification is inactivation;If inquired described in the last trade time interval
The time difference of time is less than or equal to first predetermined threshold value, then the validity of the Data Identification is effective;If it is described most
Time difference of the exchange hour away from the query time is less than or equal to first predetermined threshold value afterwards, and the Data Identification enlivens
Degree is less than second predetermined threshold value, then the validity of the Data Identification is invalid;Wherein, the liveness of the Data Identification
It is directly proportional to the transaction count of the Data Identification within a preset period of time.
Optionally, the liveness of the Data Identification is determined using following formula:The liveness of the Data Identification=(institute
State the duration of the transaction count/preset time period of the Data Identification in the preset time period) × preset liveness coefficient.
Optionally, the validity inquiry unit of the data further includes:Computing module is suitable for calculating the Data Identification
Life cycle, when last trade of life cycle=Data Identification of the Data Identification the m- Data Identification most
First exchange hour.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of storage medium, it is stored thereon with computer and refers to
The step of order, the computer instruction executes the validity querying method of above-mentioned data when running.
In order to solve the above technical problems, the embodiment of the present invention also provides a kind of server, including memory and processor, institute
The computer instruction that is stored with and can run on the processor on memory is stated, the processor runs the computer instruction
The step of validity querying method of the above-mentioned data of Shi Zhihang.
Compared with prior art, the technical solution of the embodiment of the present invention has the advantages that:
The embodiment of the present invention provides a kind of validity querying method of data, the validity querying method packet of the data
It includes:Receive the Data Identification that data query side is sent;The validity for inquiring the Data Identification, to obtain the Data Identification
Query result, the validity of the Data Identification are that the transaction record for the data being directed toward according to the Data Identification determines;It will
The query result is sent to the data query side.The technical solution provided through the embodiment of the present invention, it may be determined that described
Whether Data Identification is effective, and stable, online data (such as data of Data Identification direction) are provided for the data query side
Inquiry service, avoids deactivation data, invalid data waste of resource as possible.
Further, initial exchange hour and the last trade time for having each Data Identification are recorded in the transaction record,
The validity of the Data Identification is true according to query time and the initial exchange hour and/or the relationship of last trade time
Fixed.According to the relationship of query time and the initial exchange hour and last trade time of the Data Identification, it may be determined that each
A data identify whether that the validity that data are effectively provided for the data query side inquires service and provides possibility.
Description of the drawings
Fig. 1 is a kind of flow diagram of the validity querying method of data of the embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of the validity inquiry unit of data of the embodiment of the present invention.
Specific implementation mode
It will be appreciated by those skilled in the art that as described in the background art, the average life of the Data Identifications such as IMEI or IDFA
Period is only 6 months, will generate magnanimity inactivation and invalid Data Identification, but at present because lacking to the effective of the Data Identification
Property query scheme, waste of resource.
The embodiment of the present invention provides a kind of validity querying method of data, the validity querying method packet of the data
It includes:Receive the Data Identification that data query side is sent;The validity for inquiring the Data Identification, to obtain the Data Identification
Query result, the validity of the Data Identification are that the transaction record for the data being directed toward according to the Data Identification determines;It will
The query result is sent to the data query side.The technical solution provided through the embodiment of the present invention, it may be determined that described
Whether Data Identification is effective, and stable, online data (such as data of Data Identification direction) are provided for the data query side
Inquiry service, avoids deactivation data, invalid data waste of resource as possible.
It is understandable to enable above-mentioned purpose, feature and the advantageous 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 flow diagram of the validity querying method of data of the embodiment of the present invention.It is shown in FIG. 1 effective
Property querying method may comprise steps of:
Step S101:Receive the Data Identification that data query side is sent;
Step S102:The validity for inquiring the Data Identification, to obtain the query result of the Data Identification, the number
Validity according to mark is that the transaction record for the data being directed toward according to the Data Identification determines;
Step S103:The query result is sent to the data query side.
Specifically, in step S101, server can receive the Data Identification of data query side's transmission.The data mark
Knowledge can be single Data Identification, or a plurality of Data Identification.Wherein, the server can be individual server,
It can be the cluster of multiple servers composition.
Later, the server can carry out format check to the Data Identification.The format check may include but
It is not limited to number, character check, number, character length verification.
As a unrestricted example, data format requirement Data Identification is 11 nonnegative integers, and Data Identification
First place number be 0 phone number.When the Data Identification that the data query side is sent is 11 nonnegative integers, and it is the first
When number is not 0, the server can be determined that the Data Identification meets format check requirement, pass through format check.
As another unrestricted example, data format requirement Data Identification is 18 bit digitals or number and capital letter
The ID card information of mother's mixing.When the Data Identification that the data query side is sent is 17 nonnegative integers and 1 lowercase
When, the server can be determined that lowercase occurs in the Data Identification, be unsatisfactory for format check requirement, not pass through format school
It tests.
Further, when the server determines that the Data Identification does not pass through format check, the server can be with
The data query side is prompted to retransmit the Data Identification.
In specific implementation, the data query side can be manually entered list by client machine (such as personal computer)
Data identifies or a plurality of Data Identification;Alternatively, importing a plurality of Data Identification by client machine batch.If the data
Mark is not by format check, then the server can prompt the data query side to retransmit the Data Identification.
As a non-limiting embodiment, when the Data Identification is single data and does not pass through format check, institute
Stating server can require the data query side to retransmit or re-type correct Data Identification.
As another non-limiting embodiment, when the Data Identification is a plurality of data and at least a data identifies
When not passing through format check, the server can prompt the data query side to re-type total data mark;Alternatively, institute
Stating server can prompt the data query side to have which Data Identification not by format check, and transmission data identifies again
Wrong partial data mark.
Preferably, the server can also show the check results of the Data Identification to the data query side.Example
Such as, when the data query side send be multiple Data Identifications when, the form of pie chart or block diagram may be used to the number
It shows in the multiple Data Identification according to issuer and believes by format check and not by the ratio of the Data Identification of format check
Breath.
Further, when the server is cluster, the Data Identification that the data query side is sent passes through format school
After testing, before the Data Identification being sent to demander by collider (namely wherein server in the cluster)
It sets in machine (namely another server in the cluster), to store the Data Identification, data is done for subsequent data analysis
Backup.Later, the Data Identification can be sent in caching by demander's front end processor, to inquire having for the Data Identification
Effect property.Wherein, demander's front end processor can be adapted to demander (such as data query side), and for example, each demander configures corresponding demander
Front end processor.
In step s 102, the server can inquire the validity of the Data Identification in the buffer, to obtain
The query result of the Data Identification.
Specifically, the validity of the Data Identification is can be remembered according to the transaction for the data that the Data Identification is directed toward
Record determination.
Wherein, the transaction record can be historical trading data of the data on transaction platform, wherein record have it is each
The related data of the data all previous transaction of (such as constantly or in a certain preset time period) in history, such as needing
The side's of asking platform (Demand-Side Platform, abbreviation DSP) exchange hour, transaction agent etc..More specifically, the friendship
Initial exchange hour and the last trade time of each Data Identification can be easily recorded in record.The transaction record can be
The new data obtained from outside, can also be the existing historical data of the server.The initial exchange hour is the number
According to mark in the server initial time of occurrence namely Data Identification record time initial in the server.
The last trade time be the Data Identification in the server last time of occurrence namely the Data Identification described
The last record time in server.
Further, the query time and the most new acquaintance that the validity of the Data Identification can be according to the Data Identification
The relationship of easy time and/or last trade time determine.In specific implementation, when inquiry, if the Data Identification is in the friendship
Easily without initial exchange hour in record, and there is no the last trade time, then the server can determine that the Data Identification is
Invalid Data Identification.
When inquiry, preset if the last time of occurrence of the Data Identification is more than first with the time difference when inquiry
Threshold value, then the server can determine the Data Identification be inactivation Data Identification., whereas if the Data Identification is most
Time of occurrence is less than or equal to first predetermined threshold value with the time difference when inquiry afterwards, then the server can be assumed that this
Data Identification is preliminary effective Data Identification.
It further, can be according to the Data Identification after Data Identification meets preliminary effective Data Identification requirement
Liveness finally determines the validity of the Data Identification.For example, when the Data Identification has met the requirement of the first predetermined threshold value,
And the liveness of the Data Identification be more than or equal to the second predetermined threshold value when, the server can determine having for the Data Identification
Effect property is effective.Wherein, second predetermined threshold value can be default liveness threshold value.That is, working as the Data Identification most
Time difference of the exchange hour away from the query time is less than or equal to first predetermined threshold value afterwards, and the Data Identification enlivens
When degree is more than or equal to the default liveness threshold value, the server can be determined that the Data Identification is identified by valid data.It is no
Then, the time difference of the query time described in the last trade time interval of the Data Identification is less than or equal to the described first default threshold
Value, but the liveness of the Data Identification be less than the default liveness threshold value when, the server can be determined that the data mark
Know is that invalid data identifies.
In specific implementation, the liveness of the Data Identification and the transaction count of the Data Identification within a preset period of time
(namely occurrence number) is directly proportional.The transaction count can be that real time bid (Real Time Bidding, abbreviation RTB) goes out
Existing number.
As a non-limiting implementation, the liveness of the Data Identification may be used following formula and determine:The number
According to mark liveness=(transaction count/preset time period of the Data Identification in the preset time period when
It is long) × preset liveness coefficient.Wherein, the duration of the preset time period can be daily, weekly, monthly, every year or other
Duration.The default liveness coefficient can determines according to actual conditions, in different scenes, and presetting liveness coefficient can be advance
It is set as different value.
Typically, the liveness can be average daily liveness, week liveness, monthly liveness, average annual liveness etc..
By taking average daily liveness as an example, calculation formula can be:Average daily liveness=(friendship that the Data Identification occurs in one month
Easy number/this month number of days) × preset liveness coefficient.
Further, the server periodically can carry out data statistics to each Data Identification, for example statistics is respectively
The RTB month occurrence numbers of a Data Identification, the life cycle etc. of each Data Identification of statistics.Later, by the Data Identification and
Statistical result passes through secure file transportation protocol (Secure File Transfer Protocol, abbreviation as valid data
SFTP it) is directed into the caching.The data query side can find the inquiry of the Data Identification in the caching
As a result.
Wherein, first predetermined threshold value can be 60 days.It will be appreciated by those skilled in the art that in practical applications, this
One predetermined threshold value can be configured according to the average life period of the Data Identification, and second predetermined threshold value can basis
The actual conditions such as average daily liveness, week liveness, monthly liveness, average annual liveness determine which is not described herein again.
Further, the server can also calculate the life cycle of the Data Identification.The life of each Data Identification
The difference of the last trade time and the initial exchange hour can be equal to by ordering the period.
It, can be by the Data Identification after the server is completed to the data analysis of the data such as Data Identification
And statistical result imports in the caching, so that the validity of Data Identification is inquired in the caching by data query side.It is preferred that
Ground, to reduce the data loading time, more association's journeys or multi-thread concurrent mode may be used by the Data Identification in the server
And statistical result imports in the caching.It should be noted that the server can periodically carry out data analysis sum number
According to loading, the validity to adapt to Data Identification changes.
Further, to provide the data query requirements of stable, high-speed, local memory data library may be used
(Redis) Data Identification and statistical result are stored, data query rate is accelerated.
Further, when the server inquiry, client machine is allowed to use hypertext transfer protocol (Hyper Text
Transport Protocol, abbreviation HTTP) single Data Identification is imported, and it is (namely described to inquire the data in the caching
Data Identification and statistical result).
As a change case, the server also allows client machine to import multiple Data Identifications using http protocol
And inquire the data in the caching.
In specific implementation, the server can identify deactivation data or invalid data mark calculates life cycle.When
When data query side inquiry Data Identification, the server can identify the deactivation data or invalid data mark
Life cycle shows the data query side.
Further, it if the Data Identification is deactivation data mark or invalid data mark, is calculated
Life cycle is the life cycle of the Data Identification.If the Data Identification identifies for valid data, can not determine
It imitates the last trade time of Data Identification, thus the valid data can not be identified and calculate life cycle.
In step s 103, the server can send out the query result (namely validity of the Data Identification)
It send to the client machine of the data query side.
Specifically, when data query side inquiry individual data mark, the query result can be the data
The validity of mark, such as valid data mark, deactivation data mark or invalid data mark.
As a change case, when multiple Data Identifications are inquired by the data query side, the query result can be adopted
Show whether each Data Identification is effective with word and/or chart.
Further, when multiple Data Identifications are inquired by the data query side, the server can be by prevalence
Web page server stream analysis tool Apache Storm or Spark-Streaming carry out flow point analysis, calculate the inquiry in real time
As a result the ratio of middle Various types of data (such as valid data mark, deactivation data mark, invalid data mark).Based on above-mentioned flow point
Analysis tool, the server can provide the data analysis service of stable large-scale data amount.
Further, after the server is completed to the validity inquiry of each Data Identification, the server can
To return to the query result.As a non-limiting embodiment, the query result can direct display data mark
The quantity of total amount, the quantity of valid data mark, the quantity of deactivation data mark and invalid data mark.Each Data Identification exists
Number is enlivened in preset time.
As another non-limiting embodiment, the query result can identify moon liveness number with display data.Example
Such as, plane coordinate system expression may be used, wherein horizontal axis indicates that each Data Identification occurrence number, the longitudinal axis indicate corresponding number
The quantity of Data Identification.
As another non-limiting embodiment, the form that table may be used in the query result is shown, such as based on
Table enumerates the validity of each Data Identification respectively.The query result is downloaded spare for the data query side.
By upper, the validity querying method of the data provided through the embodiment of the present invention, it may be determined that each Data Identification
Validity, realize Data Identification be directed toward data validity inquiry, meet the query demand of data query side, avoid as possible
Invalid data, deactivation data waste of resource.
Fig. 2 is a kind of structural schematic diagram of the validity inquiry unit of data of the embodiment of the present invention.Data shown in Fig. 2
Validity inquiry unit 2 (for simplicity, referred to hereinafter as validity inquiry unit 2), the validity inquiry unit 2 may include connecing
Receive module 201, enquiry module 204 and sending module 205.
Specifically, the receiving module 201 is suitable for receiving the Data Identification that data query side is sent;Enquiry module 204
Suitable for inquiring the validity of the Data Identification, to obtain the query result of the Data Identification, the Data Identification it is effective
Property is that the transaction record for the data being directed toward according to the Data Identification determines;Sending module 205 is suitable for the query result
It is sent to the data query side.
Further, the validity inquiry unit 2 can also include correction verification module 202 and reminding module 203.
Specifically, the correction verification module 202 is suitable for before the validity for inquiring the Data Identification, to the data
Mark carries out format check;If not by the format check, the reminding module 203 is suitable for prompting the data query
Fang Chongxin imports the Data Identification.
Further, when record has the initial exchange hour and last trade of each Data Identification in the transaction record
Between, the validity of the Data Identification is according to query time and the initial exchange hour and/or the pass of last trade time
System's determination.
Further, in the query time, if without the initial exchange hour and last friendship in the transaction record
The easy time, then the validity of the Data Identification is invalid;If the time of query time described in the last trade time interval
Difference is more than the first predetermined threshold value, then the validity of the Data Identification is inactivation;If looked into described in the last trade time interval
The time difference for asking the time is less than or equal to first predetermined threshold value, and the liveness of the Data Identification is less than described second and presets
Threshold value, then the validity of the Data Identification is invalid;Wherein, the liveness of the Data Identification with the Data Identification pre-
If the transaction count in the period is directly proportional.Further, the liveness of the Data Identification is determined using following formula:It is described
The liveness of Data Identification=(transaction count/preset time period of the Data Identification in the preset time period
Duration) × preset liveness coefficient.
Further, the validity inquiry unit 2 of the data can also include computing module 206.
Specifically, the computing module 206 is suitable for calculating the life cycle of the Data Identification, the Data Identification
The initial exchange hour of the m- Data Identification when last trade of life cycle=Data Identification.
The operation principle of validity inquiry unit 2 about data shown in Fig. 2, more contents of working method, can be with
With reference to the associated description in above-mentioned Fig. 1, which is not described herein again.
Further, a kind of storage medium is also disclosed in the embodiment of the present invention, is stored thereon with computer instruction, the calculating
The validity querying method technical solution of the data described in above-mentioned embodiment illustrated in fig. 1 is executed when machine instruction operation.Preferably,
The storage medium may include such as non-volatile (non-volatile) memory or non-transient (non-
Transitory) the computer readable storage mediums such as memory.The computer readable storage medium may include ROM, RAM,
Disk or CD etc..
Further, the embodiment of the present invention is also disclosed a kind of server, including memory and processor, on the memory
It is stored with the computer instruction that can be run on the processor, the processor executes when running the computer instruction
State the validity querying method technical solution of the data described in embodiment illustrated in fig. 1.
Although present disclosure is as above, present invention is not limited to this.Any those skilled in the art are not departing from this
It in the spirit and scope of invention, can make various changes or modifications, therefore protection scope of the present invention should be with claim institute
Subject to the range of restriction.
Claims (14)
1. a kind of validity querying method of data, which is characterized in that including:
Receive the Data Identification that data query side is sent;
The validity for inquiring the Data Identification, to obtain the query result of the Data Identification, the Data Identification it is effective
Property is that the transaction record for the data being directed toward according to the Data Identification determines;
The query result is sent to the data query side.
2. the validity querying method of data according to claim 1, which is characterized in that inquiring the Data Identification
Before validity, further include:
Format check is carried out to the Data Identification;
If not prompting the data query side to import the Data Identification again by the format check.
3. the validity querying method of data according to claim 1, which is characterized in that there is record in the transaction record
The initial exchange hour of each Data Identification and last trade time, the validity of the Data Identification be according to query time with
What the initial exchange hour and/or the relationship of last trade time determined.
4. the validity querying method of data according to claim 3, which is characterized in that in the query time, if
Without the initial exchange hour and last trade time in the transaction record, then the validity of the Data Identification is invalid;
If the time difference of query time described in the last trade time interval is more than the first predetermined threshold value, the Data Identification
Validity be inactivation;
If the time difference of query time described in the last trade time interval is less than or equal to first predetermined threshold value, and described
The liveness of Data Identification is more than or equal to the second predetermined threshold value, then the validity of the Data Identification is effective;
If the time difference of query time described in the last trade time interval is less than or equal to first predetermined threshold value, and described
The liveness of Data Identification is less than second predetermined threshold value, then the validity of the Data Identification is invalid;
Wherein, the liveness of the Data Identification is directly proportional to the transaction count of the Data Identification within a preset period of time.
5. the validity querying method of data according to claim 4, which is characterized in that the liveness of the Data Identification
It is determined using following formula:The liveness of the Data Identification=(transaction of the Data Identification in the preset time period
The duration of number/preset time period) × preset liveness coefficient.
6. the validity querying method of data according to claim 3, which is characterized in that further include:Calculate the data
The life cycle of mark, when last trade of life cycle=Data Identification of the Data Identification the m- data mark
The initial exchange hour known.
7. a kind of validity inquiry unit of data, which is characterized in that including:
Receiving module is suitable for receiving the Data Identification that data query side is sent;
Enquiry module is suitable for inquiring the validity of the Data Identification, to obtain the query result of the Data Identification, the number
Validity according to mark is that the transaction record for the data being directed toward according to the Data Identification determines;
Sending module, suitable for the query result is sent to the data query side.
8. the validity inquiry unit of data according to claim 7, which is characterized in that further include:
Correction verification module is suitable for before the validity for inquiring the Data Identification, and format check is carried out to the Data Identification;
Reminding module, if not by the format check, the reminding module is suitable for prompting the data query side again
Import the Data Identification.
9. the validity inquiry unit of data according to claim 7, which is characterized in that there is record in the transaction record
The initial exchange hour of each Data Identification and last trade time, the validity of the Data Identification be according to query time with
What the initial exchange hour and/or the relationship of last trade time determined.
10. the validity inquiry unit of data according to claim 9, which is characterized in that in the query time, if
Without the initial exchange hour and last trade time in the transaction record, then the validity of the Data Identification is invalid;
If the time difference of query time described in the last trade time interval is more than the first predetermined threshold value, the Data Identification
Validity be inactivation;
If the time difference of query time described in the last trade time interval is less than or equal to first predetermined threshold value, and described
The liveness of Data Identification is more than or equal to the second predetermined threshold value, then the validity of the Data Identification is effective;
If the time difference of query time described in the last trade time interval is less than or equal to first predetermined threshold value, and described
The liveness of Data Identification is less than second predetermined threshold value, then the validity of the Data Identification is invalid;
Wherein, the liveness of the Data Identification is directly proportional to the transaction count of the Data Identification within a preset period of time.
11. the validity inquiry unit of data according to claim 10, which is characterized in that the Data Identification enlivens
Degree is determined using following formula:The liveness of the Data Identification=(friendship of the Data Identification in the preset time period
The duration of easy number/preset time period) × preset liveness coefficient.
12. the validity inquiry unit of data according to claim 9, which is characterized in that further include:
Computing module is suitable for calculating the life cycle of the Data Identification, life cycle=data of the Data Identification
The initial exchange hour of the m- Data Identification when last trade of mark.
13. a kind of storage medium, is stored thereon with computer instruction, which is characterized in that executed when the computer instruction operation
The step of validity querying method of claim 1 to 6 any one of them data.
14. a kind of server, including memory and processor, be stored on the memory to run on the processor
Computer instruction, which is characterized in that perform claim requires any one of 1 to 6 when the processor runs the computer instruction
The step of validity querying method of the data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810252010.2A CN108537577B (en) | 2018-03-26 | 2018-03-26 | Data validity query method and device, storage medium and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810252010.2A CN108537577B (en) | 2018-03-26 | 2018-03-26 | Data validity query method and device, storage medium and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108537577A true CN108537577A (en) | 2018-09-14 |
CN108537577B CN108537577B (en) | 2021-05-04 |
Family
ID=63484628
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810252010.2A Active CN108537577B (en) | 2018-03-26 | 2018-03-26 | Data validity query method and device, storage medium and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108537577B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110457937A (en) * | 2019-07-02 | 2019-11-15 | 上海数据交易中心有限公司 | Data circulation method and device, system, storage medium, server |
CN111078906A (en) * | 2018-10-18 | 2020-04-28 | 杭州海康威视数字技术股份有限公司 | Image query and information synchronization method and device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997894A (en) * | 2009-08-14 | 2011-03-30 | 阿里巴巴集团控股有限公司 | Information pushing method, system and network system thereof |
CN104504487A (en) * | 2014-11-21 | 2015-04-08 | 新疆地拓信息科技发展有限公司 | Method and system for tracing service object information between platforms |
WO2016134039A1 (en) * | 2015-02-17 | 2016-08-25 | Silvio Micali | Verifying electronic transactions |
CN107291732A (en) * | 2016-03-31 | 2017-10-24 | 苏宁云商集团股份有限公司 | A kind of information-pushing method and device |
-
2018
- 2018-03-26 CN CN201810252010.2A patent/CN108537577B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101997894A (en) * | 2009-08-14 | 2011-03-30 | 阿里巴巴集团控股有限公司 | Information pushing method, system and network system thereof |
CN104504487A (en) * | 2014-11-21 | 2015-04-08 | 新疆地拓信息科技发展有限公司 | Method and system for tracing service object information between platforms |
WO2016134039A1 (en) * | 2015-02-17 | 2016-08-25 | Silvio Micali | Verifying electronic transactions |
CN107291732A (en) * | 2016-03-31 | 2017-10-24 | 苏宁云商集团股份有限公司 | A kind of information-pushing method and device |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111078906A (en) * | 2018-10-18 | 2020-04-28 | 杭州海康威视数字技术股份有限公司 | Image query and information synchronization method and device |
CN111078906B (en) * | 2018-10-18 | 2023-05-19 | 杭州海康威视数字技术股份有限公司 | Image query and information synchronization method and device |
CN110457937A (en) * | 2019-07-02 | 2019-11-15 | 上海数据交易中心有限公司 | Data circulation method and device, system, storage medium, server |
Also Published As
Publication number | Publication date |
---|---|
CN108537577B (en) | 2021-05-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10417657B2 (en) | Point management apparatus, system, and method | |
WO2015127864A1 (en) | Method and apparatus for controlling media data to be placed at constant speed | |
CN110148014B (en) | Information processing method, information processing device, blockchain node equipment and storage medium | |
US10084854B2 (en) | Response latency reduction in fixed allocation content selection infrastructure | |
CN110019367B (en) | Method and device for counting data characteristics | |
CN108183933A (en) | Information push method, apparatus and system, electronic equipment and computer storage media | |
US20170316455A1 (en) | System and Method for Counting Advertisement Impressions | |
CN104035926A (en) | Internet information release method and system | |
US20190139079A1 (en) | Autonomous marketing campaign optimization for targeting and placement of digital advertisements | |
CN113450162A (en) | User grouping method, device and storage medium | |
CN106415637A (en) | Commission allocation method and system | |
US20190066154A1 (en) | Escrow Agent for Conversion Verification | |
CN108537577A (en) | Validity querying method and device, storage medium, the server of data | |
CN109150757B (en) | Advertisement resource processing method and device and electronic equipment | |
JP5935511B2 (en) | Program and campaign management device | |
CN110019774B (en) | Label distribution method, device, storage medium and electronic device | |
US11010790B1 (en) | System and methods for using a revenue value index to score impressions for users for advertisement placement | |
CN106708879B (en) | Service data processing method and device | |
WO2008052113A2 (en) | Resource management | |
CN113256330A (en) | Information delivery effect attribution method and device | |
US20150073863A1 (en) | Method and System for Linking Browsing History to Proprietary Transaction Data | |
CN110070383B (en) | Abnormal user identification method and device based on big data analysis | |
US10068249B1 (en) | Inventory forecasting for bidded ad exchange | |
CN114445128A (en) | Card ticket management method and device, electronic equipment and computer readable medium | |
CN111125514B (en) | Method, device, electronic equipment and storage medium for analyzing user behaviors |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |