Data processing method and device based on block chain, equipment and medium

By deploying showroom matching contracts on the blockchain, the problem of low display trading efficiency in data placement scenarios is solved, an efficient and transparent transaction process is achieved, and the intermediary cost is reduced.

CN120258907APending Publication Date: 2025-07-04TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410008138.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

In the existing data delivery scenario, the display trading speed between the data delivery object and the media object is slow, and the transaction results are delayed, which reduces the trading efficiency of the display.

Method used

By deploying a showroom matching contract in the blockchain, receiving delivery requests, matching free showrooms and delivery demand information, conducting transaction data verification, and transmitting the material content to the display platform for display.

Benefits of technology

It improves the trading efficiency of the display position, reduces trading time, ensures the fairness and transparency of the transaction, and reduces the cost of the intermediary link.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120258907A_ABST
    Figure CN120258907A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a data processing method and device based on a block chain, equipment and a medium, and the method comprises the steps: receiving a delivery request corresponding to a material delivery object, calling a display bit matching contract in the block chain according to the delivery request, and obtaining an idle display bit stored in the block chain; performing matching processing on the idle display position and the delivery demand information in the delivery request through a display position matching contract to obtain a material display position, and sending the material display position to a material delivery object and a material display platform; obtaining transaction data for the material display position, and performing validity verification on the first signature and the second signature in the transaction data to obtain a transaction verification result of the transaction data; and if the transaction verification result indicates that the verification is passed, storing the transaction data to a block chain, and transmitting the material content to a material display platform, so that the material display platform displays the material content in a material display position. Through the embodiment of the invention, the transaction efficiency of the display position can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of blockchain technology, and in particular, to a data processing method, apparatus, device, and medium based on blockchain. Background Art

[0002] With the rapid development of Internet technology, Internet data is placed on different media platforms (such as various application software in mobile phones or tablets, display devices in televisions, elevators, outdoor electronic devices, etc.) so that users can obtain the placed data through different channels.

[0003] Currently, data placement scenarios usually involve multiple participants, such as data placement objects, data trading platforms, and media objects. The data placement object determines demand information such as the target audience, placement time, placement area, budget, etc. of the data to be placed, and this demand information and the data to be placed can be published to the data trading platform; the data trading platform selects a suitable media object for the data placement object according to this demand information. After finding a suitable media object, the data placement object usually needs to use an auction model to conduct a display position transaction with the media object; after the data placement object and the media object complete the confirmation of the display position transaction, the data trading platform places the data to be placed in the display position of the media object. It can be seen that the data trading platform needs to dock with multiple participants, involving different data formats, resulting in a slow display position transaction speed between the data placement object and the media object, a delayed transaction result, and a reduction in the transaction efficiency of the display position. Summary of the Invention

[0004] Embodiments of this application provide a data processing method, apparatus, device, and medium based on blockchain, which can improve the transaction efficiency of display positions for placing material content.

[0005] On the one hand, embodiments of this application provide a data processing method based on blockchain, including:

[0006] Receiving a placement request corresponding to a material placement object, and calling a display position matching contract deployed in the blockchain according to the placement request to obtain free display positions stored in the blockchain; the placement request includes material content and placement demand information;

[0007] Performing matching processing on the free display positions and the placement demand information through the display position matching contract to obtain a material display position corresponding to the placement request, and sending the material display position to the material placement object and the material display platform; the material display platform refers to a platform for providing material display positions;

[0008] Obtain transaction data for the material display position, verify the validity of the first signature and the second signature in the transaction data, and obtain the transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform;

[0009] If the transaction verification result indicates that the verification is passed, store the transaction data in the blockchain and transmit the material content to the material display platform, so that the material display platform can display the material content in the material display position.

[0010] An embodiment of the present application provides a data processing device based on a blockchain, including:

[0011] A placement request receiving module, configured to receive a placement request corresponding to a material placement object, call a display position matching contract deployed in the blockchain according to the placement request, and obtain an idle display position stored in the blockchain; the placement request includes material content and placement requirement information;

[0012] A display position matching module, configured to perform matching processing on the idle display position and the placement requirement information through the display position matching contract, obtain the material display position corresponding to the placement request, and send the material display position to the material placement object and the material display platform; the material display platform refers to a platform for providing material display positions;

[0013] A transaction verification module, configured to obtain transaction data for the material display position, verify the validity of the first signature and the second signature in the transaction data, and obtain the transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform;

[0014] A material placement module, configured to store the transaction data in the blockchain and transmit the material content to the material display platform if the transaction verification result indicates that the verification is passed, so that the material display platform can display the material content in the material display position.

[0015] Among them, the placement request receiving module is specifically configured to:

[0016] Receive a placement request corresponding to a material placement object, obtain the placement object identifier carried by the placement request, and obtain the set of registered object identifiers in the blockchain;

[0017] If the set of registered object identifiers contains the placement object identifier, determine that the placement request is a valid request, and encapsulate the placement request into a data block;

[0018] In the consensus process of the data block, call the display position matching contract deployed in the blockchain according to the placement request, and obtain the idle display position stored in the blockchain.

[0019] Among them, the device further includes:

[0020] A registration request receiving module, configured to receive a registration request from a material display platform, verify the platform digital certificate carried in the registration request, and obtain a certificate verification result corresponding to the platform digital certificate; the platform digital certificate includes a platform public key and platform information corresponding to the material display platform, the validity period of the platform digital certificate, and a digital signature generated by the certificate issuing authority for the platform digital certificate;

[0021] A registration success module, configured to store the platform digital certificate in the blockchain and return a registration success prompt message to the material display platform if the certificate verification result indicates that the verification is passed;

[0022] A display position on-chain module, configured to receive the display position information held by the material display platform and write the display position information into the blockchain; the display position information includes the display position type, the display position placement range, and the display position transaction value.

[0023] Wherein, the number of idle display positions is M, and M is an integer greater than 1;

[0024] The display position matching module performs matching processing on the idle display positions and the placement demand information through a display position matching contract to obtain the material display position corresponding to the placement request, including:

[0025] Performing matching processing on the placement demand information and the display position information corresponding to M idle display positions through the matching logic in the display position matching contract to obtain matching evaluation values corresponding to the M idle display positions;

[0026] Determining the material display position corresponding to the placement request from the M idle display positions according to the matching evaluation values corresponding to the M idle display positions.

[0027] Wherein, the number of idle display positions is M, and M is an integer greater than 1;

[0028] The display position matching module performs matching processing on the idle display positions and the placement demand information through a display position matching contract to obtain the material display position corresponding to the placement request, including:

[0029] Invoking an identification model through a matching interface in the display position matching contract to convert the placement demand information into material features, and converting the display position information corresponding to each of the M idle display positions into display position features;

[0030] Combining the material features with the display position features corresponding to each idle display position to obtain a splicing feature associated with each idle display position, and inputting the splicing feature into the identification model;

[0031] Encode the spliced features through the feature extraction layer in the recognition model to obtain the encoded features corresponding to each idle display position, and classify the encoded features corresponding to each idle display position to obtain the matching confidence corresponding to each idle display position;

[0032] Determine the material display position corresponding to the placement request from the M idle display positions according to the matching confidence corresponding to the M idle display positions.

[0033] Among them, the transaction verification module validates the validity of the first signature and the second signature in the transaction data to obtain the transaction verification result corresponding to the transaction data, including:

[0034] Obtain the object public key corresponding to the material placement object, and obtain the platform public key corresponding to the material display platform;

[0035] Validate the validity of the first signature in the transaction data according to the object public key to obtain the first signature verification result, and validate the validity of the second signature in the transaction data according to the platform public key to obtain the second signature verification result;

[0036] If both the first signature verification result and the second signature verification result are verification passed results, determine that the transaction verification result corresponding to the transaction data indicates verification passed.

[0037] Among them, the device further includes:

[0038] The interactive data receiving module is used to receive the material interactive data submitted by the material display platform, and call the interactive incentive contract deployed in the blockchain according to the material interactive data; the material interactive data is generated by the material display platform according to the trigger operations of multiple interactive objects on the material content in the material display position;

[0039] The incentive module is used to obtain the unit interactive data corresponding to the interactive object a among the multiple interactive objects in the material interactive data. If the unit interactive data corresponding to the interactive object a meets the incentive conditions in the interactive incentive contract, rewards will be issued to the interactive object a according to the incentive strategy in the interactive incentive contract.

[0040] One aspect of the embodiments of the present application provides a computer device, including a memory and a processor, the memory is connected to the processor, the memory is used to store a computer program, and the processor is used to call the computer program so that the computer device executes the method provided in the above aspect of the embodiments of the present application.

[0041] One aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program is suitable for being loaded and executed by a processor so that a computer device with a processor executes the method provided in the above aspect of the embodiments of the present application.

[0042] According to one aspect of the present application, there is provided a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the method provided in the above aspect.

[0043] In the embodiments of the present application, a material placement object may send a placement request (material content and placement requirement information) to a blockchain, call a pre-deployed display position matching contract in the blockchain according to the placement request, obtain an idle display position in the blockchain through the display position matching contract, and perform matching processing on the idle display position and the placement requirement information to obtain a material display position corresponding to the placement request. The matched material display position may be notified to a data placement object and a material display platform. The data placement object and the material display platform may conduct a transaction on the material display position. For example, they may send transaction data for the material display position to the blockchain, and the verified transaction data may be written into the blockchain to complete the transaction confirmation of the material display position, and then the material content is transmitted to the material display position for display. That is to say, by implementing the matching of display positions through the pre-deployed display position matching contract in the blockchain, the transaction efficiency of display positions can be improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings required for use in the description of the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0045] Figure 1 is a schematic diagram of the architecture of a blockchain network provided by an embodiment of the present application;

[0046] Figure 2 is a schematic diagram of data interaction based on a blockchain provided by an embodiment of the present application;

[0047] Figure 3 is a schematic flow chart of a data processing method based on a blockchain provided by an embodiment of the present application Figure 1 ;

[0048] Figure 4 is a schematic diagram of the placement of material content provided by an embodiment of the present application;

[0049] Figure 5 is a schematic flow chart of a data processing method based on a blockchain provided by an embodiment of the present application Figure 2 ;

[0050] Figure 6 It is a schematic diagram of display position matching processing provided by an embodiment of the present application;

[0051] Figure 7 It is a schematic structural diagram of a data processing device based on blockchain provided by an embodiment of the present application;

[0052] Figure 8 It is a schematic structural diagram of a computer device provided by an embodiment of the present application. Detailed implementation manners

[0053] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.

[0054] For ease of understanding, several basic technologies related to the embodiments of the present application will be described below.

[0055] Blockchain: Blockchain is a decentralized infrastructure with the characteristic of distributed storage. Specifically, it is a data structure that organizes data blocks in a linked list-like manner according to the time sequence, and can securely store data with a sequential relationship and verifiable within the system, and ensure the data is tamper-proof and unforgeable in a cryptographic manner.

[0056] Smart contract: A computer protocol designed to disseminate, verify, or execute contracts in an information-based manner. A smart contract can be understood as a computer program that runs on a distributed ledger (i.e., blockchain), with preset rules, state, and conditional responses, capable of encapsulating, verifying, and executing complex behaviors of distributed nodes, and completing information exchange, value transfer, and asset management. Based on the distributed architecture, consensus algorithms, etc. of the blockchain, smart contracts allow users who do not trust each other to complete transactions without the need for any third-party trusted intermediary or authority; at the same time, digital smart contracts can be flexibly embedded in various tangible or intangible assets, transactions, and data to achieve active or passive asset, information management and control, and gradually build programmable smart assets, systems, etc. Among them, the embodiments of this application specifically relate to smart contracts such as display position matching contracts and interactive incentive contracts. The display position matching contract can be used to match suitable material display positions for the material content that the material placement object needs to place. For example, a display position matching algorithm can be embedded in the display position matching contract; the interactive incentive contract can be used to issue rewards to the material placement object and / or the interactive object of the material content after placement. For example, incentive conditions and reward rules for different objects can be embedded in the interactive incentive contract.

[0057] Transaction: A form executed by the blockchain. A transaction contains the private key signature of the initiator, which can ensure the authenticity, non-forgeability, and non-deniability of the transaction content.

[0058] Material placement object: An entity or organization that conducts data placement by purchasing display positions or services for the purpose of promoting material content (such as products, services, or brands, etc.), or can refer to the owner of the material content (which can also be called multimedia resources); for example, the material placement object can be an advertiser in the advertising industry.

[0059] Material display platform: A platform or channel that can provide display positions for the material content that the material placement object needs to place, such as various types of software applications on the mobile side, or electronic screens on the non-mobile side, etc. In the advertising industry, this material display platform can be a media object.

[0060] Display position: The specific position or space in the material display platform for material display. For example, in the advertising industry, the display position can be called an advertising position. This display position can be a banner advertising position on a web page, a pre-roll advertising position in a video playback page, an interstitial advertising position in a mobile application, an advertising time period in a TV program, etc.

[0061] Machine Learning (ML): Machine learning is an interdisciplinary field that involves multiple disciplines such as probability theory, statistics, approximation theory, convex analysis, and algorithm complexity theory. It specifically studies how computers can simulate or implement human learning behaviors to acquire new knowledge or skills, and reorganize the existing knowledge structure to continuously improve their own performance. Machine learning is the core of artificial intelligence and the fundamental way to make computers intelligent, and its applications cover all fields of artificial intelligence. Machine learning and deep learning usually include technologies such as artificial neural networks, belief networks, reinforcement learning, transfer learning, inductive learning, and rote learning. Among them, the embodiments of this application specifically relate to the recognition model in machine learning. This recognition model can be used to output the matching confidence between the placement requirement information of the material content that the material placement object needs to place and multiple idle display positions. Through the matching confidence, a suitable material display position can be selected from multiple idle display positions, and the material content of the material placement object can be placed in the material display position.

[0062] Please refer to Figure 1 , Figure 1 is a schematic diagram of the architecture of a blockchain network provided by the embodiments of this application; this blockchain network can be composed of multiple blockchain nodes, and this application does not limit the number of blockchain nodes included in the blockchain network. As Figure 1 shown, this blockchain network is illustrated by taking 6 blockchain nodes (for example, node 1, node 2, node 3, node 4, node 5, and node 6) as an example. The various blockchain nodes in the blockchain network are networked in a peer-to-peer manner, and the blockchain nodes can communicate with each other according to the peer-to-peer network protocol. The various blockchain nodes in the blockchain network jointly follow the broadcast mechanism and the consensus mechanism to jointly ensure the immutability and non-forgery of the data in the blockchain, and at the same time realize the decentralization and trustlessness of the blockchain. Among them, the consensus mechanism can include but is not limited to core mechanisms such as the PoW (Proof Of Work) mechanism and the POS (ProofOf Stake) mechanism.

[0063] It should be understood that each blockchain node in the blockchain network can be a terminal device or a server. Terminal devices can include, but are not limited to: tablet computers, laptop computers, handheld computers, mobile internet devices (MIDs), wearable devices (such as smart watches, smart bracelets, etc.), intelligent voice interaction devices, smart home appliances (such as smart TVs, etc.), vehicle-mounted devices, aircraft, and other electronic devices that support the operation of the blockchain system. The server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers. It can also be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, Content Delivery Network (CDN), and big data and artificial intelligence platforms. The present application does not limit the type of the server.

[0064] In the embodiments of the present application, Figure 1 The blockchain nodes in the shown blockchain network can maintain a blockchain, which can be used to store relevant data involved in the data placement scenario. Here, the relevant data can include, but are not limited to: the material content that the material placement object needs to place, the placement requirement information corresponding to the material content (for example, the placement time, placement area, applicable population of the material content, etc.), the display position information that the material display platform can provide (for example, display position type, display position pricing, display position placement range, etc.), the material interaction data of the material content placed in the display position by the interaction object, etc. Among them, the interaction object can refer to a user who has performed relevant operations (such as clicking, collecting, purchasing, etc.) on the material content in the display position of the material display platform; the material interaction data can refer to data used to characterize the placement effect of the material content, such as it can include the exposure volume, exposure time, click volume, click time, placement position information, identification information of the placement device, etc. of the placed material content.

[0065] Among them, the data generated in the data placement scenario can be published to the blockchain network. Here, the data can refer to the original data that has not formed a block (for example, transaction data); these data need to be further processed (for example, verified by each blockchain node in the blockchain network, hashed, etc.) before being written into the block. After a block (which can be called a data block) is created, it needs to undergo a consensus process. When the block consensus is successful, the block is allowed to be added to the blockchain. The blockchain can contain multiple blocks, and these blocks are connected in a chain structure in ascending order of the creation timestamp. The blockchain is a distributed ledger, and the data contained in the blocks on the blockchain is the ledger data of this distributed ledger.

[0066] The embodiments of the present application also relate to a consensus mechanism. The consensus mechanism is the basis for ensuring the normal operation of the blockchain network. Consensus means reaching an agreement. Each blockchain node in the blockchain network stores a distributed ledger (i.e., the blockchain) separately; the consensus process in the blockchain network is a process of keeping the distributed ledgers among the blockchain nodes in the blockchain network consistent. All or part of the blockchain nodes in the blockchain network can participate in the consensus process. These blockchain nodes participating in the consensus can jointly form the consensus committee of the blockchain network, and each blockchain node participating in the consensus can be called a member of the consensus committee. Among them, the consensus process in the blockchain network is usually implemented based on a consensus algorithm, which may include but is not limited to: BFT (Byzantine Fault Tolerance) algorithm, PBFT (Practical Byzantine Fault Tolerance) algorithm, etc.; each blockchain node in the consensus committee can execute the corresponding processes of the consensus process by running the consensus algorithm, that is, the consensus process.

[0067] Please refer to Figure 2 , Figure 2 which is a schematic diagram of data interaction based on the blockchain provided by the embodiments of the present application. As Figure 2 shown, the blockchain 20a can be Figure 1 the blockchain jointly maintained by each blockchain node in the blockchain network shown. The blockchain 20a can be composed of multiple blocks; the first block in the blockchain 20a can be called the genesis block, and the block height of the genesis block in the blockchain 20a is 0, and the next block after the genesis block has a block height of 1 in the blockchain 20a; and so on. After a new block is written into the blockchain 20a, the block height corresponding to the new block is 1 higher than the block height of the previous block. For example, if the block height corresponding to the previous block is H, after the new block is written into the blockchain 20a, the block height corresponding to the new block is H + 1. Among them, the blockchain 20a can be a consortium chain, or a public chain, etc. The present application does not limit the type of the blockchain 20a.

[0068] In the embodiments of the present application, the material display platform providing the display position and the material delivery object holding the material can register their identities on the blockchain 20a, and only after the registration is completed are the material delivery object and the material display platform allowed to perform data interaction with the blockchain 20a. As Figure 2As shown in the figure, it is assumed that the material placement objects registered on the blockchain 20a may include material placement object 21, material placement object 22, material placement object 23, and material placement object 24. The four material placement objects here can be considered as different material placement objects. Among them, material placement object 21 can hold materials 11 and 12, material placement object 22 can hold materials 13 and 14, material placement object 23 can hold materials 15 and 16, and material placement object 24 can hold materials 17 and 18. It is assumed that the material display platforms registered on the blockchain 20a include material display platform 31 and material display platform 32. Among them, both material display platform 31 and material display platform 32 can submit the display position information they provide to the blockchain 20a. For example, when the material display platform 31 is a web page, the display position provided by the material display platform 31 can be a banner ad position on the web page; when the material display platform 31 is a mobile application, the display position provided by the material display platform 31 can be an interstitial ad position; when the material display platform 31 is a TV program, the display position provided by the material display platform 31 can be an advertising time slot, etc.

[0069] As Figure 2 shown, when the material placement object 21 wants to place the material 11 it holds in a suitable display position, it can send a placement request to the blockchain nodes in the blockchain network through the trading platform interface or API (Application Program Interface). The placement request can include the material 11 held by the material display platform 31, as well as information such as the applicable population for placing the material 11, placement time, placement area, placement budget (or can be called the estimated placement cost), etc. Among them, the trading platform interface can refer to the material placement interface provided by the blockchain digital trading platform for each material placement object. The blockchain digital trading platform here is an online platform developed based on blockchain technology, which can be used to connect material placement objects and material display platforms and provide display position trading services for both. The above API can refer to the data on-chain interface provided by the blockchain network for material placement objects.

[0070] After receiving the placement request sent by the material placement object 21, the blockchain node can record the placement request in the transaction pool of the blockchain node. The data in this transaction pool can be encapsulated into a data block, and this data block can be broadcast to each blockchain node in the blockchain network for consensus processing. During the consensus process of the data block, the placement request in the data block can be executed. According to this placement request, the display position matching contract (pre-deployed smart contract) pre-deployed in the blockchain 20a can be called. Through this display position matching contract, all idle display positions (i.e., available display positions) in the blockchain can be queried, as well as the transaction values (which can be called pricing) of the idle display positions and the placement applicable population.

[0071] Furthermore, a display position matching algorithm can be embedded in the display position matching contract. Through the display position matching algorithm in the display position matching contract, the queried idle display positions can be matched with the placement request sent by the material placement object 21 to obtain the material display position corresponding to the placement request and the material display platform 31 to which the material display position belongs. Once the matching is successful, the display position matching contract can notify the material placement object 21 and the material display platform 31 of the matching result, that is, the display position information of the aforementioned material display position. The material placement object 21 and the material display platform 31 can conduct transaction confirmation for the successfully matched material display position. After both parties complete the transaction confirmation of the material display position, the material display platform 31 can obtain the material 11 placed by the material placement object 21 from the blockchain 20a and place the material display position with the material 11 displayed thereon to the target audience. For example, the material display position with the material 11 displayed thereon can be placed to users such as the interaction object a and the interaction object b. In this way, the material transaction efficiency between the material placement object and the material display platform can be improved.

[0072] Interactive objects can access the material display platform 31 through a browser or application software, and perform one or more operations such as clicking, browsing, collecting, sharing, purchasing, and liking on the materials 11 displayed in the material display positions. At this time, the material display platform 11 can collect the material interaction data of each interactive object for the material 11. Among them, the material interaction data at this time can include the exposure volume, exposure time, and placement location information after the material 11 is delivered to the interactive object, the click volume and click time of the interactive object on the material 11, the identification information of the delivery device, the conversion rate of the material 11, and one or more of the above operations, etc. The material display platform 31 can submit the collected material interaction data to the blockchain node, and the blockchain node can verify the material interaction data to ensure the accuracy and credibility of the material interaction data. After the verification is passed, the material interaction data can be added to the blockchain; the material interaction data stored in the blockchain can be authorized for use by the corresponding material delivery object. After the material interaction data is submitted to the blockchain node, rewards can be issued to the interactive objects according to the incentive price adjustment and incentive rules embedded in the interactive incentive contract. Since all the data generated during the material transaction process between the material delivery object and the material display platform can be stored in the blockchain, ensuring its immutability and traceability, thus ensuring the security and transparency of the data during the material transaction process. Similarly, assuming that the material 15 held by the material delivery object 23 is delivered to the material display platform 32, the material 15 displayed on this material display platform 32 can be delivered to users such as interactive object c and interactive object d, and details are not elaborated here.

[0073] Please refer to Figure 3 , Figure 3 is a flowchart showing a data processing method based on blockchain provided by an embodiment of the present application Figure 1 . It can be understood that this method can be executed by any blockchain node in the blockchain network. This blockchain node can be a terminal device or a server, etc., and the present application does not make any limitations in this regard. As Figure 3 shown, the data processing method based on blockchain can at least include the following steps S101 to step S104:

[0074] Step S101, receiving a placement request corresponding to a material delivery object, and calling the display position matching contract deployed in the blockchain according to the placement request to obtain the idle display positions stored in the blockchain; the placement request includes material content and placement requirement information.

[0075] In the embodiment of the present application, if a material delivery object wants to deliver the materials it holds to the material display platform for the purpose of promotion, it can send a placement request to the blockchain node in the blockchain network. For example, a placement request can be initiated in the blockchain digital trading platform. This placement request can carry the material content that the material delivery object wants to place (for example,Figure 2 The material 11) in the corresponding embodiment and the placement demand information corresponding to the content of this material. Among them, the placement demand information includes all placement demands of the material placement object for publishing the content of this material, such as but not limited to: material type, placement applicable population (or can be called target audience), placement time, placement area, placement budget, etc. The material type can be classified according to different classification criteria and media forms, and the material type can include but not limited to: brand advertisement, product advertisement, service advertisement, action advertisement, social welfare advertisement, media advertisement, outdoor advertisement, e-commerce advertisement, etc.

[0076] The blockchain node can submit the placement request to the display position matching contract pre-deployed in the blockchain, and obtain the idle display positions stored in the blockchain according to the execution logic in the display position matching contract. Among them, the display position matching contract can refer to the smart contract written after negotiation between the material placement object and the material display platform, and deploy it to the blockchain network; this display position matching contract can be written using a smart contract programming language (for example, Solidity programming language), and deployed through specific tools and processes; the material placement object can initiate a call to the display position matching contract to the blockchain network by sending a transaction (the placement request in the embodiment of this application is sent to the blockchain node in the form of a transaction), and the placement request can include the contract function to be executed and its parameters.

[0077] The idle display position can refer to the available display position in the blockchain, that is, the display position that has not been occupied by any material content for the time being. These idle display positions can refer to the display positions submitted to the blockchain by the material display platforms that have completed identity registration on the blockchain. For each display position submitted to the blockchain, the material display platform needs to provide the display position information corresponding to the display position. The display position information can include but not limited to: the display position of the display position, the display position size, the display position pricing, the applicable population of the display position, the display position type, traffic, etc.

[0078] In a feasible implementation manner, after receiving the placement request corresponding to the material placement object, the blockchain node can verify the placement request, and the placement request that passes the verification can continue to execute the subsequent steps. The verification of the placement request can include but not limited to: verification of the validity of the placement request, verification of the legality of the contract call, etc.; the verification of the validity of the placement request can include operations such as signature verification and permission verification of the material placement object; the verification of the legality of the contract call can refer to confirming the contract function to be executed and its parameters (for example, contract address, input parameters, etc.) in the placement request. If it is confirmed to be correct, it means that the contract call in the placement request is legal. If it is confirmed to be incorrect, it means that the contract call in the placement request is illegal.

[0079] Among them, the blockchain node can verify the signature of the received placement request to obtain the signature verification result corresponding to the placement request. If the signature verification result indicates that the signature verification is passed, the subsequent steps can be executed for the placement request. If the signature verification result indicates that the signature verification fails, the placement request can be determined as an invalid request, and a request failure prompt message can be returned to the material placement object. The failure prompt message can be used to notify the material placement object to initiate a placement request again. Among them, the signature verification process of the placement request can include: the blockchain node can obtain the object public key corresponding to the material placement object, decrypt the digital signature carried by the placement request to obtain the first digest information; the placement request can be hashed using a hashing algorithm (the hashing algorithm here can be the hashing algorithm actually used by the material placement object) to obtain the second digest information corresponding to the placement request; if the first digest information is the same as the second digest information, it means that the placement request passes the signature verification; if the first digest information is different from the second digest information, it means that the placement request fails the signature verification. It can be understood that the hashing algorithms involved in the embodiments of the present application can include but are not limited to: SHA-1, SHA-224, SHA-256, SHA-384, and SHA-512, and the present application does not make any limitations in this regard.

[0080] After the blockchain node receives the placement request or determines that the signature verification of the placement request is passed, it can perform permission verification on the material placement object that initiated the placement request. The permission verification process here can include but is not limited to: obtaining the placement object identifier carried by the placement request and obtaining the set of registered object identifiers in the blockchain; if the set of registered object identifiers contains the placement object identifier, it is determined that the placement request is a valid request, and the placement request is encapsulated into a data block; during the consensus process of the data block, the display position matching contract deployed in the blockchain is called according to the placement request to obtain the idle display positions stored in the blockchain.

[0081] Among them, the above-mentioned placement object identifier can refer to the information used to uniquely identify the material placement object; the set of registered object identifiers can include the identifier information corresponding to all material placement objects that have completed identity registration on the blockchain. If the set of registered object identifiers contains the placement object identifier of the material placement object, it means that the material placement object has completed identity registration in the blockchain, that is, the material placement object has the permission to initiate a placement request. If the set of registered object identifiers does not contain the placement object identifier of the material placement object, it means that the material placement object has not yet completed identity registration in the blockchain and needs to complete the identity registration and then initiate a placement request again.

[0082] If the identity registration of the material delivery target has been completed in the blockchain, the delivery request can be cached in the transaction pool of the blockchain node in the form of a transaction. The transactions in this transaction pool can be written into a new block. For example, the above delivery request can be encapsulated together with other transactions in the transaction pool into a data block (the data block here can be considered as a newly packaged block), and the data block is broadcast in the blockchain network so that all blockchain nodes participating in the consensus in the blockchain network can obtain the data block. During the consensus process of the data block, each blockchain node participating in the consensus can execute each transaction in the data block, of course, including the delivery request in the data block. When executing the delivery request, the display position matching contract deployed in the blockchain is called according to the delivery request, and the idle display positions stored in the blockchain are obtained according to the execution logic in the display position matching contract.

[0083] Step S102, perform matching processing on the idle display positions and the delivery requirement information through the display position matching contract to obtain the material display position corresponding to the delivery request, and send the material display position to the material delivery target and the material display platform; the material display platform refers to the platform used to provide the material display position.

[0084] Specifically, the number of idle display positions obtained from the blockchain can be one or more (for ease of understanding, the number of idle display positions can be denoted as M, and M is a positive integer). This application does not make any restrictions on this. When the number of idle display positions is one (at this time M = 1), the delivery request can be directly matched with this one idle display position; when the number of idle display positions is multiple (at this time M is an integer greater than 1), the delivery request can be sequentially matched with each idle display position, and then a suitable material display position is selected from the multiple idle display positions for the material content that the material delivery target needs to deliver.

[0085] Among them, the display position matching contract can embed a display position matching algorithm or rule, or a matching interface for calling a machine learning model (for ease of understanding, the machine learning model involved in the embodiments of this application can be called an identification model) can be defined in the display position matching contract. The identification model is called through this matching interface, and the M idle display positions and the delivery requirement information carried by the delivery request are matched according to the identification model, and then the material display position that best matches the delivery request can be determined from the M idle display positions. This application does not make any restrictions on the specific matching method of the display position.

[0086] Taking the example of embedding a display position matching algorithm or rule in a display position matching contract, the matching method between a placement request and an idle display position will be described. Specifically, through the matching logic in the display position matching contract (such as the above display position matching algorithm or rule), the placement requirement information carried in the placement request can be matched with the display position information corresponding to M idle display positions to obtain the matching evaluation values corresponding to the M idle display positions; according to the matching evaluation values corresponding to the M idle display positions, the material display position corresponding to the placement request is determined from the M idle display positions. At this time, the display position information corresponding to the material display position can be notified to the material placement object and the material display platform providing the material display position.

[0087] Among them, the matching evaluation value can be regarded as the matching score between each idle display position and the placement request; the higher the matching evaluation value, the more matching the placement request is with the idle display position; the lower the matching evaluation value, the less matching the placement request is with the idle display position. The number of obtained material display positions can be one or more. When the number of material display positions is one, the idle display position corresponding to the maximum matching evaluation value can be used as the material display position corresponding to the placement request; when the number of material display positions is multiple, the first t (t is a positive integer less than M) idle display positions can be selected as the material display positions corresponding to the placement request in the order from the largest to the smallest matching evaluation value.

[0088] Among them, the display position matching algorithm or rule embedded in the display position matching contract can include the hit rule between the placement request and the display position information corresponding to the idle display position. For example, assume that the placement requirement information carried in the placement request includes a placement budget, a placement target population, and a material type, and the display position information corresponding to each idle display position includes a display position type, a display position target population, and a display position pricing. Then the display position matching algorithm or rule embedded in the display position matching contract can include but is not limited to:

[0089] ① Describe the matching evaluation value between each idle display position and the placement request in a percentage system, and set the unit rule score corresponding to each hit rule. Among them, scores can be evenly distributed to each hit rule. For example, if there are 4 hit rules in the display position matching contract, the unit rule score assigned to each hit rule can be 25; or the corresponding scores can be assigned to each hit rule according to empirical data. For example, different hit rules can have different unit rule scores or the same unit rule scores, and this application does not make any limitations in this regard.

[0090] ② If the display type corresponding to the idle display slot matches the material type in the placement request, it means that the unit hit score of the idle display slot in the current hit rule is 30; if the display type corresponding to the idle display slot does not match the material type in the placement request, it means that the unit hit score of the idle display slot in the current hit rule is 0. Among them, if an idle display slot can be used to place the material content corresponding to a certain material type, then it can be determined that the display type corresponding to the idle display slot matches the material type. If the idle display slot does not support placing the material content corresponding to the material type, then it can be determined that the display type corresponding to the idle display slot does not match the material type. For example, assume that the display type is a video display slot (embedding material content in the video content, such as inserting material content before video playback, during video playback, or after video playback), and the material type is a video advertisement. Then it can be determined that the video display slot matches the video advertisement, and at this time, it can be determined that the unit hit score of the idle display slot in the current hit rule is 10, etc.

[0091] ③ If the display pricing corresponding to the idle display slot is less than or equal to the placement budget in the placement request, it means that the display pricing matches the placement budget. At this time, the unit hit score of the idle display slot in the current hit rule is 30. If the display pricing corresponding to the idle display slot is greater than the placement budget in the placement request, it means that the display pricing does not match the placement budget. At this time, the unit hit score of the idle display slot in the current hit rule is 0.

[0092] ④ If the target audience corresponding to the idle display slot is the same as the target audience for placement in the placement request, then it can be determined that the unit hit score of the idle display slot in the current hit rule is 40. If the target audience corresponding to the idle display slot includes the target audience for placement in the placement request (excluding the case of being exactly the same), then it can be determined that the unit hit score of the idle display slot in the current hit rule is 30. If there is an intersection between the target audience corresponding to the idle display slot and the target audience for placement in the placement request, then it can be determined that the unit hit score of the idle display slot in the current hit rule is 20. If there is no intersection between the target audience corresponding to the idle display slot and the target audience for placement in the placement request, then it can be determined that the unit hit score of the idle display slot in the current hit rule is 0.

[0093] Through the above display position matching algorithm or rule, the unit hit scores of the M idle display positions in each hit rule can be calculated. Furthermore, the unit hit scores can be added together to obtain the matching evaluation values between the placement requests and the M idle display positions respectively. Optionally, the unit hit scores can also be weighted and summed to obtain the matching evaluation values between the placement requests and the M idle display positions respectively; among them, the weight values corresponding to each hit rule can be set according to the empirical knowledge in the actual application scenario, and the present application does not limit this. The first t (where t can be a positive integer less than M) idle display positions can be selected from the M idle display positions as the material display positions corresponding to the placement requests according to the descending order of the matching evaluation values.

[0094] It can be understood that the display position matching rules in the above-described display position matching contract are only an example in the embodiments of the present application. The present application can set corresponding display position matching rules in the display position matching contract according to the actual requirements of the specific application scenario, and the present application does not limit this.

[0095] In the embodiments of the present application, the process of using the display position matching contract to match the idle display positions with the placement requests can essentially be understood as the execution process of the display position matching contract; in the above consensus process of the data block, each blockchain node participating in the consensus in the blockchain network can execute the program code in the display position matching contract one by one to obtain the contract execution result of the display position matching contract (here, the contract execution result can refer to the material display position matched for the placement request). The contract execution result (material display position) corresponding to the display position matching contract can be recorded in the data block, and the final state of the data block can be determined through the consensus mechanism in the blockchain network. When the data block reaches consensus in the blockchain network, the data block can be added to the blockchain. That is to say, the matched material display position can be added to the blockchain along with the data block, and then the contract execution result (material display position) can be notified to the material placement object and the material display platform providing the material display position.

[0096] Step S103, obtain the transaction data for the material display position, verify the validity of the first signature and the second signature in the transaction data, and obtain the transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform.

[0097] Specifically, after the material placement object and the material display platform receive the contract execution result (material display position) returned by the blockchain, the material placement object can initiate a transaction request for the material display position in the digital trading platform developed based on blockchain technology. The digital trading platform can obtain the transaction request initiated by the material placement object, encapsulate the transaction request into an initial transaction, and send a signature request corresponding to the initial transaction to the material placement object and the material display platform. After receiving the signature request corresponding to the initial transaction, the material placement object and the material display platform can confirm the initial transaction. After confirmation, the material placement object can use its own held object private key to sign the initial transaction to generate the first signature of the material placement object. Similarly, the material display platform can also use its own held platform private key to sign the initial transaction to generate the second signature of the material display platform. In the embodiment of the present application, the initial transaction carrying the first signature and the second signature can be referred to as the transaction data to be uploaded to the chain, and the digital trading platform can submit the transaction data to the blockchain nodes in the blockchain network.

[0098] Among them, the transaction data in the embodiment of the present application is a multi-signature transaction data, that is, the above initial transaction needs to be sent to two or more objects included in the signature list for signature. When each object in the signature list has signed the initial transaction, the digital trading platform can determine the initial transaction at this time as the transaction data. That is to say, the transaction data can contain the signatures of two or more objects. For example, the transaction data in the embodiment of the present application can contain the first signature of the material placement object and the second signature of the material display platform.

[0099] After receiving the transaction data, the blockchain nodes in the blockchain network can obtain the object public key corresponding to the material placement object and obtain the platform public key corresponding to the material display platform; verify the validity of the first signature in the transaction data according to the object public key to obtain the first signature verification result, and verify the validity of the second signature in the transaction data according to the platform public key to obtain the second signature verification result; if both the first signature verification result and the second signature verification result are verification passed results, it is determined that the transaction verification result corresponding to the transaction data indicates verification passed.

[0100] In other words, a blockchain node can verify the validity of the first signature and the second signature in the transaction data. Based on the verification results of the first signature and the second signature, it can determine whether the display position transaction between the material placement request and the material display platform is valid, that is, determine whether the transaction data is a valid transaction. If the first signature and the second signature in the transaction data pass the verification, it can be determined that the display position transaction between the material placement request and the material display platform is valid, that is, the transaction verification result corresponding to the transaction data indicates verification passed, and the transaction data is a valid transaction. If there is a signature that fails the verification among the first signature and the second signature, it can be determined that the display position transaction between the material placement request and the material display platform is invalid, that is, the transaction verification result corresponding to the transaction data indicates verification failed, and the transaction data is an invalid transaction, and the material placement object needs to initiate a transaction request again. It should be noted that the object private key and the object public key in the embodiments of the present application are represented as an asymmetric key pair generated by the material placement object, and the platform private key and the platform public key are represented as an asymmetric key pair generated by the material display platform.

[0101] Among them, the validity verification process of the first signature in the transaction data may include: decrypting the first signature in the transaction data using the object public key corresponding to the material placement object to obtain the third digest information; performing a hashing operation on the transaction content in the transaction data according to the hashing algorithm used when the material placement object generates the first signature to obtain the fourth digest information. If the third digest information and the fourth digest information are the same, it can be determined that the first signature verification result corresponding to the first signature is a verification passed result, that is, the first signature in the transaction data is a valid signature. If the third digest information and the fourth digest information are different, it can be determined that the first signature verification result corresponding to the first signature is a verification failed result, that is, the first signature in the transaction data is an invalid signature.

[0102] Similarly, the validity verification process of the second signature in the transaction data is similar to the validity verification process of the foregoing first signature, and its implementation process may include: decrypting the second signature using the platform public key corresponding to the material display platform to obtain the fifth digest information; performing a hashing operation on the transaction content in the transaction data according to the hashing algorithm used when the material display platform generates the second signature to obtain the sixth digest information. If the fifth digest information is the same as the sixth digest information, it is determined that the second signature verification result is a verification passed result; if the fifth digest information is different from the sixth digest information, it is determined that the second signature verification result is a verification failed result. According to the first signature verification result and the second signature verification result, the transaction verification result corresponding to the transaction data is obtained.

[0103] Optionally, in addition to the validity verification of the first signature and the second signature mentioned above, the verification process of the transaction data may also include other verifications, such as determining whether the asset balance of the on-chain address of the material delivery object can pay for this transaction, determining the legality of the transaction content in the transaction data, etc. Only when the above verifications are passed can the transaction data be processed on the chain.

[0104] Step S104: if the transaction verification result indicates that the verification is passed, the transaction data is stored in the blockchain, and the material content is transmitted to the material display platform, so that the material display platform displays the material content in the material display position.

[0105] Specifically, if the transaction verification result corresponding to the transaction data indicates that the verification is passed, the transaction data can be processed on the chain, such as encapsulating the transaction data into a new block (for example, block X, where the block height corresponding to block X is greater than the block height corresponding to the aforementioned data block). When consensus is reached on block X in the blockchain network, the transaction data can be added to the blockchain along with block X. When the transaction data is successfully added to the blockchain, the material content that the material delivery object needs to deliver can be transmitted to the material display platform. At this time, the material display platform can deliver the material content in the material display position and display the material content to relevant users (for example, the delivery applicable population in the delivery request).

[0106] When a user browses the material content displayed in the material display position in the material display platform, he can interact with the material content displayed in the material display position, such as clicking, collecting, sharing, purchasing or other interactive operations on the material content. The material display platform can obtain the user's material interaction data on the material content, and then submit the material interaction data to the blockchain node, and the blockchain node saves the material interaction data on the chain, that is, submits the material interaction data to the blockchain. Among them, in the embodiment of the present application, the user who interacts with the material content displayed in the material display position is called an interactive object.

[0107] In the embodiment of the present application, blockchain technology can be used to allow material delivery objects and material display platforms to conduct transactions directly, eliminating the intermediate links in traditional delivery scenarios and reducing transaction time; and all transaction records (including delivery requests, transaction requests, material interaction data, etc.) can be saved in the blockchain, and objects participating in material delivery can view and verify transaction records from the blockchain, ensuring that transactions between material delivery objects, material display platforms and interactive objects are fair and transparent.

[0108] See also Figure 4 , Figure 4 Schematic diagram of a delivery of material content provided in an embodiment of the present application. Figure 4As shown in the figure, if the material placement object 30a wants to place material content in the form of an advertisement, it can send a placement request (which can carry the material content and placement requirement information) to the blockchain node 30b in the blockchain network through the blockchain digital trading platform. For example, the material placement object 30a can initiate a placement request in the blockchain digital trading platform. The blockchain digital trading platform can encapsulate the placement request into a transaction (for example, transaction tx1) and send the transaction tx1 to the material placement object 30a. The material placement object 30a can sign the transaction content in the transaction tx1 to obtain the transaction tx1 carrying the signature of the material placement object 30a. The blockchain digital trading platform can obtain the signed transaction tx1 and submit the transaction tx1 to the blockchain node 30b in the blockchain network. The transaction tx1 submitted to the blockchain network can be packaged into a new block (for example, the aforementioned data block), and the data block can be broadcast in the blockchain network so that all blockchain nodes participating in consensus in the blockchain network can obtain the data block; each blockchain node participating in consensus can execute each transaction in the data block (including the transaction tx1 encapsulated by the placement request) and add the execution result of each transaction to the data block; among them, the execution result of the transaction tx1 (placement request) can be understood as the contract call execution result.

[0109] Taking the blockchain node 30b in the blockchain network as an example, the execution process of the transaction tx1 in the data block will be described below. During the consensus process of the data block, the blockchain node 30b can execute each transaction in the data block. Executing the transaction tx1 in the data block can essentially be understood as the processing of the placement request, that is, calling the display position matching contract deployed in the blockchain according to the placement request. It can be understood that the placement request initiated by the material placement object 30a can include the contract function to be executed and its parameters, such as the contract address and contract name of the display position matching contract. When executing the transaction tx1, the display position matching contract deployed in the blockchain can be called according to the contract name and contract address in the placement request, and the material content and placement requirement information in the placement request can be passed into the display position matching contract, and the code of the display position matching contract can be executed to obtain the contract execution result, which can represent the material display position matching the placement request.

[0110] Among them, the display position matching rules can be embedded in the display position matching contract, and appropriate material display positions can be selected for the placement request through these display position matching rules. Such as Figure 4As shown, the display position matching rules in the display position matching contract may include multiple hit rules (such as hit rule 1, hit rule 2, hit rule 3, ……), as well as the execution logic between these hit rules. The display position matching contract can query all idle display positions from the blockchain, such as idle display position 1, idle display position 2, idle display position 3, etc.; through the execution logic between the multiple hit rules included in the display position matching contract, the matching evaluation value between each idle display position and the placement request can be calculated. The calculation process of the matching evaluation value can refer to the relevant description in the foregoing step S102, and will not be elaborated here.

[0111] Such as Figure 4 As shown, assume that the matching evaluation value between idle display position 1 and the placement request calculated based on the display position matching contract is v1, the matching evaluation value between idle display position 2 and the placement request is v2, the matching evaluation value between idle display position 3 and the placement request is denoted as v3, etc.; then the idle display position corresponding to the maximum matching evaluation value can be used as the material display position that matches the placement request; for example, when v2 is the maximum value among all matching evaluation values, idle display position 2 can be used as the contract execution result of the display position matching contract, that is, the material display position. At this time, the contract execution result of the display position matching contract can be added to the data block; of course, the execution result of each transaction in the data block can be added to the data block. Other blockchain nodes in the blockchain network except blockchain node 30b can verify the validity of the data block after receiving the data block, and confirm whether the contract call included in the data block is successfully executed; if the transaction (such as contract call) included in the data block is successfully executed and the data block is determined to be a valid block, then it can be determined that the blockchain node agrees to add the data block to blockchain 30d. If the number of nodes in the blockchain network that agree to add the data block to blockchain 30d reaches the quantity threshold (this quantity threshold can be determined by the consensus mechanism in the blockchain network, such as the quantity threshold can be 2 / 3 of the number of blockchain nodes participating in the consensus in the blockchain network, etc., and this application does not make any limitations), then it can be determined that the data block reaches a consensus and the data block can be added to blockchain 30d.

[0112] After the data block is successfully added to blockchain 30d, blockchain node 30b can notify idle display position 2 (material display position) to the material placement object 30a and the material display platform 30c; where, the material display platform 30c refers to the media platform that provides idle display position 2. In other words, the contract execution result of the display position matching contract can be returned to the material placement object 30a and the material display platform 30c.

[0113] Further, after the material placement object 30a and the material display platform 30c obtain the contract execution result of the display position matching contract (i.e., the idle display position 2), the material placement object 30a can initiate a transaction request for the idle display position 2 in the blockchain digital trading platform. The blockchain digital trading platform can encapsulate the transaction request into transaction data, which can carry the first signature of the material placement object 30a and the second signature of the material display platform 30c. The first signature is a digital signature generated by the material placement object 30a using its own object private key to sign the transaction request, and the second signature is a digital signature generated by the material display platform 30c using its own platform private key to sign the transaction request. The blockchain digital trading platform can submit the transaction data carrying the first signature and the second signature to the blockchain node 30b. After receiving the transaction data, the blockchain node 30b can verify the validity of the first signature and the second signature in the transaction data. If both the first signature and the second signature pass the verification, the transaction data can be processed for chain entry and stored in the blockchain 30d. When the transaction data is successfully added to the blockchain 30d, it indicates that the transaction between the material placement object 30a and the material display platform 30c is completed. The material display platform 30c can obtain the material content that the material placement object 30a needs to place from the blockchain 30d and place the material in the idle display position 2.

[0114] In a feasible implementation manner, the blockchain digital trading platform involved in this application can provide functions such as material placement management, display position management, detection and analysis, precise targeting and placement, automated trading and settlement, and address management of the material placement object and the material display platform. Among them:

[0115] ① Material placement management: The material placement object can comprehensively manage the material placement by selecting the applicable population for placement, setting the material placement budget, managing the material content, etc. through the blockchain digital trading platform.

[0116] ② Display position management: The material display platform can provide display position information in the blockchain digital trading platform, and the display position information can include but is not limited to: display position location, display position size, display position pricing, etc. The display position information provided by the material display platform can be stored in the blockchain through the blockchain digital trading platform.

[0117] ③ Detection and analysis: The blockchain digital trading platform can provide tools for detecting the placement effect and data analysis, which can detect the data of material content display, click, conversion, etc. in real time, and evaluate and optimize the placement effect of the material content.

[0118] ④ Targeting and placement: The blockchain digital trading platform can perform targeted placement on the material content held by the material placement object, which helps the material placement object to place the material content to specific objects.

[0119] ⑤ Automated trading and settlement: The blockchain digital trading platform can adopt smart contracts and blockchain technology to achieve the automation and transparency of material placement. For example, a display position matching contract can be used to match the material placement object with the display platform for the display position. The display position transaction records can be stored in the blockchain, and a smart contract can be used to implement the settlement and payment processes between the material placement object and the display platform, etc.

[0120] ⑥ Address management of the material placement object and the display platform: The blockchain digital trading platform provides address management functions for the material placement object and the display platform, such as account balance management, data report generation, account recharge, etc.

[0121] In the embodiment of the present application, the material placement object can send a placement request (material content and placement requirement information) to the blockchain, call the pre-deployed display position matching contract in the blockchain according to the placement request, obtain the idle display positions in the blockchain through the display position matching contract, and perform matching processing on the idle display positions and the placement requirement information to obtain the material display position corresponding to the placement request. The matched material display position can be notified to the data placement object and the display platform. The data placement object and the display platform can trade the material display position. For example, they can send transaction data for the material display position to the blockchain, and the verified transaction data can be written into the blockchain to complete the transaction confirmation of the material display position, and then the material content can be transmitted to the material display position for display. That is to say, the matching of the display position is realized through the pre-deployed display position matching contract in the blockchain, reducing the transaction time, and thus improving the transaction efficiency of the display position; all transaction records during the data placement process can be stored on the blockchain distributed ledger, and the material placement object, the display platform, and the interaction object can all view and verify the transaction records in the blockchain to ensure the fairness and transparency of the transactions among the material placement object, the display platform, and the interaction object; the material placement object and the display platform can directly interact through the blockchain, eliminating one or more levels of agent intermediary links, avoiding the step-by-step profit-taking during the advertising placement process, and reducing the material placement cost.

[0122] Please refer to Figure 5 , Figure 5 which is a schematic flow chart of a data processing method based on blockchain provided by the embodiment of the present application. Figure 2 . It can be understood that this method can be executed by any blockchain node in the blockchain network. This blockchain node can be a terminal device or a server, etc., and the present application does not make any limitations in this regard. As Figure 5 shown, this data processing method based on blockchain can at least include the following steps S201 to step S212:

[0123] Step S201: Receive a registration request from the material display platform, verify the platform digital certificate carried in the registration request, and obtain a certificate verification result corresponding to the platform digital certificate. The platform digital certificate includes the platform public key and platform information corresponding to the material display platform, the validity period of the platform digital certificate, and the digital signature generated by the Certificate Authority (CA) for the platform digital certificate.

[0124] In the data placement scenario, both the material placement object and the material display platform need to register their identities on the blockchain. After completing the identity registration, the material placement object can submit a placement request carrying the material content and placement requirement information to the blockchain network, and the material display platform that has completed the identity registration can submit the display position information it provides to the blockchain network. In the embodiments of the present application, the identity registration processes of the material placement object and the material display platform on the blockchain are the same. For ease of understanding, the following describes the identity registration process of the material display platform on the blockchain.

[0125] Among them, the identity registration process of the material display platform on the blockchain may include but is not limited to: The material display platform can fill in the identity registration information in the blockchain digital trading platform. After filling it out, it can initiate a registration request and submit the registration request to the blockchain network. Among them, the identity registration information here may include but is not limited to: the platform digital certificate of the material display platform, Decentralized ID (DID), etc. Both the platform digital certificate and the decentralized identity here are the identity credentials of the material display platform, used to verify the identity and permissions of the material display platform. The blockchain nodes in the blockchain network can verify the identity registration information submitted by the material display platform. The verified identity registration information can be stored in the blockchain, and a registration success prompt message is returned to the material display platform; if the verification fails, a registration failure prompt message is returned to the material display platform.

[0126] Optionally, the following uses the platform digital certificate of the material display platform as an example to illustrate the registration information. The blockchain node can receive the registration request of the material display platform and obtain the platform digital certificate carried by the registration request. The platform digital certificate may include, but is not limited to, the platform public key corresponding to the material display platform, the validity period of the platform digital certificate, the platform information of the material display platform, and the digital signature generated by the certificate issuing authority (which is an authoritative institution responsible for issuing and managing digital certificates and can serve as a trusted third party in transactions and bear the responsibility of verifying the legality of the public key in the public key system) for the platform digital certificate. Among them, the platform public key is public and can be used to encrypt and decrypt data. It should be understood that all public keys involved in the embodiments of the present application (for example, the object public key of the material placement object) are public. The digital signature contained in the platform digital certificate is generated by the certificate issuing authority signing the platform digital certificate and can be used to ensure the integrity and authenticity of the platform digital certificate. The platform information of the material display platform may include identity information such as the name, organization, role, and identification information of the material display platform. The validity period of the platform digital certificate can be used to ensure the timely update and security of the platform digital certificate.

[0127] The blockchain node can verify whether the material display platform is legal and trustworthy through the platform digital certificate. Specifically, the blockchain node can obtain the institutional public key corresponding to the certificate issuing authority and use the institutional public key to verify the correctness of the digital signature contained in the platform digital certificate. The verification process is similar to the signature verification process described above and will not be elaborated here.

[0128] If it is determined through verification that the digital signature contained in the platform digital certificate is the correct signature issued by the certificate issuing authority, it means that the platform digital certificate is indeed the digital certificate issued by the certificate issuing authority for the material display platform, that is, the platform digital certificate is legal and trustworthy. At this time, the certificate verification result indicates that the platform digital certificate verification passes.

[0129] If it is determined through verification that the digital signature contained in the platform digital certificate is not the correct signature, it means that the platform digital certificate is not the digital certificate issued by the certificate issuing authority for the material display platform, that is, the platform digital certificate is untrustworthy. At this time, the certificate verification result indicates that the platform digital certificate verification fails.

[0130] Step S202, if the certificate verification result indicates that the verification passes, store the platform digital certificate in the blockchain and return a registration success prompt message to the material display platform.

[0131] Specifically, if the certificate verification result corresponding to the platform digital certificate indicates that the verification passes, the platform digital certificate of the material display platform can be processed for being uploaded to the blockchain and stored in the blockchain. Among them, the process of uploading the platform digital certificate to the blockchain is the same as the foregoingFigure 3 The process of uploading the transaction data in the corresponding embodiment is the same and will not be elaborated here.

[0132] If the platform digital certificate is successfully stored on the blockchain (for example, the block encapsulating the platform digital certificate reaches a consensus), a registration success prompt message can be returned to the material display platform. This registration success prompt message can be used to notify the material display platform that the identity registration on the blockchain has been completed. If the storage of the platform digital certificate on the blockchain fails (for example, the block encapsulating the platform digital certificate does not reach a consensus), a registration failure prompt message can be returned to the material display platform. This registration failure prompt message can be used to notify the material display platform that the identity registration on the blockchain has not been completed.

[0133] Optionally, if the certificate verification result corresponding to the platform digital certificate indicates verification failure, a certificate verification failure message can be returned to the material display platform. This certificate verification failure message can be used to notify the material display platform that it needs to resubmit the platform registration information (for example, it can resubmit the platform digital certificate, or submit a decentralized identity, etc.) for identity authentication.

[0134] Step S203: Receive the display position information held by the material display platform and write the display position information into the blockchain; the display position information includes the display position type, the display position placement range, and the display position transaction value.

[0135] Specifically, the material display platform that has completed identity registration on the blockchain can store the display position information it provides into the blockchain. For example, the material display platform can define the display position type, the display position transaction value (which can also be called the display position pricing), and the display position placement range (which can include the target audience for the display position, the display location, the display position size, etc.) for the display positions it provides in the blockchain digital trading platform. When the material display platform submits the display position information it provides in the blockchain digital trading platform, the blockchain digital trading platform can encapsulate the display position information provided by the material display platform as transaction tx2 and send this transaction tx2 to the blockchain nodes in the blockchain network. Among them, this transaction tx2 can contain the display position information provided by the material display platform and the digital signature of the material display platform for the display position information; optionally, this transaction tx2 can also include the identification information of the display position provided by the material display platform, and this identification information can be used to uniquely represent the display position, such as the identification information can be a number or other characters, etc.

[0136] A blockchain node can receive transaction tx2 sent by a blockchain digital trading platform. In essence, it can be understood as receiving the display position information held by the material display platform. Furthermore, it can encapsulate transaction tx2 into a block. When the block reaches consensus in the blockchain network, the block containing transaction tx2 can be added to the blockchain, which means that the display position information provided by the material display platform is successfully stored in the blockchain.

[0137] It should be noted that for the display position information initially submitted by the material display platform to the blockchain node, the display positions corresponding to this display position information can all be called idle display positions. When there is transaction data associated with a certain display position (for example, display position 1) stored in the blockchain and the current system time is within the valid transaction period of this transaction data, it can be determined that the material content has been placed in this display position 1, that is, this display position 1 has been occupied. When there is no transaction data associated with display position 1 stored in the blockchain, it can be determined that this display position 1 is an idle display position; or, when there is transaction data associated with display position 1 stored in the blockchain and the current system time is not within the valid transaction period of the transaction data, it can be determined that this display position 1 is an idle display position.

[0138] Step S204: Receive the placement request corresponding to the material placement object, and call the display position matching contract deployed in the blockchain according to the placement request to obtain the idle display positions stored in the blockchain; the placement request includes material content and placement requirement information.

[0139] In the embodiment of the present application, the object that needs to perform data placement can be called a material placement object. After the material placement object completes identity registration on the blockchain, it can initiate a placement request in the blockchain trading platform. The blockchain trading platform encapsulates the placement request initiated by the material placement request into a transaction (for example, transaction tx1) and submits it to the blockchain network. Among them, the identity registration process of the material placement object on the blockchain can refer to the aforementioned identity registration process of the material display platform on the blockchain. The processing process of the blockchain node in the blockchain network for the placement request can refer to the relevant description of step S101 in the corresponding embodiment described above, and will not be elaborated here. Figure 3 The relevant description of step S101 in the corresponding embodiment, and will not be elaborated here.

[0140] Step S205: Call the recognition model through the matching interface in the display position matching contract, convert the placement requirement information into material features, and convert the display position information corresponding to each of the M idle display positions into display position features.

[0141] Among them, in the embodiment of this application, taking the definition of a matching interface for calling an identification model in a display position matching contract as an example, the matching method between a placement request and an idle display position is described. Among them, the identification model is a machine learning model pre-trained with positive and negative samples, and the network structure of the identification model is not limited in this application. The positive samples can be composed of sample placement requirements and sample display position information that are successfully matched, and the negative samples can be composed of sample placement requirements and sample display position information that are unsuccessfully matched. The sample placement requirement may refer to the placement requirement information corresponding to the collected sample materials, and the sample display position information may refer to the display position information corresponding to the collected display positions. The sample placement requirement in the positive sample is for the sample materials that have been placed, and the sample display position information in the positive sample is for the occupied display positions; the sample placement requirement in the negative sample can be for the sample materials that have been placed or for the sample materials that have not been placed yet, and the sample display position information in the negative sample can be for the occupied display positions or for the unoccupied display positions (i.e., idle display positions), and this application does not make any limitations on this.

[0142] Specifically, the program code in the display position matching contract can be executed to call the identification model through the matching interface defined in the display position matching contract. The identification model can read the display position information of all idle display positions and the placement requirement information carried by the placement request. Since the placement requirement information carried by the placement request and the display position information corresponding to each idle display position are usually described in natural language, in order to facilitate machine understanding, it is necessary to convert the placement requirement information carried by the placement request and the display position information corresponding to each idle display position into feature vectors. In the embodiment of this application, the placement requirement information carried by the placement request can be converted into material features, and the display position information corresponding to each display position can be converted into display position features.

[0143] Please refer to Figure 6 , Figure 6 which is a schematic diagram of a display position matching process provided by the embodiment of this application. As Figure 6 shown, the material placement object 40a can send a placement request to the blockchain node 40b (which can be any blockchain node in the blockchain network) in the form of a transaction through the blockchain digital trading platform. The blockchain node 40b can receive the placement request corresponding to the material placement object 40a. After the placement request is verified and passed, the display position matching contract can be called according to the placement request, and the identification model 40c can be called based on the matching interface defined in the display position matching contract. The identification model 40c can read the placement requirement information obtained from the display position matching contract and the display position information corresponding to all idle display positions, such as the display position information corresponding to idle display position 1, idle display position 2, etc.

[0144] Further, word segmentation processing can be performed on the placement demand information. Each unit character after word segmentation processing is converted into a unit vector. The unit vectors corresponding to all unit characters in the placement demand information are concatenated, and dimensionality reduction processing is performed on the concatenated unit vectors to obtain the material features corresponding to the placement demand information. Similarly, in the same way, the display position information corresponding to each idle display position can be converted into a display position feature, that is, one idle display position corresponds to one display position feature. As Figure 6 shown, the display position information corresponding to the idle display position 1 can be converted into the display position feature 1, and the display position information corresponding to the idle display position 2 can be converted into the display position feature 2, etc. It should be noted that the embodiments of the present application can adopt existing related technologies to convert the placement demand information into material features and convert the display position information into display position features, and the present application does not make any limitations in this regard.

[0145] Step S206: Combine the material features with the display position features corresponding to each idle display position to obtain the concatenated features associated with each idle display position, and input the concatenated features into the recognition model.

[0146] Specifically, the material features can be sequentially concatenated with the display position features corresponding to each idle display position to obtain a concatenated feature. That is to say, one idle display position corresponds to one concatenated feature, and each concatenated feature can be sequentially input into the recognition model. As Figure 6 shown, the material features corresponding to the placement demand information can be concatenated with the display position feature 1 corresponding to the idle display position 1 to obtain the concatenated feature 1; the material features are concatenated with the display position feature 2 to obtain the concatenated feature 2; the concatenated feature 1 and the concatenated feature 2 here can be sequentially used as input data and input into the recognition model 40c.

[0147] Step S207: Perform encoding processing on the concatenated features through the feature extraction layer in the recognition model to obtain the encoded features corresponding to each idle display position, and classify the encoded features corresponding to each idle display position to obtain the matching confidence corresponding to each idle display position.

[0148] Specifically, as Figure 6As shown, after the splicing feature 1 is input into the recognition model 40c, the feature extraction layer in the recognition model can encode the splicing feature 1 to obtain the encoded feature corresponding to the splicing feature 1. Classifying the encoded feature corresponding to the splicing feature 1 can obtain the matching confidence p1 between the idle display position 1 and the placement request (or substantially the placement range information carried by the placement request). Among them, the feature extraction layer in the recognition model 40c can be a convolutional layer, and the classifier can be a support vector machine or a softmax (normalization) layer, etc. The present application does not limit the network structure of the recognition model 40c. By using the same processing method as described above, the matching confidence between each idle display position and the placement request can be sequentially output by the recognition model 40c. For example, the matching confidence between the idle display position 2 and the placement request is p2, and the matching confidence between the idle display position 3 and the placement request is p3, etc.

[0149] Optionally, in a feasible implementation manner, all the splicing features formed by splicing the respective display position features and the material features can be input into the recognition model 40c in batches, and the multiple input splicing features can be processed in parallel in the recognition model 40c, so that the matching confidences between multiple idle display positions and the placement request can be output at one time. Among them, the number of splicing features input into the recognition model 40c each time can be set according to actual needs, and the present application does not limit this.

[0150] Step S208: Determine the material display position corresponding to the placement request from the M idle display positions according to the matching confidences corresponding to the M idle display positions, and send the material display position to the material placement object and the material display platform.

[0151] Specifically, according to the matching confidences between each idle display position and the placement request, the first t (t is a positive integer less than M, such as t can take values 1, 2,...) idle display positions can be selected from the M idle display positions as the material display position corresponding to the placement request. As Figure 6 shown, assuming that the number t of the material display positions is 1, then the idle display position 2 corresponding to the maximum matching confidence can be used as the material display position corresponding to the placement request. At this time, the idle display position 2 can be regarded as the contract execution result corresponding to the display position matching contract. The idle display position 2 can be notified to the material placement object 40a and the material display platform 40d as the contract execution result. The material display platform 40d is the media platform that provides the idle display position 2.

[0152] Step S209: Obtain the transaction data for the material display position, and verify the validity of the first signature and the second signature in the transaction data to obtain the transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform.

[0153] Step S210: If the transaction verification result indicates that the verification is passed, the transaction data is stored in the blockchain, and the material content is transmitted to the material display platform, so that the material display platform displays the material content in the material display position.

[0154] The specific implementation process of step S209 and step S210 can be found in the above Figure 3 The relevant descriptions in step S103 and step S104 of the corresponding embodiment are not repeated here.

[0155] Step S211, receiving the material interaction data submitted by the material display platform, and calling the interactive incentive contract deployed in the blockchain according to the material interaction data; the material interaction data is generated by the material display platform according to the triggering operation of multiple interactive objects on the material content in the material display position.

[0156] Specifically, after the material display platform displays the material content in the material display position to relevant users (for example, the applicable population in the delivery request), the user can click, browse, collect, share, purchase or other trigger operations (interactive operations) on the material content in the material display position. Among them, the user who interacts with the material content in the material display position can be called an interactive object. The material display platform can collect the interactive data generated by the interactive object triggering the material content in the material display position, that is, collect the interactive data corresponding to all interactive objects, and combine the collected interactive data corresponding to multiple interactive objects into material interactive data. The material display platform can submit the collected material interactive data to the blockchain network.

[0157] The blockchain nodes in the blockchain network can receive the material interaction data submitted by the material display platform, and can call the interactive incentive contract pre-deployed on the blockchain according to the material interaction data, and can issue corresponding rewards to the interactive objects that meet the incentive conditions according to the interactive incentive contract. Among them, the incentive strategy can be embedded in the interactive incentive contract, and the incentive strategy can include incentive conditions and reward issuance rules corresponding to the incentive conditions. The number of incentive conditions included in the interactive incentive contract can be one or more, such as incentive condition 1, incentive condition 2, incentive condition 3, ..., and different incentive conditions can correspond to different rewards. For example, incentive condition 1 can correspond to the rebate issuance rules, incentive condition 2 can correspond to the cash red envelope issuance rules, and incentive condition 3 can correspond to the token issuance rules, etc.; the token here can include but is not limited to coupons, discount coupons and other related discounts, as well as the scope of use of the token, the effective time, the object of use, etc. These issued rebates, red envelopes, coupons and discount coupons can be used in subsequent transactions.

[0158] Step S212: In the material interaction data, obtain the unit interaction data corresponding to interaction object a among multiple interaction objects. If the unit interaction data corresponding to interaction object a meets the incentive conditions in the interaction incentive contract, then issue rewards to interaction object a according to the incentive strategy in the interaction incentive contract.

[0159] Specifically, for any one of the multiple interaction objects (e.g., interaction object a) that interact with the material content in the material display position, the unit interaction data corresponding to interaction object a can be obtained from the material interaction data submitted by the material display platform; the unit interaction data here can refer to the interaction data generated when interaction object a interacts with the material content in the material display position in the material interaction data. If the unit interaction data corresponding to interaction object a meets any one of the incentive conditions in the interaction incentive contract, then rewards can be issued to this interaction object a according to the reward distribution rules corresponding to the incentive conditions it meets. The material interaction data submitted by the material display platform can be stored in the blockchain.

[0160] Optionally, the material display platform can, based on the collected material interaction data, count the material interaction results corresponding to the material content in the material display position. The material interaction results can include, but are not limited to, data such as the click-through rate and conversion rate of the material content. The material interaction results can be saved on the chain through blockchain technology, that is, the material interaction results can be stored in the blockchain.

[0161] Optionally, a settlement contract can be written according to the settlement methods and rules formulated by the material placement object and the material display platform, and the settlement contract can be deployed in the blockchain. Through the settlement contract, automatic settlement and payment can be carried out to ensure the fairness and transparency of transactions in the data placement scenario.

[0162] Optionally, the material placement object can obtain the material interaction data corresponding to the material content it has placed from the blockchain through the blockchain digital trading platform. Based on these material interaction data, data analysis and feedback can be carried out to optimize the material placement strategy, which is beneficial to improving the material placement effect.

[0163] In the embodiments of the present application, the material placement object can send a placement request (material content and placement requirement information) to the blockchain, call the pre-deployed display position matching contract in the blockchain according to the placement request, obtain the idle display positions in the blockchain through the display position matching contract, and perform matching processing on the idle display positions and the placement requirement information to obtain the material display positions corresponding to the placement request. The matched material display positions can be notified to the data placement object and the material display platform. The data placement object and the material display platform can trade the material display positions. For example, they can send transaction data for the material display positions to the blockchain, and the verified transaction data can be written into the blockchain to complete the transaction confirmation of the material display positions, and then the material content can be transmitted to the material display positions for display. That is to say, the matching of the display positions is realized through the pre-deployed display position matching contract in the blockchain, reducing the transaction time, and thus improving the transaction efficiency of the display positions; all transaction records in the data placement process can be stored on the blockchain distributed ledger, and the material placement object, the material display platform, and the interaction object can all view and verify the transaction records in the blockchain to ensure the fairness and transparency of the transactions among the material placement object, the material display platform, and the interaction object; the material placement object and the material display platform can directly interact through the blockchain, eliminating one or more levels of intermediary links of agents, avoiding the step-by-step profit-taking in the advertising placement process, and reducing the material placement cost.

[0164] It can be understood that in the specific implementation manner of the present application, it may involve relevant information such as the identity authentication information, account balance, and account of the material placement object, the material display platform, and the interaction object. When the above embodiments of the present application are applied to specific products or technologies, the permission or consent of the relevant users needs to be obtained, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of the relevant regions.

[0165] Please refer to Figure 7 , Figure 7 is a schematic structural diagram of a data processing device based on the blockchain provided by the embodiments of the present application. It can be understood that the data processing device 1 based on the blockchain can be applied to any blockchain node in the blockchain network; as Figure 7 shown, the data processing device 1 based on the blockchain may include: a placement request receiving module 101, a display position matching module 102, a transaction verification module 103, and a material placement module 104;

[0166] The placement request receiving module 101 is configured to receive the placement request corresponding to the material placement object, call the pre-deployed display position matching contract in the blockchain according to the placement request, and obtain the idle display positions stored in the blockchain; the placement request includes the material content and the placement requirement information;

[0167] The display position matching module 102 is used to perform matching processing on the idle display positions and the placement demand information through the display position matching contract, obtain the material display positions corresponding to the placement requests, and send the material display positions to the material placement object and the material display platform; the material display platform refers to the platform used to provide the material display positions;

[0168] The transaction verification module 103 is used to obtain the transaction data for the material display positions, verify the validity of the first signature and the second signature in the transaction data, and obtain the transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform;

[0169] The material placement module 104 is used to, if the transaction verification result indicates that the verification is passed, store the transaction data in the blockchain and transmit the material content to the material display platform, so that the material display platform can display the material content in the material display positions.

[0170] In a feasible implementation manner, the placement request receiving module 101 is specifically used for:

[0171] Receiving the placement request corresponding to the material placement object, obtaining the placement object identifier carried by the placement request, and obtaining the set of registered object identifiers in the blockchain;

[0172] If the set of registered object identifiers contains the placement object identifier, determining that the placement request is a valid request, and encapsulating the placement request into a data block;

[0173] In the consensus process of the data block, calling the display position matching contract deployed in the blockchain according to the placement request to obtain the idle display positions stored in the blockchain.

[0174] In a feasible implementation manner, the blockchain-based data processing device 1 may further include: a registration request receiving module 105, a registration success module 106, and a display position on-chain module 107;

[0175] The registration request receiving module 105 is used to receive the registration request of the material display platform, verify the platform digital certificate carried by the registration request, and obtain the certificate verification result corresponding to the platform digital certificate; the platform digital certificate includes the platform public key and platform information corresponding to the material display platform, the validity period of the platform digital certificate, and the digital signature generated by the certificate issuing authority for the platform digital certificate;

[0176] The registration success module 106 is used to, if the certificate verification result indicates that the verification is passed, store the platform digital certificate in the blockchain and return a registration success prompt message to the material display platform;

[0177] The display position on-chain module 107 is used to receive the display position information held by the material display platform and write the display position information into the blockchain; the display position information includes the display position type, the display position delivery range, and the display position transaction value.

[0178] In a feasible implementation manner, the number of idle display positions is M, and M is an integer greater than 1;

[0179] The display position matching module 102 performs matching processing on the idle display positions and the delivery demand information through the display position matching contract to obtain the material display position corresponding to the delivery request, including:

[0180] Through the matching logic in the display position matching contract, perform matching processing on the delivery demand information and the display position information corresponding to the M idle display positions to obtain the matching evaluation values corresponding to the M idle display positions;

[0181] According to the matching evaluation values corresponding to the M idle display positions, determine the material display position corresponding to the delivery request from the M idle display positions.

[0182] In a feasible implementation manner, the number of idle display positions is M, and M is an integer greater than 1;

[0183] The display position matching module 102 performs matching processing on the idle display positions and the delivery demand information through the display position matching contract to obtain the material display position corresponding to the delivery request, including:

[0184] By invoking the recognition model through the matching interface in the display position matching contract, convert the delivery demand information into material features, and convert the display position information corresponding to each of the M idle display positions into display position features;

[0185] Combine the material features with the display position features corresponding to each idle display position to obtain the splicing features associated with each idle display position, and input the splicing features into the recognition model;

[0186] Encode the splicing features through the feature extraction layer in the recognition model to obtain the encoded features corresponding to each idle display position, and classify the encoded features corresponding to each idle display position to obtain the matching confidence corresponding to each idle display position;

[0187] According to the matching confidence corresponding to the M idle display positions, determine the material display position corresponding to the delivery request from the M idle display positions.

[0188] In a feasible implementation manner, the transaction verification module 103 validates the effectiveness of the first signature and the second signature in the transaction data to obtain the transaction verification result corresponding to the transaction data, including:

[0189] Obtain the object public key corresponding to the material placement object and the platform public key corresponding to the material display platform;

[0190] Verify the validity of the first signature in the transaction data according to the object public key to obtain the first signature verification result, and verify the validity of the second signature in the transaction data according to the platform public key to obtain the second signature verification result;

[0191] If both the first signature verification result and the second signature verification result are verification passed results, then determine that the transaction verification result corresponding to the transaction data indicates verification passed.

[0192] In a feasible implementation manner, the blockchain-based data processing device 1 may further include: an interaction data receiving module 108 and an incentive module 109;

[0193] The interaction data receiving module 108 is configured to receive the material interaction data submitted by the material display platform and call the interaction incentive contract deployed in the blockchain according to the material interaction data; the material interaction data is generated by the material display platform according to the triggering operations of multiple interaction objects on the material content in the material display position;

[0194] The incentive module 109 is configured to obtain the unit interaction data corresponding to the interaction object a among the multiple interaction objects in the material interaction data. If the unit interaction data corresponding to the interaction object a meets the incentive conditions in the interaction incentive contract, then issue a reward to the interaction object a according to the incentive strategy in the interaction incentive contract.

[0195] According to an embodiment of the present application, the steps involved in the foregoing blockchain-based data processing method may be Figure 7 executed by each module in the blockchain-based data processing device 1 shown. For example, Figure 3 the step S101 shown may be executed by Figure 7 the placement request receiving module 101 shown, Figure 3 the step S102 shown may be executed by Figure 7 the display position matching module 102 shown, Figure 3 the step S103 shown may be executed by Figure 7 the transaction verification module 103 shown, Figure 3 the step S104 shown may be executed by Figure 7 the material placement module 104 shown, etc.

[0196] According to an embodiment of the present application, Figure 7Each module in the blockchain-based data processing device 1 shown can be separately or wholly combined into one or several modules to form, or a certain (some) module among them can be further split into at least two units with smaller functions, which can achieve the same operations without affecting the realization of the technical effects of the embodiments of this application. The above modules are divided based on logical functions. In practical applications, the function of one module can also be realized by at least two modules, or the functions of at least two modules are realized by one module. In other embodiments of this application, Figure 7 the blockchain-based data processing device 1 shown can also include other modules. In practical applications, these functions can also be assisted by other modules to be realized, and can be realized by the cooperation of at least two modules.

[0197] In the embodiments of this application, the material placement object can send a placement request (material content and placement requirement information) to the blockchain, call the display position matching contract pre-deployed in the blockchain according to the placement request, obtain the idle display positions in the blockchain through the display position matching contract, and perform matching processing on the idle display positions and the placement requirement information to obtain the material display positions corresponding to the placement request. The matched material display positions can be notified to the data placement object and the material display platform. The data placement object and the material display platform can conduct transactions on the material display positions. For example, they can send transaction data for the material display positions to the blockchain, and the verified transaction data can be written into the blockchain to complete the transaction confirmation of the material display positions, and then the material content is transmitted to the material display positions for display. That is to say, the matching of display positions is realized through the display position matching contract pre-deployed in the blockchain, reducing the transaction time, and thus improving the transaction efficiency of display positions; all transaction records during the data placement process can be stored on the blockchain distributed ledger, and the material placement object, the material display platform, and the interaction object can all view and verify the transaction records in the blockchain to ensure the fairness and transparency of transactions among the material placement object, the material display platform, and the interaction object.

[0198] Please refer to Figure 8 , Figure 8 which is a schematic structural diagram of a computer device provided by the embodiments of this application. As Figure 8As shown, the computer device 1000 can be a terminal device or a server, and there will be no limitation here. For the convenience of understanding, this application takes the computer device as a terminal device as an example. The computer device 1000 may include: a processor 1001, a network interface 1004, and a memory 1005. In addition, the computer device 1000 may further include: a user interface 1003 and at least one communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. Among them, the user interface 1003 may further include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The memory 1005 may optionally be at least one storage device located far from the aforementioned processor 1001. As Figure 8 shown, the memory 1005, as a computer-readable storage medium, may include an operating system, a network communication module, a user interface module, and a device control application program.

[0199] Among them, the network interface 1004 in the computer device 1000 may further provide a network communication function, and the optional user interface 1003 may further include a display screen and a keyboard. In Figure 8 the computer device 1000 shown, the network interface 1004 can provide a network communication function; while the user interface 1003 is mainly used to provide an input interface for the user; and the processor 1001 can be used to call the device control application program stored in the memory 1005 to implement:

[0200] Receiving a placement request corresponding to the material placement object, calling the display position matching contract deployed in the blockchain according to the placement request, and obtaining the idle display positions stored in the blockchain; the placement request includes material content and placement requirement information;

[0201] Performing a matching process on the idle display positions and the placement requirement information through the display position matching contract to obtain the material display position corresponding to the placement request, and sending the material display position to the material placement object and the material display platform; the material display platform refers to the platform for providing material display positions;

[0202] Obtaining transaction data for the material display position, validating the effectiveness of the first signature and the second signature in the transaction data to obtain a transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform;

[0203] If the transaction verification result indicates successful verification, the transaction data is stored in the blockchain, and the material content is transmitted to the material display platform, so that the material display platform can display the material content in the material display position.

[0204] It should be understood that the computer device 1000 described in the embodiments of the present application can execute the description of the blockchain-based data processing method in any of the foregoing Figure 3 , Figure 5 corresponding embodiments, and can also execute the description of the blockchain-based data processing device 1 in the foregoing Figure 7 corresponding embodiments, which will not be elaborated here. In addition, the description of the beneficial effects of using the same method will not be elaborated either.

[0205] In addition, it should be noted here that: the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium stores the computer program executed by the foregoing blockchain-based data processing device 1, and the computer program includes program instructions. When the processor executes the program instructions, it can execute the description of the blockchain-based data processing method in any of the foregoing Figure 3 , Figure 5 corresponding embodiments, so it will not be elaborated here. In addition, the description of the beneficial effects of using the same method will not be elaborated either. For the technical details not disclosed in the embodiments of the computer-readable storage medium involved in the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions can be deployed to be executed on a computer device, or on multiple computer devices located at one place, or, on multiple computer devices distributed at multiple places and interconnected through a communication network. The multiple computer devices distributed at multiple places and interconnected through a communication network can form a blockchain network.

[0206] In addition, it should be noted that: the embodiments of the present application also provide a computer program product or a computer program. The computer program product or the computer program may include computer instructions, and the computer instructions can be stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor can execute the computer instructions, so that the computer device can execute the description of the blockchain-based data processing method in any of the foregoing Figure 3 , Figure 5 corresponding embodiments, so it will not be elaborated here. In addition, the description of the beneficial effects of using the same method will not be elaborated either. For the technical details not disclosed in the embodiments of the computer program product or the computer program involved in the present application, please refer to the description of the method embodiments of the present application.

[0207] In the description, claims, and drawings of the embodiments of this application, terms such as "first" and "second" are used to distinguish different media contents, rather than to describe a specific order. In addition, the term "including" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, device, product, or equipment that includes a series of steps or units is not limited to the listed steps or modules, but optionally further includes steps or modules not listed, or optionally further includes other step units inherent to these processes, methods, devices, products, or equipment.

[0208] Those of ordinary skill in the art can realize that the units and algorithm steps of the examples described in combination with the embodiments disclosed herein can be implemented by electronic hardware, computer software, or a combination of the two. To clearly illustrate the interchangeability of hardware and software, the composition and steps of the examples have been generally described according to functions in the above description. Whether these functions are executed in a hardware or software manner depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0209] The methods and related devices provided by the embodiments of this application are described with reference to the method flowcharts and / or structural schematic diagrams provided by the embodiments of this application. Specifically, each process and / or block of the method flowchart and / or structural schematic diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to the processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing devices to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing devices generate a device for implementing the functions specified in Figure 1 one process or multiple processes and / or structural schematic Figure 1 one block or multiple blocks. These computer program instructions can also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer-readable memory generate a manufactured product including an instruction device, and the instruction device implements the functions specified in Figure 1 one process or multiple processes and / or structural schematic Figure 1 one block or multiple blocks. These computer program instructions can also be loaded onto a computer or other programmable data processing device, so that a series of operation steps are executed on the computer or other programmable device to generate a computer-implemented process. Thus, the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in Figure 1 one process or multiple processes and / or structural schematic one block or multiple blocks.

[0210] In the embodiments of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be implemented in whole or in part by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit that includes the function of that module or unit.

[0211] The above-disclosed are only the preferred embodiments of the present application. Of course, the scope of rights of the present application cannot be limited thereby. Therefore, equivalent changes made according to the claims of the present application still fall within the scope covered by the present application.

Claims

1. A blockchain-based data processing method, characterized in that, Including: Receiving a placement request corresponding to a material placement object, invoking a display position matching contract deployed in the blockchain according to the placement request, and obtaining idle display positions stored in the blockchain; the placement request includes material content and placement requirement information; Performing matching processing on the idle display positions and the placement requirement information through the display position matching contract to obtain a material display position corresponding to the placement request, and sending the material display position to the material placement object and the material display platform; the material display platform refers to a platform for providing the material display position; Obtaining transaction data for the material display position, validating the effectiveness of a first signature and a second signature in the transaction data to obtain a transaction verification result corresponding to the transaction data; the first signature is a digital signature of the material placement object, and the second signature is a digital signature of the material display platform; If the transaction verification result indicates verification passed, storing the transaction data in the blockchain and transmitting the material content to the material display platform so that the material display platform displays the material content in the material display position.

2. The method according to claim 1, wherein The receiving a placement request corresponding to a material placement object, invoking a display position matching contract deployed in the blockchain according to the placement request, and obtaining idle display positions stored in the blockchain includes: Receiving a placement request corresponding to a material placement object, obtaining a placement object identifier carried by the placement request, and obtaining a set of registered object identifiers in the blockchain; If the set of registered object identifiers contains the placement object identifier, determining that the placement request is a valid request and encapsulating the placement request into a data block; During the consensus process of the data block, invoking a display position matching contract deployed in the blockchain according to the placement request and obtaining idle display positions stored in the blockchain.

3. The method according to claim 1, wherein The method further includes: Receiving a registration request from the material display platform, validating a platform digital certificate carried by the registration request to obtain a certificate verification result corresponding to the platform digital certificate; the platform digital certificate includes a platform public key and platform information corresponding to the material display platform, a validity period of the platform digital certificate, and a digital signature generated by a certificate issuing authority for the platform digital certificate; If the certificate verification result indicates verification passed, storing the platform digital certificate in the blockchain and returning a registration success prompt message to the material display platform; Receiving display position information held by the material display platform and writing the display position information into the blockchain; the display position information includes a display position type, a display position placement range, and a display position transaction value.

4. The method according to claim 1, characterized in that The number of the idle display positions is M, and M is an integer greater than 1; The performing matching processing on the idle display positions and the placement requirement information through the display position matching contract to obtain a material display position corresponding to the placement request includes: Through the matching logic in the display position matching contract, perform matching processing on the placement demand information and the display position information corresponding to M idle display positions to obtain the matching evaluation values corresponding to the M idle display positions; According to the matching evaluation values corresponding to the M idle display positions, determine the material display position corresponding to the placement request from the M idle display positions.

5. The method according to claim 1, wherein The number of the idle display positions is M, and M is an integer greater than 1; The matching processing of the idle display positions and the placement demand information through the display position matching contract to obtain the material display position corresponding to the placement request includes: Call the recognition model through the matching interface in the display position matching contract, convert the placement demand information into material features, and convert the display position information corresponding to each of the M idle display positions into display position features; Combine the material features with the display position features corresponding to each idle display position to obtain the splicing features associated with each idle display position, and input the splicing features into the recognition model; Perform encoding processing on the splicing features through the feature extraction layer in the recognition model to obtain the encoded features corresponding to each idle display position, and classify the encoded features corresponding to each idle display position to obtain the matching confidence corresponding to each idle display position; According to the matching confidences corresponding to the M idle display positions, determine the material display position corresponding to the placement request from the M idle display positions.

6. The method according to claim 1, characterized in that, The validity verification of the first signature and the second signature in the transaction data to obtain the transaction verification result corresponding to the transaction data includes: Obtain the object public key corresponding to the material placement object and the platform public key corresponding to the material display platform; Verify the validity of the first signature in the transaction data according to the object public key to obtain the first signature verification result, and verify the validity of the second signature in the transaction data according to the platform public key to obtain the second signature verification result; If both the first signature verification result and the second signature verification result are verification passed results, determine that the transaction verification result corresponding to the transaction data indicates verification passed.

7. The method according to any one of claims 1 to 6, characterized in that The method further includes: Receive the material interaction data submitted by the material display platform, and call the interaction incentive contract deployed in the blockchain according to the material interaction data; the material interaction data is generated by the material display platform according to the triggering operations of multiple interaction objects on the material content in the material display position; In the material interaction data, obtain the unit interaction data corresponding to the interaction object a among the multiple interaction objects. If the unit interaction data corresponding to the interaction object a meets the incentive conditions in the interaction incentive contract, issue a reward to the interaction object a according to the incentive strategy in the interaction incentive contract.

8. A data processing device based on a blockchain, characterized in that Including: A placement request receiving module, configured to receive a placement request corresponding to a material placement object, call the display position matching contract deployed in the blockchain according to the placement request, and obtain the idle display positions stored in the blockchain; the placement request includes material content and placement demand information; A display position matching module, configured to match the idle display positions and the placement requirement information through the display position matching contract, obtain the material display positions corresponding to the placement requests, and send the material display positions to the material placement object and the material display platform; the material display platform refers to the platform for providing the material display positions; A transaction verification module, configured to obtain transaction data for the material display positions, verify the validity of the first signature and the second signature in the transaction data, and obtain a transaction verification result corresponding to the transaction data; the first signature is the digital signature of the material placement object, and the second signature is the digital signature of the material display platform; A material placement module, configured to, if the transaction verification result indicates that the verification is passed, store the transaction data in the blockchain, and transmit the material content to the material display platform, so that the material display platform displays the material content in the material display positions.

9. A computer device, characterized in that, Comprising a memory and a processor; The memory is connected to the processor, the memory is used for storing a computer program, and the processor is used for calling the computer program, so that the computer device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that, A computer program is stored in the computer-readable storage medium, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 7.

11. A computer program product, characterized in that, Comprising a computer program, which when executed by a processor implements the method according to any one of claims 1 to 7.