Blockchain-based data processing method, device, equipment, system and medium

Through the virtualized BAAS platform connect to various types of alliance chains, the problem that users need to replace the BAAS platform and rules when replacing the alliance chain. And improve the user experience.

CN114416871BActive Publication Date: 2025-01-28CHINA UNITED NETWORK COMM GRP CO LTD +2
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210023766.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-10
Publication Date
2025-01-28
Estimated Expiration
2042-01-10

AI Technical Summary

Technical Problem

When users change and use different types of alliance chains, they need to replace the corresponding BaaS platform and usage rules, resulting in a cumbersome use process.

Method used

Provide a virtualized BAAS platform that can connect to the BAAS platform of the alliance chain of various types. Users will send the chain requirements information to the virtualization BAAS platform through the terminal device. Management and service.

Benefits of technology

Users can use different types of alliance chains without changing the BAAS platform, and all alliance chains adopt the same rules to simplify the user's operating process and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114416871B_ABST
    Figure CN114416871B_ABST
Patent Text Reader

Abstract

The data processing method, device, equipment, system and medium based on blockchain provided by the present application include a virtual BaaS platform receiving a request message including the user's on-chain demand information from a user's terminal device, the virtual BaaS platform obtaining a first blockchain matching the on-chain demand information, and sending a feedback message including a first identifier of the first blockchain to the terminal device. The virtual BaaS platform receives an on-chain request including a first identifier and information to be on-chain from a terminal device, and sends an on-chain request to the first BaaS platform of the first blockchain, so that the information to be on-chain is written into the first blockchain. The present application makes the process of users using the alliance chain simpler and more convenient, and improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of blockchain, and in particular to a blockchain-based data processing method, device, equipment, system and medium. Background Art

[0002] Blockchain is an intelligent peer-to-peer network distributed on computer nodes that uses a distributed database to identify, disseminate and record information. It has the characteristics of being unforgeable, traceable throughout the process, traceable, open and transparent, and collectively maintained.

[0003] Blockchains are mainly divided into public chains, alliance chains, and private chains. Among them, there are many heterogeneous types of alliance chains in the prior art, such as Spark Chain, Changan Chain, Super Chain, and Unicom Chain. For each alliance chain, a corresponding Blockchain as a Service (BaaS) platform is set up, and users can use the corresponding BaaS platform to store and query smart contracts on the alliance chain.

[0004] That is to say, when users switch to another type of alliance chain, they need to change the corresponding BaaS platform. And because the usage rules of each type of alliance chain are different, when users switch to another type of alliance chain, they need to change the usage rules of the alliance chain, which makes the user's use of the alliance chain more cumbersome. Summary of the invention

[0005] The present application provides a blockchain-based data processing method, device, equipment, system and medium, which are used to solve the problem that the user's use of the alliance chain is relatively cumbersome.

[0006] In a first aspect, the present application provides a data processing method based on blockchain, which is applied to a virtualized blockchain as a service BaaS platform, wherein the virtualized BaaS platform is communicatively connected with multiple BaaS platforms of multiple types of alliance chains; the method comprises:

[0007] Receiving a request message from a user's terminal device, wherein the request message includes the user's on-chain demand information;

[0008] Obtaining a first blockchain that matches the on-chain requirement information;

[0009] Sending a feedback message to the terminal device, where the feedback message includes a first identifier of the first blockchain;

[0010] Receiving an uplink request from a terminal device, wherein the uplink request includes the first identifier and information to be uplinked;

[0011] The on-chain request is sent to the first BaaS platform of the first blockchain, so that the information to be on-chain is written into the first blockchain.

[0012] In a specific implementation, obtaining a first blockchain matching the on-chain requirement information includes:

[0013] According to the on-chain demand information and the matching model, a first blockchain matching the on-chain demand information is obtained.

[0014] In a specific implementation, the first blockchain is a blockchain among the multiple types of consortium chains.

[0015] In a specific implementation, obtaining a first blockchain matching the on-chain requirement information includes:

[0016] According to the on-chain requirement information and the matching model, determining that there is no blockchain matching the on-chain requirement information among the multiple types of alliance chains;

[0017] Building the first blockchain matching the on-chain demand information according to the on-chain demand information;

[0018] Establish a communication connection between the virtualized BaaS platform and the first BaaS platform.

[0019] In a specific implementation, the request message further includes indication information for indicating a second blockchain; then after obtaining the first blockchain matching the on-chain requirement information and before sending a feedback message to the terminal device, it also includes:

[0020] Determining, according to the indication information, that the second blockchain is the same as the first blockchain;

[0021] Correspondingly, the feedback message also includes first reminder information, and the first reminder information is used to remind the user that the second blockchain is the same as the first blockchain.

[0022] In a specific implementation, the request message further includes indication information for indicating a second blockchain; then after obtaining the first blockchain matching the on-chain requirement information and before sending a feedback message to the terminal device, it also includes:

[0023] Determining, according to the indication information, that the second blockchain is different from the first blockchain;

[0024] Correspondingly, the feedback message includes second reminder information, and the second reminder information is used to suggest to the user to use the first blockchain to perform on-chain operations.

[0025] In a specific implementation, the second reminder information is also used to remind the user that the second blockchain is different from the first blockchain.

[0026] In a specific implementation, the method further includes: receiving a query request from a terminal device, the query request being used to request querying the uplink data of the uplink operation, the query request including the first identifier; the information to be uplinked includes the uplink data;

[0027] Sending the query request to the first BaaS platform, so that the first BaaS platform obtains the on-chain data according to the query request;

[0028] Receiving the on-chain data from the first BaaS platform;

[0029] Send the uplink data to the terminal device.

[0030] In a second aspect, the present application provides a blockchain-based data processing method, which is applied to a terminal device; the method comprises:

[0031] Receive the on-chain demand information input by the user;

[0032] Sending a request message including the on-chain demand information to the virtualized BaaS platform; the virtualized BaaS platform is connected to multiple BaaS platforms of multiple types of alliance chains in communication; the request message is used by the virtualized BaaS platform to obtain a first blockchain matching the on-chain demand information;

[0033] receiving a feedback message from the virtualized BaaS platform, wherein the feedback message includes a first identifier of the first blockchain;

[0034] Send an on-chain request to the virtualized BaaS platform, where the on-chain request includes the first identifier and information to be on-chain.

[0035] In a specific embodiment, the method further comprises:

[0036] Receive query information input by the user;

[0037] Sending a query request including the query information to the virtualized BaaS platform, the query request being used to request querying the on-chain data of the on-chain operation, the query request including the first identifier; the information to be on-chain includes the on-chain data;

[0038] Receive the on-chain data from the virtualized BaaS platform.

[0039] In a third aspect, the present application provides a data processing device based on blockchain, comprising:

[0040] A receiving module, configured to receive a request message from a user's terminal device, wherein the request message includes the user's uplink demand information;

[0041] A processing module, used to obtain a first blockchain matching the on-chain requirement information;

[0042] A sending module, configured to send a feedback message to the terminal device, wherein the feedback message includes a first identifier of the first blockchain;

[0043] The receiving module is further used to receive an uplink request from a terminal device, wherein the uplink request includes the first identifier and information to be uplinked;

[0044] The sending module is further used to send the on-chain request to the first BaaS platform of the first blockchain, so that the information to be on-chain is written into the first blockchain.

[0045] In a fourth aspect, the present application provides a data processing device based on blockchain, comprising:

[0046] A receiving module, used to receive the on-chain demand information input by the user;

[0047] A sending module, configured to send a request message including the on-chain demand information to the virtualized BaaS platform; the virtualized BaaS platform is connected to multiple BaaS platforms of multiple types of alliance chains in communication; the request message is used by the virtualized BaaS platform to obtain a first blockchain matching the on-chain demand information;

[0048] The receiving module is further used to receive a feedback message from the virtualized BaaS platform, where the feedback message includes a first identifier of the first blockchain;

[0049] The sending module is further used to send an on-chain request to the virtualized BaaS platform, where the on-chain request includes the first identifier and information to be on-chain.

[0050] In a fifth aspect, the present application provides an electronic device, including:

[0051] Processor, memory, communication interface;

[0052] The memory is used to store executable instructions of the processor;

[0053] In which, the processor is configured to execute the blockchain-based data processing method described in any one of the first aspect or the second aspect by executing the executable instructions.

[0054] In a sixth aspect, the present application provides a blockchain system, including a virtualized BaaS platform and multiple BaaS platforms of multiple types of alliance chains, wherein the virtualized BaaS platform is communicatively connected with the multiple BaaS platforms of the multiple types of alliance chains;

[0055] The virtualized BaaS platform is used to execute the blockchain-based data processing method described in any one of the first aspects.

[0056] In a seventh aspect, the present application provides a readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the blockchain-based data processing method described in any one of the first aspect or the second aspect is implemented.

[0057] The present application provides a data processing method, device, equipment, system and medium based on blockchain. The data processing method based on blockchain provided by the present application is executed by the following steps: after the terminal device receives the on-chain demand information input by the user, it sends a request message including the on-chain demand information of the user to the virtualized BaaS platform. The virtualized BaaS platform obtains the first blockchain matching the on-chain demand information according to the request message, and the virtualized BaaS platform sends a feedback message including the first identifier of the first blockchain to the terminal device. The terminal device sends a chain request including the first identifier and the information to be on-chain to the virtualized BaaS platform, and the virtualized BaaS platform sends a chain request to the first BaaS platform of the first blockchain so that the information to be on-chain is written to the first blockchain. Compared with the prior art, in the present application, when the user has any on-chain demand, the terminal device can directly send a request message including the on-chain demand information to the virtualized BaaS platform through the terminal device, so that the virtualized BaaS platform obtains the blockchain matching the on-chain demand information; the terminal device sends a chain request including the identifier of the blockchain to the virtualized BaaS platform, so that the BaaS platform of the blockchain completes the chain operation. That is to say, no matter what type of alliance chain a user uses, it will be connected to the virtualized BaaS platform, and there is no need to change the BaaS platform. And because no matter what type of alliance chain a user uses, it will be connected to the virtualized BaaS platform, the same rules will be used when a user uses any type of alliance chain, making it simple and convenient for users to use the alliance chain and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0059] Figure 1 A schematic diagram of an application scenario of the blockchain-based data processing method provided in this application;

[0060] Figure 2 An interactive diagram of the first embodiment of the data processing method based on blockchain provided by this application;

[0061] Figure 3 A flowchart of the second embodiment of the data processing method based on blockchain provided by this application;

[0062] Figure 4 A flowchart of the third embodiment of the data processing method based on blockchain provided in this application;

[0063] Figure 5 This is an interactive diagram of the fourth embodiment of the data processing method based on blockchain provided by this application;

[0064] Figure 6 A schematic diagram of the structure of the first embodiment of the data processing device based on blockchain provided by the present application;

[0065] Figure 7 A schematic diagram of the structure of the second embodiment of the data processing device based on blockchain provided by the present application;

[0066] Figure 8 A schematic diagram of the structure of an electronic device provided in this application. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments made by ordinary technicians in this field under the enlightenment of the embodiments belong to the scope of protection of the present application.

[0068] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0069] First, the terms involved in this application are explained:

[0070] Blockchain: Blockchain is a distributed ledger that is distributed on computer nodes and records all transactions that occur on the network. On-chain means recording transfer records, orders, data distribution tables and other information that needs to be on-chain on blocks. Blocks are storage units that record all the communication information of each block node within a certain period of time. Each block is linked through random hashing (also known as hash algorithm). The next block contains the hash value of the previous block. As the information exchange expands, one block is connected to another, and the result is called blockchain.

[0071] Blockchain as a Service (BaaS) platform: refers to an open blockchain platform that embeds the blockchain framework into a cloud computing platform, takes advantage of the deployment and management of cloud service infrastructure, provides developers with a convenient and high-performance blockchain ecological environment and ecological supporting services, and supports developers' business expansion and operation support. The BaaS platform combines and encapsulates blockchain technology and modularizes it into commonly used functions such as host management, blockchain network management, channel management, smart contracts, blockchain browser management, blockchain monitoring, certificate management, and user management. When users need to store and query on the blockchain, they only need to connect these functions through interfaces such as the Application Programming Interface (API) and the Software Development Kit (SDK), and they can directly use the blockchain BaaS platform to store and query smart contracts on the blockchain.

[0072] Virtualized BaaS platform: Based on software definition, the Baas platforms of various types of alliance chains are virtualized and managed, and finally a platform with unified external service capabilities is provided.

[0073] Terminal device: refers to a device that inputs programs and data into a computer or receives computer output processing results via communication facilities. Terminal devices are usually set up in a convenient place where communication facilities can be used to connect to a remote computer for work. It is mainly composed of a communication interface control device and a dedicated or selected input and output device. Terminal devices include but are not limited to devices that communicate via a data connection / network and / or via a wireless interface, such as communication devices for cellular networks and wireless local area networks (WLAN). Terminal devices are devices with sending, receiving, and input functions, and have a display. It can be a desktop computer or other intelligent terminals such as a laptop computer. The embodiments of the present application do not limit the specific form of the terminal device, which can be determined according to actual needs.

[0074] Blockchains are mainly divided into public chains, alliance chains, and private chains. Among them, there are many heterogeneous types of alliance chains in the prior art. For each alliance chain, a corresponding BaaS platform is set up, and users can use the corresponding BaaS platform to store and query smart contracts on the alliance chain. That is, users can only store and query smart contracts on the alliance chain through the BaaS platform corresponding to a certain type of alliance chain according to the usage rules of the alliance chain. When the user needs to use another type of alliance chain, the corresponding BaaS platform needs to be replaced, and the usage rules of each type of alliance chain are different. Therefore, when the user changes to another type of alliance chain, the usage rules of the alliance chain need to be replaced, which makes the user's use of the alliance chain more cumbersome.

[0075] In view of the problems existing in the prior art, the inventors found in the process of studying the on-chain storage and query of smart contracts on the blockchain through the blockchain BaaS platform that if there is a virtualized BaaS platform that can be connected with various types of alliance chains to realize the call of various types of alliance chains, it can solve the technical problem that the user's use of the alliance chain is relatively cumbersome. That is, through the virtualized BaaS platform, centralized control and unified services for various types of alliance chains can be achieved. No matter which blockchain meets the user's usage needs, it can be connected to the corresponding blockchain through the virtualized BaaS platform using the same rules, making the user's use of the alliance chain process simpler and more convenient. Based on the above invention concept, the blockchain-based data processing solution in this application is designed.

[0076] The blockchain-based data processing solution of this application is described in detail below.

[0077] Figure 1 The following is a schematic diagram of an application scenario of the blockchain-based data processing method provided in this application, such as Figure 1As shown, the application scenario may include: terminal device 101, virtualized BaaS platform 102, and BaaS platforms corresponding to various types of alliance chains ( Figure 1 Three BaaS platforms are shown, namely BaaS platform 103, BaaS platform 104, BaaS platform 105, and at least one blockchain ( Figure 1 Four blockchains are shown, namely blockchain 106, blockchain 107, blockchain 108, and blockchain 109. Among them, BaaS platform 103, BaaS platform 104, and BaaS platform 105 are BaaS platforms corresponding to three different types of blockchains; BaaS platform 103 can be any one of Spark Chain BaaS platform, Changan Chain BaaS platform, Super Chain BaaS platform, and Unicom Chain BaaS platform, BaaS platform 104 can be any one of Spark Chain BaaS platform, Changan Chain BaaS platform, Super Chain BaaS platform, and Unicom Chain BaaS platform, and BaaS platform 105 can be any one of Spark Chain BaaS platform, Changan Chain BaaS platform, Super Chain BaaS platform, and Unicom Chain BaaS platform. Exemplarily, BaaS platform 103 can be Spark Chain BaaS platform, BaaS platform 104 can be Unicom Chain BaaS platform, and BaaS platform 105 can be Changan Chain BaaS platform. Among them, blockchain 106 and blockchain 107 may be blockchains corresponding to BaaS platform 103 , blockchain 108 may be blockchain corresponding to BaaS platform 104 , and blockchain 109 may be blockchain corresponding to BaaS platform 105 .

[0078] For example, in Figure 1 In the application scenario shown, when the user wants to store evidence on the blockchain, a request message containing the on-chain requirement information is sent to the virtualized BaaS platform 102 through the terminal device 101. The virtualized BaaS platform 102 obtains the blockchain 106 that matches the on-chain requirement information according to the request information sent by the terminal device 101, and then the virtualized BaaS platform 102 sends a feedback message including the first identifier of the first blockchain to the terminal device 101. After receiving the feedback message sent by the virtualized BaaS platform 102, the terminal device 101 generates an on-chain request according to the information to be on-chain input by the user and the first identifier, and sends the on-chain request to the virtualized BaaS platform 102.

[0079] The virtualized BaaS platform 102 receives the on-chain request sent by the terminal device 101, and determines the BaaS platform 103 corresponding to the blockchain 106 based on the first identifier. The virtualized BaaS platform 103 forwards the on-chain request to the BaaS platform 103.

[0080] The BaaS platform 103 receives the on-chain request forwarded by the virtualized BaaS platform 102 and performs an on-chain operation, that is, writes the information to be on-chain into the blockchain 106 .

[0081] Based on the above process, when users have any on-chain needs, they can directly send request information including on-chain demand information to the virtualized BaaS platform through the terminal device. After the virtualized BaaS platform obtains the target blockchain that matches the on-chain demand information, the terminal device sends an on-chain request including the target blockchain to the virtualized BaaS platform to complete the on-chain operation. In other words, when users use any type of alliance chain, they are connected to the virtualized BaaS platform without changing the BaaS platform; and because users use any type of alliance chain to connect to the virtualized BaaS platform, users use any type of alliance chain. The same rules are used, making the process of users using alliance chains simpler and more convenient, and improving the user experience.

[0082] It should be noted that Figure 1 This is only a schematic diagram of an application scenario provided by the embodiment of the present application. Figure 1 The actual form of the various devices included in the Figure 1 The interaction mode between devices is limited, and in the specific application of the solution, it can be set according to actual needs.

[0083] The technical solution of the present application is described in detail below through specific embodiments. It should be noted that the following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.

[0084] Figure 2 This is an interactive diagram of the first embodiment of the data processing method based on blockchain provided by this application. Figure 2 , the data processing method based on blockchain specifically includes the following steps:

[0085] Step S201: The terminal device receives the uplink demand information input by the user.

[0086] When a user needs to store evidence on the blockchain, the user enters the on-chain requirement information on the terminal device, and the terminal device generates a request message based on the on-chain requirement information entered by the user.

[0087] In a specific implementation, the terminal device displays a visualization interface, and multiple selectable parameter information is displayed in the visualization interface, and the multiple selectable parameter information belongs to the parameter information in the parameter information set. The parameter information in the parameter information set can be divided into different categories. For example, the number of block transactions and the required capacity of the block can be a type of parameter information, and the number of consensus nodes and consensus strategy of the blockchain can be a type of parameter information. The user determines the required parameters according to the chain requirements, and the terminal device can obtain the chain requirement information according to the parameter information selected by the user. Among them, the multiple selectable parameter information may include at least two of the following:

[0088] Cryptographic algorithm: The cryptographic algorithm of the blockchain network, which can be the standard version or the national secret version;

[0089] Consensus strategy: It can be RAFT strategy or solo strategy; RAFT stands for Replicated And Fault Tolerant.

[0090] The number of consensus nodes of the blockchain: the default value is 3, and it can also be 5. The embodiment of the present application does not specifically limit the number of consensus nodes, and it can be selected according to actual conditions;

[0091] The blockchain ledger storage method can be CouchDB or LevelDB. CouchDB is short for Cluster of unreliable commodity hardware Data Base, and LevelDB is short for Level Data Base.

[0092] The number of nodes in the blockchain: the number of nodes (peers) corresponding to the business organization can be 3 or 5. The embodiment of the present application does not specifically limit the number of nodes and can be selected according to actual conditions.

[0093] Supported versions: Distributed ledger platform versions supported by blockchain;

[0094] Deployment cluster: This can be one of the existing clusters or a new cluster.

[0095] Whether the secure transmission protocol (Transport Layer Security, TLS for short) is enabled during the chain upload process;

[0096] Whether the digital certificate authentication system (Certification Authority, CA for short) is enabled during the chaining process;

[0097] Block generation time: can be 2s or 4s. The embodiment of the present application does not specifically limit the block generation time, and can be selected according to actual conditions;

[0098] Number of block transactions: The maximum number of transactions that can be stored in a block can be 100 or 200. The embodiment of the present application does not specifically limit the number of block transactions, and the number can be selected according to actual conditions;

[0099] Block capacity required: The maximum capacity of a block that can store transactions. The number of transactions in a block is related to the required capacity of the block. For example, a transaction is about 250 bytes, and 1M can accommodate 4,000 transactions. The required capacity of a block can be 99MB or 50MB. The embodiment of this application does not specifically limit the required capacity of a block, and it can be selected according to actual conditions.

[0100] Optionally, the visualization interface may also include a "Finish" icon. When the user has selected the required parameters, the user clicks the "Finish" icon. The terminal device obtains the uplink requirement information according to the parameter information selected by the user, and generates a request message based on the uplink requirement information.

[0101] In another specific implementation, the terminal device is provided with a physical button. After the user has selected the required parameters, the physical button is operated. The terminal device obtains the uplink demand information according to the parameter information selected by the user, and generates a request message based on the uplink demand information. The operation of the physical button can be long pressing the physical button for a preset time, clicking the physical button, or clicking the physical button for a preset number of times.

[0102] Step S202: The terminal device sends a request message to the virtualized BaaS platform, wherein the request message includes the user's on-chain demand information; the virtualized BaaS platform communicates and connects with multiple BaaS platforms of various types of alliance chains.

[0103] After the terminal device generates a request message according to the on-chain demand information input by the user, the terminal device sends a request message including the user's on-chain demand information to the virtualized BaaS platform. Optionally, the terminal device can send the request message to the virtualized BaaS platform through interfaces such as API and SDK. Among them, the request message contains the user's on-chain demand information.

[0104] The virtualized BaaS platform can be connected to the BaaS platforms corresponding to the various types of alliance chains through interfaces, that is, the virtualized BaaS platform can be connected to the multiple BaaS platforms through interfaces. Each type of alliance chain can include at least one blockchain.

[0105] Optionally, multiple types of alliance chains include but are not limited to at least two of the following alliance chains: Spark Chain, Unicom Chain, Changan Chain, and Super Chain. For example, Figure 1 Blockchain 106, blockchain 108, and blockchain 109 may be three different types of blockchains, namely, Spark Chain, Unicom Chain, Changan Chain, and Super Chain. Blockchain 107 may be the same type of blockchain as blockchain 106.

[0106] Step S203: The virtualized BaaS platform obtains the first blockchain that matches the on-chain demand information.

[0107] After the terminal device sends a request message including the on-chain requirement information to the virtualized BaaS platform, the virtualized BaaS platform receives the request message including the on-chain requirement information sent by the terminal device. The virtualized BaaS platform obtains the first blockchain matching the on-chain requirement information according to the request message including the on-chain requirement information.

[0108] In one implementation, the first blockchain is one of the multiple types of alliance chains corresponding to the multiple BaaS platforms mentioned above.

[0109] In another implementation, there is no blockchain matching the on-chain demand information in the multiple types of alliance chains corresponding to the above-mentioned multiple BaaS platforms. In this case, the first blockchain is a blockchain matching the on-chain demand information built according to the on-chain demand information.

[0110] Step S204: The virtualized BaaS platform sends a feedback message to the terminal device, where the feedback message includes the first identifier of the first blockchain.

[0111] After the virtualized BaaS platform obtains the first blockchain that matches the on-chain demand information, it can send a feedback message to the terminal device through the interface, and the feedback message includes the first identifier of the first blockchain.

[0112] Optionally, the first identifier is a unique ID of the first blockchain.

[0113] It should be noted that the embodiment of the present application does not specifically limit the first identifier, and it can be selected according to actual conditions.

[0114] Optionally, in step S202, the request message sent by the terminal device to the virtualized BaaS platform may also include indication information for indicating a second blockchain, wherein the second blockchain may be a blockchain specified by the user that the user wishes to use. Then, after the virtualized BaaS platform obtains the first blockchain that matches the on-chain demand information and before sending a feedback message to the terminal device, the virtualized BaaS platform determines whether the second blockchain is the same as the first blockchain based on the indication information.

[0115] When the second blockchain is the same as the first blockchain, accordingly, the feedback message also includes first reminder information, and the first reminder information is used to remind the user that the second blockchain is the same as the first blockchain.

[0116] Optionally, when the second blockchain is different from the first blockchain, the feedback message also includes second reminder information, and the second reminder information is used to suggest to the user to use the first blockchain for on-chain operation. Optionally, the second reminder information is also used to remind the user that the second blockchain is different from the first blockchain.

[0117] Among them, when the user specifies a blockchain, the request message also includes indication information for indicating the second blockchain. The virtualized BaaS platform determines whether the second blockchain indicated by the user is the same as the first blockchain obtained by the virtualized BaaS platform and matching the on-chain demand information according to the indication information contained in the request message. This embodiment allows the user to know whether the blockchain he wants to use is consistent with the first blockchain obtained by the virtualized BaaS platform and matching the on-chain demand information, while fully considering the user's needs and ensuring the accuracy of the blockchain selected by the user.

[0118] Step S205: the terminal device sends a chain request to the virtualized BaaS platform, where the chain request includes a first identifier and information to be chained.

[0119] When a user needs to store evidence on the blockchain, the user sends a request to the virtualized BaaS platform through a terminal device. The request includes a first identifier and information to be uploaded. Optionally, the information to be uploaded includes the uploaded data and a second identifier corresponding to the uploaded data.

[0120] For example, when video information needs to be stored on the chain, the data on the chain in the information to be stored on the chain may include video data, video shooting time, name of the device that shot the video, etc. When a contract needs to be stored on the chain, the data on the chain in the information to be stored on the chain may include the hash value of the contract.

[0121] Step S206: The virtualized BaaS platform sends a chain request to the first BaaS platform of the first blockchain, so that the information to be chained is written into the first blockchain.

[0122] The virtualized BaaS platform receives the on-chain request sent by the terminal device, and the virtualized BaaS platform determines the first blockchain that matches the on-chain demand information according to the first identifier in the on-chain request, and the virtualized BaaS platform stores the correspondence between the BaaS platform and the blockchain. The virtualized BaaS platform determines the BaaS platform corresponding to the first blockchain according to the correspondence, so that the virtualized BaaS platform determines the first BaaS platform of the first blockchain. The virtualized BaaS platform sends the on-chain request from the terminal device to the first BaaS platform of the first blockchain, so that the information to be on-chain is written into the first blockchain.

[0123] The data processing method based on blockchain provided in this embodiment is executed by the following steps: after the terminal device receives the on-chain demand information input by the user, it sends a request message including the on-chain demand information of the user to the virtualized BaaS platform. The virtualized BaaS platform obtains the first blockchain matching the on-chain demand information according to the request message, and the virtualized BaaS platform sends a feedback message including the first identifier of the first blockchain to the terminal device. The terminal device sends a request for on-chain including the first identifier and the information to be on-chain to the virtualized BaaS platform, and the virtualized BaaS platform sends a request for on-chain to the first BaaS platform of the first blockchain so that the information to be on-chain is written into the first blockchain. Compared with the prior art, in this embodiment, when the user has any on-chain demand, the terminal device can directly send a request message including the on-chain demand information to the virtualized BaaS platform through the terminal device, so that the virtualized BaaS platform can obtain the blockchain matching the on-chain demand information; the terminal device sends a request for on-chain including the identifier of the blockchain to the virtualized BaaS platform, so that the BaaS platform of the blockchain completes the on-chain operation. That is to say, no matter what type of alliance chain a user uses, it will be connected to the virtualized BaaS platform, and there is no need to change the BaaS platform. And because no matter what type of alliance chain a user uses, it will be connected to the virtualized BaaS platform, the same rules will be used when a user uses any type of alliance chain, making it simple and convenient for users to use the alliance chain and improving the user experience.

[0124] The following uses Figure 3 The illustrated embodiment provides a detailed description of an implementation method of step S203 in implementation one, "the virtualized BaaS platform obtains a first blockchain that matches the on-chain demand information."

[0125] Figure 3 A flowchart of the second embodiment of the data processing method based on blockchain provided by this application;

[0126] Step S301: The virtualized BaaS platform obtains the on-chain demand information in the request message.

[0127] After receiving the request message, the virtualized BaaS platform obtains the chain demand information in the request message.

[0128] Step S302: The virtualized BaaS platform obtains the first blockchain that matches the on-chain demand information through a matching model based on the on-chain demand information.

[0129] When the first blockchain is one of the multiple types of alliance chains corresponding to the above-mentioned multiple BaaS platforms, the virtualized BaaS platform obtains the first blockchain that matches the on-chain demand information from multiple blockchains in the multiple types of alliance chains corresponding to the multiple BaaS platforms through a matching model based on the on-chain demand information.

[0130] When the first blockchain is a blockchain built according to the on-chain demand information and matching the on-chain demand information, the virtualized BaaS platform obtains the first blockchain matching the on-chain demand information through a matching model according to the on-chain demand information, including:

[0131] The virtualized BaaS platform determines that there is no blockchain matching the on-chain demand information among various types of alliance chains based on the on-chain demand information and matching model;

[0132] The virtualized BaaS platform builds the first blockchain that matches the on-chain demand information based on the on-chain demand information;

[0133] The virtualized BaaS platform establishes a communication connection between the virtualized BaaS platform and the first BaaS platform, and the first BaaS platform is the BaaS platform of the first blockchain.

[0134] If the first BaaS platform that establishes a communication connection with the virtualized BaaS platform does not have a first BaaS platform that is in communication connection with the first blockchain, the method further includes:

[0135] The virtualized BaaS platform builds the first BaaS platform that is connected to the first blockchain for communication.

[0136] Specifically, in one implementation, after the virtualized BaaS platform in this embodiment obtains the on-chain demand information, it converts the on-chain demand information into a multi-dimensional vector, which is the input vector of the matching model; the multi-dimensional vector is input into the matching model, and the first blockchain is determined according to the output of the matching model.

[0137] Optionally, the virtualized BaaS platform uses the TextRank algorithm to convert the on-chain demand information into a multi-dimensional vector, which may include:

[0138] a1. The virtualized BaaS platform performs word segmentation and word tagging on each item of information included in the on-chain demand information, removes useless words and retains key words, and extracts a keyword set of the on-chain demand information; wherein each type of parameter information selected by the user based on the terminal device corresponds to an item of information in the on-chain demand information.

[0139] For example, the number of block transactions and the required capacity of the block can be a type of parameter information, and the number of consensus nodes and consensus strategy of the blockchain can be a type of parameter information.

[0140] a2. The virtualized BaaS platform converts the keyword set into a matrix based on the keywords corresponding to each piece of information to obtain a keyword matrix.

[0141] Optionally, each column of the keyword matrix corresponds to a keyword of an item of information.

[0142] a3. Construct a multi-dimensional vector based on the keyword matrix.

[0143] Each dimensional vector of the multidimensional vector is a vector corresponding to an item of information in the uplink demand information.

[0144] Optionally, the matching model can be a pre-trained neural network model, such as a back propagation neural network model, a deep neural network model, or a bidirectional neural network model. At this time, the multidimensional vector is input into the matching model, and a specific implementation of determining the first blockchain according to the output of the matching model can be as follows:

[0145] Feeding multidimensional vectors into a neural network model Among them, the activation function w i is the weight value, θ is the threshold, x i Represents the input value, and y is the output result. The virtualized BaaS platform stores the matching relationship between y and the blockchain. The matching blockchain can be determined based on the output result y, or it can be determined that no blockchain is matched based on the output result y.

[0146] A training method for the matching model is described below.

[0147] In one implementation, obtaining a matching model includes:

[0148] b1. Obtain multiple training samples, each of which includes chain-up requirement information and labels.

[0149] The on-chain requirement information included in each training sample is different. The on-chain requirement information included in each training sample can be obtained by the user based on the parameter information set. The label of the training sample is used to indicate the blockchain that matches the on-chain requirement information included in the training sample. Optionally, the label can be a vector.

[0150] b2. Determine the initialization neural network model, and perform training based on the initialization neural network model and multiple training samples to obtain a matching model.

[0151] For each training sample, the above-mentioned method of obtaining a multidimensional vector according to a request message is used to obtain the multidimensional vector corresponding to the training sample, and the multidimensional vector is input into the matching model of the currently obtained intermediate state to obtain an actual output. According to the actual output, the label (that is, the expected output) and the loss function, the error between the expected output and the actual output is calculated. If the error is large, the gradient descent method is used to adjust the matching model of the currently obtained intermediate state to obtain a new matching model of the intermediate state until the error is lower than the preset threshold, and finally the matching model is obtained. Among them, the preset threshold is set by the user. The embodiment of the present application does not specifically limit the preset threshold, and it can be limited according to the actual situation.

[0152] Optional, matches the number of neurons in the model's hidden layer c is the number of neurons in the input layer, d is the number of neurons in the output layer, and a is a constant between [1,10].

[0153] The blockchain-based data processing method provided in this embodiment is a virtualized BaaS platform that determines the first blockchain based on the on-chain demand information and the matching model in the request message, and the efficiency and accuracy of determining the first blockchain are both high.

[0154] The following uses Figure 4 The illustrated embodiment provides a detailed description of another implementation method of step S203 in implementation one, "the virtualized BaaS platform obtains a first blockchain that matches the on-chain demand information."

[0155] Figure 4 A flowchart of the third embodiment of the data processing method based on blockchain provided in this application;

[0156] Step S401: The virtualized BaaS platform obtains the on-chain demand information in the request message.

[0157] After receiving the request message, the virtualized BaaS platform obtains the chain demand information in the request message.

[0158] Step S402: The virtualized BaaS platform obtains a first blockchain that matches the on-chain demand information based on the on-chain demand information and the corresponding relationship; the corresponding relationship includes multiple preset on-chain demand information and the blockchain corresponding to each preset on-chain demand information.

[0159] When the first blockchain is one of the multiple types of alliance chains corresponding to the above-mentioned multiple BaaS platforms, the virtualized BaaS platform obtains the first blockchain corresponding to the on-chain demand information according to the on-chain demand information and the corresponding relationship, including: the virtualized BaaS platform obtains the target blockchain corresponding to the on-chain demand information indicated in the corresponding relationship, determines that the target blockchain is one of the multiple types of alliance chains corresponding to the above-mentioned multiple BaaS platforms, and uses the target blockchain as the first blockchain.

[0160] When the first blockchain is a blockchain matching the on-chain demand information and built according to the on-chain demand information, the virtualized BaaS platform obtains the first blockchain matching the on-chain demand information according to the on-chain demand information and the corresponding relationship, including:

[0161] The virtualized BaaS platform determines that there is no blockchain matching the on-chain demand information among the various types of alliance chains based on the on-chain demand information and the corresponding relationship;

[0162] The virtualized BaaS platform builds the first blockchain that matches the on-chain demand information based on the on-chain demand information;

[0163] The virtualized BaaS platform establishes a communication connection between the virtualized BaaS platform and the first BaaS platform, and the first BaaS platform is the BaaS platform of the first blockchain.

[0164] The blockchain-based data processing method provided in this embodiment is a virtualized BaaS platform that obtains the first blockchain corresponding to the preset chain demand information according to the corresponding relationship between the chain demand information and the blockchain, thereby further improving the accuracy of determining the first blockchain.

[0165] Figure 5 This is an interactive diagram of the fourth embodiment of the data processing method based on blockchain provided by this application. Figure 5 After step S206 "the virtualized BaaS platform sends a chain request to the first BaaS platform of the first blockchain, so that the first BaaS platform performs a chain operation to write the information to be chained into the first blockchain", the blockchain-based data processing method further includes the following steps:

[0166] Step S501: The terminal device receives query information input by the user.

[0167] When a user needs to query the on-chain data of the on-chain operation, the user enters query information on the terminal device. The query information may include a first identifier of the first blockchain and a second identifier corresponding to the on-chain data.

[0168] Step S502: The terminal device sends a query request to the virtualized BaaS platform.

[0169] In the above steps, when the user needs to query the on-chain data of the on-chain operation, the user enters the query information on the terminal device, and the terminal device generates a query request according to the query information entered by the user. The query request includes the above query information, and the query request is used to request to query the on-chain data of the on-chain operation. The terminal device sends the generated query request to the virtualized BaaS platform.

[0170] Step S503: The virtualized BaaS platform determines the first BaaS platform of the first blockchain according to the query request.

[0171] After the virtualized BaaS platform receives the query request, the virtualized BaaS platform determines the first blockchain according to the first identifier of the first blockchain in the query request, and determines the first BaaS platform according to the corresponding relationship between the BaaS platform and the blockchain.

[0172] Step 504: The virtualized BaaS platform sends a query request to the first BaaS platform of the first blockchain.

[0173] After the virtualized BaaS platform determines the first BaaS platform of the first blockchain, the virtualized BaaS platform sends a query request to the first BaaS platform of the first blockchain.

[0174] Step S505: The first BaaS platform obtains the queried on-chain data according to the query request.

[0175] The first BaaS platform receives the query request to obtain the on-chain data corresponding to the second identifier stored on the first blockchain.

[0176] Step S506: The first BaaS platform sends the queried on-chain data to the virtualized BaaS platform.

[0177] After the first BaaS platform obtains the queried on-chain data according to the query request, it sends the queried on-chain data to the virtualized BaaS platform.

[0178] Step S507: The virtualized BaaS platform sends the queried on-chain data to the terminal device.

[0179] In the above steps, after the first BaaS platform sends the on-chain data of the on-chain operation to the virtualized BaaS platform, the virtualized BaaS platform receives it and then sends it to the terminal device through the interface, and the user can view the on-chain data on the terminal device.

[0180] The data processing method based on blockchain provided in this embodiment is that the terminal device receives the query information input by the user, and the terminal device sends a query request to the virtualized BaaS platform. The virtualized BaaS platform determines the first BaaS platform of the first blockchain according to the query request, and the virtualized BaaS platform sends a query request to the first BaaS platform of the first blockchain. The first BaaS platform obtains the queried on-chain data according to the query request, and the first BaaS platform sends the queried on-chain data to the virtualized BaaS platform. The virtualized BaaS platform sends the queried on-chain data to the terminal device. The method in this application allows users to use the same rules to directly query the on-chain results through the terminal device and the virtualized BaaS platform when obtaining data stored on the chain on any type of blockchain, making the process of users querying the data stored on the chain on the alliance chain simpler and more convenient, improving the query efficiency, and improving the user experience.

[0181] The following is an embodiment of the device of the present application, which can be used to execute the embodiment of the method of the present application. For details not disclosed in the embodiment of the device of the present application, please refer to the embodiment of the method of the present application.

[0182] Figure 6 This is a schematic diagram of the structure of the first embodiment of the data processing device based on blockchain provided by this application; Figure 6 As shown, the blockchain-based data processing device 60 includes:

[0183] The receiving module 61 is used to receive a request message from a user's terminal device, wherein the request message includes the user's uplink demand information;

[0184] Processing module 62, used to obtain a first blockchain matching the on-chain requirement information;

[0185] A sending module 63, configured to send a feedback message to a terminal device, where the feedback message includes a first identifier of the first blockchain;

[0186] The receiving module 61 is further configured to receive an uplink request from a terminal device, where the uplink request includes a first identifier and information to be uplinked;

[0187] The sending module 63 is also used to send a chain request to the first BaaS platform of the first blockchain, so that the information to be chained is written into the first blockchain.

[0188] Furthermore, the processing module 62 is specifically configured to:

[0189] According to the on-chain demand information and the matching model, a first blockchain matching the on-chain demand information is obtained.

[0190] Furthermore, the first blockchain is one blockchain among multiple types of consortium chains.

[0191] Furthermore, the processing module 62 is further configured to:

[0192] According to the on-chain demand information and matching model, it is determined that there is no blockchain matching the on-chain demand information in various types of alliance chains;

[0193] According to the on-chain demand information, build the first blockchain that matches the on-chain demand information;

[0194] A communication connection is established between the virtualized BaaS platform and the first BaaS platform.

[0195] Furthermore, the request message also includes indication information for indicating the second blockchain; then after obtaining the first blockchain matching the on-chain requirement information and before sending the feedback message to the terminal, the processing module 62 is further specifically used to:

[0196] According to the instruction information, determining that the second blockchain is the same as the first blockchain;

[0197] Correspondingly, the feedback message also includes first reminder information, and the first reminder information is used to remind the user that the second blockchain is the same as the first blockchain.

[0198] Furthermore, the request message also includes indication information for indicating the second blockchain; then after obtaining the first blockchain matching the on-chain requirement information and before sending the feedback message to the terminal device, the processing module 62 is further specifically used to:

[0199] According to the instruction information, determining that the second blockchain is different from the first blockchain;

[0200] Accordingly, the feedback message includes second reminder information, and the second reminder information is used to suggest to the user to use the first blockchain to perform the on-chain operation.

[0201] Furthermore, the second reminder information is also used to remind the user that the second blockchain is different from the first blockchain.

[0202] Furthermore, the receiving module 61 is further used to receive a query request from a terminal device, the query request is used to request to query the uplink data of the uplink operation, the query request includes a first identifier; the information to be uplinked includes the uplink data;

[0203] Furthermore, the sending module 63 is further configured to send a query request to the first BaaS platform, so that the first BaaS platform obtains the on-chain data according to the query request;

[0204] Furthermore, the receiving module 61 is further used to receive the uplink data from the first BaaS platform;

[0205] Furthermore, the sending module 63 is also used to send uplink data to the terminal device.

[0206] The blockchain-based data processing device provided in this embodiment is used to execute the technical solution of virtualizing the BaaS platform in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0207] Figure 7 This is a schematic diagram of the structure of the second embodiment of the data processing device based on blockchain provided by this application; Figure 7 As shown, the device 70 includes:

[0208] The receiving module 71 is used to receive the uplink demand information input by the user;

[0209] The sending module 72 is used to send a request message including the on-chain demand information to the virtualized BaaS platform; the virtualized BaaS platform is connected to multiple BaaS platforms of multiple types of alliance chains in communication; the request message is used by the virtualized BaaS platform to obtain a first blockchain matching the on-chain demand information;

[0210] The receiving module 71 is further configured to receive a feedback message from the virtualized BaaS platform, where the feedback message includes a first identifier of the first blockchain;

[0211] The sending module 72 is further used to send a link-up request to the virtualized BaaS platform, where the link-up request includes a first identifier and information to be linked.

[0212] Furthermore, the receiving module 71 is also used to receive query information input by the user;

[0213] Furthermore, the sending module 72 is further used to send a query request to the virtualized BaaS platform, the query request is used to request to query the chain data of the chain operation, the query request includes a first identifier; the information to be chained includes the chain data;

[0214] Furthermore, the receiving module 71 is also used to receive uplink data from the virtualized BaaS platform.

[0215] The blockchain-based data processing device provided in this embodiment is used to execute the technical solution of the terminal device in any of the aforementioned method embodiments. Its implementation principle and technical effects are similar and will not be repeated here.

[0216] Figure 8 This is a schematic diagram of the structure of an electronic device provided in this application. Figure 8 As shown, the electronic device 80 includes:

[0217] Processor 81, memory 82, and communication interface 83;

[0218] The memory 82 is used to store executable instructions of the processor 81;

[0219] Among them, the processor 81 is configured to execute the technical solution of the virtualized BaaS platform in any of the aforementioned method embodiments by executing executable instructions.

[0220] Optionally, the memory 82 can be independent or integrated with the processor 81.

[0221] Optionally, when the memory 82 is a device independent of the processor 81, the electronic device 80 may further include:

[0222] A bus is used to connect the above devices.

[0223] The electronic device is used to execute the technical solution of virtualizing the BaaS platform in any of the aforementioned method embodiments, and its implementation principle and technical effects are similar and will not be repeated here.

[0224] The embodiment of the present application also provides a blockchain system, including a virtualized BaaS platform and multiple BaaS platforms of multiple types of alliance chains, wherein the virtualized BaaS platform is communicatively connected with the multiple BaaS platforms of multiple types of alliance chains;

[0225] The virtualized BaaS platform is used to execute the technical solution of the virtualized BaaS platform in any of the aforementioned method embodiments, and its implementation principle and technical effects are similar and will not be repeated here.

[0226] An embodiment of the present application also provides a readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the technical solution provided by any of the aforementioned embodiments is implemented.

[0227] An embodiment of the present application also provides a computer program product, including a computer program, which is used to implement the technical solution provided by any of the aforementioned method embodiments when the computer program is executed by a processor.

[0228] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.

[0229] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A data processing method based on blockchain, characterized in that: Applied to a virtualized blockchain as a service BaaS platform, the virtualized BaaS platform is communicatively connected with multiple BaaS platforms of multiple types of alliance chains; the method comprises: Receiving a request message from a user's terminal device, wherein the request message includes the user's on-chain demand information; Obtaining a first blockchain that matches the on-chain requirement information; Sending a feedback message to the terminal device, where the feedback message includes a first identifier of the first blockchain; Receiving an uplink request from a terminal device, wherein the uplink request includes the first identifier and information to be uplinked; The on-chain request is sent to the first BaaS platform of the first blockchain, so that the information to be on-chain is written into the first blockchain.

2. The method according to claim 1, characterized in that The obtaining of a first blockchain matching the on-chain requirement information includes: According to the on-chain demand information and the matching model, a first blockchain matching the on-chain demand information is obtained.

3. The method according to claim 1 or 2, characterized in that: The first blockchain is one of the multiple types of consortium chains.

4. The method according to claim 2, characterized in that: The obtaining of a first blockchain matching the on-chain requirement information includes: According to the on-chain requirement information and the matching model, determining that there is no blockchain matching the on-chain requirement information among the multiple types of alliance chains; Building the first blockchain matching the on-chain demand information according to the on-chain demand information; Establish a communication connection between the virtualized BaaS platform and the first BaaS platform.

5. The method according to claim 1 or 2, characterized in that: The request message also includes indication information for indicating the second blockchain; then after obtaining the first blockchain matching the on-chain requirement information and before sending the feedback message to the terminal device, it also includes: Determining, according to the indication information, that the second blockchain is the same as the first blockchain; Correspondingly, the feedback message also includes first reminder information, and the first reminder information is used to remind the user that the second blockchain is the same as the first blockchain.

6. The method according to claim 1 or 2, characterized in that: The request message also includes indication information for indicating the second blockchain; then after obtaining the first blockchain matching the on-chain requirement information and before sending the feedback message to the terminal device, it also includes: Determining, according to the indication information, that the second blockchain is different from the first blockchain; Correspondingly, the feedback message includes second reminder information, and the second reminder information is used to suggest to the user to use the first blockchain to perform on-chain operations.

7. The method according to claim 6, characterized in that The second reminder information is also used to remind the user that the second blockchain is different from the first blockchain.

8. The method according to claim 1 or 2, characterized in that: Also includes: Receiving a query request from a terminal device, the query request is used to request querying the uplink data of the uplink operation, the query request includes the first identifier; the information to be uplinked includes the uplink data; Sending the query request to the first BaaS platform, so that the first BaaS platform obtains the on-chain data according to the query request; Receiving the on-chain data from the first BaaS platform; Send the uplink data to the terminal device.

9. A data processing method based on blockchain, characterized in that: Applied to terminal equipment; the method comprises: Receive the on-chain demand information input by the user; Sending a request message including the on-chain demand information to the virtualized BaaS platform; the virtualized BaaS platform is connected to multiple BaaS platforms of multiple types of alliance chains in communication; the request message is used by the virtualized BaaS platform to obtain a first blockchain matching the on-chain demand information; receiving a feedback message from the virtualized BaaS platform, wherein the feedback message includes a first identifier of the first blockchain; Send an on-chain request to the virtualized BaaS platform, where the on-chain request includes the first identifier and information to be on-chain.

10. The method according to claim 9, characterized in that The method further comprises: Receive query information input by the user; Sending a query request including the query information to the virtualized BaaS platform, the query request being used to request querying the on-chain data of the on-chain operation, the query request including the first identifier; the information to be on-chain includes the on-chain data; Receive the on-chain data from the virtualized BaaS platform.

11. A data processing device based on blockchain, characterized in that: The device is applied to a virtualized blockchain as a service BaaS platform, and the virtualized BaaS platform is communicatively connected with multiple BaaS platforms of various types of alliance chains, including: A receiving module, configured to receive a request message from a user's terminal device, wherein the request message includes the user's uplink demand information; A processing module, used to obtain a first blockchain matching the on-chain requirement information; A sending module, configured to send a feedback message to the terminal device, wherein the feedback message includes a first identifier of the first blockchain; The receiving module is further used to receive an uplink request from a terminal device, wherein the uplink request includes the first identifier and information to be uplinked; The sending module is further used to send the on-chain request to the first BaaS platform of the first blockchain, so that the information to be on-chain is written into the first blockchain.

12. A data processing device based on blockchain, characterized in that: include: A receiving module, used to receive the on-chain demand information input by the user; A sending module, used to send a request message including the on-chain demand information to a virtualized BaaS platform; the virtualized BaaS platform is connected to multiple BaaS platforms of multiple types of alliance chains in communication; the request message is used by the virtualized BaaS platform to obtain a first blockchain matching the on-chain demand information; The receiving module is further used to receive a feedback message from the virtualized BaaS platform, where the feedback message includes a first identifier of the first blockchain; The sending module is further used to send an on-chain request to the virtualized BaaS platform, where the on-chain request includes the first identifier and information to be on-chain.

13. An electronic device, characterized in that: include: Processor, memory, communication interface; The memory is used to store executable instructions of the processor; Wherein, the processor is configured to execute the blockchain-based data processing method described in any one of claims 1 to 8 or 9 to 10 by executing the executable instructions.

14. A blockchain system, characterized in that: A plurality of BaaS platforms including a virtualized BaaS platform and various types of alliance chains, wherein the virtualized BaaS platform is communicatively connected with the plurality of BaaS platforms of the various types of alliance chains; The virtualized BaaS platform is used to execute the blockchain-based data processing method described in any one of claims 1 to 8.

15. A readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the blockchain-based data processing method according to any one of claims 1 to 8 or 9 to 10 is implemented.

Citation Information

Patent Citations

  • Method and device for achieving cross-chain communication among multiple block chain networks

    CN109462505A

  • Alliance chain sharing system, method and device, electronic equipment and storage medium

    CN111797173A