WO2022161181A1 - Procédé et appareil de traitement de données fondé sur une chaîne de blocs et dispositif électronique - Google Patents
Procédé et appareil de traitement de données fondé sur une chaîne de blocs et dispositif électronique Download PDFInfo
- Publication number
- WO2022161181A1 WO2022161181A1 PCT/CN2022/071761 CN2022071761W WO2022161181A1 WO 2022161181 A1 WO2022161181 A1 WO 2022161181A1 CN 2022071761 W CN2022071761 W CN 2022071761W WO 2022161181 A1 WO2022161181 A1 WO 2022161181A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- blockchain
- service
- user
- information
- management platform
- Prior art date
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 13
- 238000000034 method Methods 0.000 claims abstract description 45
- 238000003860 storage Methods 0.000 claims description 34
- 238000012545 processing Methods 0.000 claims description 17
- 230000004044 response Effects 0.000 claims description 12
- 238000010586 diagram Methods 0.000 description 10
- 238000005516 engineering process Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 230000008447 perception Effects 0.000 description 6
- 238000012795 verification Methods 0.000 description 6
- 230000008520 organization Effects 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 230000002085 persistent effect Effects 0.000 description 2
- OKTJSMMVPCPJKN-UHFFFAOYSA-N Carbon Chemical compound [C] OKTJSMMVPCPJKN-UHFFFAOYSA-N 0.000 description 1
- 238000013475 authorization Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 239000006227 byproduct Substances 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 229910021389 graphene Inorganic materials 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 230000001105 regulatory effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3821—Electronic credentials
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3825—Use of electronic signatures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/382—Payment protocols; Details thereof insuring higher security of transaction
- G06Q20/3829—Payment protocols; Details thereof insuring higher security of transaction involving key management
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Payment architectures, schemes or protocols
- G06Q20/38—Payment protocols; Details thereof
- G06Q20/40—Authorisation, 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/401—Transaction verification
- G06Q20/4014—Identity check for transactions
Definitions
- One or more embodiments of this specification relate to the field of blockchain technology, and in particular, to methods, apparatuses, and electronic devices for data processing based on blockchain.
- Blockchain technology also known as distributed ledger technology, is an emerging technology in which several computing devices jointly participate in "bookkeeping" and jointly maintain a complete distributed database. Due to the characteristics of decentralization, openness and transparency of blockchain technology, each computing device can participate in database records, and data synchronization between computing devices can be performed quickly, blockchain technology has been widely used in many fields. to apply.
- a blockchain-based data processing method is provided, the method is applied to a management platform, and the management platform is used to manage a blockchain service network composed of a plurality of blockchains;
- the blockchain service network provides a blockchain certificate deposit service for users; the method includes: receiving business data and user information of the user sent by the user terminal; determining from the blockchain service network based on the user information as The user provides the target blockchain of the blockchain service; and sends the business data to the node device of the target blockchain, so as to store the business data on the target blockchain.
- a plurality of blockchains constituting the blockchain service network correspond to different service areas; it is determined from the blockchain service network based on the user information to provide the user with a blockchain service
- the target blockchain including: determining the target service area corresponding to the user based on the user information; determining the blockchain corresponding to the target service area in the blockchain service network as, facing the The target blockchain for users to provide blockchain services.
- the user information includes identification information corresponding to a service area assigned to the user; or, the user information includes user identification information used to query the service area assigned to the user.
- the method further includes: receiving a service request corresponding to the blockchain certificate deposit service sent by the user terminal; in response to the service request, after determining that the user has completed the transaction with the blockchain When purchasing and paying for the service corresponding to the chain deposit service, a service area is allocated to the user.
- the management platform includes a cloud service management platform; and the multiple blockchains include blockchains constructed based on cloud storage resources managed by the cloud service management platform.
- the method further includes: receiving a certificate receipt corresponding to the business data returned by a node device of the target blockchain; comparing the identification information of the target service area corresponding to the user with the deposit certificate. After the receipt is spliced, it is returned to the user terminal.
- the method further includes: receiving a query request for the service data sent by the user terminal; the query request includes the certificate storage information of the service data; in response to the query request, parsing the The certificate information of the business data, determine whether the certificate information carries the identification information of the service area; when it is determined that the certificate information carries the identification information of the service area, send the query request to the identification information
- the node device in the blockchain corresponding to the indicated service area uses the node device to query the business data based on the certificate receipt carried in the certificate information of the business data, and returns the query result to the management platform , and is further returned to the user terminal by the management platform; when it is determined that the identification information of the service area is not carried in the certificate storage information, the query request is sent to the target service area corresponding to the allocated target service area for the user.
- the node device in the blockchain queries the business data based on the certificate receipt carried in the certificate information of the business data, and returns the query result to the management platform, and the management platform It is further returned to the user terminal.
- a blockchain-based data processing device is provided, the device is applied to a management platform, and the management platform is used to manage a blockchain service network composed of a plurality of blockchains;
- the blockchain service network provides blockchain certificate storage services for users;
- the device includes: a receiving module for receiving business data sent by the user terminal and user information of the user;
- a target blockchain that provides blockchain services for the user is determined in the blockchain service network;
- a sending module is configured to send the business data to the node device of the target blockchain, so as to The business data is stored on the target blockchain.
- the multiple blockchains forming the blockchain service network correspond to different service areas respectively; the determining module is configured to determine the target service area corresponding to the user based on the user information; The blockchain corresponding to the target service area in the blockchain service network is determined as the target blockchain that provides blockchain services for the user.
- the user information includes identification information corresponding to a service area assigned to the user; or, the user information includes user identification information used to query the service area assigned to the user.
- the apparatus further includes an allocation module, configured to: receive a service request corresponding to the blockchain certificate deposit service sent by the user terminal; in response to the service request, after determining that the user has completed When paying for the service purchase corresponding to the blockchain certificate deposit service, a service area is allocated to the user.
- an allocation module configured to: receive a service request corresponding to the blockchain certificate deposit service sent by the user terminal; in response to the service request, after determining that the user has completed When paying for the service purchase corresponding to the blockchain certificate deposit service, a service area is allocated to the user.
- the management platform includes a cloud service management platform; and the multiple blockchains include blockchains constructed based on cloud storage resources managed by the cloud service management platform.
- the device further includes a return module, configured to: receive the receipt of the certificate corresponding to the business data returned by the node device of the target blockchain; return the identification information of the target service area corresponding to the user. After splicing with the deposit receipt, it is returned to the user terminal.
- a return module configured to: receive the receipt of the certificate corresponding to the business data returned by the node device of the target blockchain; return the identification information of the target service area corresponding to the user. After splicing with the deposit receipt, it is returned to the user terminal.
- the device further includes a query module, configured to: receive a query request for the service data sent by the user terminal; the query request includes the certificate information of the service data; respond to the query request, parse the certificate information of the business data, and determine whether the certificate information carries the identification information of the service area; when it is determined that the certificate information carries the identification information of the service area, send the query request to
- the node device in the blockchain corresponding to the service area indicated by the identification information queries the business data based on the certificate receipt carried in the certificate information of the business data by the node device, and returns the query result To the management platform, and the management platform will further return it to the user terminal; when it is determined that the identification information of the service area is not carried in the certificate deposit information, the query request is sent to the user terminal assigned to the user.
- the node device in the blockchain corresponding to the target service area queries the business data based on the deposit receipt carried in the deposit information of the business data by the node device, and returns the query result to the management platform, It is further returned to
- an electronic device comprising a processor and a memory for storing executable instructions of the processor; wherein the processor implements the above-mentioned blockchain-based blockchain by running the executable instructions data processing method.
- the management platform can allocate blockchains for business processing based on the user's user information in multiple blockchains without the user's perception, so as to realize multiple blocks without the user's perception.
- Chain federation data processing method
- the management platform shields the complexity of the joint use of multiple blockchains, allowing users to read and write operations in a multi-chain environment as if they were using one chain.
- FIG. 1 is a schematic diagram of a blockchain system shown in an exemplary embodiment of this specification
- FIG. 2 is a flowchart of a block chain-based data processing method shown in an exemplary embodiment of this specification
- FIG. 3 is a flowchart of a service data query method shown in an exemplary embodiment of the present specification
- FIG. 4 is a schematic diagram of a blockchain-based business data certificate storage method shown in an exemplary embodiment of this specification
- FIG. 5 is a schematic diagram of a blockchain-based business query method shown in an exemplary embodiment of this specification.
- FIG. 6 is a hardware structure diagram of an electronic device shown in an exemplary embodiment of the present specification.
- FIG. 7 is a block diagram of a block chain-based data processing apparatus shown in an exemplary embodiment of the present specification.
- the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification.
- the method may include more or fewer steps than described in this specification.
- a single step described in this specification may be decomposed into multiple steps for description in other embodiments; and multiple steps described in this specification may also be combined into a single step in other embodiments. describe.
- Blockchains are generally divided into three types: Public Blockchain, Private Blockchain and Consortium Blockchain.
- Public Blockchain Private Blockchain
- Consortium Blockchain there can also be a combination of the above-mentioned types, such as private chain + alliance chain, alliance chain + public chain, etc.
- the public chain is represented by Bitcoin and Ethereum. Participants who join the public chain (also called nodes in the blockchain) can read the data records on the chain, participate in transactions, and compete for the accounting rights of new blocks, etc. . Moreover, each node can freely join or leave the network and perform related operations.
- the private chain is on the contrary, the write permission of the network is controlled by an organization or institution, and the data read permission is regulated by the organization.
- a private chain can be a weakly centralized system with strict restrictions on nodes and a small number of nodes. This type of blockchain is more suitable for internal use within a specific institution.
- the consortium chain is a blockchain between the public chain and the private chain, which can achieve "partial decentralization".
- Each node in the alliance chain usually has a corresponding entity or organization; the node joins the network through authorization and forms a stakeholder alliance to jointly maintain the operation of the blockchain.
- the blockchain is usually composed of several blocks. Timestamps corresponding to the creation time of the blocks are respectively recorded in these blocks, and all blocks form a time-ordered data chain strictly according to the timestamps recorded in the blocks.
- the real data generated in the physical world it can be constructed into a standard transaction format supported by the blockchain, and then published to the blockchain, and the node devices in the blockchain will perform consensus processing on the received transactions , and after reaching a consensus, the node device in the blockchain as the accounting node will package the transaction into the block and store the certificate persistently in the blockchain.
- the consensus algorithms supported in the blockchain may include: the first type of consensus algorithm, that is, the consensus algorithm in which node devices need to compete for the accounting rights of each round of accounting cycles; for example, Proof of Work (POW) ), Proof of Stake (POS), Delegated Proof of Stake (DPOS) and other consensus algorithms; the second type of consensus algorithm is to pre-select billing nodes for each round of billing cycle (no need to compete for Bookkeeping rights) consensus algorithms; for example, consensus algorithms such as Practical Byzantine Fault Tolerance (PBFT).
- POW Proof of Work
- POS Proof of Stake
- DPOS Delegated Proof of Stake
- PBFT Practical Byzantine Fault Tolerance
- all node devices competing for the right to bookkeeping can execute the transaction after receiving the transaction.
- One of the node devices competing for the accounting right may win in the process of competing for the accounting right in this round and become an accounting node.
- the accounting node can package the received transaction with other transactions to generate the latest block, and send the generated latest block or the block header of the latest block to other node devices for consensus.
- the node equipment with accounting rights has been negotiated before this round of accounting. Therefore, after the node device receives the transaction, if it is not the accounting node of the current round, it can send the transaction to the accounting node.
- the transaction may be executed during or before the process of packaging the transaction with other transactions to generate the latest block.
- the accounting node After the accounting node generates the latest block, it can send the latest block or the block header of the latest block to other node devices for consensus.
- the accounting node of this round can package the received transaction to generate the latest block, and use the generated latest block or the latest block
- the block header is sent to other node devices for consensus verification. If other node devices receive the latest block or the block header of the latest block and verify that there is no problem, the latest block can be appended to the end of the original blockchain, thereby completing the blockchain accounting process. In the process of verifying the new block or block header sent by the accounting node, other nodes can also execute the transactions contained in the block.
- FIG. 1 is a schematic diagram of a blockchain system shown in an exemplary embodiment of this specification.
- the blockchain system includes: a management platform and multiple blockchains.
- multiple blockchains constitute a blockchain service network, which can provide users with a variety of blockchain services.
- blockchain storage services etc.
- the above management platform can be used to manage the blockchain service network.
- the management platform can be connected with the user terminal, and the user terminal can use the blockchain service through the management platform.
- the management platform may be a BaaS (Blockchain as a Service) platform. It is only exemplified here, and is not specifically limited.
- the management platform can connect with the user terminal through the upper-layer service, so that the user terminal can create a platform account on the management platform, and perform operations such as purchase and management of blockchain services.
- the upper-layer service and the user terminal may adopt a BS (Browser/Server, browser/server) architecture, and the upper-layer service provides a Web page for the user terminal.
- BS Backboneser/Server, browser/server
- Users can create platform accounts on the management platform based on web pages, and purchase and manage blockchain services.
- the upper-layer service and the user terminal may also adopt a CS (Client/Server, client/server) architecture.
- the user interacts with the upper-layer service through the client of the user terminal to realize the purchase and management of the blockchain service.
- management platform can also forward user interaction data to different blockchains for processing through underlying services.
- the above-mentioned management platform can be built by a single physical device, or can be built by a plurality of physical devices.
- the upper-layer service of the management platform can be built by the OC (Openchain, Open Alliance Chain) platform, and the above-mentioned underlying services can be built by the gateway devices connected to multiple blockchains. It is specifically defined.
- the blockchain-based data processing method provided in this specification is exemplified below from the platform account creation and data processing parties.
- the user can send a platform account creation request to the management platform through the user terminal.
- the management platform can create a platform account for the user on the management platform.
- the management platform can assign a platform account identifier to the user terminal, and assign key information to the user account.
- the key information may include: a public key and a private key.
- the management platform can return the platform account identification and key information allocated to the user to the user terminal, so that the user terminal can use the platform account identification and key information as a credential for using the management platform for business processing.
- the user account identifier is used to identify the platform account created for the user.
- the key information allocated to the user account is used by the management platform to verify the signature of the message sent by the user to ensure the legitimacy of the user's identity.
- FIG. 2 is a flowchart of a blockchain-based data processing method shown in an exemplary embodiment of the present specification.
- the method can be applied to a management platform, which is used for A blockchain service network composed of blockchains; the blockchain service network provides a blockchain certificate deposit service for users, and the method may include the following steps.
- Step 202 The management platform receives service data and user information of the user sent by the user terminal.
- the user can send a deposit request to the management platform through the user terminal.
- the certificate deposit request carries the business data and user information to be stored.
- the user terminal When sending, the user terminal can use the private key returned by the management platform to sign the certificate deposit request, and send the signature and the certificate deposit request to the management platform.
- the management platform can use the public key corresponding to the private key to verify the signature, and respond to the certificate deposit request after the signature verification is passed.
- the user terminal can also send the transaction containing the business data to be stored to the management platform, and the management platform will forward the transaction to the node of the blockchain after determining the target blockchain corresponding to the user information.
- Step 204 The management platform determines a target blockchain that provides blockchain services for the user from the blockchain service network based on the user information.
- the management platform manages a blockchain service network composed of multiple blockchains, in order to facilitate the management of the blockchains.
- the management platform creates multiple service areas and records at least one blockchain included in each service area. After the user purchases the blockchain service, the management platform can allocate the corresponding service area to the user, and the blockchain in the service area will provide the user with the blockchain service.
- the user terminal can send a service request corresponding to the blockchain certificate storage service to the management platform.
- the management platform may, in response to the service request, allocate a service to the user when it is determined that the user has completed the service purchase payment corresponding to the blockchain certificate deposit service. area.
- the service area may be divided into geographic areas.
- the service areas include: East China, South China, Northeast China and so on.
- Each service area corresponds to at least one blockchain.
- the management platform can assign the user a service area that matches the user's location based on the user's location.
- the service area allocated to the user is East China.
- the management platform can also assign service areas to users in other ways.
- the management platform can assign the service area with the lowest current load to the user, and of course, the management platform can also assign the service area specified by the user to the user.
- the service area allocated to the user by the management platform is only exemplarily described, and is not specifically limited.
- the management platform may record the correspondence between the user identifier (eg, the user account identifier) and the service area.
- step 204 will be described in detail through steps 2041 to 2042 below.
- Step 2041 The management platform determines the target service area corresponding to the user in the service area allocated to each user based on the user information.
- the user information may be user identification information used to query the service area allocated to the user, such as the user's platform account identification, and the management platform may search for the user's assigned service area based on the user's platform account identification.
- the user information may also be the identification information of the service area allocated to the user, and the user information is only illustratively described here, and is not specifically limited.
- the user information is user identification information used to query the service area allocated to the user, such as the user's platform account identification.
- the management platform may determine the service area corresponding to the user platform account identifier in the locally stored correspondence between the user platform account identifier and the service area, as the target service area. If the platform account identifier corresponds to multiple service areas, the default service area in the multiple service areas, or the service area first allocated to the user is used as the target service area.
- the user information includes identification information corresponding to the service area allocated to the user, and the management platform may determine the service area indicated by the identification information as the target service area.
- Step 2042 The management platform may determine the blockchain corresponding to the target service area in the blockchain service network as the target blockchain that provides blockchain services to the user.
- the management platform can determine the blockchain as the target blockchain.
- the management platform can use the default blockchain or the blockchain with the least load as the target blockchain.
- the management platform can also directly allocate blockchains to users, based on the blockchains allocated to users.
- the target blockchain that provides the user with the blockchain service can be determined from the blockchain service network directly based on the user information.
- the method for determining the target blockchain is only illustratively described, and is not specifically limited.
- Step 206 The management platform sends the business data to the node device of the target blockchain, so as to store the business data on the target blockchain.
- the management platform when the user terminal sends a valid certificate deposit request to the management platform, the management platform can construct a first transaction based on the business data in the certificate deposit request, and send the first transaction to the target block The node device of the chain, so that the business data can be certified on the target blockchain by the node device of the target blockchain.
- the management platform can send the second transaction to the node device of the target blockchain , so that the business data can be stored on the target blockchain by the node device of the target blockchain.
- the management platform since the management platform manages multiple blockchains, the management platform will store the business data sent by the user terminal on the blockchain included in the target service area matching the user terminal. It is convenient for the user terminal to query the business data stored in the blockchain. The management platform not only returns the receipt of the service data to the user terminal, but also returns the identifier of the target service area corresponding to the user terminal to the user terminal.
- the management platform when the management platform receives the certificate receipt corresponding to the business data returned by the node device of the target blockchain, the management platform can splicing the identification information of the target service area corresponding to the user with the certificate receipt , and return the spliced certificate receipt to the user terminal.
- the ".hash" carried in the deposit receipt returned by the node device of the target blockchain.
- the identification information of the target service area is domain1.
- the management platform After receiving the deposit receipt from the node device of the target blockchain, the management platform can splicing domain1 with ".hash” to obtain the deposit receipt of "domain1.hash”. Then return the receipt with "domain1.hash” as the deposit information to the user terminal.
- the user after the user has stored the business data on the blockchain through the management platform, the user can also query the business data stored on the blockchain through the management platform.
- the service data query method will be described in detail below with reference to FIG. 3 .
- FIG. 3 is a flowchart of a business data query method shown in an exemplary embodiment of the present specification. The method can be applied to a management platform and may include the following steps.
- Step 302 The management platform receives a query request for the service data sent by the user terminal; the query request includes the certificate storage information of the service data.
- the user terminal can parse the deposit receipt to obtain the pre-splicing deposit receipt and the target service carried by the spliced deposit receipt. Region ID.
- the user can obtain the certificate information such as the certificate receipt and the target service area identifier of the business data.
- the user can know in which service area the business data is stored in the blockchain, when the user queries the stored business data, the user can query the certificate based on the deposit receipt, or the deposit receipt and the target service area identifier and other deposit information. For the business data stored by yourself, you can also query the business data stored by other users through the certificate receipt and service area ID.
- the user terminal can construct a query request for the service data based on the certificate information of the service data.
- the deposit information may only carry the deposit receipt, or may carry the deposit receipt and service area identification information.
- the certificate information is only exemplarily described here, and is not specifically limited.
- the user terminal can use the private key returned by the management platform to sign the query request, and return the signed query request to the management platform.
- the management platform can use the public key corresponding to the private key to verify the signature, and respond to the query request after the signature verification is passed.
- Step 304 In response to the query request, the management platform parses the certificate storage information of the service data, and determines whether the certificate storage information carries the identification information of the service area.
- Step 306 When the management platform determines that the identification information of the service area is carried in the certificate information, the management platform sends the query request to the node device in the blockchain corresponding to the service area indicated by the identification information, so as to be The node device queries the service data based on the certificate deposit receipt carried in the certificate deposit information of the service data, and returns the query result to the management platform, which is further returned to the user terminal.
- Step 308 When the management platform determines that the identification information of the service area is not carried in the certificate storage information, the management platform sends the query request to the node device corresponding to the target service area allocated for the user, so that the node device can use it based on the service area.
- the certificate deposit receipt carried in the certificate deposit information of the business data queries the business data, and returns the query result to the management platform, and the management platform further returns it to the user terminal.
- the management platform can respond to the query request, parse the certificate information of the business data, determine whether the certificate information carries the identification information of the service area, and obtain the certificate information carried by the 's deposit receipt.
- the query request is sent to the node device in the blockchain corresponding to the service area indicated by the identification information.
- the node device in the blockchain can query the business data based on the deposit receipt, and return the business data to the management platform.
- the management platform can return the queried service data to the user terminal.
- the query request is sent to the node device in the blockchain corresponding to the target service area allocated to the user terminal.
- the node device in the blockchain can query the business data based on the deposit receipt, and return the business data to the management platform.
- the management platform can return the queried service data to the user terminal.
- the management platform can allocate blockchains for business processing based on the user's user information in multiple blockchains without the user's perception, so as to realize multiple blocks without the user's perception.
- Chain federation data processing method
- the management platform shields the complexity of the joint use of multiple blockchains, allowing users to read and write operations in a multi-chain environment as if they were using one chain.
- the management platform can be built by the OC platform and the gateway device.
- the OC platform may be responsible for the upper-layer services of the management platform described above.
- the gateway device may be responsible for the underlying services of the management platform described above.
- FIG. 4 is a schematic diagram of a blockchain-based business data certification method according to an exemplary embodiment of the present specification, and the method may include the following steps.
- Step 401 The user terminal of the user sends a certificate deposit request to the gateway device.
- the deposit request carries the user's platform account ID and signature.
- the signature is obtained by signing the certificate deposit request by the user terminal using the private key.
- Step 402 The gateway device uses the public key corresponding to the private key to verify the signature, and after the verification is passed, obtains the platform account identifier in the certificate deposit request.
- Step 403 The gateway device may send a service area query request to the OC platform; the service area query request carries the platform account identifier.
- Step 404 The OC platform searches for the default service area corresponding to the platform account identifier, and determines the blockchain identifier corresponding to the default service area.
- Step 405 The OC platform returns the determined blockchain identifier to the gateway device.
- Step 406 The gateway device sends the certificate deposit request to the blockchain node device indicated by the blockchain identifier.
- Step 407 The blockchain node device stores the service data, and returns a receipt of the certificate to the gateway device.
- Step 408 The gateway device splices the default blockchain identifier with the deposit receipt.
- Step 409 The gateway device returns the spliced certificate deposit receipt to the user terminal.
- FIG. 5 is a schematic diagram of a blockchain-based service query method shown in an exemplary embodiment of the present specification, and the method may include the following steps.
- Step 501 The user terminal of the user sends a query request for service data to the gateway device.
- the query request carries the certificate information of the service data and the signature of the query request.
- Step 502 The gateway device verifies the signature of the query request, and after the verification is passed, parses the certificate information to determine whether the certificate information carries the identification information of the service area.
- Step 503 The certificate information carries the identification information of the first service area, and the query request is sent to the blockchain node device of the first service area indicated by the identification information.
- Step 504 The blockchain node device in the first service area returns the service data to the user terminal through the gateway.
- Step 505 If the certificate deposit information does not carry the identification information of the service area, send a service area query request to the OC platform, and the service area query request carries the platform account identifier.
- Step 506 The OC platform searches for the second service area corresponding to the platform account identifier, and determines the blockchain identifier corresponding to the second service area.
- the default service area corresponding to the platform account identifier is determined as the second service area.
- the service area is determined as the second service area.
- Step 507 The OC platform returns the blockchain identifier corresponding to the second service area to the gateway device.
- Step 508 The gateway device sends the query request to the blockchain node device indicated by the blockchain identifier.
- Step 509 The blockchain node device in the second service area returns the queried service data to the user terminal through the gateway.
- the OC platform and the gateway device can allocate blockchains for business processing based on the user's user information in multiple blockchains without the user's perception, so as to realize the multi-blockchain without the user's perception.
- a data processing method for blockchain federation can be allocated.
- the OC platform and gateway devices shield the complexity of the joint use of multiple blockchains, allowing users to conduct transactions in a multi-chain environment as if they were using one chain. read and write.
- this specification also provides an embodiment of a blockchain-based data processing apparatus.
- the present specification also provides an embodiment of a data processing apparatus based on a blockchain.
- the embodiments of the blockchain-based data processing apparatus of this specification can be applied to electronic equipment.
- the apparatus embodiment may be implemented by software, or may be implemented by hardware or a combination of software and hardware. Taking software implementation as an example, a device in a logical sense is formed by reading the corresponding computer program instructions in the non-volatile memory into the memory through the processor of the electronic device where the device is located.
- FIG. 6 it is a hardware structure diagram of the electronic equipment where the blockchain-based data processing device of this specification is located, except for the processor, memory, network interface, and internal bus shown in Figure 6
- the electronic device in which the apparatus in the embodiment is located generally may also include other hardware according to the actual function of the electronic device, which will not be repeated here.
- FIG. 7 is a block diagram of a block chain-based data processing device shown in an exemplary embodiment of the present specification.
- the device can be applied to a management platform, and the management platform is used to manage a plurality of blockchains.
- the blockchain service network; the blockchain service network provides blockchain certificate storage services for users, and the device may include the following modules.
- the receiving module 701 is used to receive the service data sent by the user terminal and the user information of the user; the determining module 702 is used to determine from the blockchain service network based on the user information the user who provides the blockchain service for the user.
- the target blockchain; the sending module 703 is configured to send the business data to the node device of the target blockchain, so as to store the business data on the target blockchain.
- multiple blockchains forming the blockchain service network correspond to different service areas respectively; the determining module 702 is configured to determine the target service area corresponding to the user based on the user information; The blockchain corresponding to the target service area in the blockchain service network is determined as the target blockchain that provides blockchain services for the user.
- the user information includes identification information corresponding to a service area assigned to the user; or, the user information includes user identification information used to query the service area assigned to the user.
- the apparatus further includes: an allocation module 704 (not shown in FIG. 7 ), configured to receive a service request corresponding to the blockchain certificate deposit service sent by the user terminal; in response to the service The request is to allocate a service area to the user when it is determined that the user has completed the service purchase payment corresponding to the blockchain certificate deposit service.
- an allocation module 704 (not shown in FIG. 7 ), configured to receive a service request corresponding to the blockchain certificate deposit service sent by the user terminal; in response to the service The request is to allocate a service area to the user when it is determined that the user has completed the service purchase payment corresponding to the blockchain certificate deposit service.
- the management platform includes a cloud service management platform; and the multiple blockchains include blockchains constructed based on cloud storage resources managed by the cloud service management platform.
- the apparatus further includes: a return module 705 (not shown in FIG. 7 ), configured to receive a certificate receipt corresponding to the business data returned by the node device of the target blockchain; The identification information of the target service area corresponding to the user is spliced with the deposit receipt and returned to the user terminal.
- a return module 705 (not shown in FIG. 7 ), configured to receive a certificate receipt corresponding to the business data returned by the node device of the target blockchain;
- the identification information of the target service area corresponding to the user is spliced with the deposit receipt and returned to the user terminal.
- the apparatus further includes: a query module 706 (not shown in FIG. 7 ), configured to receive a query request for the service data sent by the user terminal; the query request includes a query request of the service data. certificate storage information; in response to the query request, parse the certificate storage identifier of the business data, and determine whether the certificate storage information carries the identification information of the service area; determine whether the certificate storage information carries the identification information of the service area when the query request is sent to the node device in the blockchain corresponding to the service area indicated by the identification information, so that the node device can query the database based on the certificate receipt carried in the certificate information of the business data.
- a query module 706 configured to receive a query request for the service data sent by the user terminal; the query request includes a query request of the service data. certificate storage information; in response to the query request, parse the certificate storage identifier of the business data, and determine whether the certificate storage information carries the identification information of the service area; determine whether the certificate storage information carries the identification information of the service area
- the service data and return the query result to the management platform, which is further returned to the user terminal; when it is determined that the identification information of the service area is not carried in the certificate information, the query request is sent to the user terminal. It is sent to the node device in the blockchain corresponding to the target service area allocated for the user, so that the node device can query the business data based on the certificate receipt carried in the certificate information of the business data, and send the data to the node device. The query result is returned to the management platform, which is further returned to the user terminal by the management platform.
- a typical implementation device is a computer, which may be in the form of a personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media player, navigation device, email sending and receiving device, game control desktop, tablet, wearable device, or a combination of any of these devices.
- a computer includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
- processors CPUs
- input/output interfaces network interfaces
- memory volatile and non-volatile memory
- Memory may include forms of non-persistent memory, random access memory (RAM) and/or non-volatile memory in computer readable media, such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
- RAM random access memory
- ROM read only memory
- flash RAM flash memory
- Computer-readable media includes both persistent and non-permanent, removable and non-removable media, and storage of information may be implemented by any method or technology.
- Information may be computer readable instructions, data structures, modules of programs, or other data.
- Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), Flash Memory or other memory technology, Compact Disc Read Only Memory (CD-ROM), Digital Versatile Disc (DVD) or other optical storage, Magnetic tape cartridges, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices or any other non-transmission media can be used to store information that can be accessed by computing devices.
- computer-readable media does not include transitory computer-readable media, such as modulated data signals and carrier waves.
- first, second, third, etc. may be used in this specification to describe various information, such information should not be limited by these terms. These terms are only used to distinguish the same type of information from each other.
- first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information without departing from the scope of one or more embodiments of the present specification.
- word "if” as used herein can be interpreted as "at the time of" or "when” or "in response to determining.”
Landscapes
- Business, Economics & Management (AREA)
- Engineering & Computer Science (AREA)
- Accounting & Taxation (AREA)
- Computer Security & Cryptography (AREA)
- Finance (AREA)
- Strategic Management (AREA)
- Physics & Mathematics (AREA)
- General Business, Economics & Management (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
La description se rapporte à un procédé et un appareil de traitement de données fondé sur une chaîne de blocs, et à un dispositif électronique. Selon un exemple, le procédé est appliqué à une plateforme de gestion, la plateforme de gestion étant utilisée pour gérer un réseau de service à chaînes de blocs composé d'une pluralité de chaînes de blocs ; et le réseau de service à chaînes de blocs fournit un service de registre à chaîne de blocs pour un utilisateur. Le procédé consiste : à recevoir des données de service et des informations d'utilisateur d'un utilisateur, envoyées par un terminal utilisateur ; en fonction des informations d'utilisateur, à déterminer, dans un réseau de service à chaînes de blocs, une chaîne de blocs cible qui fournit un service de chaîne de blocs pour l'utilisateur ; et à envoyer les données de service à un dispositif de nœud de la chaîne de blocs cible, de façon à mémoriser dans un registre les données de service sur la chaîne de blocs cible.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110111608.1A CN112435030B (zh) | 2021-01-27 | 2021-01-27 | 一种基于区块链的数据处理方法、装置及电子设备 |
CN202110111608.1 | 2021-01-27 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022161181A1 true WO2022161181A1 (fr) | 2022-08-04 |
Family
ID=74697316
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2022/071761 WO2022161181A1 (fr) | 2021-01-27 | 2022-01-13 | Procédé et appareil de traitement de données fondé sur une chaîne de blocs et dispositif électronique |
Country Status (2)
Country | Link |
---|---|
CN (2) | CN112435030B (fr) |
WO (1) | WO2022161181A1 (fr) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115243080A (zh) * | 2022-09-21 | 2022-10-25 | 腾讯科技(深圳)有限公司 | 一种数据处理方法、装置、设备及存储介质 |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112435030B (zh) * | 2021-01-27 | 2021-05-07 | 支付宝(杭州)信息技术有限公司 | 一种基于区块链的数据处理方法、装置及电子设备 |
WO2022216204A1 (fr) * | 2021-04-06 | 2022-10-13 | Rz Capital Holding Ab | Procédé et appareil pour gérer une communication sécurisée à l'aide de chaînes de blocs dans un réseau de communication |
WO2022224365A1 (fr) * | 2021-04-20 | 2022-10-27 | 富士通株式会社 | Procédé de commande, programme de commande, et dispositif de traitement d'informations |
CN113194143B (zh) * | 2021-04-30 | 2022-09-16 | 支付宝(杭州)信息技术有限公司 | 一种区块链账户的创建方法、装置及电子设备 |
CN113407954A (zh) * | 2021-05-11 | 2021-09-17 | 支付宝(杭州)信息技术有限公司 | 基于区块链的数据管理方法及装置 |
CN113220453B (zh) * | 2021-05-11 | 2024-05-31 | 支付宝(杭州)信息技术有限公司 | 区块链系统中发起交易的方法及装置 |
CN114119041B (zh) * | 2021-11-05 | 2024-09-06 | 支付宝(杭州)信息技术有限公司 | 基于区块链的业务推广方法及装置、电子设备 |
CN114513703A (zh) * | 2022-01-18 | 2022-05-17 | 支付宝(杭州)信息技术有限公司 | 一种基于区块链的可信打赏业务处理方法、装置及设备 |
CN115357664B (zh) * | 2022-10-21 | 2023-03-21 | 北京航空航天大学 | 一种基于区块链的多向可信系统及数据查询方法 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109614766A (zh) * | 2018-10-31 | 2019-04-12 | 阿里巴巴集团控股有限公司 | 一种通过文件获取对网页进行区块链存证的方法及装置 |
CN110020902A (zh) * | 2018-12-27 | 2019-07-16 | 阿里巴巴集团控股有限公司 | 跨链存证方法及访问方法、装置、电子设备 |
US20200244440A1 (en) * | 2019-07-18 | 2020-07-30 | Alibaba Group Holding Limited | Blockchain-based data evidence storage method and apparatus |
CN111966731A (zh) * | 2020-10-23 | 2020-11-20 | 支付宝(杭州)信息技术有限公司 | 一种在区块链系统中查询数据的方法和装置 |
CN112001796A (zh) * | 2020-10-26 | 2020-11-27 | 支付宝(杭州)信息技术有限公司 | 在区块链系统中进行业务处理的方法和装置 |
CN112435030A (zh) * | 2021-01-27 | 2021-03-02 | 支付宝(杭州)信息技术有限公司 | 一种基于区块链的数据处理方法、装置及电子设备 |
Family Cites Families (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107239479B (zh) * | 2017-03-28 | 2020-03-13 | 创新先进技术有限公司 | 一种基于区块链的数据存储以及查询的方法及装置 |
US11250507B2 (en) * | 2019-02-20 | 2022-02-15 | Apifiny Group Inc. | Trusted tokenized transactions in a blockchain system |
CN110166442B (zh) * | 2019-04-30 | 2022-09-06 | 创新先进技术有限公司 | 一种基于区块链的数据处理方法和装置 |
CN112184252A (zh) * | 2019-06-17 | 2021-01-05 | 雲禾(浙江)科技集团有限公司 | 一种基于区块链技术的商品防伪溯源方法 |
CN110471986B (zh) * | 2019-07-31 | 2020-08-04 | 阿里巴巴集团控股有限公司 | 基于区块链的票据实名领取方法、装置及电子设备 |
CN112100460B (zh) * | 2020-11-06 | 2021-04-30 | 腾讯科技(深圳)有限公司 | 基于区块链的网络页面存证方法、装置、介质及电子设备 |
-
2021
- 2021-01-27 CN CN202110111608.1A patent/CN112435030B/zh active Active
- 2021-01-27 CN CN202110719945.9A patent/CN113409045B/zh active Active
-
2022
- 2022-01-13 WO PCT/CN2022/071761 patent/WO2022161181A1/fr active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109614766A (zh) * | 2018-10-31 | 2019-04-12 | 阿里巴巴集团控股有限公司 | 一种通过文件获取对网页进行区块链存证的方法及装置 |
CN110020902A (zh) * | 2018-12-27 | 2019-07-16 | 阿里巴巴集团控股有限公司 | 跨链存证方法及访问方法、装置、电子设备 |
US20200244440A1 (en) * | 2019-07-18 | 2020-07-30 | Alibaba Group Holding Limited | Blockchain-based data evidence storage method and apparatus |
CN111966731A (zh) * | 2020-10-23 | 2020-11-20 | 支付宝(杭州)信息技术有限公司 | 一种在区块链系统中查询数据的方法和装置 |
CN112001796A (zh) * | 2020-10-26 | 2020-11-27 | 支付宝(杭州)信息技术有限公司 | 在区块链系统中进行业务处理的方法和装置 |
CN112435030A (zh) * | 2021-01-27 | 2021-03-02 | 支付宝(杭州)信息技术有限公司 | 一种基于区块链的数据处理方法、装置及电子设备 |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115243080A (zh) * | 2022-09-21 | 2022-10-25 | 腾讯科技(深圳)有限公司 | 一种数据处理方法、装置、设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112435030B (zh) | 2021-05-07 |
CN113409045A (zh) | 2021-09-17 |
CN112435030A (zh) | 2021-03-02 |
CN113409045B (zh) | 2023-03-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022161181A1 (fr) | Procédé et appareil de traitement de données fondé sur une chaîne de blocs et dispositif électronique | |
US11620642B2 (en) | Digital contracts in blockchain environments | |
TWI724391B (zh) | 基於區塊鏈的節點管理方法和裝置 | |
TWI724389B (zh) | 徵信評估方法及裝置、電子設備 | |
TWI727292B (zh) | 區塊鏈交易方法及裝置、電子設備 | |
CN110189131B (zh) | 采用环签名的机密区块链交易的实现方法及装置 | |
US10623190B2 (en) | Mediated anonymity for permissioned, distributed-ledger networks | |
WO2020220761A1 (fr) | Procédé et dispositif de signature d'accord de déduction de paiements utilisant une chaîne de blocs, et appareil électronique | |
CN113111387A (zh) | 基于区块链的金融资产多方共享交易元数据信息的方法、装置及系统 | |
US20210359864A1 (en) | Confidential blockchain transactions | |
JP2023532959A (ja) | 許可制ブロックチェーンのためのプライバシー保護アーキテクチャ | |
WO2020108050A1 (fr) | Procédé et système de conservation de preuves de données basés sur de multiples réseaux de chaîne de blocs | |
TW202016819A (zh) | 區塊鏈交易方法及裝置、電子設備 | |
WO2020108054A1 (fr) | Procédé et système de stockage et d'attestation de données reposant sur de multiples réseaux de chaînes de blocs | |
WO2020108052A1 (fr) | Procédé de lecture de données basé sur une pluralité de réseaux de chaîne de blocs et système | |
CN112801649B (zh) | 基于区块链的流量统计系统、方法及装置 | |
CN114331428A (zh) | 一种非同质化通证分配方法及装置 | |
CN111402040A (zh) | 一种资产管理方法及系统 | |
CN113194143A (zh) | 一种区块链账户的创建方法、装置及电子设备 | |
WO2020108056A1 (fr) | Procédé et appareil d'exécution de service | |
CN116961876A (zh) | 用于区块链的虚拟资源管理方法、装置、设备及存储介质 | |
TWI763392B (zh) | 機構識別編號的註冊方法及系統 | |
WO2020108055A1 (fr) | Procédé et système de lecture de données à commande réseau de chaînes de blocs multiples | |
US12052369B2 (en) | Method for securing private structured databases within a public blockchain | |
CN115640321A (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: 22745058 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 22745058 Country of ref document: EP Kind code of ref document: A1 |