CN110689432A - Block chain-based user target processing method, device and equipment - Google Patents

Block chain-based user target processing method, device and equipment Download PDF

Info

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
intelligent 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
Application number
CN201910912963.1A
Other languages
Chinese (zh)
Other versions
CN110689432B (en
Inventor
邹雪晴
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alipay Hangzhou Information Technology Co Ltd
Original Assignee
Alipay Hangzhou Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alipay Hangzhou Information Technology Co Ltd filed Critical Alipay Hangzhou Information Technology Co Ltd
Priority to CN202310976301.7A priority Critical patent/CN117094820A/en
Priority to CN201910912963.1A priority patent/CN110689432B/en
Publication of CN110689432A publication Critical patent/CN110689432A/en
Application granted granted Critical
Publication of CN110689432B publication Critical patent/CN110689432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q40/00Finance; Insurance; Tax strategies; Processing of corporate or income taxes
    • G06Q40/04Trading; Exchange, e.g. stocks, commodities, derivatives or currency exchange
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE 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/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The embodiment of the specification discloses a user target processing method, a device and equipment based on a block chain, wherein the method comprises the following steps: receiving target information to be realized set by a target user, wherein the target information comprises a target result to be realized and resource information; aggregating the target information which is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in a block chain network where the block chain link point is located; when a preset time set for realizing the target result is reached, acquiring a result of the target information set for the target user from a preset database, and detecting whether the acquired result meets a trigger condition of the intelligent contract; and if the obtained result meets the triggering condition of the intelligent contract, distributing the resource information in the aggregated target information based on the intelligent contract.

Description

Block chain-based user target processing method, device and equipment
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, and a device for processing a user target based on a block chain.
Background
The set target is an event which often occurs in life and work of people, and people can set their own work target, family target, business target income and wealth target, learning growth target and the like. The target has very important significance for people, such as setting up the target to generate positive mind, enabling people to see mission clearly, generating power, generating confidence and courage, and the like.
Generally, a user who has a requirement for setting up a target (or a task, etc.) can set a corresponding target according to an actual situation, and then the corresponding target can be completed based on a time specified in the set target content to achieve a corresponding result, and in addition, the user can also request other users to supervise the completion situation of the own target. However, the above method often cannot determine whether the target is completed, dispute events are easy to occur, and it is difficult for the user to insist on completing the corresponding target. For this reason, it is necessary to provide a target setting and target incentive strategy with more accurate statistical data and better data traceability.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a method, an apparatus, and a device for processing a user target based on a block chain, so as to provide a target setting and incentive policy with more accurate statistical data and better data traceability.
In order to implement the above technical solution, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides a user target processing method based on a block chain, which is applied to a block chain node, and includes:
receiving target information to be realized set by a target user, wherein the target information comprises a target result to be realized and resource information;
aggregating the target information which is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in a block chain network where the block chain link point is located;
when a preset time set for realizing the target result is reached, acquiring a result of the target information set for the target user from a preset database, and detecting whether the acquired result meets a trigger condition of the intelligent contract;
and if the obtained result meets the triggering condition of the intelligent contract, distributing the resource information in the aggregated target information based on the intelligent contract.
Optionally, before reaching a predetermined time set to achieve the target result, the method further comprises:
receiving resource information launched by a first user aiming at the target information set by the target user, and storing the launched resource information in a block chain storage area where the resource information in the aggregated target information is located;
after the target user allocates resource information in the aggregated target information based on the intelligent contract if the obtained result meets the trigger condition of the intelligent contract, the method further includes:
and if the obtained result meets the trigger condition of the intelligent contract, allocating resource information to the first user based on the intelligent contract.
Optionally, before reaching a predetermined time set to achieve the target result, the method further comprises:
receiving completion progress information provided by the target user for a target result in the target information;
and storing the completion progress information in a block chain, wherein the completion progress information comprises one or more of video information, audio information, text information and preset check-in information.
Optionally, the receiving of the completion progress information provided by the target user for the target result in the target information includes:
when progress reminding information of target information set by a second user for the target user is acquired, completing progress information provided by the target user for a target result in the target information is received.
Optionally, the aggregating the target information that is the same as the target result to obtain aggregated target information includes:
detecting whether a target result in target information set by the target user conforms to a preset theme or not;
and if the target result of the target user accords with a preset theme, aggregating the target information which is the same as the target result to obtain the aggregated target information.
Optionally, the allocating, based on the intelligent contract, resource information in the aggregated target information by the target user includes:
acquiring the time for setting target information of the target user, the proportion between the resource information released by the target user and the resource information in the aggregated target information based on the intelligent contract;
and determining the resource information distributed for the target user from the resource information in the aggregated target information based on a resource distribution algorithm in the intelligent contract according to the time for setting the target information by the target user, the ratio of the resource information released by the target user and the resource information in the aggregated target information.
Optionally, the method further comprises:
and locking the resources in the aggregated target information based on the intelligent contract, and locking the resources stored in the aggregated target information of the first user based on the intelligent contract.
An embodiment of the present specification provides a user target processing apparatus based on a block chain, where the apparatus includes:
the information receiving module is used for receiving target information to be realized, which is set by a target user and comprises a target result to be realized and resource information;
the contract deployment module is used for aggregating the target information which is the same as the target result to obtain the aggregated target information and deploying the intelligent contract corresponding to the target result in the block chain network where the block chain link point is located;
the detection module is used for acquiring a result of the target information set for the target user from a preset database when preset time set for realizing the target result is reached, and detecting whether the acquired result meets the trigger condition of the intelligent contract or not;
and the first resource allocation module allocates the resource information in the aggregated target information based on the intelligent contract if the acquired result meets the trigger condition of the intelligent contract.
Optionally, the apparatus further comprises:
the resource information receiving module is used for receiving the resource information launched by the first user aiming at the target information set by the target user and storing the launched resource information in the block chain storage area where the resource information in the aggregated target information is located;
and the second resource allocation module is used for allocating resource information to the first user based on the intelligent contract if the acquired result meets the trigger condition of the intelligent contract.
Optionally, the apparatus further comprises:
the progress information receiving module is used for receiving the completion progress information provided by the target user aiming at the target result in the target information;
and the storage module is used for storing the completion progress information in a block chain, wherein the completion progress information comprises one or more of video information, audio information, text information and preset check-in information.
Optionally, the first resource allocation module includes:
the information acquisition unit is used for acquiring the time for setting the target information by the target user, the ratio of the resource information released by the target user and the resource information in the aggregated target information based on the intelligent contract;
and the resource allocation unit is used for determining the resource information allocated to the target user from the resource information in the aggregated target information according to the time for setting the target information by the target user and the proportion between the resource information released by the target user and the resource information in the aggregated target information based on a resource allocation algorithm in the intelligent contract.
An embodiment of the present specification provides a user target processing device based on a block chain, where the user target processing device based on a block chain includes:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving target information to be realized set by a target user, wherein the target information comprises a target result to be realized and resource information;
aggregating the target information which is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in a block chain network where the block chain link point is located;
when a preset time set for realizing the target result is reached, acquiring a result of the target information set for the target user from a preset database, and detecting whether the acquired result meets a trigger condition of the intelligent contract;
and if the obtained result meets the triggering condition of the intelligent contract, distributing the resource information in the aggregated target information based on the intelligent contract.
As can be seen from the above technical solutions provided by the embodiments of the present specification, in the embodiments of the present specification, information of the same target result is aggregated by a target result in target information to be implemented set by a user, so that the target result can correspond to more resource information, and a greater incentive effect is provided for the target user to implement a set target, in addition, by deploying an intelligent contract corresponding to the target result in a block chain, further detecting a result of the target information set for the target user, which is obtained from a predetermined database, and when it is detected that the obtained result satisfies a trigger condition of the intelligent contract, allocating resource information to the target user based on the intelligent contract, so that the target result, the resource information, and the like cannot be tampered because data in the block chain cannot be tampered, and thus the true validity of the set target result and the resource information can be ensured, and the corresponding data has better traceability.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without any creative effort.
FIG. 1 is a block chain-based user target processing method in an embodiment of the present disclosure;
FIG. 2 is a block chain based user target processing method according to another embodiment of the present disclosure;
FIG. 3 is a block chain based user target processing apparatus embodiment of the present disclosure;
fig. 4 is an embodiment of a user target processing device based on a block chain according to the present disclosure.
Detailed Description
The embodiment of the specification provides a user target processing method, a device and equipment based on a block chain.
In order to make those skilled in the art better understand the technical solutions in the present specification, the technical solutions in the embodiments of the present specification will be clearly and completely described below with reference to the drawings in the embodiments of the present specification, and it is obvious that the described embodiments are only a part of the embodiments of the present specification, and not all of the embodiments. All other embodiments obtained by a person skilled in the art without making any inventive step based on the embodiments in this description shall fall within the scope of protection of this document.
Example one
As shown in fig. 1, an embodiment of the present disclosure provides a user target processing method based on a block chain, where an execution subject of the method may be a block chain node, and the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone, a tablet computer, and the like, and may also be a device such as a personal computer. The server may be an independent server, a server cluster including a plurality of servers, or the like. The server may be a background server of a certain service (e.g., a service for performing target setup), or may be a background server of a certain application (e.g., an application for setting a target provided by a certain operator), and so on. The method can be applied to the processes of setting up a user target, and motivating the user to complete the target. The method may specifically comprise the steps of:
in step S102, target information to be achieved set by a target user is received, and the target information includes a target result to be achieved and resource information.
Wherein the target user may be any user. The target information may include a target result, where the target result is related to an event result (e.g., a result of a task) that a user needs to complete at a certain time point or time period in the future, and the target result (or task result) may be, for example, "i want to leave an order after one year", "i want to become a partner of company a after five years", "i want to publish a book after three years", and so on. In order to make the set target result or task result have incentive, corresponding resources, such as money, goods, or a certain service, may be released for the set target result or task result, and specifically, 100 yuan may be released for the set target result or task result. Based on the above, the target result to be achieved and the resource information may be included in the target information, where the resource information may be information of the amount of money paid, identification information and attribute information of an article, or identification information and attribute information of a certain service.
In implementation, generally, a user has a requirement for setting a target (or a task, etc.), and then, the user may complete a corresponding target based on a time specified in the set target content to achieve a corresponding result, and in addition, the user may also require other users to supervise the completion of the own target. In order to increase the incentive for the user to accomplish the goal, the user who sets up the goal may use the own resources as the cost of setting up the goal. When the set time for realizing the target is reached, whether the target is finished by the user can be judged, if the target is finished by the user, the resource needing to be distributed can be determined for the user, meanwhile, the onlooker user can support the user to finish the corresponding target through the resource, and if the target is finished by the user, the corresponding resource can be distributed for the onlooker user.
However, the above method often cannot determine whether the user target is completed, so that dispute events are likely to occur, and how to set the resources allocated to the onlooker user and how to set the resource sources become problems to be solved, and therefore, a target incentive strategy with more accurate statistical data and better data traceability needs to be provided. The embodiment of the present specification provides a technical solution capable of implementing the target incentive policy, which may specifically include the following:
in order to make the final statistical data of the target incentive more accurate and the traceability of the data better and ensure the fairness and justice of the used rules, the target user can create or join the designated block chain. The blockchain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like, is essentially a decentralized database and is a series of data blocks which are generated by correlation through a cryptography method, and each data block can contain information of a batch of network transactions and is used for verifying the validity (or anti-counterfeiting property) of the information and generating the next block and the like. Therefore, the target incentive policy can be realized through the blockchain, specifically, the target user can preset one or more different targets (or tasks) to be realized, an application program for recording relevant information of the target (or task, etc.) set by the target user can be installed in the blockchain node, the application program can provide a target record page, and the target record page can include an input box of the target result, an input box of the resource information, a determination key, a cancel key, etc. When a target user needs to record a set target, the application program can be started, a target recording page is opened, a target result of target information to be realized can be input in a target information input box of the target recording page, resource information corresponding to the target result to be realized can be input in a resource information input box of the target recording page, a determination key can be clicked after the input is finished, and a block link point can acquire the target result and the resource information from the corresponding information input box, so that the target information to be realized set by the target user can be obtained.
In step S104, aggregating the target information that is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in the block chain network where the block link point is located.
In which a smart contract may be a computer agreement intended to propagate, verify or execute contracts in an informational manner, which smart contract allows for trusted transactions without third parties, which transactions are traceable and irreversible, and which may include agreements in which contract participants have agreed to execute rights and obligations agreed upon by the contract participants. The intelligent contract may include a trigger condition for triggering execution of the intelligent contract, and a result corresponding to the trigger condition, and the intelligent contract may include one or more trigger conditions, where each trigger condition may correspond to a result, for example, the trigger condition may be a target corresponding to target information set by the user, and the result may be returning of the resource released by the user to the user, and the like.
In the implementation, in order to stimulate the user to finish the target corresponding to the set target information and attract more users to participate in the target setting activities, target information with the same target result can be aggregated, in the process of aggregation, the target result can be combined into one target result, and the resource information can be combined together, for example, the target result set by the user a is "release after one year", the information of the released resource is resource 1, the target result set by the user B is "release after one year", the information of the released resource is resource 2, the target result set by the user C is "release one book after three years", the information of the released resource is resource 3, the target result set by the user D is "release one book after three years", the information of the released resource is resource 4, then, the target information of the user a and the user B may be aggregated, and the aggregated target information includes: the target result is 'order removal after one year', and the resource information is as follows: resource 1+ resource 2 (specifically, if resource 1 is 100 yuan, and resource 2 is 150 yuan, then the aggregated target information includes 250 yuan of resource information, etc.), and correspondingly, the target information of user C and user D may be aggregated, where the aggregated target information includes: the target result is that a book is published after three years, and the resource information is as follows: resource 3+ resource 4.
The block chain nodes aggregate the target information which is the same as the target result to obtain the aggregated target information, then corresponding intelligent contracts can be generated based on the target result and a set resource allocation mode, and the intelligent contracts corresponding to the target result can be deployed in the block chain network where the block chain nodes are located, so that the target information and the corresponding intelligent contracts are stored in the block chain, other users cannot tamper with the target information and the corresponding intelligent contracts, and the block chain nodes detect and process whether the target users complete the set targets through the intelligent contracts.
In step S106, when a predetermined time set for achieving the target result is reached, a result of the target information set for the target user is acquired from a predetermined database, and it is detected whether the acquired result satisfies a trigger condition of the smart contract.
The predetermined time set for achieving the target result may be a time or a time period set in the target result, or may be a final time for achieving the target selected in advance by the user. The trigger condition may be a condition for triggering the intelligent contract to execute a certain result, and the intelligent contract may include one or more different trigger conditions, which may be specifically set according to an actual situation, and this is not limited in this embodiment of the present specification. The predetermined database may be a database related to the target result, and may be used to determine whether the target user achieves the target result, etc., for example, the target result is "leave after one year", the predetermined database may be a marital registration database of the civil administration, etc., and if the target result is "become a partner of company a after five years", the predetermined database may be a database of employee position in company a, etc.
In implementation, after a target user sets target information to be realized, the completion progress of a target corresponding to the target information can be uploaded to the block chain nodes at a certain period or in an irregular period, specifically, a live video can be shot in a video live broadcast mode, then the shot live video is uploaded to the block chain nodes, in addition, the block chain nodes can be further provided with a check-in mechanism, and the target user can check in at the block chain nodes every day or in an irregular period through the check-in mechanism, so that the target user can be supervised or reminded to complete the set target. Other users may supervise or watch the target established by the target user to pay attention to the progress of the target user in completing the target, and the target user may hide the established target information, for example, only the target user may view the established target information and the completed progress information, or only the target user may disclose the established target information and the completed progress information, etc. specified by the target user.
The block chain node can collect and set target information and within preset time set by the target result, the target user completes the progress of the target corresponding to the target information, and can judge the condition of the target user completing the target according to the collected progress information, in addition, the preset database where the result of the target information is located can be determined according to the set target result, the result of the target information set for the target user can be obtained from the preset database, the obtained result of the target information can be matched or compared with the trigger condition in the intelligent contract, if the obtained result of the target information can trigger the trigger condition in the intelligent contract, the target user is indicated to meet the reward corresponding to the trigger condition, at the moment, the intelligent contract can obtain the result or processing mode corresponding to the triggered trigger condition, if the obtained result of the target information can not be matched with the trigger condition in the intelligent contract, the result of the acquired target information does not meet the trigger condition of the intelligent contract, the target user does not complete the set target, and at this time, the target user cannot obtain any reward and loses the resources corresponding to the released resource information.
In step S108, if the obtained result satisfies the trigger condition of the intelligent contract, the resource information in the aggregated target information is allocated to the target user based on the intelligent contract.
In implementation, the intelligent contract includes a trigger condition and a corresponding processing mode, and if the result of the acquired target information can trigger the trigger condition in the intelligent contract, the intelligent contract may acquire the processing mode corresponding to the triggered trigger condition, and may allocate resource information in the aggregated target information to the target user using the acquired processing mode. For example, the trigger condition and the corresponding processing manner in the smart contract may include: when the target user finishes the target 'leave the order after one year' corresponding to the set target information, the resources released by the target user are returned to the target user, preset resources are issued to the target user, and the like.
The embodiment of the specification provides a user target processing method based on a block chain, which aggregates information of the same target result through a target result in target information to be realized set by a user, so that the target result corresponds to more resource information, and provides a greater incentive effect for the target user to realize a set target, in addition, an intelligent contract corresponding to the target result is deployed in the block chain, so that a result of the target information set for the target user, which is acquired from a predetermined database, is detected, and when the acquired result meets a trigger condition of the intelligent contract, resource information is allocated to the target user based on the intelligent contract, so that the target result, the resource information and the like cannot be tampered because data in the block chain cannot be tampered, and the real effectiveness of the set target result and the resource information can be ensured, and the corresponding data has better traceability.
Example two
As shown in fig. 2, an embodiment of the present disclosure provides a user target processing method based on a block chain, where an execution subject of the method may be a block chain node, and the block chain node may be a terminal device or a server, where the terminal device may be a mobile terminal device such as a mobile phone, a tablet computer, and the like, and may also be a device such as a personal computer. The server may be an independent server, a server cluster including a plurality of servers, or the like. The server may be a background server of a certain service (e.g., a service for performing target setup), or may be a background server of a certain application (e.g., an application for setting a target provided by a certain operator), and so on. The method can be applied to the process of setting up the target, exciting the user to complete the target and the like. The method may specifically comprise the steps of:
in step S202, target information to be achieved set by a target user is received, and the target information includes target results to be achieved and resource information.
The resource information may be related information of a resource delivered by the target user for the target result, and the resource information may specifically be information of a payment amount, identification information and attribute information of an article, or identification information and attribute information of a certain service.
In implementation, in order to make the whole process of setting a target more vivid and interesting, a flag can be issued to a target user who sets target information, the target user can determine the target information to be realized by setting the flag, in addition, when the target user sets the flag, the target result needs to be determined, and corresponding resources are put in at the same time, the target result to be realized and the resource information of the put-in resources can be provided to the block chain nodes, so that the block chain nodes can receive the target information to be realized, which is set by the target user.
In order to ensure that the target set by the target user is valid (i.e. there is a criterion that can definitely judge whether the target is completed, etc.), the target result in the target information set by the target user may be detected, and the following processing of step S204 and step S206 may be specifically included.
In step S204, it is detected whether the target result in the target information set up by the target user conforms to a predetermined subject.
In the implementation, a plurality of different themes can be preset, each theme has a judgment basis, and whether the target is finished or not can be clearly judged through the judgment basis. The target user can set up target information according to the set theme, or, the target user sets up target information according to the actual situation, the established target information can be provided for the block chain nodes, the block chain nodes can analyze the target result in the target information of the target user, the theme corresponding to the target information can be extracted from the target result, and can compare and analyze the extracted theme with the predetermined theme to determine whether the target result in the target information set up by the target user conforms to the predetermined theme, if the target result of the target user conforms to the preset theme, the target information set by the target user is effective, if the target result of the target user does not conform to the predetermined theme, it indicates that the target information set by the target user is invalid, and at this time, a prompt may be sent to the target user to prompt the target user to modify or replace the valid target information.
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.
In implementation, the target information of the same target result may be merged (that is, the flag of the same target result may be merged), and the resource information in the merged target information may be merged, and the resource corresponding to the merged resource information may form a resource pool (such as a bonus pool) of the target result, and the resource information in the merged target information may be stored at the same address in the block chain.
In step S208, an intelligent contract corresponding to the target result is deployed in the blockchain network where the blockchain link point is located.
In implementation, after acquiring the aggregated target information, the block link point may determine a resource allocation manner that needs to be used, where the resource allocation manner may be preset by a target user or preset by a technician related to flag, and this is not limited in this embodiment of the present specification. The intelligent contract can be generated based on the target result, the resource information, the resource allocation mode and the like in the aggregated target information. Then, the intelligent contracts corresponding to the target results can be deployed in the blockchain network in which the blockchain link points are located.
In step S210, the resource information in the aggregated target information is subjected to a lockstep based on the intelligent contract.
In implementation, in order to ensure the security of the resource information in the block chain, the resource information may be subjected to a locking process, specifically, a locking process mechanism of the resource information may be preset in the intelligent contract, when it is detected that the resource information is stored in the block chain, a corresponding intelligent contract may be triggered, and the resource information in the aggregated target information may be subjected to the locking process through the locking process mechanism set in the intelligent contract. For example, a lock bin algorithm and a key are provided in a lock bin processing mechanism set in the smart contract, and then the block link point can lock the bin of the resource information based on the lock bin algorithm and the key, so that the security of the resource information can be improved.
In step S212, resource information delivered by the target information set up by the first user for the target user is received, and the delivered resource information is stored in the block chain 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 may be another user besides the target user.
In implementation, other users may supervise or watch the completion condition of the target corresponding to the target information of the target user, and for the supervision condition, the target user may invite the specified user to supervise the target user, and the target user may supervise the target information set by other users, and the like. Other users can also watch the target result in the target user, and certain resource information can be put in if the other users support the target result of the target user and think that the target user can finally complete the set target. At this time, the block chain node may receive resource information delivered by the target information set by the first user for the target user, may store the delivered resource information in the block chain storage area where the resource information in the aggregated target information is located, and may add the resource of the user to the resource pool corresponding to the target result, so as to increase the number of resources in the resource pool, so as to subsequently provide more resources for the user who has completed the set target.
In step S214, the resource information of the first user stored in the aggregated target information is subjected to the lockin process based on the smart contract.
In implementation, in order to ensure security of resource information in a block chain, the resource information of a first user stored in aggregated target information may be subjected to a locking processing, specifically, a locking processing mechanism of the resource information may be preset in an intelligent contract, when it is detected that the resource information of the first user is stored in the block chain, a corresponding intelligent contract may be triggered, the resource information of the first user is stored in an address where the resource information in the aggregated target information is located, and the locking processing mechanism set in the intelligent contract is used to perform the locking processing on the resource information of the first user.
In step S216, completion progress information provided by the target user for the target result in the target information is received.
In implementation, after a target user sets target information to be realized, the completion progress of a target corresponding to the target information can be uploaded to the block link points at a certain period or in a non-regular manner, the completion progress information of the target user can be recorded by shooting live videos in a live video mode, recording audios in an audio mode or writing text information and the like, and then the shot live videos, the recorded audios or the written text information are uploaded to the block link nodes.
The processing manner of step S216 may be various, and an optional processing manner is further provided below, which may specifically include the following: and when the progress reminding information of the target information set by the second user for the target user is acquired, receiving the completion progress information provided by the target user for the target result in the target information.
The second user may be any user, the second user may be a user other than the target user, and the like.
In implementation, the target user may invite a designated user (i.e., a second user) to supervise the target user, and when a predetermined period is reached, the second user may send progress reminding information to the target user, or when a time interval during which the second user determines that the target user does not provide completion progress information of the target result reaches a predetermined threshold (e.g., 10 days or 1 month, etc.), the second user may send progress reminding information to the target user. At this time, the block link point may receive progress prompting information of the target information set by the second user for the target user, and after the target user views the progress prompting information, the completion progress information provided for the target result in the target information may be uploaded to the block chain through the block chain node, so that the block link point may receive the completion progress information provided for the target result in the target information by the target user.
In step S218, the completion progress information is stored in the block chain, 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 video, image, audio, text information and the like shot by a target user from being stolen and used by other users, a copyright certificate may be generated for the video, image, audio and text information of the target user, and the video, image, audio and text information of the target user may be stored in a blockchain.
In step S220, when a predetermined time set for achieving the target result is reached, a result of the target information set for the target user is acquired from a predetermined database, and it is detected whether the acquired result satisfies a trigger condition of the smart contract.
The specific processing procedure of step S220 may refer to the related contents in step S106 in the first embodiment, and is not described herein again.
It should be noted that, if the result of the obtained target information cannot be matched with the trigger condition in the intelligent contract, it indicates that the result of the obtained target information does not satisfy the trigger condition of the intelligent contract, and the target user does not complete the set target, at this time, the target user will lose the resources corresponding to the released resource information, and in addition, the watching user will also lose the released resources, and the resources will be allocated to the user who has completed the target result, so that the resources allocated to the completed target result will be increased.
In step S222, if the obtained result satisfies the trigger condition of the intelligent contract, the time for the target user to set up the target information, the ratio between the resource information released by the target user and the resource information in the aggregated target information are obtained based on the intelligent contract.
Wherein, the time when the target user sets up the target information may be setting up the flag described above, and determining a time point at which the timer starts, and the like.
In implementation, the intelligent contract may further include a sub-contract or a processing mechanism for acquiring information such as time for setting up the target information by the target user, a ratio between the resource information released by the target user and the resource information in the aggregated target information, and when it is determined that the result acquired from the predetermined database matches the target result set in the intelligent contract, it may be indicated that the acquired result satisfies the trigger condition of the intelligent contract, and at this time, the time for setting up the target information by the target user, the ratio between the resource information released by the target user and the resource information in the aggregated target information may be acquired based on the sub-contract or the processing mechanism in the intelligent contract.
It should be noted that, for the case that the onlooker user puts in the resource information to the aggregated target information, the ratio between the resource information put in by the target user and all resource information corresponding to the target result (including the resource information in the aggregated target information and the resource information put in by the onlooker user) may be obtained. In practical applications, the intelligent contract-based information may be obtained by acquiring a time or a time period set to achieve a target result, in addition to the above information.
In step S224, based on the resource allocation algorithm in the intelligent contract, the resource information allocated to the target user is determined from the resource information in the aggregated target information according to the time for the target user to set up the target information, and the ratio between the resource information released by the target user and the resource information in the aggregated target information.
In an implementation, the intelligent contract may include trigger conditions and corresponding processing manners, and in an actual application, the intelligent contract may be program codes written in a predetermined program language, and accordingly, the processing manners corresponding to different trigger conditions may be different, and the processing manner may be data obtained by coding a corresponding resource allocation manner, or may be data set to simplify the content in the processing manner, for example, the resource allocation manner is allocation manner a, the corresponding processing manner may be denoted as K1, and the allocation manners a and K1 may be recorded, and a corresponding relationship between the allocation manners a and K1 may be constructed.
In order to implement the processing of resource allocation, in the process of generating an intelligent contract, a resource allocation algorithm may be preset, where the resource allocation algorithm may include a plurality of different algorithms, and may be specifically set according to an actual situation, which is not limited in this specification. The block chain node may input information such as time for the target user to set up the target information, a ratio between the resource information delivered by the target user and the resource information in the aggregated target information, and the like to the resource allocation algorithm for calculation based on a resource allocation algorithm in the intelligent contract, to obtain a corresponding calculation result, which is the resource information determined to be allocated to the target user from the resource information in the aggregated target information.
For example, the resource allocation algorithm in the intelligent contract performs resource allocation according to the proportion of the target user to deliver the resources, that is, if the proportion between the resource information delivered by the target user and the resource information in the aggregated target information is 30%, after the preset time set for achieving the target result is reached, the resources delivered by the users who do not complete the target result and the resources delivered by the users who view the target information of the users who do not complete the target result can be acquired, the resources delivered by the target user can be returned to the target user, and 30% of the resources delivered by the users who do not complete the target result and the resources delivered by the users who view the target information of the users who do not complete the target result can be allocated to the target user. In practical applications, the resource allocation algorithm may further include multiple algorithms, which may be specifically set according to practical situations, and this is not limited in this specification.
In step S226, if the obtained result satisfies the trigger condition of the intelligent contract, the resource information is allocated to the first user based on the intelligent contract.
In implementation, if the target user completes the set target, other users (i.e., the first user) who view the target user may also be allocated with the resource, specifically, an allocation algorithm for allocating the resource to the first user who views may be set in the intelligent contract, 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 the resource information may be allocated to the first user based on the corresponding allocation algorithm in the intelligent contract. For example, the allocation algorithm in the intelligent contract allocates resources according to the proportion of the resources released by the first user, that is, if the proportion between the resource information released by the first user and the resource information in the aggregated target information is 2%, the resources released by the users who have not completed the target result and the resources released by the users who have watched the target information of the users who have not completed the target result may be acquired after the predetermined time set for achieving the target result is reached, the resources released by the first user may be returned to the first user, and 2% of the resources released by the users who have not completed the target result and the resources released by the users who have watched the target information of the users who have not completed the target result and the like may be allocated to the first user.
The embodiment of the specification provides a user target processing method based on a block chain, which aggregates information of the same target result through a target result in target information to be realized set by a user, so that the target result corresponds to more resource information, and provides a greater incentive effect for the target user to realize a set target, in addition, an intelligent contract corresponding to the target result is deployed in the block chain, so that a result of the target information set for the target user, which is acquired from a predetermined database, is detected, and when the acquired result meets a trigger condition of the intelligent contract, resource information is allocated to the target user based on the intelligent contract, so that the target result, the resource information and the like cannot be tampered because data in the block chain cannot be tampered, and the real effectiveness of the set target result and the resource information can be ensured, and the corresponding data has better traceability.
In addition, whether the target result in the target information set by the target user is valid or not is determined by detecting whether the target result meets the preset theme or not, so that the fairness and transparency effectiveness of the target setting is further ensured. In addition, the resource information can be locked by the intelligent contract, so that the resource information is effectively prevented from being stolen by other people, and the information security of the user is improved.
EXAMPLE III
Based on the same idea, the block chain-based user target processing method provided in the embodiment of the present specification further provides a block chain-based user target processing apparatus, as shown in fig. 3.
The user target processing device based on the block chain comprises: an information receiving module 301, a contract deploying module 302, a detecting module 303 and a first resource allocating module 304, wherein:
the information receiving module 301 is configured to receive target information to be implemented, which is set by a target user and includes a target result to be implemented and resource information;
the contract deployment module 302 is configured to aggregate the target information that is the same as the target result to obtain aggregated target information, and deploy an intelligent contract corresponding to the target result to the block chain network where the block chain link point is located;
a detection module 303, configured to, when a predetermined time set for achieving the target result is reached, obtain a result of the target information set for the target user from a predetermined database, and detect whether the obtained result satisfies a trigger condition of the intelligent contract;
the first resource allocation module 304, if the obtained result meets the trigger condition of the intelligent contract, allocates resource information in the aggregated target information based on the intelligent contract.
In an embodiment of this specification, the apparatus further includes:
the resource information receiving module is used for receiving the resource information launched by the first user aiming at the target information set by the target user and storing the launched resource information in the block chain storage area where the resource information in the aggregated target information is located;
and the second resource allocation module is used for allocating resource information to the first user based on the intelligent contract if the acquired result meets the trigger condition of the intelligent contract.
In an embodiment of this specification, the apparatus further includes:
the progress information receiving module is used for receiving the completion progress information provided by the target user aiming at the target result in the target information;
and the storage module is used for storing the completion progress information in a block chain, wherein the completion progress information comprises one or more of video information, audio information, text information and preset check-in information.
In an embodiment of this specification, the progress information receiving module receives, when obtaining progress reminding information of target information set by a second user for the target user, completion progress information provided by the target user for a target result in the target information.
In this embodiment of the present specification, the contract deployment module 302 includes:
the theme detection unit is used for detecting whether a target result in the target information set by the target user conforms to a preset theme or not;
and the aggregation unit is used for aggregating the target information which is the same as the target result to obtain the aggregated target information if the target result of the target user conforms to a preset theme.
In this embodiment, the first resource allocation module 304 includes:
the information acquisition unit is used for acquiring the time for setting the target information by the target user, the ratio of the resource information released by the target user and the resource information in the aggregated target information based on the intelligent contract;
and the resource allocation unit is used for determining the resource information allocated to the target user from the resource information in the aggregated target information according to the time for setting the target information by the target user and the proportion between the resource information released by the target user and the resource information in the aggregated target information based on a resource allocation algorithm in the intelligent contract.
In an embodiment of this specification, the apparatus further includes:
and the locking module is used for locking the resources in the aggregated target information based on the intelligent contract and locking the resources stored in the aggregated target information of the first user based on the intelligent contract.
The embodiment of the present specification provides a user target processing apparatus based on a block chain, which aggregates information of the same target result through a target result in target information to be implemented set by a user, so as to enable the target result to correspond to more resource information, and provide a greater incentive for the target user to implement a set target, furthermore, by deploying an intelligent contract corresponding to the target result in the block chain, further detecting a result of the target information set for the target user, which is obtained from a predetermined database, and when it is detected that the obtained result satisfies a trigger condition of the intelligent contract, allocating resource information to the target user based on the intelligent contract, so that the target result, the resource information, and the like cannot be tampered because data in the block chain cannot be tampered, and thus the true validity of the set target result and the resource information can be ensured, and the corresponding data has better traceability.
In addition, whether the target result in the target information set by the target user is valid or not is determined by detecting whether the target result meets the preset theme or not, so that the fairness and transparency effectiveness of the target setting is further ensured. In addition, the resource information can be locked by the intelligent contract, so that the resource information is effectively prevented from being stolen by other people, and the information security of the user is improved.
Example four
Based on the same idea, the block chain-based user target processing apparatus provided in the embodiment of the present specification further provides a block chain-based user target processing device, as shown in fig. 4.
The user target processing device based on the block chain may be the block chain node provided in the foregoing embodiment, and the block chain node may be a terminal device or a server.
A user's target processing device based on a blockchain may have a large difference due to different configurations or performances, and may include one or more processors 401 and a memory 402, where one or more stored applications or data may be stored in the memory 402. Wherein memory 402 may be transient or persistent. The application program stored in memory 402 may include one or more modules (not shown), each of which may include a series of computer-executable instructions for a block-chain based user target processing device. Still further, the processor 401 may be configured to communicate with the memory 402 to execute a series of computer-executable instructions in the memory 402 on a blockchain based user target processing device. The blockchain-based user target processing apparatus may also include one or more power supplies 403, one or more wired or wireless network interfaces 404, one or more input-output interfaces 405, one or more keyboards 406.
In particular, in this embodiment, the blockchain based user target processing device includes a memory and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain based user target processing device, and the one or more programs configured to be executed by the one or more processors include computer executable instructions for:
receiving target information to be realized set by a target user, wherein the target information comprises a target result to be realized and resource information;
aggregating the target information which is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in a block chain network where the block chain link point is located;
when a preset time set for realizing the target result is reached, acquiring a result of the target information set for the target user from a preset database, and detecting whether the acquired result meets a trigger condition of the intelligent contract;
and if the obtained result meets the triggering condition of the intelligent contract, distributing the resource information in the aggregated target information based on the intelligent contract.
In this embodiment, before reaching the predetermined time set to achieve the target result, the method further includes:
receiving resource information launched by a first user aiming at the target information set by the target user, and storing the launched resource information in a block chain storage area where the resource information in the aggregated target information is located;
after the target user allocates resource information in the aggregated target information based on the intelligent contract if the obtained result meets the trigger condition of the intelligent contract, the method further includes:
and if the obtained result meets the trigger condition of the intelligent contract, allocating resource information to the first user based on the intelligent contract.
In this embodiment, before reaching the predetermined time set to achieve the target result, the method further includes:
receiving completion progress information provided by the target user for a target result in the target information;
and storing the completion progress information in a block chain, wherein the completion progress information comprises one or more of video information, audio information, text information and preset check-in information.
In an embodiment of this specification, the receiving completion progress information provided by the target user for the target result in the target information includes:
when progress reminding information of target information set by a second user for the target user is acquired, completing progress information provided by the target user for a target result in the target information is received.
In this embodiment of the present specification, the aggregating the target information that is the same as the target result to obtain aggregated target information includes:
detecting whether a target result in target information set by the target user conforms to a preset theme or not;
and if the target result of the target user accords with a preset theme, aggregating the target information which is the same as the target result to obtain the aggregated target information.
In this embodiment of this specification, the allocating, based on the intelligent contract, resource information in the aggregated target information by the target user includes:
acquiring the time for setting target information of the target user, the proportion between the resource information released by the target user and the resource information in the aggregated target information based on the intelligent contract;
and determining the resource information distributed for the target user from the resource information in the aggregated target information based on a resource distribution algorithm in the intelligent contract according to the time for setting the target information by the target user, the ratio of the resource information released by the target user and the resource information in the aggregated target information.
In the embodiment of this specification, the method further includes:
and locking the resources in the aggregated target information based on the intelligent contract, and locking the resources stored in the aggregated target information of the first user based on the intelligent contract.
The embodiment of the present specification provides a user target processing device based on a block chain, which aggregates information of the same target result through a target result in target information to be implemented set by a user, so as to enable the target result to correspond to more resource information, and provide a greater incentive for the target user to implement a set target, in addition, by deploying an intelligent contract corresponding to the target result in the block chain, further detecting a result of the target information set for the target user, which is obtained from a predetermined database, and when it is detected that the obtained result satisfies a trigger condition of the intelligent contract, allocating resource information to the target user based on the intelligent contract, so that the target result, the resource information, and the like cannot be tampered because data in the block chain cannot be tampered, and thus the true validity of the set target result and the resource information can be ensured, and the corresponding data has better traceability.
In addition, whether the target result in the target information set by the target user is valid or not is determined by detecting whether the target result meets the preset theme or not, so that the fairness and transparency effectiveness of the target setting is further ensured. In addition, the resource information can be locked by the intelligent contract, so that the resource information is effectively prevented from being stolen by other people, and the information security of the user is improved.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, 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 convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more software and/or hardware implementations in implementing one or more embodiments of the present description.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description 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 description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
Embodiments of the present description are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable blockchain based user target processing device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable blockchain based user target processing device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable blockchain-based user target processing device to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable block chain-based user target processing device to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, 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 Discs (DVD) or other optical storage, magnetic 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, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description 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 description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
One or more embodiments of the present description 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 the 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 memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present specification, and is not intended to limit the present specification. Various modifications and alterations to this description will become apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present specification should be included in the scope of the claims of the present specification.

Claims (12)

1. A user target processing method based on a block chain is applied to a block chain node, and the method comprises the following steps:
receiving target information to be realized set by a target user, wherein the target information comprises a target result to be realized and resource information;
aggregating the target information which is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in a block chain network where the block chain link point is located;
when a preset time set for realizing the target result is reached, acquiring a result of the target information set for the target user from a preset database, and detecting whether the acquired result meets a trigger condition of the intelligent contract;
and if the obtained result meets the triggering condition of the intelligent contract, distributing the resource information in the aggregated target information based on the intelligent contract.
2. The method of claim 1, further comprising, before reaching a predetermined time set to achieve the target result:
receiving resource information launched by a first user aiming at the target information set by the target user, and storing the launched resource information in a block chain storage area where the resource information in the aggregated target information is located;
after the target user allocates resource information in the aggregated target information based on the intelligent contract if the obtained result meets the trigger condition of the intelligent contract, the method further includes:
and if the obtained result meets the trigger condition of the intelligent contract, allocating resource information to the first user based on the intelligent contract.
3. The method of claim 1, further comprising, before reaching a predetermined time set to achieve the target result:
receiving completion progress information provided by the target user for a target result in the target information;
and storing the completion progress information in a block chain, wherein the completion progress information comprises one or more of video information, audio information, text information and preset check-in information.
4. The method of claim 3, the receiving completion progress information provided by the target user for a target result in the target information, comprising:
when progress reminding information of target information set by a second user for the target user is acquired, completing progress information provided by the target user for a target result in the target information is received.
5. The method of claim 1, wherein aggregating the target information that is the same as the target result to obtain aggregated target information comprises:
detecting whether a target result in target information set by the target user conforms to a preset theme or not;
and if the target result of the target user accords with a preset theme, aggregating the target information which is the same as the target result to obtain the aggregated target information.
6. The method of claim 1, the allocating resource information in the aggregated target information based on the intelligent contract comprises:
acquiring the time for setting target information of the target user, the proportion between the resource information released by the target user and the resource information in the aggregated target information based on the intelligent contract;
and determining the resource information distributed for the target user from the resource information in the aggregated target information based on a resource distribution algorithm in the intelligent contract according to the time for setting the target information by the target user, the ratio of the resource information released by the target user and the resource information in the aggregated target information.
7. The method of claim 2, further comprising:
and locking the resources in the aggregated target information based on the intelligent contract, and locking the resources stored in the aggregated target information of the first user based on the intelligent contract.
8. A blockchain-based user target processing apparatus, the apparatus comprising:
the information receiving module is used for receiving target information to be realized, which is set by a target user and comprises a target result to be realized and resource information;
the contract deployment module is used for aggregating the target information which is the same as the target result to obtain the aggregated target information and deploying the intelligent contract corresponding to the target result in the block chain network where the block chain link point is located;
the detection module is used for acquiring a result of the target information set for the target user from a preset database when preset time set for realizing the target result is reached, and detecting whether the acquired result meets the trigger condition of the intelligent contract or not;
and the first resource allocation module allocates the resource information in the aggregated target information based on the intelligent contract if the acquired result meets the trigger condition of the intelligent contract.
9. The apparatus of claim 8, the apparatus further comprising:
the resource information receiving module is used for receiving the resource information launched by the first user aiming at the target information set by the target user and storing the launched resource information in the block chain storage area where the resource information in the aggregated target information is located;
and the second resource allocation module is used for allocating resource information to the first user based on the intelligent contract if the acquired result meets the trigger condition of the intelligent contract.
10. The apparatus of claim 8, the apparatus further comprising:
the progress information receiving module is used for receiving the completion progress information provided by the target user aiming at the target result in the target information;
and the storage module is used for storing the completion progress information in a block chain, wherein the completion progress information comprises one or more of video information, audio information, text information and preset check-in information.
11. The apparatus of claim 8, the first resource allocation module, comprising:
the information acquisition unit is used for acquiring the time for setting the target information by the target user, the ratio of the resource information released by the target user and the resource information in the aggregated target information based on the intelligent contract;
and the resource allocation unit is used for determining the resource information allocated to the target user from the resource information in the aggregated target information according to the time for setting the target information by the target user and the proportion between the resource information released by the target user and the resource information in the aggregated target information based on a resource allocation algorithm in the intelligent contract.
12. A blockchain based user target processing device, the blockchain based user target processing device comprising:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving target information to be realized set by a target user, wherein the target information comprises a target result to be realized and resource information;
aggregating the target information which is the same as the target result to obtain aggregated target information, and deploying an intelligent contract corresponding to the target result in a block chain network where the block chain link point is located;
when a preset time set for realizing the target result is reached, acquiring a result of the target information set for the target user from a preset database, and detecting whether the acquired result meets a trigger condition of the intelligent contract;
and if the obtained result meets the triggering condition of the intelligent contract, distributing the resource information in the aggregated target information based on the intelligent contract.
CN201910912963.1A 2019-09-25 2019-09-25 User target processing method, device and equipment based on blockchain Active CN110689432B (en)

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 User target processing method, device and equipment based on blockchain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910912963.1A CN110689432B (en) 2019-09-25 2019-09-25 User target processing method, device and equipment based on blockchain

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
CN201910912963.1A Active CN110689432B (en) 2019-09-25 2019-09-25 User target processing method, device and equipment based on blockchain
CN202310976301.7A Pending CN117094820A (en) 2019-09-25 2019-09-25 User target processing method, device and equipment based on blockchain

Family Applications After (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) CN110689432B (en)

Citations (5)

* Cited by examiner, † Cited by third party
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 阿里巴巴集团控股有限公司 The measures and procedures for the examination and approval, device and the equipment that resource processing system, resource item are declared
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

Patent Citations (5)

* Cited by examiner, † Cited by third party
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 阿里巴巴集团控股有限公司 The measures and procedures for the examination and approval, device and the equipment that resource processing system, resource item are declared
CN110009498A (en) * 2019-03-29 2019-07-12 阿里巴巴集团控股有限公司 Resource allocation methods and device based on block chain

Also Published As

Publication number Publication date
CN117094820A (en) 2023-11-21
CN110689432B (en) 2023-08-22

Similar Documents

Publication Publication Date Title
CN107395557B (en) Service request processing method and device
CN107450981B (en) Block chain consensus method and equipment
CN107341702B (en) Service processing method and device
CN108667618B (en) Data processing method, device, server and system for member management of block chain
CN107767478B (en) Method and device for saving working record
CN107392623B (en) Service execution method and device
CN111614655A (en) Consensus checking method and device
CN110768897B (en) Block chain-based digital information authorization method and device
CN111159304A (en) Data processing method, device, equipment and system based on block chain
CN110263580B (en) Data processing method and device based on block chain and block chain link points
CN111815420B (en) Matching method, device and equipment based on trusted asset data
CN109583224A (en) A kind of privacy of user data processing method, device, equipment and system
CN109242677A (en) Object select method and device, electronic equipment
CN111899008B (en) Resource transfer method, device, equipment and system
CN111047327A (en) Intelligent contract execution method, device and equipment
CN116305298B (en) Method and device for managing computing power resources, storage medium and electronic equipment
CN110689432A (en) Block chain-based user target processing method, device and equipment
CN111125754A (en) Tobacco source tracing method, equipment and medium based on block chain double-chain structure
CN115511595A (en) Service execution method and device based on block chain
CN113674085A (en) Account limitation-removing method, device and equipment
Migliorini et al. A blockchain-based solution to fake check-ins in location-based social networks
CN112434347A (en) Rental business processing method, device, equipment and system
CN110648123A (en) Digital asset construction method and device and electronic equipment
CN113610640B (en) Event wind control method, device, equipment and storage medium based on alliance chain
CN109522733B (en) Data sharing method and device and processing equipment

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