Nothing Special   »   [go: up one dir, main page]

WO2021239084A1 - 基于区块链的分佣 - Google Patents

基于区块链的分佣 Download PDF

Info

Publication number
WO2021239084A1
WO2021239084A1 PCT/CN2021/096591 CN2021096591W WO2021239084A1 WO 2021239084 A1 WO2021239084 A1 WO 2021239084A1 CN 2021096591 W CN2021096591 W CN 2021096591W WO 2021239084 A1 WO2021239084 A1 WO 2021239084A1
Authority
WO
WIPO (PCT)
Prior art keywords
distribution
commission
information
user
type
Prior art date
Application number
PCT/CN2021/096591
Other languages
English (en)
French (fr)
Inventor
王峰伟
Original Assignee
支付宝(杭州)信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 支付宝(杭州)信息技术有限公司 filed Critical 支付宝(杭州)信息技术有限公司
Publication of WO2021239084A1 publication Critical patent/WO2021239084A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures

Definitions

  • This application relates to the field of blockchain technology, and in particular to a method and device for commission sharing based on blockchain.
  • the embodiment of this specification provides a block chain-based commission division method, including: obtaining the distribution information of the distribution user associated with the transaction information from the block chain according to the transaction information of the target object of the completed transaction.
  • the distribution users include first-type distribution users and/or second-type distribution users.
  • the distribution information of the first type of distribution user includes positive evaluation information on the target object, and the distribution information of the second type of distribution user includes negative evaluation information on other objects that belong to the same category as the target object.
  • the smart contract deployed in the blockchain is invoked, and the commission division rules recorded in the smart contract are executed according to the transaction amount of the transaction and the distribution information, and the distribution commission information corresponding to the distribution user is determined.
  • the distribution commission information the corresponding distribution commission is placed in the distribution account corresponding to the distribution user, and the distribution commission information of the distribution user is released to the blockchain.
  • the embodiment of this specification also provides a block chain-based commission distribution device, including: an acquisition module, according to the transaction information of the target object of the completed transaction, obtain the distribution of the distribution user associated with the transaction information from the block chain information.
  • the distribution users include first-type distribution users and/or second-type distribution users.
  • the distribution information of the first type of distribution user includes positive evaluation information on the target object, and the distribution information of the second type of distribution user includes negative evaluation information on other objects that belong to the same category as the target object.
  • the execution module calls the smart contract deployed in the blockchain, executes the commission division rules recorded in the smart contract according to the transaction amount of the transaction and the distribution information, and determines the distribution commission information corresponding to the distribution user.
  • the issuing module according to the distribution commission information, puts the corresponding distribution commission to the distribution account corresponding to the distribution user.
  • the first publishing module publishes the distribution commission information of the distribution user to the blockchain.
  • the embodiment of this specification also provides a block chain-based commission equipment, including a processor and a memory arranged to store computer-executable instructions.
  • the processor When the executable instructions are executed, the processor:
  • the transaction information of the target object who completes the transaction obtains the distribution information of the distribution user associated with the transaction information from the blockchain.
  • the distribution users include first-type distribution users and/or second-type distribution users.
  • the distribution information of the first type of distribution user includes positive evaluation information on the target object, and the distribution information of the second type of distribution user includes negative evaluation information on other objects that belong to the same category as the target object.
  • the smart contract deployed in the blockchain is invoked, and the commission division rules recorded in the smart contract are executed according to the transaction amount of the transaction and the distribution information, and the distribution commission information corresponding to the distribution user is determined.
  • the distribution commission information the corresponding distribution commission is placed in the distribution account corresponding to the distribution user, and the distribution commission information of the distribution user is released to the blockchain.
  • the embodiment of this specification also provides a storage medium for storing computer-executable instructions that, when executed, realize the following process:
  • the transaction information of the target object of the completed transaction obtain all the information from the blockchain.
  • the distribution users include first-type distribution users and/or second-type distribution users.
  • the distribution information of the first type of distribution user includes positive evaluation information on the target object, and the distribution information of the second type of distribution user includes negative evaluation information on other objects that belong to the same category as the target object.
  • the smart contract deployed in the blockchain is invoked, and the commission division rules recorded in the smart contract are executed according to the transaction amount of the transaction and the distribution information, and the distribution commission information corresponding to the distribution user is determined.
  • the distribution commission information the corresponding distribution commission is placed in the distribution account corresponding to the distribution user, and the distribution commission information of the distribution user is released to the blockchain.
  • Figure 1 is one of the method flowcharts of the blockchain-based commission sharing method provided by the embodiment of this specification
  • Figure 2 is the second method flowchart of the blockchain-based commission sharing method provided by the embodiment of this specification.
  • Figure 3 is the third method flowchart of the blockchain-based commission sharing method provided by the embodiment of this specification.
  • Figure 4 is the fourth method flowchart of the block chain-based commission method provided by the embodiment of this specification.
  • Fig. 5 is a schematic diagram of the module composition of the block chain-based commission dividing device provided by the embodiment of the specification;
  • Fig. 6 is a schematic structural diagram of a block chain-based commission sharing device provided by an embodiment of the specification.
  • the idea of the embodiment of this specification is to store the distribution information and distribution commission information involved in the commission and distribution process in the blockchain, and publish the commission rules as a smart contract to the blockchain, using the block
  • the chain s data transparency and non-tamperability make the entire commissioning process open and transparent, and ensure the authenticity of the data; in addition, when commissioning, the impact of the positive and negative reviews of the distribution users on the distribution is considered. Internally, the rationality and flexibility of commission distribution is improved, and commission distribution is more accurate.
  • the embodiments of this specification provide a blockchain-based distribution method, device, and equipment, which will be introduced one by one below.
  • the embodiment of this specification provides a block chain-based commission division method.
  • the execution subject of the method may be a trading platform, specifically, a block chain-based commission division device installed on the trading platform.
  • Figure 1 is one of the method flowcharts of the block chain-based commissioning method provided by the embodiment of this specification.
  • the method shown in Figure 1 at least includes the following steps: Step 102, according to the transaction information of the target object that has completed the transaction,
  • the blockchain obtains the distribution information of the distribution user associated with the transaction information.
  • the above-mentioned distribution users include the first type of distribution users and/or the second type of distribution users.
  • the distribution information of the first type of distribution users includes the positive evaluation information of the target object
  • the distribution information of the second type of distribution user includes the right and the target object. Negative evaluation information of other objects in the category.
  • Distribution can be understood as helping businesses or platforms to promote products or services.
  • target object may be a certain commodity or a certain service, and the embodiment of this specification does not limit the specific content of the target object.
  • the category of the object can be understood as fans, air conditioners, mattresses, milk powder, etc.
  • other objects in the same category as the target object can be understood as objects of other brands in the same category as the target object, or with The target object belongs to objects of other models in the same category, etc.
  • the positive evaluation information of the target object in the distribution information can be understood as the evaluation content that the target object is worth buying or the target object is not bad; the negative evaluation information can be understood as the evaluation content that the target object is not worth buying.
  • the distribution users in the embodiments of this specification include at least the following three situations: First, only the first type of distribution users are included.
  • the distribution information obtained from the blockchain is the first type of distribution.
  • User’ s positive evaluation information on the target object; second, only includes the second type of distribution users, in this case, the distribution information obtained from the blockchain is the second type of distribution users’
  • the distribution information obtained from the blockchain includes the positive evaluation information of the first type of distribution users on the target object , And, the negative evaluation information of the second type of distribution users on other objects that belong to the same category as the target object.
  • the above transaction information may include the user's browsing behavior information of the commodity promotion information shared by each distribution user before completing the transaction of the target object. Based on the user's browsing behavior information, the distribution user associated with the exchange can be determined, so as from the blockchain Read the distribution information corresponding to these distribution users.
  • Step 104 Invoke the smart contract deployed in the blockchain, execute the commission rules recorded in the smart contract based on the transaction amount and distribution information of the above transaction, and determine the distribution commission information corresponding to the above distribution user.
  • a smart contract needs to be deployed in the blockchain network in advance, and the smart contract needs to record at least the commission rules used to determine the distribution commission information corresponding to the distribution user based on the transaction amount and distribution information.
  • the above distribution commission information can be understood as the distribution amount allocated by the distribution user, that is, the corresponding relationship between the distribution user and the distribution commission.
  • Step 106 According to the above-mentioned distribution commission information, the corresponding distribution commission is placed in the distribution account corresponding to the distribution user, and the distribution commission information of the distribution user is released to the blockchain.
  • the two or more distribution users can be the first type of distribution users, or all of the second type of distribution users, or the existing first type There are also second-type distribution users. The following will introduce one by one according to the situation.
  • the distribution users include the first type of distribution users and the second type of distribution users.
  • step 104 the smart contract deployed in the blockchain is called, and the commission rules recorded in the smart contract are executed according to the transaction amount and distribution information of the above transaction to determine the distribution commission information corresponding to the distribution user.
  • Step 1) Determine the commission amount corresponding to the exchange based on the above transaction amount and the commission rate set in the commission rules
  • Step 2) According to the above commission amount, the first type of distribution user corresponds to Calculate the total distribution commission corresponding to the first type of distribution users and the total distribution commission corresponding to the second type of distribution users in accordance with the set ratio in the above-mentioned sub-commission rule for the distribution information corresponding to the second type of distribution users;
  • Step 3) According to the total distribution commission corresponding to the first type of distribution users and the number of the first type of distribution users, determine the distribution corresponding to the distribution users in the first type of distribution users according to the first distribution rule in the above commission rules Commission information, and, according to the total distribution commission corresponding to the second type of distribution users and the number of the second type of distribution users, according
  • the commission rate of the transaction is 10%. Therefore, it can be calculated that the commission amount used for commissioning in the transaction is 10 Yuan. If the proportion of commissions corresponding to the first type of distribution users and the second type of distribution users is 8:2, that is, the first type of distribution users account for 80% of the distribution amount, and the second type of distribution users account for 20% of the distribution amount, then It can be calculated that the total distribution commission for the first type of distribution users is 8 yuan, and the total distribution commission for the second type of distribution users is 2 yuan.
  • the total distribution commission corresponding to the first type of distribution user is determined as the distribution commission corresponding to the distribution user; if so; , The number of distribution users in the first type of distribution users is multiple.
  • the distribution of the first type of distribution users is determined according to the first distribution rule in the above commission rules
  • the distribution commission information corresponding to the user specifically includes the following process: Obtain the evaluation information of the transaction user of the above transaction on the target object from the blockchain; combine the evaluation information of the above transaction user on the target object with each distribution user in the first type of distribution user The user performs similarity matching on the positive evaluation information of the target object, and obtains the similarity value between the evaluation information of the transaction user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution users; according to each similarity value
  • the total distribution commission corresponding to the first type of distribution users is used to determine the distribution commission information corresponding to each distribution user in the first type of distribution users.
  • the text similarity algorithm can be used to calculate the similarity value between the evaluation information of the trading user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution users .
  • Existing text similarity algorithms can be used to calculate similarity values in the embodiments of this specification, such as cosine first similarity algorithm, TF-IDF (Term Frequency-Inverse Document Frequency, term frequency-inverse document frequency), etc., this specification The embodiments will not be listed one by one.
  • the distribution commission corresponding to the similarity value is higher for the distribution user.
  • the distribution commission corresponding to each distribution user in the first category of distribution users can be calculated according to the following formula;
  • P i represents the distribution commission corresponding to the i-th distribution user in the first type of distribution user
  • S i represents the evaluation information of the transaction user on the target object and the i-th distribution user in the first type of distribution user on the target
  • P always represents the total distribution commission corresponding to the first type of distribution users
  • N represents the number of distribution users in the first type of distribution users.
  • the total distribution commission corresponding to the second type of distribution user is directly used as the distribution commission corresponding to the distribution user.
  • the second distribution rule determines the distribution commission information corresponding to the distribution users in the second type of distribution users, including: obtaining the evaluation information of the target object by the transaction user of the above transaction from the blockchain; the evaluation information includes the scoring point of the target object Value; determine the difference between the above-mentioned trading users’ scoring points for the target object and the second-type distribution users’ scoring points for other objects; according to each difference and the total distribution commission corresponding to the second-type distribution users , To determine the distribution commission information corresponding to each distribution user in the second type of distribution users.
  • the above difference is the absolute value of the difference between the scoring value of the transaction object on the target object and the scoring value of each distribution user in the second type of distribution users on other objects.
  • the distribution commission information corresponding to each distribution user in the second type of distribution users can be determined by the following formula according to each difference and the total distribution commission corresponding to the second type of distribution users;
  • K j represents the distribution commission corresponding to the j-th distribution user in the second type of distribution user
  • X j represents the scoring score of the transaction user on the target object and the j-th distribution user in the second type of distribution user
  • M represents the number of distribution users in the second type of distribution users
  • K always represents the total distribution commission corresponding to the second type of distribution users.
  • FIG. 2 is the second method flowchart of the blockchain-based commission sharing method provided by the embodiment of this specification.
  • the method shown in Figure 2 includes the following steps: Step 202, according to the transaction information of the target object that has completed the transaction, from the district
  • the block chain obtains the distribution information of the first type of distribution user and the second type of distribution user associated with the transaction information.
  • Step 204 Invoke the smart contract deployed in the blockchain, and determine the commission amount corresponding to the exchange according to the transaction amount and the set commission rate loaded in the smart contract.
  • Step 206 According to the above commission amount, the distribution information corresponding to the first type of distribution user, and the distribution information corresponding to the second type of distribution user, calculate the corresponding value of the first type of distribution user according to the set ratio recorded in the smart contract. The total distribution commission of and the total distribution commission corresponding to the second type of distribution users.
  • Step 208 Obtain the evaluation information of the target object by the transaction user of the transaction from the blockchain, and the evaluation information includes the scoring value and text description of the target object.
  • Step 210 Match the transaction user’s evaluation information on the target object with the positive evaluation information of each distribution user in the first type of distribution users on the target object, and obtain the transaction user’s evaluation information on the target object and the first type of distribution.
  • Step 212 Determine the difference between the scoring scores of the transaction users on the target object and the scoring scores of the distribution users in the second type of distribution users on other objects; according to each difference and the total distribution corresponding to the second type of distribution users Commission, to determine the distribution commission information corresponding to each distribution user in the second type of distribution users.
  • Step 214 According to the above-mentioned distribution commission information, the corresponding distribution commission is placed in the distribution account corresponding to each distribution user of the distribution, and the distribution commission information of each distribution user is released to the blockchain.
  • step 210 and step 212 may have a sequential relationship.
  • Step 210 may be executed first and then step 212 may be executed, or step 212 may be executed first and then step 210 may be executed, or the foregoing step 210 and step 212 may also be executed at the same time.
  • FIG. 2 only takes the simultaneous execution of step 210 and step 212 as an example for description, and the embodiment of this specification does not limit the execution order of the foregoing step 210 and step 212.
  • distribution users only include the first type of distribution users.
  • the distribution user only includes one type 1 distribution user, then directly The calculated commission amount can be used as the distribution commission corresponding to the distribution user; if the above-mentioned distribution user includes multiple first-type distribution users, in the above step 104, the smart contract deployed in the blockchain is called, according to the above transaction
  • the transaction amount and distribution information of the above-mentioned smart contract are executed to determine the distribution commission information corresponding to the above-mentioned distribution user, which specifically includes the following steps 1, 2 and 3; step 1, according to the above transaction amount and distribution
  • the commission rate is set in the commission rules, and the commission amount corresponding to the above exchange is determined; step two, obtain the evaluation information of the target object by the transaction user of the above transaction from the blockchain, and the evaluation of the target object by the above transaction user
  • the information is matched with the positive evaluation information of each distribution user in the first type of distribution users on the target object, and the evaluation information of the above
  • the third method flowchart of the block chain commission method at least includes the following steps: Step 302, according to the transaction information of the target object that has completed the transaction, obtain the transaction information associated with the transaction information from the blockchain The distribution information corresponding to the distribution user.
  • Step 304 Invoke the smart contract deployed in the blockchain, and determine the commission amount corresponding to the exchange according to the transaction amount and the set commission rate loaded in the smart contract.
  • Step 306 Obtain the evaluation information of the transaction user of the transaction on the target object from the blockchain, and match the evaluation information of the transaction user on the target object with the positive evaluation information of each distribution user on the target object to obtain the transaction The similarity value between the user's evaluation information on the target object and the positive evaluation information corresponding to each distribution user.
  • Step 308 Determine the distribution commission information corresponding to each distribution user according to each similarity value and the aforementioned commission amount.
  • Step 310 According to the above distribution commission information, the corresponding distribution commission is placed in the distribution account corresponding to each distribution user of the distribution, and the distribution commission information of each distribution user is released to the blockchain.
  • distribution users only include the second type of distribution users.
  • the distribution user only includes a second type of distribution user, then directly The calculated commission amount can be used as the distribution commission corresponding to the distribution user; if the above-mentioned distribution user includes multiple second-type distribution users, in the above step 104, the smart contract deployed in the blockchain is called, according to the above transaction
  • the transaction amount and distribution information of the above-mentioned smart contract are executed to determine the distribution commission information corresponding to the above-mentioned distribution user, which specifically includes the following steps (1), step (2), step (3) and step (4) ); Step (1), according to the above transaction amount and the commission rate set in the commission rules, determine the commission amount corresponding to the above exchange; Step (2), obtain the transaction user's target of the above transaction from the blockchain Evaluation information of the object.
  • the evaluation information includes the scoring value of the target object.
  • Step (3) determine the difference between the evaluation scores of the above-mentioned trading users on the target object and the scores of the distribution users in the second type of distribution users on other objects; Step (4), according to each difference and commission amount , To determine the distribution commission information corresponding to each distribution user in the second type of distribution users.
  • step (1) For the specific implementation process of the above step (1), step (2), and step (3), please refer to the specific implementation process of the corresponding steps in Case 1, which will not be repeated here.
  • the fourth method flow chart of the block chain commission method at least includes the following steps: Step 402, according to the transaction information of the target object that has completed the transaction, obtain the transaction information associated with the transaction information from the blockchain The distribution information corresponding to the distribution user.
  • step 404 the smart contract deployed in the blockchain is called, and the commission amount corresponding to the exchange is determined according to the transaction amount and the set commission rate loaded in the smart contract.
  • Step 406 Obtain the evaluation information of the transaction user of the transaction on the target object from the blockchain, and the evaluation information includes the scoring value of the target object.
  • Step 408 Determine the difference between the scoring points of the trading users for the target object and the scoring points of the distribution users for other objects.
  • Step 410 Determine the distribution commission information corresponding to each distribution user according to each of the above-mentioned differences and the commission amount.
  • Step 412 According to the above distribution commission information, the corresponding distribution commission is placed in the distribution account corresponding to each distribution user of the distribution, and the distribution commission information of each distribution user is released to the blockchain.
  • the transaction information mentioned in step 102 also includes the browsing behavior information of the transaction user of the transaction before the transaction of the target object is executed.
  • the distribution user associated with the transaction information can be determined by the following steps: According to the browsing behavior information, the transaction users browsed by the transaction user and belong to the target object or belong to the same category as the target object The distribution users corresponding to the distribution information of other objects are determined to be the distribution users associated with the transaction information.
  • the distribution user corresponding to the distribution information browsed by the transaction user, it is regarded as the distribution user associated with the exchange.
  • the target object is an electric fan of brand A. If the user browses the positive evaluation information shared by distribution user 1 on the electric fan of brand A before purchasing the electric fan, and browses the sharing of distribution user 2
  • Electric fans, that is, the negative evaluation of the electric fans of brand B by the distribution user 3 may prompt users to buy the electric fans of brand A. Therefore, the distribution user 3 page should be commissioned. Therefore, after the user completes the transaction of the electric fan of brand A, the distribution users 1.
  • Both distribution user 2 and distribution user 3 are related distribution users of the exchange.
  • the method provided in the embodiment of this specification also includes The steps are as follows: after the distribution user completes the transaction of the object, publishes the evaluation information of the object and the purchase link of the object to the designated website, and publishes the evaluation information of the distribution user for the object and the purchase link of the object to the block chain. It can be understood that after completing the transaction with the object, each distribution user publishes his own evaluation of the object on the designated website for reference when other users purchase the object.
  • the method provided by the embodiment of this specification further includes the following steps: publishing the transaction information of the target object to the blockchain, the transaction information includes the transaction amount, the transaction user’s evaluation of the target object Information and the browsing behavior information of the transaction user before completing the transaction.
  • the block chain-based commission method provided in the embodiment of this manual stores the distribution information and distribution commission information involved in the commission and distribution process in the blockchain, and publishes the commission rules as a smart contract to the district
  • the transparency and non-tampering of the data of the block chain are used to make the entire commissioning process open and transparent, and to ensure the authenticity of the data; in addition, because the user does not recommend a certain object, it actually recommends the same category in disguise Other objects, therefore, in the embodiment of this specification, when commissioning is performed, the positive and negative evaluations of the distribution users are taken into account, that is, reverse commissioning is supported, which improves the rationality and flexibility of commissioning. , Making the commission more accurate.
  • FIG. 5 is a schematic diagram of the module composition of the block chain-based commission division device provided in the embodiment of this specification.
  • the device shown in Figure 5 includes at least the following modules: an acquisition module 502 for The transaction information of the target object that completes the transaction, the distribution information of the distribution user associated with the transaction information is obtained from the blockchain, the distribution user includes the first type of distribution user and/or the second type of distribution user, and the first type of distribution user’s distribution information Including the positive evaluation information of the target object, the distribution information of the second type of distribution user includes the negative evaluation information of other objects in the same category as the target object; the execution module 504 is used to call the smart contract deployed in the blockchain, according to The transaction amount and distribution information of the transaction, execute the commission rules recorded in the smart contract, and determine the distribution commission information corresponding to the distribution user; the issuing module 506 is used to transfer the corresponding distribution commission to the corresponding distribution user according to the distribution commission information Distribution account; the first release module 508 is used to release the distribution commission information of the distribution user to the blockchain.
  • the above-mentioned distribution users include first-type distribution users and second-type distribution users.
  • the above-mentioned execution module 504 includes: a first determining unit, which is used to determine the commission amount corresponding to the exchange according to the transaction amount and the commission rate set in the commission rules; the calculation unit is used to determine the commission amount according to the commission amount.
  • the distribution information corresponding to the first type of distribution users and the distribution information corresponding to the second type of distribution users are calculated according to the set ratio in the commission rules, respectively, the total distribution commission corresponding to the first type of distribution users and the second type of distribution
  • the total distribution commission corresponding to the user; the second determining unit is used to determine the first type according to the total distribution commission corresponding to the first type of distribution user and the number of the first type of distribution user according to the first distribution rule in the commission rule
  • the distribution commission information corresponding to the distribution users among the distribution users, and, according to the total distribution commission corresponding to the second type of distribution users and the number of the second type of distribution users, the second type is determined according to the second distribution rule in the commission rules
  • the number of distribution users in the above-mentioned first type of distribution users is multiple.
  • the above-mentioned second determining unit is specifically used to: obtain the evaluation information of the transaction user on the target object from the blockchain; compare the evaluation information of the transaction user on the target object with each distribution user in the first type of distribution user The similarity of the positive evaluation information of the target object is matched, and the similarity value between the evaluation information of the trading user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution users is obtained; according to each similarity value and the first The total distribution commission corresponding to the first-type distribution user determines the distribution commission information corresponding to each distribution user in the first-type distribution user.
  • the number of distribution users in the above-mentioned second type of distribution users is multiple.
  • the above-mentioned second determination unit is specifically used to: obtain the evaluation information of the transaction user of the transaction on the target object from the blockchain, the evaluation information including the scoring value of the target object; determine the scoring value of the transaction user on the target object The difference between the scoring points of each distribution user in the second type of distribution users and other objects; according to each difference and the total distribution commission corresponding to the second type of distribution users, determine the corresponding distribution of each distribution user in the second type of distribution users The distribution commission information.
  • the above-mentioned distribution users include multiple first-type distribution users.
  • the above-mentioned execution module 504 includes: a third determining unit for determining the commission amount corresponding to the exchange according to the transaction amount and the commission rate set in the commission rules; the matching unit is used for downloading from the blockchain Obtain the evaluation information of the transaction user on the target object, and match the evaluation information of the transaction user on the target object with the positive evaluation information of each distribution user in the first type of distribution users to obtain the transaction user’s evaluation of the target.
  • the foregoing distribution users include a second type of distribution users, and the number of distribution users in the second type of distribution users is multiple.
  • the above-mentioned execution module 504 includes: a fifth determining unit, which is used to determine the commission amount corresponding to the exchange according to the transaction amount and the commission rate set in the commission rules; Obtain the evaluation information of the transaction user on the target object, the evaluation information includes the scoring value of the target object; the difference determination unit is used to determine the scoring value of the transaction user on the target object and each distribution user in the second type of distribution users The difference between the scoring points of other objects; the commission determining unit is used to determine the distribution commission information corresponding to each distribution user in the second type of distribution users according to each difference and the commission amount.
  • the foregoing transaction information includes browsing behavior information of each distribution information of the transaction user of the transaction before the transaction of the target object is executed.
  • the device provided by the embodiment of this specification further includes: a determining module, which is used to, according to the browsing behavior information, correspond to the distribution information of other objects browsed by the transaction user and belonging to the target object or belonging to the same category as the target object The distribution user is determined as the distribution user associated with the transaction information.
  • the device provided by the embodiment of this specification further includes: a second publishing module, which is used to publish the evaluation information of the object and the purchase link of the object to a designated website after the distribution user completes the transaction of the object, and the distribution The user’s evaluation information for the object and the object’s purchase link are published to the blockchain; the third publishing module is used to publish the transaction information of the target object to the blockchain.
  • the transaction information includes the transaction amount and the transaction user’s Evaluation information and information on the browsing behavior of the transaction user before completing the transaction.
  • the block chain-based commission device provided by the embodiment of this specification can also execute the method of the block chain-based commission device in Figures 1 to 4, and realize the block chain-based commission device in Figure 1- Figure The functions of the embodiment shown in 4 will not be repeated here.
  • the block chain-based commission device provided in the embodiment of this manual stores the distribution information and distribution commission information involved in the commission and distribution process in the blockchain, and publishes the commission rules as a smart contract to the district
  • the transparency and non-tampering of the data of the block chain are used to make the entire commissioning process open and transparent, and to ensure the authenticity of the data; in addition, because the user does not recommend a certain object, it actually recommends the same category in disguise Other objects, therefore, in the embodiment of this specification, when commissioning is performed, the positive and negative evaluations of the distribution users are taken into account, that is, reverse commissioning is supported, which improves the rationality and flexibility of commissioning. , Making the commission more accurate.
  • the embodiment of this specification also provides a block chain-based commission sharing device, as shown in FIG. 6.
  • Blockchain-based commissioning devices may have relatively large differences due to different configurations or performances, and may include one or more processors 601 and memory 602, and memory 602 may store one or more storage applications or data .
  • the memory 602 may be short-term storage or persistent storage.
  • the application program stored in the memory 602 may include one or more modules (not shown in the figure), and each module may include a series of computer-executable instruction information for the blockchain-based commissioning device.
  • the processor 601 may be configured to communicate with the memory 602, and execute a series of computer-executable instruction information in the memory 602 on the commissioning device based on the blockchain.
  • the block chain-based commission equipment may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input and output interfaces 605, one or more keyboards 606, and so on.
  • the block chain-based commissioning device includes a memory and one or more programs.
  • One or more programs are stored in the memory, and the one or more programs may include one or more programs.
  • the above modules, and each module may include a series of computer-executable instruction information in the blockchain-based commission equipment, and is configured to be executed by one or more processors.
  • the following computer executable instruction information According to the transaction information of the target object of the completed transaction, obtain the distribution information of the distribution user associated with the transaction information from the blockchain.
  • the distribution user includes the first type of distribution user and/or the second type of distribution user ,
  • the distribution information of the first type of distribution users includes positive evaluation information for the target object, and the distribution information of the second type of distribution user includes negative evaluation information for other objects that belong to the same category as the target object; call the intelligence deployed in the blockchain
  • the contract according to the transaction amount and distribution information of the transaction, executes the commission rules recorded in the smart contract to determine the distribution commission information corresponding to the distribution user; according to the distribution commission information, the corresponding distribution commission is placed in the distribution account corresponding to the distribution user, And publish the distribution commission information of the distribution users to the blockchain.
  • the distribution users include the first type of distribution users and the second type of distribution users.
  • call the smart contract deployed in the blockchain execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution commission information corresponding to the distribution user, including: according to the transaction amount and commission The commission ratio is set in the rules to determine the commission amount corresponding to the exchange; according to the commission amount, the distribution information corresponding to the first type of distribution users, and the distribution information corresponding to the second type of distribution users, follow the commission rules in the Calculate the total distribution commission corresponding to the first type of distribution users and the total distribution commission corresponding to the second type of distribution users respectively; according to the total distribution commission corresponding to the first type of distribution users and the number of the first type of distribution users , Determine the distribution commission information corresponding to the distribution users in the first type of distribution users according to the first distribution rule in the sub-commission rules, and, according to the total distribution commission corresponding to the second type of distribution users and the
  • the number of distribution users in the first type of distribution users is multiple.
  • the distribution commission information corresponding to the distribution users in the first type of distribution users is determined according to the first distribution rule in the commission rules , Including: obtaining the evaluation information of the transaction user on the target object from the blockchain; matching the evaluation information of the transaction user on the target object with the positive evaluation information of the first type of distribution users on the target object , Obtain the similarity value between the evaluation information of the trading user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution user; according to each similarity value and the total distribution commission corresponding to the first type of distribution user, Determine the distribution commission information corresponding to each distribution user in the first type of distribution users.
  • the number of distribution users in the second type of distribution users is multiple.
  • the distribution commission letter corresponding to the distribution users in the second type of distribution users is determined according to the second distribution rule in the commission rules.
  • the distribution users include multiple first-type distribution users.
  • call the smart contract deployed in the blockchain execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution commission information corresponding to the distribution user, including: according to the transaction amount and commission The commission ratio is set in the rules to determine the corresponding commission amount of the exchange; the transaction user’s evaluation information of the target object is obtained from the blockchain, and the evaluation information of the transaction user’s target object is compared with the first type of distribution user
  • Each distribution user in the distribution user matches the similarity of the positive evaluation information of the target object, and obtains the similarity value between the evaluation information of the transaction user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution user;
  • the similarity value and the commission amount determine the distribution commission information corresponding to each distribution user in the first type of distribution user.
  • the distribution users include the second-type distribution users, and the number of the second-type distribution users is multiple.
  • call the smart contract deployed in the blockchain execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution commission information corresponding to the distribution user, including: according to the transaction amount and commission The commission ratio is set in the rules to determine the corresponding commission amount of the exchange; the evaluation information of the trading user who obtains the transaction from the blockchain on the target object, the evaluation information includes the scoring score of the target object; determines the transaction user’s target The difference between the scoring score of the object and the scoring score of each distribution user in the second type of distribution users on other objects; according to each difference and the commission amount, determine the distribution commission corresponding to each distribution user in the second type of distribution user information.
  • the transaction information when the computer-executable instruction information is executed, includes the browsing behavior information of the transaction user of the transaction for each distribution information before the transaction of the target object is executed.
  • the following steps are used to determine the distribution user associated with the transaction information: According to the browsing behavior information, the distribution user corresponding to the distribution information browsed by the transaction user and belonging to the target object or other objects in the same category as the target object is determined as The distribution user associated with the transaction information.
  • the following steps can also be performed: After the transaction, publish the evaluation information of the object and the object's purchase link to the designated website, and publish the distribution user's evaluation information of the object and the object's purchase link to the blockchain. After completing the transaction of the target object, the following steps can be performed: publish the transaction information of the target object to the blockchain.
  • the transaction information includes the transaction amount, the transaction user’s evaluation information on the target object, and the transaction user’s information before completing the transaction. Browse behavior information.
  • the block chain-based commission equipment provided in the embodiment of this manual stores the distribution information and distribution commission information involved in the commission and distribution process in the blockchain, and publishes the commission rules as a smart contract to the district
  • the transparency and non-tampering of the data of the block chain are used to make the entire commissioning process open and transparent, and to ensure the authenticity of the data; in addition, because the user does not recommend a certain object, it actually recommends the same category in disguise Other objects, therefore, in the embodiment of this specification, when commissioning is performed, the positive and negative evaluations of the distribution users are taken into account, that is, reverse commissioning is supported, which improves the rationality and flexibility of commissioning. , Making the commission more accurate.
  • an embodiment of this specification also provides a storage medium for storing computer-executable instruction information.
  • the storage medium may be U Disk, optical disk, hard disk, etc.
  • the computer executable instruction information stored in the storage medium is executed by the processor, the following process can be realized: according to the transaction information of the target object of the completed transaction, the transaction information associated with the transaction information is obtained from the blockchain Distribution information of distribution users.
  • Distribution users include first-type distribution users and/or second-type distribution users.
  • Negative evaluation information of other objects in the same category as the target object call the smart contract deployed in the blockchain, execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution corresponding to the distribution user Commission information: According to the distribution commission information, the corresponding distribution commission will be placed in the distribution account corresponding to the distribution user, and the distribution commission information of the distribution user will be published on the blockchain.
  • the distribution users include the first type of distribution users and the second type of distribution users.
  • call the smart contract deployed in the blockchain execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution commission information corresponding to the distribution user, including: according to the transaction amount and commission The commission ratio is set in the rules to determine the commission amount corresponding to the exchange; according to the commission amount, the distribution information corresponding to the first type of distribution users, and the distribution information corresponding to the second type of distribution users, follow the commission rules in the Calculate the total distribution commission corresponding to the first type of distribution users and the total distribution commission corresponding to the second type of distribution users respectively; according to the total distribution commission corresponding to the first type of distribution users and the number of the first type of distribution users , Determine the distribution commission information corresponding to the distribution users in the first type of distribution users according to the first distribution rule in the sub-commission rules, and, according to the total distribution commission corresponding to
  • the distribution commission information corresponding to the distribution users in the first type of distribution users is determined according to the first distribution rule in the commission rules , Including: obtaining the evaluation information of the transaction user on the target object from the blockchain; matching the evaluation information of the transaction user on the target object with the positive evaluation information of the first type of distribution users on the target object , Obtain the similarity value between the evaluation information of the trading user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution user; determine the value of the similarity and the total distribution commission corresponding to the first type of distribution user The distribution commission information corresponding to each distribution user in the first type of distribution users.
  • the distribution commission letter corresponding to the distribution users in the second type of distribution users is determined according to the second distribution rule in the commission rules.
  • the distribution users include multiple first-type distribution users.
  • call the smart contract deployed in the blockchain execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution commission information corresponding to the distribution user, including: according to the transaction amount and commission The commission ratio is set in the rules to determine the corresponding commission amount of the exchange; the transaction user’s evaluation information of the target object is obtained from the blockchain, and the evaluation information of the transaction user’s target object is compared with the first type of distribution user
  • Each distribution user in the distribution user matches the similarity of the positive evaluation information of the target object, and obtains the similarity value between the evaluation information of the transaction user on the target object and the positive evaluation information corresponding to each distribution user in the first type of distribution user;
  • the similarity value and the commission amount determine the distribution commission information corresponding to each distribution user in the first type of distribution user.
  • the distribution users include the second type of distribution users, and the number of the second type of distribution users is multiple.
  • call the smart contract deployed in the blockchain execute the commission rules recorded in the smart contract according to the transaction amount and distribution information of the transaction, and determine the distribution commission information corresponding to the distribution user, including: according to the transaction amount and commission The commission ratio is set in the rules to determine the corresponding commission amount of the exchange; the evaluation information of the trading user who obtains the transaction from the blockchain on the target object, the evaluation information includes the scoring score of the target object; determines the transaction user’s target The difference between the scoring score of the object and the scoring score of each distribution user in the second type of distribution users on other objects; according to each difference and the commission amount, determine the distribution commission corresponding to each distribution user in the second type of distribution user information.
  • the transaction information includes the browsing behavior information of the transaction user of the transaction for each distribution information before the transaction of the target object is executed.
  • the following steps are used to determine the distribution user associated with the transaction information: According to the browsing behavior information, the distribution user corresponding to the distribution information browsed by the transaction user and belonging to the target object or other objects in the same category as the target object is determined as The distribution user associated with the transaction information.
  • the computer executable instruction information stored in the storage medium when executed by the processor, according to the transaction information of the target object of the completed transaction, before obtaining the distribution information of the distribution user associated with the transaction information from the blockchain, the The following steps can be performed: after the distribution user completes the transaction of the object, publish the evaluation information of the object and the object's purchase link to the designated website, and publish the distribution user's evaluation information for the object and the object's purchase link to the blockchain; After completing the transaction of the target object, the following steps can be performed: publish the transaction information of the target object to the blockchain.
  • the transaction information includes the transaction amount, the transaction user’s evaluation information on the target object, and the transaction user’s information before completing the transaction.
  • Browse behavior information when the computer executable instruction information stored in the storage medium is executed by the processor, according to the transaction information of the target object of the completed transaction, before obtaining the distribution information of the distribution user associated with the transaction information from the blockchain.
  • the distribution information and distribution commission information involved in the commission and distribution process will be stored in the blockchain, and the commission will be stored in the blockchain.
  • the rules are released to the blockchain as a smart contract, using the data transparency and immutability of the blockchain to make the entire commissioning process open and transparent, and to ensure the authenticity of the data; in addition, because the user does not recommend a certain object actually The above is to recommend other objects of the same category in disguise. Therefore, in the embodiment of this specification, when commissioning is carried out, the influence of the positive and negative comments of the distribution users on the distribution is taken into account, that is, the reverse commission is supported, which improves the commission. The rationality and flexibility of the commission makes the commission more accurate.
  • a Programmable Logic Device (such as a Field Programmable Gate Array (FPGA)) is such an integrated circuit whose logic function is determined by the user's programming of the device.
  • HDL Hardware Description Language
  • the controller can be implemented in any suitable manner.
  • the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program codes (such as software or firmware) executable by the (micro)processor. , Logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers.
  • controllers include but are not limited to the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20 and Silicon Labs C8051F320, the memory controller can also be implemented as a part of the memory control logic.
  • controllers in addition to implementing the controller in a purely computer-readable program code manner, it is completely possible to program the method steps to make the controller use logic gates, switches, application specific integrated circuits, programmable logic controllers, and embedded logic.
  • the same function can be realized in the form of a microcontroller or the like. Therefore, such a controller can be regarded as a hardware component, and the devices included in it for realizing various functions can also be regarded as a structure within the hardware component. Or even, the device for realizing various functions can be regarded as both a software module for realizing the method and a structure within a hardware component.
  • a typical implementation device is a computer.
  • the computer may be, for example, a personal computer, a laptop computer, a cell 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 Any combination of these devices.
  • this application can be provided as a method, a system, or a computer program product. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this 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.) containing computer-usable program codes.
  • a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • These computer program instruction information can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instruction information stored in the computer-readable memory generates a manufactured product including the instruction information device.
  • the instruction information device realizes the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instruction information can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, which can be executed on the computer or other programmable equipment.
  • the instruction information of provides the steps used to implement the function specified in one or more processes in the flowchart and/or one block or more in the block diagram.
  • the computing device includes one or more processors (CPU), input/output interfaces, network interfaces, and memory.
  • processors CPU
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and/or non-volatile memory, such as read-only memory (ROM) or flash memory (flash RAM).
  • RAM random access memory
  • ROM read-only memory
  • flash RAM flash memory
  • Computer-readable media includes permanent and non-permanent, removable and non-removable media, and information storage can be realized by any method or technology.
  • the information can be computer-readable instruction information, 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, CD-ROM, digital versatile disc (DVD) or other optical storage, Magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. According to the definition in this article, computer-readable media does not include transitory media, such as modulated data signals and carrier waves.
  • this application can be provided as methods, systems, or computer program products. Therefore, this application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this 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.) containing computer-usable program codes.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • This application may be described in the general context of computer-executable instruction information executed by a computer, such as a program module.
  • program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types.
  • This application can also be practiced in distributed computing environments. In these distributed computing environments, tasks are performed by remote processing devices connected through a communication network.
  • program modules can be located in local and remote computer storage media including storage devices.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Accounting & Taxation (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Bioethics (AREA)
  • Health & Medical Sciences (AREA)
  • Finance (AREA)
  • Software Systems (AREA)
  • Databases & Information Systems (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种基于区块链的分佣方法及装置,包括:根据已完成交易的目标对象的交易信息,从区块链获取该交易信息所关联的分销用户的分销信息(102);调用区块链中部署的智能合约,根据上述交易的交易金额和分销信息,执行所调用的智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息(104);根据上述分销佣金信息将相应的分销佣金发放至分销用户所对应的分销账户,并将分销用户的分销佣金信息发布至区块链中(106)。

Description

基于区块链的分佣 技术领域
本申请涉及区块链技术领域,尤其涉及一种基于区块链的分佣方法及装置。
背景技术
随着互联网技术和电商领域的快速发展,对产品的推广渠道也越来越广泛,如人们在购买某产品后将该产品在社交平台进行推广,如朋友圈、微博等,同样的,若是有用户通过其他用户分享的推广链接进行该产品的交易后,需要给推广用户支付一定的佣金。
但是,哪笔交易基于哪个用户的推广链接进行交易一般是由交易平台进行统计的,用户以及商家只能信任交易平台的统计结果,无法对交易平台的统计结果的真实性和准确性进行验证。因此,亟需提出一种技术方案,以便可可靠的针对分销情况进行分佣。
发明内容
本说明书实施例提供了一种基于区块链的分佣方法,包括:根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息。所述分销用户包括第一类分销用户和/或第二类分销用户。所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息。调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息。根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户,并将所述分销用户的分销佣金信息发布至区块链中。
本说明书实施例还提供了一种基于区块链的分佣装置,包括:获取模块,根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息。所述分销用户包括第一类分销用户和/或第二类分销用户。所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息。执行模块,调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息。发放模块,根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户。第一发布模块,将所述分销用户的分销佣金信息发布至区块链中。
本说明书实施例还提供了一种基于区块链的分佣设备,包括处理器以及被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信 息。所述分销用户包括第一类分销用户和/或第二类分销用户。所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息。调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息。根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户,并将所述分销用户的分销佣金信息发布至区块链中。
本说明书实施例还提供了一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息。所述分销用户包括第一类分销用户和/或第二类分销用户。所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息。调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息。根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户,并将所述分销用户的分销佣金信息发布至区块链中。
附图说明
图1为本说明书实施例提供的基于区块链的分佣方法的方法流程图之一;
图2为本说明书实施例提供的基于区块链的分佣方法的方法流程图之二;
图3为本说明书实施例提供的基于区块链的分佣方法的方法流程图之三;
图4为本说明书实施例提供的基于区块链的分佣方法的方法流程图之四;
图5为本说明书实施例提供的基于区块链的分佣装置的模块组成示意图;
图6为本说明书实施例提供的基于区块链的分佣设备的结构示意图。
具体实施方式
本说明书实施例的思想在于,将分佣和分销过程中涉及到的分销信息、分销佣金信息等存储至区块链中,以及将分佣规则作为智能合约发布至区块链中,利用区块链的数据透明性和不可篡改性,使得整个分佣过程公开透明,并且保证了数据的真实性;另外,在进行分佣时,将分销用户的正面评价和负面评价对分销的影响均考虑在内,提高了分佣的合理性和灵活性,使得分佣更准确。基于此,本说明书实施例提供了一种基于区块链的分销方法、装置和设备,下述将一一进行介绍。
首先,本说明书实施例提供了一种基于区块链的分佣方法,该方法的执行主体可为交易平台,具体的,可为安装在交易平台上的基于区块链的分佣装置。
图1为本说明书实施例提供的基于区块链的分佣方法的方法流程图之一,图1所示的方法至少包括如下步骤:步骤102,根据已完成交易的目标对象的交易信息,从区块链获取该交易信息所关联的分销用户的分销信息。
上述分销用户包括第一类分销用户和/或第二类分销用户,第一类分销用户的分销信息包括对目标对象的正面评价信息,第二类分销用户的分销信息包括对与目标对象属于同一类别的其他对象的负面评价信息。
分销可理解为,帮助商家或者平台进行产品或者服务的推广。
需要说明的是,上述目标对象可为某种商品、也可为某项服务,本说明书实施例并不对目标对象的具体内容进行限定。
另外,对象的类别可理解为电扇类、空调类、床垫类、奶粉类等等,与目标对象属于同一类别的其他对象可理解为与目标对象属于同一类别的其他品牌的对象、或者是与目标对象属于同一类别的其他型号的对象等。
分销信息中对目标对象的正面评价信息可理解为评价为目标对象值得购买或者目标对象还不错等内容;负面评价信息可理解为评价为目标对象不值得购买等评价内容。
可选的,本说明书实施例中的分销用户至少包括如下三种情况:第一、只包括第一类分销用户,在该种情况下,从区块链获取的分销信息则为第一类分销用户对目标对象的正面评价信息;第二、只包括第二类分销用户,在该种情况下,从区块链获取的分销信息则为第二类分销用户对与目标对象属于同一类别的其他对象的负面评价信息;第三、同时包括第一类分销用户和第二类分销用户,在该种情况下,从区块链获取的分销信息包括第一类分销用户对目标对象的正面评价信息,以及,第二类分销用户对与目标对象属于同一类别的其他对象的负面评价信息。
上述交易信息可包括用户在完成目标对象的交易之前对各个分销用户分享的商品推广信息的浏览行为信息,基于用户的浏览行为信息可确定与该交易所关联的分销用户,从而从区块链中读取这些分销用户所对应的分销信息。
步骤104,调用区块链中部署的智能合约,根据上述交易的交易金额和分销信息,执行上述智能合约中记载的分佣规则,确定上述分销用户所对应的分销佣金信息。
在本说明书实施例中,需要预先在区块链网络中部署智能合约,且该智能合约至少需要记载用于根据交易金额和分销信息确定分销用户所对应的分销佣金信息的分佣规则。上述分销佣金信息可理解为分销用户所分配的分销金额,即分销用户和分销佣金的对应关系。
步骤106,根据上述分销佣金信息将相应的分销佣金发放至分销用户所对应的分销账户,并将分销用户的分销佣金信息发布至区块链中。
可选的,在具体实施时,某交易所对应的分销用户可为一个或者多个,若是只有 一个分销用户,不管该分销用户为第一类分销用户还是为第二类分销用户,则直接将该交易所对应的全部分销用户发放至该分销用户所对应的分销账户即可。
若是某交易所对应的分销用户为两个或者两个以上,且两个或者连个以上的分销用户可均为第一类分销用户、也可均为第二类分销用户、或者既有第一类分销用户也有第二类分销用户,下述将分情况一一进行介绍。
第一种情况、分销用户包括第一类分销用户和第二类分销用户。
在该种情况下,上述步骤104,调用区块链中部署的智能合约,根据上述交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,具体包括:步骤1)、根据上述交易金额和分佣规则中的设定分佣比例,确定上述交易所对应的分佣金额;步骤2)、根据上述分佣金额、第一类分销用户所对应的分销信息以及第二类分销用户所对应的分销信息,按照上述分佣规则中的设定比值计算第一类分销用户所对应的总分销佣金和第二类分销用户所对应的总分销佣金;步骤3)、根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照上述分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,以及,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照上述分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信息。
为便于理解上述步骤1)的具体实现过程,下述将举例进行说明。
例如,在一种具体实施方式中,假设目标对象的交易金额为100元,该交易的分佣比例为10%,因此,可计算出,该交易中用于进行分佣的分佣金额为10元。若是第一类分销用户和第二类分销用户所对应的分佣占比为8:2,即第一类分销用户占分销金额的80%,第二类分销用户占分销金额的20%,那么可计算出第一类分销用户的总分销佣金为8元,第二类分销用户的总分销佣金为2元。
可选的,在本说明书实施例中,若是第一类分销用户中分销用户的数量为一个,则将第一类分销用户所对应的总分销佣金确定为该分销用户所对应的分销佣金;若是,第一类分销用户中的分销用户的数量为多个。相应的,上述步骤2)中,根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照上述分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,具体包括如下过程:从区块链获取上述交易的交易用户对目标对象的评价信息;将上述交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到上述交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和第一类分销用户所对应的总分销佣金,确定第一类分销用户中各个分销用户所对应的分销佣金信息。
由于对目标对象的评价信息属于文字信息,因此,可采用文本相似度算法计算交易用户对目标对象的评价信息与第一类分销用户中各个分销用户所对应的正面评价信 息之间的相似度值。现有的文本相似度算法均可用于本说明书实施例中进行相似度值的计算,如余弦先相似度算法、TF-IDF(Term Frequency-Inverse Document Frequency,词频-逆文档频率)等,本说明书实施例不再一一列举。
在具体实施时,若是上述相似度值越高,则该相似度值所对应的分销用户所获得的分销佣金越高。具体的,可根据各个相似度值和总分销佣金,按照下述公式计算第一类分销用户中各分销用户所对应的分销佣金;
Figure PCTCN2021096591-appb-000001
在上述公式中,P i表示第一类分销用户中第i个分销用户所对应的分销佣金,S i表示交易用户对目标对象的评价信息与第一类分销用户中第i个分销用户对目标对象的正面评价信息之间的相似度值,P 表示第一类分销用户所对应的总分销佣金,N表示第一类分销用户中的分销用户的个数。
具体的,在本说明实施例中,若是第二类分销用户中的分销用户的数量为一个,则直接将第二类分销用户所对应的总分销佣金作为该分销用户所对应的分销佣金。
若是第二类分销用户中的分销用户的数量为多个,上述步骤2)中,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照上述分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信息,包括:从区块链获取上述交易的交易用户对目标对象的评价信息;该评价信息包括对目标对象的评分分值;确定上述交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和第二类分销用户所对应的总分销佣金,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
需要说明的是,上述差值为交易对象对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值之差的绝对值。
在具体实施时,上述差值越大,则该差值所对应的分销用户所获得的分销佣金越高。在一种具体实施方式中,可根据各个差值和第二类分销用户所对应的总分销佣金,通过如下公式确定第二类分销用户中各个分销用户所对应的分销佣金信息;
Figure PCTCN2021096591-appb-000002
在上述公式中,K j表示第二类分销用户中第j个分销用户所对应的分销佣金,X j表示交易用户对目标对象的评分分值与第二类分销用户中的第j个分销用户对其他对象的评分分值之间的差值,M表示第二类分销用户中的分销用户的个数,K 表示第二类分销用户所对应的总分销佣金。
为便于理解本说明书实施例提供的方法,下述将以分销用户同时包括第一类分销 用户和第二类分销用户,且第一类分销用户和第二类分销用户中的分销用户的数量均为多个为例,介绍本说明书实施例提供的方法。图2为本说明书实施例提供的基于区块链的分佣方法的方法流程图之二,图2所示的方法包括如下步骤:步骤202,根据已完成交易的目标对象的交易信息,从区块链获取该交易信息所关联的第一类分销用户和第二类分销用户的分销信息。
步骤204,调用区块链中部署的智能合约,根据交易金额和智能合约中所加载的设定分佣比例,确定该交易所对应的分佣金额。
步骤206,根据上述分佣金额、第一类分销用户所对应的分销信息以及第二类分销用户所对应的分销信息,按照智能合约中所记载的设定比值分别计算第一类分销用户所对应的总分销佣金和第二类分销用户所对应的总分销佣金。
步骤208,从区块链中获取上述交易的交易用户对目标对象的评价信息,上述评价信息包括目标对象的评分分值和文字描述。
步骤210,将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到该交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和第一类分销用户所对应的总分销佣金,确定第一类分销用户中各个分销用户所对应的分销佣金信息。
步骤212,确定上述交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和第二类分销用户所对应的总分销佣金,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
步骤214,根据上述分销佣金信息将相应的分销佣金发放至分销各分销用户所对应的分销账户,并将各分销用户的分销佣金信息发布至区块链中。
上述步骤210和步骤212的执行可具备先后顺序关系,可先执行步骤210再执行步骤212,也可先执行步骤212再执行步骤210,或者,上述步骤210和步骤212还可同时执行。图2只是以步骤210和步骤212同时执行为例进行说明,本说明书实施例并不对上述步骤210和步骤212的执行顺序进行限定。
第二种情况、分销用户只包括第一类分销用户。
在该种情况下只需要根据交易金额和分佣规则中的设定分佣比例,计算出该交易所对应的分佣金额即可,若是分销用户只包括一个第一类分销用户,则直接将所计算出的分佣金额作为该分销用户所对应的分销佣金即可;若是上述分销用户包括多个第一类分销用户,上述步骤104中,调用区块链中部署的智能合约,根据上述交易的交易金额和分销信息,执行上述智能合约中记载的分佣规则,确定上述分销用户所对应的分销佣金信息,具体包括如下步骤一、步骤二和步骤三;步骤一、根据上述交易金额和分佣规 则中的设定分佣比例,确定上述交易所对应的分佣金额;步骤二、从区块链获取上述交易的交易用户对目标对象的评价信息,并将上述交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到上述交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;步骤三、根据各个相似度值和上述分佣金额,确定第一类分销用户在红的各个分销用户所对于你的分销佣金信息。
上述步骤一、步骤二的具体实现可参考第一种情况下相应步骤,此处不再赘述。
针对上述步骤三,相似度值越大,该相似度值所对应的分销用户所对应的分销佣金则越高。其在具体实施时,可参考上述情况一中针对第一类分销用户中各个分销用户所对应的分销佣金的计算公式进行计算,只需要将上述公式中第一类分销用户所对应的总分销佣金替换成当前情况下的分佣金额即可。
为便于理解本说明书实施例提供的方法,下述将以上述交易关联了多个第一类分销用户为例介绍本说明书实施例提供的方法,图3示出了本说明书实施例提供的基于区块链的分佣方法的方法流程图之三,图3所示的方法,至少包括如下步骤:步骤302,根据已完成交易的目标对象的交易信息,从区块链获取该交易信息所关联的分销用户所对应的分销信息。
步骤304,调用区块链中部署的智能合约,根据交易金额和智能合约中所加载的设定分佣比例,确定该交易所对应的分佣金额。
步骤306,从区块链获取上述交易的交易用户对目标对象的评价信息,并将上述交易用户对目标对象的评价信息与各个分销用户对目标对象的正面评价信息进行相似度匹配,得到上述交易用户对目标对象的评价信息与各个分销用户对应的正面评价信息的相似度值。
步骤308,根据各个相似度值和上述分佣金额,确定各个分销用户所对应的分销佣金信息。
步骤310,根据上述分销佣金信息将相应的分销佣金发放至分销各分销用户所对应的分销账户,并将各分销用户的分销佣金信息发布至区块链中。
第三种情况、分销用户只包括第二类分销用户。
在该种情况下只需要根据交易金额和分佣规则中的设定分佣比例,计算出该交易所对应的分佣金额即可,若是分销用户只包括一个第二类分销用户,则直接将所计算出的分佣金额作为该分销用户所对应的分销佣金即可;若是上述分销用户包括多个第二类分销用户,上述步骤104中,调用区块链中部署的智能合约,根据上述交易的交易金额和分销信息,执行上述智能合约中记载的分佣规则,确定上述分销用户所对应的分销佣金信息,具体包括如下步骤(1)、步骤(2)、步骤(3)和步骤(4);步骤(1)、根据 上述交易金额和分佣规则中的设定分佣比例,确定上述交易所对应的分佣金额;步骤(2)、从区块链获取上述交易的交易用户对目标对象的评价信息,上述评价信息包括对目标对象的评分分值。
步骤(3)、确定上述交易用户对目标对象的评价分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;步骤(4)、根据各个差值和分佣金额,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
上述步骤(1)、步骤(2)和步骤(3)的具体实现过程可参考情况一中相应步骤的具体实现过程,此处不再赘述。
针对上述步骤(4),差度值越大,该差值所对应的分销用户所对应的分销佣金则越高。其在具体实施时,可参考上述情况一中针对第二类分销用户中各个分销用户所对应的分销佣金的计算公式进行计算,只需要将上述公式中第二类分销用户所对应的总分销佣金替换成当前情况下的分佣金额即可。
为便于理解本说明书实施例提供的方法,下述将以上述交易关联了多个第二类分销用户为例介绍本说明书实施例提供的方法,图4示出了本说明书实施例提供的基于区块链的分佣方法的方法流程图之四,图4所示的方法,至少包括如下步骤:步骤402,根据已完成交易的目标对象的交易信息,从区块链获取该交易信息所关联的分销用户所对应的分销信息。
步骤404,调用区块链中部署的智能合约,根据交易金额和智能合约中所加载的设定分佣比例,确定该交易所对应的分佣金额。
步骤406,从区块链获取上述交易的交易用户对目标对象的评价信息,上述评价信息包括对目标对象的评分分值。
步骤408,确定上述交易用户对目标对象的评分分值与各分销用户对其他对象的评分分值的差值。
步骤410,根据各个上述差值和分佣金额,确定各分销用户所对应的分销佣金信息。
步骤412,根据上述分销佣金信息将相应的分销佣金发放至分销各分销用户所对应的分销账户,并将各分销用户的分销佣金信息发布至区块链中。
可选的,在本说明书实施例中,步骤102中所提及的交易信息还包括在执行目标对象的交易之前,该交易的交易用户对各分销信息的浏览行为信息。相应的,在本说明书实施例中,则可通过如下步骤确定上述交易信息所关联的分销用户:根据上述浏览行为信息,将上述交易用户浏览的、且属于目标对象或者与目标对象属于同一类别的其他对象的分销信息所对应的分销用户确定为该交易信息所关联的分销用户。
即在本说明书实施例中,只要是交易用户浏览过的分销信息(目标对象的或者是与目标对象属于同一类别的其他对象的)所对应的分销用户,都作为该交易所关联的分 销用户。
为便于理解,下述将举例进行说明。
例如,在一种具体实施方式中,目标对象为品牌为A的电扇,若是用户在购买该电扇之前,浏览了分销用户1分享的对品牌A的电扇的正面评价信息、浏览了分销用户2分享的对品牌A的电扇的正面评价信息、以及浏览了分销用户3分享的对品牌B的电扇的负面评价信息,由于分销用户3对品牌B的电扇的负面评价,可能会导致用户购买品牌A的电扇,即分销用户3对品牌B的电扇的负面评价可能会促使用户购买品牌A的电扇,因此,分销用户3页应该进行分佣,因此,在用户完成品牌A的电扇的交易后,分销用户1、分销用户2和分销用户3均为该交易所关联的分销用户。
可选的,在执行上述步骤102之前,即根据已完成交易的目标对象的交易信息,从区块链获取该交易信息所关联的分销用户的分销信息之前,本说明书实施例提供的方法还包括如下步骤:分销用户在完成对象的交易后,将对对象的评价信息和该对象的购买链接发布至指定网站,并将该分销用户针对该对象的评价信息和该对象的购买链接发布至区块链。即可理解为,各个分销用户在完成对对象的交易后,将自己对该对象的评价发布至指定网站上,以供其他用户购买该对象时进行参考。
当然,在完成目标对象的交易后,本说明书实施例提供的方法还包括如下步骤:将目标对象的交易信息发布至区块链,该交易信息包括交易金额、交易的交易用户对目标对象的评价信息以及该交易用户在完成交易前的浏览行为信息。
本说明书实施例提供的基于区块链的分佣方法,将分佣和分销过程中涉及到的分销信息、分销佣金信息等存储至区块链中,以及将分佣规则作为智能合约发布至区块链中,利用区块链的数据透明性和不可篡改行,使得整个分佣过程公开透明,并且保证了数据的真实性;另外,由于用户不推荐某个对象实际上就是变相推荐同类别的其他对象,因此,本说明书实施例中在进行分佣时,将分销用户的正面评价和负面评价对分销的影响均考虑在内,即支持逆向分佣,提高了分佣的合理性和灵活性,使得分佣更准确。
对应于本说明书图1-图4所示实施例提供的方法,基于相同的思路,本说明书实施例还提供了一种基于区块链的分佣装置,用于执行本说明书实施例提供的基于区块链的分佣方法,图5为本说明书实施例提供的基于区块链的分佣装置的模块组成示意图,图5所示的装置,至少包括如下模块:获取模块502,用于根据已完成交易的目标对象的交易信息,从区块链获取交易信息所关联的分销用户的分销信息,分销用户包括第一类分销用户和/或第二类分销用户,第一类分销用户的分销信息包括对目标对象的正面评价信息,第二类分销用户的分销信息包括对与目标对象属于同一类别的其他对象的负面评价信息;执行模块504,用于调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息;发放模块506,用于根据分销佣金信息将相应的分销佣金发放至分销用户所对应的分销账 户;第一发布模块508,用于将分销用户的分销佣金信息发布至区块链中。
可选的,上述分销用户包括第一类分销用户和第二类分销用户。相应的,上述执行模块504,包括:第一确定单元,用于根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;计算单元,用于根据分佣金额、第一类分销用户所对应的分销信息以及第二类分销用户所对应的分销信息,按照分佣规则中的设定比值分别计算第一类分销用户所对应的总分销佣金和第二类分销用户所对应的总分销佣金;第二确定单元,用于根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,以及,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信息。
可选的,上述第一类分销用户中的分销用户的数量为多个。相应的,上述第二确定单元,具体用于:从区块链获取交易的交易用户对目标对象的评价信息;将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和第一类分销用户所对应的总分销佣金,确定第一类分销用户中各个分销用户所对应的分销佣金信息。
可选的,上述第二类分销用户中的分销用户的数量为多个。相应的,上述第二确定单元,具体用于:从区块链获取交易的交易用户对目标对象的评价信息,评价信息包括对目标对象的评分分值;确定交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和第二类分销用户所对应的总分销佣金,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
可选的,上述分销用户包括多个第一类分销用户。相应的,上述执行模块504,包括:第三确定单元,用于根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;匹配单元,用于从区块链获取交易的交易用户对目标对象的评价信息,并将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;第四确定单元,用于根据各个相似度值和分佣金额,确定第一类分销用户中的各个分销用户所对应的分销佣金信息。
可选的,上述分销用户包括第二类分销用户,且第二类分销用户中的分销用户的数量为多个。相应的,上述执行模块504,包括:第五确定单元,用于根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;获取单元,用于从区块链获取交易的交易用户对目标对象的评价信息,评价信息包括对目标对象的评分分值;差值确定单元,用于确定交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;佣金确定单元,用于根据各个差值和分佣金额,确定第二 类分销用户中各个分销用户所对应的分销佣金信息。
可选的,上述交易信息包括在执行目标对象的交易之前,交易的交易用户对各分销信息的浏览行为信息。相应的,本说明书实施例提供的装置,还包括:确定模块,用于根据浏览行为信息,将交易用户浏览的、且属于目标对象或者与目标对象属于同一类别的其他对象的分销信息所对应的分销用户确定为交易信息所关联的分销用户。
可选的,本说明书实施例提供的装置,还包括:第二发布模块,用于在分销用户完成对象的交易后,将对对象的评价信息和对象的购买链接发布至指定网站,并将分销用户针对对象的评价信息和对象的购买链接发布至区块链;第三发布模块,用于将目标对象的交易信息发布至区块链,交易信息包括交易金额、交易的交易用户对目标对象的评价信息以及交易用户在完成交易前的浏览行为信息。
本说明书实施例提供的基于区块链的分佣装置还可执行图1-图4中基于区块链的分佣装置执行的方法,并实现基于区块链的分佣装置在图1-图4所示实施例的功能,在此不再赘述。
本说明书实施例提供的基于区块链的分佣装置,将分佣和分销过程中涉及到的分销信息、分销佣金信息等存储至区块链中,以及将分佣规则作为智能合约发布至区块链中,利用区块链的数据透明性和不可篡改行,使得整个分佣过程公开透明,并且保证了数据的真实性;另外,由于用户不推荐某个对象实际上就是变相推荐同类别的其他对象,因此,本说明书实施例中在进行分佣时,将分销用户的正面评价和负面评价对分销的影响均考虑在内,即支持逆向分佣,提高了分佣的合理性和灵活性,使得分佣更准确。
进一步地,基于上述图1至图4所示的方法,本说明书实施例还提供了一种基于区块链的分佣设备,如图6所示。
基于区块链的分佣设备可因配置或性能不同而产生比较大的差异,可包括一个或一个以上的处理器601和存储器602,存储器602中可存储有一个或一个以上存储应用程序或数据。存储器602可是短暂存储或持久存储。存储在存储器602的应用程序可包括一个或一个以上模块(图示未示出),每个模块可包括对基于区块链的分佣设备中的一系列计算机可执行指令信息。更进一步地,处理器601可设置为与存储器602通信,在基于区块链的分佣设备上执行存储器602中的一系列计算机可执行指令信息。基于区块链的分佣设备还可包括一个或一个以上电源603,一个或一个以上有线或无线网络接口604,一个或一个以上输入输出接口605,一个或一个以上键盘606等。
在一个具体的实施例中,基于区块链的分佣设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可包括一个或一个以上模块,且每个模块可包括对基于区块链的分佣设备中的一系列计算机可执行指令信息,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令信息:根据已完成交易的目标对象的交易信息, 从区块链获取交易信息所关联的分销用户的分销信息,分销用户包括第一类分销用户和/或第二类分销用户,第一类分销用户的分销信息包括对目标对象的正面评价信息,第二类分销用户的分销信息包括对与目标对象属于同一类别的其他对象的负面评价信息;调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息;根据分销佣金信息将相应的分销佣金发放至分销用户所对应的分销账户,并将分销用户的分销佣金信息发布至区块链中。
可选的,计算机可执行指令信息在被执行时,分销用户包括第一类分销用户和第二类分销用户。相应的,调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,包括:根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;根据分佣金额、第一类分销用户所对应的分销信息以及第二类分销用户所对应的分销信息,按照分佣规则中的设定比值分别计算第一类分销用户所对应的总分销佣金和第二类分销用户所对应的总分销佣金;根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,以及,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信息。
可选的,计算机可执行指令信息在被执行时,第一类分销用户中的分销用户的数量为多个。相应的,根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,包括:从区块链获取交易的交易用户对目标对象的评价信息;将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和第一类分销用户所对应的总分销佣金,确定第一类分销用户中各个分销用户所对应的分销佣金信息。
可选的,计算机可执行指令信息在被执行时,第二类分销用户中的分销用户的数量为多个。相应的,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信,包括:从区块链获取交易的交易用户对目标对象的评价信息,评价信息包括对目标对象的评分分值;确定交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和第二类分销用户所对应的总分销佣金,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
可选的,计算机可执行指令信息在被执行时,分销用户包括多个第一类分销用户。相应的,调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,包括:根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;从区块链获取交易的交易用户 对目标对象的评价信息,并将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和分佣金额,确定第一类分销用户中的各个分销用户所对应的分销佣金信息。
可选的,计算机可执行指令信息在被执行时,分销用户包括第二类分销用户,且第二类分销用户中的分销用户的数量为多个。相应的,调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,包括:根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;从区块链获取交易的交易用户对目标对象的评价信息,评价信息包括对目标对象的评分分值;确定交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和分佣金额,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
可选的,计算机可执行指令信息在被执行时,交易信息包括在执行目标对象的交易之前,交易的交易用户对各分销信息的浏览行为信息。相应的,通过如下步骤确定交易信息所关联的分销用户:根据浏览行为信息,将交易用户浏览的、且属于目标对象或者与目标对象属于同一类别的其他对象的分销信息所对应的分销用户确定为交易信息所关联的分销用户。
计算机可执行指令信息在被执行时,根据已完成交易的目标对象的交易信息,从区块链获取交易信息所关联的分销用户的分销信息之前,还可执行如下步骤:在分销用户完成对象的交易后,将对对象的评价信息和对象的购买链接发布至指定网站,并将分销用户针对对象的评价信息和对象的购买链接发布至区块链。在完成目标对象的交易后,还可执行如下步骤:将目标对象的交易信息发布至区块链,交易信息包括交易金额、交易的交易用户对目标对象的评价信息以及交易用户在完成交易前的浏览行为信息。
本说明书实施例提供的基于区块链的分佣设备,将分佣和分销过程中涉及到的分销信息、分销佣金信息等存储至区块链中,以及将分佣规则作为智能合约发布至区块链中,利用区块链的数据透明性和不可篡改行,使得整个分佣过程公开透明,并且保证了数据的真实性;另外,由于用户不推荐某个对象实际上就是变相推荐同类别的其他对象,因此,本说明书实施例中在进行分佣时,将分销用户的正面评价和负面评价对分销的影响均考虑在内,即支持逆向分佣,提高了分佣的合理性和灵活性,使得分佣更准确。
进一步地,基于上述图1至图4所示的方法,本说明书实施例还提供了一种存储介质,用于存储计算机可执行指令信息,一种具体的实施例中,该存储介质可为U盘、光盘、硬盘等,该存储介质存储的计算机可执行指令信息在被处理器执行时,能实现以下流程:根据已完成交易的目标对象的交易信息,从区块链获取交易信息所关联的分销用户的分销信息,分销用户包括第一类分销用户和/或第二类分销用户,第一类分销用户 的分销信息包括对目标对象的正面评价信息,第二类分销用户的分销信息包括对与目标对象属于同一类别的其他对象的负面评价信息;调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息;根据分销佣金信息将相应的分销佣金发放至分销用户所对应的分销账户,并将分销用户的分销佣金信息发布至区块链中。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,分销用户包括第一类分销用户和第二类分销用户。相应的,调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,包括:根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;根据分佣金额、第一类分销用户所对应的分销信息以及第二类分销用户所对应的分销信息,按照分佣规则中的设定比值分别计算第一类分销用户所对应的总分销佣金和第二类分销用户所对应的总分销佣金;根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,以及,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信息。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,第一类分销用户中的分销用户的数量为多个。相应的,根据第一类分销用户所对应的总分销佣金和第一类分销用户的数量,按照分佣规则中的第一分配规则确定第一类分销用户中的分销用户所对应的分销佣金信息,包括:从区块链获取交易的交易用户对目标对象的评价信息;将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和第一类分销用户对应的总分销佣金,确定第一类分销用户中各个分销用户对应的分销佣金信息。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,第二类分销用户中的分销用户的数量为多个。相应的,根据第二类分销用户所对应的总分销佣金和第二类分销用户的数量,按照分佣规则中的第二分配规则确定第二类分销用户中的分销用户所对应的分销佣金信,包括:从区块链获取交易的交易用户对目标对象的评价信息,评价信息包括对目标对象的评分分值;确定交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和第二类分销用户所对应的总分销佣金,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,分销用户包括多个第一类分销用户。相应的,调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,包括:根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;从区 块链获取交易的交易用户对目标对象的评价信息,并将交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户对目标对象的正面评价信息进行相似度匹配,得到交易用户对目标对象的评价信息与第一类分销用户中的各个分销用户所对应的正面评价信息的相似度值;根据各个相似度值和分佣金额,确定第一类分销用户中的各个分销用户所对应的分销佣金信息。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,分销用户包括第二类分销用户,且第二类分销用户中的分销用户的数量为多个。相应的,调用区块链中部署的智能合约,根据交易的交易金额和分销信息,执行智能合约中记载的分佣规则,确定分销用户所对应的分销佣金信息,包括:根据交易金额和分佣规则中的设定分佣比例,确定交易所对应的分佣金额;从区块链获取交易的交易用户对目标对象的评价信息,评价信息包括对目标对象的评分分值;确定交易用户对目标对象的评分分值与第二类分销用户中各分销用户对其他对象的评分分值的差值;根据各个差值和分佣金额,确定第二类分销用户中各个分销用户所对应的分销佣金信息。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,交易信息包括在执行目标对象的交易之前,交易的交易用户对各分销信息的浏览行为信息。相应的,通过如下步骤确定交易信息所关联的分销用户:根据浏览行为信息,将交易用户浏览的、且属于目标对象或者与目标对象属于同一类别的其他对象的分销信息所对应的分销用户确定为交易信息所关联的分销用户。
可选的,该存储介质存储的计算机可执行指令信息在被处理器执行时,根据已完成交易的目标对象的交易信息,从区块链获取交易信息所关联的分销用户的分销信息之前,还可执行如下步骤:在分销用户完成对象的交易后,将对对象的评价信息和对象的购买链接发布至指定网站,并将分销用户针对对象的评价信息和对象的购买链接发布至区块链;在完成目标对象的交易后,还可执行如下步骤:将目标对象的交易信息发布至区块链,交易信息包括交易金额、交易的交易用户对目标对象的评价信息以及交易用户在完成交易前的浏览行为信息。
本说明书实施例提供的存储介质存储的计算机可执行指令信息在被处理器执行时,将分佣和分销过程中涉及到的分销信息、分销佣金信息等存储至区块链中,以及将分佣规则作为智能合约发布至区块链中,利用区块链的数据透明性和不可篡改行,使得整个分佣过程公开透明,并且保证了数据的真实性;另外,由于用户不推荐某个对象实际上就是变相推荐同类别的其他对象,因此,本说明书实施例中在进行分佣时,将分销用户的正面评价和负面评价对分销的影响均考虑在内,即支持逆向分佣,提高了分佣的合理性和灵活性,使得分佣更准确。
在20世纪90年代,对于一个技术的改进可很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。 然而,随着技术的发展,当今的很多方法流程的改进已经可视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable Gate Array,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如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)等,目前最普遍使用的是VHDL(Very-High-Speed Integrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可很容易得到实现该逻辑方法流程的硬件电路。
控制器可按任何适当的方式实现,例如,控制器可采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可视为硬件部件内的结构。或者甚至,可将用于实现各种功能的装置视为既可是实现方法的软件模块又可是硬件部件内的结构。
上述实施例阐明的系统、装置、模块或单元,具体可由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本申请时可把各单元的功能在同一个或多个软件和/或硬件中实现。
本领域内的技术人员应明白,本申请的实施例可提供为方法、系统、或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令信息实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令信息到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令信息产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令信息也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令信息产生包括指令信息装置的制造品,该指令信息装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令信息也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令信息提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可由任何方法或技术来实现信息存储。信息可是计算机可读指令信息、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、对象或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、对象或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、对象或者设备中还存在另外的相同要素。
本领域技术人员应明白,本申请的实施例可提供为方法、系统或计算机程序产品。因此,本申请可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本申请可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。
本申请可在由计算机执行的计算机可执行指令信息的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可在分布式计算环境中实践本申请,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可位于包括存储设备在内的本地和远程计算机存储介质中。
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。

Claims (16)

  1. 一种基于区块链的分佣方法,所述方法包括:
    根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息,所述分销用户包括第一类分销用户和/或第二类分销用户,所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息;
    调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息;
    根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户,并将所述分销用户的分销佣金信息发布至区块链中。
  2. 如权利要求1所述的方法,所述分销用户包括第一类分销用户和第二类分销用户;所述调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息,包括:
    根据所述交易金额和所述分佣规则中的设定分佣比例,确定所述交易所对应的分佣金额;
    根据所述分佣金额、所述第一类分销用户所对应的分销信息以及所述第二类分销用户所对应的分销信息,按照所述分佣规则中的设定比值分别计算所述第一类分销用户所对应的总分销佣金和所述第二类分销用户所对应的总分销佣金;
    根据所述第一类分销用户所对应的总分销佣金和所述第一类分销用户的数量,按照所述分佣规则中的第一分配规则确定所述第一类分销用户中的所述分销用户所对应的分销佣金信息,以及,根据第二类分销用户所对应的总分销佣金和所述第二类分销用户的数量,按照所述分佣规则中的第二分配规则确定所述第二类分销用户中的所述分销用户所对应的分销佣金信息。
  3. 如权利要求2所述的方法,所述第一类分销用户中的所述分销用户的数量为多个;所述根据所述第一类分销用户所对应的总分销佣金和所述第一类分销用户的数量,按照所述分佣规则中的第一分配规则确定所述第一类分销用户中的所述分销用户所对应的分销佣金信息,包括:
    从区块链获取所述交易的交易用户对所述目标对象的评价信息;
    将所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户对所述目标对象的正面评价信息进行相似度匹配,得到所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户所对应的正面评价信息的相似度值;
    根据各个所述相似度值和所述第一类分销用户所对应的总分销佣金,确定所述第一类分销用户中各个所述分销用户所对应的分销佣金信息。
  4. 如权利要求2所述的方法,所述第二类分销用户中的所述分销用户的数量为多个;所述根据第二类分销用户所对应的总分销佣金和所述第二类分销用户的数量,按照 所述分佣规则中的第二分配规则确定所述第二类分销用户中的所述分销用户所对应的分销佣金信,包括:
    从区块链获取所述交易的交易用户对所述目标对象的评价信息,所述评价信息包括对所述目标对象的评分分值;
    确定所述交易用户对所述目标对象的评分分值与所述第二类分销用户中各所述分销用户对所述其他对象的评分分值的差值;
    根据各个所述差值和所述第二类分销用户所对应的总分销佣金,确定所述第二类分销用户中各个所述分销用户所对应的分销佣金信息。
  5. 如权利要求1所述的方法,所述分销用户包括多个所述第一类分销用户;所述调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息,包括:
    根据所述交易金额和所述分佣规则中的设定分佣比例,确定所述交易所对应的分佣金额;
    从区块链获取所述交易的交易用户对所述目标对象的评价信息,并将所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户对所述目标对象的正面评价信息进行相似度匹配,得到所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户所对应的正面评价信息的相似度值;
    根据各个所述相似度值和所述分佣金额,确定所述第一类分销用户中的各个所述分销用户所对应的分销佣金信息。
  6. 如权利要求1所述的方法,所述分销用户包括所述第二类分销用户,且所述第二类分销用户中的所述分销用户的数量为多个;所述调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息,包括:
    根据所述交易金额和所述分佣规则中的设定分佣比例,确定所述交易所对应的分佣金额;
    从区块链获取所述交易的交易用户对所述目标对象的评价信息,所述评价信息包括对所述目标对象的评分分值;
    确定所述交易用户对所述目标对象的评分分值与所述第二类分销用户中各所述分销用户对所述其他对象的评分分值的差值;
    根据各个所述差值和所述分佣金额,确定所述第二类分销用户中各个所述分销用户所对应的分销佣金信息。
  7. 如权利要求1所述的方法,所述交易信息包括在执行所述目标对象的交易之前,所述交易的交易用户对各所述分销信息的浏览行为信息;通过如下步骤确定所述交易信息所关联的分销用户:
    根据所述浏览行为信息,将所述交易用户浏览的、且属于所述目标对象或者与所述目标对象属于同一类别的其他对象的分销信息所对应的分销用户确定为所述交易信息 所关联的分销用户。
  8. 如权利要求1所述的方法,所述根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息之前,所述方法还包括:
    在所述分销用户完成对象的交易后,将对所述对象的评价信息和所述对象的购买链接发布至指定网站,并将所述分销用户针对所述对象的评价信息和所述对象的购买链接发布至区块链;
    在完成所述目标对象的交易后,所述方法还包括:
    将所述目标对象的交易信息发布至区块链,所述交易信息包括交易金额、所述交易的交易用户对所述目标对象的评价信息及所述交易用户在完成交易前的浏览行为信息。
  9. 一种基于区块链的分佣装置,所述装置包括:
    获取模块,根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息,所述分销用户包括第一类分销用户和/或第二类分销用户,所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息;
    执行模块,调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息;
    发放模块,根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户;
    第一发布模块,将所述分销用户的分销佣金信息发布至区块链中。
  10. 如权利要求9所述的装置,所述分销用户包括第一类分销用户和第二类分销用户;所述执行模块,包括:
    第一确定单元,根据所述交易金额和所述分佣规则中的设定分佣比例,确定所述交易所对应的分佣金额;
    计算单元,根据所述分佣金额、所述第一类分销用户所对应的分销信息以及所述第二类分销用户所对应的分销信息,按照所述分佣规则中的设定比值分别计算所述第一类分销用户所对应的总分销佣金和所述第二类分销用户所对应的总分销佣金;
    第二确定单元,根据所述第一类分销用户所对应的总分销佣金和所述第一类分销用户的数量,按照所述分佣规则中的第一分配规则确定所述第一类分销用户中的所述分销用户所对应的分销佣金信息,以及,根据第二类分销用户所对应的总分销佣金和所述第二类分销用户的数量,按照所述分佣规则中的第二分配规则确定所述第二类分销用户中的所述分销用户所对应的分销佣金信息。
  11. 如权利要求10所述的装置,所述第一类分销用户中的所述分销用户的数量为多个;所述第二确定单元,具体用于:
    从区块链获取所述交易的交易用户对所述目标对象的评价信息;将所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户对所述目标对象的正面评价信息进行相似度匹配,得到所述交易用户对所述目标对象的评价信息与所 述第一类分销用户中的各个所述分销用户所对应的正面评价信息的相似度值;根据各个所述相似度值和所述第一类分销用户所对应的总分销佣金,确定所述第一类分销用户中各个所述分销用户所对应的分销佣金信息。
  12. 如权利要求10所述的装置,所述第二类分销用户中的所述分销用户的数量为多个;所述第二确定单元,具体用于:
    从区块链获取所述交易的交易用户对所述目标对象的评价信息,所述评价信息包括对所述目标对象的评分分值;确定所述交易用户对所述目标对象的评分分值与所述第二类分销用户中各所述分销用户对所述其他对象的评分分值的差值;根据各个所述差值和所述第二类分销用户所对应的总分销佣金,确定所述第二类分销用户中各个所述分销用户所对应的分销佣金信息。
  13. 如权利要求9所述的装置,所述分销用户包括多个所述第一类分销用户;所述执行模块,包括:
    第三确定单元,根据所述交易金额和所述分佣规则中的设定分佣比例,确定所述交易所对应的分佣金额;
    匹配单元,从区块链获取所述交易的交易用户对所述目标对象的评价信息,并将所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户对所述目标对象的正面评价信息进行相似度匹配,得到所述交易用户对所述目标对象的评价信息与所述第一类分销用户中的各个所述分销用户所对应的正面评价信息的相似度值;
    第四确定单元,根据各个所述相似度值和所述分佣金额,确定所述第一类分销用户中的各个所述分销用户所对应的分销佣金信息。
  14. 如权利要求9所述的装置,所述分销用户包括所述第二类分销用户,且所述第二类分销用户中的所述分销用户的数量为多个;所述执行模块,包括:
    第五确定单元,根据所述交易金额和所述分佣规则中的设定分佣比例,确定所述交易所对应的分佣金额;
    获取单元,从区块链获取所述交易的交易用户对所述目标对象的评价信息,所述评价信息包括对所述目标对象的评分分值;
    差值确定单元,确定所述交易用户对所述目标对象的评分分值与所述第二类分销用户中各所述分销用户对所述其他对象的评分分值的差值;
    佣金确定单元,根据各个所述差值和所述分佣金额,确定所述第二类分销用户中各个所述分销用户所对应的分销佣金信息。
  15. 一种基于区块链的分佣设备,包括:
    处理器;以及
    被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:
    根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销 用户的分销信息,所述分销用户包括第一类分销用户和/或第二类分销用户,所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息;
    调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息;
    根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户,并将所述分销用户的分销佣金信息发布至区块链中。
  16. 一种存储介质,用于存储计算机可执行指令,所述可执行指令在被执行时实现以下流程:
    根据已完成交易的目标对象的交易信息,从区块链获取所述交易信息所关联的分销用户的分销信息,所述分销用户包括第一类分销用户和/或第二类分销用户,所述第一类分销用户的分销信息包括对所述目标对象的正面评价信息,所述第二类分销用户的分销信息包括对与所述目标对象属于同一类别的其他对象的负面评价信息;
    调用区块链中部署的智能合约,根据所述交易的交易金额和所述分销信息,执行所述智能合约中记载的分佣规则,确定所述分销用户所对应的分销佣金信息;
    根据所述分销佣金信息将相应的分销佣金发放至所述分销用户所对应的分销账户,并将所述分销用户的分销佣金信息发布至区块链中。
PCT/CN2021/096591 2020-05-29 2021-05-28 基于区块链的分佣 WO2021239084A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010477999.4 2020-05-29
CN202010477999.4A CN111402011B (zh) 2020-05-29 2020-05-29 基于区块链的分佣方法及装置

Publications (1)

Publication Number Publication Date
WO2021239084A1 true WO2021239084A1 (zh) 2021-12-02

Family

ID=71431897

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/096591 WO2021239084A1 (zh) 2020-05-29 2021-05-28 基于区块链的分佣

Country Status (2)

Country Link
CN (2) CN112258277A (zh)
WO (1) WO2021239084A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112258277A (zh) * 2020-05-29 2021-01-22 支付宝(杭州)信息技术有限公司 基于区块链的分佣方法及装置

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107103405A (zh) * 2017-03-22 2017-08-29 暨南大学 一种基于区块链技术的众包系统及其建设方法
US20180089759A1 (en) * 2016-09-26 2018-03-29 Shapeshift Ag System and method of managing trustless asset portfolios
CN109034795A (zh) * 2018-06-11 2018-12-18 广东易上云计算机服务股份有限公司 一种基于区块链的信用易货平台
CN109493047A (zh) * 2018-11-16 2019-03-19 深圳变设龙信息科技有限公司 一种基于区块链的佣金结算方法、装置及终端设备
CN109660352A (zh) * 2018-11-16 2019-04-19 深圳变设龙信息科技有限公司 一种基于区块链的分销关系记录方法、装置及终端设备
CN111402011A (zh) * 2020-05-29 2020-07-10 支付宝(杭州)信息技术有限公司 基于区块链的分佣方法及装置

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8423425B2 (en) * 2007-11-14 2013-04-16 Panjiva, Inc. Evaluating public records of supply transactions for financial investment decisions
CN110210945B (zh) * 2019-06-05 2023-08-01 重庆菜鸽途讯科技有限公司 一种商业系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180089759A1 (en) * 2016-09-26 2018-03-29 Shapeshift Ag System and method of managing trustless asset portfolios
CN107103405A (zh) * 2017-03-22 2017-08-29 暨南大学 一种基于区块链技术的众包系统及其建设方法
CN109034795A (zh) * 2018-06-11 2018-12-18 广东易上云计算机服务股份有限公司 一种基于区块链的信用易货平台
CN109493047A (zh) * 2018-11-16 2019-03-19 深圳变设龙信息科技有限公司 一种基于区块链的佣金结算方法、装置及终端设备
CN109660352A (zh) * 2018-11-16 2019-04-19 深圳变设龙信息科技有限公司 一种基于区块链的分销关系记录方法、装置及终端设备
CN111402011A (zh) * 2020-05-29 2020-07-10 支付宝(杭州)信息技术有限公司 基于区块链的分佣方法及装置

Also Published As

Publication number Publication date
CN112258277A (zh) 2021-01-22
CN111402011A (zh) 2020-07-10
CN111402011B (zh) 2020-09-08

Similar Documents

Publication Publication Date Title
WO2019154162A1 (zh) 一种风控规则生成方法和装置
CN108537568B (zh) 一种信息推荐方法和装置
WO2021063045A1 (zh) 基于区块链的交易查询、交易数据处理方法、装置及设备
TW201942826A (zh) 支付方式推薦方法、裝置及設備
JP2018537759A (ja) タイトル表示方法及び装置
TWI709933B (zh) 虛擬卡的開卡方法、系統和支付系統、發卡系統
TW201928841A (zh) 訓練風控模型和風控的方法、裝置及設備
WO2021259147A1 (zh) 基于区块链的资源转移方法、装置及设备
TWI710917B (zh) 資料處理方法及裝置
CN107391537B (zh) 数据关系模型的生成方法、装置及设备
CN110020427B (zh) 策略确定方法和装置
CN110008991B (zh) 风险事件的识别、风险识别模型的生成方法、装置、设备及介质
TWI718379B (zh) 針對使用共享物品的使用者評估方法、裝置及設備
TW202032469A (zh) 資訊處理方法、裝置及設備
CN110599307A (zh) 一种商品推荐的方法及装置
CN110750530B (zh) 一种业务系统及其数据核对方法
TW201933812A (zh) 資料的處理方法、裝置及設備
TW201939315A (zh) 業務發生量的預測方法、裝置及設備
WO2021239084A1 (zh) 基于区块链的分佣
TWI713019B (zh) 資料標籤產生、模型訓練、事件識別方法和裝置
TWI710993B (zh) 業務的處理方法、裝置及設備、和儲存媒體
CN110134860B (zh) 用户画像生成方法、装置和设备
CN110020867B (zh) 一种消费合约的处理方法、装置和设备
WO2024198539A1 (zh) 支付处理方法及装置
CN107392408B (zh) 一种信用分数的提示信息输出方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21813483

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21813483

Country of ref document: EP

Kind code of ref document: A1