CN114416871A - Data processing method, device, equipment, system and medium based on block chain - Google Patents

Data processing method, device, equipment, system and medium based on block chain Download PDF

Info

Publication number
CN114416871A
CN114416871A CN202210023766.6A CN202210023766A CN114416871A CN 114416871 A CN114416871 A CN 114416871A CN 202210023766 A CN202210023766 A CN 202210023766A CN 114416871 A CN114416871 A CN 114416871A
Authority
CN
China
Prior art keywords
uplink
block chain
information
baas platform
virtualized
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210023766.6A
Other languages
Chinese (zh)
Inventor
谢云龙
樊利安
江志坤
黄志�
宋君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Unicom Digital Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd, Unicom Digital Technology Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202210023766.6A priority Critical patent/CN114416871A/en
Publication of CN114416871A publication Critical patent/CN114416871A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2455Query execution

Abstract

The method comprises the steps that a virtual BaaS platform receives a request message which is from terminal equipment of a user and comprises uplink requirement information of the user, the virtual BaaS platform obtains a first block chain matched with the uplink requirement information, and a feedback message which comprises a first identifier of the first block chain is sent to the terminal equipment. The virtual BaaS platform receives a chain-up request including a first identifier and information to be chain-up from the terminal equipment, and sends the chain-up request to the first BaaS platform of the first block chain, so that the information to be chain-up is written into the first block chain. The application ensures that the process of using the alliance chain by the user is simpler and more convenient, and improves the use experience of the user.

Description

Data processing method, device, equipment, system and medium based on block chain
Technical Field
The present application relates to the field of blockchains, and in particular, to a method, an apparatus, a device, a system, and a medium for processing data based on blockchains.
Background
The block chain is an intelligent peer-to-peer network which is distributed on computer nodes and uses a distributed database to identify, spread and record information, and has the characteristics of being incapable of being forged, having trace in the whole process, being traceable, being public and transparent, being maintained collectively and the like.
The blockchains are mainly divided into public, federation, and private chains. In the prior art, various heterogeneous alliance chains exist, such as a starfire chain, a Changan chain, a super chain and a Union chain. For each alliance chain, a corresponding block chain as a Service (BaaS) platform is arranged, and a user can perform intelligent contract chain storage and inquiry on the alliance chain through the corresponding BaaS platform.
That is, when a user changes to use another type of federation chain, the corresponding BaaS platform needs to be changed. And because the usage rules of each type of alliance chain are different, when a user changes another type of alliance chain, the usage rules of the alliance chain need to be changed, and the usage process of the alliance chain by the user is complicated.
Disclosure of Invention
The application provides a data processing method, device, equipment, system and medium based on a block chain, which are used for solving the problem that the using process of a user to a alliance chain is complex.
In a first aspect, the present application provides a block chain-based data processing method, which is applied to a virtualized block chain as a service, BaaS, platform, where the virtualized BaaS platform is in communication connection with multiple BaaS platforms of multiple types of federation chains; the method comprises the following steps:
receiving a request message from a terminal equipment of a user, wherein the request message comprises uplink requirement information of the user;
acquiring a first block chain matched with the uplink demand information;
sending a feedback message to the terminal device, wherein the feedback message comprises a first identifier of the first block chain;
receiving an uplink request from a terminal device, wherein the uplink request comprises the first identifier and information to be uplink;
and sending the uplink request to a first BaaS platform of the first block chain so as to write the information to be uplink into the first block chain.
In one embodiment, the obtaining the first block chain matched with the uplink requirement information includes:
and acquiring a first block chain matched with the uplink demand information according to the uplink demand information and a matching model.
In a specific embodiment, the first blockchain is one blockchain of the plurality of types of federation chains.
In one embodiment, the obtaining the first block chain matched with the uplink requirement information includes:
determining that no block chain matched with the uplink demand information exists in the various alliance chains according to the uplink demand information and the matching model;
building the first block chain matched with the uplink demand information according to the uplink demand information;
and establishing communication connection between the virtualized BaaS platform and the first BaaS platform.
In a specific embodiment, the request message further includes indication information indicating the second blockchain; after acquiring the first block chain matched with the uplink requirement information and before sending a feedback message to the terminal equipment, the method further includes:
determining that a second block chain is the same as the first block chain according to the indication information;
correspondingly, the feedback message further includes first reminding information, and the first reminding information is used for reminding a user that the second blockchain is the same as the first blockchain.
In a specific embodiment, the request message further includes indication information indicating the second blockchain; after acquiring the first block chain matched with the uplink requirement information and before sending a feedback message to the terminal equipment, the method further includes:
determining that a second block chain is different from the first block chain according to the indication information;
correspondingly, the feedback message comprises second reminding information, and the second reminding information is used for suggesting the user to use the first block chain for uplink operation.
In a specific embodiment, the second reminding information is further configured to remind the user that the second blockchain is different from the first blockchain.
In one embodiment, the method further comprises: receiving an inquiry request from a terminal device, wherein the inquiry request is used for requesting to inquire uplink data of the uplink operation, and the inquiry request comprises the first identifier; the information to be uplink comprises the uplink data;
sending the query request to the first BaaS platform so that the first BaaS platform obtains the uplink data according to the query request;
receiving the uplink data from the first BaaS platform;
and sending the uplink data to the terminal equipment.
In a second aspect, the present application provides a data processing method based on a block chain, which is applied to a terminal device; the method comprises the following steps:
receiving uplink requirement information input by a user;
sending a request message including the uplink requirement information to the virtualized BaaS platform; the virtual BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains; the request message is used for the virtualized BaaS platform to acquire a first block chain matched with the uplink demand information;
receiving a feedback message from the virtualized BaaS platform, wherein the feedback message comprises a first identifier of the first block chain;
and sending a uplink request to the virtualized BaaS platform, wherein the uplink request comprises the first identifier and information to be uplink.
In one embodiment, the method further comprises:
receiving query information input by a user;
sending an inquiry request including the inquiry information to the virtualized BaaS platform, wherein the inquiry request is used for requesting to inquire the uplink data of the uplink operation, and the inquiry request includes the first identifier; the information to be uplink comprises the uplink data;
receiving the uplink data from the virtualized BaaS platform.
In a third aspect, the present application provides a data processing apparatus based on a block chain, including:
a receiving module, configured to receive a request message from a terminal device of a user, where the request message includes uplink requirement information of the user;
a processing module, configured to acquire a first block chain matched with the uplink requirement information;
a sending module, configured to send a feedback message to the terminal device, where the feedback message includes a first identifier of the first block chain;
the receiving module is further configured to receive an uplink request from a terminal device, where the uplink request includes the first identifier and information to be uplink transmitted;
the sending module is further configured to send the uplink request to a first BaaS platform of the first block chain, so that the information to be uplink is written into the first block chain.
In a fourth aspect, the present application provides a data processing apparatus based on a block chain, including:
a receiving module, configured to receive uplink requirement information input by a user;
a sending module, configured to send a request message including the uplink requirement information to the virtualized BaaS platform; the virtual BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains; the request message is used for the virtualized BaaS platform to acquire a first block chain matched with the uplink demand information;
the receiving module is further configured to receive a feedback message from the virtualized BaaS platform, where the feedback message includes a first identifier of the first block chain;
the sending module is further configured to send a uplink request to the virtualized BaaS platform, where the uplink request includes the first identifier and information to be uplink transmitted.
In a fifth aspect, the present application provides an electronic device, comprising:
a processor, a memory, a communication interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the blockchain-based data processing method of any one of the first aspect or the second aspect via execution of the executable instructions.
In a sixth aspect, the present application provides a block chain system, including a virtualized BaaS platform and multiple BaaS platforms of multiple types of federation chains, where the virtualized BaaS platform is in communication connection with the multiple BaaS platforms of the multiple types of federation chains;
the virtualized BaaS platform is configured to execute the block chain-based data processing method according to any one of the first aspect.
In a seventh aspect, the present application provides a readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method for processing data based on a blockchain according to any one of the first aspect or the second aspect.
The application provides a data processing method, device, equipment, system and medium based on a block chain. The block chain-based data processing method provided by the application is implemented through the following steps that after receiving uplink requirement information input by a user, terminal equipment sends a request message comprising the uplink requirement information of the user to a virtualized BaaS platform. The virtual BaaS platform acquires a first block chain matched with the uplink demand information according to the request message, and sends a feedback message including a first identifier of the first block chain to the terminal equipment. The terminal equipment sends a chaining request comprising a first identifier and information to be chained to the virtualized BaaS platform, and the virtualized BaaS platform sends the chaining request to the first BaaS platform of the first block chain, so that the information to be chained is written into the first block chain. Compared with the prior art, when the user has any uplink requirement, the request information including uplink requirement information can be directly sent to the virtualized BaaS platform through the terminal equipment, so that the virtualized BaaS platform can obtain the block chain matched with the uplink requirement information; and the terminal equipment sends a uplink request comprising the identifier of the block chain to the virtualized BaaS platform so as to enable the BaaS platform of the block chain to complete uplink operation. That is, the user uses any type of alliance chain and is in butt joint with the virtualized BaaS platform, and the BaaS platform does not need to be replaced; and because the user uses any type of alliance chain to be in butt joint with the virtualized BaaS platform, the user uses any type of alliance chain and adopts the same rule, so that the user can use the alliance chain simply and conveniently, and the use experience of the user is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a schematic view of an application scenario of a data processing method based on a block chain according to the present application;
fig. 2 is an interaction diagram of a first embodiment of a data processing method based on a blockchain according to the present application;
fig. 3 is a schematic flowchart of a second embodiment of a data processing method based on a block chain according to the present application;
fig. 4 is a schematic flowchart of a third embodiment of a data processing method based on a block chain according to the present application;
fig. 5 is an interaction diagram of a fourth embodiment of a data processing method based on a blockchain according to the present application;
fig. 6 is a schematic structural diagram of a first block chain-based data processing apparatus according to a first embodiment of the present disclosure;
fig. 7 is a schematic structural diagram of a second block chain-based data processing apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device provided in the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments that can be made by one skilled in the art based on the embodiments in the present application in light of the present disclosure are within the scope of the present application.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims of the present application and in the above-described drawings (if any) are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The terms referred to in this application are explained first:
block chains: the blockchain is a distributed ledger, distributed over computer nodes, that records all transactions that occur over the network. The uplink refers to recording information needing uplink, such as transfer records, orders, data distribution tables and the like, on a block. The blocks are one storage unit, and all communication information of each block node within a certain time is recorded. The blocks are linked through random hashing (also called hashing algorithm), the next block contains the hash value of the previous block, one block is connected with one block successively along with the expansion of information exchange, and the formed result is called a block chain.
A block chain as a Service (BaaS) platform: the method is a block chain open platform which is used for embedding a block chain frame into a cloud computing platform, providing a convenient and high-performance block chain ecological environment and ecological matching service for developers by using the deployment and management advantages of cloud service infrastructure, and supporting the business expansion and operation support of the developers. The BaaS platform packages the block chain technology combination, and modularizes the block chain technology combination into the functions of common host management, block chain network management, channel management, intelligent contracts, block chain browser management, block chain monitoring, certificate management, user management and the like, when a user needs to perform uplink storage and query on a block chain, the functions are connected only through interfaces such as an Application Programming Interface (API) and a Software Development Kit (SDK), and the like, so that the block chain BaaS platform can be directly used for performing intelligent contract uplink storage and query.
Virtualizing the BaaS platform: and performing virtualization management on the Baas platforms of various alliance chains and chain virtualization management based on software definition, and finally providing a platform for unifying external service capability.
The terminal equipment: refers to an apparatus that inputs programs and data to a computer or receives a result of processing by the computer via a communication facility. The terminal equipment is usually set in a convenient place where it can be connected with remote computer by means of communication equipment, and is mainly formed from communication interface control device and special-purpose or selected input and output device. The terminal device includes, but is not limited to, means for communicating via a data connection/Network and/or via a Wireless interface, such as a communication means for a cellular Network, a Wireless Local Area Network (WLAN). The terminal device has sending, receiving and inputting functions, is provided with a display, can be a desktop computer or other intelligent terminals such as a notebook computer, and the embodiment of the application does not limit the specific form of the terminal device and can be determined according to actual requirements.
The blockchains are mainly divided into public, federation, and private chains. There are, among others, a number of heterogeneous types of federation chains in the prior art. And for each alliance chain, a corresponding BaaS platform is arranged, and a user can carry out intelligent contract chain storage and inquiry on the alliance chain through the corresponding BaaS platform. That is, a user can only use a certain type of federation chain according to the usage rule of the federation chain, and perform intelligent contract uploading and certification and query on the federation chain through the BaaS platform corresponding to the federation chain. When a 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, so when the user replaces the another type of alliance chain, the usage rules of the alliance chain need to be replaced, and the usage process of the alliance chain by the user is complicated.
Aiming at the problems in the prior art, the inventor finds that if a virtualized BaaS platform capable of being in butt joint with various types of alliance chains to call various types of alliance chains exists, the technical problem that a user is complicated in the using process of the alliance chains can be solved in the process of researching intelligent contract chain storage and inquiry on the block chains through a block chain BaaS platform. The centralized management and control and unified service of various alliance chains are achieved through the virtualization BaaS platform, no matter which block chain meets the use requirements of users, the block chains can be in butt joint with the corresponding block chains through the virtualization BaaS platform by adopting the same rule, and the process that the users use the alliance chains is simpler and more convenient. Based on the inventive concept, the data processing scheme based on the block chain in the application is designed.
The block chain-based data processing scheme of the present application is explained in detail below.
Fig. 1 is a schematic view of an application scenario of the data processing method based on a block chain provided in the present application, and as shown in fig. 1, the application scenario may include: the terminal device 101, the virtualized BaaS platform 102, BaaS platforms corresponding to multiple types of federation chains (fig. 1 shows three BaaS platforms, which are a BaaS platform 103, a BaaS platform 104, and a BaaS platform 105, respectively), and at least one block chain (fig. 1 shows four block chains, which are a block chain 106, a block chain 107, a block chain 108, and a block chain 109, respectively). The BaaS platform 103, the BaaS platform 104 and the BaaS platform 105 are BaaS platforms corresponding to three different types of block chains; the BaaS platform 103 may be any one of a starfire chain BaaS platform, a long-safety chain BaaS platform, a super-chain BaaS platform, and a communication chain BaaS platform, the BaaS platform 104 may be any one of a starfire chain BaaS platform, a long-safety chain BaaS platform, a super-chain BaaS platform, and a communication chain BaaS platform, and the BaaS platform 105 may be any one of a starfire chain BaaS platform, a long-safety chain BaaS platform, a super-chain BaaS platform, and a communication chain BaaS platform. Illustratively, the BaaS platform 103 may be a starfire chain BaaS platform, the BaaS platform 104 may be a unicom chain BaaS platform, and the BaaS platform 105 may be a long-chain BaaS platform. The blockchains 106 and 107 may be blockchains corresponding to the BaaS platform 103, the blockchain 108 may be blockchain corresponding to the BaaS platform 104, and the blockchain 109 may be blockchain corresponding to the BaaS platform 105.
For example, in the application scenario shown in fig. 1, when a user wants to perform uplink storage on a blockchain, a request message including uplink requirement information is sent to the virtualized BaaS platform 102 through the terminal device 101. The virtualized BaaS platform 102 acquires the block chain 106 matched with the uplink demand 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 block chain to the terminal device 101. After receiving the feedback message sent by the virtualized BaaS platform 102, the terminal device 101 generates an uplink request according to the information to be uplink and the first identifier, which are input by the user, and sends the uplink request to the virtualized BaaS platform 102.
The virtualized BaaS platform 102 receives an uplink request sent by the terminal device 101, and determines the BaaS platform 103 corresponding to the block chain 106 based on the first identifier. The virtualized BaaS platform 103 forwards the uplink request to the BaaS platform 103.
The BaaS platform 103 receives the uplink request forwarded by the virtualized BaaS platform 102, and performs an uplink operation, that is, an operation of writing information to be uplink into the block chain 106.
Based on the above process, when the user has any uplink requirement, the user can directly send request information including uplink requirement information to the virtualized BaaS platform through the terminal device, and after the virtualized BaaS platform obtains the target block chain matched with the uplink requirement information, the terminal device sends the uplink request including the target block chain to the virtualized BaaS platform so as to complete uplink operation. That is, the user uses any type of alliance chain and is in butt joint with the virtualized BaaS platform, and the BaaS platform does not need to be replaced; and because the user uses any type of alliance chain to be in butt joint with the virtualized BaaS platform, the user uses any type of alliance chain and adopts the same rule, so that the process of using the alliance chain by the user is simpler and more convenient, and the use experience of the user is improved.
It should be noted that fig. 1 is only a schematic diagram of an application scenario provided in the embodiment of the present application, and the embodiment of the present application does not limit actual forms of various devices included in fig. 1, nor limits an interaction manner between the devices in fig. 1, and in a specific application of a scheme, the configuration may be set according to actual requirements.
The technical solution of the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is an interaction diagram of a first embodiment of a data processing method based on a block chain according to the present application. Referring to fig. 2, the data processing method based on the blockchain specifically includes the following steps:
step S201: the terminal equipment receives uplink requirement information input by a user.
When a user needs to perform uplink storage on a block chain, the user inputs uplink requirement information on terminal equipment, and the terminal equipment generates a request message according to the uplink requirement information input by the user.
In a specific embodiment, the terminal device displays a visual interface, and a plurality of selectable parameter information is displayed in the visual interface, and the plurality of selectable parameter information belongs to the parameter information in the parameter information set. The parameter information in the parameter information set may be divided into different categories, for example, the number of block transactions and the required capacity of the block may be one category of parameter information, and the number of consensus nodes and the consensus policy of the block chain may be one category of parameter information. The user determines the required parameters according to the uplink requirement, and the terminal equipment can obtain uplink requirement information according to the parameter information selected by the user. Wherein the plurality of selectable parameter information may include at least two of:
and (3) a cryptographic algorithm: the block chain network cryptographic algorithm can be a standard version or a national secret version;
a consensus strategy is as follows: may be a RAFT strategy or a solo strategy; among them, RAFT is called Replicated And failed Tolerant in English.
Number of consensus nodes of block chains: the default is 3, or 5, the number of the consensus nodes is not specifically limited in the embodiment of the application, and the selection can be performed according to the actual situation;
account book storage mode of block chain: may be CouchDB or LevelDB. Wherein CouchDB is called Cluster of nonreable comfort Data Base in English, and Level DB is called Level Data Base in English;
number of nodes of block chain: the number of corresponding nodes (peers) in a service organization may be 3 or 5, and the number of nodes is not specifically limited in the embodiment of the present application and may be selected according to actual situations.
Support version: a distributed account book platform version supported by a block chain;
deploying a cluster: the cluster can be one of the existing clusters or a newly built cluster;
whether the uplink process starts a Transport Layer Security (TLS) or not;
whether the uplink process starts a digital certificate authentication system (CA) or not;
block generation time: the time for generating the block can be 2s or 4s, and the block generation time is not specifically limited in the embodiment of the application and can be selected according to actual conditions;
block transaction number: the maximum value of the transaction number which can be stored in the block can be 100 or 200, and the transaction number of the block is not specifically limited in the embodiment of the application and can be selected according to actual conditions;
required capacity of the block: the block may be a maximum capacity for a deposit transaction, the number of block transactions is related to the required capacity of the block, and illustratively, one transaction is about 250 bytes, and 1M may accommodate 4000 transactions. The required capacity of the block may be 99MB or 50MB, and the required capacity of the block is not specifically limited in the embodiment of the present application and may be selected according to actual situations.
Optionally, the visual interface may further include a "done" icon, and after the user has selected the desired parameter, the "done" icon is clicked. The terminal equipment obtains uplink demand information according to the parameter information selected by the user and generates a request message based on the uplink demand information.
In another embodiment, the terminal device is provided with physical keys. And when the user finishes selecting the required parameters, operating the physical key. The terminal equipment obtains uplink demand information according to the parameter information selected by the user and generates a request message based on the uplink demand information. The physical key can be operated for a preset time length after being pressed for a long time, or can be operated for clicking the physical key, or can be operated for a preset number of times after clicking the physical key.
Step S202: the terminal equipment sends a request message to the virtualized BaaS platform, wherein the request message comprises uplink demand information of a user; the virtual BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains.
After the terminal equipment generates a request message according to uplink demand information input by a user, the terminal equipment sends the request message including the uplink demand information of the user to the virtualized BaaS platform. Optionally, the terminal device may send the request message to the virtualized BaaS platform through interfaces such as an API and an SDK. Wherein, the request message includes uplink requirement information of the user.
The virtual BaaS platform and the BaaS platforms corresponding to the various alliance chains can be in communication connection through interfaces, namely the virtual BaaS platform is in communication connection with the BaaS platforms. Wherein at least one block chain can be included under each type of federation chain.
Optionally, the various types of federation chains include, but are not limited to, at least two of the following federation chains: a star fire chain, a communication chain, a Changan chain and a super chain. For example, the blockchain 106, the blockchain 108, and the blockchain 109 in fig. 1 may be three different types of blockchains among a starfire chain, a communication chain, a long-ampere chain, and a super chain. Blockchain 107 may be the same type of blockchain as blockchain 106.
Step S203: the virtualized BaaS platform acquires a first block chain matched with the uplink demand information.
After the terminal equipment sends the request message including the uplink demand information to the virtualized BaaS platform, the virtualized BaaS platform receives the request message including the uplink demand information sent by the terminal equipment. And the virtualized BaaS platform acquires a first block chain matched with the uplink demand information according to the request message containing the uplink demand information.
In one implementation, the first blockchain is one blockchain of multiple types of federation chains corresponding to the multiple BaaS platforms.
In another implementation, block chains matched with the uplink demand information do not exist in the various types of alliance chains corresponding to the BaaS platforms, and at this time, the first block chain is a block chain matched with the uplink demand information and built according to the uplink demand information.
Step S204: and the virtualized BaaS platform sends a feedback message to the terminal equipment, wherein the feedback message comprises a first identifier of the first block chain.
After the virtualized BaaS platform acquires the first block chain matched with the uplink demand information, a feedback message can be sent to the terminal equipment through the interface, wherein the feedback message comprises a first identifier of the first block chain.
Optionally, the first identifier is a unique ID of the first block chain.
It should be noted that, in the embodiment of the present application, the first identifier is not specifically limited, and may be selected according to actual situations.
Optionally, in step S202, the request message sent by the terminal device to the virtualized BaaS platform may further include indication information for indicating a second block chain, where the second block chain may be a block chain that the terminal device wishes to use and is specified by the user, and after the virtualized BaaS platform acquires the first block chain matched with the uplink requirement information and before the virtualized BaaS platform sends the feedback message to the terminal device, the virtualized BaaS platform determines, according to the indication information, whether the second block chain is the same as the first block chain.
When the second blockchain is the same as the first blockchain, the feedback message further includes first reminding information correspondingly, and the first reminding information is used for reminding the user that the second blockchain is the same as the first blockchain.
Optionally, when the second blockchain is different from the first blockchain, the feedback message further includes second reminding information, and the second reminding information is used to suggest to the user to use the first blockchain for uplink operation. Optionally, the second reminding information is further configured to remind the user that the second block chain is different from the first block chain.
When the user specifies the block chain, the request message further includes indication information for indicating the second block chain. And the virtualized BaaS platform determines whether the second block chain indicated by the user is the same as the first block chain which is acquired by the virtualized BaaS platform and matched with the uplink demand information or not according to the indication information contained in the request message. According to the method and the device, the user can know whether the block chain which the user wants to use is consistent with the first block chain which is acquired by the virtualized BaaS platform and matched with the uplink requirement information, and the accuracy of selecting the used block chain by the user is ensured while the user requirement is fully considered.
Step S205: the terminal equipment sends a chaining request to the virtualized BaaS platform, wherein the chaining request comprises a first identifier and information to be chained.
When a user needs to perform uplink storage on a block chain, the user sends an uplink request to the virtualized BaaS platform through the terminal equipment, wherein the uplink request comprises a first identifier and information to be uplink. Optionally, the information to be uplink includes uplink data and a second identifier corresponding to the uplink data.
For example, when the video information needs to be subjected to uplink storage, the uplink data in the to-be-uplink information may include video data, video shooting time, name of the device shooting the video, and the like. When a contract needs to be certified for uplink, the uplink data in the information to be uplink may include the hash value of the contract.
Step S206: and the virtualized BaaS platform sends a chaining request to the first BaaS platform of the first block chain so as to write the information to be chained into the first block chain.
The virtual BaaS platform receives an uplink request sent by terminal equipment, determines a first block chain matched with uplink demand information according to a first identifier in the uplink request, and stores a corresponding relation between the BaaS platform and the block chain. And the virtual BaaS platform determines the BaaS platform corresponding to the first block chain according to the corresponding relation, so that the virtual BaaS platform determines the first BaaS platform of the first block chain. And the virtualized BaaS platform sends a chaining request from the terminal equipment to the first BaaS platform of the first block chain so as to write the information to be chained into the first block chain.
In the data processing method based on the block chain provided in this embodiment, after receiving uplink requirement information input by a user, a terminal device sends a request message including the uplink requirement information of the user to a virtualized BaaS platform. The virtual BaaS platform acquires a first block chain matched with the uplink demand information according to the request message, and sends a feedback message including a first identifier of the first block chain to the terminal equipment. The terminal equipment sends a chaining request comprising a first identifier and information to be chained to the virtualized BaaS platform, and the virtualized BaaS platform sends the chaining request to the first BaaS platform of the first block chain, so that the information to be chained is written into the first block chain. Compared with the prior art, in this embodiment, when there is any uplink requirement for the user, the request information including the uplink requirement information may be directly sent to the virtualized BaaS platform through the terminal device, so that the virtualized BaaS platform obtains the block chain matched with the uplink requirement information; and the terminal equipment sends a uplink request comprising the identifier of the block chain to the virtualized BaaS platform so as to enable the BaaS platform of the block chain to complete uplink operation. That is, the user uses any type of alliance chain and is in butt joint with the virtualized BaaS platform, and the BaaS platform does not need to be replaced; and because the user uses any type of alliance chain to be in butt joint with the virtualized BaaS platform, the user uses any type of alliance chain and adopts the same rule, so that the user can use the alliance chain simply and conveniently, and the use experience of the user is improved.
An implementation manner of the step S203 "obtaining the first block chain matched with the uplink requirement information by the virtualized BaaS platform" in the first embodiment is described in detail below with the embodiment shown in fig. 3.
Fig. 3 is a schematic flowchart of a second embodiment of a data processing method based on a block chain according to the present application;
step S301: and the virtualized BaaS platform acquires uplink demand information in the request message.
And after receiving the request message, the virtualized BaaS platform acquires uplink demand information in the request message.
Step S302: the virtualized BaaS platform obtains a first block chain matched with the uplink demand information through a matching model according to the uplink demand information.
When the first block chain is one of the multiple types of alliance chains corresponding to the BaaS platforms, the virtualized BaaS platform obtains the first block chain matched with the uplink requirement information from the multiple types of alliance chains corresponding to the BaaS platforms through a matching model according to the uplink requirement information.
When the first block chain is the block chain which is constructed according to the uplink demand information and matched with the uplink demand information, the virtualized BaaS platform acquires the first block chain matched with the uplink demand information through the matching model according to the uplink demand information, and the method comprises the following steps:
the virtual BaaS platform determines that block chains matched with the uplink demand information do not exist in various types of alliance chains according to the uplink demand information and the matching model;
the virtual BaaS platform builds a first block chain matched with the uplink demand information according to the uplink demand information;
the communication connection between the virtualized BaaS platform and a first BaaS platform is established by the virtualized BaaS platform, and the first BaaS platform is a BaaS platform of a first block chain.
If the first BaaS platform in communication connection with the first block chain does not exist in the first BaaS platform in communication connection with the virtualized BaaS platform, the method further includes:
the virtual BaaS platform builds a first BaaS platform which is in communication connection with the first block chain.
Specifically, in an embodiment, after the virtualized BaaS platform acquires the uplink requirement information, the uplink requirement information is converted into a multidimensional vector, where the multidimensional vector is an input vector of the matching model; the multidimensional vector is input to the matching model, and a first block chain is determined according to the output of the matching model.
Optionally, the virtualized BaaS platform converts the uplink requirement information into a multidimensional vector by using a TextRank algorithm, which may specifically include:
a1, the virtualized BaaS platform carries out word segmentation and word labeling on each item of information included by the uplink demand information, eliminates useless words and retains key words, and extracts a keyword set of the uplink demand information; the user equipment selects each type of parameter information corresponding to one item of information in the uplink requirement information based on the terminal equipment.
For example, the number of block transactions and the required capacity of the block may be a type of parameter information, and the number of consensus nodes and the consensus strategy of the block chain may be a type of parameter information.
a2, the virtual BaaS platform performs matrix conversion on the keyword set based on the keywords corresponding to each item of information to obtain a keyword matrix.
Optionally, each column of the keyword matrix corresponds to a keyword of one item of information.
a3, constructing a multidimensional vector based on the keyword matrix.
Wherein each dimension vector of the multidimensional vector is a vector corresponding to one item of information in the uplink demand information.
Alternatively, the matching model may be a pre-trained neural network model, such as a back propagation neural network model, a deep neural network model, or a bi-directional neural network model. At this time, inputting the multidimensional vector to the matching model, and determining a specific implementation of the first block chain according to the output of the matching model may be as follows:
inputting multidimensional vectors into neural network model
Figure BDA0003463580590000141
Wherein the function is activated
Figure BDA0003463580590000142
wiIs a weight value, theta is a threshold value, xiRepresenting the input value and y the output result. And storing the matching relation between y and the block chain in the virtualized BaaS platform, and determining the matched block chain according to the output result y or determining that the block chain is not matched according to the output result y.
A method of training the matching model is described below.
In one embodiment, obtaining the matching model comprises:
b1, obtaining a plurality of training samples, wherein each training sample comprises uplink requirement information and a label.
Wherein, each training sample comprises different uplink requirement information. The uplink requirement information included in each training sample may be obtained by the user based on the parameter information set. The label of the training sample is used to indicate the block chain matching the uplink requirement information included in the training sample. Alternatively, the tag may be a vector.
b2, determining an initialized neural network model, and training according to the initialized neural network model and a plurality of training samples to obtain a matching model.
For each training sample, the method for obtaining the multi-dimensional vector according to the request message is adopted to obtain the multi-dimensional vector corresponding to the training sample, the multi-dimensional vector is input into the currently obtained matching model of the intermediate state to obtain an actual output, and the error between the expected output and the actual output is calculated according to the actual output, the label (namely the expected output) and the loss function. And if the error is large, adjusting the currently obtained matching model of the intermediate state by adopting a gradient descent method to obtain a new matching model of the intermediate state until the error is lower than a preset threshold value, and finally obtaining the matching model. Wherein the preset threshold is set by a user. The preset threshold value is not specifically limited in the embodiment of the application, and the limitation can be performed according to the actual situation.
Optionally, number of hidden layer neurons of matching model
Figure BDA0003463580590000151
c is the number of neurons in the input layer, d is the number of neurons in the output layer, a is [1,10 ]]Constant in between.
In the data processing method based on the block chain provided in this embodiment, the virtualized BaaS platform determines the first block chain according to the uplink demand information and the matching model in the request message, and the efficiency and the accuracy of determining the first block chain are both high.
Next, another implementation manner of implementing the step S203 "virtualized BaaS platform acquires the first block chain matching with the uplink requirement information" in the first embodiment is described in detail with the embodiment shown in fig. 4.
Fig. 4 is a schematic flowchart of a third embodiment of a data processing method based on a block chain according to the present application;
step S401, the virtualized BaaS platform obtains the uplink demand information in the request message.
And after receiving the request message, the virtualized BaaS platform acquires uplink demand information in the request message.
Step S402, the virtualized BaaS platform acquires a first block chain matched with the uplink demand information according to the uplink demand information and the corresponding relation; the corresponding relationship includes a plurality of pieces of predetermined uplink requirement information and a block chain corresponding to each piece of predetermined uplink requirement information.
When the first block chain is one of the plurality of types of alliance chains corresponding to the plurality of BaaS platforms, the virtualized BaaS platform acquires the first block chain corresponding to the uplink demand information according to the uplink demand information and the corresponding relation, including: the virtualized BaaS platform obtains a target block chain corresponding to the uplink demand information indicated in the corresponding relationship, determines that the target block chain is one of the plurality of types of alliance chains corresponding to the plurality of BaaS platforms, and takes the target block chain as a first block chain.
When the first block chain is a block chain which is constructed according to the uplink demand information and is matched with the uplink demand information, the virtualized BaaS platform acquires the first block chain matched with the uplink demand information according to the uplink demand information and the corresponding relation, and the method comprises the following steps:
the virtualized BaaS platform determines that block chains matched with the uplink demand information do not exist in various types of alliance chains according to the uplink demand information and the corresponding relation;
the virtual BaaS platform builds a first block chain matched with the uplink demand information according to the uplink demand information;
the communication connection between the virtualized BaaS platform and a first BaaS platform is established by the virtualized BaaS platform, and the first BaaS platform is a BaaS platform of a first block chain.
In the data processing method based on the block chain provided in this embodiment, the virtualized BaaS platform obtains the first block chain corresponding to the uplink demand information according to the preset correspondence between the uplink demand information and the block chain, so that the accuracy of determining the first block chain is further improved.
Fig. 5 is an interaction diagram of a fourth embodiment of the data processing method based on the blockchain provided by the present application. Referring to fig. 5, in step S206, "after the virtualized BaaS platform sends a uplink request to the first BaaS platform of the first block chain, so that the first BaaS platform performs an uplink operation to write information to be uplink into the first block chain", the block chain-based data processing method further includes the following steps:
step S501: the terminal equipment receives the inquiry information input by the user.
When a user needs to query uplink data of uplink operation, the user inputs query information on the terminal equipment. The query message may include a first identifier of the first block chain and a second identifier corresponding to the uplink data.
Step S502: and the terminal equipment sends a query request to the virtualized BaaS platform.
In the above steps, when the user needs to query uplink data of the uplink operation, the user inputs query information on the terminal device, and the terminal device generates a query request according to the query information input by the user. The query request includes the query information, and the query request is used for requesting to query uplink data of the uplink operation. And the terminal equipment sends the generated query request to the virtualized BaaS platform.
Step S503: and the virtualized BaaS platform determines a first BaaS platform of the first block chain according to the query request.
After the virtualized BaaS platform receives the query request, the virtualized BaaS platform determines a first block chain according to a first identifier of the first block chain in the query request, and determines the first BaaS platform according to the corresponding relation between the BaaS platform and the block chain.
Step 504: and the virtualized BaaS platform sends a query request to the first BaaS platform of the first block chain.
After the virtualized BaaS platform determines the first BaaS platform of the first block chain, the virtualized BaaS platform sends a query request to the first BaaS platform of the first block chain.
Step S505: and the first BaaS platform acquires the queried uplink data according to the query request.
And the first BaaS platform receives the query request so as to acquire uplink data corresponding to the second identifier stored on the first block chain.
Step S506: and the first BaaS platform sends the inquired uplink data to the virtualized BaaS platform.
And after acquiring the queried uplink data according to the query request, the first BaaS platform sends the queried uplink data to the virtualized BaaS platform.
Step S507: and the virtualized BaaS platform sends the inquired uplink data to the terminal equipment.
In the above steps, after the first BaaS platform sends the uplink data of the uplink operation to the virtualized BaaS platform, the virtualized BaaS platform receives the uplink data and then sends the uplink data to the terminal device through the interface, and the user can check the uplink data on the terminal device.
In the data processing method based on the block chain provided in this embodiment, the terminal device receives query information input by a user, and the terminal device sends a query request to the virtualized BaaS platform. The virtualized BaaS platform determines a first BaaS platform of the first block chain according to the query request, and the virtualized BaaS platform sends the query request to the first BaaS platform of the first block chain. And the first BaaS platform acquires the queried uplink data according to the query request, and sends the queried uplink data to the virtualized BaaS platform. And the virtualized BaaS platform sends the inquired uplink data to the terminal equipment. According to the method, when the user acquires the data of the uplink certificate storage on any type of block chain, the same rule is adopted to directly and interactively inquire the uplink result through the terminal equipment and the virtual BaaS platform, so that the process of inquiring the data of the uplink certificate storage on the alliance chain by the user is simpler and more convenient, the inquiry efficiency is improved, and the use experience of the user is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Fig. 6 is a schematic structural diagram of a first block chain-based data processing apparatus according to a first embodiment of the present disclosure; as shown in fig. 6, the block chain-based data processing apparatus 60 includes:
a receiving module 61, configured to receive a request message from a terminal equipment of a user, where the request message includes uplink requirement information of the user;
a processing module 62, configured to obtain a first block chain matched with the uplink requirement information;
a sending module 63, configured to send a feedback message to the terminal device, where the feedback message includes a first identifier of the first block chain;
a receiving module 61, further configured to receive an uplink request from a terminal device, where the uplink request includes a first identifier and information to be uplink transmitted;
the sending module 63 is further configured to send an uplink request to the first BaaS platform of the first block chain, so that information to be uplink is written into the first block chain.
Further, the processing module 62 is specifically configured to:
and acquiring a first block chain matched with the uplink demand information according to the uplink demand information and the matching model.
Further, the first blockchain is one blockchain of a plurality of types of federation chains.
Further, the processing module 62 is specifically configured to:
determining that no block chain matched with the uplink demand information exists in various alliance chains according to the uplink demand information and the matching model;
building a first block chain matched with the uplink demand information according to the uplink demand information;
and establishing communication connection between the virtualized BaaS platform and the first BaaS platform.
Further, the request message further comprises indication information for indicating the second block chain; then, after acquiring the first block chain matching the uplink requirement information and before sending the feedback message to the terminal, the processing module 62 is further configured to:
determining that the second block chain is the same as the first block chain according to the indication information;
correspondingly, the feedback message further comprises first reminding information, and the first reminding information is used for reminding the user that the second block chain is the same as the first block chain.
Further, the request message further comprises indication information for indicating the second block chain; after acquiring the first block chain matched with the uplink requirement information and before sending the feedback message to the terminal device, the processing module 62 is further specifically configured to:
determining that the second block chain is different from the first block chain according to the indication information;
accordingly, the feedback message includes a second reminding message for suggesting the user to use the first blockchain for uplink operation.
Further, the second reminding information is also used for reminding the user that the second block chain is different from the first block chain.
Further, the receiving module 61 is further configured to receive an inquiry request from the terminal device, where the inquiry request is used to request to inquire uplink data of an uplink operation, and the inquiry request includes the first identifier; the information to be uplink comprises uplink data;
further, the sending module 63 is further configured to send an inquiry request to the first BaaS platform, so that the first BaaS platform obtains uplink data according to the inquiry request;
further, the receiving module 61 is further configured to receive uplink data from the first BaaS platform;
further, the sending module 63 is further configured to send uplink data to the terminal device.
The data processing apparatus based on the block chain provided in this embodiment is configured to execute the technical scheme of virtualizing the BaaS platform in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, and are not described herein again.
Fig. 7 is a schematic structural diagram of a second block chain-based data processing apparatus according to an embodiment of the present application; as shown in fig. 7, the apparatus 70 includes:
a receiving module 71, configured to receive uplink requirement information input by a user;
a sending module 72, configured to send a request message including uplink requirement information to the virtualized BaaS platform; the virtual BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains; the request message is used for acquiring a first block chain matched with uplink requirement information by a virtual BaaS platform;
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 block chain;
the sending module 72 is further configured to send a uplink request to the virtualized BaaS platform, where the uplink request includes the first identifier and information to be uplink.
Further, the receiving module 71 is further configured to receive query information input by a user;
further, the sending module 72 is further configured to send an inquiry request to the virtualized BaaS platform, where the inquiry request is used to request to inquire uplink data of an uplink operation, and the inquiry request includes the first identifier; the information to be uplink comprises uplink data;
further, the receiving module 71 is further configured to receive uplink data from the virtualized BaaS platform.
The data processing apparatus based on the block chain provided in this embodiment is configured to execute the technical solution of the terminal device in any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of an electronic device provided in the present application. As shown in fig. 8, the electronic apparatus 80 includes:
a processor 81, a memory 82, and a communication interface 83;
the memory 82 is used for storing executable instructions of the processor 81;
the processor 81 is configured to execute the technical solution of the virtualized BaaS platform in any of the foregoing method embodiments by executing the executable instructions.
Alternatively, the memory 82 may be separate or integrated with the processor 81.
Optionally, when the memory 82 is a device independent from the processor 81, the electronic device 80 may further include:
and the bus is used for connecting the devices.
The electronic device is used for executing the technical scheme of virtualizing the BaaS platform in any one of the method embodiments, and the implementation principle and the technical effect are similar, and are not described herein again.
The embodiment of the application also provides a block chain system, which comprises a virtualized BaaS platform and a plurality of BaaS platforms of various alliance chains, wherein the virtualized BaaS platform is in communication connection with the plurality of BaaS platforms of the various alliance chains;
the virtual BaaS platform is used for executing the technical scheme of the virtual BaaS platform in any one of the method embodiments, and the implementation principle and the technical effect are similar, and are not described herein again.
The embodiment of the present application further provides a readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the technical solutions provided by any of the foregoing embodiments.
The embodiment of the present application further provides a computer program product, which includes a computer program, and the computer program is used for implementing the technical solution provided by any of the foregoing method embodiments when being executed by a processor.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (15)

1. A data processing method based on a block chain is characterized in that the method is applied to a virtualized block chain as a service (BaaS) platform, and the virtualized BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains; the method comprises the following steps:
receiving a request message from a terminal equipment of a user, wherein the request message comprises uplink requirement information of the user;
acquiring a first block chain matched with the uplink demand information;
sending a feedback message to the terminal device, wherein the feedback message comprises a first identifier of the first block chain;
receiving an uplink request from a terminal device, wherein the uplink request comprises the first identifier and information to be uplink;
and sending the uplink request to a first BaaS platform of the first block chain so as to write the information to be uplink into the first block chain.
2. The method of claim 1, wherein the obtaining the first block chain matching the uplink requirement information comprises:
and acquiring a first block chain matched with the uplink demand information according to the uplink demand information and a matching model.
3. The method of claim 1 or 2, wherein the first blockchain is one blockchain of the multiple types of federation chains.
4. The method of claim 2, wherein the obtaining the first block chain matching the uplink requirement information comprises:
determining that no block chain matched with the uplink demand information exists in the various alliance chains according to the uplink demand information and the matching model;
building the first block chain matched with the uplink demand information according to the uplink demand information;
and establishing communication connection between the virtualized BaaS platform and the first BaaS platform.
5. The method according to claim 1 or 2, wherein the request message further comprises indication information for indicating a second blockchain; after acquiring the first block chain matched with the uplink requirement information and before sending a feedback message to the terminal equipment, the method further includes:
determining that a second block chain is the same as the first block chain according to the indication information;
correspondingly, the feedback message further includes first reminding information, and the first reminding information is used for reminding a user that the second blockchain is the same as the first blockchain.
6. The method according to claim 1 or 2, wherein the request message further comprises indication information for indicating a second blockchain; after acquiring the first block chain matched with the uplink requirement information and before sending a feedback message to the terminal equipment, the method further includes:
determining that a second block chain is different from the first block chain according to the indication information;
correspondingly, the feedback message comprises second reminding information, and the second reminding information is used for suggesting the user to use the first block chain for uplink operation.
7. The method of claim 6, wherein the second alert message is further configured to alert a user that the second blockchain is not the same as the first blockchain.
8. The method of claim 1 or 2, further comprising:
receiving an inquiry request from a terminal device, wherein the inquiry request is used for requesting to inquire uplink data of the uplink operation, and the inquiry request comprises the first identifier; the information to be uplink comprises the uplink data;
sending the query request to the first BaaS platform so that the first BaaS platform obtains the uplink data according to the query request;
receiving the uplink data from the first BaaS platform;
and sending the uplink data to the terminal equipment.
9. A data processing method based on a block chain is characterized by being applied to terminal equipment; the method comprises the following steps:
receiving uplink requirement information input by a user;
sending a request message including the uplink requirement information to the virtualized BaaS platform; the virtual BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains; the request message is used for the virtualized BaaS platform to acquire a first block chain matched with the uplink demand information;
receiving a feedback message from the virtualized BaaS platform, wherein the feedback message comprises a first identifier of the first block chain;
and sending a uplink request to the virtualized BaaS platform, wherein the uplink request comprises the first identifier and information to be uplink.
10. The method of claim 9, further comprising:
receiving query information input by a user;
sending an inquiry request including the inquiry information to the virtualized BaaS platform, wherein the inquiry request is used for requesting to inquire the uplink data of the uplink operation, and the inquiry request includes the first identifier; the information to be uplink comprises the uplink data;
receiving the uplink data from the virtualized BaaS platform.
11. A blockchain-based data processing apparatus, comprising:
a receiving module, configured to receive a request message from a terminal device of a user, where the request message includes uplink requirement information of the user;
a processing module, configured to acquire a first block chain matched with the uplink requirement information;
a sending module, configured to send a feedback message to the terminal device, where the feedback message includes a first identifier of the first block chain;
the receiving module is further configured to receive an uplink request from a terminal device, where the uplink request includes the first identifier and information to be uplink transmitted;
the sending module is further configured to send the uplink request to a first BaaS platform of the first block chain, so that the information to be uplink is written into the first block chain.
12. A blockchain-based data processing apparatus, comprising:
a receiving module, configured to receive uplink requirement information input by a user;
a sending module, configured to send a request message including the uplink requirement information to the virtualized BaaS platform; the virtual BaaS platform is in communication connection with a plurality of BaaS platforms of various alliance chains; the request message is used for the virtualized BaaS platform to acquire a first block chain matched with the uplink demand information;
the receiving module is further configured to receive a feedback message from the virtualized BaaS platform, where the feedback message includes a first identifier of the first block chain;
the sending module is further configured to send a uplink request to the virtualized BaaS platform, where the uplink request includes the first identifier and information to be uplink transmitted.
13. An electronic device, comprising:
a processor, a memory, a communication interface;
the memory is used for storing executable instructions of the processor;
wherein the processor is configured to perform the blockchain-based data processing method of any one of claims 1 to 8 or 9 to 10 via execution of the executable instructions.
14. A block chain system is characterized by comprising a virtualized BaaS platform and a plurality of BaaS platforms of a plurality of types of alliance chains, wherein the virtualized BaaS platform is in communication connection with the plurality of BaaS platforms of the plurality of types of alliance chains;
the virtualized BaaS platform is configured to execute the block chain-based data processing method according to any one of claims 1 to 8.
15. A readable storage medium on which a computer program is stored, which computer program, when being executed by a processor, carries out the method for blockchain-based data processing according to any one of claims 1 to 8 or 9 to 10.
CN202210023766.6A 2022-01-10 2022-01-10 Data processing method, device, equipment, system and medium based on block chain Pending CN114416871A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210023766.6A CN114416871A (en) 2022-01-10 2022-01-10 Data processing method, device, equipment, system and medium based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210023766.6A CN114416871A (en) 2022-01-10 2022-01-10 Data processing method, device, equipment, system and medium based on block chain

Publications (1)

Publication Number Publication Date
CN114416871A true CN114416871A (en) 2022-04-29

Family

ID=81270547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210023766.6A Pending CN114416871A (en) 2022-01-10 2022-01-10 Data processing method, device, equipment, system and medium based on block chain

Country Status (1)

Country Link
CN (1) CN114416871A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086353A (en) * 2022-05-06 2022-09-20 讯飞智元信息科技有限公司 Block chain event processing method and related device, equipment, platform and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115086353A (en) * 2022-05-06 2022-09-20 讯飞智元信息科技有限公司 Block chain event processing method and related device, equipment, platform and storage medium

Similar Documents

Publication Publication Date Title
CN113711536B (en) Extracting data from a blockchain network
EP2943859B1 (en) System, method, and computer-readable medium for managing edge devices
US10564960B2 (en) Elastic application framework for deploying software
JP2024038272A (en) Technology for file sharing
CN105027535A (en) Backwards-compatible feature-level version control of an application using a restlike api
KR20120036831A (en) Integrating updates into a social-networking service
JP6542880B2 (en) Simplified invocation of import procedure to transfer data from data source to data target
JP2020102189A (en) Method, apparatus and system for processing data
CN108846753A (en) Method and apparatus for handling data
CN109359237A (en) It is a kind of for search for boarding program method and apparatus
CN108897874A (en) Method and apparatus for handling data
CN109462508A (en) Node deployment method, device and storage medium
US20240004853A1 (en) Virtual data source manager of data virtualization-based architecture
CN112860777A (en) Data processing method, device and equipment
CN108536617A (en) Buffer memory management method, medium, system and electronic equipment
JP2024045209A (en) Blockchain data search method
CN111325552A (en) Data processing method and device, electronic equipment and storage medium
CN114416871A (en) Data processing method, device, equipment, system and medium based on block chain
CN111984745B (en) Database field dynamic expansion method, device, equipment and storage medium
CN117151045A (en) Report processing method and device based on block chain and computer equipment
CN111488386A (en) Data query method and device
WO2021012554A1 (en) Method and apparatus for updating data field in block chain, medium, and electronic device
US10628460B2 (en) Delegating resembling data of an organization to a linked device
CN109298956A (en) Document transmission method, device and terminal device
CN104156358B (en) A kind of batch read method of table for database, device and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination