Business processing method and device based on blockchain

Obtaining and storing sharing operation data in the private domain marketing process through blockchain technology solves the problem of difficulty in tracking the user's sharing and conversion process, and achieves the accuracy of user incentives and improvement of marketing efficiency.

CN114661679BActive Publication Date: 2024-08-23ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011547403.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-23
Publication Date
2024-08-23
Estimated Expiration
2040-12-23

Smart Images

  • Figure CN114661679B
    Figure CN114661679B
Patent Text Reader

Abstract

The embodiments of this specification provide a business processing method and device based on blockchain, wherein a business processing method based on blockchain includes: obtaining sharing operation data generated after the target business is triggered; determining the sharing participating users corresponding to the sharing operation data, and determining the sharing conversion status and sharing link parameters of the sharing participating users; calculating the business reward obtained by the sharing participating users for business sharing based on the sharing conversion status; storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] Blockchain is a decentralized distributed ledger that is generated and stored in blocks and connected in chronological order to form a chain structure. Cryptography is used to ensure that it cannot be tampered with, cannot be forged, and has secure data transmission and access. With the development of blockchain, the data recorded in blockchain has expanded to data in various fields. Summary of the invention

[0003] One or more embodiments of this specification provide a business processing method based on blockchain. The business processing method based on blockchain includes: obtaining sharing operation data generated after the target business is triggered. Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user. Calculate the business reward obtained by the sharing participating user for business sharing based on the sharing conversion status. Store the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain.

[0004] One or more embodiments of the present specification provide a business processing device based on blockchain, including: a sharing operation data acquisition module, configured to obtain sharing operation data generated after the target business is triggered. A sharing data determination module, configured to determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user. A business reward calculation module, configured to calculate the business reward obtained by the sharing participating user for business sharing based on the sharing conversion status. A sharing data storage module, configured to store the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain.

[0005] One or more embodiments of the present specification provide a blockchain-based business processing device, including: a processor; and a memory configured to store computer executable instructions, wherein when the computer executable instructions are executed, the processor: obtains sharing operation data generated after the target business is triggered. Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user. Calculate the business reward obtained by the sharing participating user for business sharing based on the sharing conversion status. Store the sharing conversion status, the sharing link parameters, and the business reward in a block of the blockchain.

[0006] One or more embodiments of the present specification provide a storage medium for storing computer executable instructions, which implement the following process when executed: obtaining sharing operation data generated after the target business is triggered. Determining the sharing participating user corresponding to the sharing operation data, and determining the sharing conversion status and sharing link parameters of the sharing participating user. Calculating the business reward obtained by the sharing participating user for business sharing based on the sharing conversion status. The sharing conversion status, the sharing link parameters, and the business reward are stored in a block of the blockchain. BRIEF DESCRIPTION OF THE DRAWINGS

[0007] In order to more clearly illustrate one or more embodiments of the present specification or the technical solutions in the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the present specification. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative labor.

[0008] Figure 1 A flowchart of a business processing method based on blockchain provided for one or more embodiments of this specification;

[0009] Figure 2 A schematic diagram of a blockchain provided for one or more embodiments of this specification;

[0010] Figure 3 A flowchart of a business processing method based on blockchain applied to a private domain marketing scenario provided in one or more embodiments of this specification;

[0011] Figure 4 A schematic diagram of a blockchain-based business processing device provided for one or more embodiments of this specification;

[0012] Figure 5 A schematic diagram of the structure of a blockchain-based business processing device provided for one or more embodiments of this specification. DETAILED DESCRIPTION

[0013] In order to enable those skilled in the art to better understand the technical solutions in one or more embodiments of this specification, the technical solutions in one or more embodiments of this specification will be clearly and completely described below in conjunction with the drawings in one or more embodiments of this specification. Obviously, the described embodiments are only part of the embodiments of this specification, not all of them. Based on one or more embodiments of this specification, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of this document.

[0014] This specification provides an embodiment of a business processing method based on blockchain:

[0015] Reference Figure 1 , which shows a processing flow chart of a business processing method based on blockchain provided in this embodiment, refer to Figure 2 , which shows a schematic diagram of a blockchain provided by this embodiment, referring to Figure 3 , which shows a processing flow chart of a blockchain-based business processing method applied to a private domain marketing scenario provided in this embodiment.

[0016] Reference Figure 1 The blockchain-based business processing method provided in this embodiment specifically includes steps S102 to S108.

[0017] Step S102: Acquire sharing operation data generated after the target service is triggered.

[0018] With the continuous emergence of business products, competition among business platforms has become increasingly fierce. Attracting new users is particularly important in this fierce business competition. As an important area for attracting new users, private domain marketing has become the key to determining user growth. Private domain marketing mainly attracts new users by having old users send links to invite friends to use related products. Old users will share links through different product apps, and new users will also enter the corresponding user acquisition page from different channels to convert new users.

[0019] The difficulty lies in the fact that it is impossible to accurately track which new users are converted through which channels by old users, and whether the new users are converted into new users through channels. The reason is that the link sharing in this process has been separated from the own product platform, and other platforms may be involved in the sharing conversion process. Therefore, only the final new user results can be recorded. The intermediate sharing conversion process is difficult to track, and the user’s private domain marketing activities cannot be accurately recorded. This may lead to deviations in user incentives and rewards, making it difficult to maximize the user’s marketing drive through rewards.

[0020] The blockchain-based business processing method provided in this embodiment starts from the sharing operation data of the user who triggers the target business, and on the basis of determining the sharing participating users who participate in the sharing and the sharing conversion status and sharing link parameters of the sharing participating users, a business reward for participating in the sharing of the target business is issued to the determined sharing participating users, so as to enhance the user's enthusiasm for sharing and participating in the target business; and further, through the technical means of data chaining, all data involved in the sharing process of the sharing participating users are uploaded to the blockchain for storage, which can not only effectively store the business sharing data and ensure the non-tamperability of the business sharing data, but also more clearly perceive the user sharing conversion process, as well as the content and status of each sharing conversion link, so that the entire user sharing conversion process can be traced, which helps to more accurately characterize the user sharing conversion link, more efficiently improve the efficiency of attracting new users, and save marketing costs.

[0021] The target business described in this embodiment includes a private domain marketing business. A private domain marketing business refers to a business user inviting a shared user to join the business by sending a business link to the shared user, or a shared user forwarding a business link to other shared users to invite other shared users to join the business and become a business user of the target business. In addition, the target business also includes other sharing services or recommended services such as cross-domain sharing services. In addition to the sharing method of sharing the business link provided above, the sharing method of the target business also includes sharing by scanning a QR code carrying the business content or being scanned.

[0022] It can be seen that the sharing users who participate in sharing the target business include the business users of the target business, and also include shared users who forward the business link to other shared users; the shared users include shared users who receive the business link sent by the business users, such as the application friends or address book friends of the business users, and also include other shared users who receive the business link forwarded by the shared users, such as the application friends or address book friends of the application friends, or the application friends or address book friends of the address book friends.

[0023] In this embodiment, the sharing operation data includes business sharing related data collected after the business link is triggered, or business sharing related data collected after the QR code is scanned or scanned. Taking the business link as an example, the sharing operation data includes at least one of the following: the user ID of the user sending the business link, the user ID of the user receiving the business link, the time information of sending the business link, and the application identifier of the application sending the business link.

[0024] In an optional implementation provided by this embodiment, the sharing conversion process of the target business is chained by using blockchain technology to improve the efficiency of tracing the sharing conversion process of the target business. Specifically, before obtaining the sharing operation data generated after the target business is triggered, a root block of the target business is created in the blockchain; wherein the block and the root block are directly or indirectly connected in the blockchain.

[0025] Specifically, creating the root block of the target business in the blockchain includes: first, obtaining the timestamp of the title confirmation instruction according to the title confirmation instruction submitted by the business party for the target business when the target business is created; then, based on the timestamp, the business sharing content and business agreement of the target business, generating a corresponding hash sequence, and creating the root block in the blockchain based on the hash sequence.

[0026] Step S104, determining the sharing participating user corresponding to the sharing operation data, and determining the sharing conversion status and sharing link parameters of the sharing participating user.

[0027] The sharing users described in this embodiment include business users of the target business and / or shared users who receive business sharing, such as business users who send business links to application friends, or application friends who forward business links to other users. Correspondingly, the shared users include users who receive business sharing, such as application friends who receive business links sent by business users, or other users who receive business links forwarded by application friends. The sharing conversion status of the sharing user includes a converted state and an unconverted state, and the sharing conversion status of the shared user also includes a converted state and an unconverted state.

[0028] The sharing link parameters include: sharing link and / or sharing method; wherein the sharing link includes at least one of the following: application forwarding, scan code forwarding; for example, an application forwarding sharing link in which a business user forwards a business link to an application friend through an application, or a scan code forwarding sharing link in which other users scan a business sharing QR code displayed by a business user's application through an application; the sharing method includes at least one of the following: business link sharing, scanning or sharing a QR code carrying business content.

[0029] Step S106, calculating the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status.

[0030] In specific implementation, in order to enhance the enthusiasm of the sharing participating users for business sharing, an optional implementation manner provided in this embodiment is to settle the business reward for the sharing user after the sharing user triggers sharing. Specifically, in the process of calculating the business reward obtained by the sharing participating user for business sharing based on the sharing conversion status, if the sharing conversion status of the shared user is an unconverted state, the first business reward of the sharing user is calculated based on the converted state of the sharing user;

[0031] If the sharing conversion status of the shared user is the converted status, the first business reward of the sharing user is calculated based on the converted status of the sharing user, and the second business reward of the shared user is calculated based on the converted status of the shared user.

[0032] In addition, in order to improve the efficiency of business reward settlement, business reward settlement can also be carried out for all sharing users who participated in business sharing after the target business ends. Specifically, in the process of calculating the business rewards obtained by the sharing users for business sharing based on the sharing conversion status, when the end of the target business is detected, reward settlement is carried out for each sharing user and each shared user who participated in the business sharing of the target business, and the first business reward of each sharing user and the second business reward of each shared user are obtained.

[0033] Step S108, storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain.

[0034] As described above, in order to enhance the enthusiasm of the sharing participating users for business sharing, in the process of calculating the business rewards obtained by the sharing participating users for business sharing based on the sharing conversion status, if the sharing conversion status of the shared user is an unconverted state, the first business reward of the sharing user is calculated based on the converted state of the sharing user; on this basis, in the process of storing the sharing conversion status, the sharing link parameters and the business reward in the block of the blockchain, the converted state of the sharing user, the unconverted state of the shared user, the sharing link parameters and the first business reward are written into the block body of the first block in the blockchain.

[0035] Based on this, if the sharing conversion status of the shared user is updated to the converted status subsequently, the business reward settlement is performed on the shared user to enhance the business participation enthusiasm and business participation experience of the shared user. Specifically, in an optional implementation manner provided by this embodiment, when it is detected that the sharing conversion status of the shared user is updated to the converted status, the second business reward of the shared user is calculated based on the converted status of the shared user; and further, the converted status of the sharing user and the shared user, the sharing link parameters, the first business reward and the second business reward are written into the block body of the second block in the blockchain; wherein, the first block and the second block are different blocks in the blockchain.

[0036] In addition, when it is detected that the sharing conversion status of the shared user is updated to the converted status, the sharing conversion status of the shared user recorded in the block body of the first block can also be updated to the converted status; and the second business reward of the shared user is further calculated based on the converted status of the shared user, and the second business reward is written into the block body of the first block, so as to enhance the business relevance between the shared user and the sharing user in the business sharing process, which is more conducive to the construction of the sharing conversion link based on the business relevance of the sharing participating users.

[0037] In this embodiment, the sharing conversion status, the sharing link parameters and the business rewards are stored in the block of the blockchain, specifically, the sharing conversion status, the sharing link parameters and the business rewards are recorded in the block body of the block. On this basis, in order to ensure the non-tamperability of the evidence data, and also for the positioning accuracy and positioning efficiency after the evidence data is modified, optionally, the block header of the block records the Merkle root of the Merkle tree generated according to the data recorded in the block body.

[0038] Specifically, in an optional implementation provided by this embodiment, a Merkle root is generated in the following manner: the business sharing data is divided according to the data type of the business sharing data recorded in the block body to obtain business data blocks corresponding to each data type; a Merkle tree is calculated and generated based on the business data blocks to obtain the Merkle root.

[0039] For example, Figure 2 The business sharing data recorded in the block body of the blockchain shown is as follows:

[0040]

[0041] Among them, user B2 reaches user C2, which means that user B2 sends a business link to user C2; user B2's status is converted, which means that user B2 has become a business user, and user C2's status is unconverted, which means that user C2 has not yet become a business user; sharing time refers to the time when user B2 sends a business link to user C2; the sharing link is application forwarding, which means that user B2 sends a business link to user C2 through the application; the sharing method is business link sharing, which means that user B2 shares the business by sending a business link to user C2 in the application; user B2's business reward is a 5-yuan red envelope with a validity period of 3 days, which means that user B2 shares the business by sending a business link to user C2 in the application, and the business reward obtained is a 5-yuan red envelope, but the usage period of the red envelope is limited to 3 days;

[0042] The business sharing data in the above table is divided into 6 data types. The hash values ​​of the 6 data blocks are calculated in turn according to the data blocks of the 6 data types. Then, the hash values ​​of the 3 nodes of the previous level are calculated in pairs with the 6 calculated hash values. Next, the hash values ​​of the nodes of the previous level are calculated for the first 2 nodes of the 3 nodes, and the hash value of the nodes of the previous level is calculated according to the last node of the 3 nodes. Finally, the hash value of the Merkle root of the Merkle tree is calculated using the hash values ​​of the two nodes of the previous level.

[0043] In addition, as described above, in order to improve the efficiency of business reward settlement, business reward settlement can also be performed for all sharing users who participated in business sharing after the target business ends. In the process of calculating the business rewards obtained by the sharing users through business sharing based on the sharing conversion status, when the end of the target business is detected, reward settlement is performed for each sharing user and each shared user who participated in the business sharing of the target business, and the first business reward of each sharing user and the second business reward of each shared user are obtained.

[0044] Based on this, in the process of storing the sharing conversion status, the sharing link parameters and the business rewards in the blocks of the blockchain, the sharing users and the shared users are first combined according to the sharing conversion status to obtain at least one business sharing group; the business sharing group has a one-to-one correspondence with the blocks in the blockchain; then the sharing conversion status, business rewards and sharing link parameters of the business sharing group are written into the block body of the block corresponding to the business sharing group, so as to more accurately characterize the user sharing conversion link of the target business, which on the one hand improves the efficiency of attracting new users and saves marketing costs; on the other hand, it helps to improve the efficiency of subsequent data traceability, thereby helping to open up the marketing link.

[0045] It should be noted that the blockchain-based business processing method provided in this embodiment is executed based on the smart contract configured by the blockchain node deployed in the blockchain; and data traceability can also be performed based on the smart contract. In an optional implementation provided in this embodiment, in the process of data tracing, first, based on the user identifier of the target user carried in the submitted data access request, the business data carrying the user identifier is searched and read in the blockchain; then, based on the business data, the sharing conversion link of the target user is determined, so as to use the sharing conversion link to more intuitively display data traceability.

[0046] In addition, the blockchain-based business processing method provided in this embodiment can also be executed based on the business platform of the target business. Accordingly, in the process of storing the sharing conversion status, the sharing link parameters and the business rewards in the block of the blockchain, the sharing conversion status, the sharing link parameters and the business rewards uploaded by the business platform to the blockchain node are specifically based on the sharing conversion status, the sharing link parameters and the business rewards uploaded by the blockchain node, so that the blockchain node stores the sharing conversion status, the sharing link parameters and the business rewards uploaded by the blockchain node in the block.

[0047] The following uses the application of a blockchain-based business processing method provided in this embodiment in a private domain marketing scenario as an example to further illustrate the blockchain-based business processing method provided in this embodiment. Figure 3 , a blockchain-based business processing method applied to private domain marketing scenarios, specifically includes steps S302 to S316.

[0048] Step S302: Obtain the timestamp of the title confirmation instruction according to the title confirmation instruction submitted by the business party when the private domain marketing business is created.

[0049] Step S304, based on the timestamp, the business sharing content and business agreement of the private domain marketing business, a corresponding hash sequence is generated, and a root block is created in the blockchain based on the hash sequence.

[0050] Step S306, obtaining sharing operation data generated after the private domain marketing service is triggered.

[0051] Step S308, determining the sharing user and the shared user corresponding to the sharing operation data, and determining the sharing conversion status, sharing link and sharing method of the sharing user and the shared user.

[0052] Step S310: If the sharing conversion status of the shared user is unconverted, the first business reward of the sharing user is calculated.

[0053] Step S312, writing the converted status of the sharing user, the unconverted status of the shared user, the sharing link, the sharing method and the first business reward into the block body of the first block in the blockchain.

[0054] Step S314: It is detected that the sharing conversion status of the shared user is updated to the converted status, and the second business reward of the shared user is calculated.

[0055] Step S316, writing the converted status, sharing link, sharing method, first business reward and second business reward of the sharing user and the shared user into the block body of the second block in the blockchain.

[0056] The first block and the second block are different blocks in the blockchain.

[0057] To sum up, the blockchain-based business processing method provided in this embodiment obtains the sharing operation data of the target business, and on this basis determines the corresponding sharing participating users and the sharing conversion status and sharing link parameters of the sharing participating users, and further calculates the business rewards of the sharing participating users based on the sharing conversion status, and finally stores the sharing conversion status, sharing link parameters and business rewards of the sharing participating users in the blockchain, so as to realize the blockchain storage of sharing data and ensure the non-tamperability of the sharing conversion process. At the same time, the use of blockchain storage data can also more accurately characterize the user sharing conversion link of the target business, improve the efficiency of attracting new users, and save marketing costs.

[0058] An embodiment of a business processing device based on blockchain provided in this specification is as follows:

[0059] In the above-mentioned embodiment, a business processing method based on blockchain is provided, and correspondingly, a business processing device based on blockchain is also provided, which is described below with reference to the accompanying drawings.

[0060] Reference Figure 4 , which shows a schematic diagram of a blockchain-based business processing device provided in this embodiment.

[0061] Since the device embodiment corresponds to the method embodiment, the description is relatively simple, and the relevant parts can refer to the corresponding description of the method embodiment provided above. The device embodiment described below is only illustrative.

[0062] This embodiment provides a blockchain-based business processing device, including:

[0063] The sharing operation data acquisition module 402 is configured to acquire the sharing operation data generated after the target service is triggered;

[0064] The sharing data determination module 404 is configured to determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user;

[0065] The business reward calculation module 406 is configured to calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status;

[0066] The sharing data storage module 408 is configured to store the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain.

[0067] Optionally, the blockchain-based business processing device further includes:

[0068] A root block creation module is configured to create a root block of the target business in the blockchain; wherein the block is directly or indirectly connected to the root block in the blockchain.

[0069] Optionally, the root block creation module is specifically configured to: obtain the timestamp of the title confirmation instruction according to the title confirmation instruction submitted by the business party for the target business when the target business is created; generate a corresponding hash sequence based on the timestamp, the business sharing content and business agreement of the target business, and create the root block in the blockchain based on the hash sequence.

[0070] Optionally, the sharing conversion status, the sharing link parameters and the business reward are recorded in the block body of the block, and the block header of the block records the Merkle root of the Merkle tree generated according to the data recorded in the block body.

[0071] Optionally, the Merkle root is generated by running the following module:

[0072] A shared data partitioning module is configured to partition the business shared data according to the data type of the business shared data recorded in the block body, and obtain business data blocks corresponding to each data type;

[0073] The Merkle tree generation module is configured to calculate and generate a Merkle tree based on the business data block to obtain the Merkle root.

[0074] Optionally, the sharing participating users include sharing users and / or shared users; the business reward calculation module 406 is specifically configured to calculate the first business reward of the sharing user based on the converted state of the sharing user if the sharing conversion state of the shared user is an unconverted state;

[0075] Correspondingly, the shared data storage module 408 is specifically configured to write the converted status of the sharing user, the unconverted status of the shared user, the sharing link parameters and the first business reward into the block body of the first block in the blockchain.

[0076] Optionally, the blockchain-based business processing device further includes:

[0077] A second business reward calculation module is configured to calculate a second business reward for the shared user based on the converted state of the shared user when detecting that the sharing conversion state of the shared user is updated to the converted state;

[0078] The sharing data writing module is configured to write the converted status of the sharing user and the shared user, the sharing link parameters, the first business reward and the second business reward into the block body of the second block in the blockchain; wherein the first block and the second block are different blocks in the blockchain.

[0079] Optionally, the blockchain-based business processing device further includes:

[0080] a conversion status updating module, configured to update the sharing conversion status of the shared user recorded in the block body of the first block to the converted state when detecting that the sharing conversion status of the shared user is updated to the converted state;

[0081] The reward calculation and writing module is configured to calculate a second business reward of the shared user based on the converted state of the shared user, and write the second business reward into the block body of the first block.

[0082] Optionally, the business reward calculation module 406 is specifically configured to, when detecting that the target business is ended, perform reward settlement for each sharing user and each shared user who participates in the business sharing of the target business, and obtain a first business reward for each sharing user and a second business reward for each shared user;

[0083] Correspondingly, the sharing data storage module 408 is specifically configured to combine the sharing user and the shared user according to the sharing conversion status to obtain at least one business sharing group; the business sharing group has a one-to-one correspondence with the block in the blockchain; the sharing conversion status, business rewards and sharing link parameters of the business sharing group are written into the block body of the block corresponding to the business sharing group.

[0084] Optionally, the blockchain-based business processing device operates based on a smart contract configured by a blockchain node deployed in the blockchain; accordingly, the blockchain-based business processing device further includes:

[0085] A business data search module is configured to search and read business data carrying a user identifier of a target user in the submitted data access request in the blockchain according to the user identifier of the target user carried in the submitted data access request;

[0086] The sharing conversion link determination module is configured to determine the sharing conversion link of the target user based on the business data.

[0087] Optionally, the sharing link parameters include: sharing link and / or sharing mode;

[0088] The sharing link includes at least one of the following: application forwarding, code scanning forwarding;

[0089] The sharing method includes at least one of the following: sharing a business link, scanning a QR code carrying business content or being scanned and shared.

[0090] An embodiment of a blockchain-based business processing device provided in this specification is as follows:

[0091] Corresponding to the above-described business processing method based on blockchain, based on the same technical concept, one or more embodiments of this specification also provide a business processing device based on blockchain, and the business processing device based on blockchain is used to execute the above-mentioned business processing method based on blockchain. Figure 5 A schematic diagram of the structure of a blockchain-based business processing device provided for one or more embodiments of this specification.

[0092] This embodiment provides a blockchain-based business processing device, including:

[0093] like Figure 5As shown, the business processing device based on blockchain may have relatively large differences due to different configurations or performances, and may include one or more processors 501 and memory 502, and the memory 502 may store one or more storage applications or data. Among them, the memory 502 may be a short-term storage or a persistent storage. The application stored in the memory 502 may include one or more modules (not shown in the figure), and each module may include a series of computer executable instructions in the business processing device based on blockchain. Furthermore, the processor 501 may be configured to communicate with the memory 502 to execute a series of computer executable instructions in the memory 502 on the business processing device based on blockchain. The business processing device based on blockchain may also include one or more power supplies 503, one or more wired or wireless network interfaces 504, one or more input and output interfaces 505, one or more keyboards 506, etc.

[0094] In a specific embodiment, a blockchain-based business processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer-executable instructions for the blockchain-based business processing device, and the one or more programs are configured to be executed by one or more processors, including computer-executable instructions for performing the following:

[0095] Obtain the sharing operation data generated after the target business is triggered;

[0096] Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user;

[0097] Calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status;

[0098] The sharing conversion status, the sharing link parameters and the business reward are stored in a block of the blockchain.

[0099] Optionally, the sharing conversion status, the sharing link parameters and the business reward are recorded in the block body of the block, and the block header of the block records the Merkle root of the Merkle tree generated according to the data recorded in the block body.

[0100] Optionally, the Merkle root is generated in the following manner:

[0101] Dividing the business sharing data according to the data type of the business sharing data recorded in the block body to obtain business data blocks corresponding to each data type;

[0102] A Merkle tree is calculated and generated based on the business data block to obtain the Merkle root.

[0103] Optionally, the sharing participating users include sharing users and / or shared users; and the calculating of the business rewards obtained by the sharing participating users through business sharing based on the sharing conversion status includes:

[0104] If the sharing conversion status of the shared user is an unconverted status, calculating the first business reward of the sharing user based on the converted status of the sharing user;

[0105] Accordingly, storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain includes:

[0106] The converted status of the sharing user, the unconverted status of the shared user, the sharing link parameters, and the first business reward are written into the block body of the first block in the blockchain.

[0107] Optionally, when the computer executable instructions are executed, they also include:

[0108] When it is detected that the sharing conversion status of the shared user is updated to the converted status, calculating the second service reward of the shared user based on the converted status of the shared user;

[0109] The converted status of the sharing user and the shared user, the sharing link parameters, the first business reward and the second business reward are written into the block body of the second block in the blockchain; wherein the first block and the second block are different blocks in the blockchain.

[0110] An embodiment of a storage medium provided in this specification is as follows:

[0111] Corresponding to the above-described blockchain-based business processing method, based on the same technical concept, one or more embodiments of this specification also provide a storage medium.

[0112] The storage medium provided in this embodiment is used to store computer executable instructions, and the computer executable instructions implement the following process when executed:

[0113] Obtain the sharing operation data generated after the target business is triggered;

[0114] Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user;

[0115] Calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status;

[0116] The sharing conversion status, the sharing link parameters and the business reward are stored in a block of the blockchain.

[0117] Optionally, the sharing conversion status, the sharing link parameters and the business reward are recorded in the block body of the block, and the block header of the block records the Merkle root of the Merkle tree generated according to the data recorded in the block body.

[0118] Optionally, the Merkle root is generated in the following manner:

[0119] Dividing the business sharing data according to the data type of the business sharing data recorded in the block body to obtain business data blocks corresponding to each data type;

[0120] A Merkle tree is calculated and generated based on the business data block to obtain the Merkle root.

[0121] Optionally, the sharing participating users include sharing users and / or shared users; and the calculating of the business rewards obtained by the sharing participating users through business sharing based on the sharing conversion status includes:

[0122] If the sharing conversion status of the shared user is an unconverted status, calculating the first business reward of the sharing user based on the converted status of the sharing user;

[0123] Accordingly, storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain includes:

[0124] The converted status of the sharing user, the unconverted status of the shared user, the sharing link parameters, and the first business reward are written into the block body of the first block in the blockchain.

[0125] Optionally, the computer executable instructions further implement the following process when executed:

[0126] When it is detected that the sharing conversion status of the shared user is updated to the converted status, calculating the second service reward of the shared user based on the converted status of the shared user;

[0127] The converted status of the sharing user and the shared user, the sharing link parameters, the first business reward and the second business reward are written into the block body of the second block in the blockchain; wherein the first block and the second block are different blocks in the blockchain.

[0128] It should be noted that the embodiments of the storage medium in this specification and the embodiments of the business processing method based on blockchain in this specification are based on the same inventive concept. Therefore, the specific implementation of this embodiment can refer to the implementation of the aforementioned corresponding method, and the repeated parts will not be repeated.

[0129] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0130] In the 1930s, improvements to a technology could be clearly distinguished as hardware improvements (for example, improvements to the circuit structure of diodes, transistors, switches, etc.) or software improvements (improvements to the method flow). However, with the development of technology, many improvements to the method flow today can be regarded as direct improvements to the hardware circuit structure. Designers almost always obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement in a method flow cannot be implemented using a hardware entity module. For example, a programmable logic device (PLD) (such as a field programmable gate array (FPGA)) is such an integrated circuit whose logical function is determined by the user's programming of the device. Designers can "integrate" a digital system on a PLD by programming it themselves, without having to ask a chip manufacturer to design and produce a dedicated integrated circuit chip. Moreover, nowadays, instead of manually making integrated circuit chips, this kind of programming is mostly implemented by "logic compiler" software, which is similar to the software compiler used when developing and writing programs, and the original code before compilation must also be written in a specific programming language, which is called hardware description language (HDL). There is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones are VHDL (Very-High-Speed ​​Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also know that it is only necessary to program the method flow slightly in the above-mentioned hardware description languages ​​and program it into the integrated circuit, and then it is easy to obtain the hardware circuit that implements the logic method flow.

[0131] The controller can be implemented in any appropriate manner, for example, the controller can take the form of a microprocessor or processor and a computer-readable medium storing a computer-readable program code (such as software or firmware) that can be executed by the (micro)processor, a logic gate, a switch, an application-specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of controllers include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in a purely computer-readable program code manner, the controller can be implemented in the form of a logic gate, a switch, an application-specific integrated circuit, a programmable logic controller, and an embedded microcontroller by logically programming the method steps. Therefore, this controller can be considered as a hardware component, and the devices included therein for implementing various functions can also be regarded as structures within the hardware component. Or even, the devices for implementing various functions can be regarded as both software modules for implementing the method and structures within the hardware component.

[0132] 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. Specifically, the computer 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.

[0133] For the convenience of description, the above devices are described in terms of functions and are divided into various units. Of course, when implementing the embodiments of this specification, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0134] It should be understood by those skilled in the art that one or more embodiments of this specification may be provided as a method, system or computer program product. Therefore, one or more embodiments of this specification may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this specification may take 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.) containing computer-usable program code.

[0135] This specification is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of this specification. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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.

[0136] 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.

[0137] 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 The steps for the functions specified in one or more boxes.

[0138] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0139] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0140] 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 magnetic 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.

[0141] 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.

[0142] One or more embodiments of the present specification 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. One or more embodiments of the present specification 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.

[0143] 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.

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

Claims

1. A business processing method based on blockchain, comprising: Obtain the sharing operation data generated after the target business is triggered; Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user; Calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status; Storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain; Before the step of acquiring the sharing operation data generated after the target service is triggered is performed, the method further includes: Creating a root block of the target business in the blockchain; The step of creating a root block of the target business in the blockchain includes: According to the right confirmation instruction submitted by the business party for the target business when the target business is created, obtaining the timestamp of the right confirmation instruction; Based on the timestamp, the business sharing content and the business agreement of the target business, a corresponding hash sequence is generated, and based on the hash sequence, the root block is created in the blockchain.

2. According to the business processing method based on blockchain in claim 1, in, The block is directly or indirectly connected to the root block in the blockchain.

3. According to the blockchain-based business processing method according to claim 1, the sharing conversion status, the sharing link parameters and the business reward are recorded in the block body of the block, and the block header of the block records the Merkle root of the Merkle tree generated according to the data recorded in the block body.

4. According to the blockchain-based business processing method of claim 3, the Merkle root is generated in the following manner: Dividing the business sharing data according to the data type of the business sharing data recorded in the block body to obtain business data blocks corresponding to each data type; A Merkle tree is calculated and generated based on the business data block to obtain the Merkle root.

5. According to the blockchain-based business processing method of claim 1, the sharing participating users include sharing users and / or shared users; the business reward obtained by the sharing participating users for business sharing based on the sharing conversion status includes: If the sharing conversion status of the shared user is an unconverted status, calculating the first business reward of the sharing user based on the converted status of the sharing user; Accordingly, storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain includes: The converted status of the sharing user, the unconverted status of the shared user, the sharing link parameters, and the first business reward are written into the block body of the first block in the blockchain.

6. The blockchain-based business processing method according to claim 5 further comprises: When it is detected that the sharing conversion status of the shared user is updated to the converted status, calculating the second service reward of the shared user based on the converted status of the shared user; The converted status of the sharing user and the shared user, the sharing link parameters, the first business reward and the second business reward are written into the block body of the second block in the blockchain; wherein the first block and the second block are different blocks in the blockchain.

7. The blockchain-based business processing method according to claim 5, further comprising: When it is detected that the sharing conversion status of the shared user is updated to the converted status, updating the sharing conversion status of the shared user recorded in the block body of the first block to the converted status; A second business reward for the shared user is calculated based on the converted state of the shared user, and the second business reward is written into the block body of the first block.

8. According to the blockchain-based business processing method of claim 1, the business reward obtained by the sharing participating user for business sharing based on the sharing conversion status comprises: When the target business is detected to be finished, rewards are settled for each sharing user and each shared user who participated in the business sharing of the target business, and each sharing user obtains a first business reward and each shared user obtains a second business reward; Accordingly, storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain includes: The sharing user and the shared user are combined according to the sharing conversion status to obtain at least one business sharing group; the business sharing group has a one-to-one correspondence with the block in the blockchain; The sharing conversion status, business rewards and sharing link parameters of the business sharing group are written into the block body of the block corresponding to the business sharing group.

9. The blockchain-based business processing method according to claim 1, wherein the blockchain-based business processing method is executed based on a smart contract configured by a blockchain node deployed in the blockchain; accordingly, the blockchain-based business processing method further comprises: According to the user identifier of the target user carried in the submitted data access request, searching and reading the business data carrying the user identifier in the blockchain; Determine the sharing conversion link of the target user based on the business data.

10. According to the blockchain-based business processing method of claim 1, the sharing link parameters include: Sharing link and / or sharing method; The sharing link includes at least one of the following: application forwarding, code scanning forwarding; The sharing method includes at least one of the following: sharing a business link, scanning a QR code carrying business content or being scanned and shared.

11. A business processing device based on blockchain, comprising: A sharing operation data acquisition module is configured to acquire sharing operation data generated after the target service is triggered; A sharing data determination module is configured to determine a sharing participating user corresponding to the sharing operation data, and determine a sharing conversion status and sharing link parameters of the sharing participating user; A business reward calculation module is configured to calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status; A sharing data storage module, configured to store the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain; The device also includes: A root block creation module, configured to create a root block of the target business in the blockchain; The step of creating a root block of the target business in the blockchain includes: According to the right confirmation instruction submitted by the business party for the target business when the target business is created, obtaining the timestamp of the right confirmation instruction; Based on the timestamp, the business sharing content and the business agreement of the target business, a corresponding hash sequence is generated, and based on the hash sequence, the root block is created in the blockchain.

12. According to the blockchain-based business processing device according to claim 11, the sharing conversion status, the sharing link parameters and the business reward are recorded in the block body of the block, and the block header of the block records the Merkle root of the Merkle tree generated according to the data recorded in the block body.

13. The blockchain-based business processing device according to claim 12, wherein the Merkle root is generated by running the following modules: A shared data partitioning module is configured to partition the business shared data according to the data type of the business shared data recorded in the block body, and obtain business data blocks corresponding to each data type; The Merkle tree generation module is configured to calculate and generate a Merkle tree based on the business data block to obtain the Merkle root.

14. According to the blockchain-based business processing device of claim 11, the sharing participating users include sharing users and / or shared users; the business reward calculation module is specifically configured to calculate the first business reward of the sharing user based on the converted state of the sharing user if the sharing conversion state of the shared user is an unconverted state; Correspondingly, the shared data storage module is specifically configured to write the converted status of the sharing user, the unconverted status of the shared user, the sharing link parameters and the first business reward into the block body of the first block in the blockchain.

15. The blockchain-based business processing device according to claim 14, further comprising: A second business reward calculation module is configured to calculate a second business reward for the shared user based on the converted state of the shared user when detecting that the sharing conversion state of the shared user is updated to the converted state; The sharing data writing module is configured to write the converted status of the sharing user and the shared user, the sharing link parameters, the first business reward and the second business reward into the block body of the second block in the blockchain; wherein the first block and the second block are different blocks in the blockchain.

16. A business processing device based on blockchain, comprising: processor; as well as, a memory configured to store computer executable instructions which, when executed, cause the processor to: Obtain the sharing operation data generated after the target business is triggered; Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user; Calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status; Storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain; Before the step of acquiring the sharing operation data generated after the target service is triggered is performed, the method further includes: Creating a root block of the target business in the blockchain; The step of creating a root block of the target business in the blockchain includes: According to the right confirmation instruction submitted by the business party for the target business when the target business is created, obtaining the timestamp of the right confirmation instruction; Based on the timestamp, the business sharing content and the business agreement of the target business, a corresponding hash sequence is generated, and based on the hash sequence, the root block is created in the blockchain.

17. A storage medium for storing computer executable instructions, wherein the computer executable instructions implement the following process when executed: Obtain the sharing operation data generated after the target business is triggered; Determine the sharing participating user corresponding to the sharing operation data, and determine the sharing conversion status and sharing link parameters of the sharing participating user; Calculate the business reward obtained by the sharing participating user through business sharing based on the sharing conversion status; Storing the sharing conversion status, the sharing link parameters and the business reward in a block of the blockchain; Before the step of acquiring the sharing operation data generated after the target service is triggered is performed, the method further includes: Creating a root block of the target business in the blockchain; The step of creating a root block of the target business in the blockchain includes: According to the right confirmation instruction submitted by the business party for the target business when the target business is created, obtaining the timestamp of the right confirmation instruction; Based on the timestamp, the business sharing content and the business agreement of the target business, a corresponding hash sequence is generated, and based on the hash sequence, the root block is created in the blockchain.