CN115705601A - Data processing method and device, computer equipment and storage medium - Google Patents

Data processing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115705601A
CN115705601A CN202110905522.6A CN202110905522A CN115705601A CN 115705601 A CN115705601 A CN 115705601A CN 202110905522 A CN202110905522 A CN 202110905522A CN 115705601 A CN115705601 A CN 115705601A
Authority
CN
China
Prior art keywords
node
settlement
voucher
resource
target node
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110905522.6A
Other languages
Chinese (zh)
Inventor
郭懿心
莫洋
韦德志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tenpay Payment Technology Co Ltd
Original Assignee
Tenpay Payment Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tenpay Payment Technology Co Ltd filed Critical Tenpay Payment Technology Co Ltd
Priority to CN202110905522.6A priority Critical patent/CN115705601A/en
Publication of CN115705601A publication Critical patent/CN115705601A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a data processing method, a device, computer equipment and a storage medium, wherein the data processing method comprises the following steps: in the process of resource settlement, acquiring a settlement voucher input into a target node, and determining one or more associated nodes needing to acquire the settlement voucher from the target node; according to the node information of any associated node and the settlement relationship between the target node and any associated node, a settlement voucher of any associated node is created; generating a resource circulation voucher according to the settlement voucher of the input target node and the established settlement voucher of each associated node; and sending the resource circulation voucher to the block chain network so that any associated node reads out a settlement voucher created for any associated node from the resource circulation voucher. According to the resource flow certificate generation method and device, settlement certificates can be created for one or more associated nodes and resource flow certificates can be generated, so that the resource flow certificates can be split, and the resource settlement efficiency is improved.

Description

Data processing method, data processing device, computer equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a data processing method and apparatus, a computer device, and a storage medium.
Background
In the process of resource settlement of each merchant in the supply chain, resource circulation certificates with values are generally used, wherein the resource circulation certificates are valuable certificates issued by a drawer and promised to pay a certain amount unconditionally to a payee or a ticket holder when the payee or the payer sees a ticket or on a specified date.
At present, a resource circulation voucher which is circulated and used in a supply chain has the characteristic of being not detachable, so that the problem of mismatching between virtual resources recorded by the resource circulation voucher and virtual resources to be paid may occur in the endorsement circulation process. To solve the problem of resource mismatch, a common method is to paste other types of certificates (e.g. cash), which is cumbersome to operate and results in low efficiency of resource settlement.
Disclosure of Invention
The embodiment of the application provides a data processing method, a data processing device, a computer device and a storage medium, which can create settlement vouchers for one or more associated nodes and generate resource circulation vouchers, so that the splitting of the resource circulation vouchers is realized, and the efficiency of resource settlement is improved.
In one aspect, an embodiment of the present application provides a data processing method, where the method includes:
in the process of resource settlement, acquiring a settlement voucher input into a target node, and determining one or more associated nodes needing to acquire the settlement voucher from the target node;
according to the node information of any associated node and the settlement relationship between the target node and the associated node, a settlement voucher of the associated node is created;
generating a resource circulation voucher according to the settlement voucher of the input target node and the established settlement voucher of each associated node;
and sending the resource circulation voucher to the block chain network so that any associated node reads out a settlement voucher created for any associated node from the resource circulation voucher.
In one aspect, an embodiment of the present application provides a data processing apparatus, where the apparatus includes:
the processing unit is used for acquiring a settlement certificate input into a target node in the process of resource settlement and determining one or more associated nodes needing to acquire the settlement certificate from the target node;
the creating unit is used for creating a settlement certificate of any associated node according to the node information of any associated node and the settlement relationship between the target node and any associated node;
the generation unit is used for generating a resource circulation voucher according to the settlement voucher of the input target node and the established settlement voucher of each associated node;
and the sending unit is used for sending the resource circulation voucher to the block chain network so that any associated node reads out a settlement voucher created for any associated node from the resource circulation voucher.
In one aspect, the present application provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the data processing method described above.
In one aspect, an embodiment of the present application provides a computer-readable storage medium, where a computer program is stored, and when the computer program is read and executed by a processor of a computer device, the computer device is caused to execute the data processing method described above.
In one aspect, embodiments of the present application provide a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the data processing method.
In the embodiment of the application, in the process of resource settlement, firstly, a settlement voucher input into a current node can be obtained, and after one or more associated nodes needing to obtain the settlement voucher from the current node are determined, a settlement voucher of any associated node is created according to node information of any associated node and a settlement relation between the current node and any associated node; then, a resource circulation voucher can be generated according to the settlement voucher input into the current node and the generated settlement voucher of each associated node; and finally, sending the resource circulation voucher to the block chain network so that any associated node reads out a settlement voucher created for any associated node from the resource circulation voucher. Therefore, in the embodiment of the application, in the process of resource settlement, based on the settlement credentials input into the target node, the target node may respectively create corresponding settlement credentials for one or more associated nodes, so as to generate resource circulation credentials, and finally, any associated node may read the settlement credentials created for any associated node from the resource circulation credentials. The splitting of the resource circulation voucher is realized, and the efficiency in the resource settlement process is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic diagram of a data processing method provided in an embodiment of the present application;
FIG. 2A is a block diagram of a data processing system according to an embodiment of the present application;
fig. 2B is a schematic structural diagram of a block according to an embodiment of the present disclosure;
fig. 2C is a schematic flow chart of block generation according to an embodiment of the present disclosure;
fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a settlement credential of a target node according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a settlement credential associated with a node according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a resource flow certificate according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The embodiment of the application provides a data processing scheme, which can be combined with a block chain technology, is applied to scenes such as bill circulation and settlement in various supply chains, and can realize circulation and separation of resource circulation vouchers, thereby improving the processing efficiency of resource settlement. Referring to fig. 1, fig. 1 is a schematic diagram of a data processing scheme provided in an embodiment of the present application, where the data processing scheme includes: in the process of performing resource settlement, a current node (e.g. a primary provider) may obtain a settlement credential input to the current node, where the current node may obtain the settlement credential by: the current node creates a settlement voucher itself, or the settlement voucher that the current node acquires from other nodes (such as core enterprises) in the blockchain network. Then, the current node first determines to which associated nodes the settlement credentials input to the current node need to be split and sent, and the number of the associated nodes may be one or multiple, for example, in fig. 1, the associated nodes associated with the primary providers may include: secondary supplier a and secondary supplier B. After determining one or more associated nodes, the current node creates a corresponding settlement credential for any associated node according to the node information (e.g., address information) of any associated node and the resource amount of the virtual resource that the current node needs to settle to any associated node. The settlement voucher created for any one of the associated nodes comprises the node information of any one of the associated nodes, so that the subsequent corresponding associated node can only acquire the settlement voucher related to the node information of the associated node from the settlement vouchers, but cannot acquire the settlement vouchers of other associated nodes, and the safety and the confidentiality of the settlement voucher in the resource settlement process are ensured. It should be noted that, in the process of creating settlement credentials for the associated nodes, each settlement credential may include a resource amount of a virtual resource, and a total resource amount of the virtual resource included in the settlement credentials input to the current node should be greater than or equal to a sum of the resource amounts of the virtual resources included in the settlement credentials of the respective associated nodes. For example, the total amount of resources included in the settlement credential of the current node is 10, then the amount of resources included in the settlement credential that may be associated node a may be 2 and the amount of resources included in the settlement credential that is associated node B may be 8.
Further, after the corresponding settlement credentials are created for each associated node, the current node may generate a resource flow credential according to the settlement credentials input into the current node and the created settlement credentials of each associated node (for example, each of the graphs tx1, tx2, tx3, and tx4 may be referred to as a resource flow credential). Taking the generated resource flow certificate as tx2 as an example, the current node sends the resource flow certificate tx2 to the block chain network, so that any associated node reads out the settlement certificate created by the current node as any associated node from the resource flow certificate tx 2. For example, associated node a reads settlement credential a from tx2 and associated node B reads settlement credential B from tx 2. Subsequently, the associated node a may split and create a new resource flow credential tx3 based on the acquired settlement credential a, and similarly, the associated node B may also split and create a new resource flow credential tx4 based on the acquired settlement credential B. By analogy, the resource circulation voucher performs step-by-step splitting and circulation in the settlement of suppliers at all levels, and penetrates through the whole supply chain.
Therefore, in the embodiment of the application, in the process of resource settlement, based on the settlement credentials input into the target node, the target node can respectively create corresponding settlement credentials for one or more associated nodes, so as to generate resource circulation credentials, and finally, any associated node can read the settlement credentials created for any associated node from the resource circulation credentials. In conclusion, the method and the device can combine the block chain technology with the splitting and the circulation of the resource circulation voucher, the splitting and the circulation of the resource circulation voucher are realized by using the settlement voucher in the block chain, and the problems of the authenticity and the transaction safety of the resource circulation voucher are solved by constructing a transaction mode of confirmation and settlement on the chain, so that the resource settlement efficiency of the resource circulation voucher is further improved, the settlement cost is reduced, and the scene adaptation range of the resource circulation voucher is enlarged.
The following describes technical terms related to the embodiments of the present application:
the Blockchain (Blockchain) is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. It is a series of word records (also called blocks) that are cryptographically concatenated and protect content. Each chunk contains the cryptographic hash of the previous chunk, the corresponding time stamp, and transaction data (represented by the hash values typically computed using the merkel tree algorithm), such a design makes the contents of the chunk tamper-resistant. The distributed account book concatenated by the block chain technology can effectively record the transaction by two parties and permanently check the transaction.
Referring to the data sharing system shown in fig. 2A, the data sharing system 100 refers to a system for performing data sharing between nodes, the data sharing system may include a plurality of nodes 101, and the plurality of nodes 101 may be directly or indirectly connected through wired or wireless communication, which is not limited herein. Each node 101 may receive input information while operating normally and maintain shared data within the data sharing system based on the received input information. In order to ensure information intercommunication in the data sharing system, information connection can exist between each node in the data sharing system, and information transmission can be carried out between the nodes through the information connection. For example, when an arbitrary node in the data sharing system receives input information, other nodes in the data sharing system acquire the input information according to a consensus algorithm, and store the input information as data in shared data, so that the data stored on all the nodes in the data sharing system are consistent.
The node 101 shown in fig. 2A may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a Mobile Internet Device (MID), a vehicle, an on-board device, a roadside device, an aircraft, a wearable device, a smart television, and the like, for example, a smart watch, a smart bracelet, a pedometer, and the like, and other devices having a data processing function. The node 101 shown in fig. 2A may also be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides basic cloud computing services such as a cloud service, a cloud database, cloud computing, a cloud function, cloud storage, a Network service, cloud communication, a middleware service, a domain name service, a security service, a CDN (Content Delivery Network), a big data and an artificial intelligence platform.
In a possible implementation manner, the target node in this embodiment may be the node 101 in the data sharing system shown in fig. 2A, any associated node may also be the node 101 in the data sharing system shown in fig. 2A, and the target node and one or more associated nodes may form the data sharing system shown in fig. 2A.
Each node in the data sharing system has a node identifier corresponding thereto, and each node in the data sharing system may store a node identifier of another node in the data sharing system, so that the generated block is broadcast to the other node in the data sharing system according to the node identifier of the other node in the following. Each node may maintain a node identifier list as shown in the following table, and store the node name and the node identifier in the node identifier list correspondingly. The node identifier may be an IP (Internet Protocol) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example.
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N xx.xx.xx.xx
Each node in the data sharing system stores one and the same blockchain. The block chain is composed of a plurality of blocks, as shown in fig. 2B, the block chain is composed of a plurality of blocks, the starting block includes a block header and a block main body, the block header stores an input information characteristic value, a version number, a timestamp and a difficulty value, and the block main body stores input information; the next block of the starting block takes the starting block as a parent block, the next block also comprises a block head and a block main body, the block head stores the input information characteristic value of the current block, the block head characteristic value of the parent block, the version number, the timestamp and the difficulty value, and the like, so that the block data stored in each block in the block chain is associated with the block data stored in the parent block, and the safety of the input information in the block is ensured.
When each block in the block chain is generated, referring to fig. 2C, when the node where the block chain is located receives the input information, the input information is verified, after the verification is completed, the input information is stored in the memory pool, and the hash tree used for recording the input information is updated; and then, updating the updating time stamp to the time when the input information is received, trying different random numbers, and calculating the characteristic value for multiple times, so that the calculated characteristic value can meet the following formula:
SHA256(SHA256(version+prev_hash+merkle_root+ntime+nbits+x))<TARGET
wherein, SHA256 is a characteristic value algorithm used for calculating a characteristic value; version (version number) is version information of related block protocols in the block chain; prev _ hash is a block head characteristic value of a parent block of the current block; the quick _ root is a characteristic value of the input information; ntime is the update time of the update timestamp; the nbits is the current difficulty, is a fixed value within a period of time, and is determined again after the fixed period of time is exceeded; x is a random number; TARGET is a feature threshold, which can be determined from nbits.
Therefore, when the random number meeting the formula is obtained through calculation, the information can be correspondingly stored, and the block head and the block main body are generated to obtain the current block. And then, the node where the block chain is located sends the newly generated blocks to other nodes in the data sharing system where the newly generated blocks are located respectively according to the node identifiers of the other nodes in the data sharing system, the newly generated blocks are verified by the other nodes, and the newly generated blocks are added to the block chain stored in the newly generated blocks after the verification is completed.
The data processing scheme of the application can be combined with the block chain technology, for example, data such as a settlement certificate of an input target node, a settlement certificate of each created associated node, a resource flow certificate and the like can be uploaded to the block chain for storage, and the data on the block chain can be guaranteed to be not easy to be tampered. Based on the scheme provided by the embodiment of the application, in the process of resource settlement, the resource circulation voucher can be sent to the blockchain network and stored in the blockchain network, so that any associated node in the blockchain network reads the settlement voucher created for any associated node from the resource circulation voucher. Subsequently, resource settlement between the target node and the associated node may be conducted based on the settlement credentials.
Furthermore, the data processing flow of resource settlement between the target node and the associated node can be executed on the block chain, so that the fairness and the justice of the data processing flow can be guaranteed, the data processing flow can have traceability, and the safety of the data processing flow is improved.
Based on the above analysis, the data processing method of the present application is described below with reference to fig. 3. Referring to fig. 3, fig. 3 is a schematic flowchart of a data processing method according to an embodiment of the present disclosure. The data processing method can be executed by a target node in a blockchain network, the target node can be a computer device, the computer device can be a terminal device such as an in-vehicle device, a smart phone, a tablet computer, a smart wearable device and the like, and the computer device can also be a server. As shown in fig. 3, the data processing method may include steps S310 to S340. Wherein:
s310: in the process of resource settlement, a settlement certificate input into a target node is obtained, and one or more associated nodes needing to obtain the settlement certificate from the target node are determined.
In this embodiment of the present application, the target node may be any node in the blockchain network, for example, the node type of the target node may include but is not limited to: a full node, a light node (also called a mining node), and a Simple Payment Verification (SPV) node. Moreover, the blockchain network in the embodiment of the present application may include the following three types of networks: a Public chain (Public block chain) network, a Private chain (Private block chain) network, a Consortium chain (Consortium block chain) network, and the like, which are not specifically limited in this embodiment of the present application.
The settlement voucher may be an Unspent Transaction Output (UTXO), where the UTXO is a basic unit of bitcoin Transaction, each Transaction costs (pend) one or more inputs to generate one or more outputs (outputs), and the generated outputs are "Unspent Transaction outputs", that is, "settlement voucher" in the present application.
In addition, the associated node may be any node in the blockchain network except the target node, and the associated node may also be a node in the blockchain network that has an association relationship with the target node. Also, the node types of the associated nodes may also include, but are not limited to: the node types of the associated nodes and the target node can be the same or different; similarly, the node types between the associated nodes may be the same or different. For example, the target node may be a full node, and the associated nodes of the target node may be two light nodes; for another example, the target node may be a light node, and the associated node of the target node may be a light node and an SPV node, and the node types of the target node and the associated node are not specifically limited in this embodiment of the application.
For example, in the process of performing resource settlement in a resource circulation supply chain, the target node may be a node where a primary provider is located, and one or more associated nodes associated with the target node may be a secondary provider a, a secondary provider B, and the like.
In one possible implementation, the settlement credentials entered into the target node may be created by the target node itself. In specific implementation, first, the target node sends a credential creation request to the Authority, where the credential creation request carries qualification information for the target node to create a credential, and the qualification information may include, but is not limited to, a digital (CA) certificate of the target node, and the like. So that the authority can check the certificate creation qualification of the target node according to the qualification information after receiving the certificate creation request sent by the target node. After the authority acquires a certificate creation request sent by a target node, the authority verifies the authenticity and the legality of the CA certificate according to the qualification information (such as the CA certificate) carried in the certificate creation request, and if the verification is passed, the authority can determine that the target node passes the verification of the certificate creation qualification; if the verification fails, the authority determines that the target node fails the verification of the credential creation qualification. Further, if the authorization mechanism determines that the target node passes the verification of the certificate creation qualification, the authorization mechanism may send a message that the verification of the certificate creation qualification passes to the target node, and after the target node acquires the message, the settlement certificate of the target node may be created according to the amount of settlement resources to be created.
In another possible implementation, the settlement voucher entered into the target node may also be created by other nodes and then sent to the target node. During specific implementation, firstly, a target node sends a certificate creation request to an authorization mechanism, wherein the certificate creation request carries qualification information for certificate creation, so that the authorization mechanism verifies the certificate creation qualification of the target node according to the qualification information. If the target node fails to pass the verification of the certificate creation qualification, the target node can obtain the settlement certificate sent to the target node from the resource circulation certificates sent by other nodes. For a detailed flow of how an authority verifies the credential creation qualification of the target node according to the qualification information, reference may be made to the above description, and details of the embodiments of the present application are not described herein again. It should be noted that, the process of the target node obtaining the settlement credential sent to the target node from the resource flow credential sent by the other node may include: and the target node decrypts the settlement voucher created for the target node by using the node address of the target node, thereby acquiring the settlement voucher of the target node.
In one possible implementation, the settlement credentials may include at least: a quantity field and an address field. The quantity field comprises the quantity of settlement resources between the target node and any one of the associated nodes in the resource settlement process, and the quantity of the settlement resources is the quantity of the settled virtual resources. The address field includes node information for any associated node. In addition, the settlement voucher may further include: a relationship record field. The relationship record field may include: the settlement operation and the settlement resource amount required to be executed between the target node and any one of the associated nodes. Moreover, the relationship record field may be used to query resource settlement circulation information during resource settlement between the target node and any associated node, where the resource settlement circulation information may include, for example: and the target node transfers the virtual resource with the settlement resource quantity of X to the associated node A. Of course, according to different scenario requirements, the settlement credential may further include information of other fields, for example, the settlement credential may further include a service type involved in performing resource settlement between the target node and any associated node, for example, the service type includes but is not limited to: educational type, business type, public welfare type, etc., which the embodiments of the present application are not particularly limited.
For example, please refer to fig. 4, fig. 4 is a schematic structural diagram of a settlement credential of a target node according to an embodiment of the present application. As shown in fig. 4, the settlement credential may include a quantity field, a relationship record field, and an address field, wherein the quantity field may be represented as an amount field, the relationship record field may be represented as a data field, and the address field may be represented as an address field. For example, if the amount field is 10, the resource amount of the virtual resource that can be circulated or allocated in the account of the target node is 10, and the data field can be expressed as: the target node acquires a virtual resource with a resource amount of 10 (which may be acquired from an account of another node or owned by the target node a itself), and the address field may be an address of the target node, such as an IP address: 117.114.151.17, it is needless to say that the address field may also be represented by other information, for example, a node identifier generated for the target node in advance according to the identity information of the target node, as long as the target node can be uniquely identified, and this is not particularly limited in this embodiment of the present application. It should be noted that, if a node needs to transfer a virtual resource to another node, the resource amount of the transferred virtual resource should be less than or equal to the total resource amount of the virtual resource in the node account.
S320: and creating a settlement certificate of any associated node according to the node information of any associated node and the settlement relation between the target node and any associated node, wherein the settlement certificate of any associated node comprises the node information of any associated node.
In this application, the node information of any associated node may include address information of any associated node, and the address information may include, but is not limited to: an IP address, or a unique identifier (which may be represented by one or more of letters, numbers, and letters) generated according to the identity information of any associated node, for example, the IP address of any associated node may be 117.114.151.174, and the unique identifier of any associated node may be node 1. The settlement relationship between the target node and any associated node may refer to: the amount of resources of the virtual resources that the target node needs to transfer to any associated node.
In a possible implementation manner, the process that the target node creates the settlement credential of any associated node according to the node information of any associated node and the settlement relationship between the target node and any associated node may include: firstly, a target node acquires node information of any associated node, and transmits the node information to an address field for storage, wherein the node information comprises a node address of any associated node. And then, acquiring the quantity of settlement resources required by the target node to settle with any associated node according to the settlement relation between the target node and any associated node. And finally, the target node stores the settlement resource quantity into the quantity field to obtain the settlement voucher of any associated node.
In another possible implementation, the settlement credential created by the target node for any associated node further includes a relationship record field. The target node can also obtain the settlement operation required to be executed between the target node and any associated node according to the settlement relation between the target node and any associated node; then, the target node stores the settlement operation required to be executed and the settlement resource quantity association into the relation record field.
For example, assume that the target node creates M settlement credentials for M associated nodes, M being a positive integer. The target node creates a settlement credential for one associated node, and the settlement credential created by the target node for any associated node may include: a quantity field, an address field, and a relationship record field. Referring to fig. 5, fig. 5 is a schematic structural diagram of a settlement credential associated with a node according to an embodiment of the present disclosure. Assuming that the target node creates settlement credentials a and B for the associated node a and the associated node B, respectively, where a quantity field included in the settlement credentials a may be represented as 2, and a relationship record field may be represented as: the target node transfers the virtual resource with the resource amount of 2 to the associated node a, and the address field can be represented as: 117.114.151.15. likewise, the quantity field included in the settlement credential b may be represented as 8, and the relationship record field may be represented as: the target node transfers the virtual resource with the resource amount of 8 to the associated node B, and the address field may be represented as: 117.114.151.16.
it should be noted that the number of settlement resources included in the number of settlement credentials field of the target node is greater than or equal to the sum of the number of settlement resources included in the number of settlement credentials fields of the respective associated nodes.
S330: and generating a resource circulation voucher according to the settlement voucher of the input target node and the established settlement voucher of each associated node.
In the embodiment of the application, the resource circulation voucher can be a bill, wherein the bill refers to a valuable paper which is issued by a drawer and promises that the drawer or a consignor unconditionally pays a certain amount to a payee or a ticket holder when the drawer sees the bill or on a specified date, and the valuable paper comprises a draft, a bank note, a check and the like. In addition, the resource flow voucher in the embodiment of the present application may at least be composed of signed UTXO (i.e. settlement voucher of target node) input to the target node, meta data, and one or more created output lists of unsigned UTXO (i.e. settlement voucher of associated node).
In one possible implementation, the process of generating the resource flow certificate according to the settlement certificate of the input target node and the created settlement certificate of each associated node may include: firstly, the target node stores the settlement voucher input into the target node into an input field, and stores the settlement voucher of any one created associated node into an output table field respectively. And then, the target node constructs a resource circulation certificate of the target node according to the input field and the output table field.
In another possible implementation manner, the resource flow credential may further include: a data record field. The data record field records one or more of the following information: the node information of the target node, the node information of any associated node, and the node information of the target node and each associated node in the resource settlement process.
For example, please refer to fig. 6, where fig. 6 is a schematic structural diagram of a resource flow certificate according to an embodiment of the present application. The resource flow credentials as shown in fig. 6 may include: an input field, a meta data (data record) field, and an output table field. Wherein, the input field may be an input field of the resource flow certificate, and may include a signed settlement certificate of the target node; the outputlist field may be an output list field of the resource flow credential, which may include settlement credentials created for one or more associated nodes; the meta data may be a data record field of the resource flow certificate, and may record the following information: the system comprises a drawer (namely node information of a target node), a ticket receiver (namely node information of any related node), an acceptance person and acceptance information (namely information of the acceptance target node and each related node in the process of resource settlement). It should be noted that it needs to be ensured that the sum of the resource amounts included in all the associated nodes of the outputlist field in the resource flow certificate is equal to the total amount of the resource amount input in the input field.
In another possible implementation manner, the resource flow credential may further include an authority constraint field, where the authority constraint field is used to indicate a flow range of the resource flow credential, and the flow range may include one or more specified nodes. The target node sends the resource flow certificate to the blockchain network, which may include: the target node sends the resource flow certificate to the blockchain network, and the resource flow certificate is recorded in one or more designated nodes indicated by the permission constraint field. For example, assuming that the target node is a raw material process vendor of a food supply chain, the scope of the resource flow certificate may only flow in one or more cooperating enterprises that cooperate with the raw material process vendor, e.g., the raw material process vendor has a cooperation with N enterprises, enterprise a, enterprise b. After the raw material processing manufacturer generates the resource transfer voucher, the resource transfer voucher can be sent to only the N enterprises in the block chain network, so that part or all of the N enterprises respectively obtain the corresponding settlement vouchers.
By the method, the transferable range of the resource transfer voucher is limited, namely, the resource transfer voucher can be actually accepted only in a supply chain or a related financial institution, and meanwhile, the resource transfer voucher to be transferred is influenced by the self state and the acceptance record, so that a related audit rule contract can be deployed in advance in a block chain network, only the resource transfer voucher meeting the contract specification is included, and an uplink request of abnormal transaction or illegal transfer behavior transaction is rejected, thereby ensuring the compliance and the security of the resource transfer voucher on the chain.
In a possible implementation manner, the process of generating, by the target node, the resource flow credential according to the settlement credential input to the target node and the created settlement credential of each associated node may include: firstly, the target node encrypts a settlement voucher created for any associated node by adopting the node address of any associated node. And then, the target node generates a resource circulation certificate according to the settlement certificate input into the target node and the encrypted settlement certificate corresponding to each associated node, so that any associated node obtains the settlement certificate created for the corresponding associated node based on decryption processing of the resource circulation certificate.
It should be noted that the node added to the blockchain network has a pair of public and private keys, and may specifically be created by using an asymmetric encryption algorithm, for example, the node may first randomly generate a private key, and then, based on the principle of the asymmetric encryption algorithm, calculate a public key from the private key, and then obtain a transaction address (also referred to as a wallet address) from the public key through a series of digital signature operations. That is, knowing the public key of a node, the transaction address of the node can be calculated. In some embodiments, the public key may also serve as the wallet address or an identification of the wallet address. The asymmetric encryption algorithm may include, but is not limited to: the Elgamal algorithm, the Rabin algorithm, the Diffie-Hellman algorithm, the elliptic Curve Encryption (ECC) algorithm. Wherein the key pair comprises a public key and a private key; the public key is typically broadcast to the blockchain network and the private key is kept by the node. It should be noted that the public and private keys in the blockchain network are unique.
For example, assuming that the associated node includes an associated node a and an associated node B, the target node performs an encryption process on the settlement credential a by using the node address add1 of the associated node a to obtain an encrypted settlement credential a ', and the target node performs an encryption process on the settlement credential B by using the node address add2 of the associated node B to obtain an encrypted settlement credential B'. Then, a resource flow certificate is generated according to the settlement certificate of the input target node and the settlement certificates a 'and b'.
S340: and sending the resource transfer voucher to the block chain network so that any associated node reads a settlement voucher created for any associated node from the resource transfer voucher.
In a possible implementation manner, after the target node sends the resource flow credential to the blockchain network, the method may further include: and the target node sends the resource circulation voucher to each node in the block chain network so that each node receiving the resource circulation voucher performs block chain consensus on the resource circulation voucher. The block chain consensus may include that each node checks the resource flow rotation credential and obtains a check result, where the check may include but is not limited to: one or more of a legitimacy check, a security check, and a transitivity check. And then, the target node receives the check result sent by each node, and when the check result is that the number of successful checks is greater than or equal to a preset number threshold, the resource flow certificate block chain consensus is determined to pass. And when the number of successful verification is smaller than the preset number threshold value as a verification result, determining that the block chain consensus of the resource circulation certificate does not pass.
In a possible implementation manner, if it is determined that the resource transfer credential block chain consensus passes, uplink processing is performed on the resource transfer credential, that is, the resource transfer credential is stored in the block chain network, so that any associated node in the block chain network reads a settlement credential created for any associated node from the resource transfer credential. For example, the associated node a reads the settlement credential a from the resource flow credential, and the associated node B reads the settlement credential B from the resource flow credential.
The method for the associated node a to read the settlement credential a from the resource flow credential may be: the associated node a decrypts, through its own private key, the settlement credential a' encrypted by using the public key of the associated node a (for example, the node address add 1) from the resource circulation credential (specifically, from the output table field in the resource circulation credential), so as to obtain the decrypted settlement credential a. Similarly, the method for the associated node B to read the settlement credential from the resource flow credential may be: the associated node B decrypts the settlement certificate B' encrypted by using the public key (for example, the node address add 2) of the associated node B from the resource circulation certificate through the private key of the associated node B, thereby obtaining the decrypted settlement certificate B. By the method, any associated node can only acquire the settlement voucher created by the target node for the associated node from the resource transfer voucher, but cannot acquire the settlement voucher created by the target node for other associated nodes from the resource transfer voucher, so that privacy and safety in the resource settlement process are guaranteed.
In a possible implementation manner, after the resource circulation credential is acquired and any associated node of the corresponding settlement credential is read, one or more subordinate nodes needing circulation can be determined according to the settlement credential input to the associated node, and the settlement credential of any subordinate node is created according to the node information of any subordinate node and the settlement relationship between the associated node and any subordinate node. Next, a new resource flow voucher is generated according to the settlement voucher input to the associated node and the created settlement voucher of each lower node. And finally, the associated node sends the new resource circulation voucher to the block chain network, so that any lower node reads a settlement voucher created for any lower node from the resource circulation voucher. It should be noted that any associated node at this time may serve as a new target node, and the lower node may serve as an associated node of the new target node. Therefore, through the method, the resource circulation voucher can be continuously circulated in the whole supply chain through splitting the resource circulation voucher. For example, enterprise a issues 100 million supply chain tickets to enterprise B, which can split into 20 and 80 million payments to enterprise C and enterprise D, respectively. Through the split circulation of realizing the bill, the core enterprise credit of enabling to increase the circulation use of bill in the supply chain, reduce the settlement cost, let more little enterprises of well can obtain large-scale enterprise's credit support through bill settlement chain.
For example, taking an associated node a (hereinafter referred to as node a for convenience of explanation) as an example, if node a obtains a settlement credential a from a resource flow credential tx2, node a may determine one or more nodes C (which may be denoted as C1, C2.) that need to obtain the settlement credential from node a. According to the method, the node A creates a settlement certificate C1 for the node C1 and a settlement certificate C2 for the node C2 according to the respective node information of the nodes C1 and C2 and the settlement relationship between the node A and the nodes C1 and C2, and finally, a new resource circulation certificate tx3 is generated according to the settlement certificates a, C1 and C2. It should be noted that, with respect to the detailed process of how the node a creates the settlement credentials c1 and c2 and generates the resource flow credential tx3, reference may be specifically made to steps S310 to S330, which is not described herein again in this embodiment of the present application. Of course, the associated node B may also continue to split the resource flow credential, thereby implementing the flow of the resource flow credential.
In addition, any associated node acquiring the resource flow certificate can inquire the flow detail information of the transaction by grasping the data field in the settlement certificate of the address private key, and can trace the meta information of the resource flow certificate according to the meta field in the transaction constructing the settlement certificate. And according to the input field in the transaction, the initial issuing information of the resource circulation certificate and all the circulation situations can be traced.
Further, relevant information about the resource flow credentials and rules are recorded in the blockchain network and can be audited by a decentralized node (e.g., a full node) that defines the rules in advance. When verifying whether a resource flow voucher is split or tampered with by a compliance transfer, the blockchain can provide disputable proof of consistency.
In the embodiment of the present application, the resource flow certificate may be combined with the block chain technology, specifically, the UTXO model (settlement certificate) in the block chain may be combined with the flow of the resource flow certificate. In the process of resource settlement, firstly, a settlement voucher input into a current node can be obtained, after one or more associated nodes needing to obtain the settlement voucher from the current node are determined, a settlement voucher of any associated node is created according to node information of any associated node and a settlement relation between the current node and any associated node, and then, a resource circulation voucher can be generated according to the settlement voucher input into the current node and the generated settlement voucher of each associated node; and finally, sending the resource transfer voucher to the block chain network so that any associated node reads a settlement voucher created for any associated node from the resource transfer voucher. It can be seen that, in the embodiment of the present application, corresponding settlement credentials may be respectively created for one or more associated nodes, and a resource transfer credential may be generated according to the created one or more settlement credentials, and after the generated resource transfer credential is broadcast to the blockchain network in each transaction, any associated node may read, from the acquired resource transfer credential, a resource transfer credential created by a target node for the associated node in the resource settlement process of this time. Therefore, the splitting of the resource circulation voucher is realized, the efficiency in the resource settlement process is improved, the tamper resistance of the block chain is combined, and the legality and the safety of the resource settlement process are ensured.
Referring to fig. 7, fig. 7 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present disclosure. The data processing apparatus 700 may be applied to a computer device in the method embodiment corresponding to fig. 3. The data processing apparatus 700 may be a computer program (comprising program code) running in a lightweight node, e.g. the data processing apparatus 700 is an application software; the apparatus may be used to perform the corresponding steps in the methods provided by the embodiments of the present application. The data processing apparatus 700 may include:
a processing unit 701, configured to, during a resource settlement process, obtain a settlement credential input to a target node, and determine one or more associated nodes that need to obtain the settlement credential from the target node;
a creating unit 702, configured to create a settlement credential of any associated node according to node information of any associated node and a settlement relationship between a target node and the any associated node;
a generating unit 703, configured to generate a resource flow credential according to the settlement credential input to the target node and the created settlement credential of each associated node;
a sending unit 704, configured to send the resource transfer credential to the blockchain network, so that any associated node reads the settlement credential created for any associated node from the resource transfer credential.
In a possible implementation manner, the settlement credentials created by the creating unit 702 for any associated node at least include: a quantity field and an address field; the creating unit 702 is specifically configured to, when creating a settlement credential of any associated node according to the node information of any associated node and the settlement relationship between the target node and any associated node:
acquiring node information of any associated node, and transmitting the node information to an address field for storage, wherein the node information comprises a node address of any associated node;
acquiring the amount of settlement resources required for settlement between the target node and any associated node according to the settlement relationship between the target node and any associated node;
and storing the settlement resource quantity into the quantity field to obtain the settlement voucher of any associated node.
In a possible implementation manner, the settlement credential created by the creating unit 702 for any associated node further includes a relationship record field; the processing unit 701 is further configured to perform the following operations:
acquiring settlement operations required to be executed between the target node and any associated node according to the settlement relationship between the target node and any associated node;
and storing the settlement operation required to be executed and the settlement resource quantity association into the relation record field.
In a possible implementation manner, when the generating unit 703 generates a resource circulation credential according to the settlement credential input to the target node and the created settlement credential of each associated node, the generating unit is specifically configured to:
storing the settlement voucher of the input target node into an input field, and respectively storing the established settlement voucher of any one associated node into an output table field;
and constructing a resource circulation certificate of the target node according to the input field and the output table field.
In one possible implementation, the resource flow credential further includes: a data record field; the data record field records one or more of the following information: the node information of the target node, the node information of any associated node, and the node information of the target node and each associated node in the resource settlement process.
In a possible implementation manner, the settlement credential input to the target node may be input after being created by the target node, and the process of creating the settlement credential at the target node by the creating unit 702 includes:
sending a voucher creating request to an authorization mechanism, wherein the voucher creating request carries qualification information for the target node to create the voucher so that the authorization mechanism can check the voucher creating qualification of the target node according to the qualification information;
and after the target node passes the verification of the certificate creation qualification, creating a settlement certificate of the target node according to the amount of settlement resources to be created.
In a possible implementation, the creating unit 702 is further configured to:
and if the target node fails to pass the verification of the certificate creation qualification, acquiring a settlement certificate sent to the target node from the resource circulation certificates sent by other nodes.
In a possible implementation manner, the resource flow certificate further includes an authority constraint field, where the authority constraint field is used to indicate a flow range of the resource flow certificate, and the flow range includes one or more designated nodes; when sending the resource flow credential to the blockchain network, the sending unit 704 is specifically configured to:
and sending the resource circulation voucher to the block chain network, and recording the resource circulation voucher in one or more specified nodes indicated by the permission constraint field.
In a possible implementation manner, the generating unit 703 is specifically configured to, when generating the resource flow credential according to the settlement credential of the input target node and the created settlement credential of each associated node:
adopting the node address of any associated node to encrypt the settlement voucher created for any associated node;
and generating a resource circulation voucher according to the settlement voucher of the input target node and the encrypted settlement voucher corresponding to each associated node, so that any associated node obtains the settlement voucher created for any associated node based on decryption processing of the resource circulation voucher.
Referring to fig. 8, fig. 8 is a schematic structural diagram of a computer device according to an embodiment of the present disclosure. The computer device 800 is configured to perform the steps performed by the computer device in the method embodiment corresponding to fig. 3, where the computer device 800 includes: one or more processors 810; one or more input devices 820, one or more output devices 830, and memory 840. The processor 810, input device 820, output device 830, and memory 840 described above are connected by a bus 850. The memory 840 is configured to store a computer program comprising program instructions, and the processor 810 is configured to call the program instructions stored in the memory 840 to perform the following operations:
in the process of resource settlement, acquiring a settlement certificate input into a target node, and determining one or more associated nodes needing to acquire the settlement certificate from the target node;
according to the node information of any associated node and the settlement relationship between the target node and the associated node, a settlement voucher of the associated node is created;
generating a resource circulation voucher according to the settlement voucher of the input target node and the established settlement voucher of each associated node;
and sending the resource circulation voucher to the block chain network so that any associated node reads out a settlement voucher created for any associated node from the resource circulation voucher.
In one possible implementation, the settlement credentials created by processor 810 for any associated node include at least: a quantity field and an address field; when creating a settlement credential of any associated node according to the node information of any associated node and the settlement relationship between the target node and any associated node, the processor 810 is specifically configured to:
acquiring node information of any associated node, and transmitting the node information to an address field for storage, wherein the node information comprises a node address of any associated node;
acquiring the quantity of settlement resources required by the target node to settle with any associated node according to the settlement relationship between the target node and any associated node;
and storing the settlement resource quantity into a quantity field to obtain a settlement voucher of any associated node.
In one possible implementation, the settlement credential created by the processor 810 for any associated node further includes a relationship record field; processor 810 is also configured to perform the following operations:
acquiring settlement operations required to be executed between the target node and any associated node according to the settlement relationship between the target node and any associated node;
and storing the settlement operation required to be executed and the settlement resource quantity association into the relation record field.
In a possible implementation manner, the processor 810 is specifically configured to, when generating the resource flow credential according to the settlement credential input to the target node and the created settlement credential of each associated node:
storing the settlement voucher of the input target node into an input field, and respectively storing the created settlement voucher of any one associated node into an output table field;
and constructing a resource circulation certificate of the target node according to the input field and the output table field.
In one possible implementation, the resource flow credential further includes: a data record field; the data record field records one or more of the following information: the node information of the target node, the node information of any associated node, and the node information of the target node and each associated node in the resource settlement process.
In one possible implementation, the settlement credential input to the target node may be input after being created by the target node, and the processor 810 is specifically configured to:
sending a voucher creating request to an authorization mechanism, wherein the voucher creating request carries qualification information for the target node to create the voucher so that the authorization mechanism can check the voucher creating qualification of the target node according to the qualification information;
and after the target node passes the verification of the certificate creation qualification, creating a settlement certificate of the target node according to the amount of settlement resources to be created.
In one possible implementation, the processor 810 is further configured to perform the following operations:
and if the target node fails to pass the verification of the certificate creation qualification, acquiring a settlement certificate sent to the target node from the resource circulation certificates sent by other nodes.
In a possible implementation manner, the resource flow certificate further includes an authority constraint field, where the authority constraint field is used to indicate a flow range of the resource flow certificate, and the flow range includes one or more designated nodes; when sending the resource flow credential to the blockchain network, the processor 810 is specifically configured to:
and sending the resource circulation voucher to the block chain network, and recording the resource circulation voucher in one or more specified nodes indicated by the permission constraint field.
In a possible implementation manner, the processor 810 is specifically configured to, when generating the resource flow credential according to the settlement credential input to the target node and the created settlement credential of each associated node:
encrypting the settlement voucher created for any associated node by adopting the node address of any associated node;
and generating a resource circulation voucher according to the settlement voucher of the input target node and the encrypted settlement voucher corresponding to each associated node, so that any associated node obtains the settlement voucher created for any associated node based on decryption processing of the resource circulation voucher.
It should be understood that the computer device described in this embodiment of the present application may perform the description of the data processing method in the embodiment corresponding to fig. 3, and may also perform the description of the data processing apparatus 700 in the embodiment corresponding to fig. 7, which is not described herein again. In addition, the beneficial effects of the same method are not described in detail.
Furthermore, it is to be noted here that: an embodiment of the present application further provides a computer storage medium, and the computer storage medium stores the aforementioned computer program executed by the data processing apparatus 700, and the computer program includes program instructions, and when the processor executes the program instructions, the method in the embodiment corresponding to fig. 3 can be executed, and therefore, details are not repeated here. For technical details not disclosed in the embodiments of the computer storage medium referred to in the present application, reference is made to the description of the embodiments of the method of the present application. By way of example, program instructions may be deployed to be executed on one computer device or on multiple computer devices at one site or distributed across multiple sites and interconnected by a communication network, which may comprise a block chain system.
According to an aspect of the application, a computer program product or computer program is provided, comprising computer instructions, the computer instructions being stored in a computer readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and executes the computer instruction, so that the computer device can execute the method in the embodiment corresponding to fig. 3, which will not be described herein again.
In the embodiment of the application, in the process of resource settlement, firstly, a settlement certificate input into a current node can be obtained, and after one or more associated nodes needing to obtain the settlement certificate from the current node are determined, a settlement certificate of any associated node is created according to node information of any associated node and a settlement relation between the current node and any associated node; then, a resource circulation voucher can be generated according to the settlement voucher input into the current node and the generated settlement voucher of each associated node; and finally, sending the resource circulation voucher to the block chain network so that any associated node reads out a settlement voucher created for any associated node from the resource circulation voucher. It can be seen that, in the embodiment of the present application, corresponding settlement credentials may be respectively created for one or more associated nodes, and a resource transfer credential may be generated according to the created one or more settlement credentials, and after the generated resource transfer credential is broadcast to the blockchain network in each transaction, any associated node may read, from the acquired resource transfer credential, a resource transfer credential created by a target node for the associated node in the resource settlement process of this time. Therefore, the splitting of the resource circulation voucher is realized, the efficiency in the resource settlement process is improved, the anti-tamper property of the block chain is combined, and meanwhile, the legality and the safety of the resource settlement process are ensured.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present application and is not to be construed as limiting the scope of the present application, so that the present application is not limited thereto, and all equivalent variations and modifications can be made to the present application.

Claims (12)

1. A data processing method, comprising:
in the process of resource settlement, acquiring a settlement voucher input into a target node, and determining one or more associated nodes needing to acquire the settlement voucher from the target node;
according to the node information of any associated node and the settlement relationship between the target node and the any associated node, a settlement voucher of the any associated node is created;
generating a resource circulation voucher according to the settlement voucher input into the target node and the established settlement voucher of each associated node;
and sending the resource circulation voucher to a block chain network, so that any one associated node reads out a settlement voucher created for any one associated node from the resource circulation voucher.
2. The method of claim 1, wherein the settlement credentials created for any of the associated nodes comprise at least: a quantity field and an address field; the creating a settlement credential of any associated node according to the node information of any associated node and the settlement relationship between the target node and any associated node includes:
acquiring node information of any associated node, and transmitting the node information to the address field for storage, wherein the node information comprises a node address of any associated node;
acquiring the amount of settlement resources required for settlement between the target node and any one of the associated nodes according to the settlement relationship between the target node and the any one of the associated nodes;
and storing the settlement resource quantity into the quantity field to obtain a settlement voucher of any one associated node.
3. The method of claim 2, wherein the settlement credentials created for any of the associated nodes further comprise a relationship record field; the method further comprises the following steps:
acquiring a settlement operation required to be executed between the target node and any one of the associated nodes according to a settlement relation between the target node and the any one of the associated nodes;
and storing the required settlement operation and the settlement resource quantity association into the relation record field.
4. The method of claim 1, wherein generating a resource flow credential based on the settlement credentials entered into the target node and the created settlement credentials for each associated node comprises:
storing the settlement voucher input into the target node into an input field, and respectively storing the created settlement voucher of any associated node into an output table field;
and constructing a resource flow certificate of the target node according to the input field and the output table field.
5. The method of claim 4, wherein the resource flow credential further comprises: a data record field; the data record field records one or more of the following information: the node information of the target node, the node information of any associated node, and the node information of the target node and each associated node in the resource settlement process are accepted.
6. The method of claim 1, wherein the settlement credentials entered into the target node may be entered after creation by the target node, the process of the target node creating the settlement credentials comprising:
sending a voucher creating request to an authorization mechanism, wherein the voucher creating request carries qualification information for the target node to create the voucher so that the authorization mechanism can check the voucher creating qualification of the target node according to the qualification information;
and after the target node passes the verification of the certificate creation qualification, creating a settlement certificate of the target node according to the amount of settlement resources to be created.
7. The method of claim 6, wherein the method further comprises:
and if the target node fails to pass the verification of the certificate creation qualification, acquiring a settlement certificate sent to the target node from the resource circulation certificates sent by other nodes.
8. The method of claim 1, wherein the resource flow credential further comprises a permission constraint field to indicate a flow range of the resource flow credential, the flow range comprising one or more specified nodes; the sending the resource flow credential to a blockchain network includes:
and sending the resource flow transfer certificate to the blockchain network, and recording the resource flow transfer certificate in one or more specified nodes indicated by the permission constraint field.
9. The method of claim 1, wherein generating a resource flow credential based on the settlement credentials entered into the target node and the created settlement credentials for each associated node comprises:
encrypting a settlement voucher created for any associated node by adopting the node address of the associated node;
and generating a resource circulation voucher according to the input settlement voucher of the target node and the encrypted settlement voucher corresponding to each associated node, so that any associated node obtains the settlement voucher created for any associated node based on decryption processing of the resource circulation voucher.
10. A data processing apparatus, comprising:
the system comprises a processing unit, a processing unit and a processing unit, wherein the processing unit is used for acquiring a settlement certificate of an input target node in the process of resource settlement and determining one or more associated nodes which need to acquire the settlement certificate from the target node;
the creating unit is used for creating a settlement certificate of any associated node according to the node information of any associated node and the settlement relationship between the target node and the any associated node;
the generation unit is used for generating a resource circulation voucher according to the settlement voucher input into the target node and the established settlement voucher of each associated node;
a sending unit, configured to send the resource circulation credential to a block chain network, so that the any associated node reads a settlement credential created for the any associated node from the resource circulation credential.
11. A computer device, comprising:
a processor adapted to execute a computer program;
computer-readable storage medium, in which a computer program is stored which, when executed by the processor, carries out the data processing method according to any one of claims 1 to 9.
12. A computer-readable storage medium, characterized in that it stores a computer program comprising program instructions which, when executed by a processor, cause the processor to carry out the data processing method according to any one of claims 1-9.
CN202110905522.6A 2021-08-06 2021-08-06 Data processing method and device, computer equipment and storage medium Pending CN115705601A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110905522.6A CN115705601A (en) 2021-08-06 2021-08-06 Data processing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110905522.6A CN115705601A (en) 2021-08-06 2021-08-06 Data processing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115705601A true CN115705601A (en) 2023-02-17

Family

ID=85179424

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110905522.6A Pending CN115705601A (en) 2021-08-06 2021-08-06 Data processing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115705601A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116938985A (en) * 2023-09-18 2023-10-24 哈尔滨工程大学三亚南海创新发展基地 Data streaming method, device, terminal equipment and medium based on digital certificates
CN117040930A (en) * 2023-10-08 2023-11-10 腾讯科技(深圳)有限公司 Resource processing method, device, product, equipment and medium of block chain network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116938985A (en) * 2023-09-18 2023-10-24 哈尔滨工程大学三亚南海创新发展基地 Data streaming method, device, terminal equipment and medium based on digital certificates
CN116938985B (en) * 2023-09-18 2023-12-19 哈尔滨工程大学三亚南海创新发展基地 Data streaming method, device, terminal equipment and medium based on digital certificates
CN117040930A (en) * 2023-10-08 2023-11-10 腾讯科技(深圳)有限公司 Resource processing method, device, product, equipment and medium of block chain network
CN117040930B (en) * 2023-10-08 2024-01-30 腾讯科技(深圳)有限公司 Resource processing method, device, product, equipment and medium of block chain network

Similar Documents

Publication Publication Date Title
EP3688930B1 (en) System and method for issuing verifiable claims
CN110602138B (en) Data processing method and device for block chain network, electronic equipment and storage medium
CN108833081B (en) Block chain-based equipment networking authentication method
CN108781161B (en) Method for controlling and distributing blockchain implementation of digital content
JP6995762B2 (en) Cryptographic methods and systems for the secure extraction of data from the blockchain
US11900380B2 (en) Blockchain architecture with record security
JP7083754B2 (en) Methods and systems for efficient transfer of cryptocurrencies associated with payroll on the blockchain, resulting in automatic payroll methods and systems based on smart contracts
US20220318907A1 (en) Systems and methods for generating secure, encrypted communications across distributed computer networks for authorizing use of cryptography-based digital repositories in order to perform blockchain operations in decentralized applications
WO2019179534A2 (en) System and method for creating decentralized identifiers
WO2019179535A2 (en) System and method for verifying verifiable claims
CN109889497B (en) Distrust-removing data integrity verification method
CN112381646A (en) Privacy transaction based on block chain and application method and device thereof
CN109614813B (en) Privacy transaction method and device based on block chain and application method and device thereof
WO2020157708A2 (en) Point-to-point distributed decentralized system
US11133936B1 (en) Methods and systems for introducing self-contained intent functionality into decentralized computer networks
CN110796449A (en) Transaction processing method, system, medium and computing device
CN111327426B (en) Data sharing method and related device, equipment and system
CN113255014B (en) Data processing method based on block chain and related equipment
CN115203749B (en) Data transaction method and system based on block chain
US11870654B2 (en) Methods and systems for introducing self-contained intent functionality into decentralized computer networks
CN115705601A (en) Data processing method and device, computer equipment and storage medium
CN113328854A (en) Service processing method and system based on block chain
CN110827034B (en) Method and apparatus for initiating a blockchain transaction
CN115409511A (en) Personal information protection system based on block chain
CN112163917A (en) Bill processing method, device, medium and electronic equipment based on block chain

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40082991

Country of ref document: HK