WO2020108128A1 - Asset distribution method and device and electronic device - Google Patents

Asset distribution method and device and electronic device Download PDF

Info

Publication number
WO2020108128A1
WO2020108128A1 PCT/CN2019/110952 CN2019110952W WO2020108128A1 WO 2020108128 A1 WO2020108128 A1 WO 2020108128A1 CN 2019110952 W CN2019110952 W CN 2019110952W WO 2020108128 A1 WO2020108128 A1 WO 2020108128A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
usage information
asset
certificate
electronic device
Prior art date
Application number
PCT/CN2019/110952
Other languages
French (fr)
Chinese (zh)
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 WO2020108128A1 publication Critical patent/WO2020108128A1/en

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
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling

Abstract

An asset distribution method and device and an electronic device, which are applied to a blockchain node, the method comprising: acquiring user use information sent by an electronic device, the user use information being used to express the conditions of the user using the electronic device (102); and invoking a smart contract, the smart contract being used to verify whether the user use information complies with a preset incentive rule so as to distribute a first asset certificate to the user when determined that the rule is complied with (104).

Description

资产分配方法及装置、电子设备Asset allocation method and device, electronic equipment 技术领域Technical field
本说明书一个或多个实施例涉及区块链技术领域,尤其涉及一种资产分配方法及装置、电子设备。One or more embodiments of this specification relate to the field of blockchain technology, and in particular, to an asset allocation method and device, and electronic equipment.
背景技术Background technique
在相关技术中,电子设备的类型越来越多,各种电子设备所实现的功能也越来越丰富。当用户使用电子设备时,电子设备可以获取用户的相关数据。由于电子设备获取的数据与用户本身息息相关,因而当用户连续使用电子设备时,可使电子设备获取相应的连续变化的数据集合,以便于更为准确地分析用户的使用习惯、身体状况等信息。In related technologies, there are more and more types of electronic devices, and the functions realized by various electronic devices are becoming more and more abundant. When a user uses an electronic device, the electronic device can obtain the user's relevant data. Since the data obtained by the electronic device is closely related to the user, when the user continuously uses the electronic device, the electronic device can obtain the corresponding continuously changing data set, so as to more accurately analyze the user's usage habits, physical conditions and other information.
发明内容Summary of the invention
有鉴于此,本说明书一个或多个实施例提供一种资产分配方法及装置、电子设备。In view of this, one or more embodiments of this specification provide an asset allocation method and device, and electronic equipment.
为实现上述目的,本说明书一个或多个实施例提供技术方案如下:To achieve the above purpose, one or more embodiments of this specification provide technical solutions as follows:
根据本说明书一个或多个实施例的第一方面,提出了一种资产分配方法,应用于区块链节点,所述方法包括:According to a first aspect of one or more embodiments of this specification, an asset allocation method is proposed, which is applied to a blockchain node, and the method includes:
获取电子设备发送的用户使用信息,所述用户使用信息用于表征用户对所述电子设备的使用情况;Obtain user usage information sent by an electronic device, where the user usage information is used to characterize the user's usage of the electronic device;
调用智能合约,所述智能合约被用于确认所述用户使用信息是否符合预设激励规则,以在判定为符合的情况下将第一资产凭证分配至所述用户。Invoking a smart contract, the smart contract is used to confirm whether the user usage information complies with a preset incentive rule to allocate the first asset voucher to the user if it is determined to be in compliance.
根据本说明书一个或多个实施例的第二方面,提出了一种资产分配装置,应用于区块链节点,所述装置包括:According to a second aspect of one or more embodiments of this specification, an asset allocation device is proposed, which is applied to a blockchain node, and the device includes:
获取单元,获取电子设备发送的用户使用信息,所述用户使用信息用于表征用户对所述电子设备的使用情况;An obtaining unit, obtaining user usage information sent by an electronic device, where the user usage information is used to characterize a user's usage of the electronic device;
调用单元,调用智能合约,所述智能合约被用于确认所述用户使用信息是否符合预设激励规则,以在判定为符合的情况下将第一资产凭证分配至所述用户。The invoking unit invokes a smart contract, and the smart contract is used to confirm whether the user usage information conforms to a preset incentive rule to allocate the first asset certificate to the user if it is determined to be in compliance.
根据本说明书一个或多个实施例的第三方面,提出了一种电子设备,包括:According to a third aspect of one or more embodiments of this specification, an electronic device is provided, including:
处理器;processor;
用于存储处理器可执行指令的存储器;Memory for storing processor executable instructions;
其中,所述处理器通过运行所述可执行指令以实现如上述实施例中所述的方法。Wherein, the processor executes the executable instruction to implement the method as described in the above embodiment.
附图说明BRIEF DESCRIPTION
图1是一示例性实施例提供的一种资产分配方法的流程图。FIG. 1 is a flowchart of an asset allocation method provided by an exemplary embodiment.
图2是一示例性实施例提供的一种实现资产分配的示意图。FIG. 2 is a schematic diagram of asset allocation provided by an exemplary embodiment.
图3是一示例性实施例提供的一种智能合约实施的功能逻辑的流程图。FIG. 3 is a flowchart of a functional logic implemented by a smart contract provided by an exemplary embodiment.
图4是一示例性实施例提供的另一种智能合约实施的功能逻辑的流程图。FIG. 4 is a flowchart of another functional logic implemented by a smart contract provided by an exemplary embodiment.
图5是一示例性实施例提供的一种设备的结构示意图。FIG. 5 is a schematic structural diagram of an apparatus provided by an exemplary embodiment.
图6是一示例性实施例提供的一种资产分配装置的框图。FIG. 6 is a block diagram of an asset distribution apparatus provided by an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本说明书一个或多个实施例相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本说明书一个或多个实施例的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail here, examples of which are shown in the drawings. When referring to the drawings below, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with one or more embodiments of this specification. Rather, they are merely examples of devices and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
需要说明的是:在其他实施例中并不一定按照本说明书示出和描述的顺序来执行相应方法的步骤。在一些其他实施例中,其方法所包括的步骤可以比本说明书所描述的更多或更少。此外,本说明书中所描述的单个步骤,在其他实施例中可能被分解为多个步骤进行描述;而本说明书中所描述的多个步骤,在其他实施例中也可能被合并为单个步骤进行描述。It should be noted that in other embodiments, the steps of the corresponding method are not necessarily performed in the order shown and described in this specification. In some other embodiments, the method may include more or fewer steps than described in this specification. In addition, the single step described in this specification may be decomposed into multiple steps for description in other embodiments; and the multiple steps described in this specification may also be combined into a single step in other embodiments. description.
图1是一示例性实施例提供的一种资产分配方法的流程图。如图1所示,该方法应用于区块链节点,可以包括以下步骤:FIG. 1 is a flowchart of an asset allocation method provided by an exemplary embodiment. As shown in Figure 1, this method is applied to blockchain nodes and can include the following steps:
步骤102,获取电子设备发送的用户使用信息,所述用户使用信息用于表征用户对所述电子设备的使用情况。Step 102: Obtain user usage information sent by an electronic device, where the user usage information is used to characterize a user's usage of the electronic device.
在一实施例中,上述的“电子设备”可以包括用户使用的任意类型的电子设备,比 如手机、PC、笔记本电脑、智能手表、智能体重秤、智能运动器械等,本说明书并不对此进行限制。该电子设备可以采集用户使用信息,且该电子设备具备网络连接与网络传输功能,使得该电子设备可以将采集到的用户使用信息上传至区块链节点。In an embodiment, the above-mentioned "electronic device" may include any type of electronic device used by the user, such as a mobile phone, PC, laptop, smart watch, smart weight scale, smart sports equipment, etc., which is not limited in this specification . The electronic device can collect user usage information, and the electronic device has network connection and network transmission functions, so that the electronic device can upload the collected user usage information to a blockchain node.
在一实施例中,用户使用信息可以包括:对所述电子设备的使用次数和/或使用频率。例如,当用户希望减少玩手机的时长时,该电子设备可以为手机、用户使用信息可以为用户在设定时间段内(如工作时间段)对手机的使用次数,而相应的预设激励规则可以包括“使用次数小于预设次数”,使得当用户的使用次数小于该预设次数、即满足该预设激励规则时,通过向用户分配第一资产凭证,以激励用户并促使其改变后续的使用习惯。再例如,当用户希望监控体重变化时,电子设备可以为智能体重秤、用户使用信息可以为用户每天对智能体重秤的使用频率,而相应的预设激励规则可以包括“使用频率大于预设频率”,使得当用户的使用频率大于预设频率、即满足该预设激励规则时,通过向用户分配第一资产凭证,以激励用户并促使其持续使用该智能体重秤。In an embodiment, the user usage information may include: the number of times and/or frequency of use of the electronic device. For example, when the user wants to reduce the length of time playing the mobile phone, the electronic device can be a mobile phone, and the user usage information can be the number of times the user uses the mobile phone within a set time period (such as a working time period), and the corresponding preset incentive rules It may include "the number of times of use is less than the preset number of times", so that when the number of times of use of the user is less than the preset number of times, that is, the preset incentive rule is satisfied, the first asset voucher is allocated to the user to motivate the user and prompt him to change the usage habit. For another example, when the user wishes to monitor the weight change, the electronic device may be a smart weight scale, the user usage information may be the daily frequency of use of the smart weight scale by the user, and the corresponding preset incentive rule may include "the use frequency is greater than the preset frequency ", so that when the user's use frequency is greater than the preset frequency, that is, the preset incentive rule is met, the first asset credential is assigned to the user to motivate the user and encourage him to continue using the smart scale.
在一实施例中,用户使用信息可以包括电子设备对所述用户进行测量得到的测量数据,比如智能体重秤测量得到的用户体重、智能体脂仪测量得到的用户体脂率、智能心率计测量得到的用户心率等。当然,用户使用信息还可以包括其他类型,本说明书并不对此进行限制。In an embodiment, the user usage information may include measurement data obtained by the electronic device for measuring the user, such as the user's weight measured by the smart scale, the user's body fat rate measured by the smart body fat meter, and the smart heart rate meter measurement The user's heart rate and so on. Of course, user usage information may also include other types, and this specification does not limit this.
在一实施例中,电子设备可以直接将用户使用信息发送至区块链节点,或者该电子设备可以将用户使用信息提供至手机等中继设备、由中继设备进一步发送至区块链节点,本说明书并不对此进行限制。In an embodiment, the electronic device can directly send the user usage information to the blockchain node, or the electronic device can provide the user usage information to a relay device such as a mobile phone, and the relay device further sends it to the blockchain node. This manual does not limit this.
步骤104,调用智能合约,所述智能合约被用于确认所述用户使用信息是否符合预设激励规则,以在判定为符合的情况下将第一资产凭证分配至所述用户。In step 104, a smart contract is invoked, and the smart contract is used to confirm whether the user usage information conforms to a preset incentive rule to allocate the first asset certificate to the user if it is determined to be in compliance.
在一实施例中,智能合约中可以预先写入将用户使用信息与预设激励规则进行比较的处理逻辑,以及基于比较结果对资产凭证进行分配的处理逻辑,使得智能合约可以基于获取的用户使用信息和预设激励规则而自动确定是否需要向相应的用户分配第一资产凭证;其中,由于智能合约上的处理逻辑为公开内容,并且整个处理过程由智能合约自动完成、不存在人工干预、不受到用户侧的电子设备的运行状态所影响,使得无论是对用户使用信息与预设激励规则之间的比较还是对资产凭证的分配,都能够确保客观、公正,且不容易受到外界干扰、可以持续稳定运行。In one embodiment, the smart contract may be pre-written with processing logic that compares user usage information with preset incentive rules, and processing logic that allocates asset credentials based on the comparison result, so that the smart contract can be used based on the acquired user Information and preset incentive rules to automatically determine whether the first asset certificate needs to be assigned to the corresponding user; where, because the processing logic on the smart contract is public content, and the entire processing process is automatically completed by the smart contract, there is no manual intervention, no Affected by the operating state of the user-side electronic equipment, whether it is the comparison between user usage information and preset incentive rules or the distribution of asset certificates, it can ensure that it is objective and fair, and is not susceptible to external interference. Continuous and stable operation.
在一实施例中,本说明书中的资产凭证可以为智能资产凭证。智能资产凭证用于表 征一定的权益,以实现对用户进行激励,有助于该用户在后续过程中,持续努力使得用户使用信息匹配于预设激励规则,从而实现良性循环。智能资产凭证可以分配至用户在区块链上对应的智能资产账户中,而用户可以通过向区块链节点分配一定数量的智能资产凭证,使其能够相对更加快速地向区块链发布交易。用户还可以通过将智能资产凭证转移至在区块链上扮演锚点(anchor)角色的区块链节点,以将该智能资产凭证兑换为等价的链外权益凭证,譬如在会员系统内的会员积分、在交易平台上的优惠券等,本说明书并不对此进行限制。In an embodiment, the asset certificate in this specification may be an intelligent asset certificate. Smart asset vouchers are used to express certain rights and interests in order to incentivize users, which helps the user to continuously strive to match user usage information with preset incentive rules in the subsequent process, thereby achieving a virtuous circle. Smart asset vouchers can be allocated to users' corresponding smart asset accounts on the blockchain, and users can distribute transactions to the blockchain relatively quickly by assigning a certain number of smart asset vouchers to the blockchain nodes. Users can also transfer the smart asset voucher to a blockchain node that plays an anchor role on the blockchain to convert the smart asset voucher into an equivalent off-chain equity voucher, such as in the member system Member points, coupons on the trading platform, etc., this manual does not limit this.
在一实施例中,本说明书中的资产凭证可以为链外资产凭证。链外资产凭证用于表征一定的权益,以实现对用户进行激励,有助于该用户在后续过程中,持续努力使得用户使用信息匹配于预设激励规则,从而实现良性循环。链外资产凭证可以包括用于表征任意类型的链外权益的凭证,譬如在会员系统内的会员积分、在交易平台上的优惠券、兑换券、抵价券等,本说明书并不对此进行限制。智能合约可以通过向链外对象发送分配指令,使得链外对象向所述用户的链外资产账户分配相应的链外资产凭证;相应的,通过在区块链上扮演锚点角色的区块链节点,用户可以将链外资产凭证转移至该区块链节点的链外资产账户中,从而将链外资产凭证兑换为等价的智能资产凭证。In an embodiment, the asset certificate in this specification may be an off-chain asset certificate. The off-chain asset certificate is used to characterize certain rights and interests to achieve incentives for users, which helps the user to continue to make efforts to match user usage information with preset incentive rules in the subsequent process, thereby achieving a virtuous circle. The off-chain asset certificate can include certificates used to characterize any type of off-chain equity, such as membership points in the member system, coupons on the trading platform, exchange coupons, coupons, etc. This manual does not limit this . The smart contract can send the allocation instruction to the off-chain object, so that the off-chain object can allocate the corresponding off-chain asset certificate to the user's off-chain asset account; accordingly, through the blockchain that plays the role of anchor on the blockchain Node, the user can transfer the off-chain asset certificate to the off-chain asset account of the blockchain node, so as to convert the off-chain asset certificate into an equivalent smart asset certificate.
在一实施例中,可以确定所述用户持有的第二资产凭证被冻结,以作为用于担保所述用户使用信息能够符合所述预设激励规则的担保凭证;其中,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下解除所述用户对所述第二资产凭证的持有关系。通过将用户的第二资产凭证冻结为担保凭证,使得用户存在发生损失的可能性,相当于建立了针对用户的惩罚机制,可以激励用户更为努力地使得用户使用信息能够符合预设激励规则。In an embodiment, it may be determined that the second asset certificate held by the user is frozen as a guarantee certificate for guaranteeing that the user usage information can meet the preset incentive rule; wherein, the smart contract also It is used to release the user's holding of the second asset certificate when the user's usage information does not comply with the preset incentive rule. By freezing the user's second asset certificate as a guarantee certificate, the user has the possibility of loss, which is equivalent to establishing a punishment mechanism for the user, which can motivate the user to work harder to make the user's use information comply with the preset incentive rules.
在一实施例中,所述第一资产凭证所表征的权益大小可与所述第二资产凭证表征的权益大小呈正相关。当第二资产凭证表征的权益越大时,表明用户可能获得的增益越大、可能产生的损失同样越大,因而能够对该用户产生更大的激励作用,有助于使其更为努力地使得用户使用信息能够符合预设激励规则。In an embodiment, the size of the equity represented by the first asset certificate may be positively related to the size of the equity represented by the second asset certificate. When the equity represented by the second asset voucher is greater, it indicates that the greater gain the user may obtain and the greater the loss that may be incurred, so it can generate greater incentives for the user and help him work harder. It enables users to use information to comply with preset incentive rules.
在一实施例中,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下,可以扣除所述用户持有的第三资产凭证,相当于建立了针对用户的惩罚机制,可以激励用户更为努力地使得用户使用信息能够符合预设激励规则。In an embodiment, the smart contract is also used to deduct the third asset certificate held by the user when the user usage information does not meet the preset incentive rules, which is equivalent to establishing The user's punishment mechanism can motivate the user to work harder to make the user's usage information comply with the preset incentive rules.
图2是一示例性实施例提供的一种实现资产分配的示意图。如图2所示,假定用户A拥有一智能体重秤21,该用户A希望通过该智能体重秤21进行持续化的体重数据监 控,以确定锻炼效果。因而,对智能体重秤21的使用过程中,涉及到两方面问题:第一,如何使得用户A持续使用该智能体重秤21进行称重;第二,如何协助用户A持续进行锻炼。FIG. 2 is a schematic diagram of asset allocation provided by an exemplary embodiment. As shown in FIG. 2, assume that user A has a smart weight scale 21, and the user A wishes to carry out continuous weight data monitoring through the smart weight scale 21 to determine the exercise effect. Therefore, in the process of using the intelligent weight scale 21, two problems are involved: first, how to make the user A continue to use the intelligent weight scale 21 for weighing; second, how to assist the user A to continue to exercise.
为了实现上述目的,智能体重秤21可以对用户A的使用信息进行采集,该使用信息可以包括:用户A对智能体重秤21的使用频率、每次使用时由智能体重秤21采集到的体重数据。而在用户A每次使用智能体重秤21之后,智能体重秤21可以采集上述的使用信息,并将其发送至设备22,以由设备22进行处理。In order to achieve the above purpose, the smart scale 21 can collect the usage information of the user A, and the use information can include: the frequency of use of the smart scale 21 by the user A, and the weight data collected by the smart scale 21 each time it is used . After the user A uses the smart scale 21 every time, the smart scale 21 can collect the above-mentioned usage information and send it to the device 22 for processing by the device 22.
设备22被配置为区块链中的一个区块链节点,该设备22可以接收智能体重秤21发送的使用信息;其中,智能体重秤21可以直接将该使用信息发送至设备22,或者通过其他设备(如手机等)将该使用信息转发至设备22,本说明书并不对此进行限制。The device 22 is configured as a blockchain node in the blockchain, and the device 22 can receive the usage information sent by the smart scale 21; wherein, the smart scale 21 can directly send the usage information to the device 22, or through other The device (such as a mobile phone, etc.) forwards the usage information to the device 22, which is not limited in this specification.
设备22可以在区块链中对智能体重秤21发送的使用信息进行共识,使得该使用信息在通过共识后被发布至区块链,以记录至各个区块链节点分别维护的、内容统一的区块链账本中,即“上链”。本说明书并不限定采用的共识算法的类型;例如,当设备22所处的区块链为联盟链或公有链时,该设备22可以基于诸如PBFT(Practical Byzantine Fault Tolerance,实用拜占庭容错)算法向其他区块链节点发起共识,并在通过共识后将该使用信息发布至区块链,使其被记录至区块链的分布式数据库中;再例如,当设备22所处的区块链为公有链时,该设备22可以与其他区块链节点基于POW(Proof of Work,工作量证明)算法、POS(Proof of Stake,股权证明)算法或其他算法竞争记账权,并由获得记账权的区块链节点向相应区块内记入交易数据,而当包含用户A输入的使用信息的交易被记入时,该使用信息可以被记录至区块链的分布式数据库中。The device 22 can make a consensus on the usage information sent by the smart scale 21 in the blockchain, so that the usage information is released to the blockchain after passing the consensus, to be recorded to each blockchain node separately maintained and unified content In the blockchain ledger, it is "on the chain". This specification does not limit the type of consensus algorithm used; for example, when the blockchain where device 22 is located is a consortium chain or a public chain, the device 22 may be based on algorithms such as PBFT (Practical Byzantine Fault Tolerance). Other blockchain nodes initiate consensus, and after passing the consensus, publish the usage information to the blockchain so that it can be recorded in the distributed database of the blockchain; for another example, when the blockchain where the device 22 is located is In the case of a public chain, the device 22 can compete with other blockchain nodes based on the POW (Proof of Work, Proof of Work) algorithm, POS (Proof of Stake, Proof of Stake) algorithm, or other algorithms for accounting, and the accounting can be obtained by The authorized blockchain node records transaction data into the corresponding block, and when the transaction containing the usage information input by user A is recorded, the usage information can be recorded in the distributed database of the blockchain.
为了确定用户A对智能体重秤21的使用信息是否满足预设激励规则,尤其是能够在避免人为干预的情况下,能够自动、持续地实现判断,可以预先在区块链上创建智能合约,该智能合约中定义有用于确定使用信息与预设激励规则之间的匹配情况的功能逻辑,该功能逻辑可以自动实现上述的判断操作。通过向区块链中提交一笔对该智能合约进行调用的交易,使得各个区块链节点在执行该交易时可以对该智能合约进行调用,从而自动运行上述的功能逻辑,以针对上述的使用信息与预设激励规则进行比较,并实现相应的资产分配操作。In order to determine whether user A’s use of the smart scale 21 satisfies the preset incentive rules, in particular, it can automatically and continuously realize judgment without human intervention, and a smart contract can be created on the blockchain in advance. The smart contract defines functional logic for determining the matching between the usage information and the preset incentive rules, and the functional logic can automatically implement the above-mentioned judgment operation. By submitting a transaction that calls the smart contract to the blockchain, each blockchain node can call the smart contract when executing the transaction, thereby automatically running the above functional logic to address the above use The information is compared with preset incentive rules, and the corresponding asset allocation operation is realized.
为了便于理解,下面结合图3对图2所示实施例中提及的智能合约所实施的功能逻辑进行详细描述。其中,图3是一示例性实施例提供的一种智能合约实施的功能逻辑的流程图。如图3所示,该功能逻辑可以包括以下步骤:For ease of understanding, the functional logic implemented by the smart contract mentioned in the embodiment shown in FIG. 2 will be described in detail below in conjunction with FIG. 3. Among them, FIG. 3 is a flowchart of a functional logic implemented by a smart contract provided by an exemplary embodiment. As shown in FIG. 3, the functional logic may include the following steps:
步骤302,获取用户A的使用信息。Step 302: Obtain usage information of user A.
在一实施例中,用户A对智能体重秤21的使用信息可以被记录于区块链账本上的某一交易中,智能合约可以从区块链账本中读取该交易,并获取上述的使用信息。或者,在设备22上可以维护有便于检索的状态数据集,该状态数据集对应于区块链账本中的数据,并且使得设备22能够更加简单、快速地获取区块链账本中的某一数据,比如上述的使用信息等,而无需逐一查询区块链账本中的各笔交易,可以极大地提升对使用信息的获取效率。当然,如果在调用智能合约时,将上述使用信息在区块链账本中对应交易的交易流水号等信息传入智能合约,使得该智能合约可以直接对相关交易进行读取、无需逐一查询各笔交易。In an embodiment, user A's usage information of the smart scale 21 can be recorded in a transaction on the blockchain ledger, and the smart contract can read the transaction from the blockchain ledger and obtain the above usage information. Or, a state data set that is easy to retrieve can be maintained on the device 22, the state data set corresponds to the data in the blockchain ledger, and enables the device 22 to obtain a certain data in the blockchain ledger more easily and quickly For example, the above-mentioned usage information, etc., without having to query each transaction in the blockchain ledger, which can greatly improve the efficiency of obtaining usage information. Of course, if the smart contract is invoked, information such as the transaction serial number of the corresponding transaction in the blockchain ledger is used to transfer the smart contract to the smart contract, so that the smart contract can directly read related transactions without querying each one individually transaction.
在一实施例中,设备22在调用智能合约时,可以将用户A对智能体重秤21的使用信息作为输入数据进行传入,而无需智能合约从区块链账本或上述的状态数据集中进行查询。In an embodiment, when the device 22 invokes the smart contract, the user A's usage information of the smart scale 21 can be passed in as input data without the smart contract querying from the blockchain ledger or the aforementioned state data set .
步骤304,确定预设激励规则。Step 304: Determine preset incentive rules.
在一实施例中,针对用户A的使用需求,预设激励规则可以包括两部分内容:第一部分用于监控用户A对智能体重秤21的使用评论,第二部分用于监控用户A的体重变化情况;例如,预设激励规则可以包括:规则1,用户A使用智能体重秤21的频率不小于每天1次;规则2,用户A每周的体重变化不小于x克。In one embodiment, for user A's usage requirements, the preset incentive rules may include two parts: the first part is used to monitor user A's use of smart scale 21, and the second part is used to monitor user A's weight change Situation; for example, the preset incentive rules may include: Rule 1, the frequency of user A using the smart scale 21 is not less than once a day; Rule 2, the weekly weight change of user A is not less than x grams.
步骤306,比较用户A对应的使用信息与预设激励规则,确定该使用信息是否符合预设激励规则。Step 306: Compare the usage information corresponding to user A with the preset incentive rules to determine whether the usage information conforms to the preset incentive rules.
在一实施例中,当用户A对应的使用信息完全匹配于预设激励规则时,即用户A使用智能体重秤21的频率不小于每天1次,且用户A每周的体重变化不小于x克,可以判定为使用信息符合预设激励规则,否则判定为不符合。In an embodiment, when the usage information corresponding to user A completely matches the preset incentive rule, that is, the frequency of user A using smart scale 21 is not less than once a day, and the weekly weight change of user A is not less than x grams , It can be determined that the usage information conforms to the preset incentive rules, otherwise it is determined that it does not conform.
步骤308A,当使用信息符合预设激励规则时,确定用户A是否存在担保凭证。 Step 308A, when the usage information meets the preset incentive rules, it is determined whether the user A has a guarantee certificate.
步骤310A,当存在担保凭证时,向用户A分配智能资产凭证S1。Step 310A, when there is a security certificate, the smart asset certificate S1 is assigned to the user A.
步骤310B,当不存在担保凭证时,向用户A分配智能资产凭证S2。 Step 310B, when there is no guarantee certificate, assign smart asset certificate S2 to user A.
在一实施例中,用户A可以通过对使用信息配置相应的担保凭证,以用于对自身的锻炼情况实施进一步的激励。例如,用户A在区块链中可以存在对应的账户a,并通过该账户a持有一定的智能资产凭证,可以通过对该账户a中的至少一部分智能资产凭证 进行冻结,以作为上述的担保凭证;比如,可以由该账户a将该至少一部分智能资产凭证暂时转入专用的凭证冻结账户中,或者可以在该账户a中对该至少一部分智能资产凭证添加冻结标识等,本说明书并不对此进行限制。当然,也可以将用户A的链外账户中的至少一部分链外资产进行冻结,以作为该担保凭证,本说明书并不对此进行限制。In an embodiment, user A may configure corresponding guarantee credentials for the usage information, so as to implement further incentives for his exercise situation. For example, user A may have a corresponding account a in the blockchain, and hold a certain smart asset voucher through the account a, by freezing at least a part of the smart asset voucher in the account a, as the above-mentioned guarantee Credentials; for example, the account a can temporarily transfer the at least a part of the smart asset voucher to a dedicated credential freezing account, or the account a can be added to the at least a part of the smart asset voucher with a frozen logo, etc. Limit it. Of course, at least a part of the off-chain assets in User A's off-chain account can also be frozen as the guarantee certificate, which is not limited in this specification.
在一实施例中,担保凭证并非必要。如果存在担保凭证,可以向用户A分配智能资产凭证S1,如果不存在担保凭证,可以向用户A分配智能资产凭证S2;其中,智能资产凭证S1所表征的权益应当大于智能资产凭证S2所表征的权益,以表明对用户A提供担保凭证的激励,并使得用户A持有的智能资产凭证更多,从而表明该用户A对智能体重秤21的使用情况较好,可以对用户A进行激励。其中,智能资产凭证S1、S2所表征的权益可以是固定值,或者该智能资产凭证S1、S2所表征的权益可以与担保凭证所表征的权益呈正相关,即担保凭证所表征的权益越大/越多时,该智能资产凭证S1、S2所表征的权益随之越大/越多。In one embodiment, the guarantee certificate is not necessary. If there is a guarantee certificate, user A can be assigned smart asset certificate S1, if there is no guarantee certificate, user A can be assigned smart asset certificate S2; where the equity represented by smart asset certificate S1 should be greater than that represented by smart asset certificate S2 Rights and interests, to indicate the incentive to provide user A with a guarantee certificate, and to make user A hold more smart asset certificates, thereby indicating that user A has a better use of smart scale 21 and can incentivize user A. Among them, the equity represented by the smart asset certificate S1, S2 can be a fixed value, or the equity represented by the smart asset certificate S1, S2 can be positively correlated with the equity represented by the security certificate, that is, the greater the equity represented by the security certificate / The more, the greater the equity represented by the smart asset certificates S1, S2 will be.
在一实施例中,为了提升用户A对智能体重秤21重视程度,激励用户A对智能体重秤21的持续使用,可以要求用户A必须提供担保凭证。因此,对于存在担保凭证的情况下,可以向用户A分配智能资产凭证S1、该智能资产凭证S1用于表征一定权益;而当不存在担保凭证的情况下,向用户A分配的智能资产凭证S2无法表征任何权益,相当于未分配任何智能资产凭证,那么用户A的参与将是无意义的。In one embodiment, in order to increase user A's emphasis on the smart scale 21 and to encourage user A to continue using the smart scale 21, the user A may be required to provide a guarantee certificate. Therefore, in the case where there is a guarantee certificate, the smart asset certificate S1 can be allocated to user A to represent a certain interest; and when there is no guarantee certificate, the smart asset certificate S2 can be allocated to user A It is impossible to characterize any rights and interests, which is equivalent to not allocating any smart asset credentials, so the participation of user A will be meaningless.
步骤308B,当使用信息不符合预设激励规则时,确定用户A是否存在担保凭证。Step 308B, when the usage information does not meet the preset incentive rules, it is determined whether the user A has a guarantee certificate.
步骤310C,当存在担保凭证时,扣除担保凭证。 Step 310C, when there is a guarantee certificate, the guarantee certificate is deducted.
在一实施例中,当使用信息不符合预设激励规则时,即用户A对智能体重秤21的使用情况不理想,可以通过扣除担保凭证使得用户A终止持有该担保凭证对应的智能资产凭证,那么用户A持有的智能资产凭证减少,以提醒用户A后续调整对智能体重秤21的使用情况。In an embodiment, when the usage information does not meet the preset incentive rules, that is, the user A’s use of the smart scale 21 is not ideal, the user A may terminate the possession of the smart asset certificate corresponding to the guarantee certificate by deducting the guarantee certificate Then, the smart asset certificate held by user A is reduced to remind user A to subsequently adjust the usage of smart scale 21.
图4是一示例性实施例提供的另一种智能合约实施的功能逻辑的流程图。如图4所示,该功能逻辑可以包括以下步骤:FIG. 4 is a flowchart of another functional logic implemented by a smart contract provided by an exemplary embodiment. As shown in FIG. 4, the functional logic may include the following steps:
步骤402,获取用户A的使用信息。Step 402: Obtain usage information of user A.
步骤404,确定预设激励规则。Step 404: Determine preset incentive rules.
在一实施例中,步骤402-404可以参考图3所示的步骤302-304,此处不再赘述。In an embodiment, for steps 402-404, reference may be made to steps 302-304 shown in FIG. 3, which will not be repeated here.
步骤406,比较用户A对应的使用信息与预设激励规则,确定该使用信息是否完全符合预设激励规则。In step 406, the usage information corresponding to user A is compared with the preset incentive rule to determine whether the usage information fully complies with the preset incentive rule.
在一实施例中,假定预设激励规则包括:规则1,用户A使用智能体重秤21的频率不小于每天1次;规则2,用户A每周的体重变化不小于x克。相应的,用户A对智能体重秤21的使用信息可以包括:使用频率和体重数据。如果使用频率满足“不小于每天1次”且体重数据满足“每周的体重变化不小于x克”,表明使用信息完全符合预设激励规则;如果仅使用频率满足“不小于每天1次”,或者仅体重数据满足“每周的体重变化不小于x克”,表明使用信息部分符合预设激励规则。当然,有可能使用频率不满足“不小于每天1次”且体重数据不满足“每周的体重变化不小于x克”,则使用信息完全不符合预设激励规则。In an embodiment, it is assumed that the preset incentive rules include: Rule 1, the frequency of user A using the smart scale 21 is not less than once a day; Rule 2, the weekly weight change of user A is not less than x grams. Correspondingly, the usage information of the user A on the intelligent weight scale 21 may include: usage frequency and weight data. If the frequency of use satisfies "not less than 1 time per day" and the weight data meets "the weekly weight change is not less than x grams", it indicates that the usage information fully complies with the preset incentive rules; Or only the weight data satisfies "Weekly weight change is not less than x grams", indicating that the usage information part meets the preset incentive rules. Of course, it is possible that the usage frequency does not satisfy "not less than once a day" and the weight data does not satisfy "the weekly weight change is not less than x grams", then the usage information does not fully meet the preset incentive rules.
步骤408A,当使用信息完全符合预设激励规则时,确定用户A是否存在担保凭证。 Step 408A, when the usage information fully complies with the preset incentive rules, it is determined whether the user A has a guarantee certificate.
步骤410A,当存在担保凭证时,向用户A分配智能资产凭证S1。In step 410A, when there is a guarantee certificate, the smart asset certificate S1 is assigned to the user A.
步骤410B,当不存在担保凭证时,向用户A分配智能资产凭证S2。 Step 410B, when there is no guarantee certificate, the smart asset certificate S2 is assigned to the user A.
在一实施例中,步骤408A、步骤410A和步骤410B可以参考如图3所示的步骤308A、步骤310A和步骤310B,此处不再赘述。In an embodiment, for step 408A, step 410A and step 410B, reference may be made to step 308A, step 310A and step 310B shown in FIG. 3, which will not be repeated here.
步骤408B,当使用信息并非完全符合预设激励规则时,确定使用信息是否部分符合预设激励规则。 Step 408B, when the usage information does not completely meet the preset incentive rule, it is determined whether the usage information partially complies with the preset incentive rule.
步骤410C,当使用信息完全不符合预设激励规则时,若存在担保凭证,则扣除担保凭证。 Step 410C, when the usage information does not completely meet the preset incentive rules, if there is a guarantee certificate, the guarantee certificate is deducted.
在一实施例中,与图3所示实施例相类似地,用户A可以对使用信息配置相应的担保凭证。那么,当使用信息完全不符合预设激励规则时,可以通过扣除担保凭证使得用户A终止持有该担保凭证对应的智能资产凭证,以提醒用户A后续调整对智能体重秤21的使用情况。In an embodiment, similar to the embodiment shown in FIG. 3, user A can configure corresponding guarantee credentials for the usage information. Then, when the usage information does not comply with the preset incentive rules at all, the user A can be deducted from holding the smart asset certificate corresponding to the guarantee certificate by deducting the guarantee certificate to remind the user A to subsequently adjust the use of the smart scale 21.
步骤410D,当使用信息部分符合预设激励规则时,确定用户A是否存在担保凭证。 Step 410D, when the usage information part complies with the preset incentive rule, it is determined whether the user A has a guarantee certificate.
步骤412A,当存在担保凭证时,向用户A分配智能资产凭证S3。In step 412A, when there is a guarantee certificate, the smart asset certificate S3 is assigned to the user A.
步骤412B,当不存在担保凭证时,向用户A分配智能资产凭证S4。Step 412B, when there is no guarantee certificate, the smart asset certificate S4 is assigned to the user A.
在一实施例中,与步骤410A-410B相类似的,当使用信息部分符合预设激励规则时,比如仅使用频率满足“不小于每天1次”时表明用户A坚持使用了智能体重秤21,再 比如仅体重数据满足“每周的体重变化不小于x克”时表明用户A坚持了锻炼行为。因而出于对这部分相符情况的激励,可以向用户A分配一定的智能资产凭证。在该实施例中,该担保凭证并非必要:如果存在担保凭证,可以向用户A分配智能资产凭证S3,如果不存在担保凭证,可以向用户A分配智能资产凭证S4;其中,在所表征的权益大小方面:S1>S3>S4、S1>S2>S4。In an embodiment, similar to steps 410A-410B, when the usage information part meets the preset incentive rules, for example, when the usage frequency satisfies "not less than once a day", it indicates that user A insists on using smart scale 21, For another example, when only the weight data satisfies "Weekly weight change is not less than x grams", it indicates that user A has adhered to the exercise behavior. Therefore, in order to encourage this part of the match, user A can be assigned a certain smart asset certificate. In this embodiment, the guarantee certificate is not necessary: if there is a guarantee certificate, user A can be assigned smart asset certificate S3, if there is no guarantee certificate, user A can be assigned smart asset certificate S4; In terms of size: S1>S3>S4, S1>S2>S4.
在一实施例中,智能资产凭证S1、S3所表征的权益可以是分别对应的固定值,或者该智能资产凭证S1、S3所表征的权益可以分别与担保凭证所表征的权益呈正相关,即担保凭证所表征的权益越大/越多时,该智能资产凭证S1、S3所表征的权益随之越大/越多。In an embodiment, the rights and interests represented by the smart asset certificates S1 and S3 may be fixed values corresponding to each, or the rights and interests represented by the smart asset certificates S1 and S3 may be positively correlated with the rights and interests represented by the security certificate, namely the guarantee When the equity represented by the voucher is larger/more, the equity represented by the smart asset vouchers S1, S3 will be larger/more.
在一实施例中,可以要求用户A必须提供担保凭证。因此,对于存在担保凭证的情况下,可以向用户A分配智能资产凭证S3、该智能资产凭证S3用于表征一定权益;而当不存在担保凭证的情况下,向用户A分配的智能资产凭证S4无法表征任何权益,相当于未分配任何智能资产凭证,那么用户A的参与将是无意义的。In an embodiment, user A may be required to provide proof of guarantee. Therefore, in the case where there is a guarantee certificate, user A can be assigned smart asset certificate S3, which is used to characterize a certain interest; and when there is no guarantee certificate, the smart asset certificate S4 assigned to user A It is impossible to characterize any rights and interests, which is equivalent to not allocating any smart asset credentials, so the participation of user A will be meaningless.
此外,对于图3-4所示的实施例而言,当用户A的使用信息完全不符合预设激励规则时,不仅可以不向用户A分配智能资产凭证,还可以从用户A对应的智能资产账户a中扣除一定的智能资产凭证,这部分智能资产凭证独立于用户A提供的担保凭证,可以进一步激励用户A使用智能体重秤21、保持锻炼。In addition, for the embodiment shown in FIGS. 3-4, when the usage information of user A completely does not comply with the preset incentive rules, not only the smart asset voucher may be allocated to user A, but also the smart asset corresponding to user A A certain amount of smart asset voucher is deducted from account a. This part of smart asset voucher is independent of the guarantee voucher provided by user A, which can further encourage user A to use smart scale 21 and maintain exercise.
图5是一示例性实施例提供的一种设备的示意结构图。请参考图5,在硬件层面,该设备包括处理器502、内部总线504、网络接口506、内存508以及非易失性存储器510,当然还可能包括其他业务所需要的硬件。处理器502从非易失性存储器510中读取对应的计算机程序到内存508中然后运行,在逻辑层面上形成资产分配装置。当然,除了软件实现方式之外,本说明书一个或多个实施例并不排除其他实现方式,比如逻辑器件抑或软硬件结合的方式等等,也就是说以下处理流程的执行主体并不限定于各个逻辑单元,也可以是硬件或逻辑器件。FIG. 5 is a schematic structural diagram of a device provided by an exemplary embodiment. Please refer to FIG. 5. At the hardware level, the device includes a processor 502, an internal bus 504, a network interface 506, a memory 508, and a non-volatile memory 510. Of course, it may include hardware required for other services. The processor 502 reads the corresponding computer program from the non-volatile memory 510 into the memory 508 and then runs it to form an asset allocation device at a logical level. Of course, in addition to the software implementation, one or more embodiments of this specification do not exclude other implementations, such as a logic device or a combination of software and hardware, etc., that is to say, the execution body of the following processing flow is not limited to each The logic unit may also be a hardware or logic device.
请参考图6,在软件实施方式中,该资产分配装置应用于区块链节点,可以包括:Please refer to FIG. 6. In the software implementation, the asset allocation device is applied to a blockchain node, and may include:
获取单元61,获取电子设备发送的用户使用信息,所述用户使用信息用于表征用户对所述电子设备的使用情况;The obtaining unit 61 obtains user usage information sent by an electronic device, where the user usage information is used to characterize the user's usage of the electronic device;
调用单元62,调用智能合约,所述智能合约被用于确认所述用户使用信息是否符合预设激励规则,以在判定为符合的情况下将第一资产凭证分配至所述用户。The calling unit 62 calls a smart contract, and the smart contract is used to confirm whether the user usage information conforms to a preset incentive rule, so as to allocate the first asset certificate to the user if it is determined to be in compliance.
可选的,所述用户使用信息包括:对所述电子设备的使用次数和/或使用频率。Optionally, the user usage information includes: the number of times and/or frequency of use of the electronic device.
可选的,所述用户使用信息包括:所述电子设备对所述用户进行测量得到的测量数据。Optionally, the user usage information includes: measurement data obtained by the electronic device measuring the user.
可选的,还包括:Optional, also includes:
确定单元63,确定所述用户持有的第二资产凭证被冻结,以作为用于担保所述用户使用信息能够符合所述预设激励规则的担保凭证;The determining unit 63 determines that the second asset certificate held by the user is frozen as a guarantee certificate for guaranteeing that the user usage information can meet the preset incentive rule;
其中,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下解除所述用户对所述第二资产凭证的持有关系。Wherein, the smart contract is also used to release the user's holding relationship with the second asset certificate when the user usage information does not meet the preset incentive rule.
可选的,所述第一资产凭证所表征的权益大小与所述第二资产凭证表征的权益大小呈正相关。Optionally, the size of the equity represented by the first asset certificate is positively related to the size of the equity represented by the second asset certificate.
可选的,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下,扣除所述用户持有的第三资产凭证。Optionally, the smart contract is also used to deduct the third asset certificate held by the user when the user usage information does not meet the preset incentive rule.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机,计算机的具体形式可以是个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件收发设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任意几种设备的组合。The system, device, module or unit explained in the above embodiments may be specifically implemented by a computer chip or entity, or implemented by a product with a certain function. A typical implementation device is a computer, and the specific form of the computer may be a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email sending and receiving device, and a game control Desk, tablet computer, wearable device, or any combination of these devices.
在一个典型的配置中,计算机包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, the computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。The memory may include non-permanent memory, random access memory (RAM) and/or non-volatile memory in computer-readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存 储、磁盒式磁带、磁盘存储、量子存储器、基于石墨烯的存储介质或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media, including permanent and non-permanent, removable and non-removable media, can store information by any method or technology. The information may be computer readable instructions, data structures, modules of programs, 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 technologies, read-only compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices. As defined in this article, computer-readable media does not include temporary computer-readable media (transitory media), such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "include", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device that includes a series of elements includes not only those elements, but also includes Other elements not explicitly listed, or include elements inherent to this process, method, commodity, or equipment. Without more restrictions, the element defined by the sentence "include one..." does not exclude that there are other identical elements in the process, method, commodity, or equipment that includes the element.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the particular order shown or sequential order to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在本说明书一个或多个实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本说明书一个或多个实施例。在本说明书一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only, and is not intended to limit one or more embodiments of this specification. The singular forms "a", "said" and "the" used in one or more embodiments of the present specification and the appended claims are also intended to include the majority forms unless the context clearly indicates other meanings. It should also be understood that the term "and/or" as used herein refers to and includes any or all possible combinations of one or more associated listed items.
应当理解,尽管在本说明书一个或多个实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本说明书一个或多个实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although one or more embodiments in this specification may use the terms first, second, third, etc. to describe various information, the information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to a determination".
以上所述仅为本说明书一个或多个实施例的较佳实施例而已,并不用以限制本说明书一个或多个实施例,凡在本说明书一个或多个实施例的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本说明书一个或多个实施例保护的范围之内。The above are only preferred embodiments of one or more embodiments of this specification, and are not intended to limit one or more embodiments of this specification. Anything within the spirit and principle of one or more embodiments of this specification, Any modifications, equivalent replacements, improvements, etc. made should be included within the scope of protection of one or more embodiments of this specification.

Claims (13)

  1. 一种资产分配方法,应用于区块链节点,所述方法包括:An asset allocation method applied to blockchain nodes. The method includes:
    获取电子设备发送的用户使用信息,所述用户使用信息用于表征用户对所述电子设备的使用情况;Obtain user usage information sent by an electronic device, where the user usage information is used to characterize the user's usage of the electronic device;
    调用智能合约,所述智能合约被用于确认所述用户使用信息是否符合预设激励规则,以在判定为符合的情况下将第一资产凭证分配至所述用户。Invoking a smart contract, the smart contract is used to confirm whether the user usage information complies with a preset incentive rule to allocate the first asset voucher to the user if it is determined to be in compliance.
  2. 根据权利要求1所述的方法,所述用户使用信息包括:对所述电子设备的使用次数和/或使用频率。The method according to claim 1, wherein the user use information includes: the number of times and/or frequency of use of the electronic device.
  3. 根据权利要求1所述的方法,所述用户使用信息包括:所述电子设备对所述用户进行测量得到的测量数据。The method according to claim 1, wherein the user usage information includes: measurement data obtained by the electronic device measuring the user.
  4. 根据权利要求1所述的方法,还包括:The method of claim 1, further comprising:
    确定所述用户持有的第二资产凭证被冻结,以作为用于担保所述用户使用信息能够符合所述预设激励规则的担保凭证;Determining that the second asset certificate held by the user is frozen as a guarantee certificate for guaranteeing that the user usage information can comply with the preset incentive rule;
    其中,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下解除所述用户对所述第二资产凭证的持有关系。Wherein, the smart contract is also used to release the user's holding relationship with the second asset certificate when the user usage information does not meet the preset incentive rule.
  5. 根据权利要求4所述的方法,所述第一资产凭证所表征的权益大小与所述第二资产凭证表征的权益大小呈正相关。According to the method of claim 4, the size of the equity represented by the first asset certificate is positively related to the size of the equity represented by the second asset certificate.
  6. 根据权利要求1所述的方法,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下,扣除所述用户持有的第三资产凭证。According to the method of claim 1, the smart contract is also used to deduct the third asset certificate held by the user when the user usage information does not comply with the preset incentive rule.
  7. 一种资产分配装置,应用于区块链节点,所述装置包括:An asset distribution device applied to a blockchain node. The device includes:
    获取单元,获取电子设备发送的用户使用信息,所述用户使用信息用于表征用户对所述电子设备的使用情况;An obtaining unit, obtaining user usage information sent by an electronic device, where the user usage information is used to characterize a user's usage of the electronic device;
    调用单元,调用智能合约,所述智能合约被用于确认所述用户使用信息是否符合预设激励规则,以在判定为符合的情况下将第一资产凭证分配至所述用户。The invoking unit invokes a smart contract, and the smart contract is used to confirm whether the user usage information conforms to a preset incentive rule to allocate the first asset certificate to the user if it is determined to be in compliance.
  8. 根据权利要求7所述的装置,所述用户使用信息包括:对所述电子设备的使用次数和/或使用频率。The apparatus according to claim 7, wherein the user use information includes: the number of times and/or frequency of use of the electronic device.
  9. 根据权利要求7所述的装置,所述用户使用信息包括:所述电子设备对所述用户进行测量得到的测量数据。The apparatus according to claim 7, wherein the user usage information includes: measurement data obtained by the electronic device measuring the user.
  10. 根据权利要求7所述的装置,还包括:The device according to claim 7, further comprising:
    确定单元,确定所述用户持有的第二资产凭证被冻结,以作为用于担保所述用户使用信息能够符合所述预设激励规则的担保凭证;The determining unit determines that the second asset certificate held by the user is frozen as a guarantee certificate for guaranteeing that the user usage information can comply with the preset incentive rule;
    其中,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下解除所述用户对所述第二资产凭证的持有关系。Wherein, the smart contract is also used to release the user's holding relationship with the second asset certificate when the user usage information does not meet the preset incentive rule.
  11. 根据权利要求10所述的装置,所述第一资产凭证所表征的权益大小与所述第二资产凭证表征的权益大小呈正相关。According to the apparatus of claim 10, the size of the equity represented by the first asset certificate is positively related to the size of the equity represented by the second asset certificate.
  12. 根据权利要求7所述的装置,所述智能合约还被用于在所述用户使用信息不符合所述预设激励规则的情况下,扣除所述用户持有的第三资产凭证。According to the apparatus of claim 7, the smart contract is further used to deduct the third asset certificate held by the user when the user usage information does not comply with the preset incentive rule.
  13. 一种电子设备,包括:An electronic device, including:
    处理器;processor;
    用于存储处理器可执行指令的存储器;Memory for storing processor executable instructions;
    其中,所述处理器通过运行所述可执行指令以实现如权利要求1-6中任一项所述的方法。Wherein, the processor executes the executable instruction to implement the method according to any one of claims 1-6.
PCT/CN2019/110952 2018-11-28 2019-10-14 Asset distribution method and device and electronic device WO2020108128A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811434499.1 2018-11-28
CN201811434499.1A CN109872022A (en) 2018-11-28 2018-11-28 Asset allocation method and device, electronic equipment

Publications (1)

Publication Number Publication Date
WO2020108128A1 true WO2020108128A1 (en) 2020-06-04

Family

ID=66917021

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/110952 WO2020108128A1 (en) 2018-11-28 2019-10-14 Asset distribution method and device and electronic device

Country Status (3)

Country Link
CN (1) CN109872022A (en)
TW (1) TW202020786A (en)
WO (1) WO2020108128A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990925A (en) * 2021-04-21 2021-06-18 支付宝(杭州)信息技术有限公司 Asset certificate management method and device

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109872022A (en) * 2018-11-28 2019-06-11 阿里巴巴集团控股有限公司 Asset allocation method and device, electronic equipment
CN110503435B (en) * 2019-07-31 2023-10-27 创新先进技术有限公司 Transaction early warning method, device and equipment based on blockchain
CN113554252B (en) * 2020-04-23 2023-04-18 广西民族师范学院 Laboratory management system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537549A (en) * 2014-12-17 2015-04-22 广州酷狗计算机科技有限公司 Presentation method and device for virtual currency
CN105208094A (en) * 2015-08-21 2015-12-30 广东欧珀移动通信有限公司 Message notification method and message notifications system
CN107918582A (en) * 2017-11-09 2018-04-17 北京小唱科技有限公司 Data processing method and device for social networking application
CN108171603A (en) * 2017-12-15 2018-06-15 深圳智盾信息技术有限公司 A kind of integral management system based on block chain
CN108665253A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of data processing method, device, equipment and the storage medium of block chain network
CN109872022A (en) * 2018-11-28 2019-06-11 阿里巴巴集团控股有限公司 Asset allocation method and device, electronic equipment

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107610015A (en) * 2017-09-27 2018-01-19 风变科技(深圳)有限公司 A kind of credit acquisition methods, server, system and storage medium
CN108764857A (en) * 2018-06-08 2018-11-06 北京阿尔山金融科技有限公司 Check card motivational techniques and the punch card system for equipment of checking card

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537549A (en) * 2014-12-17 2015-04-22 广州酷狗计算机科技有限公司 Presentation method and device for virtual currency
CN105208094A (en) * 2015-08-21 2015-12-30 广东欧珀移动通信有限公司 Message notification method and message notifications system
CN107918582A (en) * 2017-11-09 2018-04-17 北京小唱科技有限公司 Data processing method and device for social networking application
CN108171603A (en) * 2017-12-15 2018-06-15 深圳智盾信息技术有限公司 A kind of integral management system based on block chain
CN108665253A (en) * 2018-05-18 2018-10-16 百度在线网络技术(北京)有限公司 A kind of data processing method, device, equipment and the storage medium of block chain network
CN109872022A (en) * 2018-11-28 2019-06-11 阿里巴巴集团控股有限公司 Asset allocation method and device, electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112990925A (en) * 2021-04-21 2021-06-18 支付宝(杭州)信息技术有限公司 Asset certificate management method and device
CN112990925B (en) * 2021-04-21 2021-08-10 支付宝(杭州)信息技术有限公司 Asset certificate management method and device

Also Published As

Publication number Publication date
TW202020786A (en) 2020-06-01
CN109872022A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
WO2020108128A1 (en) Asset distribution method and device and electronic device
WO2020019798A1 (en) Rights and interests distribution method and device and electronic device
WO2019095829A1 (en) Internet loan-based risk monitoring method, apparatus, and device
WO2020063175A1 (en) Method and apparatus for allocating virtual resources
WO2020220760A1 (en) Blockchain-based payment withholding method and apparatus, electronic device and storage medium
WO2020125218A1 (en) Claim settlement method and apparatus employing blockchain technology
WO2020015409A1 (en) Method and apparatus for distributing copyright income based on block chain
EP3565219B1 (en) Service execution method and device
TWI706340B (en) Event prediction method and device, electronic equipment
TW202008227A (en) Event prediction method and apparatus, and electronic device
TWI706663B (en) Data storage method and system based on multiple blockchain networks
WO2020125233A1 (en) Field updating method and device and electronic apparatus
US11695559B2 (en) Nested tenancy that permits a hierarchy having a plurality of levels
TWI706664B (en) Data storage method and system based on multiple blockchain networks
WO2020119293A1 (en) Content pushing method and apparatus, and electronic device
TW202004597A (en) Virtual resource delivery and crowdfunding method and device based on block chain
WO2020015414A1 (en) Method and apparatus for issuing reward to work publisher based on blockchain
WO2020019799A1 (en) Object selection method and device and electronic device
WO2020108052A1 (en) Data reading method based on a plurality of block chain networks and system
CN110096489A (en) A kind of data query method, system, device and electronic equipment
WO2020019792A1 (en) Block release method and apparatus, and electronic device
WO2021239087A1 (en) Data processing method, apparatus and device, and medium
CN109002357A (en) Resource allocation methods, device and Internet of things system
WO2019047774A1 (en) Resource allocation method and device and electronic device
TWI706341B (en) Event prediction method and device, electronic equipment

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: 19891659

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: 19891659

Country of ref document: EP

Kind code of ref document: A1