CN111814083A - Display result generation method, system, device, readable storage medium and equipment - Google Patents

Display result generation method, system, device, readable storage medium and equipment Download PDF

Info

Publication number
CN111814083A
CN111814083A CN202010892743.XA CN202010892743A CN111814083A CN 111814083 A CN111814083 A CN 111814083A CN 202010892743 A CN202010892743 A CN 202010892743A CN 111814083 A CN111814083 A CN 111814083A
Authority
CN
China
Prior art keywords
data set
display result
data
display
type
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
Application number
CN202010892743.XA
Other languages
Chinese (zh)
Other versions
CN111814083B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010892743.XA priority Critical patent/CN111814083B/en
Publication of CN111814083A publication Critical patent/CN111814083A/en
Application granted granted Critical
Publication of CN111814083B publication Critical patent/CN111814083B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Abstract

The application provides a display result generation method, a display result generation system, a display result generation device, a computer readable storage medium and an electronic device; relate to computer technology field, include: acquiring a type of interactive data set corresponding to a display object; receiving a two-class interaction data set aiming at a display object and sent by participant equipment, and acquiring two-class evidence storage data corresponding to the display object from a block chain network; carrying out correctness verification on the second-class interaction data set according to the second-class evidence storage data; and if the second-class interaction data set is correct, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set. Therefore, by implementing the technical scheme of the application, the risk of data tampering can be reduced, and the accuracy of the display result is guaranteed.

Description

Display result generation method, system, device, readable storage medium and equipment
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a display result generation method, a display result generation system, a display result generation apparatus, a computer-readable storage medium, and an electronic device.
Background
In the internet field, the content displayed in the page generally needs to be clearly displayed, and then the displayed content is correspondingly adjusted according to the display result, so that the utilization rate of the page is improved. Different contents are generally provided with different display stage data to represent the display conditions of the contents at different stages, and the displayed contents can be comprehensively evaluated according to the different display stage data, so that corresponding display results are obtained. The data in different display stages may be from the same device or different devices, and the data from different devices is at risk of being tampered, so that the confidence is not high, and the accuracy of the determination of the display result is easily affected. When the content displayed in the page is an advertisement, the display phase data which can correspond to the content generally comprises click rate data and purchase data, wherein the click rate data is generally provided by an advertisement putting platform, and the purchase data is generally provided by an advertiser. When the data volume is large, if the advertisement delivery platform or the advertiser side independently calculates the advertisement conversion rate based on the click volume data and the purchase data, the calculation efficiency is low.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present application and therefore may include information that does not constitute prior art known to a person of ordinary skill in the art.
Disclosure of Invention
The present application aims to provide a display result generation method, a display result generation system, a display result generation apparatus, a computer-readable storage medium, and an electronic device, which can reduce the risk of data tampering and ensure the accuracy of a display result. In addition, the calculation efficiency of the display result can be improved.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of the present application, there is provided a display result generation method, including:
acquiring a type of interactive data set corresponding to a display object;
receiving a two-class interaction data set aiming at a display object and sent by participant equipment, and acquiring two-class evidence storage data corresponding to the display object from a block chain network;
carrying out correctness verification on the second-class interaction data set according to the second-class evidence storage data;
and if the second-class interaction data set is correct, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set.
In an exemplary embodiment of the application, the display object is an advertisement, the first-type interactive data set comprises click data, and the second-type interactive data set comprises purchase data;
the click data and the purchase data respectively comprise advertisement information, an interaction timestamp and user information, and the user information comprises at least one of equipment information and account information interacting with the advertisement.
In an exemplary embodiment of the present application, generating a presentation result corresponding to a presentation object according to a first-class interaction data set and a second-class interaction data set includes:
calculating the intersection of the click data and the purchase data according to the user information;
and determining the parameter values for representing the intersection as the display results corresponding to the display objects.
In an exemplary embodiment of the present application, after generating a display result corresponding to a display object according to a first-class interaction data set and a second-class interaction data set, the method further includes:
signing the display result through a private key of a display party;
broadcasting the signed display result, so that the consensus node in the block chain network verifies the signed display result according to the public key of the display party, performs consensus on the signed display result after the verification is successful, and packages the signed display result into blocks to be written into the block chain network.
In an exemplary embodiment of the present application, after obtaining a type of interaction data set corresponding to a presentation object, the method further includes:
writing the interactive data set as evidence storage data into a block chain network;
encrypting a class of interactive data set according to the public key of the participant;
and transmitting the encrypted type of interactive data set to the participant equipment, so that the participant equipment decrypts the encrypted type of interactive data set through a private key of the participant and verifies the correctness of the type of interactive data set according to the type of evidence storage data acquired from the blockchain network.
In an exemplary embodiment of the present application, the participant device sends the second-type interaction data set for the presentation object in the following manner;
the participator device encrypts the second-class interaction data set according to the public key of the showing party;
and sending the encrypted two types of interaction data sets to the display side equipment.
In an exemplary embodiment of the present application, performing correctness verification on a two-type interaction data set according to a two-type evidence storage data includes:
decrypting the encrypted second-class interaction data set according to the private key of the display party;
and verifying the correctness of the decrypted second-class interaction data set according to the second-class evidence storage data.
In an exemplary embodiment of the present application, performing correctness verification on a two-type interaction data set according to a two-type evidence storage data includes:
comparing each data in the second type of certificate storage data with each data in the second type of interactive data set one by one;
and if the comparison result shows that the data in the second type evidence storage data and the data in the second type interaction data set have one-to-one correspondence and same relationship, judging that the second type interaction data set is correct.
In an exemplary embodiment of the present application, after the participant device verifies the correctness of a type of interaction data set according to a type of credential data acquired from the blockchain network, the method further includes:
if the first type of interactive data set is correct, the participant equipment acquires first time period data in the first type of interactive data set, calculates a first display result according to the first time period data in the second type of interactive data set and the first time period data in the first type of interactive data set, encrypts the first display result and writes the encrypted first display result into the block chain network.
In an exemplary embodiment of the present application, before generating a presentation result corresponding to a presentation object according to a first-class interaction data set and a second-class interaction data set, the method further includes:
calculating a second display result according to second time period data in the first-class interaction data set and second time period data in the second-class interaction data set;
writing the second display result into the block chain network;
the union of the first period data and the second period data in the first type of interactive data set is a first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is a second type of interactive data set.
In an exemplary embodiment of the present application, generating a presentation result corresponding to a presentation object according to a first-class interaction data set and a second-class interaction data set includes:
acquiring a first display result from a block chain network;
decrypting the first display result through the public key of the participant, and verifying the validity of the decrypted first display result through the hash value and the timestamp corresponding to the decrypted first display result;
and if the verification is successful, generating a display result corresponding to the display object according to the first display result and the second display result.
According to an aspect of the present application, there is provided a display result generation system including: a presenter device and a participant device, wherein:
the display side equipment is used for acquiring a type of interactive data set corresponding to the display object;
the participator equipment is used for sending a two-class interaction data set aiming at the display object to the display equipment and writing the two-class interaction data set into the blockchain network as two-class evidence storage data corresponding to the display object;
the display side equipment is also used for receiving the second-type interactive data set and acquiring second-type evidence storage data from the blockchain network;
the display side equipment is also used for carrying out correctness verification on the two types of interactive data sets according to the two types of evidence storage data;
and the display side equipment is also used for generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set when the second-class interaction data set is correct.
According to an aspect of the present application, there is provided a display result generating apparatus, including: the device comprises a data set acquisition unit, a data set receiving unit, a data verification unit and a display result generation unit, wherein:
the data set acquisition unit is used for acquiring a type of interactive data set corresponding to the display object;
the data set receiving unit is used for receiving a second-class interaction data set which is sent by the participant equipment and aims at the display object;
the data set acquisition unit is also used for acquiring the two types of evidence storage data corresponding to the display object from the block chain network;
the data verification unit is used for verifying the correctness of the second-class interaction data set according to the second-class evidence storage data;
and the display result generating unit is used for generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set when the second-class interaction data set is correct.
In an exemplary embodiment of the application, the display object is an advertisement, the first-type interactive data set comprises click data, and the second-type interactive data set comprises purchase data;
the click data and the purchase data respectively comprise advertisement information, an interaction timestamp and user information, and the user information comprises at least one of equipment information and account information interacting with the advertisement.
In an exemplary embodiment of the present application, the generating unit of the display result generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, including:
calculating the intersection of the click data and the purchase data according to the user information;
and determining the parameter values for representing the intersection as the display results corresponding to the display objects.
In an exemplary embodiment of the present application, the apparatus further includes: a signature encryption unit and a result broadcasting unit, wherein:
the signature encryption unit is used for signing the display result through a private key of a display party after the display result generation unit generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set;
and the result broadcasting unit is used for broadcasting the signed display result so that the consensus node in the block chain network verifies the signed display result according to the public key of the display party, performs consensus on the signed display result after verification is successful, and packages the signed display result into blocks to be written into the block chain network.
In an exemplary embodiment of the present application, the apparatus further includes: data cochain unit, data encryption unit and data transmission unit, wherein:
the data uplink unit is used for writing the interactive data set as evidence storage data into the block chain network after the data set acquisition unit acquires the interactive data set of the same type corresponding to the display object;
the data encryption unit is used for encrypting a class of interactive data set according to the public key of the participant;
and the data transmission unit is used for transmitting the encrypted interactive data set to the participant equipment so that the participant equipment decrypts the encrypted interactive data set through a private key of the participant and verifies the correctness of the interactive data set according to the evidence data acquired from the blockchain network.
In an exemplary embodiment of the present application, the participant device sends the second-type interaction data set for the presentation object in the following manner;
the participator device encrypts the second-class interaction data set according to the public key of the showing party;
and sending the encrypted two types of interaction data sets to the display side equipment.
In an exemplary embodiment of the present application, the data verification unit performs correctness verification on the two types of interaction data sets according to the two types of credential data, including:
decrypting the encrypted second-class interaction data set according to the private key of the display party;
and verifying the correctness of the decrypted second-class interaction data set according to the second-class evidence storage data.
In an exemplary embodiment of the present application, the data verification unit performs correctness verification on the two types of interaction data sets according to the two types of credential data, including:
comparing each data in the second type of certificate storage data with each data in the second type of interactive data set one by one;
and if the comparison result shows that the data in the second type evidence storage data and the data in the second type interaction data set have one-to-one correspondence and same relationship, judging that the second type interaction data set is correct.
In an exemplary embodiment of the present application, after the participant device verifies the correctness of a type of interaction data set according to a type of credential data acquired from the blockchain network, the method further includes:
if the first type of interactive data set is correct, the participant equipment acquires first time period data in the first type of interactive data set, calculates a first display result according to the first time period data in the second type of interactive data set and the first time period data in the first type of interactive data set, encrypts the first display result and writes the encrypted first display result into the block chain network.
In an exemplary embodiment of the present application, the apparatus further includes: a display result calculation unit and a display result chaining unit, wherein:
the display result calculating unit is used for calculating a second display result according to second time period data in the first-class interaction data set and second time period data in the second-class interaction data set before the display result generating unit generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set;
a display result chaining unit for writing the second display result into the blockchain network;
the union of the first period data and the second period data in the first type of interactive data set is a first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is a second type of interactive data set.
In an exemplary embodiment of the present application, the generating unit of the display result generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, including:
acquiring a first display result from a block chain network;
decrypting the first display result through the public key of the participant, and verifying the validity of the decrypted first display result through the hash value and the timestamp corresponding to the decrypted first display result;
and if the verification is successful, generating a display result corresponding to the display object according to the first display result and the second display result.
According to an aspect of the present application, there is provided an electronic device including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to perform the method of any one of the above via execution of the executable instructions.
According to an aspect of the application, a computer-readable storage medium is provided, on which a computer program is stored, which computer program, when being executed by a processor, is adapted to carry out the method of any of the above.
The exemplary embodiments of the present application may have some or all of the following advantages:
in the display result generation method provided by an example embodiment of the present application, a type of interaction data set corresponding to a display object may be obtained; receiving a two-class interaction data set aiming at a display object and sent by participant equipment, and acquiring two-class evidence storage data corresponding to the display object from a block chain network; carrying out correctness verification on the second-class interaction data set according to the second-class evidence storage data; and if the second-class interaction data set is correct, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set. According to the above technical solution, on one hand, the block chain distributed storage and multi-party consensus characteristic can be utilized for data uplink, so that the risk of data tampering is reduced. According to the method and the device, on the basis of contract logic contained in the block chain, the condition that the participant equipment uploads wrong data is avoided, so that the accuracy of the display result is guaranteed, and the confidence coefficient of the display result is improved. In yet another aspect of the present application, the calculation efficiency of the display result can be improved by means of component calculation.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort.
Fig. 1 is a schematic diagram illustrating an exemplary system architecture to which a display result generation method and a display result generation apparatus according to an embodiment of the present application may be applied.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Fig. 3 schematically shows a data transmission architecture diagram between an advertiser and an advertisement platform in the prior art.
Fig. 4 schematically shows a flow chart of a presentation result generation method according to an embodiment of the present application.
Fig. 5 is a diagram schematically illustrating a data uplink structure according to an embodiment of the present application.
Fig. 6 schematically shows an architectural diagram illustrating a result generation method according to an embodiment of the present application.
Fig. 7 schematically shows an architectural diagram illustrating a result generation method according to an embodiment of the present application.
Fig. 8 schematically shows a flow chart of a presentation result generation method according to an embodiment of the present application.
Fig. 9 schematically shows a block diagram of a presentation result generation system in an embodiment according to the present application.
Fig. 10 schematically shows a block diagram of a presentation result generation system in an embodiment according to the present application.
Fig. 11 schematically shows a block diagram of a presentation result generation apparatus in an embodiment according to the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known technical solutions have not been shown or described in detail to avoid obscuring aspects of the present application.
Furthermore, the drawings are merely schematic illustrations of the present application and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
Fig. 1 is a schematic diagram illustrating a system architecture of an exemplary application environment to which a presentation result generation method and a presentation result generation apparatus according to an embodiment of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include one or more of terminal devices 101, 102, 103, a network 104, and a server 105. The network 104 serves as a medium for providing communication links between the terminal devices 101, 102, 103 and the server 105. Network 104 may include various connection types, such as wired, wireless communication links, or fiber optic cables, to name a few. The terminal devices 101, 102, 103 may be various electronic devices having a display screen, including but not limited to desktop computers, portable computers, smart phones, tablet computers, and the like. It should be understood that the number of terminal devices, networks, and servers in fig. 1 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation. For example, server 105 may be a server cluster comprised of multiple servers, or the like. The server 105 may be an independent physical server, a server cluster or a distributed system including a plurality of physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a web service, cloud communication, a middleware service, a domain name service, a security service, a CDN, and a big data and artificial intelligence platform. The terminal may be, but is not limited to, a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, and the like. The terminal and the server may be directly or indirectly connected through wired or wireless communication, and the application is not limited herein.
It should be noted that the cloud server described above may provide basic cloud computing services by using cloud technology. Cloud technology refers to a hosting technology for unifying serial resources such as hardware, software, network and the like in a wide area network or a local area network to realize calculation, storage, processing and sharing of data.
In addition, cloud computing (cloud computing) included in the above-described basic cloud computing service refers to a delivery and use mode of IT infrastructure, and refers to obtaining required resources in an on-demand, easily-extensible manner through a network; the generalized cloud computing refers to a delivery and use mode of a service, and refers to obtaining a required service in an on-demand and easily-extensible manner through a network. Such services may be IT and software, internet related, or other services. Cloud Computing is a product of development and fusion of traditional computers and Network Technologies, such as Grid Computing (Grid Computing), distributed Computing (distributed Computing), Parallel Computing (Parallel Computing), utility Computing (UtilityComputing), Network Storage (Network Storage Technologies), Virtualization (Virtualization), Load balancing (Load Balance), and the like.
And cloud storage (cloud storage) included in the basic cloud computing service is a new concept extended and developed on the cloud computing concept, and a distributed cloud storage system (hereinafter, referred to as a storage system) refers to a storage system which integrates a large number of storage devices (storage devices are also referred to as storage nodes) of various types in a network through functions of cluster application, a grid technology, a distributed storage file system and the like through application software or application interfaces to cooperatively work, and provides a data storage function and a service access function to the outside. At present, a storage method of a storage system is as follows: logical volumes are created, and when created, each logical volume is allocated physical storage space, which may be the disk composition of a certain storage device or of several storage devices. The client stores data on a certain logical volume, that is, the data is stored on a file system, the file system divides the data into a plurality of parts, each part is an object, the object not only contains the data but also contains additional information such as data identification (ID, ID entry), the file system writes each object into a physical storage space of the logical volume, and the file system records storage location information of each object, so that when the client requests to access the data, the file system can allow the client to access the data according to the storage location information of each object. The process of allocating physical storage space for the logical volume by the storage system specifically includes: physical storage space is divided in advance into stripes according to a group of capacity measures of objects stored in a logical volume (the measures often have a large margin with respect to the capacity of the actual objects to be stored) and Redundant Array of Independent Disks (RAID), and one logical volume can be understood as one stripe, thereby allocating physical storage space to the logical volume.
And a Database (Database) included in the basic cloud computing service can be regarded as an electronic file cabinet, namely a place for storing electronic files, and a user can add, inquire, update, delete and the like to the data in the files. A "database" is a collection of data that is stored together in a manner that can be shared by multiple users, has as little redundancy as possible, and is independent of the application.
And Big data (Big data) included in the basic cloud computing service refers to a data set which cannot be captured, managed and processed by a conventional software tool within a certain time range, and is a massive, high-growth rate and diversified information asset which needs a new processing mode to have stronger decision-making power, insight discovery power and process optimization capability. With the advent of the cloud era, big data has attracted more and more attention, and the big data needs special technology to effectively process a large amount of data within a tolerance elapsed time. The method is suitable for the technology of big data, and comprises a large-scale parallel processing database, data mining, a distributed file system, a distributed database, a cloud computing platform, the Internet and an extensible storage system.
The object fusion method provided by the embodiment of the present application is generally executed by the server 105, and accordingly, the object fusion device is generally disposed in the server 105. However, it is easily understood by those skilled in the art that the object fusion method provided in the embodiment of the present application may also be executed by the terminal device 101, 102, or 103, and accordingly, the object fusion apparatus may also be disposed in the terminal device 101, 102, or 103, which is not particularly limited in this exemplary embodiment. For example, in an exemplary embodiment, the server 105 may obtain a type of interaction data set corresponding to the presentation object; receiving a two-class interaction data set aiming at a display object and sent by participant equipment, and acquiring two-class evidence storage data corresponding to the display object from a block chain network; carrying out correctness verification on the second-class interaction data set according to the second-class evidence storage data; and if the second-class interaction data set is correct, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set.
FIG. 2 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 200 of the electronic device shown in fig. 2 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 2, the computer system 200 includes a Central Processing Unit (CPU) 201 that can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 202 or a program loaded from a storage section 208 into a Random Access Memory (RAM) 203. In the RAM 203, various programs and data necessary for system operation are also stored. The CPU201, ROM 202, and RAM 203 are connected to each other via a bus 204. An input/output (I/O) interface 205 is also connected to bus 204.
The following components are connected to the I/O interface 205: an input portion 206 including a keyboard, a mouse, and the like; an output section 207 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 208 including a hard disk and the like; and a communication section 209 including a network interface card such as a LAN card, a modem, or the like. The communication section 209 performs communication processing via a network such as the internet. A drive 210 is also connected to the I/O interface 205 as needed. A removable medium 211, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like, is mounted on the drive 210 as necessary, so that a computer program read out therefrom is installed into the storage section 208 as necessary.
In particular, according to embodiments of the present application, the processes described below with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 209 and/or installed from the removable medium 211. The computer program, when executed by a Central Processing Unit (CPU) 201, performs various functions defined in the methods and apparatus of the present application.
Generally, in the field of advertisement delivery, an advertisement conversion rate is generated by an advertiser according to advertisement revenue, and then a display fee to be paid to an advertisement platform is determined according to the advertisement conversion rate. Referring to fig. 3 in particular, fig. 3 schematically illustrates a data transmission architecture between an advertiser 301 and an advertisement platform 302 in the prior art. As shown in fig. 3, after the advertiser 301 puts the advertisement on the advertisement platform 302, the advertisement platform 302 may obtain the advertisement exposure amount and the click rate and encrypt and feed back the advertisement exposure amount and the click rate to the advertiser 301, and the advertiser 301 may calculate the advertisement display conversion rate according to the advertisement exposure amount, the click rate, and the purchase rate, and then feed back the advertisement display conversion rate to the advertisement platform 302. However, in this way, there is a risk of data tampering, e.g., advertiser 301 may get spurious data that is lower than the true conversion rate by modifying the purchase amount. In addition, in the above process, the advertisement platform 302 generally encrypts the advertisement exposure and click rate in a symmetric manner, such as Message-Digest Algorithm (MD 5). The symmetric encryption mode is easy to crack, and the security of data transmission is influenced. The applicant has therefore appreciated that the above mentioned data tampering problems and security problems of data transmission can be avoided by introducing blockchain techniques by making improvements to the prior art.
The present example embodiment provides a display result generation method. The display result generating method may be applied to the server 105, and may also be applied to one or more of the terminal devices 101, 102, and 103, which is not particularly limited in this exemplary embodiment. Referring to fig. 4, the display result generation method may include the following steps S410 to S440:
step S410: and acquiring a type of interactive data set corresponding to the display object.
Step S420: and receiving a two-class interaction data set aiming at the display object and sent by the participant equipment, and acquiring two-class evidence storage data corresponding to the display object from the blockchain network.
Step S430: and verifying the correctness of the two types of interactive data sets according to the two types of evidence storage data.
Step S440: and if the second-class interaction data set is correct, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set.
By implementing the method shown in fig. 4, uplink data can be performed by using the characteristics of block chain distributed storage and multi-party consensus, so as to reduce the risk of data tampering. In addition, the equipment of the participant can be prevented from uploading wrong data based on contract logic contained in the block chain, so that the accuracy of the display result is guaranteed, and the confidence coefficient of the display result is improved.
The above steps of the present exemplary embodiment will be described in more detail below.
In step S410, a type of interaction data set corresponding to the display object is obtained.
Specifically, the display object may be a multimedia file such as a text, an image, an audio, a video, and the like, and the embodiment of the present application is not limited.
In addition, the step of obtaining a type of interactive data set corresponding to the display object can be executed by the display side device, when a plurality of display objects exist, the display side device can obtain a type of interactive data set corresponding to different display objects, the type of interactive data set of different display objects corresponds to different identifiers, and the identifiers are used as unique representations of the type of interactive data set; the presenter device may be the server 105 or any of the terminal devices 101, 102, 103 shown in fig. 1.
For example, the display object may be an advertisement, the first-type interaction data set may include click data, and the second-type interaction data set may include purchase data; the click data and the purchase data respectively comprise advertisement information, an interaction timestamp and user information, and the user information comprises at least one of equipment information and account information interacting with the advertisement. In addition, the second-type interaction data set may also include user data such as activation data, registration data, browsing data, and the like, which is not limited in the embodiment of the present application.
For the above example, it should be further noted that the click data is used to represent information corresponding to a user clicking an advertisement, the purchase data is used to represent information corresponding to a user clicking to enter an advertisement and performing a purchase operation, the advertisement information may include an identifier used to represent a displayed advertisement, where the identifier may be represented by a character string, the interaction timestamp is used to represent a time when the click operation or the purchase operation occurs, the device information may include at least one of information such as a device number, a device model, and a device usage frequency, and the account information may include at least one of information such as a user account number, a historical browsing record, and a historical purchase record. In addition, the user information may also include information such as a real-time location and a real-time weather, and the embodiment of the present application is not limited.
Optionally, the manner of obtaining the type of interaction data set corresponding to the display object may specifically be: and acquiring a type of interactive data set corresponding to the display object according to the preset unit time length (such as 1 week), wherein the type of interactive data set comprises all types of interactive data in the preset unit time length. Therefore, the resource utilization rate can be optimized, and the problem of resource waste caused by real-time data acquisition is avoided.
Further, the method may further include the steps of: updating the preset unit time according to the generation frequency corresponding to the historical interactive data; the historical interaction data may be data in a previous data cycle. The method specifically comprises the following steps: if the generation frequency is lower than the preset frequency (for example, 100 times/day), prolonging the preset unit time; if the generation frequency is higher than the predetermined frequency (e.g., 100 times/day), the predetermined unit time is reduced. Therefore, the preset unit time length can be dynamically updated according to the generation frequency of the interactive data, so that the utilization rate of resources is improved.
In addition, optionally, before step S410, the following steps may also be performed: the method comprises the steps that a showing side device deploys a first preset code on a showing side trusted computing platform, wherein the first preset code is used for limiting a mode of acquiring a type of interactive data set; and the participant deploys a second preset code on the participant trusted computing platform, wherein the second preset code is used for limiting a mode of acquiring the second-class interaction data set. It should be noted that the presenter trusted computing platform and the participant trusted computing platform may be a tee (trusted Execution environment) environment, which may also be referred to as "environment". The TEE environment is a trusted computing environment protected by a hardware chip and is used for improving system security.
Further, the following steps may also be performed: the presenter device may also establish a channel with the participant-trusted computing platform through the presenter-trusted computing platform. Furthermore, the presenter trusted computing platform may transmit the remote information certificate to the participant trusted computing platform via the channel; the remote information certificate corresponding to the presenter trusted computing platform may include a hash value used for representing the first preset code and a presenter public key
Figure DEST_PATH_IMAGE001
. And the participant trusted computing platform may transmit the remote information attestation to the presenter trusted computing platform over the channel; the remote information certificate corresponding to the trusted computing platform of the participant can comprise a hash value used for representing the second preset code and a public key of the participant
Figure 808385DEST_PATH_IMAGE002
. This ensures that the presenter device andthe participant equipment cannot modify the preset codes of the other party, so that the use modes, use scenes and life cycles of the first-class interactive data set and the second-class interactive data set are limited, the data safety is guaranteed, and the data confidence coefficient is improved.
Still further, the following steps may also be performed: the exhibition party trusted computing platform performs reliability verification on the participant trusted computing platform and performs validity verification on the remote information certificate of the participant trusted computing platform; and the participant trusted computing platform performs reliability verification on the showing party trusted computing platform and performs validity verification on the remote information certificate of the showing party trusted computing platform. In addition, the following steps may also be performed: the exhibition party trusted computing platform and the participant trusted computing platform acquire keys according to a preset key sharing protocol; the exhibition party trusted computing platform and the participant trusted computing platform can encrypt data to be transmitted through the key. It should be noted that the key may be represented in the form of a numeric value or a character string.
As an optional implementation manner, after acquiring a type of interaction data set corresponding to a display object, the method further includes: writing the interactive data set as evidence storage data into a block chain network; encrypting a class of interactive data set according to the public key of the participant; and transmitting the encrypted type of interactive data set to the participant equipment, so that the participant equipment decrypts the encrypted type of interactive data set through a private key of the participant and verifies the correctness of the type of interactive data set according to the type of evidence storage data acquired from the blockchain network.
Specifically, the participant public key and the participant private key pair are asymmetric encryption keys, and similarly, the exhibition party public key and the exhibition party private key pair are asymmetric encryption keys; when the object pair advertisement is displayed, the participator can be an advertiser, the display party can be a display platform, and the display platform is used for displaying the advertisement.
Optionally, the way of writing the interactive data set as the certificate storage data into the blockchain network may specifically be: acquiring a type of interactive data according to preset unit time (such as one week) to obtain a type of interactive data set; taking the first kind of interactive data set as first kind of certificate storing data to carry out private key signature of a display party; and broadcasting the signed type of evidence-storing data so that the common identification node in the block chain network carries out validity verification on the signed type of evidence-storing data through the public key of the display party, and if the signed type of evidence-storing data has validity, carrying out common identification on the signed type of evidence-storing data and packaging and writing the data into a block chain account book in the block chain network. The way of carrying out private key signature of the showing party by taking the interactive data set as the certificate storing data can be as follows: respectively hashing each data in the interactive data set to obtain a hash value set; and signing the hash value set through the private key signature of the exhibition party.
The method for encrypting the interactive data set according to the public key of the participant specifically may be: and calculating a hash value corresponding to the interactive data set of the same type, and signing the hash value through the public key of the participant so as to encrypt the interactive data set of the same type.
Further, the manner of transmitting the encrypted type of interaction data set to the participant device may specifically be: and transmitting the encrypted interactive data set to a participant trusted computing platform of the participant device through the presenter trusted computing platform, wherein the data transmission is based on the established channel between the presenter trusted computing platform and the participant trusted computing platform.
Further, the way of verifying the correctness of a type of interaction data set according to a type of credential data acquired from the blockchain network may specifically be: acquiring a type of evidence storage data from a blockchain network, comparing the type of evidence storage data with a type of interactive data set, and judging that the type of interactive data set is correct if a comparison result shows that the one type of evidence storage data and the one type of interactive data set have one-to-one correspondence and same relationship; wherein, one type of evidence data is one or more data packets.
The block chain is a distributed shared account book and a database, and has the characteristics of decentralization, no tampering, whole-process trace leaving, traceability, collective maintenance, openness and transparency and the like. In addition, the blockchain can verify and store data through a blockchain structure, can generate and update data by using a distributed node consensus algorithm, can ensure the safety of data transmission and access by using a cryptographic mode, and can be a distributed infrastructure and a computing paradigm for programming and operating data by using an intelligent contract consisting of automatic script codes. In this embodiment of the present application, the blockchain network may include a node, a consensus node, a communication channel, a chain code, a Certificate Authority (CA), an account book, an authority management function, and the like, which correspond to the participant and the presenter, respectively.
Optionally, the method for encrypting a type of interactive data set according to the public key of the participant may specifically be: selecting a target encryption mode from a plurality of preset encryption modes; and if the target encryption mode is asymmetric encryption, encrypting the first-class interactive data set according to the public key of the participant, or encrypting the first-class interactive data set through homomorphic encryption operation.
Further, if the target encryption mode is symmetric encryption, the following steps may be further performed: performing plaintext splitting on the first interactive data set through Advanced Encryption Standard (AES) to obtain multiple groups of plaintext; wherein, the corresponding lengths of each group of plaintext are the same, such as 128 bits, 192 bits, 256 bits; and then, generating and splicing a plurality of groups of plaintext into ciphertext blocks respectively, and determining the splicing result as an encryption result.
Optionally, before writing the interactive data set as a type of credential data into the blockchain network, the method may further include the following steps: the exhibition side equipment generates a key pair according to a preset algorithm (
Figure 734753DEST_PATH_IMAGE001
Figure DEST_PATH_IMAGE003
) (ii) a The preset algorithm may be an ECDSA signature algorithm, an SM2 signature algorithm, or an RSA signature algorithm, which is not limited in the embodiment of the present application. In the same way, canOptionally, before writing the two types of interaction data sets as the two types of evidence storage data into the blockchain network, the method may further include the following steps: the participant device generates a key pair according to a predetermined algorithm (
Figure 611442DEST_PATH_IMAGE002
Figure 230642DEST_PATH_IMAGE004
)。
Further, the following steps may be performed: sending a certificate generation request to a CA (certificate Authority), so that the CA generates a certificate corresponding to a display party, and generating a certificate uplink request according to the certificate, wherein the certificate uplink request comprises a CA public key, and further, the CA signs and broadcasts the certificate uplink request through a CA private key; and the consensus node performs validity verification on the certificate uplink request through the CA public key, and further performs consensus on the certificate uplink request and packages the certificate uplink request into a block write block chain network.
Similarly, the participant device may also perform the following steps: sending a certificate generation request to a CA (certificate Authority) so that the CA generates a certificate corresponding to a participant and writes the certificate corresponding to the participant into a blockchain network; and the writing mode of the certificate corresponding to the participant is the same as that of the certificate corresponding to the display party. Furthermore, the participant device and the presenter device may determine the public key of the other party by obtaining the certificate of the other party from the blockchain network, so as to encrypt data to be transmitted to the other party according to the public key of the other party.
In addition, optionally, in addition to acquiring the certificate of the other party from the blockchain network, the participant device and the presenter device may also perform the following steps: the participator equipment and the showing equipment share respective corresponding certificates, and the certificates comprise public key information; the participator device stores the certificate and the participator private key in the participator trusted computing platform, and the exhibitor device stores the certificate and the exhibitor private key in the exhibitor trusted computing platform.
Therefore, by implementing the optional implementation mode, uplink of a type of interactive data sets can be performed before data transmission by utilizing the characteristics of block chain distributed storage and multi-party consensus, so that the risk of tampering data in the type of interactive data sets is reduced. In addition, data security and data privacy can be guaranteed based on data encryption transmission, and the risk of data stealing is reduced.
As an optional implementation manner, after the participant device verifies the correctness of a type of interaction data set according to a type of credential data acquired from the blockchain network, the method further includes: if the first type of interactive data set is correct, the participant equipment acquires first time period data in the first type of interactive data set, calculates a first display result according to the first time period data in the second type of interactive data set and the first time period data in the first type of interactive data set, encrypts the first display result and writes the encrypted first display result into the block chain network.
Specifically, the data in one interactive data set may be sorted according to the order of the trigger time from early to late, and if the data in one interactive data set may be divided into the first period data and the second period data, the trigger time of all the data included in the first period data is earlier than all the data included in the second period data, or the trigger time of all the data included in the second period data is earlier than all the data included in the first period data. In addition, the first period data in the second type of interaction data set and the first period data in the first type of interaction data set correspond to the same period, such as click data and purchase data of 10:00-11:00 on 1 month and 1 day of 2020.
In addition, optionally, data in one type of interaction data set may be divided into different time period data greater than or equal to 3 according to the trigger time, the participant device may obtain one or more time period data in one type of interaction data set, and remaining time period data in one type of interaction data set may be processed by the presenter device; the data amount processed by the participant device and the data amount processed by the presenter device may be the same or different. According to the data processing method and device, the data which need to be processed by different devices can be reasonably distributed according to the data processing capacity of the different devices, so that the data processing efficiency is improved, and the generation efficiency of the display result is improved.
In addition, optionally, the manner of calculating the first display result according to the first period data in the second-type interaction data set and the first period data in the first-type interaction data set may specifically be: calculating the intersection of the first period data in the second type of interaction data set and the first period data in the first type of interaction data set, and determining the intersection as a first display result; the intersection can be expressed as an integer, a fraction or a decimal, and when the display object is an advertisement, the intersection can be an advertisement conversion rate of the advertisement in the first time interval, and the advertisement conversion rate is an index reflecting the influence degree of the advertisement on the product sales condition.
Therefore, by implementing the optional implementation mode, when the interactive data volume is large, the calculation amount of each party can be reduced by adopting a component intersection mode, so that the generation efficiency of the display result is improved.
On the basis of the optional implementation manner, before generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, the method further includes: calculating a second display result according to second time period data in the first-class interaction data set and second time period data in the second-class interaction data set; writing the second display result into the block chain network; the union of the first period data and the second period data in the first type of interactive data set is a first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is a second type of interactive data set.
Specifically, the first period data in the first-type interaction data set and the first period data in the second-type interaction data set are in the same time period on the time axis, and similarly, the second period data in the first-type interaction data set and the second period data in the second-type interaction data set are also in the same time period on the time axis, and there is no intersection between the time period in which the first period data in the first-type interaction data set or the second-type interaction data set is located and the time period in which the second period data is located.
Optionally, the manner of calculating the second display result according to the second time period data in the first-class interaction data set and the second time period data in the second-class interaction data set may specifically be: and calculating the intersection of the second time period data in the first-class interaction data set and the second time period data in the second-class interaction data set, and determining the intersection as a second display result.
Optionally, the writing of the second display result into the blockchain network may be: and carrying out private key signature of a display party on the second display result, broadcasting the signed second display result, so that the consensus node in the block chain network carries out validity verification on the signed second display result through the public key of the display party, and if the signed second display result is legal, carrying out consensus on the signed second display result, packaging and writing the second display result into a block chain account book in the block chain network.
Therefore, by implementing the optional implementation mode, when the interactive data volume is large, the calculation amount of each party can be reduced by adopting a component intersection mode, so that the generation efficiency of the display result is improved.
As an optional implementation manner, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set includes: acquiring a first display result from a block chain network; decrypting the first display result through the public key of the participant, and verifying the validity of the decrypted first display result through the hash value and the timestamp corresponding to the decrypted first display result; and if the verification is successful, generating a display result corresponding to the display object according to the first display result and the second display result.
Specifically, the participant public key and the participant private key are a pair of asymmetric encryption keys, and the decryption can be performed through the participant public key through the first display result encrypted by the participant private key. The manner of generating the display result corresponding to the display object according to the first display result and the second display result may specifically be: and calculating the sum of the first display result and the second display result as the display result corresponding to the display object.
Optionally, generating the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set may be performed by the display side device or performed by the participant side device. Specifically, the manner in which the participant device generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set may be: acquiring a second display result from the block chain network; decrypting the second display result through the public key of the display party, and verifying the validity of the decrypted second display result through the hash value and the timestamp corresponding to the decrypted second display result; and if the verification is successful, generating a display result corresponding to the display object according to the first display result and the second display result.
Further, when the participating side device and the exhibiting side device both link the exhibited result, the method may further include the following steps: and the participant equipment acquires the display result written by the display side equipment from the blockchain network, compares the display result written by the display side equipment with the generated display result, and judges that no error data exists in the display result written by the display side equipment if the display result written by the display side equipment is consistent with the generated display result. Or the display side equipment acquires the display result written by the participant equipment from the blockchain network, compares the display result written by the participant equipment with the generated display result, and judges that no error data exists in the display result written by the participant equipment if the display result written by the participant equipment is consistent with the generated display result.
Therefore, by implementing the optional implementation mode, the final display result can be generated by combining the component transaction results of all parties, so that the generation efficiency of the display result and the instantaneity of the display result are favorably improved, a user can timely know the display result of the display object, the display strategy is timely adjusted according to the display result, and the display effect of the display object is improved.
In step S420, a set of two types of interaction data for the presentation object sent by the participant device is received, and two types of evidence storage data corresponding to the presentation object are obtained from the blockchain network.
As an optional implementation manner, the manner in which the participant device sends the second-type interaction data set for the presentation object is; the participator device encrypts the second-class interaction data set according to the public key of the showing party; and sending the encrypted two types of interaction data sets to the display side equipment.
It should be noted that the encryption mode of the participant device for the second-class interaction data set and the encryption mode of the presenter device for the first-class interaction data set may be shared key encryption or public key encryption, which is not limited in the embodiment of the present application, and in the above optional implementation, the public key encryption mode is exemplarily shown.
Optionally, before the participant device sends the second-type interaction data set for the presentation object, the following steps may be further performed: and the participant equipment acquires a two-class interaction data set aiming at the display object, and writes the two-class interaction data set into the blockchain network as two-class evidence storage data.
Optionally, the manner in which the participant device sends the two types of interaction data sets for the display object is as follows: the participant equipment encrypts the second-class interaction data set according to a preset shared key; sending the encrypted second-class interaction data set to the display side equipment so that the display side equipment can decrypt the second-class interaction data set according to the preset shared key; wherein, the preset shared secret key can be represented by a character string.
Therefore, the implementation of the optional embodiment can encrypt the data before data transmission, so that the privacy and the security of the data can be improved.
In step S430, the correctness of the two types of interaction data sets is verified according to the two types of evidence storage data.
As an optional implementation manner, performing correctness verification on the two types of interaction data sets according to the two types of credential data includes: decrypting the encrypted second-class interaction data set according to the private key of the display party; and verifying the correctness of the decrypted second-class interaction data set according to the second-class evidence storage data.
The correctness verification of the two types of interactive data sets according to the two types of evidence storage data comprises the following steps: comparing each data in the second type of certificate storage data with each data in the second type of interactive data set one by one; and if the comparison result shows that the data in the second type evidence storage data and the data in the second type interaction data set have one-to-one correspondence and same relationship, judging that the second type interaction data set is correct.
Specifically, the one-to-one correspondence and the same relationship are used for indicating that each two-type interactive data in the two-type interactive data set has one identical and unique two-type evidence storing data. In addition, optionally, if the comparison result indicates that data higher than a preset ratio (e.g., 80%) exists in the two types of interaction data sets and the two types of evidence data are in one-to-one correspondence and the same, it is determined that the two types of interaction data sets are correct.
Therefore, by implementing the optional implementation mode, correct and non-falsifiable two types of evidence storing data can be obtained from the block chain, so that correctness judgment can be performed on the two types of interactive data sets transmitted by the participant equipment according to the two types of evidence storing data, accuracy of subsequently generated display results is guaranteed, and confidence of the display results is improved.
In step S440, if the first-type interactive data set is correct, a display result corresponding to the display object is generated according to the first-type interactive data set and the second-type interactive data set.
Specifically, the display result can be used as a corresponding display result of the display object during the display. When the display object is an advertisement, the display result may be a conversion rate; wherein the conversion is by purchase
Figure DEST_PATH_IMAGE005
And click volume
Figure 559992DEST_PATH_IMAGE006
The ratio of (a) to (b) is expressed (i.e.,
Figure DEST_PATH_IMAGE007
) The higher the conversion rate, the more the number of purchasers among the people who click on the advertisement.
In addition, optionally, after step S440, the following steps may also be performed: transmitting the display result to the participant equipment and receiving a display strategy adjusting instruction, and further adjusting the display strategy according to the display strategy adjusting instruction; the display strategy is used for defining a display mode of one or more display objects, and the display strategy at least comprises a display frequency corresponding to each display object. In addition, when a plurality of display objects exist, the plurality of display objects may correspond to the same participant or different participants, and the embodiment of the present application is not limited.
In addition, optionally, after the participant device receives the presentation result, the following steps may be further performed: the participator equipment updates the bid adjustment model according to the display result; the bid adjustment model can be an OCPX model, the OCPX model is a bid adjustment tool taking conversion cost as an optimization purpose, dynamic adjustment bidding can be performed according to the click rate and the conversion rate of single flow, the conversion cost is effectively controlled, and the advertisement efficiency is improved. Specifically, the manner of updating the bid adjustment model according to the display result may be: and updating parameters in the bid adjustment model according to the comparison between the display result and the expected value, wherein the parameters can comprise weight parameters, bias terms and the like.
As an optional implementation manner, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set includes: calculating the intersection of the click data and the purchase data according to the user information; and determining the parameter values for representing the intersection as the display results corresponding to the display objects.
Specifically, the manner of determining the parameter value used for representing the intersection as the display result corresponding to the display object may be: calculating a ratio of a parameter value used for expressing intersection to the total number of the click data, and determining the ratio as a display result corresponding to the display object; wherein, the display result is the advertisement conversion rate.
Therefore, by implementing the optional implementation mode, the conversion rate of the advertisement, namely the display result, can be calculated according to the relevant data of advertisement display, so that the advertiser can adjust the putting proportion on each advertisement platform according to the display result, and the conversion rate of the advertisement can be further improved.
As an optional implementation manner, after generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, the method further includes: signing the display result through a private key of a display party; broadcasting the signed display result, so that the consensus node in the block chain network verifies the signed display result according to the public key of the display party, performs consensus on the signed display result after the verification is successful, and packages the signed display result into blocks to be written into the block chain network.
Optionally, after the signed display result is packaged into a block and written into the block chain network, the following steps may be further performed: and the participant equipment acquires the display result uploaded by each display side equipment from the block chain network, and adjusts the release proportion of the display object on each display side equipment according to the display result.
Therefore, by implementing the optional implementation mode, the display result can be linked, so that the display result of the display object is public and transparent, the display result is guaranteed not to be tampered, and the confidence of the display result is improved.
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a data uplink structure according to an embodiment of the present application. As shown in fig. 5, the uplink structure diagram may include: a presenter device 510, a participant device 520, and a blockchain network. In a blockchain network, may include: presenter node 511, presenter nodes 512, … …, presenter node 513, participant node 521, participant nodes 522, … …, participant node 523, consensus nodes 531, … …, consensus nodes 532, … …, consensus nodes 533, … …, consensus node 534. It should be noted that the exposer node, the participant node, and the consensus node shown in fig. 5 are only exemplary illustrations, and the number of the exposer node, the participant node, and the consensus node is not limited in the embodiment of the present application. Specifically, the presenter device 510 may employ a presenter service system, such as an advertisement platform service system; a participant business system, such as an advertiser business system, may be employed in participant devices 520. The presenter device 510 and the participant device 520 may correspond to one or more presenter nodes, and data chaining may be implemented by the presenter nodes, so as to improve the security, privacy, and tamper resistance of data, thereby facilitating the improvement of the accuracy and confidence of the generated presentation result.
Referring to fig. 6, fig. 6 schematically shows an architecture diagram of a presentation result generation method according to an embodiment of the present application. As shown in fig. 6, the architecture diagram may include: participant device 603, presenter device 604, participant trusted computing platform 601, presenter trusted computing platform 602, and blockchain network 605; participant trusted computing platform 601 is deployed in participant device 603, participant device 603 may perform one or more steps with the aid of participant trusted computing platform 601, and likewise, presenter trusted computing platform 602 is deployed in presenter device 604, and presenter device 604 may perform one or more steps with the aid of presenter trusted computing platform 602. For example, the participant device 603 is an advertiser device, and the presenter device 604 is an advertisement platform device; for another example, the presenter device 604 is an advertiser device, and the participant device 603 is an advertisement platform device, which is not limited in the embodiment of the present application.
Before the steps of the presentation result generation method are performed, the following steps may be performed:
presenter device 604 may deploy a first preset code to presenter trusted computing platform 602 and participant device 603 may deploy a second preset code to participant trusted computing platform 601. Further, the presenter-trusted computing platform 602 may establish a channel with the participant-trusted computing platform 601 through which the presenter-trusted computing platform 602 and the participant-trusted computing platform 601 may communicate a remote information attestation that includes public key information. Further, the presenter-trusted computing platform 602 may perform reliability verification on the participant-trusted computing platform and perform validity verification on the remote information certificate of the participant-trusted computing platform 601, and similarly, the participant-trusted computing platform 601 may also perform reliability verification on the presenter-trusted computing platform 602 and perform validity verification on the remote information certificate of the presenter-trusted computing platform 602.
In addition, the participant device 603 may transmit data for characterizing the presentation object to the presenter device 604, so that the presenter device 604 determines the presentation manner of the presentation object according to the data. The participant device 603 may also store the public and private keys in the participant trusted computing platform 601, and similarly, the presenter device 604 may also store the public and private keys in the presenter trusted computing platform 602.
In the execution process of the display result generation method, the following steps can be executed:
when the participant trusted computing platform 601 and the presenter trusted computing platform 602 verify that the remote information certificate of the opposite party is legal and the code logic of the platform of the opposite party is reliable, the presenter device 604 may upload the acquired two types of interaction data sets as two types of certificate storage data to the blockchain network 605, and transmit the two types of interaction data sets (e.g., click data sets in unit time) corresponding to the presentation object to the presenter trusted computing platform 602, so that the presenter trusted computing platform 602 performs participant public key encryption on the two types of interaction data sets and transmits the two types of interaction data sets to the participant trusted computing platform 601. In addition, the participant device 603 may upload the acquired one kind of interaction data set as one kind of evidence storing data to the blockchain network 605, and transmit one kind of interaction data set (e.g., a purchase data set in a unit time) corresponding to the display object to the participant trusted computing platform 601, so that the participant trusted computing platform 601 performs display public key encryption on the one kind of interaction data set and transmits the encrypted one kind of interaction data set to the display trusted computing platform 602.
Further, optionally, in the full-scale calculation mode:
the participant trusted computing platform 601 obtains a type of credential data from the blockchain network 605; receiving a class of interaction data set transmitted by the presenter trusted computing platform 602 and decrypting the class of interaction data set according to the participant private key; further, verifying the correctness of the first-class interaction data set according to the first-class evidence storage data; if the first-type interaction data set is correct, a display result (e.g., advertisement conversion rate) may be calculated according to the first-type interaction data set and the second-type interaction data set, and the display result may be written into the blockchain network 605.
Alternatively, the presenter trusted computing platform 602 obtains the second type of credential data from the blockchain network 605; receiving a second-class interaction data set transmitted by a participant trusted computing platform 601 and decrypting the second-class interaction data set according to a private key of a display party; further, verifying the correctness of the second-class interaction data set according to the second-class evidence storage data; if the first type of interaction data set is correct, a display result (e.g., advertisement conversion rate) is calculated according to the first type of interaction data set and the second type of interaction data set, and the display result is written into the blockchain network 605.
Further, optionally, in the component calculation method:
the participant trusted computing platform 601 obtains a first-class interaction data set uploaded by the presenter device 604 from the blockchain network 605, decrypts the first-class interaction data set according to a private key of the participant, obtains first time-period data in the first-class interaction data set, calculates a first presentation result according to the first time-period data in the second-class interaction data set and the first time-period data in the first-class interaction data set, and writes the first presentation result into the blockchain network 605 after encrypting the first presentation result. Further, the presenter trusted computing platform 602 computes a second presentation result according to the second time period data in the first-class interaction data set and the second time period data in the second-class interaction data set; and writing the second display result into the block chain network. The union of the first period data and the second period data in the first type of interactive data set is a first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is a second type of interactive data set.
Further, participant trusted computing platform 601 or presenter trusted computing platform 602 may perform the following steps: acquiring a first display result from the block chain network 605, decrypting the first display result, and performing validity verification on the decrypted first display result through a hash value and a timestamp corresponding to the decrypted first display result; and then, generating a display result corresponding to the display object according to the first display result and the second display result.
Therefore, by implementing the method shown in fig. 6, uplink data can be performed by using the characteristics of block chain distributed storage and multi-party consensus, so as to reduce the risk of data tampering. In addition, the equipment of the participant can be prevented from uploading wrong data based on contract logic contained in the block chain, so that the accuracy of the display result is guaranteed, and the confidence coefficient of the display result is improved.
Referring to fig. 7, fig. 7 schematically shows an architecture diagram of a presentation result generation method according to an embodiment of the present application. As shown in fig. 7, the architecture diagram showing the result generation method may include: a blockchain network 710, a participant device 720, and a presenter device 730, with the participant-trusted computing platform 740 being a node where the trusted computing platform is deployed in the participant device 720, and the presenter-trusted computing platform 750 also being a node where the trusted computing platform is deployed in the presenter device 730. The participant trusted computing platform 740 includes a data/operation model management module 741, a cluster operation console 742, a TEE container 743, TEE containers 744, … …, and a TEE container 745; presenter trusted computing platform 750 includes data/operational model management module 751, cluster operating console 752, TEE container 753, TEE container 754, … …, TEE container 755. Among them, the data/operation model management module 751 and the data/operation model management module 741 are used to manage models, for example, optimize model parameters. The cluster operation console 752 and the cluster operation console 742 are used for issuing a calculation instruction and controlling the TEE container to execute corresponding operations. The TEE container is used to perform operations performed by the trusted computing platform as shown in fig. 6.
Specifically, the participant device 720 may transmit data characterizing the presentation object to the presenter device 730, so that the presenter device 730 determines the presentation manner of the presentation object according to the data. Participant device 720 may also store the public and private keys in any of TEE container 743, TEE containers 744, … …, or TEE container 745, and similarly, presenter device 730 may also store the public and private keys in any of TEE container 753, TEE container 754, … …, TEE container 755.
When any one of the TEE container 743, the TEE container 744, … … or the TEE container 745, and any one of the TEE container 753, the TEE container 754, … … or the TEE container 755 verifies that the remote information certificate of the other party exists legality and the code logic of the platform of the other party exists reliability, the exhibition side device 730 may use the acquired two types of interaction data sets as a two-type certificate data upload block chain network 710, and transmit the two types of interaction data sets (e.g., click data sets in unit time) corresponding to the exhibition object to any one of the TEE container 753, the TEE container 754, … … or the TEE container 755, so that any one of the TEE container 753, the TEE container 754, … … or the TEE container 755 encrypts the two types of interaction data sets and transmits the two types of interaction data sets to any one of the TEE container 743, the TEE container 744, … … or the TEE container 745; before transmitting the two types of interaction data sets corresponding to the presentation object to any TEE container of TEE containers 753, 754, … …, 755, the method may include: determining TEE platforms belonging to TEE containers 753, 754, … … and 755, and TEE platforms belonging to TEE containers 743, 744, … … and 745; performing certificate verification and code verification on all TEE platforms; the method specifically comprises the following steps: and the block chain node performs certificate verification and code verification on the TEE platform according to the called intelligent contract and the TEE certificate of the chain on the CA mechanism. Optionally, the TEE container 753, the TEE containers 754, … …, the TEE container 755, the TEE container 743, the TEE containers 744, … …, and the TEE container 745 may belong to the same TEE platform or different TEE platforms.
Further, the method may further include: the TEE platform to which the TEE container 753, the TEE containers 754, … …, and the TEE container 755 belong establishes an encryption transmission channel with the TEE platform to which the TEE container 743, the TEE containers 744, … …, and the TEE container 745 belong, and determines an encryption key and a decryption key required for data transmission, where the encryption key and the decryption key may be a pair of symmetric keys or an asymmetric key.
Any TEE container of the TEE container 753, the TEE containers 754, … …, and the TEE container 755 encrypts the two types of interaction data sets and transmits the encrypted sets to any TEE container of the TEE container 743, the TEE container 744, … …, or the TEE container 745, and specifically includes:
any TEE container of TEE container 753, TEE containers 754, … …, and TEE container 755 encrypts the two types of interaction data sets with the encryption key and transmits the encrypted data sets to any TEE container of TEE container 743, TEE containers 744, … …, or TEE container 745. Any of the TEE container 743, the TEE containers 744, … …, or the TEE container 745 may be decrypted by the decryption key.
Similarly, any TEE container of TEE container 743, TEE containers 744, … …, or TEE container 745 encrypts the presenter public key of a type of interaction data set and transmits the encrypted presenter public key to any TEE container of TEE container 753, TEE containers 754, … …, and TEE container 755, which specifically includes:
any TEE container of TEE container 743, TEE containers 744, … … or TEE container 745 encrypts a type of interaction data set by using the encryption key and transmits the encrypted type of interaction data set to any TEE container of TEE container 753, TEE containers 754, … … or TEE container 755; any TEE container of TEE containers 753, 754, … …, and 755 can be decrypted by the decryption key.
In addition, the participant device 720 may upload the acquired interaction data set as a type of credential data to the blockchain network 710, and transmit a type of interaction data set (e.g., a purchase data set in a unit time) corresponding to the presentation object to any TEE container among the TEE containers 743, 744, … …, and 745, so that any TEE container among the TEE containers 743, 744, … …, and 745 encrypts the interaction data set and transmits the encrypted interaction data set to any TEE container among the TEE containers 753, 754, … …, and 755.
Furthermore, any one of the TEE container 743, the TEE containers 744, … …, or the TEE container 745 obtains a class of interaction data set uploaded by the exhibition side device 730 from the blockchain network 710, decrypts the class of interaction data set according to the participant private key, obtains the first time period data in the class of interaction data set, calculates a first exhibition result according to the first time period data in the class of interaction data set and the first time period data in the class of interaction data set, and writes the first exhibition result into the blockchain network 710 after encrypting the first exhibition result. Further, any TEE container of TEE containers 753, 754, … …, 755 calculates a second display result according to the second time period data in the first-type interaction data set and the second time period data in the second-type interaction data set; and writing the second display result into the block chain network. The union of the first period data and the second period data in the first type of interactive data set is a first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is a second type of interactive data set.
Further, participant trusted computing platform 740 or presenter trusted computing platform 750 may perform the following steps: acquiring a first display result from the blockchain network 710, decrypting the first display result, and performing validity verification on the decrypted first display result through a hash value and a timestamp corresponding to the decrypted first display result; and then, generating a display result corresponding to the display object according to the first display result and the second display result. When the display object is an advertisement, the first display result may be a conversion rate of the first putting stage, and the second display result may be a conversion rate of the second putting stage. By combining the conversion rates of the first putting stage and the second putting stage, the corresponding final conversion rate of the advertisement in the display process can be obtained. It should be noted that the first display result used for calculating the final display result corresponding to the display object is data on the chain, and the authenticity of the data can be guaranteed. Therefore, the advertisement putting platform can calculate the final display result corresponding to the display object according to the second display result calculated by the self and the first display data on the chain, so that the calculation efficiency is improved, the effectiveness of the calculated final display result is ensured, and the problem that the advertiser maliciously tampers with the advertisement conversion rate for paying less advertisement fees is avoided.
Referring to fig. 8, fig. 8 schematically shows a flow chart illustrating a result generation method according to an embodiment of the present application. As shown in fig. 8, the display result generation method includes: step S800-step S818, wherein:
step S800: the display side equipment acquires a class of interactive data set corresponding to the display object, writes the class of interactive data set into the block chain network as a class of evidence storage data, and then encrypts the class of interactive data set according to the public key of the participant.
Step S802: the display side equipment transmits the encrypted type of interactive data set to the participant side equipment, so that the participant side equipment decrypts the encrypted type of interactive data set through a private key of the participant side and verifies the correctness of the type of interactive data set according to the type of evidence storage data acquired from the blockchain network.
Step S804: and the participant equipment encrypts the two-type interaction data set according to the public key of the display party, sends the encrypted two-type interaction data set to the display party equipment, and uses the two-type interaction data set as a two-type evidence storage data uploading block chain network.
Step S806: the exhibition side equipment receives a two-class interaction data set aiming at the exhibition object and sent by the participant equipment, and obtains two-class evidence storage data corresponding to the exhibition object from the block chain network.
Step S808: and the exhibition side equipment decrypts the encrypted two-type interactive data set according to the exhibition side private key and verifies the correctness of the decrypted two-type interactive data set according to the two-type certificate storage data. If the calculation mode belongs to the full quantity calculation mode, executing the step S810; if the component calculation method is adopted, step S812 is executed.
Step S810: and if the two-type interactive data set is correct, the display side equipment calculates the intersection of the two-type interactive data set and the one-type interactive data set according to the equipment information or the account information, and determines the parameter value for expressing the intersection as a display result corresponding to the display object. Then, step S818 is executed.
Step S812: if the first type of interactive data set is correct, the participant equipment acquires first time period data in the first type of interactive data set, calculates a first display result according to the first time period data in the second type of interactive data set and the first time period data in the first type of interactive data set, encrypts the first display result and writes the encrypted first display result into the block chain network.
Step S814: and if the second type of interactive data set is correct, the display side equipment calculates a second display result according to the second time period data in the first type of interactive data set and the second time period data in the second type of interactive data set, and writes the second display result into the block chain network.
Step S816: the display side equipment acquires a first display result from the block chain network, decrypts the first display result through the participant public key, verifies the validity of the decrypted first display result through the hash value and the time stamp corresponding to the decrypted first display result, and generates a display result corresponding to the display object according to the first display result and the second display result if the verification is successful.
Step S818: the display side equipment signs the display result through the display side private key and broadcasts the signed display result, so that the consensus node in the block chain network verifies the signed display result according to the display side public key, after the verification is successful, the consensus node verifies the signed display result, and packs the signed display result into blocks to be written into the block chain network.
It should be noted that steps S800 to S818 correspond to the steps and embodiments of fig. 4, and for the specific implementation of steps S800 to S818, please refer to the steps and embodiments of fig. 4, which will not be described herein again.
Therefore, by implementing the method shown in fig. 8, uplink data can be performed by using the characteristics of block chain distributed storage and multi-party consensus, so as to reduce the risk of data tampering. In addition, the equipment of the participant can be prevented from uploading wrong data based on contract logic contained in the block chain, so that the accuracy of the display result is guaranteed, and the confidence coefficient of the display result is improved.
Further, in the present exemplary embodiment, a display result generation system is also provided. Referring to fig. 9, the presentation result generation system 900 may include: a presenter device 901 and a participant device 902, wherein:
the display side device 901 is used for acquiring a type of interactive data set corresponding to a display object;
the participant device 902 is configured to send a two-class interaction data set for the display object to the display device 901, and write the two-class interaction data set into the blockchain network as two-class evidence storage data corresponding to the display object;
the presenter device 901 is further configured to receive a second-type interaction data set and obtain second-type evidence storage data from the blockchain network;
the presenter device 901 is further configured to perform correctness verification on the two types of interaction data sets according to the two types of evidence storage data;
the presenter device 901 is further configured to generate a presentation result corresponding to the presentation object according to the first-class interaction data set and the second-class interaction data set when the second-class interaction data set is correct.
Therefore, the system shown in fig. 9 can utilize the properties of block chain distributed storage and multi-party consensus to uplink data, thereby reducing the risk of data tampering. In addition, the equipment of the participant can be prevented from uploading wrong data based on contract logic contained in the block chain, so that the accuracy of the display result is guaranteed, and the confidence coefficient of the display result is improved.
Referring to fig. 10, fig. 10 schematically shows a block diagram of a presentation result generation system according to an embodiment of the present application. As shown in fig. 10, the display result generation system 1000 includes: the participant devices 1002, … …, the participant devices 1003, … …, the participant devices 1004, … …, the participant device 1005, and the presenter device 1001, the number of participant devices is not limited in the present application. Wherein, the presenter device 1001 may present one or more presentation objects posted by at least one of the participant devices 1002, 1003, 1004, 1005. For each participant device, the presenter device may perform data transmission with the participant device to generate a presentation result of the relevant presentation object, and the specific implementation manner may refer to each step and its embodiment shown in fig. 3, which is not described herein again. On the basis of fig. 10, it is understood that the present application may also protect a scheme including a plurality of presenter devices and one participant device, or a scheme including a plurality of presenter devices and a plurality of participant devices.
Furthermore, in the present exemplary embodiment, a display result generation apparatus is also provided. Referring to fig. 11, the presentation result generation apparatus 1100 may include a data set acquisition unit 1101, a data set receiving unit 1102, a data verification unit 1103, and a presentation result generation unit 1104, wherein:
a data set obtaining unit 1101, configured to obtain a type of interactive data set corresponding to a display object;
a data set receiving unit 1102, configured to receive a two-class interaction data set for a presentation object sent by a participant device;
the data set acquiring unit 1101 is further configured to acquire two types of evidence storing data corresponding to the display object from the blockchain network;
the data verification unit 1103 is configured to perform correctness verification on the two types of interaction data sets according to the two types of evidence storage data;
and the display result generating unit 1104 is configured to generate a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set when the second-class interaction data set is correct.
Optionally, the display object is an advertisement, the first-class interaction data set includes click data, and the second-class interaction data set includes purchase data; the click data and the purchase data respectively comprise advertisement information, an interaction timestamp and user information, and the user information comprises at least one of equipment information and account information interacting with the advertisement.
It can be seen that, by implementing the apparatus shown in fig. 11, uplink of data can be performed by using the characteristics of block chain distributed storage and multi-party consensus, so as to reduce the risk of data tampering. In addition, the equipment of the participant can be prevented from uploading wrong data based on contract logic contained in the block chain, so that the accuracy of the display result is guaranteed, and the confidence coefficient of the display result is improved.
In an exemplary embodiment of the present application, the generating unit 1104 generates a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, including:
calculating the intersection of the click data and the purchase data according to the user information;
and determining the parameter values for representing the intersection as the display results corresponding to the display objects.
Therefore, by implementing the optional implementation mode, the conversion rate of the advertisement, namely the display result, can be calculated according to the relevant data of advertisement display, so that the advertiser can adjust the putting proportion on each advertisement platform according to the display result, and the conversion rate of the advertisement can be further improved.
In an exemplary embodiment of the present application, the apparatus further includes: a signature encryption unit (not shown) and a result broadcasting unit (not shown), wherein:
the signature encryption unit is used for signing the display result through a private key of a display party after the display result generation unit 1104 generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set;
and the result broadcasting unit is used for broadcasting the signed display result so that the consensus node in the block chain network verifies the signed display result according to the public key of the display party, performs consensus on the signed display result after verification is successful, and packages the signed display result into blocks to be written into the block chain network.
Therefore, by implementing the optional implementation mode, the display result can be linked, so that the display result of the display object is public and transparent, the display result is guaranteed not to be tampered, and the confidence of the display result is improved.
In an exemplary embodiment of the present application, the apparatus further includes: a data uplink unit (not shown), a data encryption unit (not shown), and a data transmission unit (not shown), wherein:
a data chaining unit, configured to write a type of interactive data set as a type of evidence storage data into the blockchain network after the data set obtaining unit 1101 obtains the type of interactive data set corresponding to the display object;
the data encryption unit is used for encrypting a class of interactive data set according to the public key of the participant;
and the data transmission unit is used for transmitting the encrypted interactive data set to the participant equipment so that the participant equipment decrypts the encrypted interactive data set through a private key of the participant and verifies the correctness of the interactive data set according to the evidence data acquired from the blockchain network.
Therefore, by implementing the optional implementation mode, uplink of a type of interactive data sets can be performed before data transmission by utilizing the characteristics of block chain distributed storage and multi-party consensus, so that the risk of tampering data in the type of interactive data sets is reduced. In addition, data security and data privacy can be guaranteed based on data encryption transmission, and the risk of data stealing is reduced.
In an exemplary embodiment of the present application, the participant device sends the second-type interaction data set for the presentation object in the following manner;
the participator device encrypts the second-class interaction data set according to the public key of the showing party;
and sending the encrypted two types of interaction data sets to the display side equipment.
Therefore, the implementation of the optional embodiment can encrypt the data before data transmission, so that the privacy and the security of the data can be improved.
In an exemplary embodiment of the present application, the data verification unit 1103 performs correctness verification on the two types of interaction data sets according to the two types of credential data, including:
decrypting the encrypted second-class interaction data set according to the private key of the display party;
and verifying the correctness of the decrypted second-class interaction data set according to the second-class evidence storage data.
The data verification unit 1103 performs correctness verification on the two types of interaction data sets according to the two types of evidence storage data, and includes:
comparing each data in the second type of certificate storage data with each data in the second type of interactive data set one by one;
and if the comparison result shows that the data in the second type evidence storage data and the data in the second type interaction data set have one-to-one correspondence and same relationship, judging that the second type interaction data set is correct.
Therefore, by implementing the optional implementation mode, correct and non-falsifiable two types of evidence storing data can be obtained from the block chain, so that correctness judgment can be performed on the two types of interactive data sets transmitted by the participant equipment according to the two types of evidence storing data, accuracy of subsequently generated display results is guaranteed, and confidence of the display results is improved.
In an exemplary embodiment of the present application, after the participant device verifies the correctness of a type of interaction data set according to a type of credential data acquired from the blockchain network, the method further includes:
if the first type of interactive data set is correct, the participant equipment acquires first time period data in the first type of interactive data set, calculates a first display result according to the first time period data in the second type of interactive data set and the first time period data in the first type of interactive data set, encrypts the first display result and writes the encrypted first display result into the block chain network.
Therefore, by implementing the optional implementation mode, when the interactive data volume is large, the calculation amount of each party can be reduced by adopting a component intersection mode, so that the generation efficiency of the display result is improved.
In an exemplary embodiment of the present application, the apparatus further includes: a display result calculation unit (not shown) and a display result chaining unit (not shown), wherein:
the display result calculating unit is used for calculating a second display result according to the second time period data in the first-class interaction data set and the second-class interaction data set before the display result generating unit 1104 generates the display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set;
a display result chaining unit for writing the second display result into the blockchain network;
the union of the first period data and the second period data in the first type of interactive data set is a first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is a second type of interactive data set.
Therefore, by implementing the optional implementation mode, when the interactive data volume is large, the calculation amount of each party can be reduced by adopting a component intersection mode, so that the generation efficiency of the display result is improved.
In an exemplary embodiment of the present application, the generating unit 1104 generates a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, including:
acquiring a first display result from a block chain network;
decrypting the first display result through the public key of the participant, and verifying the validity of the decrypted first display result through the hash value and the timestamp corresponding to the decrypted first display result;
and if the verification is successful, generating a display result corresponding to the display object according to the first display result and the second display result.
Therefore, by implementing the optional implementation mode, the final display result can be generated by combining the component transaction results of all parties, so that the generation efficiency of the display result and the instantaneity of the display result are favorably improved, a user can timely know the display result of the display object, the display strategy is timely adjusted according to the display result, and the display effect of the display object is improved.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the display result generation method described above for the details that are not disclosed in the embodiments of the apparatus of the present application.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that the computer readable medium shown in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application 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 application is limited only by the appended claims.

Claims (14)

1. A display result generation method is characterized by comprising the following steps:
acquiring a type of interactive data set corresponding to a display object;
receiving a two-class interaction data set aiming at the display object and sent by participant equipment, and acquiring two-class evidence storage data corresponding to the display object from a block chain network;
carrying out correctness verification on the two types of interactive data sets according to the two types of evidence storage data;
if the second-class interaction data set is correct, generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set;
the participator equipment acquires a type of evidence storing data corresponding to the display object from the blockchain network, and carries out correctness verification on the type of interactive data set according to the type of evidence storing data;
if the first-class interaction data set is correct, the participant equipment calculates a first display result according to the first time period data in the second-class interaction data set and the first time period data in the first-class interaction data set, encrypts the first display result and writes the encrypted first display result into the block chain network;
calculating a second display result according to the second time interval data in the first-class interaction data set and the second time interval data in the second-class interaction data set,
generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, wherein the generating of the display result comprises: and generating a display result corresponding to the display object according to the first display result and the second display result.
2. The method of claim 1, wherein the display object is an advertisement, the first-type interaction data set comprises click data, and the second-type interaction data set comprises purchase data;
the click data and the purchase data respectively comprise advertisement information, an interaction timestamp and user information, and the user information comprises at least one of equipment information and account information interacting with the advertisement.
3. The method of claim 2, further comprising:
calculating the intersection of the click data and the purchase data according to the user information;
and determining the parameter value used for expressing the intersection as the display result corresponding to the display object.
4. The method of claim 1, wherein after generating the presentation result corresponding to the presentation object according to the first-type interaction data set and the second-type interaction data set, the method further comprises:
signing the display result through a private key of a display party;
broadcasting the signed display result, so that the common identification node in the block chain network verifies the signed display result according to a public key of a display party, performing common identification on the signed display result after verification is successful, and packaging the signed display result into blocks to be written into the block chain network.
5. The method of claim 1, wherein after obtaining a type of interaction data set corresponding to the presentation object, the method further comprises:
writing the interactive data set serving as evidence storage data into the block chain network;
encrypting the interactive data set according to the public key of the participant;
and transmitting the encrypted type of interactive data set to the participant equipment, so that the participant equipment decrypts the encrypted type of interactive data set through a participant private key and verifies the correctness of the type of interactive data set according to the type of evidence storage data acquired from the blockchain network.
6. The method of claim 1, wherein the participant device sends the set of interaction data of the second type for the presentation object in a manner;
the participant equipment encrypts the second-class interaction data set according to the public key of the display party;
and sending the encrypted two types of interaction data sets to the display side equipment.
7. The method of claim 6, wherein performing correctness verification on the two types of interaction data sets according to the two types of evidence storage data comprises:
decrypting the encrypted second-class interaction data set according to a private key of a display party;
and verifying the correctness of the decrypted second-class interaction data set according to the second-class evidence storage data.
8. The method of claim 1, wherein performing correctness verification on the two types of interaction data sets according to the two types of evidence storage data comprises:
comparing each data in the second type of evidence storage data with each data in the second type of interaction data set one by one;
and if the comparison result shows that the data in the two types of evidence storage data and the data in the two types of interactive data sets have one-to-one correspondence and same relationship, judging that the two types of interactive data sets are correct.
9. The method of claim 1, wherein before generating the presentation result corresponding to the presentation object according to the first-type interaction data set and the second-type interaction data set, the method further comprises:
writing the second display result into the blockchain network;
the union of the first period data and the second period data in the first type of interactive data set is the first type of interactive data set, and the union of the first period data and the second period data in the second type of interactive data set is the second type of interactive data set.
10. The method according to claim 1, wherein before generating the display result corresponding to the display object according to the first display result and the second display result, the method further comprises:
acquiring the first display result from the blockchain network;
decrypting the first display result through a public key of a participant, and verifying the validity of the decrypted first display result through a hash value and a timestamp corresponding to the decrypted first display result;
and if the verification is successful, executing the above-mentioned display result corresponding to the display object according to the first display result and the second display result.
11. A display result generation system, comprising: a presenter device and a participant device, wherein:
the display side equipment is used for acquiring a type of interactive data set corresponding to a display object;
the participant equipment is used for sending a two-class interaction data set aiming at the display object to the display equipment and writing the two-class interaction data set into a blockchain network as two-class evidence storage data corresponding to the display object;
the presenter device is further configured to receive the second-type interaction data set and obtain the second-type evidence storage data from the blockchain network;
the display side equipment is also used for carrying out correctness verification on the two types of interactive data sets according to the two types of evidence storage data;
the display side equipment is further used for generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set when the second-class interaction data set is correct;
the participant equipment acquires a type of evidence storing data corresponding to the display object from the blockchain network, and carries out correctness verification on the type of interactive data set according to the type of evidence storing data;
if the first-class interaction data set is correct, the participant equipment calculates a first display result according to the first time period data in the second-class interaction data set and the first time period data in the first-class interaction data set, encrypts the first display result and writes the encrypted first display result into the block chain network;
the presenter device calculates a second presentation result according to the second time period data in the first type of interaction data set and the second time period data in the second type of interaction data set,
the method for generating the display result corresponding to the display object by the display side equipment according to the first-class interaction data set and the second-class interaction data set comprises the following steps: and generating a display result corresponding to the display object according to the first display result and the second display result.
12. A presentation result generation apparatus, comprising:
the data set acquisition unit is used for acquiring a type of interactive data set corresponding to the display object;
the data set receiving unit is used for receiving a second-class interaction data set which is sent by the participant equipment and aims at the display object;
the data set acquisition unit is further used for acquiring two types of evidence storage data corresponding to the display object from a block chain network;
the data verification unit is used for verifying the correctness of the two types of interactive data sets according to the two types of evidence storage data;
the display result generating unit is used for generating a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set when the second-class interaction data set is correct;
the participator equipment acquires a type of evidence storing data corresponding to the display object from the blockchain network, and carries out correctness verification on the type of interactive data set according to the type of evidence storing data;
if the first-class interaction data set is correct, the participant equipment calculates a first display result according to the first time period data in the second-class interaction data set and the first time period data in the first-class interaction data set, encrypts the first display result and writes the encrypted first display result into the block chain network;
the display result calculating unit is used for calculating a second display result according to the second time interval data in the first-class interaction data set and the second time interval data in the second-class interaction data set,
the display result generating unit generates a display result corresponding to the display object according to the first-class interaction data set and the second-class interaction data set, and the display result generating unit includes: and generating a display result corresponding to the display object according to the first display result and the second display result.
13. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method of any one of claims 1-10.
14. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the method of any of claims 1-10 via execution of the executable instructions.
CN202010892743.XA 2020-08-31 2020-08-31 Display result generation method, system, device, readable storage medium and equipment Active CN111814083B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010892743.XA CN111814083B (en) 2020-08-31 2020-08-31 Display result generation method, system, device, readable storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010892743.XA CN111814083B (en) 2020-08-31 2020-08-31 Display result generation method, system, device, readable storage medium and equipment

Publications (2)

Publication Number Publication Date
CN111814083A true CN111814083A (en) 2020-10-23
CN111814083B CN111814083B (en) 2020-12-11

Family

ID=72859277

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010892743.XA Active CN111814083B (en) 2020-08-31 2020-08-31 Display result generation method, system, device, readable storage medium and equipment

Country Status (1)

Country Link
CN (1) CN111814083B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560104A (en) * 2021-01-17 2021-03-26 梁志彬 Data storage method and safety information platform based on cloud computing and block chain
CN112651790A (en) * 2021-01-19 2021-04-13 恩亿科(北京)数据科技有限公司 OCPX self-adaptive learning method and system based on user reach in fast-moving industry
CN113569264A (en) * 2021-07-30 2021-10-29 拉扎斯网络科技(上海)有限公司 Data security processing method and device and electronic equipment

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN106548091A (en) * 2016-10-14 2017-03-29 北京爱接力科技发展有限公司 A kind of data deposit card, the method and device of checking
CN108711104A (en) * 2018-05-09 2018-10-26 北京磁云数字科技有限公司 Physical assets information flow method, apparatus and equipment based on block chain
CN109035018A (en) * 2018-07-11 2018-12-18 中链科技有限公司 The data record statistical method and device of intelligent contract in a kind of block chain
CN109308638A (en) * 2018-09-30 2019-02-05 北京奇虎科技有限公司 Ad trafficking system, server and readable storage medium storing program for executing based on block chain
US20190108499A1 (en) * 2017-10-09 2019-04-11 Bing Liu Decentralized Digital Token within an App Ecosystem
CN110334165A (en) * 2019-06-21 2019-10-15 阿里巴巴集团控股有限公司 Multimedia messages methods of exhibiting, system, device and equipment based on geographical location
CN111242687A (en) * 2020-01-13 2020-06-05 腾讯科技(深圳)有限公司 Advertisement data analysis method and device, electronic equipment and storage medium
CN111325581A (en) * 2020-02-27 2020-06-23 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105719185A (en) * 2016-01-22 2016-06-29 杭州复杂美科技有限公司 Block chain data comparison and consensus method
CN106548091A (en) * 2016-10-14 2017-03-29 北京爱接力科技发展有限公司 A kind of data deposit card, the method and device of checking
US20190108499A1 (en) * 2017-10-09 2019-04-11 Bing Liu Decentralized Digital Token within an App Ecosystem
CN108711104A (en) * 2018-05-09 2018-10-26 北京磁云数字科技有限公司 Physical assets information flow method, apparatus and equipment based on block chain
CN109035018A (en) * 2018-07-11 2018-12-18 中链科技有限公司 The data record statistical method and device of intelligent contract in a kind of block chain
CN109308638A (en) * 2018-09-30 2019-02-05 北京奇虎科技有限公司 Ad trafficking system, server and readable storage medium storing program for executing based on block chain
CN110334165A (en) * 2019-06-21 2019-10-15 阿里巴巴集团控股有限公司 Multimedia messages methods of exhibiting, system, device and equipment based on geographical location
CN111242687A (en) * 2020-01-13 2020-06-05 腾讯科技(深圳)有限公司 Advertisement data analysis method and device, electronic equipment and storage medium
CN111325581A (en) * 2020-02-27 2020-06-23 腾讯科技(深圳)有限公司 Data processing method and device, electronic equipment and computer readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112560104A (en) * 2021-01-17 2021-03-26 梁志彬 Data storage method and safety information platform based on cloud computing and block chain
CN112651790A (en) * 2021-01-19 2021-04-13 恩亿科(北京)数据科技有限公司 OCPX self-adaptive learning method and system based on user reach in fast-moving industry
CN112651790B (en) * 2021-01-19 2024-04-12 恩亿科(北京)数据科技有限公司 OCPX self-adaptive learning method and system based on user touch in quick-elimination industry
CN113569264A (en) * 2021-07-30 2021-10-29 拉扎斯网络科技(上海)有限公司 Data security processing method and device and electronic equipment

Also Published As

Publication number Publication date
CN111814083B (en) 2020-12-11

Similar Documents

Publication Publication Date Title
EP4120114A1 (en) Data processing method and apparatus, smart device and storage medium
JP7281514B2 (en) Blockchain-enforced methods for control and distribution of digital content
CN111814083B (en) Display result generation method, system, device, readable storage medium and equipment
US20190394175A1 (en) Systems and methods for permissioned blockchain infrastructure with fine-grained access control and confidentiality-preserving publish/subscribe messaging
US7051199B1 (en) System, method and article of manufacture for providing cryptographic services utilizing a network
CN110601816B (en) Lightweight node control method and device in block chain system
CN109521956B (en) Cloud storage method, device, equipment and storage medium based on block chain
WO2019101232A2 (en) Methods and devices for providing transaction data to blockchain system for processing
AU2019380381A1 (en) Smart logistics management using blockchain
CN111049806B (en) Joint authority control method and device, electronic equipment and storage medium
CN112422287B (en) Multi-level role authority control method and device based on cryptography
WO2020098815A2 (en) Methods and devices for cryptographic key management based on blockchain system
US20220353074A1 (en) Systems and methods for minting a physical device based on hardware unique key generation
CN110471908A (en) A kind of joint modeling method and device
CN115705601A (en) Data processing method and device, computer equipment and storage medium
CN112600830A (en) Service data processing method and device, electronic equipment and storage medium
CN113179169B (en) Digital certificate management method and device
CN112822152B (en) Directional information display processing method and related equipment
CN115766830A (en) Computing power network processing method, device, equipment and storage medium
CN117688087A (en) Model data management method, device and system based on blockchain
CN117544312A (en) Cross-domain digital signature method based on attribute encryption and related equipment thereof
Suping et al. Research of Data Sharing between Applications Base on User Request

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
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40030885

Country of ref document: HK