WO2021217928A1 - Procédé et appareil de vérification de transaction de demande de ressources basée sur un réseau de chaînes de blocs, dispositif électronique et support d'enregistrement lisible par ordinateur - Google Patents

Procédé et appareil de vérification de transaction de demande de ressources basée sur un réseau de chaînes de blocs, dispositif électronique et support d'enregistrement lisible par ordinateur Download PDF

Info

Publication number
WO2021217928A1
WO2021217928A1 PCT/CN2020/105545 CN2020105545W WO2021217928A1 WO 2021217928 A1 WO2021217928 A1 WO 2021217928A1 CN 2020105545 W CN2020105545 W CN 2020105545W WO 2021217928 A1 WO2021217928 A1 WO 2021217928A1
Authority
WO
WIPO (PCT)
Prior art keywords
transaction
endorsement
resource
resource request
parties
Prior art date
Application number
PCT/CN2020/105545
Other languages
English (en)
Chinese (zh)
Inventor
刘根生
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2021217928A1 publication Critical patent/WO2021217928A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0633Lists, e.g. purchase orders, compilation or processing
    • G06Q30/0635Processing of requisition or of purchase orders
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching

Definitions

  • This application relates to the field of blockchain technology, and in particular to a method, device, electronic equipment, and computer-readable storage medium for resource request transactions based on a blockchain network.
  • resource transaction activities when the user selects a certain resource transaction product and fills in the transaction-related information required by all parties to the resource transaction, the resource requesting party saves the resource request order, and then real-time or batch (not real-time) ) Request orders for resource transfer from business related parties. For example, in some cases, business partners will transfer user loan orders to other partners (fund suppliers).
  • the inventor realizes that in the process of resource request order circulation (resource transaction process), there may be system instability, system abnormality, or network instability on both sides, which may lead to loss of order information.
  • resource transaction process it is necessary to manually check the abnormality in the order flow process, check the system log, and consume a lot of resources to perform the verification work, and it is inevitable that there will be omissions and errors, resulting in the resource request transaction not being stable enough and the reliability is low.
  • one purpose of this application is to provide a resource request transaction method, device, electronic device, and computer-readable storage medium based on a blockchain network.
  • a resource request transaction method based on a blockchain network.
  • the blockchain network includes endorsement nodes, ledger nodes, ordering nodes of all parties to the resource transaction, and the resource transaction parties connected to each of the nodes.
  • the service terminal the method is executed by the service terminal of the resource requester, the method includes: caching the identifier of the resource request order, the resource request order is the resource request order sent by the resource requester to the service related party through the service system, so The resource request order is sequentially transferred among the business related parties; the resource request order identifier is used to initiate an endorsement proposal to the endorsing node of each business related party on a regular basis to receive the endorsement returned by the endorsing node of the business related party according to the order flow Proposal results until the endorsement proposal results returned by the endorsement nodes of all business related parties are obtained; after the transaction-related data based on the resource request order is encapsulated as transaction book record information, it is submitted to the ordering node of the resource requester for sorting to obtain a simulated transaction
  • a resource request transaction device based on a blockchain network.
  • the blockchain network includes endorsement nodes, ledger nodes, ordering nodes of all parties to the resource transaction, and the resource transaction parties connected to each of the nodes.
  • the service terminal the device is located in the service terminal of the resource requester, the device includes: a cache module for buffering the identifier of the resource request order, the resource request order is sent by the resource requester to the service related party through the service system
  • the resource request order is transferred among the business related parties in turn;
  • the proposal module is used to periodically use the resource request order identifier to initiate an endorsement proposal to the endorsement node of each business related party to receive the business relationship
  • the endorsement node of the party returns the results of the endorsement proposal according to the order flow, until the endorsement proposal results returned by the endorsement nodes of all business related parties are obtained;
  • the verification module is used to encapsulate the transaction-related data based on the resource request order as a transaction ledger record After the information, it is submitted to the ordering node of the resource
  • an electronic device includes: a processor; and a memory for storing computer-readable instructions of the processor; wherein the processor is configured to execute the following by executing the computer-readable instructions method:
  • the resource request order is the resource request order sent by the resource requester to the business related party through the business system, and the resource request order circulates among the business related parties in turn;
  • the resource request order is used regularly Identifies the initiation of endorsement proposals to the endorsement nodes of each of the business related parties to receive the endorsement proposal results returned by the endorsement nodes of the business related parties according to the order flow, until the endorsement proposal results returned by the endorsement nodes of all business related parties are obtained;
  • the transaction-related data of the resource request order is encapsulated as transaction ledger record information, it is submitted to the sorting node of the resource requester for sorting to obtain simulated transaction data blocks, so that the endorsing nodes of the parties to the resource transaction use the simulated transaction data
  • the block performs transaction verification, and after the verification is passed, the transaction-related data is respectively saved to the ledger nodes of the parties to the resource transaction.
  • a computer-readable storage medium has computer-readable instructions stored thereon, and when the computer-readable instructions are executed by a processor, the following method is implemented:
  • the resource request order is the resource request order sent by the resource requester to the business related party through the business system, and the resource request order circulates among the business related parties in turn;
  • the resource request order is used regularly Identifies the initiation of endorsement proposals to the endorsement nodes of each of the business related parties to receive the endorsement proposal results returned by the endorsement nodes of the business related parties according to the order flow, until the endorsement proposal results returned by the endorsement nodes of all business related parties are obtained;
  • the transaction-related data of the resource request order is encapsulated as transaction ledger record information, it is submitted to the sorting node of the resource requester for sorting to obtain simulated transaction data blocks, so that the endorsing nodes of the parties to the resource transaction use the simulated transaction data
  • the block performs transaction verification, and after the verification is passed, the transaction-related data is respectively saved to the ledger nodes of the parties to the resource transaction.
  • the transaction-related data of the resource transaction is abstracted as a blockchain transaction ledger, and then the simulated transaction data block is obtained through sorting, so that the endorsing nodes of all parties to the resource transaction automatically verify the transaction process, and realize the order-based
  • the automatic reconciliation and verification of data in upstream and downstream resource transactions can save a lot of time and resources that are required for manual reconciliation and verification. In turn, the overall stability and reliability of resource request transactions are effectively improved.
  • Fig. 1 schematically shows a flowchart of a resource request transaction method based on a blockchain network.
  • Fig. 2 schematically shows an example diagram of an application scenario of a resource request transaction method based on a blockchain network.
  • Fig. 3 schematically shows a flowchart of another resource request transaction method based on a blockchain network.
  • Fig. 4 schematically shows a block diagram of a resource request transaction device based on a blockchain network.
  • Fig. 5 schematically shows an example block diagram of an electronic device for implementing the above-mentioned blockchain network-based resource request transaction method.
  • Fig. 6 schematically shows a computer-readable storage medium for implementing the resource request transaction method based on the blockchain network.
  • This example embodiment first provides a resource request transaction method based on a blockchain network.
  • the resource request transaction method based on a blockchain network can be run on a server, a server cluster or a cloud server, etc.
  • the field Technicians can also run the method of the present invention on other platforms as required, which is not particularly limited in this exemplary embodiment.
  • the blockchain network includes endorsement nodes of all parties to the resource transaction, ledger nodes, ordering nodes, and business terminals of all parties to the resource transaction connected to each node. This method can be executed by the business terminal of the resource requester, as shown in Figure 1.
  • the resource request transaction method based on the blockchain network may include the following steps:
  • Step S110 Cache the identifier of the resource request order.
  • the resource request order is a resource request order sent by the resource requester to the business related party through the business system, and the resource request order is transferred among the business related parties in turn;
  • Step S120 Periodically use the resource request order identifier to initiate an endorsement proposal to the endorsing nodes of each of the business related parties, so as to receive the endorsement proposal results returned by the endorsing nodes of the business related parties according to the order flow, until endorsements from all business related parties are obtained The endorsement proposal result returned by the node;
  • Step S130 After encapsulating the transaction-related data based on the resource request order as transaction ledger record information, it is submitted to the sorting node of the resource requester for sorting to obtain simulated transaction data blocks, so that the endorsing nodes of the resource transaction parties can use
  • the simulated transaction data block performs transaction verification, and after the verification is passed, the transaction-related data are respectively saved to the ledger nodes of all parties to the resource transaction.
  • the identifier of the resource request order is cached.
  • the resource request order is the resource request order sent by the resource requester to the business related party through the business system.
  • the resource request order is in turn Circulation between business-related parties; realizes that the resource requester caches the identifier of the resource request order that is circulated among the business-related parties, and then can obtain the identifier as needed in the subsequent steps.
  • the resource request order identifier to initiate an endorsement proposal to the endorsing nodes of each of the business related parties to receive the endorsement proposal results returned by the endorsing nodes of the business related parties according to the order flow, until the endorsement nodes of all the business related parties are obtained
  • the returned endorsement proposal result using the secure storage and unchangeable features of the distributed ledger of the blockchain, the reliability of transaction data is ensured by the endorsement node, and the identifier of the resource request order is regularly used to initiate endorsement proposals to the endorsing node of the business related party, The time difference and tracking omissions caused by the transaction data of all parties in the transaction process are avoided, and the reliable tracking of transaction data in the transaction process is realized.
  • the transaction-related data is submitted to the sorting node of the resource requester for sorting to obtain simulated transaction data blocks, so that the endorsing nodes of the resource transaction parties can use all the transaction data.
  • the simulated transaction data block performs transaction verification, and after the verification is passed, the transaction-related data is respectively saved to the ledger nodes of all parties to the resource transaction.
  • step S110 the identifier of the resource request order is cached.
  • the resource request order is a resource request order sent by the resource requester to the service related party through the service system, and the resource request order is sequentially transferred among the service related parties.
  • the blockchain network 204 in the system architecture is Including the blockchain nodes of all parties to the resource transaction, including: the blockchain node 2011 of the resource requester (including endorsement nodes, ledger nodes, and ordering nodes) and the blockchain node 2021 of the business related party 1 (including endorsement nodes, ledger nodes) Nodes, ordering nodes) and the second blockchain node 2031 of the business related party (including endorsement nodes, ledger nodes, and ordering nodes), and also include the business terminals of the resource transaction parties connected to the blockchain nodes of each resource transaction party (Including the service terminal 201 of the resource requester, the service terminal 202 of the service related party 1 and the service terminal 203 of the service related party 2), the resource request transaction method based on the blockchain network can be used by the service terminal 201 of the resource requester Implementation, it can be understood that, according to requirements, there may be multiple or
  • there are five business related parties that is, five business related parties’ respective service terminals are included.
  • Three or more parties of resource request transactions establish a blockchain network for reconciliation, and build endorsement nodes, ledger nodes, and ordering nodes for each business party based on blockchain technology. These nodes are logically divided and can be physically deployed on one server.
  • the service terminal 201 of the resource requester can cache the identifier of the resource request order.
  • the resource request order means that the resource requester directly sends to each service related party through the service system (in this example, the service terminal 202 of service related party 1 and the service related party 2
  • the resource request order sent by the service terminal 203) the resource request order circulates among the service related parties in turn (in this example, the service terminal 202 of the service related party 1 first receives the resource request order, and then the service terminal 202 will process it. It is sent to the service terminal 203 of the service related party 2 through the service system to realize sequential circulation).
  • the business terminal can be various terminal devices with processing functions such as computers and mobile phones, which are not specifically limited here
  • the blockchain node can be a server node corresponding to each business party, which is not specifically limited here.
  • the parties to the resource request transaction store the transaction order based on the resource request order in the business system, including the order identification, processing status, processing time and other necessary information for reconciliation,
  • a resource request order is an order created by a resource requester, and the identifier of the order can be an order number, etc.
  • a business system is a system that can transmit detailed information about a resource request order, such as user-related information, and each business party in the business system transmits order-related information.
  • the identifier of the cache resource request order can be stored in the delay queue after the resource requester creates the resource request order.
  • the resource requester can cache the identifier of the resource request order circulating among the business related parties, and then the identifier can be obtained as needed in the subsequent steps.
  • the application of the business system includes business party A (resource requester), business party B, and business party C (business related party).
  • business party A is the entity that obtains the user's loan order (resource request order).
  • the user selects the loan product (resource) provided by business party B through the business system through the app of business party A, and business party A ( Resource requester) submit a user loan order (resource request order) including user information in the app of business party A, that is, business party A creates a user loan intention order
  • business party B can be the loan product operator
  • business party C It can be the provider of loan funds, and can be regarded as the downstream loan product operator of business party B.
  • the source business party A creates an order and the order is passed to business party B for processing in turn, and business party B is then passed to business party C for processing.
  • the identifier of the cache resource request order includes:
  • the identifier of the resource request order is cached in the order list of the delay queue, and the delay queue is set with endorsement proposal delay times corresponding to different business related parties.
  • the order list of the delay queue is a list of storage order identifications. Different business parties can set different endorsement proposal delay times through careful control. For example, the time for B’s endorsement proposal is 3 minutes, and the time for C’s endorsement proposal is 5 Minutes can reduce redundant system interactions and avoid repeated endorsement proposals by nodes that have already returned endorsement response results.
  • step S120 the resource request order identifier is periodically used to initiate an endorsement proposal to the endorsing node of each of the business related parties, so as to receive the endorsement proposal result returned by the endorsing node of the business related party according to the order flow situation, until all the business related parties are obtained.
  • the endorsement proposal result returned by the endorsement node is periodically used to initiate an endorsement proposal to the endorsing node of each of the business related parties, so as to receive the endorsement proposal result returned by the endorsing node of the business related party according to the order flow situation, until all the business related parties are obtained.
  • the resource requester of the service creates a service resource request order, and can store the identifier of the resource request order in the delay queue, and the identifier can be periodically encapsulated as a parameter of the endorsement proposal through the delay queue.
  • the endorsement node of the business related party of the business initiates the endorsement proposal; the endorsement node can be used as a node in the chain that verifies the transaction and declares that the transaction is legal (or illegal).
  • the endorsement node can also be the accounting node.
  • the endorsement node of the blockchain can store the order details uploaded by each business party or obtained from the business system to meet the reconciliation needs of the resource request process, as well as information related to the order flow such as the information received and processed by the business related parties.
  • the resource requester can periodically use the identifier of the resource request order to initiate an endorsement proposal to the endorsement node of each business related party to receive the endorsement node of the business related party according to the order flow situation (for example, the business related party receives and processes the order demand Situation)
  • the returned endorsement proposal results until the endorsement proposal results returned by all business-related parties' endorsement nodes are obtained.
  • detailed information about the order is transmitted through the business system.
  • the regular setting can be to set a delay time of 3 minutes, 5 minutes, etc. to initiate an endorsement proposal.
  • Endorsement proposal results such as order information has not been received, order information has been received but business system verification is abnormal or processing abnormality, etc.
  • Set different endorsement proposal time to different business parties through careful control. For example, the endorsement proposal time for B is 3 minutes, and the endorsement proposal time for C is 5 minutes, reducing system redundant interactions and avoiding nodes that have returned endorsement response results Repeat the endorsement proposal.
  • the endorsement proposal result of a certain node when the endorsement proposal result of a certain node is successfully processed by the business system, it means that the business party has successfully processed the order, and then the next business party can receive the order transmitted by the previous business party through the business system, and get The endorsement proposal results returned by the endorsement nodes of all business related parties indicate the end of the order flow.
  • the secure storage and unchangeable characteristics of the distributed ledger of the blockchain can be used to ensure the reliability of transaction data through the endorsement node, and regularly use the identifier of the resource request order to initiate an endorsement proposal to the endorsing node of the business related party, avoiding the transaction process
  • the regular use of the resource request order identifier to initiate an endorsement proposal to the endorsing node of each of the business related parties to cache the endorsement proposal result returned by the endorsing node of the business related party according to the order flow situation includes:
  • the delay queue periodically scans the order list to, when the order list is not empty, encapsulate the identifiers in the order list into the parameters of the endorsement proposal, according to the delay time corresponding to each of the business related parties Initiate an endorsement proposal to the endorsement node of each of the business related parties.
  • the delayed queue scans the order list periodically.
  • an order identifier can be taken out, but not deleted from the queue.
  • the identifier in the order list is encapsulated into the parameters of the endorsement proposal to initiate the endorsement proposal.
  • the order identifier can be deleted from the delay queue when the endorsement proposal results of all business parties are obtained or the business of the business order is completed.
  • the source business party A creates a user loan order in the business system, and then stores the order number in the delay queue.
  • the queue scans the order list regularly.
  • the order number is encapsulated into the parameters of the endorsement proposal, and the endorsement proposal is initiated to the endorsing nodes of the business related party B and the business related party C.
  • step S310 after receiving the resource request order, the business related party performs resource transaction processing based on the resource request order to obtain the processing result; in step S320, if all When the processing result is that the processing is successful, the transaction record of the resource transaction processing is saved to the ledger node of the business related party, and the transaction record includes the identifier of the resource request order.
  • the stored transaction records are actually the flow status of the order, including record information such as the source order number and other order identification, processing results and processing time of each business party.
  • the endorsement proposal result returned by the endorsement node of the business related party according to the order flow situation includes:
  • the endorsement node of the business-associated party queries the last transaction record of the ledger node of the business-associated party, and if the resource request order identifier in the transaction record is consistent with the resource request order identifier in the endorsement proposal, it returns that the process is successful The result of the first endorsement proposal;
  • the endorsement node of the business related party can determine the parameters of the endorsement proposal (the identifier of the resource request order in the endorsement proposal) and the identifier in the record of the current transaction (the last transaction record) by querying the records of the state database (the ledger node) Whether they are consistent; if they are consistent, the processing is successful. If they are inconsistent, it means that they have not been processed. Then the business system will be called back according to the contract to query the current status of resource transaction processing based on the resource request order (for example, whether the order information in the endorsement proposal has been received), and the second endorsement proposal result will be obtained. return. Among them, the result of the second endorsement proposal, for example, the business system does not respond for timeout processing.
  • the second endorsement proposal result includes:
  • the order information has not been received, the business system verifies the abnormality or the processing is abnormal, the business system responds successfully, and the business system does not respond to one of the timeout processing.
  • the endorsement proposal initiated by the source business party A is used to query the business parties B and C (business related parties) about the processing result status of the transaction corresponding to the order number contained in the endorsement proposal.
  • business parties B and C receive the proposal, they will query and return the transaction result status corresponding to the order number in their respective business systems.
  • a initiates an endorsement proposal to B the endorsement proposal encapsulates the order number, the time when A initiates the transaction, and the current order status.
  • These three parameters are encrypted with B’s public key, and business party B receives the proposal to decrypt it with its own private key. With these three parameters, call the B business system api to obtain the order status, determine whether the received transaction time is correct, and return the result to A.
  • A receives the result of B’s proposal, and then initiates an endorsement proposal to C, which is encapsulated in the endorsement proposal Order number, the transaction time returned by B to A in the last proposal result is the time when B initiates the transaction to C and the current order status of B.
  • These three parameters are encrypted with C’s public key, and the endorsement proposal is initiated to C. Then decrypt the private key and return the proposal result like class B.
  • step S130 after the transaction-related data based on the resource request order is encapsulated as transaction book record information, it is submitted to the sorting node of the resource requester for sorting to obtain a simulated transaction data block, so that the endorsement of all parties to the resource transaction
  • the node uses the simulated transaction data block to perform transaction verification, and after the verification is passed, the transaction-related data is respectively saved to the ledger nodes of the parties to the resource transaction.
  • the transaction-related data based on the resource request order is the transaction-related data corresponding to the endorsement proposal results of all business parties obtained through the endorsement proposal, including the processing results and processing time of the resource requester and the related business parties. Relevant data such as order number information required for reconciliation.
  • the resource requester receives the endorsement response result from the business related party, knows that the flow of the order has ended, simulates the blockchain transaction, and encapsulates the order number information required for reconciliation, the processing result and processing time of the business party into a transaction ledger record Information, and submit this information to the blockchain sorting node for sorting.
  • the source business party A receives the endorsement response results from business parties B and C, knows that the flow of the order has ended, simulates a blockchain transaction, and will reconcile the required order number information, A, B, and C processing results And processing time is encapsulated into transaction book record information, and this information is submitted to the blockchain sorting node for sorting.
  • the ordering method of the blockchain ordering node can be based on the Kafka queue.
  • the source business party A submits transaction data to the kafka message queue, where the source business party A can have multiple servers submit concurrently, and the kafka message queue receives the transaction data by the ledger node Sort by time sequence, and then send the sorted transaction data to the ledger nodes of A, B, and C through the broadcast mechanism for status submission. It may not be sorted by actual order end time.
  • a pre-sequencer is added to the sorting node.
  • the pre-sequencer caches a certain number of transaction records, and sorts the cached records according to the order end time through a timer, and then batches, for example, the previous 30 seconds
  • the data is pressed into the Kafka queue, so that the transaction data blocks in the Kafka queue are sorted according to the order end time.
  • the endorsement nodes of each business party respectively verify the received transaction data information and store it in the ledger node.
  • the legality of the submitted data can be verified, that is, whether the simulated transaction data block submitted by the judgment section is consistent with the endorsement response result returned to the resource requester during the endorsement process. If the inconsistency indicates that the data has been modified, the data will be ignored and the data will be consistent. Finally, it is submitted to the ledger node of all parties to the resource transaction.
  • the transaction-related data based on the resource request order is encapsulated as transaction ledger record information, it is submitted to the sorting node of the resource requester for sorting to obtain a simulated transaction data block, so that the endorsement nodes of all parties to the resource transaction use the simulated transaction data block to perform The transaction is verified, and after the verification is passed, the transaction-related data is saved to the ledger nodes of the parties to the resource transaction.
  • the endorsement nodes of the parties to the resource transaction use the simulated transaction data block to perform transaction verification, and after the verification is passed, the transaction-related data are respectively saved to the ledger nodes of the parties to the resource transaction, including :
  • the endorsement nodes of the parties to the resource transaction perform transaction verification according to the simulated transaction data block and the endorsement proposal results returned by the endorsement nodes of each of the business related parties to obtain the verification results of the parties to the resource transaction;
  • the parties to the resource transaction respectively save the transaction-related data to the ledger nodes of the parties to the resource transaction.
  • the endorsement nodes of each business party respectively verify the received transaction data information and store it in the ledger node.
  • the legality of the submitted data can be verified, that is, whether the simulated transaction data block submitted by the judgment section is consistent with the endorsement response result returned to the resource requester during the endorsement process. If the inconsistency indicates that the data has been modified, the data will be ignored and the data will be consistent. Finally, it is submitted to the ledger node of all parties to the resource transaction.
  • This application also provides a resource request transaction device based on the blockchain network.
  • the blockchain network includes endorsement nodes of all parties to the resource transaction, ledger nodes, ordering nodes, and service terminals of all parties to the resource transaction connected to each of the nodes.
  • the device is located at the service terminal of the resource requester.
  • the resource request transaction device based on the blockchain network includes a cache module 410, a proposal module 420, and a verification module 430. in:
  • the caching module 410 may be used to cache the identifier of a resource request order, the resource request order being a resource request order sent by a resource requester to a business related party through a business system, and the resource request order is in turn circulated among the business related parties;
  • the proposal module 420 can be used to periodically use the resource to request an order identifier to initiate an endorsement proposal to the endorsing node of each business related party, so as to receive the endorsement proposal result returned by the endorsing node of the business related party according to the order flow, until all business related parties are obtained.
  • the verification module 430 may be used to encapsulate the transaction-related data based on the resource request order into transaction ledger record information, and submit it to the sorting node of the resource requester for sorting to obtain simulated transaction data blocks, so that all parties to the resource transaction
  • the endorsement node uses the simulated transaction data block to perform transaction verification, and after the verification is passed, the transaction-related data are respectively saved to the ledger nodes of the parties to the resource transaction.
  • an electronic device capable of implementing the above method is also provided.
  • the electronic device 500 according to this embodiment of the present invention will be described below with reference to FIG. 5.
  • the electronic device 500 shown in FIG. 5 is only an example, and should not bring any limitation to the function and application scope of the embodiment of the present invention.
  • the electronic device 500 is represented in the form of a general-purpose computing device.
  • the components of the electronic device 500 may include, but are not limited to: the aforementioned at least one processing unit 510, the aforementioned at least one storage unit 520, and a bus 530 connecting different system components (including the storage unit 520 and the processing unit 510).
  • the storage unit stores program code, and the program code can be executed by the processing unit 510, so that the processing unit 510 executes the various exemplary methods described in the "Exemplary Method" section of this specification. Steps of implementation.
  • the processing unit 510 may perform the steps shown in FIG. 1.
  • step S110 the identifier of the resource request order is cached, and the resource request order is a resource request sent by the resource requester to the business related party through the business system. Orders, the resource request orders are sequentially transferred among the business related parties.
  • step S120 the resource request order identifier is periodically used to initiate an endorsement proposal to the endorsing node of each of the business related parties, so as to receive the endorsement proposal result returned by the endorsing node of the business related party according to the order flow situation, until all the business related parties are obtained.
  • the endorsement proposal result returned by the endorsement node is periodically used to initiate an endorsement proposal to the endorsing node of each of the business related parties, so as to receive the endorsement proposal result returned by the endorsing node of the business related party according to the order flow situation, until all the business related parties are obtained.
  • step S130 after the transaction-related data based on the resource request order is encapsulated as transaction book record information, it is submitted to the sorting node of the resource requester for sorting to obtain a simulated transaction data block, so that the endorsement of all parties to the resource transaction
  • the node uses the simulated transaction data block to perform transaction verification, and after the verification is passed, the transaction-related data is respectively saved to the ledger nodes of the parties to the resource transaction.
  • the storage unit 520 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 5201 and/or a cache storage unit 5202, and may further include a read-only storage unit (ROM) 5203.
  • RAM random access storage unit
  • ROM read-only storage unit
  • the storage unit 520 may also include a program/utility tool 5204 having a set of (at least one) program module 5205.
  • program module 5205 includes but is not limited to: an operating system, one or more application programs, other program modules, and program data, Each of these examples or some combination may include the implementation of a network environment.
  • the bus 530 may represent one or more of several types of bus structures, including a storage unit bus or a storage unit controller, a peripheral bus, a graphics acceleration port, a processing unit, or a local area using any bus structure among multiple bus structures. bus.
  • the electronic device 500 can also communicate with one or more external devices 700 (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable customers to interact with the electronic device 500, and/or communicate with Any device (such as a router, modem, etc.) that enables the electronic device 500 to communicate with one or more other computing devices. Such communication may be performed through an input/output (I/O) interface 550, and may also include a display unit 540 connected to the input/output (I/O) interface 550.
  • the electronic device 500 may also communicate with one or more networks (for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet) through the network adapter 560.
  • networks for example, a local area network (LAN), a wide area network (WAN), and/or a public network, such as the Internet
  • the network adapter 560 communicates with other modules of the electronic device 500 through the bus 530.
  • other hardware and/or software modules can be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives And data backup storage system, etc.
  • the example embodiments described here can be implemented by software, or can be implemented by combining software with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, U disk, mobile hard disk, etc.) or on the network , Including several instructions to make a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) execute the method according to the embodiment of the present application.
  • a computing device which can be a personal computer, a server, a terminal device, or a network device, etc.
  • a computer-readable storage medium is also provided.
  • the computer-readable storage medium may be non-volatile or volatile, and stored thereon Program products that can implement the above-mentioned methods in this specification.
  • various aspects of the present invention may also be implemented in the form of a program product, which includes program code.
  • the program product runs on a terminal device, the program code is used to enable the The terminal device executes the steps according to various exemplary embodiments of the present invention described in the above-mentioned "Exemplary Method" section of this specification.
  • a program product 600 for implementing the above method according to an embodiment of the present invention is described. It can adopt a portable compact disk read-only memory (CD-ROM) and include program code, and can be installed in a terminal device, For example, running on a personal computer.
  • the program product of the present invention is not limited to this.
  • the readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or combined with an instruction execution system, device, or device.
  • the program product can use any combination of one or more readable media.
  • the readable medium may be a readable signal medium or a readable storage medium.
  • the readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or a combination of any of the above. More specific examples (non-exhaustive list) of readable storage media include: electrical connections with one or more wires, portable disks, hard disks, random access memory (RAM), read only memory (ROM), erasable Type programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
  • the computer-readable signal medium may include a data signal propagated in baseband or as a part of a carrier wave, and readable program code is carried therein. This propagated data signal can take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing.
  • the readable signal medium may also be any readable medium other than a readable storage medium, and the readable medium may send, propagate, or transmit a program for use by or in combination with the instruction execution system, apparatus, or device.
  • the program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
  • the program code used to perform the operations of the present invention can be written in any combination of one or more programming languages.
  • the programming languages include object-oriented programming languages—such as Java, C++, etc., as well as conventional procedural styles. Programming language-such as "C" language or similar programming language.
  • the program code can be executed entirely on the client computing device, partly executed on the client device, executed as an independent software package, partly executed on the client computing device and partly executed on the remote computing device, or entirely on the remote computing device or server Executed on.
  • the remote computing device can be connected to a client computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computing device (for example, using Internet service providers). Business to connect via the Internet).
  • LAN local area network
  • WAN wide area network
  • Internet service providers for example, using Internet service providers

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • Development Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

Procédé et appareil de vérification de transaction de demande de ressources basée sur un réseau de chaînes de blocs, dispositif électronique et support d'enregistrement lisible par ordinateur, appartenant au domaine technique des chaînes de blocs. Le réseau de chaînes de blocs comprend des nœuds d'approbation, des nœuds de livre de compte et des nœuds de tri de toutes les parties de transaction de ressources et un terminal de service de chaque partie de transaction de ressources connecté aux divers nœuds. Le procédé est exécuté par un terminal de service d'un demandeur de ressources, et comprend : la mise en cache d'un identifiant d'un ordre de demande de ressources, et l'utilisation régulière de l'identifiant de l'ordre de demande de ressources pour initier une proposition d'approbation aux nœuds d'approbation des différentes parties associées au service ; et la soumission des données associées à une transaction sur la base de l'ordre de demande de ressources au nœud de tri du demandeur de ressources pour effectuer un tri afin d'obtenir un bloc de données de transaction simulée, de façon à amener les nœuds d'approbation à effectuer une vérification de transaction, et une fois la vérification réussie, à stocker les données associées à une transaction au nœud de livre de compte de chaque partie de transaction de ressources. Le procédé peut améliorer de manière efficace la stabilité et la fiabilité d'une transaction de demande de ressources.
PCT/CN2020/105545 2020-04-28 2020-07-29 Procédé et appareil de vérification de transaction de demande de ressources basée sur un réseau de chaînes de blocs, dispositif électronique et support d'enregistrement lisible par ordinateur WO2021217928A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010349691.1A CN111598650A (zh) 2020-04-28 2020-04-28 基于区块链网络的资源请求交易方法及相关装置
CN202010349691.1 2020-04-28

Publications (1)

Publication Number Publication Date
WO2021217928A1 true WO2021217928A1 (fr) 2021-11-04

Family

ID=72183822

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/105545 WO2021217928A1 (fr) 2020-04-28 2020-07-29 Procédé et appareil de vérification de transaction de demande de ressources basée sur un réseau de chaînes de blocs, dispositif électronique et support d'enregistrement lisible par ordinateur

Country Status (2)

Country Link
CN (1) CN111598650A (fr)
WO (1) WO2021217928A1 (fr)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114331440A (zh) * 2021-12-31 2022-04-12 北京江融信科技有限公司 一种冲突检测及性能优化方法和装置
CN116029829A (zh) * 2023-03-30 2023-04-28 中国信息通信研究院 基于工业互联网的交易系统、设备和介质
CN116128641A (zh) * 2022-12-07 2023-05-16 申万宏源证券有限公司 一种竞价交易与非竞价交易分离的分布式证券交易系统
WO2023142226A1 (fr) * 2022-01-28 2023-08-03 Hong Kong Applied Science and Technology Research Institute Company Limited Procédé et appareil d'échange de données entre un système de chaîne de blocs et un système sans chaîne de blocs
CN116775772A (zh) * 2022-03-10 2023-09-19 腾讯科技(深圳)有限公司 一种数据处理方法、装置、设备及可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199732B (zh) * 2020-09-01 2024-04-05 东方航空物流股份有限公司 一种基于区块链的航空物流电子运单管理方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256864A (zh) * 2018-02-13 2018-07-06 中链科技有限公司 一种区块链之间的跨链联盟的建立及通信方法、系统
CN108376368A (zh) * 2018-03-07 2018-08-07 物数(上海)信息科技有限公司 背书策略确定方法、装置、电子设备、存储介质
CN108595126A (zh) * 2018-04-27 2018-09-28 腾讯科技(深圳)有限公司 数据存储系统、查询方法、查询装置、服务器及存储介质
CN108810137A (zh) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 一种联盟区块链系统
CN108833081A (zh) * 2018-06-22 2018-11-16 中国人民解放军国防科技大学 一种基于区块链的设备组网认证方法

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11188920B2 (en) * 2018-05-23 2021-11-30 International Business Machines Corporation Autocommit transaction management in a blockchain network
US11521202B2 (en) * 2018-08-30 2022-12-06 International Business Machines Corporation Distributed computing and storage network implementing high integrity, high bandwidth, low latency, secure processing
CN109493204B (zh) * 2018-10-16 2023-04-18 平安科技(深圳)有限公司 基于区块链的业务记账方法及终端设备
CN110555769A (zh) * 2019-07-25 2019-12-10 深圳壹账通智能科技有限公司 区块链交易数据处理方法、装置、计算机设备和存储介质
CN111046037A (zh) * 2019-11-18 2020-04-21 远光软件股份有限公司 区块链的交易处理方法、电子设备和存储介质

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108256864A (zh) * 2018-02-13 2018-07-06 中链科技有限公司 一种区块链之间的跨链联盟的建立及通信方法、系统
CN108376368A (zh) * 2018-03-07 2018-08-07 物数(上海)信息科技有限公司 背书策略确定方法、装置、电子设备、存储介质
CN108595126A (zh) * 2018-04-27 2018-09-28 腾讯科技(深圳)有限公司 数据存储系统、查询方法、查询装置、服务器及存储介质
CN108810137A (zh) * 2018-06-11 2018-11-13 西安纸贵互联网科技有限公司 一种联盟区块链系统
CN108833081A (zh) * 2018-06-22 2018-11-16 中国人民解放军国防科技大学 一种基于区块链的设备组网认证方法

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114331440A (zh) * 2021-12-31 2022-04-12 北京江融信科技有限公司 一种冲突检测及性能优化方法和装置
WO2023142226A1 (fr) * 2022-01-28 2023-08-03 Hong Kong Applied Science and Technology Research Institute Company Limited Procédé et appareil d'échange de données entre un système de chaîne de blocs et un système sans chaîne de blocs
US11789937B2 (en) 2022-01-28 2023-10-17 Hong Kong Applied Science and Technology Research Institute Company Limited Method and apparatus for exchanging data between blockchain system and non-blockchain system
CN116775772A (zh) * 2022-03-10 2023-09-19 腾讯科技(深圳)有限公司 一种数据处理方法、装置、设备及可读存储介质
CN116128641A (zh) * 2022-12-07 2023-05-16 申万宏源证券有限公司 一种竞价交易与非竞价交易分离的分布式证券交易系统
CN116128641B (zh) * 2022-12-07 2023-10-17 申万宏源证券有限公司 一种竞价交易与非竞价交易分离的分布式证券交易系统
CN116029829A (zh) * 2023-03-30 2023-04-28 中国信息通信研究院 基于工业互联网的交易系统、设备和介质

Also Published As

Publication number Publication date
CN111598650A (zh) 2020-08-28

Similar Documents

Publication Publication Date Title
WO2021217928A1 (fr) Procédé et appareil de vérification de transaction de demande de ressources basée sur un réseau de chaînes de blocs, dispositif électronique et support d'enregistrement lisible par ordinateur
US10963370B2 (en) Default mock implementations at a server
US12105735B2 (en) Asynchronous accounting method and apparatus for blockchain, medium and electronic device
WO2023207146A1 (fr) Procédé et appareil de simulation de service pour système esop, et dispositif et support de stockage
CN111598575A (zh) 业务流程控制方法、装置、电子设备和可读存储介质
CN112068973A (zh) 策略模式的异步信息处理方法、装置、服务器和存储介质
CN110011875A (zh) 拨测方法、装置、设备及计算机可读存储介质
US7246356B1 (en) Method and system for facilitating comunications between an interactive multimedia client and an interactive multimedia communication server
WO2023246187A1 (fr) Procédé de gestion pour réseau de chaîne de blocs, et dispositif associé
CN113793139A (zh) 支付异常的处理方法、处理装置、存储介质及电子设备
WO2023193572A1 (fr) Procédé et appareil de gestion de données, serveur, et support de stockage
US11997216B2 (en) Systems and methods for maintaining secure, encrypted communications across distributed computer networks by linking cryptography-based digital repositories in order to perform blockchain operations in decentralized applications
US20230306128A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to provide variable resiliency when indexing blockchain states for performing blockchain operations in decentralized applications using cryptography-based digital repositories
CN111694620A (zh) 第三方业务的交互方法、装置、设备及计算机存储介质
CN113472687B (zh) 一种数据处理方法和装置
US20230267430A1 (en) Data processing method and device, and computer-readable storage medium
KR102680150B1 (ko) 거래 시스템을 구현하는 네트워크 노드들의 서브세트 내의 컨텍스트 기반 필터링
CN113497735B (zh) 开放接口的管理方法、电子设备以及存储介质
CN112988738B (zh) 用于区块链的数据分片方法和装置
WO2023207529A1 (fr) Procédé et appareil de traitement de données, dispositif, support et produit
US11729161B1 (en) Pre-built, pre-tested, and standardized connectors for end-to-end connection
US20230269086A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to efficiently index blockchain states for performing blockchain operations in decentralized applications using cryptography-based digital repositories
US20230269085A1 (en) Systems and methods for using secure, encrypted communications across distributed computer networks to efficiently update cryptography-based digital repositories for performing blockchain operations in decentralized applications
CN118786645A (zh) 用于在计算机网络中使用基于密码术的存储应用来促进去中心化应用中的安全区块链操作的系统和方法
CN113553206A (zh) 数据事件执行方法、装置、电子设备和计算机可读介质

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: 20933999

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 16.02.2023)

122 Ep: pct application non-entry in european phase

Ref document number: 20933999

Country of ref document: EP

Kind code of ref document: A1