CN109388527B - Method for confirming operation validity, data processing method, device and equipment - Google Patents

Method for confirming operation validity, data processing method, device and equipment Download PDF

Info

Publication number
CN109388527B
CN109388527B CN201710669962.XA CN201710669962A CN109388527B CN 109388527 B CN109388527 B CN 109388527B CN 201710669962 A CN201710669962 A CN 201710669962A CN 109388527 B CN109388527 B CN 109388527B
Authority
CN
China
Prior art keywords
image data
mirror image
target
display information
data
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.)
Active
Application number
CN201710669962.XA
Other languages
Chinese (zh)
Other versions
CN109388527A (en
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.)
Alibaba Singapore Holdings Pte Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201710669962.XA priority Critical patent/CN109388527B/en
Publication of CN109388527A publication Critical patent/CN109388527A/en
Application granted granted Critical
Publication of CN109388527B publication Critical patent/CN109388527B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/16Error detection or correction of the data by redundancy in hardware
    • G06F11/20Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements
    • G06F11/2053Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant
    • G06F11/2056Error detection or correction of the data by redundancy in hardware using active fault-masking, e.g. by switching out faulty elements or by switching in spare elements where persistent mass storage functionality or persistent mass storage control functionality is redundant by mirroring
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2201/00Indexing scheme relating to error detection, to error correction, and to monitoring
    • G06F2201/82Solving problems relating to consistency

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The application discloses a method for confirming operation validity, a data processing method, a device and equipment, wherein the method for backtracking the validity of display information comprises the following steps: obtaining operation time of target operation on the display information; after the preset time length is reached from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with time stamps of the display information; and confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information. According to the technical method, the post-event legality of the target operation of the display information is confirmed through the historical mirror image data, the technical problems of missing judgment and erroneous judgment of the alarm/monitoring system corresponding to the display information in the prior art are solved, and the accuracy of the alarm/monitoring system corresponding to the display information is improved.

Description

Method for confirming operation validity, data processing method, device and equipment
Technical Field
The present application relates to the field of software technologies, and in particular, to a method, a device, and an apparatus for confirming operation validity.
Background
With the continuous development of the internet technology, search bid display becomes an important way for most merchants to popularize products of the merchants, the display information of the search bid display is released flexibly, and releasing time, scenes, the number and the like can be controlled flexibly by a releasing person, so that the waste of display resources is avoided.
Search bid presentation systems are typically distributed systems comprising: the system comprises a display engine, information display, click settlement and a synchronization center, wherein the clicked service data such as the offline or online state of a client, the promotion or non-promotion state of a product and the like are all required to be fed back to a display engine database through the synchronization center, and the display engine performs display information display based on the fed-back service data. Because the synchronization center needs time during synchronization, the state that the data in the settlement database is inconsistent with the data in the display engine database can occur in the synchronization process, and wrong display and click can be generated under high concurrency. For example: after the click settlement is carried out at 14:23:19, the client A is offline, the offline state of the client is already 14:24:00 when the client is synchronized to the search engine through the synchronization center, the client state on the search engine is not offline in the period of 14:23: 19-14: 24:00, the search engine still can carry out showing and clicking operations on the showing information of the client A in the period of time, and wrong showing and clicking occur.
The existing alarm/monitoring system has no good solution for error display and click generated under high concurrency, and the delay influence cannot be avoided when the business rule judgment of the display information is carried out before the operation of any link, which means that new changes are possibly generated in the settlement database data of the display system within the delay time, and the missed judgment and the erroneous judgment of the alarm/monitoring system can be caused.
Disclosure of Invention
The embodiment of the application provides a method for confirming operation validity, a data processing method, a device and equipment, which are used for solving the technical problems of missed judgment and erroneous judgment of an alarm/monitoring system corresponding to display information in the prior art.
In a first aspect, an embodiment of the present application provides a method for confirming operation validity, where the method includes:
obtaining operation time of target operation on the display information;
after the preset time length is reached from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with a timestamp of the display information;
and confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information.
Optionally, the method further includes:
when the business data are changed, generating a first copy with a timestamp before the business data are changed, and storing the first copy as the historical mirror image data; or
And after the business data are changed, generating a second copy with a timestamp after the business data are changed, and storing the second copy as historical mirror image data.
Optionally, the determining the validity of the target operation based on the operation time, the historical mirror image data, and the business rule includes:
obtaining target mirror image data of the display information at the operation time from the historical mirror image data;
judging whether the target mirror image data meets the business rule or not;
if the target mirror image data meets the service rule, the legality of the target operation is confirmed;
and if the target mirror image data does not meet the service rule, determining that the target operation is illegal.
Optionally, the obtaining, from the historical mirror image data, target mirror image data of the display information at the operation time includes:
when the historical mirror image data is the first copy, obtaining mirror image data, of which the time interval between the time stamp and the operation time meets a preset time condition, from the historical mirror image data as the target mirror image data; or
And when the historical mirror image data is the second copy, obtaining mirror image data of which the time stamp is before the operation time and the time interval with the operation time meets a preset time condition from the historical mirror image data as the target mirror image data.
Optionally, the target operation specifically includes: and displaying the information or clicking the displayed information.
Optionally, the service data includes at least one of the following service states:
customer status, product status, keyword status, budget balance, and customer bids.
Optionally, when the target operation is a display operation of displaying information, the determining whether the target mirror data meets the service rule includes:
judging whether the client state in the target mirror image data is an online state, whether the product state is a promotion state, whether the keyword state is a purchase state and whether the budget balance is greater than a balance threshold value;
if the client state is the online state, the product state is the promotion state, the keyword state is the purchasing state, and the budget balance is greater than a balance threshold value, determining that the target mirror image data meets the service rule, otherwise, determining that the target mirror image data does not meet the service rule.
Optionally, when the target operation is a click operation of displaying information, the determining whether the target mirror data meets the business rule includes:
when the display operation of the display information corresponding to the click operation is legal, judging whether the time interval between the click time of the click operation and the display time of the display operation of the corresponding display information is smaller than a time threshold value or not;
and if the time interval is smaller than the time threshold, judging whether the customer bid in the target mirror image data is larger than the click price of the click operation of the display information.
Optionally, the method further includes:
and when the target operation is illegal, reporting an error to the settlement operation of the display information corresponding to the target operation.
In a second aspect, an embodiment of the present application provides a data processing method, where the method includes:
when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; alternatively, the first and second electrodes may be,
after the business data are changed, generating a second copy with a timestamp after the business data are changed;
storing the first copy or the second copy as historical mirror data;
when target operation is carried out on the display information, the operation time of the target operation is generated and stored, wherein the historical mirror image data and the operation time are used for verifying the legality of the target operation.
Optionally, the service data includes at least one of the following service states:
customer status, product status, keyword status, and customer bids.
Optionally, the target operation specifically includes: and displaying the information or clicking the displayed information.
In a third aspect, an embodiment of the present application provides an apparatus for confirming operation validity, where the apparatus includes:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring the operation time of target operation on display information;
the second obtaining unit is used for obtaining historical mirror image data of the display information after a preset time length from the operation time, wherein the historical mirror image data is service data with a timestamp of the display information;
and the confirming unit is used for confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information.
Optionally, the apparatus further comprises:
the generating unit is used for generating a first copy with a timestamp before the change of the business data when the business data is changed, and storing the first copy as the historical mirror image data; or after the business data are changed, generating a second copy with a timestamp after the business data are changed, and storing the second copy as historical mirror image data.
Optionally, the confirming unit includes:
the acquisition subunit is configured to acquire target mirror image data of the display information at the operation time from the historical mirror image data;
the judging subunit is used for judging whether the target mirror image data meets the business rule or not;
a validation subunit to: when the target mirror image data meets the business rule, the legality of the target operation is confirmed; and when the target mirror image data does not meet the service rule, confirming that the target operation is illegal.
Optionally, the obtaining subunit is configured to:
when the historical mirror image data is the first copy, obtaining mirror image data, of which the time interval between the time stamp and the operation time meets a preset time condition, from the historical mirror image data as the target mirror image data; or
And when the historical mirror image data is the second copy, obtaining mirror image data of which the time stamp is before the operation time and the time interval with the operation time meets a preset time condition from the historical mirror image data as the target mirror image data.
Optionally, the target operation specifically includes: and displaying the information or clicking the displayed information.
Optionally, the service data includes at least one of the following service states:
customer status, product status, keyword status, budget balance, and customer bids.
Optionally, the determining subunit is configured to:
when the target operation is the display operation of the display information, judging whether the client state in the target mirror image data is an online state, whether the product state is a popularization state, whether the keyword state is a purchase state and whether the budget balance is greater than a balance threshold value;
if the client state is the online state, the product state is the promotion state, the keyword state is the purchasing state, and the budget balance is greater than a balance threshold value, determining that the target mirror image data meets the service rule, otherwise, determining that the target mirror image data does not meet the service rule.
Optionally, the determining subunit is further configured to:
when the target operation is a click operation of the display information, and when the display operation of the display information corresponding to the click operation is legal, judging whether the time interval between the click time of the click operation and the display time of the display operation of the corresponding display information is smaller than a time threshold value;
and if the time interval is smaller than the time threshold, judging whether the customer bid in the target mirror image data is larger than the click price of the display information click operation.
Optionally, the apparatus further comprises:
and the error reporting unit is used for reporting an error to the settlement operation of the display information corresponding to the target operation when the target operation is illegal.
In a fourth aspect, an embodiment of the present application provides a data processing apparatus, including:
a first generation module to: when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; or after the service data are changed, generating a second copy with a timestamp after the service data are changed;
a first storage module to: storing the first copy or the second copy as historical mirror data;
the second generation module is used for generating the operation time of the target operation when the target operation is carried out on the display information, wherein the historical mirror image data and the operation time are used for verifying the legality of the target operation;
and the second storage module is used for storing the operation time.
Optionally, the service data includes at least one of the following service states:
customer status, product status, keyword status, and customer bids.
Optionally, the target operation specifically includes: and displaying the information or clicking the displayed information.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs include instructions for:
obtaining operation time of target operation on the display information;
after the preset time length is reached from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with a timestamp of the display information;
and confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information.
In a sixth aspect, an embodiment of the present application provides an electronic device, including: memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs include instructions for:
when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; alternatively, the first and second electrodes may be,
after the business data are changed, generating a second copy with a timestamp after the business data are changed;
storing the first copy or the second copy as historical mirror data;
when target operation is carried out on the display information, the operation time of the target operation is generated and stored, wherein the historical mirror image data and the operation time are used for verifying the legality of the target operation.
One or more technical solutions in the embodiments of the present application have at least the following technical effects:
the embodiment of the application provides a method for confirming operation validity, which comprises the steps of obtaining operation time of target operation on display information, obtaining historical mirror image data of the display information after preset time from the operation time of the operation, and further confirming the operation validity based on the operation time, the historical mirror image data and a service rule of the display information. The historical mirror image data is the service data with the time stamp of the display information, the historical mirror image data has strong timeliness and accuracy and is far higher than the timeliness and accuracy of the system intercommunication exchange data, and the acquisition of the historical mirror image data and the confirmation of the target operation validity are after the preset time length between operations, so that the influence of synchronous delay is avoided, the timeliness and accuracy of the service data are further ensured, the technical problems of missed judgment and erroneous judgment of an alarm/monitoring system corresponding to the display information in the prior art are solved, and the accuracy of the alarm/monitoring system corresponding to the display information is improved.
Drawings
Fig. 1 is a flowchart of a data processing method according to an embodiment of the present application;
fig. 2 is a flowchart of a method for confirming operation validity according to an embodiment of the present application;
FIG. 3 is a diagram illustrating target operation validity verification according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a data processing apparatus according to a second embodiment of the present application;
fig. 5 is a schematic diagram of an apparatus for verifying operation validity according to a second embodiment of the present application;
fig. 6 is a schematic view of an electronic device according to a second embodiment of the present application.
Detailed Description
The main implementation principle, the specific implementation mode and the corresponding beneficial effects of the technical scheme of the embodiment of the present application are explained in detail with reference to the accompanying drawings.
Examples
The information display flow in the search bidding display system comprises the following steps: firstly, a search engine searches for display information based on search keywords; then, the display module judges the service rule of the display information obtained by searching, and displays the display information conforming to the service rule through the client; receiving, namely acquiring the display information clicking operation of the user by a clicking module, judging whether the display information clicking operation accords with the business rule or not, and feeding the display information clicking operation which accords with the business rule back to a clicking settlement module; and the click settlement module is used for settling and updating the service data. In the prior art, service data in a search bidding display system is updated in real time by a click settlement module and a user setting module, and the updated service data is synchronized to each module through a synchronization center, so that data in the service data change process is lacked, and the legality of the display information operation cannot be verified afterwards.
To this end, an embodiment of the present application provides a data processing method, please refer to fig. 1, which includes:
s11: when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; or after the service data are changed, generating a second copy with a timestamp after the service data are changed;
s12: storing the first copy or the second copy as historical mirror data;
s13: when target operation is carried out on the display information, the operation time of the target operation is generated and stored, wherein the historical mirror image data and the operation time are used for verifying the validity of the operation.
The method provides a basis for the post-verification of the validity of the target operation by generating and storing the historical mirror image data and the operation time of the target operation on the display information. Moreover, both the historical mirror image data and the operation time are generated when corresponding operations are executed, so that the method has extremely high timeliness and accuracy, and the accuracy of post verification can be effectively improved.
In a specific implementation process, the searching and bidding presentation system uses the service data to represent the presentation information delivery condition, and comprises the following steps: customer status, product status, keyword status, budget balance, customer bid, etc. The client state comprises an online state and an offline state. The product status includes a promotion status and a suspended promotion status. The keyword states include a purchase state and a non-purchase state. Under the condition that the service data of the display information meets the request of the service rule, if the client state is the online state and the product state is the promotion state, the display information corresponding to the product is allowed to be executed to perform operations such as display, click and the like. That is, the validity of operations such as presentation, clicking, and settlement of the corresponding presentation information is affected by the change of the service data.
For the service data change of the display information, the application executes S11: when (or after) the business data of the exposure information changes, a first copy (or a second copy) before (or after) the business data changes is generated. Wherein the change of the service data comprises: business data changes caused by operations such as click settlement, recharge, customer setting, etc., for example: and (4) logging off the client corresponding to the display information A, changing the client state in the service data from an online state to an offline state, and setting the product state of the display information B from a promotion state to a promotion suspension state by the client.
When the business data are changed, a first copy with a time stamp before the business data are changed is generated. Specifically, when the service data changes, the current time may be used as a timestamp, and a first copy before the service data changes may be generated. For example: in 2016-12 to 1200: 09:10, the client status changes from the online status "1" to the offline status "0", and the copy content before the change of the generated service data with the timestamp can be shown in table 1; at 2016-12-1210: 33:10, the product status changes from the paused promotion status of "0" to the promotion status of "1", and the content of the copy of the generated time-stamped service data before the change can be shown in table 2. It should be noted that, in the embodiment of the present application, the specific format of the copy before the service data change is not limited, and may be.
Customer Client state Time stamp
001 1 2016-12-12 00:09:10
TABLE 1
Customer Product condition Time stamp
001 0 2016-12-12 10:33:10
TABLE 2
And after the service data are changed, generating a second copy with the timestamp after the service data are changed. Similarly, the changed second copy of the service data may be generated after the service data is changed, using the time when the changed service data is generated as the timestamp. The first copy differs from the second copy in that: the timestamp in the first copy is the end time of its traffic state and the timestamp of the second copy is the start time of its traffic state. For example: in 2016-12 to 1200: 09:10, the client status changes from the online status "1" to the offline status "0", and the client status in table 1 should be the offline status "0" when the generated second copy content is changed with the timestamp service data.
Immediately after S11, S12 is executed to store the generated first copy or second copy as history mirror data. The historical mirror image data can be stored in a database corresponding to the execution of the service data change process, and can also be stored in a database corresponding to the alarm/monitoring system corresponding to the display information.
For the target operation affected by the service data, the embodiment of the present application performs S13: and when the display information is subjected to target operation, generating and storing the operation time of the target operation. The target operation performed on the display information may be an operation of displaying the display information, an operation of clicking the display information, an operation of settling the display information, and the like. The operation time of the display operation of the display information is the display time. And the operation time of the click operation of the display information is the click time. For example: when the presentation information a is presented 2016-12-1201: 06:37, the operation time of the operation is generated and stored as shown in table 3.
Serial number Customer Show time Time of click
1 001 2016-12-12 01:06:37 2016-12-12 01:07:30
2 001 2016-12-12 09:12:33 2016-12-12 09:12:53
TABLE 3
Similarly, when the operation time of the target operation is stored, the operation time can be directly stored in the database corresponding to the execution of the operation process, and can also be stored in the database corresponding to the alarm/monitoring system corresponding to the display information. It should be noted that S13, S11 and S12 are not in sequence during execution.
Based on the above data processing method, an embodiment of the present application provides a method for confirming validity of an operation, so as to perform post-verification on validity of a target operation, as shown in fig. 2, the method includes:
s21: obtaining operation time of target operation on the display information;
s22: after the preset time length is reached from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with time stamps of the display information;
s23: and confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information.
Before the display operation/click operation is performed on the display information, the search bid display system usually obtains the service data of the display information, and judges whether to execute the operation according to the service data. Since the update of the service data is affected by the delay of the synchronization center, the service data on which the validity judgment is performed before the operation may be wrong, which may cause an error in the operation validity judgment. Therefore, the historical mirror image data before the target operation is obtained after the target operation is performed on the display information, the obtained historical mirror image data (namely, the service data) is not affected by the synchronous delay, the service state of the display information can be accurately reflected, the display/click operation is subjected to post-check according to the historical mirror image data, the legality of the display/click operation can be accurately judged, and the technical problems of the missed judgment and the erroneous judgment of the alarm/monitoring system corresponding to the display information are solved.
In a specific implementation process, the preset time duration in S22 is only longer than the delay time duration of the synchronization center, and may be 1min, 1h, 1 day, and the like. After a preset time period from the operating time, the obtained historical mirror data comprises: historical mirror image data generated before and after the operation time.
After S22, perform S23: and confirming the legality of the target operation according to the operation time, the historical mirror image data and the business rule. Specifically, the target mirror image data of the display information at the operation time may be obtained from historical mirror image data; then, judging whether the target mirror image data meets the business rule or not; if the target mirror image data meets the service rule, the legality of the target operation is confirmed; and if the target mirror image data does not meet the service rule, determining that the target operation is illegal.
The method for acquiring the target mirror image data is different according to different historical mirror image data stored in the system:
in the first mode, when the historical mirror image data stored in the system is the first copy before the change of the service data, the mirror image data with the timestamp after the operation time and the time interval with the operation time meeting the preset time condition is obtained from the historical mirror image data and is used as the target mirror image data, so that the current service state of the display information at the operation time is the same as the service state of the target mirror image data. The preset time condition may be t + n, where t represents a time interval between a timestamp nearest to the operation time and the operation time, and n represents a duration threshold. For example: assuming that the operation time of the display operation of the display information is 2016-12-1209: 12:33, the preset time duration is 1h, and n is 2s, if the target mirror image data content stored in the database after 1h is as shown in table 4, then the service data satisfying the preset time condition after obtaining the target mirror image data content is 2016-12-1209: 12:33, which includes the service state as shown in row 4 of table 4.
Figure BDA0001372801060000121
TABLE 4
And in a second mode, when the mirror image data stored in the system is a second copy after the service data change, obtaining the mirror image data with the timestamp before the operation time and the time interval with the operation time meeting the preset time condition from the historical mirror image data as target mirror image data, so that the current service state of the display information at the operation time is the same as the service state of the target mirror image data. For example: assuming that the operation time of a presentation information presentation operation is 2016-12-1209: 12:33, the preset time duration is 1h, and n is 2s, if the target mirror image data content stored in the database after 1h is as shown in table 4, then the latest service state after obtaining the target mirror image data content is 2016-12-1209: 12:33 as shown in row 3 of table 4.
It should be noted that, in a high concurrency state, a timestamp meeting a preset time condition may correspond to multiple pieces of historical mirror image data representing the same service state, and at this time, the historical mirror image data meeting the service rule is obtained as target mirror image data. For example: assuming that the operation time of a presentation operation for presentation information is 2016-12-1209: 12:33, n is 2s, the historical mirror data of the client state nearest to the operation time is as follows: line "1" at 2016-12-1209: 20:00, and historical mirror data for customer status for 2s after 2016-12-1209: 20: 00: 2016-12-1209: 20:01 goes offline "0", and if the business rule is that the client status is online, then the historical mirror data meeting the rule is obtained: line "1" on 2016-12-1209: 20:00 serves as the target mirrored data.
After the target mirror image data is obtained, whether the target mirror image data meets the business rule is judged. The entries in the business rules may be modified, increased, and decreased, and the embodiments of the present application do not limit the specific content of the business rules. Different target operations may correspond to different business rules. The following description will be given by taking the display operation and the click operation of the display information as examples:
the display operation of the display information may correspond to a first business rule: the client state is an online state, the product state is a promotion state, the budget balance is greater than a balance threshold value, and the keyword state is a purchase state. And judging whether the client state in the target mirror image data is an online state, whether the product state is a promotion state, whether the budget balance is greater than a balance threshold value and whether the keyword state is a purchase state. And if the client state, the product state and the keyword state in the target mirror image data are in an online state, a promotion state and a purchase state, determining that the target mirror image data meet the service rules, otherwise, determining that the target mirror image data do not meet the service rules.
The click operation of the presentation information may correspond to a second business rule: and the time interval between the operation time of the click operation of the display information and the operation time of the display operation corresponding to the display information is smaller than a time threshold, and the customer bid price is larger than the click price corresponding to the click operation of the display information. Before judging whether the click operation of the display information meets the business rule of the display information, the validity of the display operation of the display information corresponding to the click operation of the display information can be confirmed. And if the display operation of the display information is illegal, the click operation of the display information is illegal. And when the display operation of the display information is legal, judging whether the time interval between the display time of the display operation of the corresponding display information and the click time of the click operation of the display information is smaller than a time threshold value. And if the time interval is not smaller than the time threshold value, confirming that the click operation of the display information does not meet the service rule. And if the time interval is smaller than the time threshold, further judging whether the client bid in the target mirror image data is larger than the click price corresponding to the click operation of the display information. And if the client bid in the target mirror image data is larger than the click price corresponding to the click operation of the display information, confirming that the click operation of the display information is legal, otherwise, confirming that the click operation of the display information is illegal.
The following is a complete description of the validation of the validity of the target operation by using a specific example:
as shown in FIG. 3, the presentation time 2016-12-1210: 35:07 for the presentation operation of the presentation information 001 is obtained. The historical mirrored data is obtained after a preset length of time after the show time 2016-12-1210: 35: 07. Obtaining target mirror image data from the historical mirror image data: 2016-12 to 1210: 33:10, with the client status being "0" offline. And judging that the client state is the offline state of 0 and does not meet the business rule, determining that the display operation of 2016-12-1210: 35:07 is illegal, and correspondingly, determining that the click operation corresponding to 10:37:53 is also illegal after the display operation.
In a specific implementation process, when the display operation/click operation of the display information is determined to be illegal, the settlement operation of the display information corresponding to the display operation/click operation is also reported to be wrong, so that the system corrects the settlement result of the display information.
Referring to fig. 4, based on the data processing method provided in the foregoing embodiment, an embodiment of the present application further provides a data processing apparatus, which includes:
a first generating module 41 for: when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; or after the service data are changed, generating a second copy with a timestamp after the service data are changed;
a first storage module 42 for: storing the first copy or the second copy as historical mirror data;
a second generating module 43, configured to generate an operation time of a target operation when the target operation is performed on display information, where the historical mirror data and the operation time are used to verify the validity of the target operation;
a second storage module 44, configured to store the operation time.
Wherein the service data includes at least one of the following service states: customer status, product status, keyword status, and customer bids. The target operation is specifically as follows: and displaying the information or clicking the displayed information.
Referring to fig. 5, based on the method for confirming operation validity provided in the foregoing embodiment, an embodiment of the present application further provides a device for confirming operation validity, which includes:
a first obtaining unit 51 configured to obtain an operation time of a target operation performed on the presentation information;
a second obtaining unit 52, configured to obtain historical mirror image data of the display information after a preset time is reached from the operation time, where the historical mirror image data is service data of the display information and includes a time stamp;
and the confirming unit 53 is configured to confirm the validity of the target operation based on the operation time, the historical mirror data, and a business rule of the display information.
In a specific implementation process, the device further comprises:
a generating unit 54, configured to generate a first copy before the change of the service data with a timestamp when the service data changes, and store the first copy as the historical mirror data; or after the business data are changed, generating a second copy with a timestamp after the business data are changed, and storing the second copy as historical mirror image data.
Wherein the confirmation unit 53 includes: the device comprises an acquisition subunit, a judgment subunit, a confirmation subunit and a confirmation subunit. And the acquisition subunit is used for acquiring the target mirror image data of the display information at the operation time from the historical mirror image data. And the judging subunit is used for judging whether the target mirror image data meets the service rule. A validation subunit to: when the target mirror image data meets the business rule, the legality of the target operation is confirmed; and when the target mirror image data does not meet the service rule, confirming that the target operation is illegal.
Wherein the obtaining subunit is configured to: when the historical mirror image data is the first copy, obtaining mirror image data, of which the time interval between the time stamp and the operation time meets a preset time condition, from the historical mirror image data as the target mirror image data; or when the historical mirror image data is the second copy, obtaining, from the historical mirror image data, mirror image data of which the time stamp is before the operation time and the time interval with the operation time meets a preset time condition as the target mirror image data.
The judging subunit is configured to: when the target operation is the display operation of the display information, judging whether the client state in the target mirror image data is an online state, whether the product state is a popularization state, whether the keyword state is a purchase state and whether the budget balance is greater than a balance threshold value; if the client state is the online state, the product state is the promotion state, the keyword state is the purchasing state, and the budget balance is greater than a balance threshold value, determining that the target mirror image data meets the service rule, otherwise, determining that the target mirror image data does not meet the service rule.
The judging subunit is further configured to: when the target operation is a click operation of display information and when the display operation of the display information corresponding to the click operation is legal, judging whether the time interval between the display time of the click operation and the click time of the display operation of the corresponding display information is smaller than a time threshold value; and if the time interval is smaller than the time threshold, judging whether the customer bid in the target mirror image data is larger than the click price of the click operation of the display information.
In a specific implementation process, the target operation specifically comprises: and displaying the information or clicking the displayed information. The service data comprises at least one service state as follows: customer status, product status, keyword status, budget balance, and customer bids.
Further, the apparatus further comprises: and an error reporting unit 55, configured to report an error to the settlement operation of the display information corresponding to the target operation when the target operation is illegal.
With regard to the apparatus in the above embodiments, the specific manner in which each unit and each module performs operations has been described in detail in the embodiments related to the method, and will not be described in detail herein.
Fig. 6 is a block diagram illustrating an electronic device 800 for implementing a data storage and/or processing method according to an example embodiment. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 6, electronic device 800 may include one or more of the following components: a processor 802, a memory 804, and an input/output (I/O) interface 806. The processor 802 generally controls the overall operation of the electronic device 800. The processor 802 may include one or more components to perform all or a portion of the steps of the methods described above. The memory 804 is configured to store various types of data to support operation at the device 800. Examples of such data include instructions for any application or method operating on electronic device 800, which may be ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage, and so forth. The I/O interface 806 provides an interface between the processor 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
In an exemplary embodiment, the first instructions in the memory 804, when executed by the processor of the electronic device, enable the electronic device to perform a data processing method, the method comprising:
when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; or after the service data are changed, generating a second copy with a timestamp after the service data are changed; storing the first copy or the second copy as historical mirror data; when target operation is carried out on the display information, the operation time of the target operation is generated and stored, wherein the historical mirror image data and the operation time are used for verifying the legality of the target operation.
In an exemplary embodiment, the second instructions in the memory 804, when executed by the processor of the electronic device, enable the electronic device to perform a method of confirming validity of an operation, the method comprising:
obtaining operation time of target operation on the display information; after the preset time length is reached from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with time stamps of the display information; and confirming the legality of the target operation based on the operation time, the historical mirror image data and a new business rule.
It will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is only limited by the appended claims
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (26)

1. A method of validating operation legitimacy, the method comprising:
obtaining operation time of target operation on the display information;
after a preset time length from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with a time stamp of the display information, the preset time length is greater than the delay time length of a synchronous center, and the historical mirror image data is data generated before and after the operation time;
confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information, wherein the confirming comprises the following steps: and obtaining target mirror image data of the display information at the operation time from the historical mirror image data, judging whether the target mirror image data meets the business rule, and confirming the legality of the target operation based on a judgment result.
2. The method of claim 1, wherein the method further comprises:
when the business data of the display information changes, generating a first copy with a timestamp before the business data changes, and storing the first copy as the historical mirror image data; or
And after the business data are changed, generating a second copy with a timestamp after the business data are changed, and storing the second copy as historical mirror image data.
3. The method of claim 2, wherein validating the validity of the target operation based on the operation time, the historical mirrored data, and the business rules of the exposure information comprises:
if the target mirror image data meets the service rule, the legality of the target operation is confirmed;
and if the target mirror image data does not meet the service rule, determining that the target operation is illegal.
4. The method of claim 3, wherein obtaining target mirrored data of the presentation information at the operational time from the historical mirrored data comprises:
when the historical mirror image data is the first copy, obtaining mirror image data, of which the time interval between the time stamp and the operation time meets a preset time condition, from the historical mirror image data as the target mirror image data; or
And when the historical mirror image data is the second copy, obtaining mirror image data of which the time stamp is before the operation time and the time interval with the operation time meets a preset time condition from the historical mirror image data as the target mirror image data.
5. The method according to claim 1, wherein the target operation is specifically: and displaying the information or clicking the displayed information.
6. The method of claim 1, wherein the traffic data includes at least one of the following traffic states:
customer status, product status, keyword status, budget balance, and customer bids.
7. The method of claim 3, wherein when the target operation is a show operation to show information, the determining whether the target mirrored data satisfies the business rules comprises:
judging whether the client state in the target mirror image data is an online state, whether the product state is a promotion state, whether the keyword state is a purchase state and whether the budget balance is greater than a balance threshold value;
if the client state is the online state, the product state is the promotion state, the keyword state is the purchasing state, and the budget balance is greater than a balance threshold value, determining that the target mirror image data meets the service rule, otherwise, determining that the target mirror image data does not meet the service rule.
8. The method of claim 3, wherein when the target operation is a click operation to present information, the determining whether the target mirrored data satisfies the business rules comprises:
when the display operation of the display information corresponding to the click operation is legal, judging whether the time interval between the click time of the click operation and the display time of the display operation of the corresponding display information is smaller than a time threshold value or not;
and if the time interval is smaller than the time threshold, judging whether the customer bid in the target mirror image data is larger than the click price of the click operation of the display information.
9. The method of any of claims 1 to 8, further comprising:
and when the target operation is illegal, reporting an error to the settlement operation of the display information corresponding to the target operation.
10. A method of data processing, the method comprising:
when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; alternatively, the first and second electrodes may be,
after the business data are changed, generating a second copy with a timestamp after the business data are changed;
storing the first copy or the second copy as historical mirror data;
when target operation is performed on the display information, generating and storing operation time of the target operation, wherein the historical mirror image data and the operation time are used for verifying the validity of the target operation, and the method comprises the following steps: and acquiring target mirror image data of the display information at the operation time from the historical mirror image data, judging whether the target mirror image data meets the service rule of the display information, and confirming the legality of the target operation based on the judgment result.
11. The method of claim 10, wherein the traffic data includes at least one of the following traffic states:
customer status, product status, keyword status, and customer bids.
12. The method according to claim 10 or 11, characterized in that the target operation is in particular: and displaying the information or clicking the displayed information.
13. An apparatus for validating operation legitimacy, the apparatus comprising:
the display device comprises a first acquisition unit, a second acquisition unit and a display unit, wherein the first acquisition unit is used for acquiring the operation time of target operation on display information;
a second obtaining unit, configured to obtain historical mirror image data of the display information after a preset time is set from the operation time, where the historical mirror image data is service data of the display information with a timestamp, the preset time is greater than a delay time of a synchronization center, and the historical mirror image data is data generated before and after the operation time;
a confirming unit, configured to confirm validity of the target operation based on the operation time, the historical mirror data, and the business rule of the display information, where the confirming unit includes: and obtaining target mirror image data of the display information at the operation time from the historical mirror image data, judging whether the target mirror image data meets the business rule, and confirming the legality of the target operation based on a judgment result.
14. The apparatus of claim 13, wherein the apparatus further comprises:
the generating unit is used for generating a first copy with a timestamp before the business data change when the business data of the display information change, and storing the first copy as the historical mirror image data; or after the business data are changed, generating a second copy with a timestamp after the business data are changed, and storing the second copy as historical mirror image data.
15. The apparatus of claim 14, wherein the confirmation unit comprises:
the acquisition subunit is configured to acquire target mirror image data of the display information at the operation time from the historical mirror image data;
the judging subunit is used for judging whether the target mirror image data meets the business rule or not;
a validation subunit to: when the target mirror image data meets the business rule, the legality of the target operation is confirmed; and when the target mirror image data does not meet the service rule, confirming that the target operation is illegal.
16. The apparatus of claim 15, wherein the acquisition subunit is to:
when the historical mirror image data is the first copy, obtaining mirror image data, of which the time interval between the time stamp and the operation time meets a preset time condition, from the historical mirror image data as the target mirror image data; or
And when the historical mirror image data is the second copy, obtaining mirror image data of which the time stamp is before the operation time and the time interval with the operation time meets a preset time condition from the historical mirror image data as the target mirror image data.
17. The apparatus of claim 13, wherein the target operation is specifically: and displaying the information or clicking the displayed information.
18. The apparatus of claim 13, wherein the traffic data comprises at least one of the following traffic states:
customer status, product status, keyword status, budget balance, and customer bids.
19. The apparatus as claimed in claim 15, wherein said determining subunit is configured to:
when the target operation is the display operation of the display information, judging whether the client state in the target mirror image data is an online state, whether the product state is a popularization state, whether the keyword state is a purchase state and whether the budget balance is greater than a balance threshold value;
if the client state is the online state, the product state is the promotion state, the keyword state is the purchasing state, and the budget balance is greater than a balance threshold value, determining that the target mirror image data meets the service rule, otherwise, determining that the target mirror image data does not meet the service rule.
20. The apparatus as recited in claim 15, wherein said determining subunit is further configured to:
when the target operation is a click operation of the display information, and when the display operation of the display information corresponding to the click operation is legal, judging whether the time interval between the click time of the click operation and the display time of the display operation of the corresponding display information is smaller than a time threshold value;
and if the time interval is smaller than the time threshold, judging whether the customer bid in the target mirror image data is larger than the click price of the click operation of the display information.
21. The apparatus of any of claims 13 to 20, further comprising:
and the error reporting unit is used for reporting an error to the settlement operation of the display information corresponding to the target operation when the target operation is illegal.
22. A data processing apparatus, characterized in that the apparatus comprises:
a first generation module to: when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; or after the service data are changed, generating a second copy with a timestamp after the service data are changed;
a first storage module to: storing the first copy or the second copy as historical mirror data;
a second generating module, configured to generate an operation time of a target operation when the target operation is performed on display information, where the historical mirror data and the operation time are used to verify validity of the target operation, and the generating module includes: obtaining target mirror image data of the display information at the operation time from the historical mirror image data, judging whether the target mirror image data meets the service rule of the display information, and confirming the legality of the target operation based on the judgment result;
and the second storage module is used for storing the operation time.
23. The apparatus of claim 22, wherein the traffic data comprises at least one of the following traffic states:
customer status, product status, keyword status, and customer bids.
24. The apparatus according to claim 22 or 23, wherein the target operation is in particular: and displaying the information or clicking the displayed information.
25. An electronic device, comprising: memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs include instructions for:
obtaining operation time of target operation on the display information;
after a preset time length from the operation time, obtaining historical mirror image data of the display information, wherein the historical mirror image data is service data with a time stamp of the display information, the preset time length is greater than the delay time length of a synchronous center, and the historical mirror image data is data generated before and after the operation time;
confirming the legality of the target operation based on the operation time, the historical mirror image data and the business rule of the display information, wherein the confirming comprises the following steps: and obtaining target mirror image data of the display information at the operation time from the historical mirror image data, judging whether the target mirror image data meets the business rule, and confirming the legality of the target operation based on a judgment result.
26. An electronic device, comprising: memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors the one or more programs include instructions for:
when the business data of the display information changes, generating a first copy with a timestamp before the business data changes; alternatively, the first and second electrodes may be,
after the business data are changed, generating a second copy with a timestamp after the business data are changed;
storing the first copy or the second copy as historical mirror data;
when target operation is performed on the display information, generating and storing operation time of the target operation, wherein the historical mirror image data and the operation time are used for verifying the validity of the target operation, and the method comprises the following steps: and acquiring target mirror image data of the display information at the operation time from the historical mirror image data, judging whether the target mirror image data meets the service rule of the display information, and confirming the legality of the target operation based on the judgment result.
CN201710669962.XA 2017-08-08 2017-08-08 Method for confirming operation validity, data processing method, device and equipment Active CN109388527B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710669962.XA CN109388527B (en) 2017-08-08 2017-08-08 Method for confirming operation validity, data processing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710669962.XA CN109388527B (en) 2017-08-08 2017-08-08 Method for confirming operation validity, data processing method, device and equipment

Publications (2)

Publication Number Publication Date
CN109388527A CN109388527A (en) 2019-02-26
CN109388527B true CN109388527B (en) 2022-05-03

Family

ID=65412621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710669962.XA Active CN109388527B (en) 2017-08-08 2017-08-08 Method for confirming operation validity, data processing method, device and equipment

Country Status (1)

Country Link
CN (1) CN109388527B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110097113B (en) * 2019-04-26 2021-03-26 北京奇艺世纪科技有限公司 Method, device and system for monitoring working state of display information delivery system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571131B1 (en) * 1999-11-05 2009-08-04 Ford Motor Company Method of conducting online competitive price quoting events
US8001087B1 (en) * 2007-12-27 2011-08-16 Symantec Operating Corporation Method and apparatus for performing selective backup operations based on file history data
CN104678960A (en) * 2015-01-29 2015-06-03 国网浙江省电力公司嘉兴供电公司 Offline type dispatching operation ticket system and method based on field error prevention and simulated ticket training
CN105469259A (en) * 2014-08-26 2016-04-06 北京奇虎科技有限公司 Published information display method and system
CN106775970A (en) * 2016-12-01 2017-05-31 掌阅科技股份有限公司 The window operation synchronous method of striding course, device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7571131B1 (en) * 1999-11-05 2009-08-04 Ford Motor Company Method of conducting online competitive price quoting events
US8001087B1 (en) * 2007-12-27 2011-08-16 Symantec Operating Corporation Method and apparatus for performing selective backup operations based on file history data
CN105469259A (en) * 2014-08-26 2016-04-06 北京奇虎科技有限公司 Published information display method and system
CN104678960A (en) * 2015-01-29 2015-06-03 国网浙江省电力公司嘉兴供电公司 Offline type dispatching operation ticket system and method based on field error prevention and simulated ticket training
CN106775970A (en) * 2016-12-01 2017-05-31 掌阅科技股份有限公司 The window operation synchronous method of striding course, device and electronic equipment

Also Published As

Publication number Publication date
CN109388527A (en) 2019-02-26

Similar Documents

Publication Publication Date Title
CN111144083B (en) Report generation method, device, equipment and computer readable storage medium
EP3525420B1 (en) Method and apparatus for guiding service flow
US11455675B2 (en) System and method of providing object for service of service provider
CN111327514B (en) WeChat image-text message group sending method, system, server and storage medium
CN112351288A (en) Live broadcast information processing method, device, server, terminal and storage medium
EP2929494A1 (en) Finding objects or services utilizing a communication link to enlist the help of and reward third parties to help locate the desired object or service
CN109948882B (en) Task processing method based on block data structure and related equipment
US20230206270A1 (en) Method and system for identifying recipients of a reward associated with a conversion
CN111080276A (en) Payment method, device, equipment and storage medium for withholding order
CN113315989A (en) Live broadcast processing method, live broadcast platform, device, system, medium and equipment
TW201732727A (en) Automatic payment method and device
CN109388527B (en) Method for confirming operation validity, data processing method, device and equipment
EP3407568A1 (en) Service processing method and device
CN113839978A (en) Charging method based on charging platform, electronic equipment and storage medium
CN116541591A (en) Information processing method, device, electronic equipment and storage medium
CN110070379B (en) Message transmission method, device and server
TW202027000A (en) Instant messenger-based account transaction history providing method, system and computer readable recording medium
EP3433817B1 (en) Reliability metrics for real-time auctions
CN114897573A (en) Commodity information processing method and device, readable medium and electronic equipment
CN114240335A (en) Data processing method and device
CN109685561B (en) Electronic certificate pushing method and device based on user behavior and electronic equipment
CN109582450B (en) Application program management method, device, medium and electronic equipment
CN111309935A (en) Song recommendation method and device and computer storage medium
CN112686619A (en) Method and device for reminding order collection
CN111782777B (en) Method and device for generating information

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
TR01 Transfer of patent right

Effective date of registration: 20240206

Address after: # 01-21, Lai Zan Da Building 1, 51 Belarusian Road, Singapore

Patentee after: Alibaba Singapore Holdings Ltd.

Country or region after: Singapore

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before: ALIBABA GROUP HOLDING Ltd.

Country or region before: United Kingdom

TR01 Transfer of patent right