A multi-platform BaaS docking system, docking method and computer device based on blockchain
By providing a multi-platform BaaS docking system and docking method in blockchain technology, the problem of single functions and inconvenient data on-chain tracking in the existing technology is solved, and smart contracts and dynamic monitoring are generated based on business field attributes are realized, and visual tracking of data on-chain is provided, which improves application capabilities and user experience.
Patent Information
- Application Number
- CN202111024515.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-02
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2041-09-02
AI Technical Summary
The existing blockchain technology has a single BaaS integration function, and cannot generate smart contracts based on specific business field attributes, cannot complete dynamic monitoring of contract events, and cannot provide a visual page after data is on the chain, and cannot track real-time data on the chain and the process of on the chain.
It provides a multi-platform BaaS docking system and docking method based on blockchain. It can generate smart contracts based on specific business field attributes, complete dynamic monitoring of contract events, and provide a visual page after data is on the chain to realize real-time data on the chain dynamic tracking.
It realizes rapid docking of multi-BaaS platforms and dynamic monitoring of smart contracts, provides visual tracking of data on the chain, and improves the application capabilities and user experience of blockchain technology in multi-BaaS scenarios.
Smart Images

Figure CN113849559B_ABST
Abstract
Description
Technical Field
[0001] The present invention provides a docking system for a BaaS platform, and more particularly relates to a multi-platform BaaS docking system, a docking method, and a computer device based on blockchain. Background Art
[0002] Blockchain is a new application mode of computer technologies such as distributed data storage, peer-to-peer transmission, consensus mechanism, encryption algorithm, etc. In a narrow sense, blockchain is a chain data structure that combines data blocks in a sequential manner in chronological order, and a distributed ledger that is cryptographically guaranteed to be tamper-proof and unforgeable. In a broad sense, blockchain technology is a new distributed infrastructure and computing method that uses block chain data structure to verify and store data, uses distributed node consensus algorithm to generate and update data, uses cryptography to ensure the security of data transmission and access, and uses smart contracts composed of automated script code to program and operate data. In view of the advantages of blockchain technology, more and more platforms have begun to cut into the underlying technical development and application development of blockchain. Data chaining has also become a key issue. There may be a variety of platforms for data chaining in multiple business scenarios. Docking the platform BaaS is also a tedious problem. A lot of manpower and material resources are consumed in the tedious work of docking various technologies. The multi-BaaS docking system of blockchain completely solves this problem. The blockchain BaaS docking system integrates the BaaS of various platforms, making it more convenient and faster for external business systems to dock with blockchain, and also achieving complete decoupling access with external business systems.
[0003] Blockchain technology can be naturally combined in various fields. Through the blockchain multi-BaaS data chain service, chain status query, chain data query and other services, blockchain technology does not need to care about specific business scenarios, and business systems outside various fields do not need to care about the tedious docking work and complex technical knowledge of blockchain technology, and can quickly access blockchain technology, realize data chain, and store and trace the data on the chain, and seamlessly integrate with various business fields.
[0004] There are also many defects in the application of current blockchain technology in multiple BaaS scenarios. First of all, the current blockchain-based BaaS cannot generate smart contracts based on specific business field attributes, cannot complete dynamic monitoring of contract events, and cannot improve the data synchronization problem of distributed systems in blockchain scenario applications. It only provides basic BaaS channel configuration functions, and performs data chain operations based on specific configurations. It does not provide a visualization page after data chaining, and cannot track the real-time chaining dynamics of data and the chaining process. In other words, traditional blockchain technology integrates multiple BaaS, has a single function, can only meet the configured channel call, and cannot meet the data sharing on multiple BaaS channels with complex scenarios. Summary of the invention
[0005] Another advantage of the present invention is that it provides a blockchain-based multi-platform BaaS docking system, a docking method, and a computer device, wherein the blockchain-based multi-platform BaaS docking system can facilitate rapid access to external systems.
[0006] Another advantage of the present invention is that it provides a multi-BaaS configuration system and configuration method and computer device based on blockchain, wherein the multi-platform BaaS docking system based on blockchain can generate smart contracts according to specific business field attributes.
[0007] Another advantage of the present invention is that it provides a multi-BaaS configuration system and configuration method and a computer device based on blockchain, and the multi-platform BaaS docking system based on blockchain can complete dynamic monitoring of contract events.
[0008] Another advantage of the present invention is that it provides a multi-BaaS configuration system and configuration method and a computer device based on blockchain, wherein the multi-BaaS configuration system of blockchain can provide visualization of data after it is uploaded to the chain.
[0009] In order to achieve at least one of the above advantages of the present invention, the present invention provides a method for connecting multiple BaaS platforms based on blockchain, and the method for connecting multiple BaaS platforms based on blockchain includes:
[0010] In response to a user's request to configure at least one smart contract on the multiple BaaS platforms, generate a public-private key pair corresponding to accessing at least one external system, and reconfigure parameters of the multiple BaaS platforms based on the request of the smart contract, wherein the external system is linked to the block of the multiple BaaS platforms through the smart contract;
[0011] monitoring access requests from the external system to update the multiple BaaS platform blocks, wherein the access requests include verification information matching the public-private key pair;
[0012] Based on the smart contract, in response to the access request, a new block is generated on the multiple BaaS platforms.
[0013] According to an embodiment of the present invention, the method for connecting multiple BaaS platforms based on blockchain includes:
[0014] After monitoring the access request for updating the multiple BaaS platform blocks from the external system, the access request for updating the multiple BaaS platform blocks is encrypted by the HasH algorithm.
[0015] According to an embodiment of the present invention, in response to the access request, a new block is generated on the multiple BaaS platforms by synchronous or asynchronous uplinking.
[0016] According to an embodiment of the present invention, it is monitored whether the multiple BaaS platforms generate new blocks in response to the access request. If so, the output is successfully uploaded to the chain; if not, the output is failed to be uploaded to the chain.
[0017] According to an embodiment of the present invention, reconfiguring the parameters of the multiple BaaS platforms includes networks and routes of the multiple BaaS platforms.
[0018] According to an embodiment of the present invention, the method for connecting multiple BaaS platforms based on blockchain includes:
[0019] Recording access requests from the external system to update the multiple BaaS platform blocks;
[0020] In response to the user's query request, data related to access requests for updating the multiple BaaS platform blocks are displayed.
[0021] According to another aspect of the present invention, the present invention provides a multi-BaaS platform docking system based on blockchain, and the multi-BaaS platform docking system based on blockchain includes:
[0022] A monitoring module, wherein the monitoring module is configured to monitor a user's request for configuring at least one smart contract on the multiple BaaS platforms and an access request for updating blocks of the multiple BaaS platforms from the external system;
[0023] A processing module, wherein the processing module is configured to respond to a user's request for configuring at least one smart contract on the multiple BaaS platforms, generate a public-private key pair corresponding to accessing at least one external system, and reconfigure parameters of the multiple BaaS platforms based on the request of the smart contract, wherein the external system is linked to the block of the multiple BaaS platforms through the smart contract, wherein the access request includes verification information matching the public-private key pair;
[0024] An execution module, wherein the execution module is configured to generate a new block on the multiple BaaS platforms based on the smart contract in response to the access request.
[0025] According to an embodiment of the present invention, the processing module is configured to encrypt and update the access request for the multiple BaaS platform blocks by using a HasH algorithm after the access request for the multiple BaaS platform blocks is updated from the external system.
[0026] According to an embodiment of the present invention, the monitoring module is configured to monitor whether the multiple BaaS platforms generate new blocks in response to the access request. If so, the execution module outputs a successful on-chaining; if not, the execution module outputs a failed on-chaining.
[0027] According to another aspect of the present invention, the present invention provides a computer device, comprising one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, and when the instructions are executed by the device, the device executes the method as described in any one of the above items. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 A flow chart of the blockchain-based multi-platform BaaS docking method of the present invention is shown.
[0029] Figure 2 A swim lane diagram of the blockchain-based multi-platform BaaS docking method of the present invention is shown.
[0030] Figure 3 The structural block diagram of the multi-platform BaaS docking system based on blockchain described in the present invention is shown.
[0031] Figure 4 The structure block diagram of the computer device of the present invention is shown. DETAILED DESCRIPTION
[0032] The following description is used to disclose the present invention so that those skilled in the art can implement the present invention. The preferred embodiments described below are only examples, and those skilled in the art can think of other obvious variations. The basic principles of the present invention defined in the following description can be applied to other embodiments, variations, improvements, equivalents, and other technical solutions that do not deviate from the spirit and scope of the present invention.
[0033] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.
[0034] Exemplary blockchain-based multi-BaaS platform docking method
[0035] refer to Figure 1 and Figure 2 Specifically, the multi-platform BaaS docking method based on blockchain includes:
[0036] S1001, in response to a user's request for configuring at least one smart contract on the multiple BaaS platforms, generating a public-private key pair corresponding to accessing at least one external system, and reconfiguring parameters of the multiple BaaS platforms based on the request of the smart contract, wherein the external system is linked to the block of the multiple BaaS platforms through the smart contract;
[0037] S1002, monitoring an access request from the external system to update the multiple BaaS platform blocks, wherein the access request includes verification information matching the public-private key pair;
[0038] S1003: Based on the smart contract, respond to the access request and generate a new block on the multiple BaaS platforms.
[0039] It is understandable that when the specific businesses that the multiple BaaSs need to connect to are different, the parameters of the multiple BaaS platforms can be reconfigured through the relevant requests of the configured smart contracts, so that the external systems can be linked to the blocks of the multiple BaaS platforms through the smart contracts. In this way, the multiple BaaS platforms can be connected to the external systems required by different business scenarios, and when connecting, the multiple BaaS platforms do not need to care about the specific business scenarios, and the external systems in various fields do not need to care about the tedious connection work and complex technical knowledge of blockchain technology, so as to achieve rapid access to the blockchain, data on the chain, and the storage and traceability of the on-chain data, which can be seamlessly integrated with the businesses in various fields.
[0040] It is worth mentioning that the parameters of the reconfiguration of the multiple BaaS platforms include the network and routing of the multiple BaaS platforms. When reconfiguring the blockchain network of the multiple BaaS platforms, the organization information participating in the blockchain network can be reconfigured, nodes under the organization can be added for distributed data storage, CA information can be added, and the data can be uploaded to the chain to verify whether the organization information is safe. In addition, network channels can be added. When data is uploaded to the chain, different network channels can be corresponding. One network channel is one account book, which is also an important means for the subsequent business system to completely isolate data. In addition, it also includes channel contract configuration, that is, smart contracts need to execute specific business in the specified channel. Different businesses can create different network channels and install corresponding smart contracts to execute specific business. It also includes the reconfiguration of associated channel nodes. Multiple organizations can be associated under one channel, and multiple organization nodes can be added. The organization node is the location where the data is finally stored. When there are multiple nodes, the data is uploaded to the chain for distributed storage, which ensures the uniqueness and security of the data and makes the data more credible.
[0041] Furthermore, the method for connecting multiple BaaS platforms based on blockchain includes:
[0042] S1004, after monitoring the access request for updating the multiple BaaS platform blocks from the external system, encrypt the access request for updating the multiple BaaS platform blocks by using the HasH algorithm.
[0043] After the access requests of the multiple BaaS platform blocks are updated through the HasH algorithm, the data on the chain is more secure based on the irreversible characteristics of the HasH algorithm.
[0044] Furthermore, the method for connecting multiple BaaS platforms based on blockchain includes:
[0045] S1005, monitoring whether the multiple BaaS platforms generate new blocks in response to the access request, if yes, outputting the blocks on the chain is successful, if no, outputting the blocks on the chain fails.
[0046] Preferably, the method for connecting multiple BaaS platforms based on blockchain includes:
[0047] Send the result of failed upload; or
[0048] The result of the failed on-chain operation is displayed. In this way, the user can be notified so that the user can promptly check the relevant request for configuring at least one of the smart contracts.
[0049] In this way, the device for uploading data to the chain can be monitored in real time, especially for requests that fail to upload data to the chain, the user can be prompted so that the user can make timely corrections through manual intervention.
[0050] Furthermore, the method for connecting multiple BaaS platforms based on blockchain includes:
[0051] S1006, recording an access request from the external system to update the multiple BaaS platform blocks;
[0052] S1007, responding to the user's query request, displaying and updating data related to access requests for the multiple BaaS platform blocks.
[0053] Exemplary blockchain-based multi-BaaS platform docking system
[0054] refer to Figure 3 According to another aspect of the present invention, the present invention provides a multi-BaaS platform docking system based on blockchain, the multi-BaaS platform docking system based on blockchain includes a monitoring module 10, a processing module 20 and an execution module 30, wherein the monitoring module is configured to monitor the user's request for configuring at least one smart contract on the multi-BaaS platform and the access request for updating the multi-BaaS platform block from the external system, wherein the processing module is configured to respond to the user's request for configuring at least one smart contract on the multi-BaaS platform, generate a public-private key pair corresponding to access at least one external system, and reconfigure the parameters of the multi-BaaS platform based on the request of the smart contract, wherein the external system is linked to the block of the multi-BaaS platform through the smart contract, wherein the access request includes verification information matching the public-private key pair, wherein the execution module is configured to respond to the access request based on the smart contract and generate a new block on the multi-BaaS platform.
[0055] Preferably, the processing module is configured to encrypt and update the access requests for the multiple BaaS platform blocks by using a HasH algorithm after updating the access requests for the multiple BaaS platform blocks from the external system.
[0056] Preferably, the monitoring module is configured to monitor whether the multiple BaaS platforms generate new blocks in response to the access request. If so, the execution module outputs a successful on-chaining; if not, the execution module outputs a failed on-chaining.
[0057] Exemplary Computer Devices
[0058] Figure 4 This is a schematic diagram of the structure of an embodiment of the computer device of the present application, such as Figure 4 As shown, the above-mentioned computer device may include: one or more processors; memory; and one or more computer programs.
[0059] Among them, the above-mentioned computer device can be a computer, a server, a mobile terminal (mobile phone), a cash register device, a computer, a smart screen, a drone, an intelligent connected vehicle (Intelligent Connected Vehicle; hereinafter referred to as: ICV), a smart / intelligent car or a vehicle-mounted device and other devices.
[0060] The one or more computer programs are stored in the memory, and the one or more computer programs include instructions. When the instructions are executed by the device, the device performs the following steps:
[0061] In response to a user's request to configure at least one smart contract on the multiple BaaS platforms, generate a public-private key pair corresponding to accessing at least one external system, and reconfigure parameters of the multiple BaaS platforms based on the request of the smart contract, wherein the external system is linked to the block of the multiple BaaS platforms through the smart contract;
[0062] monitoring access requests from the external system to update the multiple BaaS platform blocks, wherein the access requests include verification information matching the public-private key pair;
[0063] Based on the smart contract, in response to the access request, a new block is generated on the multiple BaaS platforms.
[0064] Figure 4 The computer device shown can be a terminal device or a server, or a circuit device built into the terminal device or server. The device can be used to execute the application Figure 1The illustrated embodiment provides a method for docking multiple BaaS platforms based on blockchain.
[0065] like Figure 4 As shown, the computer device 900 includes a processor 910 and a memory 920. The processor 910 and the memory 920 can communicate with each other through an internal connection path to transmit control and / or data signals. The memory 920 is used to store computer programs, and the processor 910 is used to call and run the computer program from the memory 920.
[0066] The above-mentioned memory 920 can be a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM) or other types of dynamic storage devices that can store information and instructions, or it can be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, optical disc storage (including compressed optical disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), magnetic disk storage medium or other magnetic storage device, or it can also be any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer.
[0067] The processor 910 and the memory 920 may be combined into a processing device, or more commonly, they are independent components, and the processor 910 is used to execute the program code stored in the memory 920 to implement the above functions. In specific implementation, the memory 920 may also be integrated into the processor 910, or may be independent of the processor 910.
[0068] It should be understood that Figure 3 The computer device 900 shown can implement the present application Figure 1 The various processes of the method provided in the illustrated embodiment. The operations and / or functions of the various modules in the computer device 900 are respectively to implement the corresponding processes in the above method embodiments. For details, please refer to the present application Figure 1 To avoid repetition, the detailed description of the method embodiment is appropriately omitted here.
[0069] In addition, in order to make the functions of the computer device 900 more complete, the computer device 900 may also include one or more of a power supply 940 , an input unit 950 , and the like.
[0070] Optionally, the power supply 950 is used to provide power to various devices or circuits in the computer device.
[0071] It should be understood that Figure 3 The processor 910 in the computer device 900 shown may be a system on chip SOC, and the processor 910 may include a central processing unit (Central Processing Unit; hereinafter referred to as: CPU), and may further include other types of processors.
[0072] In summary, the various processors or processing units inside the processor 910 can work together to implement the previous method flow, and the corresponding software programs of the various processors or processing units can be stored in the memory 920.
[0073] The present application also provides a computer device, the device comprising a storage medium and a central processing unit, the storage medium may be a non-volatile storage medium, the storage medium stores a computer executable program, the central processing unit is connected to the non-volatile storage medium, and executes the computer executable program to implement the present application Figure 1 The method provided by the illustrated embodiment.
[0074] In the above embodiments, the processor involved may include, for example, a CPU, a DSP, a microcontroller or a digital signal processor, and may also include a GPU, an embedded neural network processor (Neural-network Process Units); the processor may also include necessary hardware accelerators or logic processing hardware circuits, such as ASICs, or one or more integrated circuits for controlling the execution of the program of the technical solution of the present application. In addition, the processor may have the function of operating one or more software programs, and the software programs may be stored in a storage medium.
[0075] The present application also provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the present application. Figure 1 The method provided by the illustrated embodiment.
[0076] The present application also provides a computer program product, which includes a computer program, which, when executed on a computer, enables the computer to execute the present application. Figure 1 The method provided by the illustrated embodiment.
[0077] Those of ordinary skill in the art will appreciate that the various units and algorithm steps described in the embodiments disclosed herein can be implemented in a combination of electronic hardware, computer software, and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0078] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0079] In several embodiments provided in the present application, if any function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory; hereinafter referred to as: ROM), random access memory (Random Access Memory; hereinafter referred to as: RAM), disk or optical disk, and other media that can store program codes.
[0080] The above is only a specific implementation of the present application. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. The protection scope of the present application should be based on the protection scope of the claims.
[0081] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The advantages of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.
[0082] It should be understood by those skilled in the art that the embodiments of the present invention described above and shown in the accompanying drawings are only examples and do not limit the present invention. The advantages of the present invention have been fully and effectively achieved. The functional and structural principles of the present invention have been demonstrated and explained in the embodiments, and the embodiments of the present invention may be deformed or modified in any way without departing from the principles.
Claims
1. A method for connecting multiple BaaS platforms based on blockchain, characterized in that: The method for connecting multiple BaaS platforms based on blockchain includes: In response to a user's request to configure at least one smart contract on the multiple BaaS platforms, generate a public-private key pair corresponding to accessing at least one external system, and reconfigure parameters of the multiple BaaS platforms based on the request of the smart contract, wherein the external system is linked to the block of the multiple BaaS platforms through the smart contract; Monitoring access requests from the external system to update the multi-BaaS platform blocks, wherein the access requests include verification information matching the public-private key pair; responding to the access requests based on the smart contract, generating new blocks on the multi-BaaS platforms; After monitoring the access request for updating the multiple BaaS platform blocks from the external system, encrypt the access request for updating the multiple BaaS platform blocks by using the HasH algorithm; In response to the access request, a new block is generated on the multiple BaaS platforms by synchronous or asynchronous on-chain uploading; Monitor whether the multiple BaaS platforms generate new blocks in response to the access request, if yes, the output is successfully uploaded to the chain, if no, the output is failed to be uploaded to the chain; Recording access requests from the external system to update the multiple BaaS platform blocks; In response to the user's query request, data related to access requests for updating the multiple BaaS platform blocks are displayed.
2. The method for connecting multiple BaaS platforms based on blockchain according to claim 1, characterized in that: Reconfiguring the parameters of the multiple BaaS platforms includes the networks and routings of the multiple BaaS platforms.
3. A docking system for implementing the docking method of multiple BaaS platforms based on blockchain as described in claim 1 or 2, characterized in that: The multi-BaaS platform docking system based on blockchain includes: A monitoring module, wherein the monitoring module is configured to monitor a user's request for configuring at least one smart contract on the multiple BaaS platforms and an access request for updating the multiple BaaS platform blocks from the external system; A processing module, wherein the processing module is configured to respond to a user's request for configuring at least one smart contract on the multiple BaaS platforms, generate a public-private key pair corresponding to accessing at least one external system, and reconfigure parameters of the multiple BaaS platforms based on the request of the smart contract, wherein the external system is linked to the block of the multiple BaaS platforms through the smart contract, wherein the access request includes verification information matching the public-private key pair; An execution module, wherein the execution module is configured to generate a new block on the multiple BaaS platforms based on the smart contract in response to the access request.
4. The multi-BaaS platform docking system based on blockchain according to claim 3 is characterized in that: The processing module is configured to encrypt and update the access request of the multiple BaaS platform blocks by using a HasH algorithm after the access request of the multiple BaaS platform blocks is updated from the external system.
5. The multi-BaaS platform docking system based on blockchain according to claim 3 is characterized in that: The monitoring module is configured to monitor whether the multiple BaaS platforms generate new blocks in response to the access request. If yes, the execution module outputs a successful on-chaining; if no, the execution module outputs a failed on-chaining.
6. A computer device comprising one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, cause the device to perform the method according to any one of claims 1 to 2.
Citation Information
Patent Citations
Blockchain service system docking method, device and equipment based on middleware gateway
CN111935174A
Intelligent contract supply chain trusted service method based on block chain
CN112801664A