Disclosure of Invention
The description provides an asset transfer method based on a block chain, which is applied to an asset transfer system built based on the block chain; the asset circulation system comprises an asset publisher and a multi-level asset holder; wherein a first level asset holder of the multi-level asset holders holds a first asset object created based on a first payback between the asset issuer and the first level asset holder; the method comprises the following steps:
receiving a first transaction sent by the first level asset holder; the first transaction comprises a second accounts payable between the first level asset holder and a second level asset holder of the plurality of levels of asset holders;
in response to the first transaction, matching the first accounts payable with the second accounts payable, and calling an asset splitting logic declared in a smart contract issued on the blockchain when the amount of the second accounts payable is not greater than the amount of the first accounts payable, splitting the first asset object, and splitting a second asset object matched with the second accounts payable from the first asset object;
and transferring the split second asset object to the second-level asset holder for holding.
Optionally, the method further includes:
and if the amount of the second accounts payable is greater than the amount of the first accounts payable, returning an asset transfer failure notification message to the first-level asset holder.
Optionally, the method further includes:
receiving a second transaction sent by the asset publisher; the second transaction comprises the first account payable;
in response to the second transaction, invoking asset creation logic declared in a smart contract issued on the blockchain, creating the first asset object based on the first payoff payment, and transferring the created first asset object to the first level asset holder for holding; and the number of the first and second groups,
generating an asset creating record corresponding to the first asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record includes a correspondence between the first accounts payable and the first asset object.
Optionally, before creating the first asset object based on the first payoff, the method further includes:
determining whether the blockchain has a proof of the first payable charge created by the asset publisher for the first level asset holder and validated by the first level asset holder; if so, the first asset object is created further based on the first payoff account.
Optionally, creating the first asset object based on the first payoff payment includes:
acquiring the amount of the first account payment;
converting the amount of the first accounts payable to an asset amount;
and creating an asset object with the same amount as the first asset to obtain the first asset object.
Optionally, before the splitting process is performed on the first asset object, the method further includes:
determining whether the block chain has credited the second accounts payable created by the first level asset holder for the second level asset holder and authorized by the second level asset holder; and if so, further splitting the first asset object.
Optionally, splitting the first asset object, and splitting a second asset object matched with the second payable account from the first asset object, includes:
obtaining an amount of the second accounts payable;
converting the amount of the second accounts payable to an asset amount;
and splitting the asset object with the amount equal to the asset amount from the first asset object to obtain the second asset object.
Optionally, the method further includes:
after splitting a second asset object matched with the second account payable from the first asset object, generating an asset creating record corresponding to the second asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record comprises a correspondence of the second asset object with the second payable payment;
after the second asset object which is split is transferred to the second-level asset holder for holding, generating an asset transfer record corresponding to the first asset object, and issuing the generated asset transfer record to a block chain for evidence storage; the asset circulation record comprises the corresponding relation among the first asset object, a second asset object split from the first asset object and a second asset holder holding the second asset object.
Optionally, the asset transfer system is a supply chain financial system; the supply chain financial system comprises a core enterprise as an asset publisher, a multi-level supplier as an asset holder, and a financial institution; wherein the property object is used to initiate a financing loan to the financial institution.
Optionally, the method further includes:
receiving a third transaction sent by any target supplier in the multi-stage suppliers; the third transaction comprises a third property object for initiating a financing loan to the financial institution;
and in response to the third transaction, transferring the third asset object to the financial institution for holding, so that the financial institution converts the asset amount of the third asset object into a fund limit after confirming the right of a third account payable corresponding to the third asset object, and issues a loan to the target supplier based on the converted fund limit.
The specification also provides an asset transfer device based on the block chain, which is applied to an asset transfer system built based on the block chain; the asset circulation system comprises an asset publisher and a multi-level asset holder; wherein a first level asset holder of the multi-level asset holders holds a first asset object created based on a first payback between the asset issuer and the first level asset holder; the device comprises:
the receiving module is used for receiving a first transaction sent by the first-level asset holder; the first transaction comprises a second accounts payable between the first level asset holder and a second level asset holder of the plurality of levels of asset holders;
the splitting module is used for responding to the first transaction, matching the first accounts payable with the second accounts payable, calling an asset splitting logic declared in an intelligent contract issued on the block chain when the amount of the second accounts payable is not larger than the amount of the first accounts payable, splitting the first asset object, and splitting a second asset object matched with the second accounts payable from the first asset object;
and the transfer module transfers the split second asset object to the second-level asset holder for holding.
Optionally, the splitting module further:
and if the amount of the second accounts payable is greater than the amount of the first accounts payable, returning an asset transfer failure notification message to the first-level asset holder.
Optionally, the receiving module further:
receiving a second transaction sent by the asset publisher; the second transaction comprises the first account payable;
the device further comprises:
a creation module that invokes asset creation logic declared in a smart contract issued on the blockchain in response to the second transaction, creates the first asset object based on the first payoff, and transfers the created first asset object to the first level asset holder for holding; and the number of the first and second groups,
generating an asset creating record corresponding to the first asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record includes a correspondence between the first accounts payable and the first asset object.
Optionally, the creating module further:
determining whether the blockchain has a proof of the first payable payment created by the asset publisher for the first level asset holder and after the first level asset holder has determined rights before creating the first asset object based on the first payable payment; if so, the first asset object is created further based on the first payoff account.
Optionally, the creating module:
acquiring the amount of the first account payment;
converting the amount of the first accounts payable to an asset amount;
and creating an asset object with the same amount as the first asset to obtain the first asset object.
Optionally, the splitting module further:
before the first asset object is split, determining whether the block chain stores the second accounts payable which is created by the first-level asset holder for the second-level asset holder and determined by the second-level asset holder; and if so, further splitting the first asset object.
Optionally, the splitting module:
obtaining an amount of the second accounts payable;
converting the amount of the second accounts payable to an asset amount;
and splitting the asset object with the amount equal to the asset amount from the first asset object to obtain the second asset object.
Optionally, the apparatus further comprises:
the generating module is used for generating an asset creating record corresponding to a second asset object after the second asset object matched with the second account payment is split from the first asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record comprises a correspondence of the second asset object with the second payable payment;
after the second asset object which is split is transferred to the second-level asset holder for holding, generating an asset transfer record corresponding to the first asset object, and issuing the generated asset transfer record to a block chain for evidence storage; the asset circulation record comprises the corresponding relation among the first asset object, a second asset object split from the first asset object and a second asset holder holding the second asset object.
Optionally, the asset transfer system is a supply chain financial system; the supply chain financial system comprises a core enterprise as an asset publisher, a multi-level supplier as an asset holder, and a financial institution; wherein the property object is used to initiate a financing loan to the financial institution.
Optionally, the receiving module further:
receiving a third transaction sent by any target supplier in the multi-stage suppliers; the third transaction comprises a third property object for initiating a financing loan to the financial institution;
the transfer module further:
and in response to the third transaction, transferring the third asset object to the financial institution for holding, so that the financial institution converts the asset amount of the third asset object into a fund limit after confirming the right of a third account payable corresponding to the third asset object, and issues a loan to the target supplier based on the converted fund limit.
The specification also provides an electronic device, which is applied to an asset transfer system built based on the block chain; the asset circulation system comprises an asset publisher and a multi-level asset holder; wherein a first level asset holder of the multi-level asset holders holds a first asset object created based on a first payback between the asset issuer and the first level asset holder; the method comprises the following steps:
a processor;
a memory for storing machine executable instructions;
wherein, by reading and executing machine-executable instructions stored by the memory corresponding to control logic for blockchain-based asset transfers, the processor is caused to:
receiving a first transaction sent by the first level asset holder; the first transaction comprises a second accounts payable between the first level asset holder and a second level asset holder of the plurality of levels of asset holders;
in response to the first transaction, matching the first accounts payable with the second accounts payable, and calling an asset splitting logic declared in a smart contract issued on the blockchain when the amount of the second accounts payable is not greater than the amount of the first accounts payable, splitting the first asset object, and splitting a second asset object matched with the second accounts payable from the first asset object;
and transferring the split second asset object to the second-level asset holder for holding.
Detailed Description
In the present specification, it is intended to provide a technical solution in which, in an asset transfer system constructed based on a block chain and composed of an asset issuer and a plurality of levels of asset holders, an accounts payable between the asset issuer and a first level of asset holder can be continuously split in the form of a digital asset based on the accounts payable between the first asset holder and a lower level of asset holder, and then transferred to the lower level of asset holder.
In implementations, a first level asset holder of the multi-level asset holders described above may hold a first asset object created based on a first payback between the asset issuer and the first level asset holder.
The first-level asset holder may construct a transaction based on a second accounts payable with a second-level asset holder of the multi-level asset holders, and issue the transaction in the blockchain to invoke an intelligent contract deployed on the blockchain to complete the split transfer for the first asset object.
After receiving the transaction, the node device in the blockchain may respond to the transaction and match the first accounts payable with the second accounts payable; if the matching result indicates that the amount of the second accounts payable is not greater than the amount of the first accounts payable, an asset splitting logic declared in an intelligent contract issued on a blockchain may be invoked, the first asset object may be split, a second asset object matching the second accounts payable may be split from the first asset object, and the split second asset object may be transferred to the second level asset holder for holding.
And the second-level asset holder can execute the same operation as the first-level asset holder, and based on a third account payable between the second-level asset holder and a third-level asset holder in the multi-level asset holders, a transaction is continuously constructed and issued in the blockchain to call an intelligent contract deployed on the blockchain, so that the splitting and transferring of the second asset object are completed, and by analogy, the held asset object can be continuously split and transferred to the lower-level asset holder.
Through the technical scheme, the first account payable between the asset issuer and the first-level asset holder can be continuously transferred to the lower-level asset holder after being continuously split in the form of digital assets based on the account payable between the first asset holder and the lower-level asset holder; therefore, under the condition that the first payable account between the asset issuing party and the first-level asset holder is not yet honored, the second payable account between each level of asset holder and the higher-level asset holder can be taken as the digital asset and continuously transferred to the lower-level asset holder to replace the circulation of the fund, so that the influence on the normal operation of the lower-level asset holder caused by the fact that the payable account between the higher-level asset holder and the asset issuing party is not yet honored can be reduced to the greatest extent.
The present specification is described below with reference to specific embodiments and specific application scenarios.
Referring to fig. 1, fig. 1 is a block chain-based asset transfer method provided in an embodiment of the present specification, which is applied to an asset circulation system built based on a block chain; the asset circulation system comprises an asset publisher and a multi-level asset holder, and executes the following steps:
step 102, receiving a first transaction sent by the first-level asset holder; the first transaction comprises a second accounts payable between the first level asset holder and a second level asset holder of the plurality of levels of asset holders;
step 104, in response to the first transaction, matching the first accounts payable with the second accounts payable, and when the amount of the second accounts payable is not greater than the amount of the first accounts payable, calling an asset splitting logic declared in an intelligent contract issued on the blockchain, splitting the first asset object, and splitting a second asset object matched with the second accounts payable from the first asset object;
and 106, transferring the split second asset object to the second-level asset holder for holding.
The blockchain described in this specification may specifically include any type of blockchain network that can encompass asset objects in the supported objects.
For example, in a traditional blockchain, the supported objects typically include only account objects and contract objects (i.e., smart contracts), whereas in this specification, the supported objects of the blockchain may be extended to further extend an asset object based on existing support of the blockchain, such as the account objects and the contract objects.
It should be noted that the type of the block chain described in this specification is not particularly limited, and may be a private chain, a public chain, a federation chain, or the like;
for example, in one scenario, the block chain may be a federation chain consisting of an asset publisher and multiple levels of asset holders as federation members. The operator of the alliance chain can build an asset circulation system which is composed of an asset publisher and a plurality of stages of asset holders based on the alliance chain, and accounts payable between the asset publisher and the plurality of stages of asset holders is taken as digital assets to be circulated in the asset circulation system.
The intelligent contract is also referred to as a contract object in the blockchain based on the account model, and may specifically include an intelligent contract program issued by a target member in the blockchain, and included in a distributed database (i.e., a blockchain ledger) of the blockchain, for managing asset objects supported by the blockchain. The user accessing the blockchain can create a piece of asset object on the blockchain by calling the intelligent contract, and complete the online management and transfer of the held asset object on the blockchain.
The Transaction (Transaction) described in this specification refers to a piece of data that is created by a client of the blockchain and needs to be finally published to a distributed database of the blockchain.
Transactions in a blockchain, generally have a narrow sense of transaction and a broad sense of transaction score. A transaction in the narrow sense refers to a transfer of value issued by a user to a blockchain. The broad transaction refers to a piece of business data with business intention, which is issued to the blockchain by a user; for example, an operator may build a federation chain based on actual business requirements, relying on the federation chain to deploy some other types of online businesses unrelated to value transfer (e.g., anti-counterfeit verification business, house renting business, vehicle dispatching business, insurance claim settlement business, credit service, medical service, etc.), and in such federation chain, the transaction may be a business message or business request with a business intention issued by a user in the federation chain.
The asset object can correspond to any type of real asset of a user in the real world; alternatively, other forms of objects capable of being flow transferred as digital assets;
for example, the asset object may specifically be real assets such as funds, real property, stock, etc., or data suitable for being packaged into digital assets for circulation transfer such as loan contracts, bills, accounts payable, etc.
The technical solution of the present specification is described in detail below by taking the above asset transfer system as an example of a supply chain financial system built based on a block chain.
Wherein, it should be emphasized that the supply chain financial system built by taking the above asset circulation system as a block chain is only exemplary and is not used to limit the technical solution of the present specification; obviously, in practical application, a person skilled in the art can flexibly construct the asset transfer system based on actual requirements.
In the present specification, in the above supply chain financial system, a core enterprise as an asset issuing party, a multi-level supplier as an asset holding party, and a financial institution (such as a bank) may be included.
The core enterprise can create a first asset object for a first-stage supplier based on a first account payable before the first account payable between the core enterprise and the first-stage supplier in the multi-stage suppliers is not redeemed, and the first asset object is held by the first-stage supplier;
the first-level provider may split the first asset object based on a second accounts payable with a second-level provider of the multi-level providers, split a second asset object matching the second accounts payable from the first asset object, and transfer the split second asset object to the second-level provider for holding.
The second-level supplier in the multi-level suppliers may perform the same action as the first-level supplier, continue to split the second asset object based on a third payable account with the third-level supplier, continue to transfer the split asset object to the lower-level supplier, and so on, and finally, the first asset object may continuously transfer to the lower-level supplier based on the debt relationship between the suppliers at all levels.
The financial institution can provide financing service for suppliers of all levels. For any level of suppliers, when the first payable fund expires, the corresponding amount of payable fund can be charged to the core enterprise based on the amount of the held asset object; alternatively, the held asset object may be transferred to the financial institution to initiate financing to the financial institution before the first payable payment expires.
The operator of the block chain can expand the objects supported by the block chain when building the block chain network.
In a conventional blockchain, the objects supported by the blockchain typically include only two classes, an account object and a contract object (i.e., a smart contract). In the present specification, the object supported by the blockchain may be extended, and an asset object may be further extended on the basis of the existing account object and contract object.
That is, in this specification, the objects supported by the above block chain may include three classes, i.e., an account object, a contract object, and an asset object. In this way, after the core enterprise, the multi-level supplier and the financial institution join the blockchain as the blockchain member node, besides the creation of the account and the intelligent contract can be completed on the blockchain, a digital asset can also be created on the blockchain.
In this description, the core enterprise may develop in advance an intelligent contract (which may of course be developed by the operator of the block chain, or a third party) for managing the asset objects, and declare executable logic (e.g., executable functions, code, etc.) for managing the asset objects in the intelligent contract.
In this specification, the executable logic declared in the intelligent contract may specifically include asset creation logic for creating an asset object, asset splitting logic for splitting an asset object, and the like.
Of course, in practical applications, those skilled in the art may declare other forms of executable logic in the smart contract besides the asset creation logic and the asset splitting logic based on actual business requirements, and are not particularly limited in this specification.
After the core enterprise completes the development of the intelligent contract, the developed intelligent contract can be issued in a block chain in a transaction form; after receiving the transaction, the node device in the blockchain may perform consensus on the transaction based on a consensus algorithm supported by the blockchain, and after the consensus passes, record the intelligent contract into a distributed database of the blockchain to complete deployment of the intelligent contract.
The consensus process performed by the node device in the blockchain on the received transaction is not described in detail in this specification, and those skilled in the art may refer to the description in the related art.
After the intelligent contracts are deployed in the blockchain, the core enterprises, the multi-level suppliers and the financial institutions in the supply chain financial system can call the executable logic declared in the intelligent contracts by issuing a transaction form to the blockchain to complete the operations of creating, splitting and the like of the asset objects.
In one embodiment, the core enterprise may create a first payment account for a first-level provider based on a debt relationship with the first-level provider, sign the created first payment account based on a held private key, send the signed first payment account to the first-level provider, and perform a right confirmation process by the first provider.
The right confirmation processing is to confirm the right to collect accounts corresponding to the accounts payable; in practical application, the accounts payable can be signed by the held private key, so that the collection right of the accounts payable corresponding to the accounts payable can be confirmed.
After receiving a first payment account created by the core enterprise for the first-level provider, the first-level provider may verify a private key of the first payment account based on a public key corresponding to the private key held by the core enterprise, sign the first payment account based on the private key held by the first-level provider after the verification is passed, complete a confirmation process for the first payment account, and then issue the first payment account after the confirmation in a transaction form in a blockchain for a verification process.
Correspondingly, for the first-level provider, a second accounts payable may be created for the second-level provider based on the debt relationship with the second-level provider in the multi-level provider, the created second accounts payable may be sent to the second-level provider, the second-level provider performs the authorization, and then the second information payable after the authorization is issued in the blockchain for the evidence saving process, and so on.
In this way, any one of the multi-level suppliers can create accounts payable for the lower-level supplier based on the debt relationship with the lower-level supplier, send the created accounts payable to the lower-level supplier for confirmation, and then deposit the accounts payable on the blockchain.
In this specification, before the first payable account is redeemed, the core enterprise may construct a transaction for creating an asset object based on the first payable account, carry the first payable account in the transaction, and issue the transaction on the blockchain to invoke the deployed smart contract, thereby creating a first asset object for the first-level provider;
in an example, the first accounts payable carried in the transaction may specifically be data content of the first accounts payable, or may be only identification information of the first accounts payable; for example, a hash value obtained by performing a hash calculation on the data content of the first account payable.
And after receiving the transaction sent by the core enterprise, the node equipment in the blockchain can respond to the transaction, perform consensus processing on the transaction, call asset creation logic declared in the intelligent contract deployed in the blockchain after the consensus is passed, and create a first asset object based on the first payment account.
In an embodiment shown, before invoking the asset creation logic declared in the intelligent contract deployed in the blockchain and creating the first asset object based on the first payment account, the node device may further search data stored in the blockchain to determine whether the first payment account created by the core enterprise for the first-level provider and provided with the first-level supply right currently exists on the blockchain; if so, verifying that the collection right of the first accounts payable has been transferred to the first level provider, and then creating the first asset object based on the first accounts payable.
In this way, before the first payable creates the first asset object for the first-level provider, the first payable is checked to see whether the first payable is an actual payable that is authorized by the first-level provider, so that the loss of creating the asset object for the first-level provider based on the payable that is false or that the first-level provider does not have the right to collect can be avoided.
In an embodiment shown in the present disclosure, when invoking an asset creating logic declared in the intelligent contract deployed in the blockchain, and creating a first asset object based on the first payment account, the node device may specifically obtain an amount of the first payment account, convert the amount of the first payment account into an asset amount according to a preset conversion rule, and create an asset object equal to the converted asset amount, so as to obtain the first asset object. The conversion rule is not particularly limited in the present specification; for example, the conversion may be an equal conversion or a non-equal conversion.
After the node device creates the first asset object based on the first payable account by calling the asset creation logic stated in the smart contract, the created first asset object may be transferred to the first-level provider (i.e., the owed party of the first accounts payable) for holding.
For example, asset objects created by smart contracts, when implemented, will typically have unique address information; in this case, the created first asset object is transferred to the first-level provider, that is, a process of adding address information of the first asset object to an account object corresponding to the first-level provider on the blockchain.
Further, after completing the creation of the first asset object or transferring the first asset object to the first-level asset holder for holding, the node device may further generate an asset creation record corresponding to the first asset object, and issue the generated asset creation record to the blockchain for storage. Wherein, the asset creating record corresponding to the first asset object comprises the corresponding relation between the first account payable and the first asset object.
In this specification, the first-level provider may also construct a transaction for transferring an asset object based on a second accounts payable with a second-level provider of the multiple-level providers before the first accounts payable is redeemed, the second accounts payable is carried in the transaction, the transaction is issued on a blockchain, a deployed smart contract is invoked, the held first asset object is split, and a second asset object matching the second accounts payable is split from the first asset object and transferred to the second-level provider for holding, so that the second accounts payable with the second-level provider is transferred to the lower-level provider as a data asset, and the transfer of the second accounts payable with the second-level provider is completed to replace the transfer of funds.
After receiving the transaction sent by the core enterprise, the node equipment in the block chain can respond to the transaction, perform consensus processing on the transaction, and match the first accounts payable with the second accounts payable after the consensus is passed; if the matching confirms that the amount of the second accounts payable is not larger than the amount of the first accounts payable, an asset splitting logic declared in the intelligent contract deployed in a blockchain can be called, a first asset object held by the first-level supplier is split, and a second asset object matched with the second accounts payable is split from the first asset object;
certainly, if it is determined through matching that the amount of the second accounts payable is greater than the amount of the first accounts payable, because the debt scale between the first-level provider and the second-level provider is already greater than the debt scale between the core enterprise and the first-level provider, the first asset object held by the first-level provider cannot be split, and a notification message of asset transfer failure may be returned to the first-level asset holder;
for example, in practical applications, the notification message may be a text prompt "the asset pool is in insufficient balance and the asset transfer fails".
In an embodiment shown, before invoking the asset splitting logic declared in the intelligent contract deployed in the blockchain and splitting the first asset object held by the first-level provider, the node device may further search data stored in the blockchain to determine whether the block chain currently stores the second accounts payable after being created by the first-level provider for the second-level provider and being granted by the second-level provider; if yes, the collection right corresponding to the corresponding accounts payable is proved to be transferred to the second-level supplier, and then the first asset object held by the first-level supplier is split.
In an illustrated embodiment, when invoking the asset splitting logic declared in the intelligent contract deployed in the blockchain and splitting the first asset object held by the first-level provider, the node device may specifically obtain the amount of the second accounts payable, convert the amount of the second accounts payable into an asset amount, and split the asset object equal to the asset amount from the first asset object to obtain the second asset object.
After the node device splits a second asset object matched with the second payable from the first asset object by calling the asset splitting logic stated in the intelligent contract, the split second asset object can be transferred to the second-level provider (i.e. a creditor of the second payable) for holding; for example, the address information of the split second asset object may still be added to the account object corresponding to the second-level provider on the blockchain.
It should be noted that, if it is confirmed through matching that the amount of the second accounts payable is identical to the amount of the first accounts payable, the asset amounts of the first asset object and the second asset object are also identical; therefore, the above-described process of splitting the second asset object matching the second payable from the first asset object and transferring the second asset object to the second-level provider is substantially equivalent to the process of transferring the entire first asset object to the second-level provider.
That is, the debt size of the accounts payable between the core enterprise and the first level supplier is identical to the debt size of the accounts payable between the first level supplier and the second level supplier, the first level supplier can transfer the collection right of the first accounts payable to the second level supplier as a whole, and the subsequent first level supplier does not have the collection right of the first accounts payable.
Further, after splitting a second asset object matched with the second account payable from the first asset object, the node device may further generate an asset creation record corresponding to the second asset object, and issue the generated asset creation record to the blockchain for evidence storage;
that is, the process of splitting the second asset object matching the second payable from the first asset object also corresponds to the process of creating a second asset object for the second level supplier by the first level supplier based on the second payable with the second level supplier.
Wherein the asset creation record corresponding to the second asset object includes a correspondence between the second asset object and the second payable.
In addition, after the node device transfers the split second asset object to the second-level asset holder for holding, it may also generate an asset transfer record corresponding to the first asset object, and issue the generated asset transfer record to the blockchain for evidence storage;
namely, the first asset object is split, and the split second asset object is continuously transferred to a lower-level provider, which is equivalent to continuously transferring part of the asset objects in the first asset object to the lower-level provider, so that the asset transfer is completed.
The asset circulation record comprises the corresponding relation among the first asset object, a second asset object split from the first asset object and a second-level supplier holding the second asset object.
Correspondingly, the second-level supplier in the multi-level suppliers may also perform the same actions as the first-level supplier, if a debt relationship based on accounts payable still exists between the second-level supplier and the next-level third-level supplier, the second asset object may be continuously split in the same manner based on a third account payable between the second-level supplier and the third-level supplier, and the split asset object may be continuously transferred to the next-level supplier, and so on, and finally the first asset object may be continuously transferred to the next-level supplier based on the debt relationship between the first-level supplier and the next-level supplier.
Finally, the first asset object created based on the first payoff is continuously split and transferred through the splitting process described above, and is distributed and held by suppliers at all levels. When the first payment account corresponding to the first asset object is about to expire, the core enterprise may initiate an inventory process for the first asset object, clarify a distribution status of the first asset object among all levels of providers by querying an asset transfer record generated by each level of provider and certified on the block chain, determine each level of provider holding the asset object split from the first asset object, and then complete the exchange of accounts payable based on the determined actual amount of the asset object split from the first asset object held by each level of provider.
In other words, since the first payment account is actually in the form of an asset object, it is split into several shares, each held by a supplier at each level; the suppliers of all levels obtain the collection right of the accounts payable in the first account payable; therefore, when the core enterprise cashes the first payable account, the core enterprise cashes the first payable account based on the actual share of the first payable account held by each level of provider, and pays the payable account to each level of provider.
In this specification, for any one of the target suppliers in the multiple stages of suppliers in the supply chain financial system, in addition to charging the corresponding amount of accounts payable funds to the core enterprise based on the amount of the held asset object when the first account payable is due, since the real accounts payable are anchored by the asset objects held by the suppliers at all stages, the suppliers at all stages can transfer the held asset objects and the accounts payable corresponding to the held asset objects to financial institutions such as banks as collateral to initiate financing loan.
In this case, the target supplier may construct a transaction for financing based on the third asset object (which is also the asset object separated from the first asset object) and may distribute the transaction on the blockchain, and may transfer the third asset object held to the financial institution.
After receiving the transaction sent by the target supplier, the node equipment in the block chain can respond to the transaction, perform consensus processing on the transaction, execute the transaction after the consensus is passed, and transfer the third asset object to a financial institution for holding; for example, the address information of the third asset object may be added to the account object corresponding to the financial institution on the blockchain.
Subsequently, when the first payable funds expire, the financial institution may charge the core enterprise a corresponding amount of accounts payable funds based on the amount of the held asset object.
When the financial institution receives the third asset object transferred by the target supplier, the financial institution may further confirm whether the third accounts payable corresponding to the third asset object has been transferred to the financial institution and has obtained the right of the financial institution;
for example, in implementation, in the transaction, an asset ID of the third asset object may be further included, the financial institution may query, based on the asset ID of the third asset object, an asset creation record of the third asset object certified on the block chain to obtain a third payable amount corresponding to the third asset object, and may further confirm whether the target provider has transferred the third payable amount to the financial institution and has authorized the third payable amount.
If the financial institution confirms that the target supplier has transferred the third accounts payable to the financial institution and that the financial institution has also made a confirmation of the third accounts payable, the financial institution may convert the amount of the property of the third asset object into a money amount and issue a loan to the target supplier based on the converted amount of the property.
After the financial institution issues a loan to the target supplier, the financial institution may generate a financing record corresponding to the target supplier, and issue the generated financing record to the blockchain for deposit.
In the technical scheme, the method can realize that the first account payable between the asset publisher and the first-level asset holder is continuously split to the lower-level asset holder in the form of digital assets based on the account payable between the first asset holder and the lower-level asset holder, and then the first account payable is continuously transferred to the lower-level asset holder; therefore, under the condition that the first payable account between the asset issuing party and the first-level asset holder is not yet honored, the second payable account between each level of asset holder and the higher-level asset holder can be taken as the digital asset and continuously transferred to the lower-level asset holder to replace the circulation of the fund, so that the influence on the normal operation of the lower-level asset holder caused by the fact that the payable account between the higher-level asset holder and the asset issuing party is not yet honored can be reduced to the greatest extent.
For example, assuming that the asset issuer is a core enterprise, the first level asset holder of the multi-level asset holders is a first level provider having an obligation relationship with the core enterprise, and the second level asset holder is a second level provider having an obligation relationship with the first level provider, assuming that the core enterprise needs to complete a purchase with the first level provider, the core enterprise may create an asset object on the blockchain based on a first accounts payable with the first level provider, and transfer the created asset object to the first level provider to complete the purchase (i.e., pay the purchase payment in the form of the created digital asset if the purchase payment has not been paid).
Correspondingly, assuming that the first-level provider also needs to complete the purchase of the goods to the second-level provider, the first-level provider may continue to split the digital asset based on the second accounts payable with the second-level provider, and may continue to transfer the split digital asset to the second-level provider to complete the purchase.
Therefore, for all levels of lower-level suppliers, on the premise that the core enterprise does not carry out cashing on the first payment account, the payment account payable between the lower-level suppliers and the upper-level property holder is taken as the digital property and is continuously transferred to the lower-level property holder, normal purchasing is finished instead of fund circulation, and normal operation of the lower-level suppliers is not influenced.
Corresponding to the above method embodiments, the present specification also provides an embodiment of a blockchain-based asset transfer device. The device can be applied to a distributed exchange built based on a block chain; the distributed exchange includes a number of distributed, deployed trading centers. Embodiments of the blockchain-based asset transfer devices of the present description may be applied to electronic devices. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a logical device, the device is formed by reading, by a processor of the electronic device where the device is located, a corresponding computer program instruction in the nonvolatile memory into the memory for operation. From a hardware aspect, as shown in fig. 2, the hardware structure diagram of the electronic device where the block chain-based asset transfer device of this specification is located is shown, except for the processor, the memory, the network interface, and the nonvolatile memory shown in fig. 2, the electronic device where the device is located in the embodiment may also include other hardware according to the actual function of the electronic device, which is not described again.
Fig. 3 is a block diagram of a blockchain-based asset transfer device in accordance with an exemplary embodiment of the present specification.
Referring to fig. 3, the block chain based asset transfer device 30 may be applied to the electronic device shown in fig. 2, and the electronic device may be applied to an asset circulation system built based on block chains; the asset circulation system comprises an asset publisher and a multi-level asset holder; wherein a first level asset holder of the multi-level asset holders holds a first asset object created based on a first payback between the asset issuer and the first level asset holder; the block chain based asset transfer device 30 comprises:
a receiving module 301, configured to receive a first transaction sent by the first-level asset holder; the first transaction comprises a second accounts payable between the first level asset holder and a second level asset holder of the plurality of levels of asset holders;
the splitting module 302 is used for responding to the first transaction, matching the first accounts payable with the second accounts payable, calling asset splitting logic declared in an intelligent contract issued on the blockchain when the amount of the second accounts payable is not greater than the amount of the first accounts payable, splitting the first asset object, and splitting a second asset object matched with the second accounts payable from the first asset object;
and the transfer module 303 is configured to transfer the split second asset object to the second-level asset holder for holding.
In this description, the splitting module 302 further:
and if the amount of the second accounts payable is greater than the amount of the first accounts payable, returning an asset transfer failure notification message to the first-level asset holder.
In this specification, the receiving module 301 further:
receiving a second transaction sent by the asset publisher; the second transaction comprises the first account payable;
the device 30 further comprises:
a creation module (not shown in FIG. 3) responsive to the second transaction for invoking asset creation logic declared in a smart contract issued on the blockchain, creating the first asset object based on the first payoff payment, and transferring the created first asset object to the first level asset holder for holding; and the number of the first and second groups,
generating an asset creating record corresponding to the first asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record includes a correspondence between the first accounts payable and the first asset object.
In this specification, the creation module is further to:
determining whether the blockchain has a proof of the first payable payment created by the asset publisher for the first level asset holder and after the first level asset holder has determined rights before creating the first asset object based on the first payable payment; if so, the first asset object is created further based on the first payoff account.
In this specification, the creation module:
acquiring the amount of the first account payment;
converting the amount of the first accounts payable to an asset amount;
and creating an asset object with the same amount as the first asset to obtain the first asset object.
In this description, the splitting module 302 further:
before the first asset object is split, determining whether the block chain stores the second accounts payable which is created by the first-level asset holder for the second-level asset holder and determined by the second-level asset holder; and if so, further splitting the first asset object.
In this specification, the splitting module 302:
obtaining an amount of the second accounts payable;
converting the amount of the second accounts payable to an asset amount;
and splitting the asset object with the amount equal to the asset amount from the first asset object to obtain the second asset object.
In the present specification, the apparatus 30 further includes:
a generating module (not shown in fig. 3), after splitting a second asset object matching the second account payable from the first asset object, generating an asset creation record corresponding to the second asset object, and issuing the generated asset creation record to a blockchain for storage; wherein the asset creation record comprises a correspondence of the second asset object with the second payable payment;
after the second asset object which is split is transferred to the second-level asset holder for holding, generating an asset transfer record corresponding to the first asset object, and issuing the generated asset transfer record to a block chain for evidence storage; the asset circulation record comprises the corresponding relation among the first asset object, a second asset object split from the first asset object and a second asset holder holding the second asset object.
In this specification, the asset circulation system is a supply chain financial system; the supply chain financial system comprises a core enterprise as an asset publisher, a multi-level supplier as an asset holder, and a financial institution; wherein the property object is used to initiate a financing loan to the financial institution.
In this specification, the receiving module 301 further:
receiving a third transaction sent by any target supplier in the multi-stage suppliers; the third transaction comprises a third property object for initiating a financing loan to the financial institution;
the transfer module 303 further:
and in response to the third transaction, transferring the third asset object to the financial institution for holding, so that the financial institution converts the asset amount of the third asset object into a fund limit after confirming the right of a third account payable corresponding to the third asset object, and issues a loan to the target supplier based on the converted fund limit.
In this specification, the transferring an asset object to any one of the multi-level asset holders, or the holding by the financial institution, includes:
adding address information of an asset object to an account object corresponding to any one of the multi-level asset holders or the financial institution.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
The systems, devices, modules or modules illustrated in the above embodiments may be implemented by a computer chip or an entity, or by an article of manufacture with certain functionality. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
Corresponding to the method embodiment, the present specification also provides an embodiment of an electronic device. The electronic equipment can be applied to an asset transfer system built based on a block chain; the asset circulation system comprises an asset publisher and a multi-level asset holder; wherein a first level asset holder of the multi-level asset holders holds a first asset object created based on a first payback between the asset issuer and the first level asset holder; the electronic device includes: a processor and a memory for storing machine executable instructions; wherein the processor and the memory are typically interconnected by an internal bus. In other possible implementations, the device may also include an external interface to enable communication with other devices or components.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
receiving a first transaction sent by the first level asset holder; the first transaction comprises a second accounts payable between the first level asset holder and a second level asset holder of the plurality of levels of asset holders;
in response to the first transaction, matching the first accounts payable with the second accounts payable, and calling an asset splitting logic declared in a smart contract issued on the blockchain when the amount of the second accounts payable is not greater than the amount of the first accounts payable, splitting the first asset object, and splitting a second asset object matched with the second accounts payable from the first asset object;
and transferring the split second asset object to the second-level asset holder for holding.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
and if the amount of the second accounts payable is greater than the amount of the first accounts payable, returning an asset transfer failure notification message to the first-level asset holder.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
receiving a second transaction sent by the asset publisher; the second transaction comprises the first account payable;
in response to the second transaction, invoking asset creation logic declared in a smart contract issued on the blockchain, creating the first asset object based on the first payoff payment, and transferring the created first asset object to the first level asset holder for holding; and the number of the first and second groups,
generating an asset creating record corresponding to the first asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record includes a correspondence between the first accounts payable and the first asset object.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
determining whether the blockchain has a proof of the first payable payment created by the asset publisher for the first level asset holder and after the first level asset holder has determined rights before creating the first asset object based on the first payable payment; if so, the first asset object is created further based on the first payoff account.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
acquiring the amount of the first account payment;
converting the amount of the first accounts payable to an asset amount;
and creating an asset object with the same amount as the first asset to obtain the first asset object.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
before the first asset object is split, determining whether the block chain stores the second accounts payable which is created by the first-level asset holder for the second-level asset holder and determined by the second-level asset holder; and if so, further splitting the first asset object.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
obtaining an amount of the second accounts payable;
converting the amount of the second accounts payable to an asset amount;
and splitting the asset object with the amount equal to the asset amount from the first asset object to obtain the second asset object.
In this embodiment, the processor is caused to, by reading and executing machine executable instructions stored by the memory corresponding to control logic for blockchain based asset transfer:
after splitting a second asset object matched with the second account payable from the first asset object, generating an asset creating record corresponding to the second asset object, and issuing the generated asset creating record to a block chain for evidence storage; wherein the asset creation record comprises a correspondence of the second asset object with the second payable payment;
after the second asset object which is split is transferred to the second-level asset holder for holding, generating an asset transfer record corresponding to the first asset object, and issuing the generated asset transfer record to a block chain for evidence storage; the asset circulation record comprises the corresponding relation among the first asset object, a second asset object split from the first asset object and a second asset holder holding the second asset object.
In this embodiment, the asset circulation system is a supply chain financial system; the supply chain financial system comprises a core enterprise as an asset publisher, a multi-level supplier as an asset holder, and a financial institution; wherein the asset object is used for initiating financing loan to the financial institution;
by reading and executing machine-executable instructions stored by the memory corresponding to control logic for blockchain-based asset transfers, the processor is caused to:
receiving a third transaction sent by any target supplier in the multi-stage suppliers; the third transaction comprises a third property object for initiating a financing loan to the financial institution;
and in response to the third transaction, transferring the third asset object to the financial institution for holding, so that the financial institution converts the asset amount of the third asset object into a fund limit after confirming the right of a third account payable corresponding to the third asset object, and issues a loan to the target supplier based on the converted fund limit.
Other embodiments of the present disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.