CN111209113A - Resource allocation method, device, equipment and storage medium based on intelligent contract - Google Patents

Resource allocation method, device, equipment and storage medium based on intelligent contract Download PDF

Info

Publication number
CN111209113A
CN111209113A CN201911424676.2A CN201911424676A CN111209113A CN 111209113 A CN111209113 A CN 111209113A CN 201911424676 A CN201911424676 A CN 201911424676A CN 111209113 A CN111209113 A CN 111209113A
Authority
CN
China
Prior art keywords
resource allocation
information
account
intelligent contract
block chain
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
CN201911424676.2A
Other languages
Chinese (zh)
Other versions
CN111209113B (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.)
Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Original Assignee
Zhuo Erzhi Lian Wuhan Research Institute 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 Zhuo Erzhi Lian Wuhan Research Institute Co Ltd filed Critical Zhuo Erzhi Lian Wuhan Research Institute Co Ltd
Priority to CN201911424676.2A priority Critical patent/CN111209113B/en
Publication of CN111209113A publication Critical patent/CN111209113A/en
Application granted granted Critical
Publication of CN111209113B publication Critical patent/CN111209113B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • 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

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Business, Economics & Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Finance (AREA)
  • Accounting & Taxation (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • Technology Law (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention relates to a resource allocation method, a device, equipment and a storage medium based on an intelligent contract, wherein after receiving a resource allocation instruction, block link point equipment can execute a corresponding intelligent contract and acquire resource allocation amount and corresponding account information output by the intelligent contract, the intelligent contract is pre-deployed on the block link point equipment, the block link point equipment sends the resource allocation amount and the account information to a resource allocation server, first resource allocation credential information corresponding to the account information and fed back by the resource allocation server is sent to a target terminal, the target terminal can send second resource allocation credential information to the resource allocation server, and if the two pieces of resource allocation credential information are matched, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block link account. The method and the device can ensure that the resource allocation scheme is accurately and effectively executed, resources can be accurately allocated to the corresponding block chain accounts, and the reliability of resource allocation is improved.

Description

Resource allocation method, device, equipment and storage medium based on intelligent contract
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method and an apparatus for resource allocation based on an intelligent contract, a blockchain link point device, and a computer-readable storage medium.
Background
With the development of information processing technology, computer devices such as personal computers, mobile terminals, and servers are connected via a network, so that users can improve the efficiency of information processing via the computer devices, and particularly, users can allocate various resources via the computer devices connected via the network.
However, resource allocation usually involves information interaction among multiple parties, and the resource allocation scheme provided by the conventional technology is prone to situations of information asymmetry, information separation, difficulty in tracing and the like in the process of formulating the resource allocation scheme, so that the reliability of resource allocation by the technology is low.
Disclosure of Invention
Based on this, it is necessary to provide a resource allocation method, apparatus, block link point device and computer readable storage medium based on an intelligent contract for the technical problem of low reliability of resource allocation in the conventional technology.
A resource allocation method based on intelligent contracts is applied to block chain node equipment, and the method comprises the following steps:
acquiring a resource allocation instruction;
executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information;
sending the resource allocation amount and the account information to a resource allocation server;
receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server;
sending the first resource allocation credential information to a target terminal corresponding to the terminal identification information, wherein the target terminal is used for sending second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information is matched with the first resource allocation credential information, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
An apparatus for resource allocation based on intelligent contracts, applied to a blockchain node device, the apparatus comprising:
the instruction acquisition module is used for acquiring a resource allocation instruction;
the contract execution module is used for executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information;
the information sending module is used for sending the resource allocation amount and the account information to a resource allocation server;
the information receiving module is used for receiving first resource allocation voucher information which is sent by the resource allocation server and corresponds to the account information;
a resource allocation module, configured to send the first resource allocation credential information to a target terminal corresponding to the terminal identification information, where the target terminal sends second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information matches the first resource allocation credential information, the resource allocation server allocates a resource corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
A block link point device comprising a memory and a processor, the memory storing a computer program which when executed by the processor effects the steps of:
acquiring a resource allocation instruction; executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information; sending the resource allocation amount and the account information to a resource allocation server; receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server; sending the first resource allocation credential information to a target terminal corresponding to the terminal identification information, wherein the target terminal is used for sending second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information is matched with the first resource allocation credential information, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring a resource allocation instruction; executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information; sending the resource allocation amount and the account information to a resource allocation server; receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server; sending the first resource allocation credential information to a target terminal corresponding to the terminal identification information, wherein the target terminal is used for sending second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information is matched with the first resource allocation credential information, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
According to the resource allocation method, the device, the equipment and the storage medium based on the intelligent contract, after receiving a resource allocation instruction, the block link point equipment can execute a corresponding intelligent contract and acquire the resource allocation amount output by the intelligent contract and the corresponding account information, the intelligent contract is pre-deployed on the block link point equipment, so that the resource allocation amount and the account information corresponding to the resource allocation instruction can be ensured to be accurate and effective, then the block link node equipment sends the resource allocation amount and the account information to the resource allocation server and sends the first resource allocation voucher information corresponding to the account information and fed back by the resource allocation server to the target terminal, the target terminal can send the second resource allocation voucher information to the resource allocation server, if the two resource allocation voucher information are matched, the resource allocation server allocates the resource corresponding to the resource allocation amount to the target block link account, the resource allocation scheme is accurately and effectively executed by combining the blockchain technology with the intelligent contract, and the corresponding resources can be accurately allocated to the corresponding blockchain accounts by comparing and matching the certificate information, so that the reliability of resource allocation is improved.
Drawings
FIG. 1 is a diagram of an application environment for a resource allocation method based on intelligent contracts, according to an embodiment;
FIG. 2 is a schematic flow diagram of a method for intelligent contract-based resource allocation in one embodiment;
FIG. 3 is a flow chart illustrating a resource allocation method based on intelligent contracts for an application example;
FIG. 4 is a block diagram of an apparatus for allocating resources based on smart contracts in one embodiment;
fig. 5 is an internal structural view of a block link point device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
Fig. 1 is an application environment diagram of a resource allocation method based on an intelligent contract in an embodiment, where the application environment may include a block-link point device 110, a resource allocation server 120, and a target terminal 130, the block-link point device 110 may communicate with the resource allocation server 120 and the target terminal 130 through a network, the resource allocation server 120 may also communicate with the target terminal 130 through the network, and the block-link point device 110, the resource allocation server 120, and the target terminal 130 may also be connected to the same block chain.
Specifically, the block link point device 110 obtains a resource allocation instruction, and executes a corresponding intelligent contract according to the resource allocation instruction, so as to obtain a resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the smart contract may be pre-deployed on a block chain where the block-link point device 110 is located, and may be executed by the block-link point device 110. The intelligent contract is mainly used for determining a resource allocation amount and account information according to a resource allocation instruction received by the blockchain device 110, where the account information may include terminal identification information and blockchain account identification information. Then, the block-link point device 110 may send the obtained resource allocation amount and account information to the resource allocation server 120, the resource allocation server 120 may generate corresponding first resource allocation credential information according to the account information, and feed back the first resource allocation credential information to the block-link point device 110, the block-link point device 110 receives the first resource allocation credential information corresponding to the account information sent by the resource allocation server 120 and sends the first resource allocation credential information to the target terminal 130 corresponding to the terminal identification information, the target terminal 130 sends second resource allocation credential information to the resource allocation server 120, so that when the second resource allocation credential information matches the first resource allocation credential information, the resource allocation server 120 allocates the resource corresponding to the resource allocation amount to the target block chain account, where the target block chain account is the block chain account corresponding to the block chain account identification information, and thus, after receiving the resource allocation instruction, allocating the corresponding resources to the corresponding blockchain accounts.
The block-link node device 110 and the target terminal 130 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the resource allocation server 120 may be implemented by an independent server or a server cluster composed of a plurality of servers.
In an embodiment, as shown in fig. 2, fig. 2 is a flowchart illustrating a resource allocation method based on a smart contract in an embodiment, which is described by taking the method as an example for being applied to the block-linked node device 110 in fig. 1, and includes the following steps:
in step S201, a resource allocation instruction is acquired.
In this step, the blockchain link point device 110 may obtain a resource allocation instruction, which may be used to transfer the corresponding resource to some accounts of the blockchain. The resource allocation instruction may be a resource allocation instruction triggered when a certain condition is met, taking a commodity transaction scenario as an example, when a commodity is traded (i.e., a transaction event is generated), transaction information corresponding to a commodity barcode may be acquired by a barcode scanning gun of a supermarket, the transaction information may be recorded by a cashier system, and the block link node device 110 may generate the resource allocation instruction according to the transaction information after detecting that the transaction event is triggered. The transaction information may also be synchronously uploaded to the blockchain for storage after being acquired by the blockchain node device 110, so as to implement resource allocation traceability. In addition to triggering generation of resource allocation instructions in the form of detection of an associated specific event (such as a transaction event described above), generation of resource allocation instructions may also be triggered at specific times, such as (triggering resource allocation instructions once per morning at 8:00 pm, 20:00 pm, respectively), or may be triggered by specific authorized accounts of the block chain.
Step S202, executing the corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and the account information corresponding to the resource allocation amount.
In this step, after acquiring the resource allocation command, the block link point device 110 may execute the corresponding intelligent contract according to the resource allocation command. The intelligent contracts may be pre-deployed in the blockchain and automatically executed on the blockchain link point device 110, and the intelligent contracts deployed in the blockchain may include multiple intelligent contracts, where the intelligent contracts are executed when different resource allocation instructions are received and correspond to different resource allocation instructions. Taking a commodity transaction scenario as an example, different commodities can generate different transaction information when being transacted, and the block link node device 110 can generate corresponding resource allocation instructions according to the different transaction information, so as to execute different intelligent contracts according to the different resource allocation instructions. Specifically, the intelligent contract is mainly used for determining the resource allocation amount and the account information according to the resource allocation instruction, that is, for determining different allocation proportions and account information corresponding to the different allocation proportions according to the specific resource allocation instruction. The account information may include terminal identification information and blockchain account identification information, where the terminal identification information is used to identify the target terminal 130 shown in fig. 1, and the blockchain account identification information is used to identify a corresponding account on the blockchain.
Step S203, sending the resource allocation amount and the account information to a resource allocation server;
in this step, the blockchain link point device 110 needs to send the resource allocation amount and the account information (including the blockchain account information and the terminal identification information) to the resource allocation server 120. After receiving the resource allocation amount and the account information, the resource allocation server 120 may divide the stored resources to be allocated according to the resource allocation amount to obtain the resources corresponding to the resource allocation amount. Meanwhile, the resource allocation server 120 further generates first resource allocation credential information according to the terminal identification information in the account information, where the first resource allocation credential information is mainly used to verify the identity of the target terminal 130, so as to verify that the user requesting resource allocation through the target terminal 130 is the same user as the blockchain account corresponding to the blockchain account identification information, and in a specific implementation, the first resource allocation credential information may be a short message credential code, question and answer verification information, and the like.
Step S204, receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server.
The block link node device 110 receives the first resource allocation credential information corresponding to the account information fed back by the resource allocation server 120.
Step S205, sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information.
In this step, after receiving the first resource allocation credential information, the blockchain node device 110 sends the first resource allocation credential information to the target terminal 130 corresponding to the terminal identification information, so that the target terminal 130 may generate corresponding second resource allocation credential information according to the first resource allocation credential information, and send the second resource allocation credential information to the resource allocation server 120, so as to request the resource allocation server 120 to send the corresponding resource to the target blockchain account. Specifically, when the first resource allocation credential information matches the second resource allocation credential information, the resource allocation server 120 may determine that the user requesting resource allocation through the target terminal 130 is the same user as the blockchain account corresponding to the blockchain account identification information, so that the resource corresponding to the resource allocation amount may be allocated to the target blockchain account, where the target blockchain account is the blockchain account corresponding to the blockchain account identification information, and complete the process of allocating the resource in a specific proportion to the corresponding blockchain account.
In the resource allocation method based on the intelligent contract, after receiving a resource allocation instruction, the block link point device may execute a corresponding intelligent contract and obtain a resource allocation amount and corresponding account information output by the intelligent contract, the intelligent contract is pre-deployed on the block link point device, so that the resource allocation amount and the account information corresponding to the resource allocation instruction can be ensured to be accurate and effective, then the block link node device sends the resource allocation amount and the account information to the resource allocation server, and sends first resource allocation credential information corresponding to the account information, which is fed back by the resource allocation server, to the target terminal, the target terminal may send second resource allocation credential information to the resource allocation server, and if the two pieces of resource allocation credential information are matched, the resource allocation server allocates a resource corresponding to the resource allocation amount to the target block link account, the resource allocation scheme is accurately and effectively executed by combining the blockchain technology with the intelligent contract, and the corresponding resources can be accurately allocated to the corresponding blockchain accounts by comparing and matching the certificate information, so that the reliability of resource allocation is improved.
In one embodiment, the method for allocating resources based on intelligent contracts may further include the following steps:
acquiring an initial intelligent contract set by an authorized blockchain account; and if the instruction number of the authorization instructions received by the block chain node point equipment is the same as the total number of the accounts of the authorized block chain accounts within the set time range, deploying the initial intelligent contract serving as an intelligent contract to the block chain node point equipment.
The embodiment can set the intelligent contracts deployed on the blockchain by authorizing the blockchain accounts. Specifically, the block-link point device 110 may obtain an initial intelligent contract set by an authorized block chain account, the authorized block chain accounts on the block chain may include a plurality of authorized blocks, the authorized account initiating the initial intelligent contract may be one of the authorized blocks, and the block-link point device 110 may not deploy the initial intelligent contract received by the initial intelligent contract, but need to wait for each authorized block chain account to perform authorization verification respectively. The blockchain node device 110 may wait for an authorization instruction of each authorized blockchain account for the initial intelligent contract within a set time range. Each authorized block chain account can generate an authorization instruction for an initial intelligent contract and send the authorization instruction to the block chain node device 110, the block chain node device 110 receives the authorization instruction sent by each authorized block chain account within a set time range, counts the instruction number of the received authorization instruction, and if the instruction number is the same as the total number of accounts with which the account is blocked by the authorized library, deploys the initial intelligent contract as an intelligent contract on the block chain node device 110, and waits for the resource allocation instruction to be automatically triggered and executed. When the intelligent contract is deployed, authorization verification of each authorization blockchain account is required, so that the reliability of resource allocation can be further improved through the intelligent contract determined in the form.
In an embodiment, the step of obtaining the initial intelligent contract set by the authorized blockchain account may further include:
determining a candidate resource allocation scheme selected by an authorized blockchain account from a plurality of base resource allocation schemes corresponding to resources to be allocated; acquiring scheme correction information of the candidate resource allocation scheme by the authorized blockchain account; the scheme correction information is set by the authorized block chain account according to the resource allocation scene of the resource to be allocated; correcting the candidate resource allocation scheme according to the scheme correction information to obtain an initial intelligent contract; the initial intelligent contract comprises the resource allocation amount of the resource to be allocated and account information corresponding to the resource allocation amount.
The embodiment mainly provides a mode for generating the initial intelligent contract. In this embodiment, the blockchain node device 110 may first determine a candidate resource allocation scheme selected from a plurality of basic resource allocation schemes corresponding to resources to be allocated by the authorized blockchain account. Wherein a plurality of basic resource allocation schemes for the resources to be allocated can be provided to each authorized blockchain account in advance, so that one of the authorized blockchain accounts can be selected as a candidate resource allocation scheme, the efficiency of generating the initial intelligent contract is improved, after determining the candidate resource allocation scheme, the blockchain node device 110 may further obtain scheme modification information of the authorized blockchain account for the candidate resource allocation scheme, the scheme revision information may be set by the authorized blockchain account according to the resource allocation scenario of the resource to be allocated, that is, the method can provide a scheme correction function for the authorized blockchain account, so that the authorized blockchain account can be corrected based on the candidate resource allocation scheme, and the resource allocation scheme does not need to be re-formulated when the scheme does not meet the actual requirement, so that the intelligent contract generation efficiency is improved. Then, the block-node device 110 may modify the candidate resource allocation scheme according to the scheme modification information, and further use the modified candidate resource allocation scheme as the initial intelligent contract.
In one embodiment, the executing the corresponding intelligent contract according to the resource allocation instruction in step S202 may include:
and determining the corresponding contract execution time according to the resource allocation instruction, and executing the intelligent contract if the current time is the same as the contract execution time.
In this embodiment, after receiving the resource allocation command, the block link point device 110 may determine a corresponding contract execution time according to the resource allocation command. The contract execution time can be preset, for example, the contract execution time is set to 8:00 a morning or 20:00 a night for all resource allocation instructions, and if the current time is 8:00 a morning or 20:00 a night, the intelligent contract can be automatically executed; in addition, the contract execution time can be set according to different resource allocation instructions, so that corresponding intelligent contracts can be executed at different times, and the resource allocation is more flexible.
In one embodiment, the sending of the first resource allocation credential information to the target terminal corresponding to the terminal identification information in step S205 may be further configured to: the target terminal carries out digital signature on the first resource allocation certificate information by using a private key of the target block chain account to obtain second resource allocation certificate information and sends the second resource allocation certificate information to the resource allocation server; the second resource allocation credential information may be used for the resource allocation server to determine whether the second resource allocation credential information matches the first resource allocation credential by using the public key of the target block chain account.
In this embodiment, after the blockchain node device 110 sends the first resource allocation credential information to the target terminal 130, the target terminal 130 needs to perform digital signature on the first resource allocation credential information by using the private key of the target blockchain account, so as to further ensure that the user corresponding to the target terminal 130 and the user corresponding to the target blockchain account belong to the same user, and ensure the reliability of resource allocation. Then, the target terminal 130 needs to send the second resource allocation credential information obtained by digitally signing the first resource allocation credential information with the private key of the target block chain account to the resource allocation server 120, the resource allocation server 120 may determine whether the second resource allocation credential information matches the first resource allocation credential with the public key of the target block chain account, if the second resource allocation credential information matches the first resource allocation credential, the corresponding resource may be allocated to the target block chain account, and if the second resource allocation credential information does not match the first resource allocation credential, the resource may not be allocated to the target block chain account.
In some further embodiments, the first resource allocation credential information may include questioning information associated with resource attributes of the resource; the sending of the first resource allocation credential information to the target terminal corresponding to the terminal identification information in step S205 may be further configured to: and the target terminal acquires answer information corresponding to the question information, acquires second resource distribution certificate information according to the answer information, and sends the second resource distribution certificate information to the resource distribution server so that the resource distribution server judges whether the second resource distribution certificate information is matched with the first resource distribution certificate or not according to the answer information and the question information.
The embodiment mainly provides a mode of information question answering associated with the resource attribute so as to ensure the reliability of resource allocation. Specifically, the first resource allocation credential information generated by the resource allocation server 120 may include question information associated with a resource attribute of the resource, for example, question information associated with a resource attribute such as a resource size and a resource type of the resource, and the resource allocation server 120 may use the question information as the first resource allocation credential information. Then, the blockchain node device 110 sends the first resource allocation voucher information to the target terminal 130, the user of the target terminal 130 can answer the question information, the target terminal 130 can obtain the answer information of the user to the question information, send the answer information as the second resource allocation voucher information to the resource allocation server 120, the resource allocation server 120 can compare the standard answer corresponding to the question information with the answer information, thereby determining whether the second resource allocation credential information matches the first resource allocation credential, if the answer information is the same as the standard answer, it may be considered that the second resource allocation credential information matches the first resource allocation credential, and the resource allocation server 120 allocates the corresponding resource to the target blockchain account, and if not, the resource allocation server 120 may not allocate the resource to the target blockchain account.
In one embodiment, the intelligent contract may be further configured to determine a corresponding resource allocation time limit according to the resource allocation instruction; the resource allocation method based on the intelligent contract further comprises the following steps:
acquiring resource allocation time limit output by an intelligent contract; and sending the resource allocation time limit to a resource allocation server.
In this embodiment, the resource allocation time limit may be preset on the intelligent contract, and different resource allocation instructions may correspond to different resource allocation time limits. The resource allocation time limit is used to indicate that, if the resource allocation server receives the second resource allocation credential information sent by the target terminal 130 within the resource allocation time limit, the resource may be allocated to the target blockchain account when the second resource allocation credential information matches the first resource allocation credential information. The resource allocation time limit may be used to indicate that, if the resource allocation server 130 receives the second resource allocation credential information outside the resource allocation time limit, the resource allocation server 130 may set the second resource allocation credential information as invalid credential information, in which case, since the second resource allocation information is invalid credential information, even though the second resource allocation information and the first resource allocation information may be matched with each other, the resource allocation server 130 may not allocate the resource to the target blockchain account since the resource allocation time limit specified by the smart contract is exceeded, so as to improve the reliability of resource allocation from the viewpoint of limiting the resource extraction time.
The following describes the application of the above-mentioned resource allocation method based on intelligent contracts to online diversity scenarios. The method comprises the following steps of dividing profits into various interest relevant parties in real time after a transaction is completed, and applying a block chain to combine intelligent contracts, wherein resources can be reliably and timely distributed to various block chain accounts corresponding to the interest relevant parties, as shown in fig. 3, fig. 3 is a flow diagram of a resource distribution method of an application example based on the intelligent contracts, and the main idea of the application example is to adopt the intelligent contracts as a supporting technology, one of the characteristics of the intelligent contracts is to require to compile rules for defining the intelligent contracts before application, a dividing and lubricating mechanism is defined in the intelligent contracts, and the dividing and lubricating mechanism can be actually adjusted according to application scenes, but mainly comprises a fixed proportion distribution rule, a step-type distribution rule and an accumulative distribution rule.
The method mainly comprises the following steps:
at step s1, an intelligent contract for the break is created. The intelligent contract comprises basic functions, such as functions of inquiring, calling, transferring and the like.
Step s2, setting the execution condition of the intelligent contract. I.e., the condition settings that trigger the execution of the smart contract, include event triggers (after each transaction is completed), time triggers (each execution at 8:00 am and 20:00 pm each day), or user triggers (initiated by an authorized user).
And step s3, setting the execution process of the intelligent contract. When the intelligent contract is triggered to be executed, acquiring input values (transaction amount, transaction commodity type, price and quantity qualification, obtained according to commodity types, and the like) of one or more transactions, acquiring a run-out rule, acquiring right-of-interest information (account), and executing profit distribution, wherein the run-out rule can be as follows:
1. and (3) fixed proportion distribution: the profit that the right beneficiary a can divide into (total transaction amount-total cost-total tax amount) a corresponding profit proportion can be expressed as:
total profit P ═ revenue-cost-tcx
PA=P×ratioA
If a total of n beneficiaries, their profit totals no more than 100%, i.e. they share
Figure BDA0002353235310000121
The reason that it may be less than 100% is that a portion of the net profit may be cycled into business, development, or as a pool of incentives, etc., based on the negotiation of the rights beneficiary.
2. Stepwise distribution, can be
Figure BDA0002353235310000122
Or the following steps:
Figure BDA0002353235310000123
3. cumulative distribution.
According to the profit allotment C that the right beneficiary A (in the current year or month) has accumulated to gainAAnd (6) performing calculation.
Figure BDA0002353235310000124
Wherein the percentage and the interval of 2 and 3 can be adjusted according to the actual scene.
At step s4, the stakeholder applies the intelligent contract after passing through the scenario. In principle, once the intelligent contract is compiled and run, it is troublesome to change the function, and a new intelligent contract is generally made after the intelligent contract is cancelled. The intelligent contracts are officially run online with consent from the equity relevant parties (e.g., multiple sign-on verification) and are required to provide relevant blockchain account information in order to distribute profits to the corresponding accounts.
And step s5, automatically executing the moistening intelligent contract.
In the present application example, the specific form of the profit resource may be credit, legal currency, or virtual currency. The stakeholders may differ from transaction to transaction. For example, ABC participates in the distribution of product 1, ACD participates in the distribution of product 2, and the block chain system can automatically match according to the transaction.
The application example can realize reliable and real-time distribution of trading profit resources, and the profit resources are faster and more transparent among the block chain accounts corresponding to the interest parties by means of the block chain and intelligent contract technology, so that the cost of mutual information interaction is saved, and the reliability of resource distribution is improved.
It should be understood that although the steps in the flowcharts of fig. 2 to 3 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-3 may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed in turn or alternately with other steps or at least some of the sub-steps or stages of other steps.
In one embodiment, as shown in fig. 4, fig. 4 is a block diagram of a resource allocation apparatus based on an intelligent contract in an embodiment, and provides a resource allocation apparatus based on an intelligent contract, which is applied to a block-node device, and includes:
an instruction obtaining module 401, configured to obtain a resource allocation instruction;
a contract execution module 402, configured to execute a corresponding intelligent contract according to the resource allocation instruction, and obtain a resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is pre-deployed in the block link point equipment and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information;
an information sending module 403, configured to send the resource allocation amount and the account information to the resource allocation server;
an information receiving module 404, configured to receive first resource allocation credential information corresponding to account information sent by a resource allocation server;
a resource allocation module 405, configured to send the first resource allocation credential information to a target terminal corresponding to the terminal identification information, and to send the second resource allocation credential information to the resource allocation server by the target terminal, so that when the second resource allocation credential information matches the first resource allocation credential information, the resource allocation server allocates the resource corresponding to the resource allocation amount to the target block chain account; and the target block chain account is the block chain account corresponding to the block chain account identification information.
In one embodiment, the apparatus may further include:
the contract generating module is used for acquiring an initial intelligent contract set by the authorized blockchain account; if the instruction number of the authorization instructions received by the block chain node point equipment is the same as the total number of the accounts of the authorized block chain accounts within the set time range, deploying the initial intelligent contract serving as an intelligent contract to the block chain node point equipment; the authorization instructions are generated for an initial intelligent contract for an authorization blockchain account.
In one embodiment, the contract generation module is further configured to determine a candidate resource allocation scheme selected by the authorized blockchain account from a plurality of base resource allocation schemes corresponding to resources to be allocated; acquiring scheme correction information of the candidate resource allocation scheme by the authorized blockchain account; the scheme correction information is set by the authorized block chain account according to the resource allocation scene of the resource to be allocated; correcting the candidate resource allocation scheme according to the scheme correction information to obtain an initial intelligent contract; the initial intelligent contract comprises the resource allocation amount of the resource to be allocated and account information corresponding to the resource allocation amount.
In one embodiment, the contract execution module 402 is further configured to: determining corresponding contract execution time according to the resource allocation instruction; and if the current time is the same as the contract execution time, executing the intelligent contract.
In one embodiment, the resource allocation module 405 is further configured to: the target terminal carries out digital signature on the first resource allocation certificate information by using a private key of the target block chain account to obtain second resource allocation certificate information and sends the second resource allocation certificate information to the resource allocation server; and the second resource allocation certificate information is used for the resource allocation server to judge whether the second resource allocation certificate information is matched with the first resource allocation certificate by using the public key of the target block chain account.
In one embodiment, the first resource allocation credential information comprises challenge information associated with a resource attribute of the resource; a resource allocation module 405, further configured to: and the target terminal acquires answer information corresponding to the question information, acquires second resource distribution certificate information according to the answer information, and sends the second resource distribution certificate information to the resource distribution server so that the resource distribution server judges whether the second resource distribution certificate information is matched with the first resource distribution certificate or not according to the answer information and the question information.
In one embodiment, the intelligent contract is further configured to determine a corresponding resource allocation time limit according to the resource allocation instruction; the above apparatus may further include:
the time limit processing module is used for acquiring the resource allocation time limit output by the intelligent contract; sending the resource allocation time limit to a resource allocation server; the resource allocation time limit is used for indicating that if the resource allocation server receives second resource allocation certificate information within the resource allocation time limit, the resource is allocated to the target block chain account when the second resource allocation certificate information is matched with the first resource allocation certificate information; and the resource allocation time limit is also used for indicating that if the resource allocation server receives the second resource allocation certificate information outside the resource allocation time limit, the second resource allocation certificate information is set as invalid certificate information.
For specific definition of the resource allocation device based on the intelligent contract, reference may be made to the definition of the resource allocation method based on the intelligent contract, and details are not described here. The modules in the resource allocation device based on the intelligent contract can be wholly or partially realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a block link point device is provided, and the block link point device may be a terminal or a server, and its internal structure diagram may be as shown in fig. 5, and fig. 5 is an internal structure diagram of the block link point device in one embodiment. The block link node device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the block-linked dot device is configured to provide computational and control capabilities. The memory of the block chain link point device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the block link node device is used for communicating with an external terminal through network connection. The computer program is executed by a processor to implement a method of resource allocation based on an intelligent contract.
Those skilled in the art will appreciate that the structure shown in fig. 5 is a block diagram of only a portion of the structure relevant to the present teachings and does not constitute a limitation on the block chain node devices to which the present teachings are applied, and that a particular block chain node device may include more or fewer components than shown in the figures, or combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a block link point device comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program implementing the steps of:
acquiring a resource allocation instruction; executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information; sending the resource allocation amount and the account information to a resource allocation server; receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server; sending the first resource allocation credential information to a target terminal corresponding to the terminal identification information, wherein the target terminal is used for sending second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information is matched with the first resource allocation credential information, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
acquiring an initial intelligent contract set by an authorized blockchain account; if the instruction number of the authorization instructions received by the block chain node equipment is the same as the total account number of the authorized block chain accounts within the set time range, deploying the initial intelligent contract serving as the intelligent contract to the block chain node equipment; the authorization instructions are generated by the authorization blockchain account for the initial smart contract.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining a candidate resource allocation scheme selected by the grant blockchain account from a plurality of base resource allocation schemes corresponding to resources to be allocated; acquiring scheme correction information of the candidate resource allocation scheme by the authorized blockchain account; the scheme correction information is set by the authorized blockchain account according to the resource allocation scene of the resource to be allocated; correcting the candidate resource allocation scheme according to the scheme correction information to obtain the initial intelligent contract; the initial intelligent contract comprises the resource allocation amount of the resource to be allocated and account information corresponding to the resource allocation amount.
In one embodiment, the processor, when executing the computer program, further performs the steps of:
determining corresponding contract execution time according to the resource allocation instruction; and if the current time is the same as the contract execution time, executing the intelligent contract.
In an embodiment, the sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information is further configured to: the target terminal carries out digital signature on the first resource allocation certificate information by using a private key of the target block chain account to obtain second resource allocation certificate information and sends the second resource allocation certificate information to the resource allocation server; the second resource allocation credential information is used for the resource allocation server to determine whether the second resource allocation credential information matches the first resource allocation credential by using the public key of the target block chain account.
In one embodiment, the first resource allocation credential information comprises quiz information associated with a resource attribute of the resource; the sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information is further configured to: and the target terminal acquires answer information corresponding to the question information, acquires the second resource allocation certificate information according to the answer information, and sends the second resource allocation certificate information to the resource allocation server so that the resource allocation server judges whether the second resource allocation certificate information is matched with the first resource allocation certificate or not according to the answer information and the question information.
In one embodiment, the intelligent contract is further configured to determine a corresponding resource allocation time limit according to the resource allocation instruction; the processor, when executing the computer program, further performs the steps of:
acquiring the resource allocation time limit output by the intelligent contract; sending the resource allocation time limit to the resource allocation server; wherein the resource allocation time limit is used to indicate that, if the resource allocation server receives the second resource allocation credential information within the resource allocation time limit, the resource is to be allocated to a target block chain account when the second resource allocation credential information matches the first resource allocation credential information; the resource allocation time limit is further configured to indicate that, if the resource allocation server receives the second resource allocation credential information outside the resource allocation time limit, the second resource allocation credential information is set as invalid credential information.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of:
acquiring a resource allocation instruction; executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information; sending the resource allocation amount and the account information to a resource allocation server; receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server; sending the first resource allocation credential information to a target terminal corresponding to the terminal identification information, wherein the target terminal is used for sending second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information is matched with the first resource allocation credential information, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
acquiring an initial intelligent contract set by an authorized blockchain account; if the instruction number of the authorization instructions received by the block chain node equipment is the same as the total account number of the authorized block chain accounts within the set time range, deploying the initial intelligent contract serving as the intelligent contract to the block chain node equipment; the authorization instructions are generated by the authorization blockchain account for the initial smart contract.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining a candidate resource allocation scheme selected by the grant blockchain account from a plurality of base resource allocation schemes corresponding to resources to be allocated; acquiring scheme correction information of the candidate resource allocation scheme by the authorized blockchain account; the scheme correction information is set by the authorized blockchain account according to the resource allocation scene of the resource to be allocated; correcting the candidate resource allocation scheme according to the scheme correction information to obtain the initial intelligent contract; the initial intelligent contract comprises the resource allocation amount of the resource to be allocated and account information corresponding to the resource allocation amount.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining corresponding contract execution time according to the resource allocation instruction; and if the current time is the same as the contract execution time, executing the intelligent contract.
In an embodiment, the sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information is further configured to: the target terminal carries out digital signature on the first resource allocation certificate information by using a private key of the target block chain account to obtain second resource allocation certificate information and sends the second resource allocation certificate information to the resource allocation server; the second resource allocation credential information is used for the resource allocation server to determine whether the second resource allocation credential information matches the first resource allocation credential by using the public key of the target block chain account.
In one embodiment, the first resource allocation credential information comprises quiz information associated with a resource attribute of the resource; the sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information is further configured to: and the target terminal acquires answer information corresponding to the question information, acquires the second resource allocation certificate information according to the answer information, and sends the second resource allocation certificate information to the resource allocation server so that the resource allocation server judges whether the second resource allocation certificate information is matched with the first resource allocation certificate or not according to the answer information and the question information.
In one embodiment, the intelligent contract is further configured to determine a corresponding resource allocation time limit according to the resource allocation instruction; the computer program when executed by the processor further realizes the steps of:
acquiring the resource allocation time limit output by the intelligent contract; sending the resource allocation time limit to the resource allocation server; wherein the resource allocation time limit is used to indicate that, if the resource allocation server receives the second resource allocation credential information within the resource allocation time limit, the resource is to be allocated to a target block chain account when the second resource allocation credential information matches the first resource allocation credential information; the resource allocation time limit is further configured to indicate that, if the resource allocation server receives the second resource allocation credential information outside the resource allocation time limit, the second resource allocation credential information is set as invalid credential information.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A resource allocation method based on intelligent contracts is applied to a block chain node device, and the method comprises the following steps:
acquiring a resource allocation instruction;
executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information;
sending the resource allocation amount and the account information to a resource allocation server;
receiving first resource allocation credential information corresponding to the account information sent by the resource allocation server;
sending the first resource allocation credential information to a target terminal corresponding to the terminal identification information, wherein the target terminal is used for sending second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information is matched with the first resource allocation credential information, the resource allocation server allocates resources corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
2. The method of claim 1, further comprising:
acquiring an initial intelligent contract set by an authorized blockchain account;
if the instruction number of the authorization instructions received by the block chain node equipment is the same as the total account number of the authorized block chain accounts within the set time range, deploying the initial intelligent contract serving as the intelligent contract to the block chain node equipment; the authorization instructions are generated by the authorization blockchain account for the initial smart contract.
3. The method of claim 2, wherein obtaining an initial intelligent contract for authorizing blockchain account settings comprises:
determining a candidate resource allocation scheme selected by the grant blockchain account from a plurality of base resource allocation schemes corresponding to resources to be allocated;
acquiring scheme correction information of the candidate resource allocation scheme by the authorized blockchain account; the scheme correction information is set by the authorized blockchain account according to the resource allocation scene of the resource to be allocated;
correcting the candidate resource allocation scheme according to the scheme correction information to obtain the initial intelligent contract; the initial intelligent contract comprises the resource allocation amount of the resource to be allocated and account information corresponding to the resource allocation amount.
4. The method of claim 1, wherein executing the corresponding intelligent contract according to the resource allocation instruction comprises:
determining corresponding contract execution time according to the resource allocation instruction;
and if the current time is the same as the contract execution time, executing the intelligent contract.
5. The method of claim 1, wherein the sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information is further configured to: the target terminal carries out digital signature on the first resource allocation certificate information by using a private key of the target block chain account to obtain second resource allocation certificate information and sends the second resource allocation certificate information to the resource allocation server; the second resource allocation credential information is used for the resource allocation server to determine whether the second resource allocation credential information matches the first resource allocation credential by using the public key of the target block chain account.
6. The method of claim 1, wherein the first resource allocation credential information comprises questioning information associated with resource attributes of the resource; the sending the first resource allocation credential information to the target terminal corresponding to the terminal identification information is further configured to: and the target terminal acquires answer information corresponding to the question information, acquires the second resource allocation certificate information according to the answer information, and sends the second resource allocation certificate information to the resource allocation server so that the resource allocation server judges whether the second resource allocation certificate information is matched with the first resource allocation certificate or not according to the answer information and the question information.
7. The method of claim 1, wherein the intelligent contract is further configured to determine a corresponding resource allocation time limit according to the resource allocation instruction; further comprising:
acquiring the resource allocation time limit output by the intelligent contract;
sending the resource allocation time limit to the resource allocation server; the resource allocation time limit is used for indicating that if the resource allocation server receives the second resource allocation credential information within the resource allocation time limit, the resource is allocated to a target block chain account when the second resource allocation credential information is matched with the first resource allocation credential information; the resource allocation time limit is further configured to indicate that, if the resource allocation server receives the second resource allocation credential information outside the resource allocation time limit, the second resource allocation credential information is set as invalid credential information.
8. An apparatus for resource allocation based on intelligent contracts, the apparatus being applied to a blockchain node device, the apparatus comprising:
the instruction acquisition module is used for acquiring a resource allocation instruction;
the contract execution module is used for executing a corresponding intelligent contract according to the resource allocation instruction, and acquiring the resource allocation amount output by the intelligent contract and account information corresponding to the resource allocation amount; the intelligent contract is deployed in the block chain node equipment in advance and used for determining the resource allocation amount and the account information according to the resource allocation instruction; the account information comprises terminal identification information and block chain account identification information;
the information sending module is used for sending the resource allocation amount and the account information to a resource allocation server;
the information receiving module is used for receiving first resource allocation voucher information which is sent by the resource allocation server and corresponds to the account information;
a resource allocation module, configured to send the first resource allocation credential information to a target terminal corresponding to the terminal identification information, where the target terminal sends second resource allocation credential information to the resource allocation server, so that when the second resource allocation credential information matches the first resource allocation credential information, the resource allocation server allocates a resource corresponding to the resource allocation amount to a target block chain account; and the target block chain account is a block chain account corresponding to the block chain account identification information.
9. A block link point device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN201911424676.2A 2019-12-31 2019-12-31 Resource allocation method, device, equipment and storage medium based on intelligent contract Active CN111209113B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911424676.2A CN111209113B (en) 2019-12-31 2019-12-31 Resource allocation method, device, equipment and storage medium based on intelligent contract

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911424676.2A CN111209113B (en) 2019-12-31 2019-12-31 Resource allocation method, device, equipment and storage medium based on intelligent contract

Publications (2)

Publication Number Publication Date
CN111209113A true CN111209113A (en) 2020-05-29
CN111209113B CN111209113B (en) 2022-12-13

Family

ID=70787467

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911424676.2A Active CN111209113B (en) 2019-12-31 2019-12-31 Resource allocation method, device, equipment and storage medium based on intelligent contract

Country Status (1)

Country Link
CN (1) CN111209113B (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111541554A (en) * 2020-07-13 2020-08-14 卓尔智联(武汉)研究院有限公司 Block chain data processing method and device and electronic equipment
CN111638963A (en) * 2020-06-08 2020-09-08 杭州复杂美科技有限公司 Transaction pool dynamic control method, device and storage medium
CN112508578A (en) * 2021-02-04 2021-03-16 支付宝(杭州)信息技术有限公司 Resource transfer request verification and sending method and device based on block chain
CN113205249A (en) * 2021-04-28 2021-08-03 广东电网有限责任公司 Virtual power plant resource allocation method, device, equipment and medium based on intelligent contracts
CN113254264A (en) * 2021-04-14 2021-08-13 卓尔智联(武汉)研究院有限公司 Data backup method and device of block chain and storage medium
CN115037752A (en) * 2022-04-22 2022-09-09 网易(杭州)网络有限公司 Resource reallocation method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124156A1 (en) * 2005-11-29 2007-05-31 The Boeing Company Representing business transactions
CN107943580A (en) * 2017-11-13 2018-04-20 上海点融信息科技有限责任公司 For managing the method and equipment of user's intelligence contract at block chain link point
CN110069908A (en) * 2019-04-11 2019-07-30 深圳前海微众银行股份有限公司 A kind of authority control method and device of block chain
US20190266235A1 (en) * 2018-02-28 2019-08-29 Charles Northrup System and Method for a Thing Machine to Perform Models
CN110458702A (en) * 2019-07-15 2019-11-15 阿里巴巴集团控股有限公司 Based on the virtual resource allocation method and device of block chain, electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070124156A1 (en) * 2005-11-29 2007-05-31 The Boeing Company Representing business transactions
CN107943580A (en) * 2017-11-13 2018-04-20 上海点融信息科技有限责任公司 For managing the method and equipment of user's intelligence contract at block chain link point
US20190266235A1 (en) * 2018-02-28 2019-08-29 Charles Northrup System and Method for a Thing Machine to Perform Models
CN110069908A (en) * 2019-04-11 2019-07-30 深圳前海微众银行股份有限公司 A kind of authority control method and device of block chain
CN110458702A (en) * 2019-07-15 2019-11-15 阿里巴巴集团控股有限公司 Based on the virtual resource allocation method and device of block chain, electronic equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638963A (en) * 2020-06-08 2020-09-08 杭州复杂美科技有限公司 Transaction pool dynamic control method, device and storage medium
CN111541554A (en) * 2020-07-13 2020-08-14 卓尔智联(武汉)研究院有限公司 Block chain data processing method and device and electronic equipment
CN112508578A (en) * 2021-02-04 2021-03-16 支付宝(杭州)信息技术有限公司 Resource transfer request verification and sending method and device based on block chain
CN112508578B (en) * 2021-02-04 2021-06-04 支付宝(杭州)信息技术有限公司 Resource transfer request verification and sending method and device based on block chain
CN113254264A (en) * 2021-04-14 2021-08-13 卓尔智联(武汉)研究院有限公司 Data backup method and device of block chain and storage medium
CN113205249A (en) * 2021-04-28 2021-08-03 广东电网有限责任公司 Virtual power plant resource allocation method, device, equipment and medium based on intelligent contracts
CN113205249B (en) * 2021-04-28 2023-01-20 广东电网有限责任公司 Virtual power plant resource allocation method, device, equipment and medium based on intelligent contracts
CN115037752A (en) * 2022-04-22 2022-09-09 网易(杭州)网络有限公司 Resource reallocation method and device and electronic equipment
CN115037752B (en) * 2022-04-22 2024-03-22 网易(杭州)网络有限公司 Resource allocation method and device and electronic equipment

Also Published As

Publication number Publication date
CN111209113B (en) 2022-12-13

Similar Documents

Publication Publication Date Title
CN111209113B (en) Resource allocation method, device, equipment and storage medium based on intelligent contract
US20210272095A1 (en) N to n money transfers
CN107993053B (en) Claims data auditing method and device, computer equipment and storage medium
CN106779420B (en) Resource conversion method and device
CN108833413B (en) Account management method of tourist user, server, electronic equipment and storage medium
CN111507717B (en) Data processing method, device, block node and computer readable storage medium
CN109472585A (en) Pay invoice generation method, device, equipment and medium based on data analysis
CN104616142B (en) Data transfer method, server, mobile terminal and system
CN108765175A (en) Declaration form saves information processing method, device, computer equipment and storage medium from damage
CN113656499B (en) Value transfer method and device based on block chain
CN108234549B (en) Policy information checking method and device
CN109492856B (en) Service request processing method, device, computer equipment and storage medium
CN111178830B (en) Cost accounting method, cost accounting device, computer equipment and storage medium
CN111209111B (en) Resource allocation method, device, equipment and storage medium based on block chain system
CN110838041B (en) Virtual resource activity processing method and device, computer equipment and storage medium
CN111260475A (en) Data processing method, block chain node point equipment and storage medium
CN111355800B (en) Service processing method, device, equipment and storage medium
CN112991023A (en) Order data processing method and device, computer equipment and storage medium
CN109445758B (en) Data processing method, device, computer equipment and storage medium
CN111539730A (en) Data processing method and device based on block chain and electronic equipment
CN110768956A (en) Data service providing method, device, computer equipment and storage medium
CN110827142A (en) User credit evaluation method, system, server and storage medium
CN110599343A (en) Contract data processing method, related device and medium
CN110597886A (en) Data processing method and device and computer storage medium
CN111007975B (en) Method and device for realizing calculation formula in document, computer equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant