Cross-platform right user transaction method and device based on block chain technology

Through blockchain technology, the automatic redemption of coupons between different platforms is solved, and the problem of inefficient transactions for users when using coupons on different platforms is solved, achieving a more efficient and safe equity redemption process.

CN119991119APending Publication Date: 2025-05-13INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311587479.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the prior art, users need to manually copy and paste coupons when using coupons on different platforms, the process is cumbersome, and the platform server needs frequent data interactions, resulting in low transaction efficiency, and at the same time, there is a risk of leakage of user privacy data.

Method used

Through blockchain technology, cross-platform user association relationships are established, user transaction information is obtained and user rights data is queried, cross-platform rights exchange is automatically carried out, and the high security and privacy protection characteristics of blockchain smart contracts are used to reduce the risk of user privacy leakage.

Benefits of technology

It reduces the complexity of user operations, improves the speed of equity redemption and transaction efficiency, enhances the user experience, and ensures the security of user privacy data and equity data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119991119A_ABST
    Figure CN119991119A_ABST
Patent Text Reader

Abstract

The invention provides a cross-platform right user transaction method and device based on a block chain technology, which can be used in the technical field of artificial intelligence, and the method comprises the steps: obtaining a user identifier through a cross-platform user association relationship; through the block chain technology, the user right and interest data stored on the block chain is inquired according to the user identifier, cross-platform right and interest exchange is performed according to the user right and interest data, and user transaction is completed, so that the operation complexity of the user can be reduced, the capability requirement on the user is reduced, the use convenience of the life service platform right and interest data is enhanced, and the user experience is improved. The user experience is improved; through automatic cross-platform right and interest exchange, the right and interest exchange speed is improved, so that the transaction efficiency is improved; and meanwhile, the user right and interest data is stored through the block chain, the risk of user privacy disclosure is reduced by means of the high security and privacy protection characteristics of the smart contract of the block chain, and the security of the user privacy data and the user right and interest data is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of blockchain technology, in particular to the field of artificial intelligence technology, and more particularly to a method and device for user transaction of cross-platform rights and interests based on blockchain technology. Background Art

[0002] In daily consumption, financial institutions usually launch data on life service rights such as catering, travel, shopping, etc. on life service platforms, such as consumer coupons, to promote user consumption. After purchasing a coupon, the user needs to copy the coupon code to the coupon redemption place of other consumer platforms or applications (APPs) and enter the coupon code for redemption. For users, if they want to use coupons, they need to understand the redemption rules of coupons, and they also need to find the function menu entry for redeeming coupon codes on different platforms or APPs. The process is cumbersome and complicated, and requires high user capabilities. The user experience is poor, and in the process of manual query and redemption, the platform server needs to frequently interact with data, and the redemption speed is slow, resulting in low transaction efficiency; in addition, in the related technology, since the coupons of each consumer platform are stored locally on each consumer platform, the security depends on the local firewall of the consumer platform. Once the firewall is maliciously attacked, there is a risk of leakage of user privacy data, and there is a risk of forgery or abuse of coupon information. Summary of the invention

[0003] One object of the present invention is to provide a user transaction method for cross-platform rights and interests based on blockchain technology, which can reduce the complexity of user operations, reduce the requirements for user capabilities, enhance the convenience of using rights and interests data on life service platforms, and improve user experience; by automatically exchanging rights and interests across platforms, there is no need for frequent data interaction with users, which increases the speed of rights and interests exchange, thereby improving transaction efficiency; at the same time, by storing user rights and interests data through blockchain, with the help of the high security and privacy protection characteristics of blockchain smart contracts, the risk of user privacy leakage is reduced, and the security of user privacy data and user rights and interests data is ensured. Another object of the present invention is to provide a user transaction device for cross-platform rights and interests based on blockchain technology. Another object of the present invention is to provide a computer-readable medium. Another object of the present invention is to provide a computer device.

[0004] In order to achieve the above objectives, the present invention discloses, on one hand, a user transaction method for cross-platform rights and interests based on blockchain technology, comprising:

[0005] Obtain user transaction information through cross-platform user association relationships, where the user transaction information includes user identification;

[0006] Through blockchain technology, the corresponding user rights and interests data is queried according to the user ID. The user rights and interests data is the rights and interests data of the user in multiple trading platforms stored on the blockchain;

[0007] Verify user rights and interests data based on user transaction information;

[0008] If the user rights data verification is passed, cross-platform rights exchange will be carried out based on the user rights data to complete the user transaction.

[0009] Preferably, the method further comprises:

[0010] Receive user rights and interests transaction information from various trading platforms;

[0011] Generate user rights and interests data based on user rights and interests transaction information;

[0012] Upload user rights data to the blockchain so that the blockchain can verify the user rights data through smart contracts.

[0013] Preferably, the user rights and interests transaction information includes rights and interests information, a user key pair and a user identification;

[0014] Generate user rights data based on user rights transaction information, including:

[0015] Generate proof of stake based on stake information and a random number selected by the user;

[0016] Generate user equity data based on equity proof, equity information, user key pair and user identification.

[0017] Preferably, before obtaining user transaction information through the cross-platform user association relationship, the method further includes:

[0018] Obtain user registration information of each trading platform, including user identification;

[0019] According to the user identifier, the user registration information of each trading platform is associated to obtain the cross-platform user association relationship.

[0020] Preferably, through blockchain technology, according to the user identification, the corresponding user rights and interests data is queried, including:

[0021] Call the platform interface to send a rights query request to the blockchain. The rights query request includes a user ID, so that the blockchain can query the rights data based on the user ID.

[0022] Receive user rights data returned by the blockchain.

[0023] Preferably, the method further comprises:

[0024] If the user rights data is empty, a message "No rights available" is generated;

[0025] Send a no available equity message to the user.

[0026] Preferably, the user rights data is verified based on the user transaction information, including:

[0027] Match user transaction information and user rights data according to the preset rights usage rules;

[0028] If the match is successful, it is determined that the user rights data verification has passed;

[0029] If the match fails, it is determined that the user rights data verification has failed.

[0030] Preferably, the method further comprises:

[0031] If the user's rights data verification fails, a no matching rights message is generated;

[0032] Send a no matching rights message to the user.

[0033] Preferably, cross-platform rights exchange is performed based on user rights data to complete user transactions, including:

[0034] Perform cross-platform rights exchange according to user rights data, update user transaction information, and obtain updated exchange transaction information;

[0035] Sending the exchange transaction information to the user terminal so that the user terminal can send a confirmation transaction instruction;

[0036] In response to the confirmation transaction instruction, the user transaction is executed according to the redemption transaction information.

[0037] Preferably, after performing cross-platform rights exchange according to user rights data and completing the user transaction, it also includes:

[0038] Call the platform interface to send rights exchange messages to the blockchain so that the blockchain can store the rights exchange messages on the chain.

[0039] The present invention also discloses a cross-platform rights and interests user transaction device based on blockchain technology, comprising:

[0040] A transaction information acquisition unit, used to acquire user transaction information through cross-platform user association relationships, where the user transaction information includes a user identifier;

[0041] The rights and interests data query unit is used to query the corresponding user rights and interests data according to the user identification through the blockchain technology. The user rights and interests data is the rights and interests data of the user under multiple trading platforms stored on the blockchain;

[0042] The equity data verification unit is used to verify the user's equity data based on the user's transaction information;

[0043] The transaction execution unit is used to perform cross-platform rights exchange based on the user rights data if the user rights data is verified, thereby completing the user transaction.

[0044] The present invention also discloses a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the method described above is implemented.

[0045] The present invention also discloses a computer device, including a memory and a processor, wherein the memory is used to store information including program instructions, the processor is used to control the execution of program instructions, and the processor implements the above method when executing the program.

[0046] The present invention also discloses a computer program product, including a computer program / instruction, and the method described above is implemented when the computer program / instruction is executed by a processor.

[0047] The present invention obtains user transaction information through cross-platform user association relationships, and the user transaction information includes a user identifier; through blockchain technology, the corresponding user rights and interests data is queried according to the user identifier, and the user rights and interests data is the rights and interests data of the user under multiple transaction platforms stored on the blockchain; the user rights and interests data is verified according to the user transaction information; if the user rights and interests data is verified, cross-platform rights and interests are exchanged according to the user rights and interests data to complete the user transaction, which can reduce the user's operation complexity, reduce the user's ability requirements, enhance the convenience of using the rights and interests data of the life service platform, and improve the user experience; by automatically performing cross-platform rights and interests exchange, there is no need for frequent data interaction with the user, and the rights and interests exchange speed is increased, thereby improving the transaction efficiency; at the same time, the user rights and interests data is stored through the blockchain, and with the help of the high security and privacy protection characteristics of the blockchain smart contract, the risk of user privacy leakage is reduced, and the security of user privacy data and user rights and interests data is guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0049] Figure 1 A flowchart of a user transaction method for cross-platform rights and interests based on blockchain technology provided by an embodiment of the present invention;

[0050] Figure 2 A flowchart of another cross-platform rights and interests user transaction method based on blockchain technology provided by an embodiment of the present invention;

[0051] Figure 3 A schematic diagram of the structure of a cross-platform rights and interests user transaction device based on blockchain technology provided by an embodiment of the present invention;

[0052] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0053] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0054] It should be noted that the method and device for user transaction of cross-platform rights and interests based on blockchain technology disclosed in this application can be used in the field of artificial intelligence technology, and can also be used in any field outside the field of artificial intelligence technology. The application field of the method and device for user transaction of cross-platform rights and interests based on blockchain technology disclosed in this application is not limited.

[0055] In order to facilitate the understanding of the technical solution provided by this application, the relevant contents of the technical solution of this application are first explained below. Taking the rights and interests data as coupons as an example, this application can collect coupons purchased by users from various consumer platforms, and provide a cross-platform coupon automatic redemption function, eliminating the tedious steps of users manually copying and pasting coupon codes, making the use of coupons easier and faster, and improving the rights and interests redemption speed and transaction efficiency, thereby reducing the user's operational burden. At the same time, based on blockchain technology, this application binds users and their coupons on various platforms to the chain for storage. Through the security and privacy protection features of blockchain smart contracts, it reduces the risk of privacy leakage, reduces the possibility of coupon forgery and abuse, and ensures the security of user rights.

[0056] This application establishes a cross-platform rights and interests user transaction method based on application programming interface (API) and blockchain smart contract technology, which associates the user's account registered on the bank life service platform with the account registered on other consumption platforms or APPs. The associated medium adopts the unique user identifier used during registration, and automatic redemption is achieved by sharing coupon information between platforms. Users can automatically redeem and deduct when consuming, realizing seamless redemption of rights and interests data.

[0057] The following uses a cross-platform rights and interests user transaction device based on blockchain technology as an example of an execution subject to illustrate the implementation process of the cross-platform rights and interests user transaction method based on blockchain technology provided by an embodiment of the present invention. It is understandable that the execution subject of the cross-platform rights and interests user transaction method based on blockchain technology provided by an embodiment of the present invention includes but is not limited to a cross-platform rights and interests user transaction device based on blockchain technology.

[0058] Figure 1 A flowchart of a user transaction method for cross-platform rights and interests based on blockchain technology provided by an embodiment of the present invention is shown in FIG. Figure 1 As shown, the method includes:

[0059] Step 101: Obtain user transaction information through cross-platform user association relationships, where the user transaction information includes a user identifier.

[0060] Step 102: Through blockchain technology, according to the user ID, query the corresponding user rights and interests data, where the user rights and interests data is the rights and interests data of the user in multiple trading platforms stored on the blockchain.

[0061] Step 103: Verify the user rights and interests data according to the user transaction information.

[0062] Step 104: If the user rights data verification is passed, cross-platform rights exchange is performed based on the user rights data to complete the user transaction.

[0063] In the technical solution provided by the embodiment of the present invention, user transaction information is obtained through cross-platform user association relationships, and the user transaction information includes a user identifier; through blockchain technology, the corresponding user rights and interests data is queried according to the user identifier, and the user rights and interests data is the rights and interests data of the user under multiple transaction platforms stored on the blockchain; the user rights and interests data is verified according to the user transaction information; if the user rights and interests data is verified, cross-platform rights and interests are exchanged according to the user rights and interests data to complete the user transaction, which can reduce the user's operation complexity, reduce the user's ability requirements, enhance the convenience of using the rights and interests data of the life service platform, and improve the user experience; by automatically performing cross-platform rights and interests exchange, there is no need for frequent data interaction with users, and the rights and interests exchange speed is increased, thereby improving transaction efficiency; at the same time, the user rights and interests data is stored through the blockchain, and with the help of the high security and privacy protection characteristics of the blockchain smart contract, the risk of user privacy leakage is reduced, and the security of user privacy data and user rights and interests data is guaranteed.

[0064] Figure 2 A flowchart of another cross-platform rights and interests user transaction method based on blockchain technology provided by an embodiment of the present invention is as follows: Figure 2 As shown, the method includes:

[0065] Step 201: Obtain user registration information of each trading platform, where the user registration information includes a user ID.

[0066] In the embodiment of the present invention, each step is performed by a cross-platform rights and interests user transaction device based on blockchain technology.

[0067] In the embodiment of the present invention, the trading platform is a platform developed by a financial institution, and users can purchase and use coupons between trading platforms.

[0068] In the embodiment of the present invention, the user registration information includes but is not limited to the user ID, gender, work unit and date of birth. The user ID can uniquely identify a user. As an optional solution, the user ID is a mobile phone number or an ID card number. The same user can register on multiple platforms or apps using the same user ID.

[0069] Step 202: According to the user identifier, the user registration information of each trading platform is associated to obtain a cross-platform user association relationship.

[0070] In an embodiment of the present invention, the interface provided by each trading platform and APP to the financial institution is called to obtain the user registration information of each trading platform and APP; according to the user identifier, the user registration information of the same user identifier is associated, so that the same user can be associated with each other on each trading platform and APP. When the user purchases rights and interests from one of the trading platforms or APPs and needs to use them from another trading platform or APP, they can be automatically redeemed across platforms.

[0071] Step 203: Receive user rights and interests transaction information from each trading platform.

[0072] In the embodiment of the present invention, user rights and interests transaction information is the transaction information of the user purchasing rights and interests on the trading platform, and the user rights and interests transaction information includes but is not limited to rights and interests information, user key pairs and user identification. Rights and interests information includes rights and interests coupon code and rights and interests details information; user key pairs include user private key and user public key generated by the trading platform as user identity; user identification can uniquely identify a user, and as an optional solution, the user identification is a mobile phone number or ID number.

[0073] It is worth noting that each equity voucher code is associated with a user ID so that available equity can be queried in subsequent transactions.

[0074] Step 204: Generate user rights and interests data based on the user rights and interests transaction information.

[0075] In the embodiment of the present invention, the user rights and interests transaction information includes but is not limited to rights and interests information, user key pairs and user identification.

[0076] In the embodiment of the present invention, a unique rights and interests identifier is generated for each user rights and interests transaction information, and one rights and interests identifier uniquely identifies one user rights and interests transaction information. The user rights and interests data is the user's rights and interests data under multiple trading platforms.

[0077] In the embodiment of the present invention, step 204 specifically includes:

[0078] Step 2041: Generate a proof of rights and interests based on the rights and interests information and a random number selected by the user.

[0079] Specifically, the user selects a random number r and generates a proof of interest through proof = ZoKratesProve (statement, r), where r is a random number, proof is the proof of interest, ZoKratesProve() is the proof generation calling function, and statement is the equity information.

[0080] Step 2042: Generate user rights and interests data based on the rights and interests certificate, rights and interests information, user key pair and user identification.

[0081] In the embodiment of the present invention, the user rights and interests data includes but is not limited to a rights and interests identification, a rights and interests proof, rights and interests information, a user key pair and a user identification.

[0082] Step 205: Upload the user rights data to the blockchain so that the blockchain can verify the user rights data through a smart contract.

[0083] Specifically, the communication interface between the trading platform and the blockchain is called to upload the user rights and interests data to the blockchain for storage.

[0084] In the embodiment of the present invention, the blockchain smart contract uses zero-knowledge proofs to verify the user's rights and interests data. Specifically, the smart contract receives the user's rights and interests data, obtains the user's public key publicKey, rights and interests proof and rights and interests information from the blockchain, and determines the validity of the user's rights and interests data through isValid = ZoKratesVerify (statement, proof, publicKey). If the user's rights and interests data is valid, the smart contract records the verification result and stores the user's rights and interests data on the blockchain; if the user's rights and interests data is invalid, the smart contract refuses to store the user's rights and interests data. Among them, isValid is the verification result of whether the user's rights and interests data is valid, ZoKratesVerify() is the calling function for verifying the validity, proof is the rights and interests proof, statement is the rights and interests information, and publicKey is the user's public key.

[0085] The present invention utilizes blockchain smart contract technology to ensure the privacy protection and security of user rights and interests data. User sensitive information does not need to be transmitted between different platforms, ensuring that data between consumption platforms are independent of each other, reducing the risk of leakage, and can enhance the anti-counterfeiting and authenticity verification of user rights and interests data, prevent forgery and abuse, and ensure the security of user privacy data and user rights and interests data.

[0086] Step 206: Obtain user transaction information through cross-platform user association relationships, where the user transaction information includes a user identifier.

[0087] In the embodiment of the present invention, the user transaction request is a consumption request initiated by the user through a transaction platform or an APP. Since the same user can be associated with each other on various transaction platforms and APPs, the background can obtain user transaction information for consumption requests initiated by the user on any transaction platform or APP.

[0088] In the embodiment of the present invention, the user identifier in the user transaction information can uniquely identify the user who initiates the consumption request.

[0089] Step 207: Call the platform interface to send a rights query request to the blockchain. The rights query request includes a user identifier so that the blockchain can query the rights data according to the user identifier.

[0090] In an embodiment of the present invention, the platform interface is a communication interface between a trading platform or an APP and a blockchain; the blockchain responds to a rights query request and queries the corresponding user rights data from the on-chain storage data according to the user identifier.

[0091] Step 208: Receive user rights and interests data returned by the blockchain.

[0092] In an embodiment of the present invention, if the blockchain queries the user's rights and interests data, the rights and interests identification, rights and interests proof, rights and interests information, user key pair and user identification in the user's rights and interests data are returned; if the blockchain does not query the user's rights and interests data, an empty set is returned.

[0093] Furthermore, if the user's rights and interests data is empty, a message indicating that no rights and interests are available is generated; the message indicating that no rights and interests are available is sent to the user end. The message indicating that no rights and interests are available indicates that the user does not have rights and interests data, and consumption deduction cannot be performed. The message indicating that no rights and interests are available is sent to the user end to inform the user that there is no available rights and interests data, and the current user transaction needs to be executed at the original price, and rights and interests cannot be redeemed and deducted.

[0094] Step 209: Verify the user rights and interests data according to the user transaction information. If the user rights and interests data verification passes, execute step 210; if the user rights and interests data verification fails, the process ends.

[0095] Specifically, according to the preset rights and interests usage rules, the user transaction information and the user rights and interests data are matched. If the match is successful, it is determined that the user rights and interests data verification has passed; if the match fails, it is determined that the user rights and interests data verification has failed.

[0096] In the embodiment of the present invention, the equity use rules can be pre-set according to the actual needs of the user transaction, and the embodiment of the present invention does not limit this. As an optional solution, the equity use rules include but are not limited to the equity use time, equity use type and equity available amount.

[0097] In the embodiment of the present invention, if both the user transaction information and the user equity data comply with the equity usage rules, and the types of the user transaction information and the user equity data match, it indicates that the user equity data can be used for the user transaction information, the user equity data verification is successful, and step 210 is continued; if at least one of the user transaction information and the user equity data does not comply with the equity usage rules, or the types of the user transaction information and the user equity data do not match, the user equity data verification fails, and the process ends.

[0098] Furthermore, if the user's rights and interests data verification fails, a no-matching rights and interests message is generated; the no-matching rights and interests message is sent to the user end. Among them, the no-matching rights and interests message indicates that the rights and interests data of the user cannot be used in the current transaction, does not comply with the rights and interests usage rules, and cannot be used for consumption deduction. The no-matching rights and interests message is sent to the user end to notify the user that the rights and interests data cannot be used, and the current user transaction must be executed at the original price, and the rights and interests cannot be redeemed and deducted.

[0099] Step 210: Perform cross-platform rights exchange based on user rights data to complete the user transaction.

[0100] In the embodiment of the present invention, step 210 specifically includes:

[0101] Step 2101: Perform cross-platform rights exchange according to user rights data, update user transaction information, and obtain updated exchange transaction information.

[0102] In an embodiment of the present invention, if the user benefit data is a coupon, the consumption amount in the user transaction information is deducted according to the preferential information of the coupon to obtain the consumption amount after deduction; based on the consumption amount after deduction and the transaction information, the updated redemption transaction information is generated.

[0103] For example: if the user's rights and interests data is a coupon purchased on consumption platform A, the user needs to make a purchase on consumption platform B; according to the preferential information of the coupon purchased on consumption platform A, the consumption amount in the user's transaction information on consumption platform B is deducted across platforms to obtain the consumption amount after deduction; based on the consumption amount after deduction and the transaction information, the updated redemption transaction information is generated, thereby realizing the automatic redemption of user's cross-platform rights and interests, the transaction is more real-time, and the speed of rights and interests redemption is increased, thereby improving transaction efficiency.

[0104] Step 2102: Send the exchange transaction information to the user terminal so that the user terminal can send a confirmation transaction instruction.

[0105] In the embodiment of the present invention, the exchange transaction information is sent to the user terminal so that the user can view the transaction information after using the equity data, and send a confirmation transaction instruction or a rejection transaction instruction through the user terminal.

[0106] Furthermore, if the user sends a transaction rejection instruction through the user terminal, it indicates that the user refuses to pay and the transaction is terminated.

[0107] Step 2103: In response to the confirmation transaction instruction, execute the user transaction according to the redemption transaction information.

[0108] In an embodiment of the present invention, if the user sends a confirmation transaction instruction through the user terminal, indicating that the user agrees to pay, the payment account bound to the user is deducted according to the consumption amount after deduction in the redemption transaction information, the user transaction is completed and the transaction result is returned.

[0109] Step 211: Call the platform interface to send a rights exchange message to the blockchain so that the blockchain can store the rights exchange message on the chain.

[0110] In an embodiment of the present invention, the platform interface is a communication interface between a trading platform or an APP and a blockchain; a rights exchange message is sent to the blockchain, and the rights exchange message includes but is not limited to a user identifier, user rights data, user transaction information, and exchange transaction information; the blockchain stores the rights exchange message on the blockchain, provides a review function for users, ensures that the data is not tampered with, and improves security.

[0111] The present invention provides an automated, intelligent, and seamless exchange process for the rights and interests data owned by users on different trading platforms. Users do not need additional intervention and manual operations, which greatly simplifies the user operation process and improves the user experience, thereby attracting more users to purchase rights and interests data and enhancing the competitiveness of the platform. The use of blockchain smart contract technology ensures the privacy protection and security of rights and interests data. User sensitive information does not need to be transmitted between different platforms, reducing the risk of leakage, and can enhance the anti-counterfeiting and authenticity verification of rights and interests data, preventing forgery and abuse.

[0112] It is worth noting that the acquisition, storage, use, and processing of data in the technical solution of this application are in compliance with the relevant provisions of laws and regulations. The user information in the embodiments of this application is obtained through legal and compliant channels, and the acquisition, storage, use, and processing of user information are authorized and agreed by the customer.

[0113] In the technical solution of the cross-platform rights and interests user transaction method based on blockchain technology provided by the embodiment of the present invention, user transaction information is obtained through cross-platform user association relationships, and the user transaction information includes a user identifier; through blockchain technology, the corresponding user rights and interests data is queried according to the user identifier, and the user rights and interests data is the rights and interests data of the user stored on the blockchain under multiple transaction platforms; the user rights and interests data is verified according to the user transaction information; if the user rights and interests data is verified, cross-platform rights and interests are exchanged according to the user rights and interests data to complete the user transaction, which can reduce the user's operation complexity, reduce the user's ability requirements, enhance the convenience of using the rights and interests data of life service platforms, and improve the user experience; by automatically performing cross-platform rights and interests exchange, there is no need for frequent data interaction with users, and the rights and interests exchange speed is increased, thereby improving transaction efficiency; at the same time, the user rights and interests data is stored through the blockchain, and with the help of the high security and privacy protection characteristics of the blockchain smart contract, the risk of user privacy leakage is reduced, and the security of user privacy data and user rights and interests data is guaranteed.

[0114] Figure 3 A schematic diagram of the structure of a cross-platform rights and interests user transaction device based on blockchain technology provided by an embodiment of the present invention, wherein the device is used to execute the cross-platform rights and interests user transaction method based on blockchain technology, such as Figure 3 As shown, the device includes: a transaction information acquisition unit 11, a rights and interests data query unit 12, a rights and interests data verification unit 13 and a transaction execution unit 14.

[0115] The transaction information acquisition unit 11 is used to acquire user transaction information through cross-platform user association relationships, and the user transaction information includes a user identifier.

[0116] The rights and interests data query unit 12 is used to query the corresponding user rights and interests data according to the user identification through the blockchain technology. The user rights and interests data is the rights and interests data of the user under multiple trading platforms stored on the blockchain.

[0117] The equity data verification unit 13 is used to verify the user equity data according to the user transaction information.

[0118] The transaction execution unit 14 is used to perform cross-platform rights exchange according to the user rights data if the user rights data verification is passed, so as to complete the user transaction.

[0119] In the embodiment of the present invention, the device further includes: a receiving unit 15 , a rights and interests data generating unit 16 and a rights and interests data uplinking unit 17 .

[0120] The receiving unit 15 is used to receive user rights and interests transaction information from various trading platforms.

[0121] The equity data generating unit 16 is used to generate user equity data according to user equity transaction information.

[0122] The rights and interests data uploading unit 17 is used to upload the user's rights and interests data to the blockchain so that the blockchain can verify the user's rights and interests data through smart contracts.

[0123] In the embodiment of the present invention, the user rights and interests transaction information includes rights and interests information, a user key pair and a user identifier; the rights and interests data generation unit 16 is specifically used to generate a rights and interests certificate based on the rights and interests information and a random number selected by the user; and to generate user rights and interests data based on the rights and interests certificate, the rights and interests information, the user key pair and the user identifier.

[0124] In the embodiment of the present invention, the device further includes: a registration information acquisition unit 18 and an information association unit 19 .

[0125] The registration information acquisition unit 18 is used to acquire user registration information of each trading platform, and the user registration information includes a user identifier.

[0126] The information association unit 19 is used to associate the user registration information of each trading platform according to the user identification to obtain the cross-platform user association relationship.

[0127] In the embodiment of the present invention, the rights and interests data query unit 12 is specifically used to call the platform interface, send a rights and interests query request to the blockchain, and the rights and interests query request includes a user identifier, so that the blockchain can query the rights and interests data according to the user identifier; and receive the user rights and interests data returned by the blockchain.

[0128] In the embodiment of the present invention, the device further includes: a first message generating unit 20 and a sending unit 21.

[0129] The first message generating unit 20 is used to generate a no available rights message if the user rights data is empty.

[0130] The sending unit 21 is used to send a no available rights message to the user terminal.

[0131] In the embodiment of the present invention, the rights and interests data verification unit 13 is specifically used to match the user transaction information and the user rights and interests data according to the preset rights and interests usage rules; if the match is successful, it is determined that the user rights and interests data verification has passed; if the match fails, it is determined that the user rights and interests data verification has failed.

[0132] In the embodiment of the present invention, the device further includes: a second message generating unit 22.

[0133] The second message generating unit 22 is used to generate a no-matching-rights message if the user rights data verification fails.

[0134] The sending unit 21 is further configured to send a no matching rights message to the user end.

[0135] In an embodiment of the present invention, the transaction execution unit 14 is specifically used to perform cross-platform rights exchange according to user rights data, update user transaction information, and obtain updated exchange transaction information; send the exchange transaction information to the user terminal so that the user terminal can send a confirmation transaction instruction; in response to the confirmation transaction instruction, execute the user transaction according to the exchange transaction information.

[0136] In the embodiment of the present invention, the device further includes: a redemption message uplink unit 23.

[0137] The redemption message on-chain unit 23 is used to call the platform interface and send a rights redemption message to the blockchain so that the blockchain can store the rights redemption message on-chain.

[0138] In the scheme of the embodiment of the present invention, user transaction information is obtained through cross-platform user association relationships, and the user transaction information includes a user identifier; through blockchain technology, the corresponding user rights and interests data is queried according to the user identifier, and the user rights and interests data is the rights and interests data of the user under multiple transaction platforms stored on the blockchain; the user rights and interests data is verified according to the user transaction information; if the user rights and interests data is verified, cross-platform rights and interests are exchanged according to the user rights and interests data to complete the user transaction, which can reduce the user's operation complexity, reduce the user's ability requirements, enhance the convenience of using the rights and interests data of the life service platform, and improve the user experience; by automatically performing cross-platform rights and interests exchange, there is no need for frequent data interaction with users, and the speed of rights and interests exchange is increased, thereby improving transaction efficiency; at the same time, the user rights and interests data is stored through the blockchain, and with the help of the high security and privacy protection characteristics of the blockchain smart contract, the risk of user privacy leakage is reduced, and the security of user privacy data and user rights and interests data is guaranteed.

[0139] The systems, devices, modules or units described in the above embodiments may be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer device, and specifically, the computer device may be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.

[0140] An embodiment of the present invention provides a computer device, including a memory and a processor, the memory is used to store information including program instructions, the processor is used to control the execution of the program instructions, and when the program instructions are loaded and executed by the processor, the steps of the embodiment of the user transaction method of cross-platform rights and interests based on blockchain technology are implemented. For a specific description, please refer to the embodiment of the user transaction method of cross-platform rights and interests based on blockchain technology.

[0141] Reference below Figure 4 , which shows a schematic diagram of the structure of a computer device 600 suitable for implementing an embodiment of the present application.

[0142] like Figure 4 As shown, the computer device 600 includes a central processing unit (CPU) 601, which can perform various appropriate operations and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage part 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the computer device 600 are also stored. The CPU 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.

[0143] The following components are connected to the I / O interface 605: an input section 606 including a keyboard, a mouse, etc.; an output section 607 including a cathode ray tube (CRT), a liquid crystal feedback device (LCD), etc., and a speaker, etc.; a storage section 608 including a hard disk, etc.; and a communication section 609 including a network interface card such as a LAN card, a modem, etc. The communication section 609 performs communication processing via a network such as the Internet. A drive 610 is also connected to the I / O interface 605 as needed. A removable medium 611, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 610 as needed, so that a computer program read therefrom is installed as needed as the storage section 608.

[0144] In particular, according to an embodiment of the present invention, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program tangibly contained on a machine-readable medium, and the computer program includes program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 609, and / or installed from the removable medium 611.

[0145] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0146] For the convenience of description, the above device is described in various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0147] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of 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 a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0148] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0149] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0150] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0151] The acquisition, storage, use, and processing of data in the technical solution of this application comply with the relevant provisions of national laws and regulations.

[0152] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0153] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0154] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the system embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0155] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A cross-platform rights and interests user transaction method based on blockchain technology, characterized in that: The method comprises: Obtaining user transaction information through cross-platform user association relationships, wherein the user transaction information includes a user identifier; Through blockchain technology, according to the user identifier, the corresponding user rights and interests data is queried, and the user rights and interests data is the rights and interests data of the user in multiple trading platforms stored on the blockchain; Verifying the user rights and interests data according to the user transaction information; If the user rights data is verified, cross-platform rights exchange is performed based on the user rights data to complete the user transaction.

2. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: The method further comprises: Receive user rights and interests transaction information from various trading platforms; Generate user rights and interests data according to the user rights and interests transaction information; The user rights data is uploaded to the blockchain so that the blockchain can verify the user rights data through a smart contract.

3. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 2 is characterized in that: The user rights and interests transaction information includes rights and interests information, user key pair and user identification; Generating user rights and interests data according to the user rights and interests transaction information includes: Generate a proof of interest based on the interest information and a random number selected by the user; The user rights and interests data is generated according to the rights and interests proof, the rights and interests information, the user key pair and the user identification.

4. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: Before obtaining user transaction information through the cross-platform user association relationship, the method further includes: Obtaining user registration information of each trading platform, wherein the user registration information includes a user ID; According to the user identifier, the user registration information of each trading platform is associated to obtain a cross-platform user association relationship.

5. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: The method of querying corresponding user rights and interests data according to the user identifier through blockchain technology includes: Calling the platform interface to send a rights query request to the blockchain, wherein the rights query request includes the user identifier, so that the blockchain can query the rights data according to the user identifier; Receive the user rights and interests data returned by the blockchain.

6. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: The method further comprises: If the user rights data is empty, a message that no rights are available is generated; The no available rights message is sent to the user terminal.

7. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: The verifying the user rights and interests data according to the user transaction information includes: Matching the user transaction information and user rights data according to the preset rights usage rules; If the match is successful, it is determined that the user rights and interests data verification has passed; If the match fails, it is determined that the user rights data verification has failed.

8. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: The method further comprises: If the user rights data verification fails, a no matching rights message is generated; The no matching rights message is sent to the user end.

9. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: The cross-platform rights exchange based on the user rights data to complete the user transaction includes: Perform cross-platform rights exchange according to the user rights data, update the user transaction information, and obtain updated exchange transaction information; Sending the exchange transaction information to the user terminal so that the user terminal can send a confirmation transaction instruction; In response to the confirmation transaction instruction, the user transaction is executed according to the exchange transaction information.

10. The cross-platform rights and interests user transaction method based on blockchain technology according to claim 1 is characterized in that: After performing cross-platform rights exchange according to the user rights data and completing the user transaction, the method further includes: The platform interface is called to send a rights exchange message to the blockchain, so that the blockchain can store the rights exchange message on the chain.

11. A cross-platform rights and interests user transaction device based on blockchain technology, characterized in that: The device comprises: A transaction information acquisition unit, used to acquire user transaction information through a cross-platform user association relationship, wherein the user transaction information includes a user identifier; A rights and interests data query unit, used to query corresponding user rights and interests data according to the user identifier through blockchain technology, wherein the user rights and interests data is the rights and interests data of the user under multiple trading platforms stored on the blockchain; A rights and interests data verification unit, used to verify the user rights and interests data according to the user transaction information; The transaction execution unit is used to perform cross-platform rights exchange according to the user rights data if the user rights data is verified, so as to complete the user transaction.

12. A computer readable medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the user transaction method for cross-platform rights and interests based on blockchain technology as described in any one of claims 1 to 10 is implemented.

13. A computer device comprising a memory and a processor, wherein the memory is used to store information including program instructions, and the processor is used to control the execution of the program instructions, characterized in that: When the program instructions are loaded and executed by the processor, the user transaction method for cross-platform rights and interests based on blockchain technology as described in any one of claims 1 to 10 is implemented.