CN110689432A - A blockchain-based user target processing method, device and device - Google Patents
A blockchain-based user target processing method, device and device Download PDFInfo
- Publication number
- CN110689432A CN110689432A CN201910912963.1A CN201910912963A CN110689432A CN 110689432 A CN110689432 A CN 110689432A CN 201910912963 A CN201910912963 A CN 201910912963A CN 110689432 A CN110689432 A CN 110689432A
- Authority
- CN
- China
- Prior art keywords
- target
- information
- user
- result
- smart contract
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06Q—INFORMATION 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
- G06Q40/00—Finance; Insurance; Tax strategies; Processing of corporate or income taxes
- G06Q40/04—Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- Accounting & Taxation (AREA)
- Finance (AREA)
- Computer Security & Cryptography (AREA)
- General Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- Technology Law (AREA)
- Strategic Management (AREA)
- Marketing (AREA)
- Economics (AREA)
- Development Economics (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
本说明书实施例公开了一种基于区块链的用户目标处理方法、装置及设备,所述方法包括:接收目标用户设立的待实现的目标信息,所述目标信息中包括待实现的目标结果和资源信息;将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向所述区块链节点所在的区块链网络中部署所述目标结果对应的智能合约;当到达实现所述目标结果所设定的预定时间时,从预定数据库中获取针对所述目标用户设立的所述目标信息的结果,并检测获取的结果是否满足所述智能合约的触发条件;如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息。
The embodiments of this specification disclose a user goal processing method, device and equipment based on blockchain, the method comprising: receiving target information to be achieved set by a target user, the target information including the target result and resource information to be achieved; aggregating target information identical to the target result to obtain aggregated target information, and deploying a smart contract corresponding to the target result to the blockchain network where the blockchain node is located; when the predetermined time set for achieving the target result is reached, obtaining the result of the target information set for the target user from a predetermined database, and detecting whether the obtained result meets the triggering condition of the smart contract; if the obtained result meets the triggering condition of the smart contract, allocating the resource information in the aggregated target information to the target user based on the smart contract.
Description
技术领域technical field
本文件涉及计算机技术领域,尤其涉及一种基于区块链的用户目标处理方法、装置及设备。This document relates to the field of computer technology, in particular to a method, device and device for processing user objects based on blockchain.
背景技术Background technique
设定目标是人们生活和工作中经常出现的事件,人们可以设定自己的工作目标、家庭的目标、事业的目标收入财富的目标和学习成长的目标等。目标对人们具有非常重要的意义,如设立目标能够产生积极的心态、可以使人们看清使命、产生动力、可以产生信心和勇气等。Setting goals is an event that often occurs in people's life and work. People can set their own work goals, family goals, career goals, income and wealth goals, and learning and growth goals. Goals are very important to people. For example, setting goals can generate a positive attitude, make people see their mission clearly, generate motivation, and generate confidence and courage.
通常,对于具有设立目标(或任务等)需求的用户可以根据实际情况设定相应的目标,然后,可以基于设立的目标内容中规定的时间完成相应的目标,达到相应的结果,此外,用户还可以要求其它用户监督自己的目标的完成情况。但是,上述方式往往无法判定是否完成目标,容易发生纠纷事件,而且,用户往往很难有动力去坚持完成相应的目标。为此,需要提供一种统计数据更准确、数据可追溯性更好的目标设定和目标激励策略。Usually, users who have the need to set goals (or tasks, etc.) can set corresponding goals according to the actual situation, and then can complete the corresponding goals based on the time specified in the content of the established goals to achieve the corresponding results. In addition, users can also Other users can be asked to monitor the completion of their own goals. However, the above methods are often unable to determine whether the goal has been achieved, disputes are prone to occur, and it is often difficult for users to have the motivation to persist in completing the corresponding goal. To this end, it is necessary to provide a goal setting and goal incentive strategy with more accurate statistical data and better data traceability.
发明内容SUMMARY OF THE INVENTION
本说明书实施例的目的是提供一种基于区块链的用户目标处理方法、装置及设备,以提供一种统计数据更准确、数据可追溯性更好的目标设定和激励策略。The purpose of the embodiments of this specification is to provide a blockchain-based user target processing method, device, and device, so as to provide a target setting and incentive strategy with more accurate statistical data and better data traceability.
为了实现上述技术方案,本说明书实施例是这样实现的:In order to realize the above technical solutions, the embodiments of this specification are implemented as follows:
本说明书实施例提供的一种基于区块链的用户目标处理方法,应用于区块链节点,所述方法包括:A blockchain-based user target processing method provided by the embodiments of this specification is applied to a blockchain node, and the method includes:
接收目标用户设立的待实现的目标信息,所述目标信息中包括待实现的目标结果和资源信息;Receive target information to be achieved established by the target user, where the target information includes target results to be achieved and resource information;
将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向所述区块链节点所在的区块链网络中部署所述目标结果对应的智能合约;Aggregating the same target information as the target result to obtain the aggregated target information, and deploying the smart contract corresponding to the target result to the blockchain network where the blockchain node is located;
当到达实现所述目标结果所设定的预定时间时,从预定数据库中获取针对所述目标用户设立的所述目标信息的结果,并检测获取的结果是否满足所述智能合约的触发条件;When the predetermined time set for achieving the target result is reached, obtain the result of the target information set up for the target user from a predetermined database, and detect whether the obtained result satisfies the trigger condition of the smart contract;
如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息。If the obtained result satisfies the trigger condition of the smart contract, the resource information in the aggregated target information is allocated to the target user based on the smart contract.
可选地,在到达实现所述目标结果所设定的预定时间之前,所述方法还包括:Optionally, before reaching the predetermined time set for achieving the target result, the method further includes:
接收第一用户针对所述目标用户设立的所述目标信息投放的资源信息,将投放的资源信息存储于所述聚合后的目标信息中的资源信息所在的区块链存储区域中;Receive the resource information put by the first user for the target information set up by the target user, and store the put resource information in the blockchain storage area where the resource information in the aggregated target information is located;
所述如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息之后,所述方法还包括:If the obtained result satisfies the trigger condition of the smart contract, after allocating the resource information in the aggregated target information to the target user based on the smart contract, the method further includes:
如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述第一用户分配资源信息。If the obtained result satisfies the triggering condition of the smart contract, resource information is allocated to the first user based on the smart contract.
可选地,在到达实现所述目标结果所设定的预定时间之前,所述方法还包括:Optionally, before reaching the predetermined time set for achieving the target result, the method further includes:
接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息;Receive completion progress information provided by the target user for the target result in the target information;
将所述完成进度信息存储于区块链中,所述完成进度信息中包括视频信息、音频信息、文本信息和预定的签到信息中的一种或多种。The completion progress information is stored in the blockchain, and the completion progress information includes one or more of video information, audio information, text information and predetermined check-in information.
可选地,所述接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息,包括:Optionally, the receiving the completion progress information provided by the target user for the target result in the target information includes:
当获取到第二用户针对所述目标用户设立的目标信息的进度提醒信息时,接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息。When the progress reminder information of the target information set up by the second user for the target user is obtained, the completion progress information provided by the target user for the target result in the target information is received.
可选地,所述将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,包括:Optionally, the target information that is the same as the target result is aggregated to obtain the aggregated target information, including:
检测所述目标用户设立的目标信息中的目标结果是否符合预定主题;Detecting whether the target result in the target information established by the target user conforms to a predetermined theme;
如果所述目标用户的目标结果符合预定主题,则将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息。If the target result of the target user conforms to the predetermined theme, the same target information as the target result is aggregated to obtain the aggregated target information.
可选地,所述基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息,包括:Optionally, the resource information in the aggregated target information is allocated to the target user based on the smart contract, including:
基于所述智能合约获取所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例;Obtaining, based on the smart contract, the time when the target user established the target information, the ratio between the resource information put in by the target user and the resource information in the aggregated target information;
基于所述智能合约中的资源分配算法,根据所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例,从所述聚合后的目标信息中的资源信息中确定为所述目标用户分配的资源信息。Based on the resource allocation algorithm in the smart contract, according to the time when the target user established the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information, from the The resource information allocated to the target user is determined from the resource information in the aggregated target information.
可选地,所述方法还包括:Optionally, the method further includes:
基于所述智能合约对所述聚合后的目标信息中的资源信息进行锁仓处理,以及基于所述智能合约对所述第一用户的存储于所述聚合后的目标信息中的资源信息进行锁仓处理。Locking the resource information in the aggregated target information based on the smart contract, and locking the resource information of the first user stored in the aggregated target information based on the smart contract warehouse processing.
本说明书实施例提供的一种基于区块链的用户目标处理装置,所述装置包括:A block chain-based user target processing device provided by the embodiments of this specification includes:
信息接收模块,接收目标用户设立的待实现的目标信息,所述目标信息中包括待实现的目标结果和资源信息;an information receiving module, which receives target information to be achieved set up by a target user, where the target information includes target results to be achieved and resource information;
合约部署模块,将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向所述区块链节点所在的区块链网络中部署所述目标结果对应的智能合约;The contract deployment module aggregates the target information that is the same as the target result, obtains the aggregated target information, and deploys the smart contract corresponding to the target result to the blockchain network where the blockchain node is located;
检测模块,当到达实现所述目标结果所设定的预定时间时,从预定数据库中获取针对所述目标用户设立的所述目标信息的结果,并检测获取的结果是否满足所述智能合约的触发条件;The detection module, when reaching the predetermined time set for achieving the target result, obtains the result of the target information set up for the target user from the predetermined database, and detects whether the obtained result satisfies the trigger of the smart contract condition;
第一资源分配模块,如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息。The first resource allocation module, if the obtained result satisfies the trigger condition of the smart contract, allocates the resource information in the aggregated target information to the target user based on the smart contract.
可选地,所述装置还包括:Optionally, the device further includes:
资源信息接收模块,接收第一用户针对所述目标用户设立的所述目标信息投放的资源信息,将投放的资源信息存储于所述聚合后的目标信息中的资源信息所在的区块链存储区域中;The resource information receiving module receives the resource information put by the first user for the target information set up by the target user, and stores the put resource information in the blockchain storage area where the resource information in the aggregated target information is located middle;
第二资源分配模块,如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述第一用户分配资源信息。The second resource allocation module, if the obtained result satisfies the trigger condition of the smart contract, allocate resource information to the first user based on the smart contract.
可选地,所述装置还包括:Optionally, the device further includes:
进度信息接收模块,接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息;a progress information receiving module, receiving the completion progress information provided by the target user for the target result in the target information;
存储模块,将所述完成进度信息存储于区块链中,所述完成进度信息中包括视频信息、音频信息、文本信息和预定的签到信息中的一种或多种。The storage module stores the completion progress information in the blockchain, and the completion progress information includes one or more of video information, audio information, text information and predetermined check-in information.
可选地,所述第一资源分配模块,包括:Optionally, the first resource allocation module includes:
信息获取单元,基于所述智能合约获取所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例;an information acquisition unit, based on the smart contract, to acquire the time when the target user established the target information, the ratio between the resource information put in by the target user and the resource information in the aggregated target information;
资源分配单元,基于所述智能合约中的资源分配算法,根据所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例,从所述聚合后的目标信息中的资源信息中确定为所述目标用户分配的资源信息。The resource allocation unit, based on the resource allocation algorithm in the smart contract, according to the time when the target user established the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information , and determine the resource information allocated to the target user from the resource information in the aggregated target information.
本说明书实施例提供的一种基于区块链的用户目标处理设备,所述基于区块链的用户目标处理设备包括:A blockchain-based user target processing device provided by the embodiments of this specification, the blockchain-based user target processing device includes:
处理器;以及processor; and
被安排成存储计算机可执行指令的存储器,所述可执行指令在被执行时使所述处理器:memory arranged to store computer-executable instructions which, when executed, cause the processor to:
接收目标用户设立的待实现的目标信息,所述目标信息中包括待实现的目标结果和资源信息;Receive target information to be achieved established by the target user, where the target information includes target results to be achieved and resource information;
将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向所述区块链节点所在的区块链网络中部署所述目标结果对应的智能合约;Aggregating the same target information as the target result to obtain the aggregated target information, and deploying the smart contract corresponding to the target result to the blockchain network where the blockchain node is located;
当到达实现所述目标结果所设定的预定时间时,从预定数据库中获取针对所述目标用户设立的所述目标信息的结果,并检测获取的结果是否满足所述智能合约的触发条件;When the predetermined time set for achieving the target result is reached, obtain the result of the target information set up for the target user from a predetermined database, and detect whether the obtained result satisfies the trigger condition of the smart contract;
如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息。If the obtained result satisfies the trigger condition of the smart contract, the resource information in the aggregated target information is allocated to the target user based on the smart contract.
由以上本说明书实施例提供的技术方案可见,本说明书实施例通过用户设立的待实现的目标信息中的目标结果聚合相同目标结果的信息,从而可以使得目标结果对应更多的资源信息,为目标用户实现设定的目标提供更大的激励作用,此外,通过在区块链中部署目标结果对应的智能合约,进而对从预定数据库中获取的针对目标用户设立的目标信息的结果进行检测,并在检测到获取的结果满足智能合约的触发条件时,基于智能合约为目标用户分配资源信息,这样,由于区块链中的数据无法篡改,因此目标结果和资源信息等无法被篡改,从而可以保证设立的目标结果和资源信息的真实有效性,并且相应的数据可追溯性较好。It can be seen from the technical solutions provided by the above embodiments of this specification that the embodiments of this specification aggregate the information of the same target result through the target result in the target information to be achieved established by the user, so that the target result can correspond to more resource information, which is the target result. The user achieves the set goal to provide greater incentives. In addition, by deploying the smart contract corresponding to the target result in the blockchain, the result of the target information set for the target user obtained from the predetermined database is detected, and When it is detected that the obtained result meets the trigger condition of the smart contract, resource information is allocated to the target user based on the smart contract. In this way, since the data in the blockchain cannot be tampered with, the target result and resource information cannot be tampered with, thus ensuring that The established target results and resource information are true and effective, and the corresponding data have good traceability.
附图说明Description of drawings
为了更清楚地说明本说明书实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本说明书中记载的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present specification or the prior art, the following briefly introduces the accompanying drawings required in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments described in this specification. For those of ordinary skill in the art, other drawings can also be obtained according to these drawings without creative labor.
图1为本说明书一种基于区块链的用户目标处理方法实施例;FIG. 1 is an embodiment of a block chain-based user target processing method in this specification;
图2为本说明书另一种基于区块链的用户目标处理方法实施例;FIG. 2 is another embodiment of a block chain-based user target processing method of this specification;
图3为本说明书一种基于区块链的用户目标处理装置实施例;FIG. 3 is an embodiment of a block chain-based user target processing device of this specification;
图4为本说明书一种基于区块链的用户目标处理设备实施例。FIG. 4 is an embodiment of a user object processing device based on blockchain in this specification.
具体实施方式Detailed ways
本说明书实施例提供一种基于区块链的用户目标处理方法、装置及设备。The embodiments of this specification provide a method, device, and device for processing a user target based on a blockchain.
为了使本技术领域的人员更好地理解本说明书中的技术方案,下面将结合本说明书实施例中的附图,对本说明书实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本说明书一部分实施例,而不是全部的实施例。基于本说明书中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都应当属于本文件保护的范围。In order to make those skilled in the art better understand the technical solutions in this specification, the technical solutions in the embodiments of this specification will be clearly and completely described below with reference to the accompanying drawings in the embodiments of this specification. Obviously, the described The embodiments are only some of the embodiments of the present specification, but not all of the embodiments. Based on the embodiments in this specification, all other embodiments obtained by persons of ordinary skill in the art without creative efforts shall fall within the protection scope of this document.
实施例一Example 1
如图1所示,本说明书实施例提供一种基于区块链的用户目标处理方法,该方法的执行主体可以为区块链节点,该区块链节点可以是终端设备或服务器,其中,终端设备可以如手机、平板电脑等移动终端设备,还可以如个人计算机等设备。该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该服务器可以是某项业务(如进行目标设立的业务等)的后台服务器,也可以是某应用(如某运营商提供的设立目标的应用)的后台服务器等。该方法可以应用于设立用户目标,并激励用户完成该目标等处理中。该方法具体可以包括以下步骤:As shown in FIG. 1 , an embodiment of this specification provides a method for processing user objects based on blockchain. The execution subject of the method may be a blockchain node, and the blockchain node may be a terminal device or a server, wherein the terminal The device may be a mobile terminal device such as a mobile phone and a tablet computer, or a device such as a personal computer. The server may be an independent server, or may be a server cluster composed of multiple servers, or the like. The server may be a background server of a certain service (such as a service for setting up a target, etc.), or a background server of a certain application (such as an application for setting a target provided by a certain operator). The method can be applied in processes such as setting user goals and motivating users to complete the goals. The method may specifically include the following steps:
在步骤S102中,接收目标用户设立的待实现的目标信息,目标信息中包括待实现的目标结果和资源信息。In step S102 , the target information to be achieved established by the target user is received, and the target information includes the target result to be achieved and resource information.
其中,目标用户可以是任意用户。目标信息可以包括目标结果,目标结果是用户需要在未来的某个时间点或时间段内完成的事件结果(如某项任务的结果等)的相关信息,其中的目标结果(或任务结果)可以如“一年后我要脱单”、“五年后我要成为A公司的合伙人”、“三年后我要出版一本书”等。为了使得设立的目标结果或任务结果具有激励性,可以为设立的目标结果或任务结果投放相应的资源,例如投放金钱、物品或某项服务等,具体如,可以为设立的目标结果或任务结果投放100元等。基于上述内容,目标信息中可以包括待实现的目标结果和资源信息,其中,资源信息可以是支付的金额的信息、物品的标识信息和属性信息等,或者,某项服务的标识信息和属性信息等。The target user can be any user. The target information can include target results, which are related information about the event results (such as the results of a certain task, etc.) that the user needs to complete at a certain point in time or time in the future, and the target results (or task results) can be For example, "I will quit the list in one year", "I will become a partner of Company A in five years", "I will publish a book in three years", etc. In order to make the established goal result or task result motivating, corresponding resources can be invested for the established goal result or task result, such as money, goods or a certain service, etc. For example, the established goal result or task result can be Put 100 yuan and so on. Based on the above content, the target information may include the target result to be achieved and resource information, wherein the resource information may be the information of the amount paid, the identification information and attribute information of the item, etc., or the identification information and attribute information of a certain service. Wait.
在实施中,通常,用户会有设立目标(或任务等)的需求,然后,可以基于设立的目标内容中规定的时间完成相应的目标,达到相应的结果,此外,用户还可以要求其它用户监督自己的目标的完成情况,但是,上述方式往往无法判定是否完成目标,容易发生纠纷事件,而且,用户往往很难有动力去坚持完成相应的目标。为了提高对用户完成目标的激励作用,设立目标的用户可以使用自己拥有的资源作为设立目标的代价。当到达实现目标所设定的时间时,可以判断用户是否完成了目标,如果用户完成目标,则可以为用户确定需要分配得到的资源,同时,围观用户也可以通过资源支持用户能够完成相应的目标,如果用户完成目标,则还可以为围观用户分配相应的资源等。In implementation, usually, users have the need to set goals (or tasks, etc.), and then, based on the time specified in the content of the established goals, the corresponding goals can be completed to achieve the corresponding results. In addition, the user can also ask other users to supervise However, the above methods are often unable to determine whether the goal is completed, disputes are prone to occur, and it is often difficult for users to have the motivation to persist in completing the corresponding goals. In order to improve the incentive for users to complete their goals, users who set goals can use their own resources as the price for setting goals. When the time set for achieving the goal is reached, it can be judged whether the user has completed the goal. If the user has completed the goal, the resources that need to be allocated can be determined for the user. At the same time, the onlookers can also support the user to complete the corresponding goal through resources. , and if the user completes the goal, you can also assign corresponding resources to the onlooker user.
然而,上述方式往往无法判定是否完成用户目标,容易发生纠纷事件,而且,为围观用户分配的资源如何设置,以及资源的来源如何设置成为需要解决的问题,为此,需要提供一个统计数据更准确、数据可追溯性更好的目标激励策略。本说明书实施例提供一种能够实现上述目标激励策略的技术方案,具体可以包括以下内容:However, the above methods are often unable to determine whether the user's goal is fulfilled, and disputes are prone to occur. Moreover, how to set the resources allocated to the onlookers and how to set the source of the resources becomes a problem that needs to be solved. Therefore, it is necessary to provide a more accurate statistical data. , Target incentive strategy with better data traceability. The embodiments of this specification provide a technical solution capable of realizing the above-mentioned target incentive strategy, which may specifically include the following content:
为了使得上述目标激励最终统计的数据更加准确、数据的可追溯性更好,保证所使用的规则的公平公正,目标用户可以创建或加入指定的区块链。区块链是分布式数据存储、点对点传输、共识机制、加密算法等计算机技术的新型应用模式,区块链本质上是一个去中心化的数据库,是一串使用密码学方法相关联产生的数据块,每一个数据块中可以包含一批次网络交易的信息,用于验证其信息的有效性(或防伪性)和生成下一个区块等。因此,可以通过区块链来实现目标激励策略,具体地,目标用户可以预先设置一个或多个不同的待实现的目标(或任务),区块链节点中可以安装有用于记录目标用户设定的目标(或任务等)的相关信息的应用程序,该应用程序可以提供目标记录页面,该目标记录页面中可以包括目标结果的输入框、资源信息的输入框、确定按键和取消按键等。当目标用户需要记录设置的目标时,可以启动上述应用程序,并打开目标记录页面,可以在目标记录页面的目标信息输入框中输入待实现的目标信息的目标结果,可以在目标记录页面的资源信息输入框中输入待实现的目标结果对应的资源信息,输入完成后,可以点击确定按键,区块链节点可以从相应的信息输入框中获取目标结果和资源信息,从而可以得到目标用户设立的待实现的目标信息。In order to make the final statistics of the above target incentives more accurate, the data traceability is better, and to ensure the fairness and justice of the rules used, the target users can create or join the designated blockchain. Blockchain is a new application mode of computer technology such as distributed data storage, point-to-point transmission, consensus mechanism, encryption algorithm, etc. Blockchain is essentially a decentralized database, which is a series of data generated by association using cryptographic methods. Each data block can contain a batch of network transaction information, which is used to verify the validity (or anti-counterfeiting) of its information and generate the next block. Therefore, the target incentive strategy can be realized through the blockchain. Specifically, the target user can preset one or more different goals (or tasks) to be achieved, and the blockchain node can be installed with a system for recording target user settings. The application program of the relevant information of the target (or task, etc.), the application program can provide the target record page, and the target record page can include the input box of the target result, the input box of the resource information, the confirm button and the cancel button, etc. When the target user needs to record the set target, the above application can be started, and the target record page can be opened. Enter the resource information corresponding to the target result to be achieved in the information input box. After the input is completed, you can click the OK button, and the blockchain node can obtain the target result and resource information from the corresponding information input box, so as to obtain the target user. target information to be achieved.
在步骤S104中,将与目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向区块链节点所在的区块链网络中部署目标结果对应的智能合约。In step S104, the target information that is the same as the target result is aggregated to obtain the aggregated target information, and the smart contract corresponding to the target result is deployed in the blockchain network where the blockchain node is located.
其中,智能合约可以是一种旨在以信息化方式传播、验证或执行合同的计算机协议,智能合约允许在没有第三方的情况下进行可信交易,进行的上述交易可追踪且不可逆转,智能合约中可以包括合约参与方在上面执行合约参与方同意的权利和义务的协议。智能合约中可以包括触发执行该智能合约的触发条件,以及触发条件对应的结果,智能合约中可以包括一个或多个触发条件,每个触发条件可以对应有一个结果,例如,触发条件为用户完成设立的目标信息对应的目标,结果可以为将用户投放的资源返还给用户等。Among them, a smart contract can be a computer protocol designed to disseminate, verify or execute contracts in an information-based manner. A smart contract allows for trusted transactions without a third party. The above transactions are traceable and irreversible. The contract may include an agreement on which the contract participants execute the rights and obligations agreed to by the contract participants. A smart contract can include the triggering conditions that trigger the execution of the smart contract, and the results corresponding to the triggering conditions. The smart contract can include one or more triggering conditions, and each triggering condition can correspond to a result. For example, the triggering condition is that the user completes The target corresponding to the established target information, and the result may be returning the resources allocated by the user to the user, etc.
在实施中,为了激励用户完成设立的目标信息对应的目标,并吸引更多的用户参与上述目标设立活动,可以对具有相同目标结果的目标信息进行聚合,聚合的过程中,可以将目标结果合为一个目标结果,并可以将资源信息组合到一起,例如用户A设立的目标结果为“一年后脱单”,投放的资源信息为资源1,用户B设立的目标结果为“一年后脱单”,投放的资源信息为资源2,用户C设立的目标结果为“三年后出版一本书”,投放的资源信息为资源3,用户D设立的目标结果为“三年后出版一本书”,投放的资源信息为资源4,则可以将用户A和用户B的目标信息进行聚合,聚合后的目标信息包括:目标结果为“一年后脱单”,资源信息为:资源1+资源2(具体如资源1为100元,资源2为150元,则聚合后的目标信息中包括250元的资源信息等),相应的,可以将用户C和用户D的目标信息进行聚合,聚合后的目标信息包括:目标结果为“三年后出版一本书”,资源信息为:资源3+资源4。In the implementation, in order to motivate users to complete the goals corresponding to the set goal information and attract more users to participate in the above goal setting activities, the goal information with the same goal results can be aggregated, and the goal results can be combined during the aggregation process. It is a target result, and the resource information can be combined together. For example, the target result set by user A is "get off the order after one year", the resource information put in is resource 1, and the target result set by user B is "get off the order after one year". Single", the resource information put in is resource 2, the target result set by user C is "publish a book in three years", the resource information put in is resource 3, and the target result set by user D is "publish a book in three years" Book", and the resource information put in is resource 4, then the target information of user A and user B can be aggregated. The aggregated target information includes: the target result is "off the order after one year", and the resource information is: resource 1+ Resource 2 (specifically, if resource 1 is 100 yuan and resource 2 is 150 yuan, the aggregated target information includes resource information of 250 yuan, etc.), correspondingly, the target information of user C and user D can be aggregated and aggregated The subsequent target information includes: the target result is "publish a book in three years", and the resource information is: resource 3 + resource 4.
区块链节点将与目标结果相同的目标信息进行聚合,得到聚合后的目标信息后,可以基于该目标结果,以及设定的资源分配方式生成相应的智能合约,并可以向该区块链节点所在的区块链网络中部署该目标结果对应的智能合约,这样,区块链中存储了目标信息和相应的智能合约,其它用户无法篡改该目标信息和相应的智能合约,而且,区块链节点通过智能合约对目标用户是否完成设立的目标进行检测和处理。The blockchain node aggregates the target information that is the same as the target result, and after obtaining the aggregated target information, it can generate the corresponding smart contract based on the target result and the set resource allocation method, and can send it to the blockchain node. The smart contract corresponding to the target result is deployed in the blockchain network where it is located. In this way, the target information and the corresponding smart contract are stored in the blockchain, and other users cannot tamper with the target information and the corresponding smart contract. Moreover, the blockchain The node detects and processes whether the target user has completed the set target through the smart contract.
在步骤S106中,当到达实现目标结果所设定的预定时间时,从预定数据库中获取针对目标用户设立的目标信息的结果,并检测获取的结果是否满足智能合约的触发条件。In step S106, when the predetermined time set for achieving the target result is reached, the result of the target information set up for the target user is obtained from the predetermined database, and it is detected whether the obtained result satisfies the triggering condition of the smart contract.
其中,实现目标结果所设定的预定时间可以是该目标结果中设定的时间或时间段,也可以是用户预先选择的实现目标的最终时间等。触发条件可以是触发智能合约执行某项结果的条件,智能合约中可以包括一个或多个不同的触发条件,具体可以根据实际情况设定,本说明书实施例对此不做限定。预定数据库可以是与目标结果相关的数据库,可以用于判定目标用户是否实现目标结果等,例如目标结果为“一年后脱单”,则预定数据库可以是民政部门的婚姻登记数据库等,如果目标结果为“五年后成为A公司的合伙人”,则预定数据库可以是A公司中员工职级的数据库等。The predetermined time set for achieving the target result may be the time or time period set in the target result, or may be the final time for achieving the target preselected by the user, or the like. The triggering condition may be a condition that triggers the smart contract to execute a certain result, and the smart contract may include one or more different triggering conditions, which may be set according to the actual situation, which is not limited in the embodiments of this specification. The reservation database can be a database related to the target result, and can be used to determine whether the target user achieves the target result. If the result is "become a partner of company A in five years", the predetermined database may be a database of employee ranks in company A, or the like.
在实施中,目标用户设立待实现的目标信息后,可以以一定的周期或不定期向区块链节点上传目标信息对应的目标的完成进度,具体可以通过视频直播的方式拍摄直播视频,然后将拍摄的直播视频上传到区块链节点,此外,区块链节点还可以设置有签到机制,目标用户可以每天或不定期在区块链节点通过签到机制进行签到,以此来督促或提醒用户完成设立的目标。其他用户可以对目标用户完成设立的目标进行监督或围观,以关注目标用户完成目标的进度,此外,目标用户还可以将设立的目标信息进行隐藏处理,例如仅目标用户自己可以查看设立的目标信息、完成的进度的信息等,或者,也可以仅对目标用户指定的公开目标用户设立的目标信息和完成的进度的信息等。In the implementation, after the target user sets the target information to be achieved, the target user can upload the completion progress of the target corresponding to the target information to the blockchain node at a certain period or irregularly. The captured live video is uploaded to the blockchain node. In addition, the blockchain node can also be set up with a check-in mechanism. The target user can check in at the blockchain node every day or from time to time through the check-in mechanism to urge or remind the user to complete the process. established goals. Other users can supervise or watch the target user's completion of the set goal to pay attention to the target user's progress in completing the goal. In addition, the target user can also hide the established goal information, for example, only the target user can view the established goal information. , information on the progress of completion, or the like, or only the target user designated by the target user may disclose information on the target set by the target user and information on the progress of completion.
区块链节点可以收集设定目标信息开始到实现目标结果所设定的预定时间内,目标用户完成目标信息对应的目标的进度,并可以根据收集到的进度信息判断目标用户完成目标的情况,此外,还可以根据设定的目标结果确定目标信息的结果所在的预定数据库,并可以从预定数据库中获取针对目标用户设立的目标信息的结果,可以将获取的目标信息的结果与智能合约中的触发条件进行匹配或比对,如果获取的目标信息的结果能够触发智能合约中的触发条件,则表明目标用户满足该触发条件对应的奖励,此时,智能合约可以获取被触发的触发条件对应的结果或处理方式,如果获取的目标信息的结果无法与智能合约中的触发条件相匹配,则表明该获取的目标信息的结果不满足智能合约的触发条件,目标用户没有完成设定的目标,此时,目标用户将无法得到任何奖励,并且会失去投放的资源信息对应的资源。The blockchain node can collect the target user's progress in completing the target corresponding to the target information within the predetermined time from the start of the set target information to the achievement of the target result, and can judge the target user's completion of the target according to the collected progress information. In addition, the predetermined database where the result of the target information is located can also be determined according to the set target result, and the result of the target information established for the target user can be obtained from the predetermined database, and the result of the obtained target information can be compared with the smart contract. The trigger conditions are matched or compared. If the result of the acquired target information can trigger the trigger condition in the smart contract, it means that the target user satisfies the reward corresponding to the trigger condition. At this time, the smart contract can obtain the trigger condition corresponding to the triggered trigger condition. Result or processing method, if the result of the acquired target information cannot match the trigger condition in the smart contract, it means that the result of the acquired target information does not meet the trigger condition of the smart contract, and the target user has not completed the set target. , the target user will not be able to get any rewards, and will lose the resources corresponding to the resource information put in.
在步骤S108中,如果获取的结果满足智能合约的触发条件,则基于智能合约为目标用户分配聚合后的目标信息中的资源信息。In step S108, if the obtained result satisfies the trigger condition of the smart contract, the resource information in the aggregated target information is allocated to the target user based on the smart contract.
在实施中,智能合约中包括触发条件和相应的处理方式,如果获取的目标信息的结果能够触发智能合约中的触发条件,则智能合约可以获取被触发的触发条件对应的处理方式,并可以使用获取的处理方式为目标用户分配聚合后的目标信息中的资源信息。例如,智能合约中触发条件和相应的处理方式可以包括:目标用户完成了设立的目标信息对应的目标“一年后脱单”时,将目标用户投放的资源返还给目标用户,并给目标用户发放预定的资源等,若从民政部门获取到目标用户的婚姻状态信息为已婚,则表明目标用户完成了设立的目标,此时,区块链节点可以将目标用户投放的资源返还给目标用户,并给目标用户发放预定的资源。In implementation, the smart contract includes trigger conditions and corresponding processing methods. If the result of the acquired target information can trigger the trigger conditions in the smart contract, the smart contract can obtain the processing methods corresponding to the triggered trigger conditions, and can use The obtained processing method allocates the resource information in the aggregated target information to the target user. For example, the triggering conditions and corresponding processing methods in the smart contract may include: when the target user completes the target "off the order after one year" corresponding to the set target information, the resources invested by the target user are returned to the target user, and the target user is sent to the target user. Distribution of predetermined resources, etc. If the marriage status information of the target user obtained from the civil affairs department is married, it means that the target user has completed the set goal. At this time, the blockchain node can return the resources invested by the target user to the target user. , and distribute predetermined resources to target users.
本说明书实施例提供一种基于区块链的用户目标处理方法,通过用户设立的待实现的目标信息中的目标结果聚合相同目标结果的信息,从而可以使得目标结果对应更多的资源信息,为目标用户实现设定的目标提供更大的激励作用,此外,通过在区块链中部署目标结果对应的智能合约,进而对从预定数据库中获取的针对目标用户设立的目标信息的结果进行检测,并在检测到获取的结果满足智能合约的触发条件时,基于智能合约为目标用户分配资源信息,这样,由于区块链中的数据无法篡改,因此目标结果和资源信息等无法被篡改,从而可以保证设立的目标结果和资源信息的真实有效性,并且相应的数据可追溯性较好。The embodiments of this specification provide a method for processing user goals based on blockchain, which aggregates the information of the same goal result through the goal result in the goal information to be achieved established by the user, so that the goal result can correspond to more resource information, which is The target user achieves the set goal to provide greater incentives. In addition, by deploying the smart contract corresponding to the target result in the blockchain, the result of the target information set for the target user obtained from the predetermined database is detected. And when it is detected that the obtained result meets the trigger condition of the smart contract, resource information is allocated to the target user based on the smart contract. In this way, since the data in the blockchain cannot be tampered with, the target result and resource information cannot be tampered with, so that it can be Ensure that the established target results and resource information are true and effective, and the corresponding data traceability is better.
实施例二Embodiment 2
如图2所示,本说明书实施例提供一种基于区块链的用户目标处理方法,该方法的执行主体可以为区块链节点,该区块链节点可以是终端设备或服务器,其中,终端设备可以如手机、平板电脑等移动终端设备,还可以如个人计算机等设备。该服务器可以是一个独立的服务器,还可以是由多个服务器构成的服务器集群等。该服务器可以是某项业务(如进行目标设立的业务等)的后台服务器,也可以是某应用(如某运营商提供的设立目标的应用)的后台服务器等。该方法可以应用于设立目标,并激励用户完成目标等处理中。该方法具体可以包括以下步骤:As shown in FIG. 2 , an embodiment of this specification provides a method for processing user objects based on blockchain. The execution subject of the method may be a blockchain node, and the blockchain node may be a terminal device or a server, wherein the terminal The device may be a mobile terminal device such as a mobile phone and a tablet computer, or a device such as a personal computer. The server may be an independent server, or may be a server cluster composed of multiple servers, or the like. The server may be a background server of a certain service (such as a service for setting up a target, etc.), or a background server of a certain application (such as an application for setting a target provided by a certain operator). This method can be applied to setting goals and motivating users to complete the goals. The method may specifically include the following steps:
在步骤S202中,接收目标用户设立的待实现的目标信息,目标信息中包括待实现的目标结果和资源信息。In step S202, the target information to be achieved established by the target user is received, and the target information includes target results to be achieved and resource information.
其中,资源信息可以是目标用户为目标结果投放的资源的相关信息等,资源信息具体可以为支付的金额的信息、物品的标识信息和属性信息等,或者,某项服务的标识信息和属性信息等。The resource information may be related information about the resources put in by the target user for the target result, etc. The resource information may be the information of the amount paid, the identification information and attribute information of the item, etc., or the identification information and attribute information of a certain service. Wait.
在实施中,为了使得整个设立目标的过程更加形象且充满趣味性,可以为设立目标信息的目标用户发放一个flag,目标用户可以通过设立flag来确定待实现的目标信息,此外,目标用户设立flag时,需要确定目标结果,同时投放相应的资源,可以将待实现的目标结果和投放的资源的资源信息提供给区块链节点,从而区块链节点可以接收到目标用户设立的待实现的目标信息。In the implementation, in order to make the whole process of setting goals more vivid and interesting, a flag can be issued to the target user who sets the target information. The target user can set the flag to determine the target information to be achieved. In addition, the target user sets the flag At the same time, the target result needs to be determined, and the corresponding resources are allocated at the same time. The resource information of the target result to be achieved and the resources allocated can be provided to the blockchain node, so that the blockchain node can receive the target user to be achieved. information.
为了保证目标用户设立的目标是有效的(即存在评判依据,能够明确评判出目标是否完成等),可以对目标用户设立的目标信息中的目标结果进行检测,具体可以包括以下步骤S204和步骤S206的处理。In order to ensure that the target set by the target user is effective (that is, there is a judgment basis, and it can be clearly judged whether the target is completed, etc.), the target result in the target information set by the target user can be detected, which may specifically include the following steps S204 and S206 processing.
在步骤S204中,检测目标用户设立的目标信息中的目标结果是否符合预定主题。In step S204, it is detected whether the target result in the target information established by the target user conforms to the predetermined theme.
在实施中,可以预先设定多个不同的主题,每个主题存在评判依据,通过该评判依据能够明确评判出目标是否完成。目标用户可以根据设定的主题设立目标信息,或者,目标用户根据实际情况设立目标信息,并可以将设立的目标信息提供给区块链节点,区块链节点可以对目标用户的目标信息中的目标结果进行分析,从中可以提取目标信息对应的主题,并可以将提取的主题与预定的主题进行对比分析,确定目标用户设立的目标信息中的目标结果是否符合预定主题,如果目标用户的目标结果符合预定主题,则表明目标用户设立的目标信息有效,如果目标用户的目标结果不符合预定主题,则表明目标用户设立的目标信息无效,此时,可以向目标用户发送提示信息,以提示目标用户修改或更换有效的目标信息。In implementation, a plurality of different themes can be preset, and each theme has a judgment basis, through which it can be clearly judged whether the goal is completed. The target user can set up target information according to the set theme, or, the target user can set up target information according to the actual situation, and can provide the established target information to the blockchain node, and the blockchain node can check the target information of the target user. The target result is analyzed, and the topic corresponding to the target information can be extracted from it, and the extracted topic can be compared and analyzed with the predetermined topic to determine whether the target result in the target information established by the target user conforms to the predetermined topic. If it conforms to the predetermined theme, it indicates that the target information set by the target user is valid. If the target result of the target user does not meet the predetermined theme, it indicates that the target information established by the target user is invalid. At this time, a prompt message can be sent to the target user to remind the target user. Modify or replace valid target information.
在步骤S206中,如果目标用户的目标结果符合预定主题,则将与目标结果相同的目标信息进行聚合,得到聚合后的目标信息。In step S206, if the target result of the target user conforms to the predetermined theme, the target information that is the same as the target result is aggregated to obtain the aggregated target information.
在实施中,可以将相同的目标结果的目标信息进行合并(即可以将相同目标结果的flag进行合并),并可以将合并的目标信息中的资源信息进行合并,合并的资源信息对应的资源可以构成该目标结果的资源池(如奖金池等),并可以将合并的目标信息中的资源信息存储到区块链中的同一地址下。In implementation, the target information of the same target result can be combined (that is, the flags of the same target result can be combined), and the resource information in the combined target information can be combined, and the resources corresponding to the combined resource information can be combined. The resource pool (such as the prize pool, etc.) that constitutes the target result, and the resource information in the combined target information can be stored under the same address in the blockchain.
在步骤S208中,向区块链节点所在的区块链网络中部署目标结果对应的智能合约。In step S208, the smart contract corresponding to the target result is deployed to the blockchain network where the blockchain node is located.
在实施中,区块链节点获取到聚合后的目标信息后,可以确定需要使用的资源分配方式,该资源分配方式可以由目标用户预先设定,也可以由flag的相关技术人员预先设定,本说明书实施例对此不做限定。可以基于聚合后的目标信息中目标结果、资源信息和资源分配方式等生成智能合约。然后,可以向区块链节点所在的区块链网络中部署目标结果对应的智能合约。In the implementation, after the blockchain node obtains the aggregated target information, it can determine the resource allocation method to be used. The resource allocation method can be preset by the target user or by the relevant technical personnel of flag. The embodiments of the present specification do not limit this. Smart contracts can be generated based on the target results, resource information and resource allocation methods in the aggregated target information. Then, the smart contract corresponding to the target result can be deployed to the blockchain network where the blockchain node is located.
在步骤S210中,基于智能合约对聚合后的目标信息中的资源信息进行锁仓处理。In step S210, the resource information in the aggregated target information is locked based on the smart contract.
在实施中,为了保证区块链中的资源信息安全性,可以将资源信息进行锁仓处理,具体地,智能合约中可以预先设定有资源信息的锁仓处理机制,当检测到资源信息存储到区块链中时,可以触发相应的智能合约,并通过智能合约中设定的锁仓处理机制对聚合后的目标信息中的资源信息进行锁仓处理。例如,智能合约中设定的锁仓处理机制中提供了锁仓算法和密钥,则区块链节点可以基于锁仓算法和密钥对资源信息进行锁仓处理,从而可以提高资源信息的安全性。In the implementation, in order to ensure the security of the resource information in the blockchain, the resource information can be locked. When entering the blockchain, the corresponding smart contract can be triggered, and the resource information in the aggregated target information can be locked through the lock-up processing mechanism set in the smart contract. For example, the lock-up processing mechanism set in the smart contract provides the lock-up algorithm and key, and the blockchain node can lock the resource information based on the lock-up algorithm and key, thereby improving the security of resource information. sex.
在步骤S212中,接收第一用户针对目标用户设立的目标信息投放的资源信息,将投放的资源信息存储于聚合后的目标信息中的资源信息所在的区块链存储区域中。In step S212, the resource information placed by the first user for the target information set up by the target user is received, and the placed resource information is stored in the blockchain storage area where the resource information in the aggregated target information is located.
其中,第一用户可以是任意用户,第一用户可以是目标用户,还可以是目标用户之外的其他用户等。The first user may be any user, the first user may be a target user, or other users other than the target user, or the like.
在实施中,其他用户可以对目标用户的目标信息对应的目标的完成情况进行监督或围观,对于进行监督的情况,目标用户可以邀请指定的用户对目标用户进行监督,目标用户还可以对其他用户设立的目标信息进行监督等。其他用户还可以围观目标用户中的目标结果,如果其他用户支持目标用户的目标结果,且认为目标用户最终能够完成设定的目标,则可以投放一定的资源信息。此时,区块链节点可以接收第一用户针对目标用户设立的目标信息投放的资源信息,并可以将投放的资源信息存储于聚合后的目标信息中的资源信息所在的区块链存储区域中,将可以向目标结果对应的资源池中增加该用户的资源,从而使得资源池中的资源数量增大,以便后续为完成设立的目标的用户发放更多的资源。In the implementation, other users can supervise or watch the completion of the target corresponding to the target user's target information. For the supervision, the target user can invite designated users to supervise the target user, and the target user can also monitor other users. Established target information to monitor and so on. Other users can also watch the target result in the target user. If other users support the target user's target result and think that the target user can finally complete the set target, they can put in certain resource information. At this time, the blockchain node can receive the resource information put by the first user for the target information set by the target user, and can store the put resource information in the blockchain storage area where the resource information in the aggregated target information is located , the user's resources can be added to the resource pool corresponding to the target result, thereby increasing the number of resources in the resource pool, so that more resources are subsequently issued to users who have completed the set target.
在步骤S214中,基于智能合约对第一用户的存储于聚合后的目标信息中的资源信息进行锁仓处理。In step S214, the resource information of the first user stored in the aggregated target information is locked based on the smart contract.
在实施中,为了保证区块链中的资源信息安全性,可以将第一用户的存储于聚合后的目标信息中的资源信息进行锁仓处理,具体地,智能合约中可以预先设定有资源信息的锁仓处理机制,当检测到第一用户的资源信息存储到区块链中时,可以触发相应的智能合约,将第一用户的资源信息存储到聚合后的目标信息中的资源信息所在的地址,并通过智能合约中设定的锁仓处理机制对第一用户的资源信息进行锁仓处理。In implementation, in order to ensure the security of resource information in the blockchain, the resource information of the first user stored in the aggregated target information can be locked. Specifically, the smart contract can be preset with resources The information locking processing mechanism, when it is detected that the resource information of the first user is stored in the blockchain, the corresponding smart contract can be triggered to store the resource information of the first user in the aggregated target information where the resource information is located , and lock the resource information of the first user through the lock-up processing mechanism set in the smart contract.
在步骤S216中,接收目标用户针对目标信息中的目标结果提供的完成进度信息。In step S216, the completion progress information provided by the target user for the target result in the target information is received.
在实施中,目标用户设立待实现的目标信息后,可以以一定的周期或不定期向区块链节点上传目标信息对应的目标的完成进度,具体可以通过视频直播的方式拍摄直播视频、通过音频的方式录制音频或编写文本信息等记录目标用户的完成进度信息,然后将拍摄的直播视频、录制的音频或编写的文本信息上传到区块链节点,此外,区块链节点还可以设置有签到机制,目标用户可以每天或不定期在区块链节点通过签到机制进行签到,以此来督促或提醒用户完成设立的目标。In the implementation, after the target user sets up the target information to be achieved, the target user can upload the completion progress of the target corresponding to the target information to the blockchain node at a certain period or irregularly. Record the completion progress information of the target user by recording audio or writing text information, etc., and then upload the shot live video, recorded audio or written text information to the blockchain node. In addition, the blockchain node can also be set to check-in The target user can check in at the blockchain node every day or from time to time through the check-in mechanism, so as to urge or remind the user to complete the set goal.
上述步骤S216的处理方式可以多种多样,以下还提供一种可选的处理方式,具体可以包括以下内容:当获取到第二用户针对目标用户设立的目标信息的进度提醒信息时,接收目标用户针对目标信息中的目标结果提供的完成进度信息。The processing methods of the above-mentioned step S216 can be various, and an optional processing method is also provided below, which may specifically include the following content: when the progress reminder information of the target information set up by the second user for the target user is obtained, receive the target user Completion progress information provided for the goal result in the goal information.
其中,第二用户可以是任意用户,第二用户可以是目标用户之外的其他用户等。The second user may be any user, and the second user may be another user other than the target user.
在实施中,目标用户可以邀请指定的用户(即第二用户)对目标用户进行监督,当到达预定周期时,第二用户可以向目标用户发送进度提醒信息,或者,第二用户确定目标用户未提供目标结果的完成进度信息的时间间隔达到预定阈值(如10天或1个月等)时,可以向目标用户发送进度提醒信息。此时,区块链节点可以接收第二用户针对目标用户设立的目标信息的进度提醒信息,目标用户查看到该进度提醒信息后,可以通过区块链节点向区块链中上传针对目标信息中的目标结果提供的完成进度信息,从而区块链节点可以接收到目标用户针对目标信息中的目标结果提供的完成进度信息。In implementation, the target user may invite a designated user (ie, the second user) to supervise the target user, and when a predetermined period is reached, the second user may send progress reminder information to the target user, or the second user determines that the target user has not When the time interval for providing the completion progress information of the target result reaches a predetermined threshold (such as 10 days or 1 month, etc.), progress reminder information may be sent to the target user. At this time, the blockchain node can receive the progress reminder information of the target information set by the second user for the target user. After the target user sees the progress reminder information, he can upload the target information to the blockchain through the blockchain node. The completion progress information provided by the target result of , so that the blockchain node can receive the completion progress information provided by the target user for the target result in the target information.
在步骤S218中,将上述完成进度信息存储于区块链中,该完成进度信息中包括视频信息、图像、音频信息、文本信息和预定的签到信息中的一种或多种。In step S218, the above-mentioned completion progress information is stored in the blockchain, and the completion progress information includes one or more of video information, images, audio information, text information and predetermined check-in information.
在实施中,为了保护目标用户拍摄的视频、图像、音频和文本信息等不被其他用户窃取使用,可以为目标用户的视频、图像、音频和文本信息生成版权证书,并可以将目标用户的视频、图像、音频和文本信息存储于区块链中。In implementation, in order to protect the video, image, audio and text information taken by the target user from being stolen and used by other users, a copyright certificate can be generated for the video, image, audio and text information of the target user, and the video of the target user can be , images, audio and text information are stored in the blockchain.
在步骤S220中,当到达实现目标结果所设定的预定时间时,从预定数据库中获取针对目标用户设立的目标信息的结果,并检测获取的结果是否满足智能合约的触发条件。In step S220, when the predetermined time set for achieving the target result is reached, the result of the target information set up for the target user is obtained from the predetermined database, and it is detected whether the obtained result satisfies the triggering condition of the smart contract.
上述步骤S220的具体处理过程可以参见上述实施例一中步骤S106中的相关内容,在此不再赘述。For the specific processing process of the above step S220, reference may be made to the relevant content in the step S106 in the above-mentioned first embodiment, which will not be repeated here.
需要说明的是,如果获取的目标信息的结果无法与智能合约中的触发条件相匹配,则表明该获取的目标信息的结果不满足智能合约的触发条件,目标用户没有完成设定的目标,此时,目标用户将会失去投放的资源信息对应的资源,此外,围观的用户也将会失去投放的资源,而上述资源将会被分配给完成目标结果的用户,从而会使得分配给完成目标结果的资源增加。It should be noted that if the result of the acquired target information cannot match the trigger condition in the smart contract, it means that the result of the acquired target information does not meet the trigger condition of the smart contract, and the target user has not completed the set target. , the target user will lose the resources corresponding to the posted resource information. In addition, the onlookers will also lose the posted resources, and the above resources will be allocated to the users who have completed the target results, which will make the allocation to the users who have completed the target results. resources increase.
在步骤S222中,如果获取的结果满足智能合约的触发条件,则基于智能合约获取目标用户设立目标信息的时间、目标用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例。In step S222, if the obtained result satisfies the trigger condition of the smart contract, the time when the target user sets the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information are obtained based on the smart contract.
其中,目标用户设立目标信息的时间可以是设立上述flag,并确定计时开始的时间点等。Wherein, the time for the target user to set the target information may be to set the above-mentioned flag, and determine the time point at which the timing starts.
在实施中,智能合约中还可以设置有用于获取目标用户设立目标信息的时间、目标用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例等信息的子合约或处理机制,当确定从预定数据库中获取的结果与智能合约中设定的目标结果相匹配,则可以表明获取的结果满足智能合约的触发条件,此时,可以基于智能合约中的上述子合约或处理机制获取目标用户设立目标信息的时间、目标用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例。In the implementation, the smart contract may also be provided with sub-contracts or processing mechanisms for obtaining information such as the time when the target user sets the target information, the ratio between the resource information placed by the target user and the resource information in the aggregated target information, etc. When it is determined that the result obtained from the predetermined database matches the target result set in the smart contract, it can be shown that the obtained result satisfies the triggering conditions of the smart contract. At this time, it can be obtained based on the above sub-contract or processing mechanism in the smart contract The time when the target user establishes the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information.
需要说明的是,对于围观的用户投放资源信息到聚合后的目标信息中的情况,可以获取目标用户投放的资源信息与目标结果对应的全部资源信息(包括聚合后的目标信息中的资源信息和围观的用户投放的资源信息)之间的比例。在实际应用中,基于智能合约除了可以获取上述信息外,还可以获取如实现目标结果所设定的时间或时间段等。It should be noted that, for the situation where the onlookers put resource information into the aggregated target information, it is possible to obtain all resource information corresponding to the resource information put by the target user and the target result (including the resource information in the aggregated target information and The ratio between the resource information put in by the onlookers). In practical applications, based on smart contracts, in addition to the above information, it is also possible to obtain the time or time period set to achieve the target result.
在步骤S224中,基于智能合约中的资源分配算法,根据目标用户设立目标信息的时间、目标用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例,从聚合后的目标信息中的资源信息中确定为目标用户分配的资源信息。In step S224, based on the resource allocation algorithm in the smart contract, according to the time when the target user established the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information, from the aggregated target information Determine the resource information allocated to the target user from the resource information in .
在实施中,智能合约中可以包括触发条件和相应的处理方式,在实际应用中,智能合约可以是通过预定的程序语言编写的程序代码,相应的,不同触发条件对应的处理方式可以不同,处理方式可以是将相应的资源分配方式代码化后的数据,也可以是为了简化处理方式中的内容而设定的一种数据,例如,资源分配方式为分配方式A,相应的处理方式可以表示为K1,并可以记录分配方式A和K1,并构建分配方式A与K1的对应关系等。In implementation, a smart contract may include trigger conditions and corresponding processing methods. In practical applications, a smart contract may be a program code written in a predetermined programming language. Correspondingly, the processing methods corresponding to different trigger conditions may be different. The method can be the data after coding the corresponding resource allocation method, or it can be a kind of data set to simplify the content in the processing method. For example, if the resource allocation method is the allocation method A, the corresponding processing method can be expressed as K1, and can record the distribution methods A and K1, and build the corresponding relationship between the distribution methods A and K1, etc.
为了实现对资源分配的处理,在生成智能合约的过程中,可以预先设置资源分配算法,其中,资源分配算法可以包括多种不同的算法,具体可以根据实际情况设定,本说明书实施例对此不做限定。区块链节点可以基于智能合约中的资源分配算法,将目标用户设立目标信息的时间、目标用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例等信息输入到上述资源分配算法中进行计算,得到相应的计算结果,得到的计算结果即为从聚合后的目标信息中的资源信息中确定为目标用户分配的资源信息。In order to realize the processing of resource allocation, in the process of generating the smart contract, a resource allocation algorithm can be preset, wherein the resource allocation algorithm can include a variety of different algorithms, which can be set according to the actual situation. Not limited. Based on the resource allocation algorithm in the smart contract, the blockchain node can input information such as the time when the target user sets the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information into the above resource allocation. The calculation is performed in the algorithm to obtain a corresponding calculation result, and the obtained calculation result is the resource information allocated to the target user determined from the resource information in the aggregated target information.
例如,智能合约中的资源分配算法为按照目标用户投放资源的比例进行资源分配,即若目标用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例为30%,则到达实现目标结果所设定的预定时间后,可以获取未完成目标结果的用户投放的资源,以及围观未完成目标结果的用户的目标信息的用户投放的资源,可以将目标用户投放的资源返还给目标用户,并可以将未完成目标结果的用户投放的资源和围观未完成目标结果的用户的目标信息的用户投放的资源中的30%分配给目标用户等。在实际应用中,资源分配算法还可以包括多种,具体可以根据实际情况设定,本说明书实施例对此不做限定。For example, the resource allocation algorithm in the smart contract is to allocate resources according to the proportion of resources put in by the target user, that is, if the ratio between the resource information put in by the target user and the resource information in the aggregated target information is 30%, then the realization After the predetermined time set by the target result, you can obtain the resources put in by the users who have not completed the target result, and the resources put in by the users who are watching the target information of the users who have not completed the target result, and the resources put in by the target user can be returned to the target user. , and 30% of the resources put in by users who have not completed the target results and the resources put in by users who watch the target information of users who have not completed the target results can be allocated to the target users, etc. In practical applications, the resource allocation algorithm may also include multiple types, which may be specifically set according to actual conditions, which are not limited in the embodiments of this specification.
在步骤S226中,如果获取的结果满足智能合约的触发条件,则基于智能合约为第一用户分配资源信息。In step S226, if the obtained result satisfies the trigger condition of the smart contract, resource information is allocated to the first user based on the smart contract.
在实施中,如果目标用户完成了设立的目标,则围观目标用户的其他用户(即第一用户)也可以被分配到资源,具体的,智能合约中还可以设置有为围观的第一用户分配资源的分配算法,该分配算法可以与上述目标用户的资源分配算法相同,也可以与上述目标用户的资源分配算法不同,可以基于智能合约中的相应分配算法为第一用户分配资源信息。例如,智能合约中的分配算法为按照第一用户投放资源的比例进行资源分配,即若第一用户投放的资源信息与聚合后的目标信息中的资源信息之间的比例为2%,则到达实现目标结果所设定的预定时间后,可以获取未完成目标结果的用户投放的资源,以及围观未完成目标结果的用户的目标信息的用户投放的资源,可以将第一用户投放的资源返还给第一用户,并可以将未完成目标结果的用户投放的资源和围观未完成目标结果的用户的目标信息的用户投放的资源中的2%分配给第一用户等。In the implementation, if the target user completes the set goal, other users (ie, the first user) who are watching the target user can also be allocated to resources. Specifically, the smart contract can also be set to allocate resources for the first user who is watching. A resource allocation algorithm, the allocation algorithm may be the same as the resource allocation algorithm of the target user, or may be different from the resource allocation algorithm of the target user, and resource information may be allocated to the first user based on the corresponding allocation algorithm in the smart contract. For example, the allocation algorithm in the smart contract is to allocate resources according to the proportion of the resources put in by the first user, that is, if the ratio between the resource information put in by the first user and the resource information in the aggregated target information is 2%, then After the predetermined time set by the target result is achieved, the resources put in by the users who have not completed the target result and the resources put in by the users who are watching the target information of the users who have not completed the target result can be obtained, and the resources put in by the first user can be returned to the The first user may allocate 2% of the resources put in by the users who have not completed the target result and the resources put in by the users watching the target information of the users who have not completed the target result to the first user and so on.
本说明书实施例提供一种基于区块链的用户目标处理方法,通过用户设立的待实现的目标信息中的目标结果聚合相同目标结果的信息,从而可以使得目标结果对应更多的资源信息,为目标用户实现设定的目标提供更大的激励作用,此外,通过在区块链中部署目标结果对应的智能合约,进而对从预定数据库中获取的针对目标用户设立的目标信息的结果进行检测,并在检测到获取的结果满足智能合约的触发条件时,基于智能合约为目标用户分配资源信息,这样,由于区块链中的数据无法篡改,因此目标结果和资源信息等无法被篡改,从而可以保证设立的目标结果和资源信息的真实有效性,并且相应的数据可追溯性较好。The embodiments of this specification provide a method for processing user goals based on blockchain, which aggregates the information of the same goal result through the goal result in the goal information to be achieved established by the user, so that the goal result can correspond to more resource information, which is The target user achieves the set goal to provide greater incentives. In addition, by deploying the smart contract corresponding to the target result in the blockchain, the result of the target information set for the target user obtained from the predetermined database is detected. And when it is detected that the obtained result meets the trigger condition of the smart contract, resource information is allocated to the target user based on the smart contract. In this way, since the data in the blockchain cannot be tampered with, the target result and resource information cannot be tampered with, so that it can be Ensure that the established target results and resource information are true and effective, and the corresponding data traceability is better.
另外,通过检测目标用户设立的目标信息中的目标结果是否符合预定主题,确定目标结果是否有效,从而进一步保证目标设立的公正透明有效性。而且,还可以通过智能合约对资源信息进行锁仓处理,有效避免了资源信息被他人盗取,提高了用户的信息安全性。In addition, by detecting whether the target result in the target information established by the target user conforms to the predetermined theme, it is determined whether the target result is valid, thereby further ensuring the fairness, transparency and effectiveness of the target establishment. Moreover, the resource information can also be locked through the smart contract, which effectively prevents the resource information from being stolen by others and improves the user's information security.
实施例三Embodiment 3
以上为本说明书实施例提供的基于区块链的用户目标处理方法,基于同样的思路,本说明书实施例还提供一种基于区块链的用户目标处理装置,如图3所示。The blockchain-based user target processing method provided in the above embodiments of this specification is based on the same idea, and an embodiment of this specification also provides a blockchain-based user target processing device, as shown in FIG. 3 .
该基于区块链的用户目标处理装置包括:信息接收模块301、合约部署模块302、检测模块303和第一资源分配模块304,其中:The block chain-based user target processing device includes: an
信息接收模块301,接收目标用户设立的待实现的目标信息,所述目标信息中包括待实现的目标结果和资源信息;The
合约部署模块302,将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向所述区块链节点所在的区块链网络中部署所述目标结果对应的智能合约;The
检测模块303,当到达实现所述目标结果所设定的预定时间时,从预定数据库中获取针对所述目标用户设立的所述目标信息的结果,并检测获取的结果是否满足所述智能合约的触发条件;The
第一资源分配模块304,如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息。The first
本说明书实施例中,所述装置还包括:In the embodiment of this specification, the device further includes:
资源信息接收模块,接收第一用户针对所述目标用户设立的所述目标信息投放的资源信息,将投放的资源信息存储于所述聚合后的目标信息中的资源信息所在的区块链存储区域中;The resource information receiving module receives the resource information put by the first user for the target information set up by the target user, and stores the put resource information in the blockchain storage area where the resource information in the aggregated target information is located middle;
第二资源分配模块,如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述第一用户分配资源信息。The second resource allocation module, if the obtained result satisfies the trigger condition of the smart contract, allocate resource information to the first user based on the smart contract.
本说明书实施例中,所述装置还包括:In the embodiment of this specification, the device further includes:
进度信息接收模块,接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息;a progress information receiving module, receiving the completion progress information provided by the target user for the target result in the target information;
存储模块,将所述完成进度信息存储于区块链中,所述完成进度信息中包括视频信息、音频信息、文本信息和预定的签到信息中的一种或多种。The storage module stores the completion progress information in the blockchain, and the completion progress information includes one or more of video information, audio information, text information and predetermined check-in information.
本说明书实施例中,所述进度信息接收模块,当获取到第二用户针对所述目标用户设立的目标信息的进度提醒信息时,接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息。In the embodiment of this specification, the progress information receiving module, when acquiring the progress reminder information of the target information set up by the second user for the target user, receives the information provided by the target user for the target result in the target information. Completion progress information.
本说明书实施例中,所述合约部署模块302,包括:In the embodiment of this specification, the
主题检测单元,检测所述目标用户设立的目标信息中的目标结果是否符合预定主题;a theme detection unit, which detects whether the target result in the target information set up by the target user conforms to a predetermined theme;
聚合单元,如果所述目标用户的目标结果符合预定主题,则将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息。The aggregation unit, if the target result of the target user conforms to the predetermined theme, aggregates the target information that is the same as the target result to obtain the aggregated target information.
本说明书实施例中,所述第一资源分配模块304,包括:In the embodiment of this specification, the first
信息获取单元,基于所述智能合约获取所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例;an information acquisition unit, based on the smart contract, to acquire the time when the target user established the target information, the ratio between the resource information put in by the target user and the resource information in the aggregated target information;
资源分配单元,基于所述智能合约中的资源分配算法,根据所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例,从所述聚合后的目标信息中的资源信息中确定为所述目标用户分配的资源信息。The resource allocation unit, based on the resource allocation algorithm in the smart contract, according to the time when the target user established the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information , and determine the resource information allocated to the target user from the resource information in the aggregated target information.
本说明书实施例中,所述装置还包括:In the embodiment of this specification, the device further includes:
锁仓模块,基于所述智能合约对所述聚合后的目标信息中的资源信息进行锁仓处理,以及基于所述智能合约对所述第一用户的存储于所述聚合后的目标信息中的资源信息进行锁仓处理。The lock-up module performs lock-up processing on the resource information in the aggregated target information based on the smart contract, and performs lock-up processing on the resource information of the first user stored in the aggregated target information based on the smart contract. Resource information is locked.
本说明书实施例提供一种基于区块链的用户目标处理装置,通过用户设立的待实现的目标信息中的目标结果聚合相同目标结果的信息,从而可以使得目标结果对应更多的资源信息,为目标用户实现设定的目标提供更大的激励作用,此外,通过在区块链中部署目标结果对应的智能合约,进而对从预定数据库中获取的针对目标用户设立的目标信息的结果进行检测,并在检测到获取的结果满足智能合约的触发条件时,基于智能合约为目标用户分配资源信息,这样,由于区块链中的数据无法篡改,因此目标结果和资源信息等无法被篡改,从而可以保证设立的目标结果和资源信息的真实有效性,并且相应的数据可追溯性较好。The embodiments of this specification provide a block chain-based user target processing device, which aggregates the information of the same target result through the target result in the target information to be achieved established by the user, so that the target result can correspond to more resource information, which is The target user achieves the set goal to provide greater incentives. In addition, by deploying the smart contract corresponding to the target result in the blockchain, the result of the target information set for the target user obtained from the predetermined database is detected. And when it is detected that the obtained result meets the trigger condition of the smart contract, resource information is allocated to the target user based on the smart contract. In this way, since the data in the blockchain cannot be tampered with, the target result and resource information cannot be tampered with, so that it can be Ensure that the established target results and resource information are true and effective, and the corresponding data traceability is better.
另外,通过检测目标用户设立的目标信息中的目标结果是否符合预定主题,确定目标结果是否有效,从而进一步保证目标设立的公正透明有效性。而且,还可以通过智能合约对资源信息进行锁仓处理,有效避免了资源信息被他人盗取,提高了用户的信息安全性。In addition, by detecting whether the target result in the target information established by the target user conforms to the predetermined theme, it is determined whether the target result is valid, thereby further ensuring the fairness, transparency and effectiveness of the target establishment. Moreover, the resource information can also be locked through the smart contract, which effectively prevents the resource information from being stolen by others and improves the user's information security.
实施例四Embodiment 4
以上为本说明书实施例提供的基于区块链的用户目标处理装置,基于同样的思路,本说明书实施例还提供一种基于区块链的用户目标处理设备,如图4所示。The blockchain-based user target processing apparatus provided in the above embodiments of this specification is based on the same idea, and the embodiment of this specification also provides a blockchain-based user target processing device, as shown in FIG. 4 .
所述基于区块链的用户目标处理设备可以为上述实施例提供的区块链节点,该区块链节点可以为终端设备或服务器。The blockchain-based user target processing device may be the blockchain node provided in the above embodiment, and the blockchain node may be a terminal device or a server.
基于区块链的用户目标处理设备可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上的处理器401和存储器402,存储器402中可以存储有一个或一个以上存储应用程序或数据。其中,存储器402可以是短暂存储或持久存储。存储在存储器402的应用程序可以包括一个或一个以上模块(图示未示出),每个模块可以包括对基于区块链的用户目标处理设备中的一系列计算机可执行指令。更进一步地,处理器401可以设置为与存储器402通信,在基于区块链的用户目标处理设备上执行存储器402中的一系列计算机可执行指令。基于区块链的用户目标处理设备还可以包括一个或一个以上电源403,一个或一个以上有线或无线网络接口404,一个或一个以上输入输出接口405,一个或一个以上键盘406。The blockchain-based user target processing devices may vary greatly due to different configurations or performances, and may include one or
具体在本实施例中,基于区块链的用户目标处理设备包括有存储器,以及一个或一个以上的程序,其中一个或者一个以上程序存储于存储器中,且一个或者一个以上程序可以包括一个或一个以上模块,且每个模块可以包括对基于区块链的用户目标处理设备中的一系列计算机可执行指令,且经配置以由一个或者一个以上处理器执行该一个或者一个以上程序包含用于进行以下计算机可执行指令:Specifically in this embodiment, the blockchain-based user target processing device includes a memory and one or more programs, wherein 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 instructions in a blockchain-based user target processing device, and configured to be executed by one or more processors including the one or more programs for performing The following computer-executable instructions:
接收目标用户设立的待实现的目标信息,所述目标信息中包括待实现的目标结果和资源信息;Receive target information to be achieved established by the target user, where the target information includes target results to be achieved and resource information;
将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,并向所述区块链节点所在的区块链网络中部署所述目标结果对应的智能合约;Aggregating the same target information as the target result to obtain the aggregated target information, and deploying the smart contract corresponding to the target result to the blockchain network where the blockchain node is located;
当到达实现所述目标结果所设定的预定时间时,从预定数据库中获取针对所述目标用户设立的所述目标信息的结果,并检测获取的结果是否满足所述智能合约的触发条件;When the predetermined time set for achieving the target result is reached, obtain the result of the target information set up for the target user from a predetermined database, and detect whether the obtained result satisfies the trigger condition of the smart contract;
如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息。If the obtained result satisfies the trigger condition of the smart contract, the resource information in the aggregated target information is allocated to the target user based on the smart contract.
本说明书实施例中,在到达实现所述目标结果所设定的预定时间之前,还包括:In the embodiment of this specification, before reaching the predetermined time set for achieving the target result, the method further includes:
接收第一用户针对所述目标用户设立的所述目标信息投放的资源信息,将投放的资源信息存储于所述聚合后的目标信息中的资源信息所在的区块链存储区域中;Receive the resource information put by the first user for the target information set up by the target user, and store the put resource information in the blockchain storage area where the resource information in the aggregated target information is located;
所述如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息之后,所述方法还包括:If the obtained result satisfies the trigger condition of the smart contract, after allocating the resource information in the aggregated target information to the target user based on the smart contract, the method further includes:
如果所述获取的结果满足所述智能合约的触发条件,则基于所述智能合约为所述第一用户分配资源信息。If the obtained result satisfies the triggering condition of the smart contract, resource information is allocated to the first user based on the smart contract.
本说明书实施例中,在到达实现所述目标结果所设定的预定时间之前,还包括:In the embodiment of this specification, before reaching the predetermined time set for achieving the target result, the method further includes:
接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息;Receive completion progress information provided by the target user for the target result in the target information;
将所述完成进度信息存储于区块链中,所述完成进度信息中包括视频信息、音频信息、文本信息和预定的签到信息中的一种或多种。The completion progress information is stored in the blockchain, and the completion progress information includes one or more of video information, audio information, text information and predetermined check-in information.
本说明书实施例中,所述接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息,包括:In the embodiment of this specification, the receiving the completion progress information provided by the target user for the target result in the target information includes:
当获取到第二用户针对所述目标用户设立的目标信息的进度提醒信息时,接收所述目标用户针对所述目标信息中的目标结果提供的完成进度信息。When the progress reminder information of the target information set up by the second user for the target user is obtained, the completion progress information provided by the target user for the target result in the target information is received.
本说明书实施例中,所述将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息,包括:In the embodiment of this specification, the target information that is the same as the target result is aggregated to obtain the aggregated target information, including:
检测所述目标用户设立的目标信息中的目标结果是否符合预定主题;Detecting whether the target result in the target information established by the target user conforms to a predetermined theme;
如果所述目标用户的目标结果符合预定主题,则将与所述目标结果相同的目标信息进行聚合,得到聚合后的目标信息。If the target result of the target user conforms to the predetermined theme, the same target information as the target result is aggregated to obtain the aggregated target information.
本说明书实施例中,所述基于所述智能合约为所述目标用户分配聚合后的目标信息中的资源信息,包括:In the embodiment of this specification, the resource information in the aggregated target information is allocated to the target user based on the smart contract, including:
基于所述智能合约获取所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例;Obtaining, based on the smart contract, the time when the target user established the target information, the ratio between the resource information put in by the target user and the resource information in the aggregated target information;
基于所述智能合约中的资源分配算法,根据所述目标用户设立目标信息的时间、所述目标用户投放的资源信息与所述聚合后的目标信息中的资源信息之间的比例,从所述聚合后的目标信息中的资源信息中确定为所述目标用户分配的资源信息。Based on the resource allocation algorithm in the smart contract, according to the time when the target user established the target information, the ratio between the resource information put by the target user and the resource information in the aggregated target information, from the The resource information allocated to the target user is determined from the resource information in the aggregated target information.
本说明书实施例中,还包括:In the embodiment of this specification, it also includes:
基于所述智能合约对所述聚合后的目标信息中的资源信息进行锁仓处理,以及基于所述智能合约对所述第一用户的存储于所述聚合后的目标信息中的资源信息进行锁仓处理。Locking the resource information in the aggregated target information based on the smart contract, and locking the resource information of the first user stored in the aggregated target information based on the smart contract warehouse processing.
本说明书实施例提供一种基于区块链的用户目标处理设备,通过用户设立的待实现的目标信息中的目标结果聚合相同目标结果的信息,从而可以使得目标结果对应更多的资源信息,为目标用户实现设定的目标提供更大的激励作用,此外,通过在区块链中部署目标结果对应的智能合约,进而对从预定数据库中获取的针对目标用户设立的目标信息的结果进行检测,并在检测到获取的结果满足智能合约的触发条件时,基于智能合约为目标用户分配资源信息,这样,由于区块链中的数据无法篡改,因此目标结果和资源信息等无法被篡改,从而可以保证设立的目标结果和资源信息的真实有效性,并且相应的数据可追溯性较好。The embodiments of this specification provide a block chain-based user target processing device, which aggregates the information of the same target result through the target result in the target information to be achieved established by the user, so that the target result can correspond to more resource information, which is The target user achieves the set goal to provide greater incentives. In addition, by deploying the smart contract corresponding to the target result in the blockchain, the result of the target information set for the target user obtained from the predetermined database is detected. And when it is detected that the obtained result meets the trigger condition of the smart contract, resource information is allocated to the target user based on the smart contract. In this way, since the data in the blockchain cannot be tampered with, the target result and resource information cannot be tampered with, so that it can be Ensure that the established target results and resource information are true and effective, and the corresponding data traceability is better.
另外,通过检测目标用户设立的目标信息中的目标结果是否符合预定主题,确定目标结果是否有效,从而进一步保证目标设立的公正透明有效性。而且,还可以通过智能合约对资源信息进行锁仓处理,有效避免了资源信息被他人盗取,提高了用户的信息安全性。In addition, by detecting whether the target result in the target information established by the target user conforms to the predetermined theme, it is determined whether the target result is valid, thereby further ensuring the fairness, transparency and effectiveness of the target establishment. Moreover, the resource information can also be locked through the smart contract, which effectively prevents the resource information from being stolen by others and improves the user's information security.
上述对本说明书特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。The foregoing describes specific embodiments of the present specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims can be performed in an order different from that in the embodiments and still achieve desirable results. Additionally, the processes depicted in the figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
在20世纪90年代,对于一个技术的改进可以很明显地区分是硬件上的改进(例如,对二极管、晶体管、开关等电路结构的改进)还是软件上的改进(对于方法流程的改进)。然而,随着技术的发展,当今的很多方法流程的改进已经可以视为硬件电路结构的直接改进。设计人员几乎都通过将改进的方法流程编程到硬件电路中来得到相应的硬件电路结构。因此,不能说一个方法流程的改进就不能用硬件实体模块来实现。例如,可编程逻辑器件(Programmable Logic Device,PLD)(例如现场可编程门阵列(Field Programmable GateArray,FPGA))就是这样一种集成电路,其逻辑功能由用户对器件编程来确定。由设计人员自行编程来把一个数字系统“集成”在一片PLD上,而不需要请芯片制造厂商来设计和制作专用的集成电路芯片。而且,如今,取代手工地制作集成电路芯片,这种编程也多半改用“逻辑编译器(logic compiler)”软件来实现,它与程序开发撰写时所用的软件编译器相类似,而要编译之前的原始代码也得用特定的编程语言来撰写,此称之为硬件描述语言(Hardware Description Language,HDL),而HDL也并非仅有一种,而是有许多种,如ABEL(Advanced Boolean Expression Language)、AHDL(Altera Hardware DescriptionLanguage)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(RubyHardware Description Language)等,目前最普遍使用的是VHDL(Very-High-SpeedIntegrated Circuit Hardware Description Language)与Verilog。本领域技术人员也应该清楚,只需要将方法流程用上述几种硬件描述语言稍作逻辑编程并编程到集成电路中,就可以很容易得到实现该逻辑方法流程的硬件电路。In the 1990s, improvements in a technology could be clearly differentiated between improvements in hardware (eg, improvements to circuit structures such as diodes, transistors, switches, etc.) or improvements in software (improvements in method flow). However, with the development of technology, the improvement of many methods and processes today can be regarded as a direct improvement of the hardware circuit structure. Designers almost get the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that the improvement of a method flow cannot be realized by hardware entity modules. For example, a Programmable Logic Device (PLD) (eg, Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by user programming of the device. It is programmed by the designer to "integrate" a digital system on a PLD without having to ask the chip manufacturer to design and manufacture a dedicated integrated circuit chip. And, instead of making integrated circuit chips by hand, these days, much of this programming is done using software called a "logic compiler", which is similar to the software compiler used in program development and writing, but before compiling The original code also has to be written in a specific programming language, which is called Hardware Description Language (HDL), and there is not only one HDL, but many kinds, such as ABEL (Advanced Boolean Expression Language) , AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (RubyHardware Description Language), etc. The most commonly used are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. It should also be clear to those skilled in the art that a hardware circuit for implementing the logic method process can be easily obtained by simply programming the method process in the above-mentioned several hardware description languages and programming it into the integrated circuit.
控制器可以按任何适当的方式实现,例如,控制器可以采取例如微处理器或处理器以及存储可由该(微)处理器执行的计算机可读程序代码(例如软件或固件)的计算机可读介质、逻辑门、开关、专用集成电路(Application Specific Integrated Circuit,ASIC)、可编程逻辑控制器和嵌入微控制器的形式,控制器的例子包括但不限于以下微控制器:ARC 625D、Atmel AT91SAM、Microchip PIC18F26K20以及Silicone Labs C8051F320,存储器控制器还可以被实现为存储器的控制逻辑的一部分。本领域技术人员也知道,除了以纯计算机可读程序代码方式实现控制器以外,完全可以通过将方法步骤进行逻辑编程来使得控制器以逻辑门、开关、专用集成电路、可编程逻辑控制器和嵌入微控制器等的形式来实现相同功能。因此这种控制器可以被认为是一种硬件部件,而对其内包括的用于实现各种功能的装置也可以视为硬件部件内的结构。或者甚至,可以将用于实现各种功能的装置视为既可以是实现方法的软件模块又可以是硬件部件内的结构。The controller may be implemented in any suitable manner, for example, the controller may take the form of eg a microprocessor or processor and a computer readable medium storing computer readable program code (eg software or firmware) executable by the (micro)processor , logic gates, switches, application specific integrated circuits (ASICs), programmable logic controllers and embedded microcontrollers, examples of 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 part of the control logic of the memory. Those skilled in the art also know that, in addition to implementing the controller in the form of pure computer-readable program code, the controller can be implemented as logic gates, switches, application-specific integrated circuits, programmable logic controllers and embedded devices by logically programming the method steps. The same function can be realized in the form of a microcontroller, etc. Therefore, such a controller can be regarded as a hardware component, and the devices included therein for realizing various functions can also be regarded as a structure within the hardware component. Or even, the means for implementing various functions can be regarded as both a software module implementing a method and a structure within a hardware component.
上述实施例阐明的系统、装置、模块或单元,具体可以由计算机芯片或实体实现,或者由具有某种功能的产品来实现。一种典型的实现设备为计算机。具体的,计算机例如可以为个人计算机、膝上型计算机、蜂窝电话、相机电话、智能电话、个人数字助理、媒体播放器、导航设备、电子邮件设备、游戏控制台、平板计算机、可穿戴设备或者这些设备中的任何设备的组合。The systems, devices, modules or units described in the above embodiments may be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or A combination of any of these devices.
为了描述的方便,描述以上装置时以功能分为各种单元分别描述。当然,在实施本说明书一个或多个实施例时可以把各单元的功能在同一个或多个软件和/或硬件中实现。For the convenience of description, when describing the above device, the functions are divided into various units and described respectively. Of course, when implementing one or more embodiments of the present specification, the functions of each unit may be implemented in one or more software and/or hardware.
本领域内的技术人员应明白,本说明书的实施例可提供为方法、系统、或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, the embodiments of the present specification may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present specification may employ a computer program implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein form of the product.
本说明书的实施例是参照根据本说明书实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程基于区块链的用户目标处理设备的处理器以产生一个机器,使得通过计算机或其他可编程基于区块链的用户目标处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the specification are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the specification. It will be understood that each flow and/or block in the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to the processor of a general purpose computer, special purpose computer, embedded processor or other programmable blockchain-based user target processing device to produce a machine that The instructions executed by the processor of the user target processing device produce means for implementing the functions specified in the flow or flows of the flowcharts and/or the blocks or blocks of the block diagrams.
这些计算机程序指令也可存储在能引导计算机或其他可编程基于区块链的用户目标处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable blockchain-based user object processing device to operate in a particular manner, such that the instructions stored in the computer-readable memory generate means comprising instructions An article of manufacture, the instruction means implementing the functions specified in the flow or flow of the flowchart and/or the block or blocks of the block diagram.
这些计算机程序指令也可装载到计算机或其他可编程基于区块链的用户目标处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded on a computer or other programmable blockchain-based user target processing device, such that a series of operational steps are performed on the computer or other programmable device to produce a computer-implemented process, which can be executed on the computer or other The instructions executing on the programmable device provide steps for implementing the functions specified in the flow or blocks of the flowcharts and/or the block or blocks of the block diagrams.
在一个典型的配置中,计算设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存是计算机可读介质的示例。Memory may include non-persistent memory in computer readable media, random access memory (RAM) and/or non-volatile memory in the form of, for example, read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology. 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 technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.
本领域技术人员应明白,本说明书的实施例可提供为方法、系统或计算机程序产品。因此,本说明书一个或多个实施例可采用完全硬件实施例、完全软件实施例或结合软件和硬件方面的实施例的形式。而且,本说明书一个或多个实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。As will be appreciated by one skilled in the art, the embodiments of the present specification may be provided as a method, a system or a computer program product. Accordingly, one or more embodiments of this specification may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, one or more embodiments of the present specification may employ a computer program implemented on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein form of the product.
本说明书一个或多个实施例可以在由计算机执行的计算机可执行指令的一般上下文中描述,例如程序模块。一般地,程序模块包括执行特定任务或实现特定抽象数据类型的例程、程序、对象、组件、数据结构等等。也可以在分布式计算环境中实践本说明书一个或多个实施例,在这些分布式计算环境中,由通过通信网络而被连接的远程处理设备来执行任务。在分布式计算环境中,程序模块可以位于包括存储设备在内的本地和远程计算机存储介质中。One or more embodiments of this specification may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of this specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including storage devices.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。尤其,对于系统实施例而言,由于其基本相似于方法实施例,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the various embodiments may be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the system embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for related parts, please refer to the partial descriptions of the method embodiments.
以上所述仅为本说明书的实施例而已,并不用于限制本说明书。对于本领域技术人员来说,本说明书可以有各种更改和变化。凡在本说明书的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本说明书的权利要求范围之内。The above descriptions are merely examples of the present specification, and are not intended to limit the present specification. Various modifications and variations of this specification are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this specification shall be included within the scope of the claims of this specification.
Claims (12)
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310976301.7A CN117094820A (en) | 2019-09-25 | 2019-09-25 | User target processing method, device and equipment based on blockchain |
| CN201910912963.1A CN110689432B (en) | 2019-09-25 | 2019-09-25 | A block chain-based user target processing method, device and equipment |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910912963.1A CN110689432B (en) | 2019-09-25 | 2019-09-25 | A block chain-based user target processing method, device and equipment |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310976301.7A Division CN117094820A (en) | 2019-09-25 | 2019-09-25 | User target processing method, device and equipment based on blockchain |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN110689432A true CN110689432A (en) | 2020-01-14 |
| CN110689432B CN110689432B (en) | 2023-08-22 |
Family
ID=69110237
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310976301.7A Pending CN117094820A (en) | 2019-09-25 | 2019-09-25 | User target processing method, device and equipment based on blockchain |
| CN201910912963.1A Active CN110689432B (en) | 2019-09-25 | 2019-09-25 | A block chain-based user target processing method, device and equipment |
Family Applications Before (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202310976301.7A Pending CN117094820A (en) | 2019-09-25 | 2019-09-25 | User target processing method, device and equipment based on blockchain |
Country Status (1)
| Country | Link |
|---|---|
| CN (2) | CN117094820A (en) |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107025564A (en) * | 2016-01-29 | 2017-08-08 | 深圳市艾特大师网络科技有限公司 | A kind of processing method for works, apparatus and system |
| CN108764992A (en) * | 2018-05-23 | 2018-11-06 | 济南浪潮高新科技投资发展有限公司 | A kind of network marketing settlement method and system based on block chain |
| CN109584079A (en) * | 2018-11-29 | 2019-04-05 | 阿里巴巴集团控股有限公司 | Resource processing system, and method, device and equipment for approving resource project declaration |
| CN110009498A (en) * | 2019-03-29 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Resource allocation methods and device based on block chain |
| US20190266145A1 (en) * | 2018-02-27 | 2019-08-29 | Alibaba Group Holding Limited | Executing transactions based on blockchain |
-
2019
- 2019-09-25 CN CN202310976301.7A patent/CN117094820A/en active Pending
- 2019-09-25 CN CN201910912963.1A patent/CN110689432B/en active Active
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107025564A (en) * | 2016-01-29 | 2017-08-08 | 深圳市艾特大师网络科技有限公司 | A kind of processing method for works, apparatus and system |
| US20190266145A1 (en) * | 2018-02-27 | 2019-08-29 | Alibaba Group Holding Limited | Executing transactions based on blockchain |
| CN108764992A (en) * | 2018-05-23 | 2018-11-06 | 济南浪潮高新科技投资发展有限公司 | A kind of network marketing settlement method and system based on block chain |
| CN109584079A (en) * | 2018-11-29 | 2019-04-05 | 阿里巴巴集团控股有限公司 | Resource processing system, and method, device and equipment for approving resource project declaration |
| CN110009498A (en) * | 2019-03-29 | 2019-07-12 | 阿里巴巴集团控股有限公司 | Resource allocation methods and device based on block chain |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110689432B (en) | 2023-08-22 |
| CN117094820A (en) | 2023-11-21 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111899008B (en) | Resource transfer method, device, device and system | |
| TWI697840B (en) | Resource allocation method, device and equipment | |
| EP3565219B1 (en) | Service execution method and device | |
| EP3841546A1 (en) | Method of generating globally verifiable unique identifiers using a scalable interlinked blockchain structure | |
| WO2021017430A1 (en) | Block chain-based transaction, transaction supervision method, device and apparatus | |
| CN107392623A (en) | The method and device that a kind of business performs | |
| CN110263580B (en) | Blockchain-based data processing method, device and blockchain node | |
| CN109583224A (en) | A kind of privacy of user data processing method, device, equipment and system | |
| CN111163132A (en) | Service providing method, device, equipment and system based on block chain | |
| WO2020119293A1 (en) | Content pushing method and apparatus, and electronic device | |
| CN110930578A (en) | Voting method, equipment and medium based on block chain | |
| US20240394345A1 (en) | Data interaction processing | |
| US20230325233A1 (en) | Method and system for generating and managing smart contract | |
| TW202008227A (en) | Event prediction method and apparatus, and electronic device | |
| TW202008228A (en) | Event prediction method and apparatus and electronic device | |
| TWI686758B (en) | Data request processing, inquiry message processing method, device and equipment | |
| CN111178846B (en) | Workflow file generation method, device, equipment and storage medium | |
| CN115099926B (en) | Credit data analysis method, sharing method, device and equipment based on blockchain | |
| CN113114678B (en) | A business execution method and device | |
| CN116342114A (en) | Quota sharing processing method and device | |
| CN110689432B (en) | A block chain-based user target processing method, device and equipment | |
| CN113673844A (en) | Information feedback method, device and equipment | |
| CN111967767A (en) | Business risk identification method, device, equipment and medium | |
| CN110648179B (en) | An information processing method, device and equipment based on blockchain | |
| HK40020912B (en) | User target processing method, device and equipment based on block chain |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| REG | Reference to a national code |
Ref country code: HK Ref legal event code: DE Ref document number: 40020912 Country of ref document: HK |
|
| GR01 | Patent grant | ||
| GR01 | Patent grant | ||
| TR01 | Transfer of patent right |
Effective date of registration: 20240920 Address after: Room 803, floor 8, No. 618 Wai Road, Huangpu District, Shanghai 200010 Patentee after: Ant blockchain Technology (Shanghai) Co.,Ltd. Country or region after: China Address before: 310000 801-11 section B, 8th floor, 556 Xixi Road, Xihu District, Hangzhou City, Zhejiang Province Patentee before: Alipay (Hangzhou) Information Technology Co.,Ltd. Country or region before: China |
|
| TR01 | Transfer of patent right |
