WO2021073096A1 - Procédé et dispositif de transfert de données de ressource, et système de chaîne de blocs - Google Patents
Procédé et dispositif de transfert de données de ressource, et système de chaîne de blocs Download PDFInfo
- Publication number
- WO2021073096A1 WO2021073096A1 PCT/CN2020/092029 CN2020092029W WO2021073096A1 WO 2021073096 A1 WO2021073096 A1 WO 2021073096A1 CN 2020092029 W CN2020092029 W CN 2020092029W WO 2021073096 A1 WO2021073096 A1 WO 2021073096A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- resource data
- transfer
- node
- processed
- blockchain system
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5005—Allocation of resources, e.g. of the central processing unit [CPU] to service a request
- G06F9/5027—Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
Definitions
- the present disclosure relates to the field of data processing technology, and in particular to a method for transferring resource data, a device for transferring resource data, a blockchain system, and a computer-readable storage medium.
- resource data transfer between users can be realized. For example, it can realize the transfer of network resources such as traffic resources and bandwidth resources among Internet users; or realize the transfer of system resources such as computing resources and storage resources among users of cloud systems or computer clusters.
- resource data exchange the exchange of resources between users can also be realized.
- user A can use its own traffic resources in exchange for user B's bandwidth resources
- user B can use its own bandwidth resources in exchange for user C's traffic resources, etc., thereby forming a resource data containing users A, B, C and other multi-level resource supply users supply chain.
- each user in the resource data supply chain directly transfers resources.
- the inventors of the present disclosure have discovered that the above-mentioned related technologies have the following problems: the resource transfer process is easily tampered, resulting in poor reliability of the system; once the resource data is transferred, it cannot be withdrawn, resulting in poor flexibility of the system.
- the present disclosure proposes a technical solution for resource data transfer, which can improve the reliability and flexibility of the system.
- a method for transferring resource data including: in response to a resource data transfer request of an initiating node in a blockchain system, transferring the resource data to be processed corresponding to the resource data transfer request The transfer node of the blockchain system; generate transfer information corresponding to this transfer process, and store it in the blockchain system, and the transfer information includes the information of the initiating node during this transfer process, the The information of the designated receiving node of the resource data to be processed; according to the resource data processing request corresponding to the resource data transfer request issued by the initiating node or the current receiving node, and the transfer obtained from the blockchain system Information to determine whether to transfer the to-be-processed resource data in the transit node.
- the corresponding resource data processing request is a transfer cancellation request issued by the initiating node or a sign rejection request issued by the designated receiving node.
- the determining whether to transfer the to-be-processed resource data in the transit node includes: in response to a transfer cancellation request of the initiating node or a sign rejection request of the designated receiving node, transferring all The resource data to be processed is returned to the initiating node; the corresponding return information is stored in the blockchain system.
- the determining whether to transfer the to-be-processed resource data in the transit node includes: in response to a transfer cancellation request of the initiating node or a sign rejection request of the designated receiving node, transferring all The state of the resource data to be processed is configured as a normal state, and in the normal state, the resource data to be processed can be transferred to a node other than the designated receiving node.
- the determining whether to transfer the to-be-processed resource data in the transit node includes: in response to a resource data signing request initiated by the current receiving node in the blockchain system, transferring the to-be-processed resource data The processing resource data is transferred to the current receiving node; the transfer information corresponding to this transfer process is generated and stored in the blockchain system.
- the determining whether to transfer the to-be-processed resource data in the transit node includes: configuring the state of the to-be-processed resource data as a locked state according to the transit information, and In the locked state, the resource data to be processed can only be transferred to the designated receiving node; in response to the resource data signing request initiated by the current receiving node in the blockchain system, according to the designated receiving node in the transfer information The information of the node determines whether to transfer the corresponding resource data to the receiving node.
- the resource data to be processed of each initiating node is multiple batches; the generating transfer information corresponding to this transfer process and storing in the blockchain system includes: Each batch of resource data to be processed received by the transit node from each initiating node is determined as each input resource data for this transfer process; each batch of corresponding resource data transferred from the transit node to the current receiving node is determined as the original The output resource data of the second transfer process, the output resource data are respectively derived from the corresponding input resource data; the corresponding output resource data of the input resource data with the same initiation node are merged into a batch of comprehensive output resource data ; According to the relevant information of each comprehensive output resource data, the transfer information corresponding to this transfer process is generated and stored in the blockchain system.
- the transferring to-be-processed resource data to the transfer node of the blockchain system includes: obtaining the transfer of resource data from other nodes during the historical resource data transfer process of the initiating node Quantity and type; merge the transfer-in resource data from the same other nodes and the same type to generate comprehensive transfer-in resource data; obtain the transfer-out resource data that the initiating node intends to transfer to the transfer node during this transfer process
- the number and type of the resource data to be processed are merged; the resource data to be processed is generated by combining the exported resource data of the same type; when the number and type of the integrated resource data to be processed are the same as the number and type of resource data to be processed, Transfer the to-be-processed resource data to the transfer node of the blockchain system.
- a device for transferring resource data including: a transfer unit for transferring to-be-processed resource data to the zone in response to a resource data transfer request of an initiating node in a blockchain system The transfer node of the blockchain system; a storage unit, used to generate transfer information corresponding to this transfer process, and store it in the blockchain system.
- the transfer information includes the information of the initiating node during this transfer process, The information of the designated receiving node of the resource data to be processed; the transfer unit is used to process the resource data request corresponding to the resource data transfer request issued by the initiating node or the current receiving node, and from the blockchain
- the transfer information acquired in the system determines whether to transfer the to-be-processed resource data in the transfer node.
- the storage unit generates transfer information corresponding to this transfer process according to the relevant information of each comprehensive output resource data , Stored in the blockchain system.
- the transfer device further includes a merging unit for determining each batch of resource data to be processed received by the transit node from each initiating node as input resource data for the current transfer process, and combining all the resource data
- a merging unit for determining each batch of resource data to be processed received by the transit node from each initiating node as input resource data for the current transfer process, and combining all the resource data
- Each batch of corresponding resource data transferred from the transfer node to the current receiving node is determined as each output resource data of the current transfer process, and each output resource data is derived from the corresponding input resource data and will have the same initiating node
- the corresponding output resource data of each input resource data of are merged into a batch of comprehensive output resource data.
- the transfer device further includes a merging unit for obtaining the quantity and type of each transferred-in resource data from other nodes in the historical resource data transfer process of the initiating node, and the merged source is the same Transfer-in resource data of other nodes with the same type, generate comprehensive transfer-in resource data, and obtain the quantity and type of the transfer-out resource data that the initiating node intends to transfer to the transfer node during this transfer process, and the merge type is the same
- the transfer unit When the number and type of the integrated transfer-in resource data are the same as the number and type of the resource data to be processed, the transfer unit generates the to-be-processed resource data; The processing resource data is transferred to the transit node of the blockchain system.
- the transfer unit returns the to-be-processed resource data to the initiating node in response to the transfer request of the initiating node or the rejection request of the designated receiving node; the storage unit will respond accordingly
- the return information of is stored in the blockchain system.
- the transfer unit configures the state of the resource data to be processed as a normal state in response to the transfer request of the initiating node or the rejection request of the designated receiving node.
- the resource data to be processed may be transferred to a node other than the designated receiving node.
- the transfer unit transfers the to-be-processed resource data to the current receiving node in response to a resource data signing request initiated by the current receiving node in the blockchain system; the storage unit generates and The corresponding transfer information of this transfer process is stored in the blockchain system.
- the transfer unit configures the state of the resource data to be processed as a locked state according to the transfer information.
- the resource data to be processed can only be transferred to the designated Receiving node; in response to a resource data signing request initiated by the current receiving node in the blockchain system, determine whether to transfer corresponding resource data to the receiving node according to the information of the designated receiving node in the transfer information.
- an apparatus for transferring resource data including: a memory; and a processor coupled to the memory, and the processor is configured to be based on instructions stored in the memory, Execute the resource data transfer method in any of the above embodiments.
- a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the method for transferring resource data in any of the above embodiments is realized.
- a blockchain system including: the resource data transfer device in any of the above embodiments.
- the initiator and receiver of the resource transfer are configured as nodes of the blockchain system, and the non-tamperable feature of the blockchain is used to record the resource conversion process, thereby improving the reliability of the system;
- Figure 1 shows a flowchart of some embodiments of the resource data transfer method of the present disclosure
- FIG. 2 shows a flowchart of some embodiments of step S10 in FIG. 1;
- Figure 3 shows a schematic diagram of some embodiments of the resource data transfer method of the present disclosure
- FIG. 4a shows a flowchart of some embodiments of step S30 in FIG. 1;
- FIG. 4b shows a flowchart of other embodiments of step S30 in FIG. 1;
- FIG. 4c shows a flowchart of still other embodiments of step S30 in FIG. 1;
- Figure 5 shows a flowchart of other embodiments of the resource data transfer method of the present disclosure
- Fig. 6 shows a schematic diagram of other embodiments of the resource data transfer method of the present disclosure
- FIG. 7 shows a schematic diagram of still other embodiments of the resource data transfer method of the present disclosure.
- FIG. 8 shows a flowchart of still other embodiments of the resource data transfer method of the present disclosure.
- FIG. 9 shows a flowchart of some embodiments of the resource data uploading method of the present disclosure.
- FIG. 10 shows a flowchart of some embodiments of the resource data transfer method of the present disclosure
- FIG. 11 shows a flowchart of other embodiments of the resource data transfer method of the present disclosure.
- FIG. 12 shows a flowchart of some embodiments of the resource data return method of the present disclosure
- Figure 13 shows a flowchart of some embodiments of the resource data signing method of the present disclosure
- FIG. 14 shows a block diagram of some embodiments of the resource data transfer device of the present disclosure
- FIG. 15 shows a block diagram of other embodiments of the resource data transfer device of the present disclosure.
- FIG. 16 shows a block diagram of still other embodiments of the resource data transfer device of the present disclosure.
- Figure 17 shows a block diagram of some embodiments of the blockchain system of the present disclosure.
- FIG. 1 shows a flowchart of some embodiments of the resource data transfer method of the present disclosure.
- the method includes: step S10, the resource is transferred to a transit node; step S20, the transfer information is generated and stored; and step S30, it is determined whether to transfer the resource.
- step S10 in response to the resource data transfer request of the initiating node in the blockchain system, the resource data to be processed is transferred to the transfer node of the blockchain system. For example, storing the to-be-processed resource data in the transit node, or transferring it to the transit node name.
- the initiating node may be a network user, a cloud system or computing cluster user, an enterprise, a supplier at all levels, and so on.
- resource data can be network resources such as traffic resources and bandwidth resources of network users, or system resources such as computing resources and storage resources of users of cloud systems or computing clusters, or the funds and assets of enterprises and suppliers at all levels. And other financial resources.
- the resource data of the initiating node is transferred to the transit node by invoking the smart contract of the blockchain system.
- the transit node may be a physical node or a non-physical node implemented by software.
- the transit node may be an intermediate account that the initiating node and the receiving node jointly hold the private key to unlock.
- the transfer process will be recorded in the blockchain system, and blocks will be packaged by the blockchain system.
- step S10 may be performed through the embodiment in FIG. 2.
- FIG. 2 shows a flowchart of some embodiments of step S10 in FIG. 1.
- step S10 may include: step S110, obtaining the quantity and type of transferred resource data; step S120, combining the transferred resource data; step S130, obtaining the quantity and type of transferred resource data; step S140, combining Transfer the resource data; and step S150, transfer the resource data to be processed.
- step S110 the quantity and type of each transferred resource data from other nodes in the historical resource data transfer process of the initiating node are obtained.
- the transfer process model can be established according to the UTXO (Unspent Transaction Output) model.
- each transfer process (or transfer process) includes at least one batch of resource data inputs (inputs) used to represent the resource data obtained before this transfer, and at least one batch of resource data from each input Output is used to represent the resource data transferred out during this transfer process.
- the embodiment in FIG. 3 can be used to establish a transfer process model.
- Fig. 3 shows a schematic diagram of some embodiments of the resource data transfer method of the present disclosure.
- resource data transfer 1 As shown in Figure 3, according to the UTXO model, there are two models of resource data transfer process: resource data transfer 1 and resource data transfer 2.
- the transfer process represented by resource data transfer 1 is that node A transfers resource data to node B and node C.
- INPUT 11 identifies the resource data transferred by node A during the last transfer process;
- OUTPUT 12 and OUTPUT 13 both originate from INPUT 11, and
- OUTPUT 12 and OUTPUT 13 identify the resource data transferred from node A to node B and node C, respectively.
- Resource data transfer 2 represents the transfer process for node B to transfer resource data to node D and node E.
- INPUT 21 identifies the resource data transferred from node A by node B during the transfer process indicated by resource data transfer 1 (that is, from OUTPUT12);
- INPUT 22, INPUT 23 identify the resource data transferred by node B in the last transfer process;
- Both OUTPUT 24 and OUTPUT 25 are derived from INPUT 21, INPUT 22, or INPUT 23, and OUTPUT 24 and OUTPUT 25 identify the resource data transferred from node B to node D and node E, respectively.
- step S120 the transfer-in resource data from the same other nodes and the same type are merged to generate comprehensive transfer-in resource data.
- the type of resource data may be traffic resources, bandwidth resources, computing resources, storage resources, various types of capital resources, and so on.
- step S130 the quantity and type of the transfer-out resource data that the initiating node intends to transfer to the transfer node during this transfer process are obtained.
- step S140 the exported resource data of the same type are merged to generate resource data to be processed.
- step S150 when the quantity and type of the comprehensively transferred resource data are the same as the quantity and type of the resource data to be processed, the resource data to be processed is transferred to the transfer node of the blockchain system. In the case of different quantities or types, you can report an error or prompt that the transfer cannot be carried out.
- step S20 the transfer information corresponding to this transfer process is generated and stored in the blockchain system.
- the transfer information includes the information of the initiating node during this transfer process and the information of the designated receiving node of the resource data to be processed.
- step S30 according to the resource data processing request corresponding to the resource data transfer request issued by the initiating node or the current receiving node, and the transfer information obtained from the blockchain system, it is determined whether to transfer the resource to be processed in the transfer node Data is transferred.
- the resource data processing request corresponding to the resource data transfer request may be a transfer cancellation instruction issued by the initiating node, a sign rejection request or a receipt request issued by the receiving node.
- step S30 may be performed by the embodiment in FIG. 4a, FIG. 4b, or FIG. 4c.
- Fig. 4a shows a flowchart of some embodiments of step S30 in Fig. 1.
- step S30 may include: step S310a, the resource returning to the initiating node; and step S320a, storing the return information.
- step S310a in response to the transfer cancellation request of the initiating node or the sign rejection request of the designated receiving node, the to-be-processed resource data is returned to the initiating node.
- the state of the resource data to be processed in response to the transfer request of the initiating node or the sign-off request of the designated receiving node, is configured as a normal state. In the normal state, the resource data to be processed can be transferred to a node other than the designated receiving node.
- step S320a the corresponding return information is stored in the blockchain system.
- Fig. 4b shows a flowchart of other embodiments of step S30 in Fig. 1.
- step S30 may include: step S310b, the resource is transferred to the receiving node; and step S320b, the transfer information is stored.
- step S310b in response to the resource data signing request initiated by the receiving node in the blockchain system, the resource data to be processed is transferred to the receiving node.
- step S320b the transfer information corresponding to this transfer process is generated and stored in the blockchain system.
- Fig. 4c shows a flowchart of still other embodiments of step S30 in Fig. 1.
- step S30 may include: step S310c, configuring the locked state; and step S320c, determining whether to perform resource transfer.
- step S310c according to the transfer information, the state of the resource data to be processed is configured as a locked state.
- the locked state the resource data to be processed can only be transferred to the designated receiving node.
- step S320c in response to the resource data signing request initiated by the receiving node in the blockchain system, it is determined whether to transfer the corresponding resource data to the receiving node according to the information of the designated receiving node in the transfer information.
- the to-be-processed resource data of each initiating node is multiple batches.
- the transfer information can be stored in the blockchain system through the embodiment in FIG. 5.
- Fig. 5 shows a flowchart of other embodiments of the resource data transfer method of the present disclosure.
- the method further includes: step S51, determining input resource data; step S52, determining output resource data; step S53, combining into comprehensive output resource data; and step S54, Store transfer information.
- step S51 each batch of to-be-processed resource data received by the transit node from each initiating node is determined as each input resource data of the current transfer process.
- each batch of corresponding resource data of the receiving node to which the transit node is transferred is determined as each output resource data of the current transfer process.
- Each output resource data is derived from the corresponding input resource data.
- step S53 the corresponding output resource data of each input resource data having the same originating node are merged into a batch of comprehensive output resource data.
- the transfer information corresponding to this transfer process is generated and stored in the blockchain system.
- the transfer information may include: information of the initiating node of each batch of resource data to be processed, information of the designated receiving node of each batch of resource data to be processed, information of the current receiving node of each batch of resource data to be processed, and so on.
- a pre field may be set for both input and output during the transfer process, which is used to identify the source node of the input and output during the last conversion process. In this way, outputs from the same source can be merged according to the pre field. You can also set the prepare field to identify the source node of input and output during the last two conversions.
- the embodiment in FIG. 6 can be used to implement resource data merging.
- Fig. 6 shows a schematic diagram of other embodiments of the resource data transfer method of the present disclosure.
- the transfer process is for node A to transfer resource data to node B and node C.
- INPUT 61-INPUT 66 are all resource data transferred by node A during the historical transfer process. INPUT 61-INPUT 66 are set with a pre field and a prepre field to respectively identify the last transfer source node and the last two transfer source nodes of the corresponding INPUT (such as nodes D, E, R, etc.).
- OUTPUT 67-OUTPUT 69 is the resource data transferred out to node B or C. Both OUTPUT 67-OUTPUT 69 are provided with a pre field and a prepre field to respectively identify the last transfer source node and the last two transfer source nodes of the corresponding OUTPUT.
- the corresponding OUTPUT can be merged. For example, if INPUT 61-INPUT 63 all originate from node D, then its corresponding OUTPUT can be merged into OUTPUT67; INPUT 64-INPUT 65 all originate from node E, then its corresponding OUTPUT can be merged into OUTPUT 68; only INPUT 66 From node R, its corresponding OUTPUT 69 does not need to be merged.
- the 6 corresponding OUTPUTs originally generated by INPUT 61-INPUT 66 are merged into 3 OUTPUTs: OUTPUT 67-OUTPUT 69.
- OUTPUT 67-OUTPUT 69 3 OUTPUTs.
- the users (subjects) in the resource data supply chain are connected through the blockchain system, and the resources transferred between users are uploaded to the chain as resource data, so that resources can be split among users according to business needs ,circulation.
- the data on the blockchain system is recorded and confirmed by multiple parties, so as to realize the traceability, non-tampering and non-repudiation of resource transfer. In this way, the purpose of transferring the credit of the initiating node between the multi-level receiving nodes can be achieved, and all of its resource data can be traced back to the initial resource data when registering on the chain.
- FIG. 7 shows a schematic diagram of still other embodiments of the resource data transfer method of the present disclosure.
- the resource data that the initiating node needs to be transferred is reviewed and then registered on the chain to form the resource data on the chain.
- the level 1 receiving node After receiving this batch of resource data on the chain, the level 1 receiving node can split it arbitrarily according to needs. After splitting, multiple batches of resource data can be delivered by the initiating node after the resource delivery date expires; or it can be transferred to its upstream level 2 receiving node according to business requirements (at this time, the level 1 receiving node becomes the initiating node); or It is used to apply for resources from resource management node 1 or resource management node 2 (such as network operators, cloud system hosts).
- resource management node 1 or resource management node 2 such as network operators, cloud system hosts.
- the N-level receiving nodes upstream of the level 1 receiving node can freely control the resource data on the chain according to their own needs.
- the entire life cycle of resource data can be divided into three parts: resource data on-chain, resource data transfer, and resource data off-chain.
- Resource data on the chain is to write the resources to be transferred from the initiating node in the supply chain as resource data into the blockchain system by invoking smart contracts to generate the block record transfer history process;
- resource data transfer is to transfer assets in different ways by invoking smart contracts Transfer between nodes, generating blocks to record the transfer history process;
- resource data off-chain is not transferred after the resource delivery date.
- FIG. 8 shows a flowchart of still other embodiments of the resource data transfer method of the present disclosure.
- the initiating node goes through a series of corresponding user internal processes to upload resource data on the chain. If an audit node needs to be audited this time on the chain, the status of the corresponding resource data will be configured as a pending audit status, and the audit node will be audited by the designated audit node. In the case that the audit node confirms that the audit is passed or there is no need to audit this time on the chain, the status of the corresponding resource data is configured as the status to be signed, and the receiving node determines whether to sign.
- the state of the corresponding resource data is configured as a normal state.
- resource data can be transferred, obtained through an audit node, or waiting for delivery due.
- the resource data can be rejected by the receiving node during the transfer process, and can also be revoked by the initiating node (before the receiving node confirms the reception).
- it can be implemented by a transit node that is jointly controlled by both nodes to be transferred.
- the resource data is first transferred to the transit node. If the receiving node agrees to sign, then transfer from the transit node to the receiving node; if the receiving node refuses to sign or the initiating node withdraws, the resource data is returned from the transit node to the initiating node.
- the receiving node agrees to sign, it is judged whether the resource data needs to be reviewed.
- the resource data configuration status is to be signed; if the audit is not required, the resource data configuration status is to be signed.
- the resource data configuration status is normal; after the receiving node confirms the receipt, the resource data configuration status is set to signed; after the receiving node refuses to sign, the resource data configuration status is set to normal.
- FIG. 9 shows a flowchart of some embodiments of the resource data uploading method of the present disclosure.
- step S91 the code parameter processing module in the smart contract is called to process the resource data. For example, the verification of the number of parameters of the resource data, etc., so as to ensure the normal execution of the contract.
- step S92 the state of the newly created resource default data is configured as valid by default.
- step S93 a data model of the resource transfer process is constructed.
- UTXO model construction can be used.
- step S94 it is determined whether the resource data needs to be reviewed. In the case where the audit is not required, step S95 is performed; in the case where the audit is required, step S96 is performed.
- step S95 the resource data is transferred to the transit node.
- step S96 the audit result information is recorded.
- step S97 the audit result information is stored, including the transfer ID (txid), the audit result (ISSUE_ADUIT_MARK), the audit node (auditor), the initiating node, and the receiving node.
- the output of this transfer process can be generated using the structure of txid.j->output, and txid.j identifies the jth transfer.
- FIG. 10 shows a flowchart of some embodiments of the resource data transfer method of the present disclosure.
- step S101 the code parameter processing module in the smart contract is called to process the resource data.
- step S102 the input and output related to this transfer process are obtained.
- step S103 the input is detected, the inputs of the same source and type are merged, and the total amount is calculated. For example, check whether each input comes from the same node (owner); whether it is the same type of resource data; whether it is in a transferable state.
- step S104 output is detected, outputs of the same type are combined, and the total amount is calculated. For example, check whether each output is the same type of resource data.
- step S105 it is verified whether the total amount of input and output are the same and are the same kind of resources. If they are inconsistent or different, they cannot be transferred.
- step S106 it is determined whether the resource data needs to be reviewed. In the case where the audit is not required, step S107 is performed; in the case where the audit is required, step S108 is performed.
- step S107 the resource data is transferred to the transit node.
- step S108 the status of the resource data is modified to pending review.
- step S109 the audit result information is recorded.
- the audit result information is stored, including the transfer ID (txid), the audit result (ISSUE_ADUIT_MARK), the audit node (auditor), the initiating node, and the receiving node.
- the output of this transfer process can be generated using the structure of txid.j->output, and txid.j identifies the jth transfer; the input of this transfer process can be generated using the structure of txid.j->input.
- FIG. 11 shows a flowchart of other embodiments of the resource data transfer method of the present disclosure.
- step S111 the original (INPUT 61-INPUT 66 in Figure 6) and new UTXO data (OUTPUT 67-OUTPUT 69 in Figure 6) are recorded to the transit node in the form of txid.j->output.
- step S112 it is judged whether to transfer or issue resource data.
- step S113 In the case of transit, step S113 is executed; in the case of issuance, step S114 is executed.
- step S113 the used UTXO data (INPUT 61-INPUT 66 in Fig. 6) is deleted.
- step S114 the transfer information or issuance information is stored in the blockchain system.
- FIG. 12 shows a flowchart of some embodiments of the resource data return method of the present disclosure.
- step S121 the transfer information in the blockchain system is read.
- step S122 the UTXO data (data used for the transfer) involved in the INPUT related to the transfer process is restored to the "NORMAL" state.
- step S123 the UTXO resource data restored to the "NORMAL" state is stored in the blockchain system.
- step S124 the message is cleared on the air.
- FIG. 13 shows a flowchart of some embodiments of the resource data signing method of the present disclosure.
- step S131 the transfer information in the blockchain system is read.
- step S132 the resource type list of the receiving node is read.
- step S133 it is determined whether the receiving node has the type of resource to be transferred. If yes, execute step S134; if not, execute step S135.
- step S134 the UTXO data involved in the transit node OUTPUT is transferred to the receiving node.
- step S135 a resource data type corresponding to the resource to be transferred is added for the receiving node.
- step S136 the message is cleared on the air.
- the initiator and receiver of the resource transfer are configured as nodes of the blockchain system, and the non-tamperable feature of the blockchain is used to record the resource conversion process, thereby improving the reliability of the system;
- FIG. 14 shows a block diagram of some embodiments of the resource data transfer device of the present disclosure.
- the resource data transfer device 14 includes a transfer unit 141, a storage unit 142 and a transfer unit 143.
- the transfer unit 141 transfers the resource data to be processed to the transfer node of the blockchain system in response to the resource data transfer request of the initiating node in the blockchain system.
- the storage unit 142 generates transfer information corresponding to this transfer process, and stores it in the blockchain system.
- the transfer information includes the information of the initiating node in the transfer process and the information of the designated receiving node of the resource data to be processed.
- the to-be-processed resource data of each initiating node is multiple batches.
- the storage unit 142 generates transfer information corresponding to this transfer process according to the relevant information of each comprehensive output resource data, and stores it in the blockchain system.
- the transfer unit 143 determines whether to process the resource data to be processed in the transfer node according to the resource data processing request corresponding to the resource data transfer request issued by the initiating node or the current receiving node, and the transfer information obtained from the blockchain system. Transfer.
- the transfer device 14 further includes a merging unit 144 for determining each batch of resource data to be processed received by the transit node from each initiating node as input resource data for this transfer process; and transferring the transit node to Each batch of corresponding resource data of the receiving node is determined as the output resource data of this transfer process, and each output resource data is derived from the corresponding input resource data; the corresponding input resource data with the same initiating node The output resource data is merged into a batch of comprehensive output resource data.
- a merging unit 144 for determining each batch of resource data to be processed received by the transit node from each initiating node as input resource data for this transfer process; and transferring the transit node to Each batch of corresponding resource data of the receiving node is determined as the output resource data of this transfer process, and each output resource data is derived from the corresponding input resource data; the corresponding input resource data with the same initiating node The output resource data is merged into a batch of comprehensive output resource data.
- the merging unit 144 obtains the quantity and type of the transferred resource data from other nodes in the historical resource data transfer process of the initiating node; merges the transferred resource data from the same other node and of the same type, Generate comprehensive transfer-in resource data; obtain the number and type of transfer-out resource data that the initiating node intends to transfer to the transfer node during this transfer; merge transfer-out resource data of the same type to generate resource data to be processed.
- the transfer unit 141 transfers the to-be-processed resource data to the transfer node of the blockchain system when the quantity and type of the comprehensively transferred-in resource data are the same as the quantity and type of the resource data to be processed.
- the transfer unit 143 returns the to-be-processed resource data to the initiating node in response to the transfer request of the initiating node or the rejection request of the designated receiving node; the storage unit 142 stores the corresponding return information in the block Chain system.
- the transfer unit 143 configures the state of the resource data to be processed as a normal state in response to the transfer request of the initiating node or the rejection request of the designated receiving node.
- the normal state the resource data to be processed can be transferred to a node other than the designated receiving node.
- the transfer unit 143 transfers the to-be-processed resource data to the receiving node in response to the resource data signing request initiated by the receiving node in the blockchain system.
- the storage unit 142 generates transfer information corresponding to this transfer process, and stores it in the blockchain system.
- the transfer unit 143 configures the state of the resource data to be processed as a locked state according to the transfer information.
- the locked state the resource data to be processed can only be transferred to the designated receiving node; in response to the resource data signing request initiated by the receiving node in the blockchain system, according to the information of the designated receiving node in the transfer information, determine whether to transfer the corresponding resource data Transfer to the receiving node.
- the initiator and receiver of the resource transfer are configured as nodes of the blockchain system, and the non-tamperable feature of the blockchain is used to record the resource conversion process, thereby improving the reliability of the system;
- FIG. 15 shows a block diagram of other embodiments of the resource data transfer device of the present disclosure.
- the resource data transfer device 15 of this embodiment includes a memory 151 and a processor 152 coupled to the memory 151.
- the processor 152 is configured to execute the present disclosure based on instructions stored in the memory 151.
- the resource data transfer method in any one of the embodiments.
- the memory 151 may include, for example, a system memory, a fixed non-volatile storage medium, and the like.
- the system memory for example, stores an operating system, an application program, a boot loader (Boot Loader), a database, and other programs.
- FIG. 16 shows a block diagram of still other embodiments of the resource data transfer device of the present disclosure.
- the resource data transfer device 16 of this embodiment includes a memory 1610 and a processor 1620 coupled to the memory 1610.
- the processor 1620 is configured to execute any of the foregoing based on instructions stored in the memory 1610.
- the memory 1610 may include, for example, a system memory, a fixed non-volatile storage medium, and the like.
- the system memory stores, for example, an operating system, an application program, a boot loader (Boot Loader), and other programs.
- the resource data transfer device 16 may also include an input/output interface 1630, a network interface 1640, a storage interface 1650, and the like. These interfaces 1630, 1640, 1650, the memory 1610 and the processor 1620 may be connected via a bus 1660, for example.
- the input and output interface 1630 provides a connection interface for input and output devices such as a display, a mouse, a keyboard, and a touch screen.
- the network interface 1640 provides a connection interface for various networked devices.
- the storage interface 1650 provides connection interfaces for external storage devices such as SD cards and U disks.
- the embodiments of the present disclosure can be provided as a method, a system, or a computer program product. Therefore, the present disclosure may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transitory storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes. .
- Figure 17 shows a block diagram of some embodiments of the blockchain system of the present disclosure.
- the blockchain system 17 includes the resource data transfer device 171 in any of the above embodiments.
- the method and system of the present disclosure may be implemented in many ways.
- the method and system of the present disclosure can be implemented by software, hardware, firmware or any combination of software, hardware, and firmware.
- the above-mentioned order of the steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless specifically stated otherwise.
- the present disclosure can also be implemented as programs recorded in a recording medium, and these programs include machine-readable instructions for implementing the method according to the present disclosure.
- the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
La présente divulgation appartient au domaine technique du traitement de données, et divulgue un procédé et un dispositif de transfert de données de ressource, et un système de chaîne de blocs. Le procédé comprend les étapes consistant à : en réponse à une demande de transfert de données de ressource d'un nœud d'initiation dans le système de chaîne de blocs, transférer des données de ressource à traiter correspondant à la demande de transfert de données de ressource à un nœud de transfert du système de chaîne de blocs ; générer des informations de transfert correspondant au processus de transfert et les stocker dans le système de chaîne de blocs, les informations de transfert comprenant des informations du nœud d'initiation dans le processus de transfert et des informations d'un nœud de réception désigné desdites données de ressources ; et déterminer s'il faut transférer lesdites données de ressource dans le nœud de transfert selon une demande de traitement de données de ressource correspondant à la demande de transfert de données de ressource et envoyée par le nœud d'initiation ou le nœud de réception courant, ainsi que les informations de transfert obtenues à partir du système de chaîne de blocs.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910976320.3A CN110704196B (zh) | 2019-10-15 | 2019-10-15 | 资源数据的转移方法、装置和区块链系统 |
CN201910976320.3 | 2019-10-15 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021073096A1 true WO2021073096A1 (fr) | 2021-04-22 |
Family
ID=69199588
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2020/092029 WO2021073096A1 (fr) | 2019-10-15 | 2020-05-25 | Procédé et dispositif de transfert de données de ressource, et système de chaîne de blocs |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN110704196B (fr) |
WO (1) | WO2021073096A1 (fr) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110704196B (zh) * | 2019-10-15 | 2021-03-30 | 京东数字科技控股有限公司 | 资源数据的转移方法、装置和区块链系统 |
CN111309711A (zh) * | 2020-03-13 | 2020-06-19 | 财付通支付科技有限公司 | 跨区块链的数据迁移方法、装置、设备及存储介质 |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109146681A (zh) * | 2018-07-26 | 2019-01-04 | 百度在线网络技术(北京)有限公司 | 一种区块链的元素处理方法、装置、设备和存储介质 |
CN110210732A (zh) * | 2019-05-20 | 2019-09-06 | 平安银行股份有限公司 | 资源转移方法、装置、计算机设备和存储介质 |
CN110704196A (zh) * | 2019-10-15 | 2020-01-17 | 京东数字科技控股有限公司 | 资源数据的转移方法、装置和区块链系统 |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105427169B (zh) * | 2014-09-17 | 2021-05-11 | 中国银联股份有限公司 | 用于资源转移的安全性信息交互方法 |
CN105847308A (zh) * | 2015-01-12 | 2016-08-10 | 阿里巴巴集团控股有限公司 | 一种资源信息的转移处理方法和装置 |
CN107292688A (zh) * | 2016-03-31 | 2017-10-24 | 阿里巴巴集团控股有限公司 | 一种业务处理方法及装置 |
CN109285069B (zh) * | 2017-07-19 | 2022-11-15 | 腾讯科技(深圳)有限公司 | 资源转移方法、装置及服务器 |
US10643202B2 (en) * | 2017-07-25 | 2020-05-05 | Bank Of America Corporation | Real-time processing distributed ledger system |
US20190188706A1 (en) * | 2017-12-18 | 2019-06-20 | Apple Inc. | Transference tracking |
CN109064145A (zh) * | 2018-07-25 | 2018-12-21 | 中国农业银行股份有限公司 | 一种基于区块链的资产转移方法及装置 |
CN111008839B (zh) * | 2018-08-01 | 2021-09-14 | 腾讯科技(深圳)有限公司 | 资源转移数据管理方法、装置及存储介质 |
-
2019
- 2019-10-15 CN CN201910976320.3A patent/CN110704196B/zh active Active
-
2020
- 2020-05-25 WO PCT/CN2020/092029 patent/WO2021073096A1/fr active Application Filing
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109146681A (zh) * | 2018-07-26 | 2019-01-04 | 百度在线网络技术(北京)有限公司 | 一种区块链的元素处理方法、装置、设备和存储介质 |
CN110210732A (zh) * | 2019-05-20 | 2019-09-06 | 平安银行股份有限公司 | 资源转移方法、装置、计算机设备和存储介质 |
CN110704196A (zh) * | 2019-10-15 | 2020-01-17 | 京东数字科技控股有限公司 | 资源数据的转移方法、装置和区块链系统 |
Also Published As
Publication number | Publication date |
---|---|
CN110704196B (zh) | 2021-03-30 |
CN110704196A (zh) | 2020-01-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11921682B2 (en) | Extracting data from a blockchain network | |
TWI705346B (zh) | 基於中心化結算與區塊鏈存證的交易方法及系統 | |
CN107395353B (zh) | 一种区块链共识方法及装置 | |
TWI795374B (zh) | 用於在區塊鏈上引導與匿名保存的符記相關聯的交換之方法及系統 | |
CN108595157B (zh) | 区块链数据的处理方法、装置、设备和存储介质 | |
US20210406798A1 (en) | Business process decomposition and modular reusable process automation system | |
US20190116185A1 (en) | Access authority management method, access authority management system, and access authority management apparatus | |
US20190317757A1 (en) | Deployment of infrastructure in pipelines | |
US9483386B2 (en) | Information interaction test device and method based on automatic generation of associated test cases | |
US20200274712A1 (en) | Ledger-independent token service | |
WO2021082340A1 (fr) | Procédé de traitement de données, appareil, système et support de stockage | |
US9613330B2 (en) | Identity and access management | |
US9697042B2 (en) | Extensibility of business process and application logic | |
US11151122B2 (en) | Distributed ledger data linkage management | |
WO2021073096A1 (fr) | Procédé et dispositif de transfert de données de ressource, et système de chaîne de blocs | |
US20200402031A1 (en) | Systems and methods for generating smart contracts to manage escrow transactions | |
WO2020238250A1 (fr) | Procédé et système de traçage d'informations de chaîne de capital, et serveur et support de stockage lisible | |
GB2586470A (en) | Systems and methods for generating smart contracts to manage escrow transactions | |
KR20220071241A (ko) | 컴퓨터-구현 시스템 및 방법 | |
US10809992B1 (en) | Method and apparatus for continuous delivery of permissioned blockchain application | |
KR102431835B1 (ko) | 토큰 모델링 장치 및 이를 포함하는 데이터 무결성 검증 시스템 및 방법 | |
CN116018796A (zh) | 创建方法、信息处理方法、存储方法、电子设备及存储介质 | |
Pourheidari et al. | A case study of execution of untrusted business process on permissioned blockchain | |
CN112181599A (zh) | 模型训练方法、装置及存储介质 | |
JP7460348B2 (ja) | ブロックチェーンの拡張を可能にするトランザクション処理システムおよび方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20877013 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 09.08.2022) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 20877013 Country of ref document: EP Kind code of ref document: A1 |