Information management method, device and blockchain service system
By introducing multiple application servers and consensus mechanisms into the blockchain service system, the problem of poor advantages in multi-party collaboration and decentralized technology caused by centralized management is solved, and the multi-party collaboration and decentralized deployment of blockchain is realized. , improves the scalability and security of the system and adapts to the needs of multiple enterprises.
Patent Information
- Application Number
- CN202010602207.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-28
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-06-28
AI Technical Summary
The existing blockchain BaaS system is centralized management, which leads to a contrary to the advantages of multi-party collaboration and decentralized technology, with problems such as failure risk, imperfect data management, insufficient security isolation and difficulty in meeting the needs of multiple enterprises.
By introducing multiple application servers in the blockchain service system, each server is associated with at least one node, determining the association relationship of the target node according to data operation instructions, granting cooperative operation permissions to achieve management and access, and using a consensus mechanism to perform information Synchronize and add new nodes to ensure decentralized deployment and management.
It realizes multi-party collaboration of blockchain, reduces management concentration, improves system scalability and security, enhances data management and isolation mechanisms, adapts to the needs of multiple enterprises, and gives full play to the value of decentralized technology.
Smart Images

Figure CN113852655B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing technology, and in particular to an information management method, device and blockchain service system. Background Art
[0002] With the development of blockchain technology, blockchain-related products and services are also increasing. Blockchain as a Service (BaaS) is a new cloud service that combines blockchain technology to help users create, manage and maintain blockchain networks and applications. Compared with ordinary nodes and transaction nodes, the main purpose of BaaS nodes is to quickly establish the development environment you need, provide a series of operational services such as blockchain-based search queries, transaction submissions, data analysis, etc., to help developers verify their concepts and models more quickly.
[0003] At present, the mainstream blockchain BaaS system is to centrally manage the blockchain, and business logic and data processing need to be handled uniformly at the centralized application layer. As blockchain technology enters the application scenario of multi-party participation, this deployment method runs counter to the advantages of multi-party collaboration and on-chain consensus of blockchain, making it difficult for decentralized technology to exert its technical value. Summary of the invention
[0004] The purpose of the present invention is to provide an information management method, device and blockchain service system, which can better realize multi-party collaboration on the blockchain to alleviate the problem of over-centralization of existing blockchain management.
[0005] In a first aspect, an embodiment of the present invention provides an information management method, which is applied to a target application server in a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node; the method includes: if a data operation instruction sent by a user is received, determine the target node from the nodes included in the blockchain according to the data operation instruction; wherein the data operation instruction carries a target node identifier; determine whether the target node is associated with the target application server; determine the collaborative operation authority of the target application server relative to the target node according to the association judgment result, and operate on the information data of the target node based on the collaborative operation authority; wherein the collaborative operation authority includes management authority and / or access authority.
[0006] In a second aspect, an embodiment of the present invention further provides an information management method, which is applied to a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node; the method includes: if a data operation instruction sent by a user to a target application server is received, the target node is determined from the nodes included in the blockchain according to the data operation instruction; wherein the data operation instruction carries a target node identifier; if the target node is associated with the target application server, management operations and / or access operations are performed on the information data of the target node through the target application server; if the target node is not associated with the target application server, access operations are performed on the information data of the target node through the target application server, and / or management operations are performed on the target node through other application servers associated with the target node.
[0007] In a third aspect, an embodiment of the present invention further provides a blockchain service system for managing a blockchain; the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and different nodes synchronize information with each other through a consensus mechanism; each of the application servers is associated with at least one of the nodes, and the application server has management authority over the nodes associated with it.
[0008] In a fourth aspect, an embodiment of the present invention further provides an information management device, which is applied to a target application server in a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node; the device includes: a first node determination module, which is used to determine the target node from the nodes included in the blockchain according to the data operation instruction if a data operation instruction sent by a user is received; wherein the data operation instruction carries a target node identifier; a judgment module, which is used to judge whether the target node is associated with the target application server; a first operation module, which is used to determine the collaborative operation authority of the target application server relative to the target node based on the association judgment result, and operate on the information data of the target node based on the collaborative operation authority; wherein the collaborative operation authority includes management authority and / or access authority.
[0009] In a fifth aspect, an embodiment of the present invention further provides an information management device, which is applied to a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node; the device includes: a second node determination module, which is used to determine the target node from the nodes included in the blockchain according to the data operation instruction if a data operation instruction sent by a user to a target application server is received; wherein the data operation instruction carries a target node identifier; a second operation module, which is used to perform management operations and / or access operations on the information data of the target node through the target application server if the target node is associated with the target application server; a third operation module, which is used to perform access operations on the information data of the target node through the target application server if the target node is not associated with the target application server, and / or, perform management operations on the target node through other application servers associated with the target node.
[0010] In a sixth aspect, an embodiment of the present invention further provides an application server, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor executes the computer program, the steps of any one of the methods provided in the first aspect are implemented, or when the processor executes the computer program, the steps of the method provided in the second aspect are implemented.
[0011] In the seventh aspect, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores machine-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute any one of the methods provided in the first aspect, or cause the processor to execute the method provided in the second aspect.
[0012] The information management method, device and blockchain service system provided by the embodiment of the present invention are applied to the target application server in the blockchain service system. The blockchain service system is used to manage the blockchain and the blockchain service system includes multiple application servers. The blockchain contains multiple nodes. Each of the above application servers is associated with at least one node. Specifically, if a data operation instruction (carrying a target node identifier) sent by a user is received, the target node will be determined from the nodes contained in the blockchain according to the data operation instruction, and then it is determined whether the target node is associated with the target application server, thereby determining the collaborative operation authority of the target application server relative to the target node according to the association judgment result, and operating the information data of the target node based on the collaborative operation authority, wherein the collaborative operation authority includes management authority and / or access authority. The above method manages the blockchain by proposing a new type of blockchain service system, the blockchain service system includes multiple application servers, each server is associated with at least one node in the blockchain, and the target application server in the blockchain service system determines the target node according to the received data operation instruction, thereby operating the information data in the target node according to the association relationship between the target node and the target application server, thereby realizing management and use of the blockchain network. The embodiment of the present invention can utilize the target application server to manage and / or access the information data of the nodes in the blockchain, that is, to realize the multi-party collaborative operation of the blockchain through multiple application servers in the blockchain service system, thereby realizing decentralized deployment and management, and alleviating the problem of over-centralized management of existing blockchains.
[0013] The information management method, device and blockchain service system provided by the embodiment of the present invention are applied to the blockchain service system. The blockchain service system (including multiple application servers) is used to manage the blockchain (including multiple nodes). Each application server is associated with at least one node. If a data operation instruction (carrying a target node identifier) sent by a user to a target application server is received, the target node is determined from the nodes included in the blockchain according to the data operation instruction. If the target node is associated with the target application server, the target application server performs management operations and / or access operations on the information data of the target node. If the target node is not associated with the target application server, the target application server performs access operations on the information data of the target node, and / or other application servers associated with the target node perform management operations on the target node. The above method proposes a new type of blockchain service system, and multiple application servers in the blockchain service system perform multi-party collaborative work on the blockchain, thereby realizing decentralized deployment and management, and alleviating the problem of over-centralization of existing blockchain management. BRIEF DESCRIPTION OF THE DRAWINGS
[0014] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0015] Figure 1 A flowchart of an information management method provided by an embodiment of the present invention;
[0016] Figure 2 A schematic diagram of the structure of a blockchain service system provided by an embodiment of the present invention;
[0017] Figure 3 A schematic diagram of the structure of a PKI product provided by an embodiment of the present invention;
[0018] Figure 4 A flowchart of another information management method provided by an embodiment of the present invention;
[0019] Figure 5 A flowchart of another information management method provided by an embodiment of the present invention;
[0020] Figure 6 A flowchart of another information management method provided by an embodiment of the present invention;
[0021] Figure 7 A flowchart of another information management method provided by an embodiment of the present invention;
[0022] Figure 8 A schematic diagram of the structure of another blockchain service system provided by an embodiment of the present invention;
[0023] Fig. 9 A schematic diagram of the structure of an information management device provided by an embodiment of the present invention;
[0024] Fig.10 A schematic diagram of the structure of another information management device provided by an embodiment of the present invention;
[0025] Fig.11 A schematic diagram of the structure of an application server provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution of the present application will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.
[0027] The terms "including" and "having" and any variations thereof mentioned in the embodiments of the present application are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device including a series of steps or units is not limited to the listed steps or units, but may optionally include other steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or devices.
[0028] At present, the mainstream blockchain BaaS system is to centrally manage the blockchain, and business logic and data processing need to be handled uniformly at the centralized application layer. As blockchain technology enters the application scenario of multi-party participation, this deployment method runs counter to the advantages of multi-party collaboration and on-chain consensus of blockchain, making it difficult for decentralized technology to exert its technical value. Therefore, the current technical solutions mainly have the following problems: (1) The current centralized BaaS system is centralized, which runs counter to the decentralized advantages of multi-party collaboration and on-chain consensus of blockchain; (2) The centralized BaaS system has a high risk of failure. The technical solution of the centralized BaaS system is closely coupled with the business. The same BaaS server needs to be complexly configured and new functions are added according to different business needs. Once the centralized BaaS fails, it may affect other nodes and businesses, resulting in poor business scalability; (3) For the centralized BaaS system, there is a lack of perfect data management and security isolation mechanism. For the case of a single node crash, there is no clear crash fault tolerance security boundary, and there is a risk of data leakage; (4) The existing centralized BaaS system is relatively closed, and it is difficult to use this solution to quickly meet the needs of more enterprises in the future, which is not conducive to the construction of the blockchain ecosystem and it is difficult to bring greater value and development space to the industry. In order to improve the above problems, the embodiments of the present invention provide an information management method, device and blockchain service system, which can better realize multi-party collaboration on the blockchain to alleviate the problem of over-centralization of existing blockchain management.
[0029] To facilitate understanding of this embodiment, first, an information management method disclosed in an embodiment of the present invention is described in detail. The method is mainly applied to a target application server in a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node. In one embodiment, the above-mentioned application server can be a BaaS server, that is, the blockchain service system can include multiple BaaS servers, and each BaaS server is associated with at least one node in the blockchain, see Figure 1 The flowchart of an information management method shown in FIG. 1 mainly includes the following steps S102 to S106:
[0030] Step S102: If a data operation instruction sent by a user is received, a target node is determined from the nodes included in the blockchain according to the data operation instruction.
[0031] Among them, the data operation instruction carries the target node identifier. In one embodiment, the blockchain service system may also include a service platform corresponding to each application server, which can be understood as an operation interface of the application server facing the user, and the node identifiers contained in the blockchain are displayed to the user through the target platform corresponding to the target application server, so that the user can select the target node identifier to be operated from the displayed node identifiers. The target application server will receive the data operation instruction carrying the target node identifier, and thus determine the target node from the blockchain according to the target node identifier, and the target node is also the node to be operated by the user.
[0032] Step S104: determine whether the target node is associated with the target application server.
[0033] In practical applications, the application server can be associated with at least one node in the blockchain, see Figure 2 A structural diagram of a blockchain service system is shown in FIG. Figure 2 Taking the application server as a BaaS server as an example, the blockchain service system can connect one BaaS server to one or more nodes according to actual business needs. Figure 2 In the figure, BaaS server A1 is connected to node a1, BaaS server A2 is connected to node a2, BaaS server A3 is connected to node a3, BaaS server A4 is connected to node a4, and Bass server is connected to node, which can be understood as that the BaaS server is associated with the node. For example, BaaS server A1 is associated with node a1, but not with node a2, node a3 and node a4.
[0034] Step S106: determining the cooperation operation authority of the target application server relative to the target node according to the association judgment result, and operating the information data of the target node based on the cooperation operation authority.
[0035] Among them, the association judgment result may include that the target application server is associated with the target node, or that the target application server is not associated with the target node, and the collaborative operation authority includes management authority and / or access authority. In one embodiment, each BaaS server can manage the information data of the node connected to the BaaS server in the blockchain, and access and query the information data of the node not connected to the BaaS server in the blockchain, that is, if the association judgment result is that the target application server is associated with the target node, the collaborative operation authority of the target application server relative to the target node will be determined as management authority, and the target application server can perform management operations on the information data of the target node. If the association judgment result is that the target application server is not associated with the target node, the collaborative operation of the target application server relative to the target node will be determined as access authority, and the target application server will access the information data of the target node. In addition, the above-mentioned management authority may include one or more of creation authority, start authority, stop authority and deletion authority.
[0036] The information management method provided in the above embodiment manages the blockchain by proposing a new type of blockchain service system. The blockchain service system includes multiple application servers, each server is associated with at least one node in the blockchain, and the target application server in the blockchain service system determines the target node according to the received data operation instruction, so as to operate the information data in the target node according to the association relationship between the target node and the target application server, thereby realizing the management and use of the blockchain network. The embodiment of the present invention can use the target application server to manage and / or access the information data of the nodes in the blockchain, that is, it realizes the multi-party collaborative operation of the blockchain through multiple application servers in the blockchain service system, thereby realizing decentralized deployment and management, and alleviating the problem of over-centralization of existing blockchain management.
[0037] Taking into account the security of information management, when executing the above step S104, the embodiment of the present invention can verify whether the target node is legal, and if it is legal, determine whether the target node is associated with the target application server. In one embodiment, the target node can be verified by performing a PKI (Public Key Infrastructure) check to determine whether the target node is legal. Among them, PKI is the foundation and core of current network security construction. PKI verification uses certificates for public key management, and bundles the public key of the target node and other identification information of the target node together through a third-party trusted organization (certification center), wherein the other identification information of the target node includes information such as the node name, so as to verify the identity of the target node on the Internet. PKI combines public key cryptography with symmetric cryptography to realize automatic management of keys on the Internet and ensure the secure transmission of online data.
[0038] In practical applications, the legitimacy of the target node can be verified using a PKI product, wherein the PKI product can provide node certificate management services (such as issuing, creating, and revoking certificates), and can also provide corresponding key management services (such as key backup, recovery, and update). In one implementation, the present invention exemplarily provides a PKI product, see Figure 3 The structural diagram of a PKI product shown in the figure may include PKI strategy, software and hardware system, Certificate Authority (CA), Registration Authority (RA), certificate issuing system and PKI application, etc. Among them, PKI strategy may include establishment strategy or operation strategy of Certificate Authority CA, certificate issuance strategy, certificate receiving strategy, certificate revocation strategy, key generation strategy, key registration strategy, key storage strategy and key acquisition strategy, etc.; Certificate Authority CA is used to issue certificates, stipulate the validity period of certificates and ensure that certificates can be revoked when necessary by issuing Certificate Revocation List (CRL), etc.; Registration Authority RL is used to provide an interface between nodes and Certificate Authority CA, and submit certificate request to Certificate Authority CA by obtaining and authenticating the identity of nodes; Certificate issuing system is used to issue certificates.
[0039] After verifying the legitimacy of the target node, it is possible to determine whether the target node is associated with the target application server, and then determine the target application server's collaborative operation permissions relative to the target node based on the association determination result. In one embodiment, if the association determination result is that the target node is associated with the target application server, the target application server's collaborative operation permissions relative to the target node are determined to be management permissions; if the association determination result is that the target node is not associated with the target application server, the target application server's collaborative operation permissions relative to the target node are determined to be access permissions. Please continue to refer to the above Figure 2 For example, BaaS server A1 is associated with node a1, indicating that BaaS server A1 has management authority over node a1, while BaaS server A1 is not associated with node a2, node a3, and node a4, indicating that BaaS server A1 has access authority over node a2, node a3, and node a4.
[0040] In addition, the embodiment of the present invention can also use the above-mentioned blockchain service system to synchronize the information data of the nodes in the blockchain. In one implementation, the following steps 1 to 2 can be referred to:
[0041] Step 1, obtain the information data of the first node in the blockchain, and transmit the target data to be synchronized in the information data to the blockchain. The first node is a node in the blockchain associated with the target application server. For example, if the target application server is BaaS server A1, the first node can be node a1. In actual applications, each application server in the blockchain service system can obtain the information data in the associated node, and then use the information data to be synchronized as the target information data, and package the target information data and transmit it to the blockchain. The target information data can be selected by the user according to actual needs.
[0042] To ensure that the data is correct, the embodiment of the present invention needs to verify the integrity of the information data of the first node before transmitting the target data to be synchronized in the information data to the blockchain, and when it is determined that the information data of the first node is complete, the target data to be synchronized in the information data is transmitted to the blockchain. In one embodiment, the integrity of the information data can be verified using a hash tree.
[0043] Step 2: Determine at least one second node in the blockchain that needs to synchronize the target data, and synchronize the target data to at least one second node through a consensus mechanism. The second node is a node in the blockchain that is associated with an application server other than the target application server; and / or the second node is a node that is associated with the target application server and is different from the first node. In one embodiment, the second node that needs to be synchronized can be screened out from all nodes in the blockchain based on factors such as the content and size of the target information data. Assuming the above Figure 2 The blockchain in also includes node a5 ( Figure 2 (not shown in the figure), the BaaS server A1 is associated with both the node a1 and the node a5, and the first node is a1, then the second node may be one or more of the node a2, the node a3, the node a4 and the node a5.
[0044] In addition, the blockchain service system provided in the embodiment of the present invention also includes a service platform corresponding to each application server. The blockchain service system can also add new nodes to the blockchain. In one implementation, the addition of new nodes to the blockchain can be achieved by referring to the following steps a to d:
[0045] Step a, obtaining the new node request sent by the user through the service platform corresponding to the target application server, and sending the new node request to the node associated with the target application server in the blockchain, so that the blockchain synchronizes the new node request to the nodes associated with other application servers, and obtains the request results fed back by other application servers for the new node request. In one embodiment, the service platform may be provided with a new node control. Assuming that the target application server is BaaS server A1, a new node request is generated by responding to the user's touch operation on the new node control set in the service platform corresponding to BaaS server A1. The BaaS server A1 sends the new node request to node a1, and synchronizes the new node request in node a1 to nodes a2, a3 and a4 using the method shown in steps 1 to 2 above. The service platforms corresponding to the remaining BaaS servers can display the new node request, thereby collecting the request results of the remaining users for the new node request, wherein the request results may include allowing the addition of new nodes and rejecting the addition of new nodes. The remaining BaaS servers will also synchronize the request results to the remaining nodes except their own nodes using the method shown in steps 1 to 2 above. At this time, BaaS server A1 will be able to obtain the request result. In addition, when collecting the request results of the other users for the new node request, the embodiment of the present invention can obtain the request results by voting. When the proportion of the voting results that allow the new nodes is greater than the preset proportion, the request result is determined to be a result that allows the new nodes to be added. For example, the voting results of 3 of the above 4 nodes are to allow the new nodes to be added, and the preset proportion is 1 / 2. It is determined that the proportion of the voting results that allow the new nodes to be added is greater than the preset proportion, and then the request result is determined to be a result that allows the new nodes to be added. The embodiment of the present invention completes the addition of new nodes in the blockchain through the collaboration of multiple BaaS servers.
[0046] Step b, if the request result is to allow the addition of a new node, a trusted node list query request initiated by the new node is received through the service platform corresponding to the target application server, and the trusted node list is transmitted to the new node, so that the new node initiates an authentication request to the trusted nodes in the trusted node list. The trusted node list query request is used to inquire the target application server about the trusted node list, and the trusted node list contains authenticated node identifiers. The trusted node is also an authenticated node. By transmitting the trusted node list to the new node, the new node can send an authentication request to each trusted node based on the node identifier in the trusted node list, and each trusted node authenticates the new node. Each trusted node synchronizes the authentication result to the remaining nodes except itself, so that the target application server can know the authentication result of each trusted node.
[0047] Step c: If the trusted node successfully authenticates the new node, a service request for adding a new node is published on the blockchain. After the target application server learns that the new node has passed the trusted node authentication request, it will publish a service request for adding a new node on the blockchain, and then receive the feedback of the blockchain to add the new node authentication service and obtain the result of the service request for adding a new node.
[0048] Step d: If the blockchain successfully adds a new node for the service request, it is associated with the new node.
[0049] After the target application server receives the result of successful authentication of the newly added node by the trusted node, it is associated with the newly added node, that is, it has management authority over the newly added node, and establishes a trusted connection with the trusted node based on the new node authentication service. After that, data synchronization can be performed on the newly added node. The specific data synchronization method can refer to steps 1 to 2 provided in the above embodiment.
[0050] The above steps enable the addition of new nodes, so that application servers can be flexibly configured according to different business scenarios, reducing the mutual impact between different businesses and improving the scalability of the business. In addition, the blockchain service system can combine the scalable resources provided by the cloud platform to customize more secure and personalized solutions for industry and enterprise needs, bringing greater convenience, value and imagination space to enterprises, which is of great significance to better build a blockchain ecosystem.
[0051] For the information management method provided in the above embodiment, the embodiment of the present invention provides another information management method, which is applied to a blockchain service system, the blockchain service system is used to manage the blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node. Figure 4 The flowchart of another information management method shown in FIG. 4 mainly includes the following steps S402 to S406:
[0052] Step S402, if a data operation instruction sent by a user to a target application server is received, the target node is determined from the nodes included in the blockchain according to the data operation instruction. Among them, the data operation instruction carries a target node identifier. In one embodiment, the blockchain service system may also include a service platform corresponding to each application server, which can be understood as an operation interface of the application server facing the user, and the blockchain service system may receive data operation instructions sent by the user to the target application server through the service platform. In addition, an embodiment of the present invention also provides an implementation method for determining the target node from the blockchain according to the data operation instruction, and the node to be operated can be determined from the nodes included in the blockchain according to the data operation instruction, and then the legality of the node to be operated is verified. If the verification is legal, the node to be operated is determined as the target node. Since the data operation instruction carries a target node identifier, the node corresponding to the target node identifier in the blockchain can be determined as the node to be operated, and the legality of the node to be operated is verified through PKI verification. If the verification is legal, the node to be operated can be determined as the target node.
[0053] Step S404: If the target node is associated with the target application server, a management operation and / or access operation is performed on the information data of the target node through the target application server. Figure 2 Here, the BaaS server A1 is the target application server, and the node a1 is the target node. Since the BaaS server A1 is associated with the target node a1, management operations and / or access operations can be performed on the target node a1 through the BaaS server A1.
[0054] Step S406: If the target node is not associated with the target application server, access operations are performed on the information data of the target node through the target application server, and / or management operations are performed on the target node through other application servers associated with the target node. Figure 2 In the figure, BaaS server A1 is the target application server and node a2 is the target node. Since BaaS server A1 is not associated with target node a2, target node a1 can be accessed through BaaS server A1. Since BaaS server A2 is associated with target node a2, target node a2 can be accessed and / or managed through BaaS server A2.
[0055] The above-mentioned information management method provided by the embodiment of the present invention proposes a new type of blockchain service system, and performs multi-party collaborative work on the blockchain through multiple application servers within the blockchain service system, thereby realizing decentralized deployment and management, and alleviating the problem of over-centralized management of existing blockchains.
[0056] In one embodiment, the embodiment of the present invention can also synchronize the data information in the node through the blockchain service system. Specifically, the information data of the first node in the blockchain is obtained through the target application server, and the target data to be synchronized in the information data is transmitted to the blockchain; wherein the first node is a node in the blockchain associated with the target application server; at least one second node to which the target data needs to be synchronized is determined from the blockchain, and the target data is synchronized to at least one second node through a consensus mechanism; wherein the second node is a node in the blockchain associated with other application servers other than the target application server; and / or the second node is a node associated with the target application server and different from the first node. wherein, when the target data to be synchronized in the information data is transmitted to the blockchain, the integrity of the information data of the first node can be verified, and if the information data of the first node is complete, the target data to be synchronized in the information data is transmitted to the blockchain.
[0057] In one implementation, the embodiment of the present invention can also add a new node in the blockchain through the blockchain service system. Specifically, the service platform corresponding to the target application server obtains the new node request sent by the user, and sends the new node request to the node associated with the target application server in the blockchain, so that the blockchain synchronizes the new node request to the nodes associated with other application servers, and obtains the request results fed back by other application servers for the new node request; if the request result is to allow the new node to be added, the service platform corresponding to the target application server receives the trusted node list query request initiated by the new node, and transmits the trusted node list to the new node, so that the new node initiates an authentication request to the trusted nodes in the trusted node list; if the trusted node successfully authenticates the new node, a service request for adding the new node is published on the blockchain; if the blockchain successfully adds the new node for the service request, it is associated with the new node.
[0058] Based on the blockchain management method provided in the above embodiment, the embodiment of the present invention further illustrates the blockchain service system as a distributed BaaS service system as an example, wherein the application server includes multiple BaaS servers.
[0059] In one embodiment, see Figure 5 FIG. 1 is a flow chart of another information management method, which is applied to a BaaS server in the above-mentioned distributed BaaS system. The information management method mainly includes the following steps S502 to S508:
[0060] Step S502, obtain the target information data specified by the user in the first node associated with the BaaS server, and package the target information data into the blockchain. The target information data is the information data to be synchronized in the first node associated with the BaaS server. Each BaaS server in the distributed BaaS system can obtain the information data in the associated node, and then use the information data to be synchronized as the target information data, and package the target information data and transmit it to the blockchain. For example Figure 2 The BaaS server A1 in the example obtains a part of the information data from node a1 as the target information data, and then packages the target information data and transmits it to the blockchain.
[0061] Step S504: Filter out the second node that needs to be synchronized from the blockchain. Filter out the second node that needs to be synchronized from all nodes of the blockchain based on factors such as the target information data content and size. For example, Figure 2 In the blockchain, nodes a3 and a4 are selected as the second nodes that need to be synchronized, while node a2 does not need to synchronize the target information data.
[0062] Step S506, verify the integrity of the target information data transmitted to the blockchain. After the target information data is transmitted to the blockchain, in order to ensure that the data is correct, the integrity of the target information data transmitted to the blockchain can be verified. This step is an optional step. In other possible implementations, step S508 can also be performed directly after step S504.
[0063] Step S508, synchronizing the target information data to each target node. After the integrity verification of the target information data in the blockchain is completed, the target information data can be synchronized to each target node. When the target information data is determined to be updated, the information data in the target node is adjusted according to the updated target information data, so that the adjusted target node matches the updated target information data.
[0064] In another embodiment, in a distributed BaaS system, after a certain level of access control authority is granted to some target BaaS servers designated in the distributed BaaS system according to the user's wishes, these target BaaS servers can be operated by users in the blockchain in collaboration on the nodes associated with the BaaS servers. The operation content includes the addition, modification and deletion of data, etc., so as to collaboratively complete the business process according to a common smart contract. After the collaborative operation is completed, the operation record will be synchronized to the blockchain, and the BaaS server that performs the operation will be identified to ensure the traceability of the operation. The access authorization record generated in this process will trigger the "Authorization Evidence Contract" in the blockchain and be uploaded to the blockchain for storage. When it is necessary to cancel or update the access authorization, the content to be canceled and updated is selected and sent to the blockchain, triggering the "Authorization Evidence Contract" in the blockchain storage module, and uploading the updated access authorization record to the blockchain, thereby realizing the authority for collaborative operations on other BaaS platforms. Among them, the above-mentioned distributed BaaS collaboration content includes but is not limited to node information management and the addition of new nodes. See. Figure 6 The flowchart of another information management method shown is applied to the BaaS server in the above-mentioned distributed BaaS system. The information management method provided by the embodiment of the present invention may also include the following steps S602 to 608 to implement the management of node information:
[0065] Step S602, receiving a control instruction input by a user. The control instruction is also the above-mentioned data operation instruction. The distributed BaaS server first receives a control instruction input by a user through a service platform corresponding to the BaaS server. The control instruction carries a target node identifier of the target node pointed to on the blockchain.
[0066] Step S604, perform PKI verification on the target node pointed to by the control instruction. In specific implementation, the target node can be determined from the nodes of the blockchain according to the target node identifier carried by the control instruction, so as to perform PKI verification on the target node.
[0067] Step S606, after passing the PKI verification, the target node is operated. If the target node is a node associated with the BaaS server itself after passing the PKI verification, the target node is queried, written, modified, and other management operations are performed. Alternatively, if the target node is a node not associated with the BaaS server itself after passing the PKI verification, the target node is browsed, viewed, and other access operations are performed.
[0068] The above steps realize the internal collaboration of the distributed BaaS system. When performing node information management, the business coupling of the centralized BaaS system in the node management process can be avoided. In the distributed BaaS system, each BaaS server only manages a limited number of nodes. Therefore, it has a clear crash-tolerant safety boundary and a secure data management and isolation mechanism, which is more secure and reliable.
[0069] In another embodiment, see Figure 7 FIG. 1 is a flow chart of another information management method, which is applied to the BaaS server in the above-mentioned distributed BaaS system. The information management method mainly includes the following steps S702 to 708 to implement the addition of new nodes:
[0070] Step S702, receiving a trusted node list query request initiated by a newly added node through the service platform corresponding to the target BaaS server. In actual applications, a user initiates a request for a newly added node through the service platform corresponding to the target BaaS server and uploads it to the node associated with the target BaaS server in the blockchain. The blockchain synchronizes the request for a newly added node to the remaining nodes in the blockchain so that the remaining users can vote on the request for a newly added node. When the proportion of newly added nodes allowed in the voting results is greater than a preset proportion, the newly added result will be allowed, and the result of allowing newly added nodes will be synchronized in the blockchain. At this time, the newly added node will initiate a trusted node list query request to the target BaaS server, which will be received by the BaaS server.
[0071] In step S704, the target BaaS server feeds back the trusted node list to the newly added node according to the trusted node list inquiry request, so that the newly added node initiates a trusted node authentication request according to the trusted node list. For the function of adding new nodes in distributed collaboration, the BaaS system can be divided into a distributed BaaS subsystem (that is, the above-mentioned distributed BaaS system), a blockchain composed of trusted nodes, and newly added nodes to be added. The target BaaS server obtains the trusted node list through the distributed BaaS system search, and transmits the trusted node list to the newly added node. After the newly added node obtains the trusted node list, it initiates a trusted node authentication request to the trusted node, and then receives the trusted node authentication service fed back by the trusted node to obtain the trusted node authentication request result.
[0072] Step S706: If the newly added node passes the trusted node authentication request, a new node service request is published on the blockchain. After the target BaaS server learns that the newly added node has passed the trusted node authentication request, it will publish a new node service request on the blockchain, and then receive the new node authentication service feedback from the blockchain to obtain the new node service request result.
[0073] Step S708: If the service request for adding a new node is successful, an association is established between the target BaaS server and the newly added node, and data synchronization is performed on the newly added node. After the target BaaS server receives the result of the successful service request for adding a new node, it is associated with the newly added node, that is, it has management authority over the newly added node, and establishes a trusted connection with the trusted node according to the newly added node authentication service. After that, data synchronization can be performed on the newly added node. The specific data synchronization method can refer to steps S502 to S508 provided in the above embodiment.
[0074] The above steps enable the addition of new nodes, so that the BaaS server can be flexibly configured according to different business scenarios, reducing the mutual impact between different businesses and improving the scalability of the business. In addition, the distributed BaaS system can combine the scalable resources provided by the cloud platform to customize more secure and personalized solutions for industry and enterprise needs, bringing greater convenience, value and imagination space to enterprises, which is of great significance to better build a blockchain ecosystem.
[0075] For the above-mentioned blockchain service system, an embodiment of the present invention provides another blockchain service system, which is used to manage the blockchain. Figure 8 Another structural diagram of a blockchain service system is shown, in which the blockchain service system includes multiple application servers, which can be BaaS servers, and the blockchain includes multiple nodes. Different nodes synchronize information with each other through a consensus mechanism, and each application server is associated with at least one node, and the application server has management authority over the nodes associated with it, and the management content at least includes creating, starting, stopping, deleting, etc. nodes, and querying, writing, modifying, etc. information in the nodes. For example, BaaS server B1 is associated with node b1, BaaS server B2 is associated with node b2, and BaaS server B3 is associated with nodes b3 and b4.
[0076] The blockchain service system provided by the embodiment of the present invention can access the network through multiple distributed BaaS servers to manage and use the blockchain network, thereby facilitating a distributed BaaS system based on the consensus mechanism of the blockchain, realizing decentralized deployment and management, and alleviating the problem of over-centralization of existing blockchain management, so as to better play the value of decentralized technology, realize multi-party collaboration on the blockchain through the on-chain consensus mechanism, and truly implement the decentralized concept of the blockchain.
[0077] In a possible implementation, the application server has browsing authority over non-associated nodes, including browsing and viewing information in the nodes, etc. For example, the BaaS server B1 has management authority over the node b1, and the BaaS server B1 has browsing authority over the nodes b2, b3, and b4.
[0078] In addition, each node in the blockchain corresponds to a unique application server. For example, node b1 corresponds to a unique BaaS server B1, node b2 corresponds to a unique BaaS server B2, node b3 corresponds to a unique BaaS server B3, and node b4 corresponds to a unique BaaS server B3. Different nodes correspond to the same or different application servers. The BaaS server corresponding to node b4 is different from the BaaS servers corresponding to nodes a1 and b2, but the same as the BaaS server corresponding to node b3.
[0079] In the embodiment of the present invention, the information of each node is synchronized with each other through a consensus mechanism. The consensus mechanism can be considered as the common understanding, value, idea, etc. sought by different groups. The consensus reached on a certain aspect is to determine the way to reach a certain consensus and maintain the consensus.
[0080] There is no centralized institution like a bank in the blockchain system, so when transmitting information and transferring value, the consensus mechanism can solve and ensure the consistency and correctness of each transaction on all accounting nodes. This new consensus mechanism of the blockchain enables it to operate on a large scale and efficiently without relying on a centralized organization. Therefore, the consensus mechanism is also a necessary element and core part of the blockchain, and is the key to ensuring the continuous operation of the blockchain system.
[0081] In summary, compared with the existing centralized BaaS system based on blockchain, the embodiment of the present invention provides a distributed BaaS system based on the consensus mechanism of blockchain. In this BaaS system, for each node on the blockchain, there is a unique BaaS server corresponding to it. Each BaaS server can query and process the data of one or a limited number of nodes, and can browse the information of other nodes on the same chain with limited permissions. Each BaaS server can be flexibly expanded according to the business needs of the node.
[0082] In addition, compared with the centralized BaaS system, each BaaS server in the distributed BaaS system only manages one or a limited number of nodes, so it has a clear crash-tolerant security boundary and a secure data management and isolation mechanism, which is more secure and reliable. The distributed BaaS system combines the scalable resources and rich and diverse cloud computing products provided by the cloud platform to customize personalized solutions for various industries, bringing greater convenience, value and imagination space to enterprises. It can better create a credible industry blockchain solution and blockchain ecosystem.
[0083] For an information management method provided in the above embodiment, an embodiment of the present invention provides an information management device, which is applied to a target application server in a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node, see Fig. 9 The schematic diagram of the structure of an information management device shown in FIG. 1 may include the following parts:
[0084] The first node determination module 902 is used to determine the target node from the nodes included in the blockchain according to the data operation instruction if a data operation instruction sent by the user is received; wherein the data operation instruction carries the target node identifier.
[0085] The determination module 904 is used to determine whether the target node is associated with the target application server.
[0086] The first operation module 906 is used to determine the collaborative operation authority of the target application server relative to the target node according to the association judgment result, and operate the information data of the target node based on the collaborative operation authority; wherein the collaborative operation authority includes management authority and / or access authority.
[0087] The above-mentioned information management device provided by the embodiment of the present invention manages the blockchain by proposing a new type of blockchain service system. The blockchain service system includes multiple application servers, each server is associated with at least one node in the blockchain, and the target application server in the blockchain service system determines the target node according to the received data operation instruction, so as to operate the information data in the target node according to the association relationship between the target node and the target application server, thereby realizing the management and use of the blockchain network. The embodiment of the present invention can use the target application server to manage and / or access the information data of the nodes in the blockchain, that is, it realizes the multi-party collaborative operation of the blockchain through multiple application servers in the blockchain service system, thereby realizing decentralized deployment and management, and alleviating the problem of over-centralization of existing blockchain management.
[0088] In one implementation, the judgment module 904 is further used to: verify whether the target node is legal; if legal, determine whether the target node is associated with the target application server.
[0089] In one embodiment, the above-mentioned first operation module 906 is also used for: if the association judgment result is that the target node is associated with the target application server, determining that the collaborative operation permission of the target application server relative to the target node is management permission; if the association judgment result is that the target node is not associated with the target application server, determining that the collaborative operation permission of the target application server relative to the target node is access permission.
[0090] In one embodiment, the above-mentioned device also includes a synchronization module, which is used to: obtain information data of a first node in the blockchain, and transmit the target data to be synchronized in the information data to the blockchain; wherein the first node is a node in the blockchain associated with the target application server; determine at least one second node from the blockchain that needs to synchronize the target data, and synchronize the target data to the at least one second node through a consensus mechanism; wherein the second node is a node in the blockchain associated with other application servers other than the target application server; and / or, the second node is a node associated with the target application server and different from the first node.
[0091] In one embodiment, the blockchain service system also includes a service platform corresponding to each application server, and the above-mentioned device also includes a new module, which is used to: obtain a new node request sent by a user through the service platform corresponding to the target application server, and send the new node request to the node associated with the target application server in the blockchain, so that the blockchain synchronizes the new node request to the nodes associated with other application servers, and obtains the request results fed back by other application servers for the new node request; if the request result is to allow the new node to be added, receive a trusted node list query request initiated by the new node through the service platform corresponding to the target application server, and transmit the trusted node list to the new node, so that the new node initiates an authentication request to the trusted nodes in the trusted node list; if the trusted node successfully authenticates the new node, publish a service request for adding a new node in the blockchain; if the blockchain successfully adds the new node for the service request, it is associated with the new node.
[0092] In one embodiment, the synchronization module is also used to: verify the integrity of the information data of the first node; if the information data of the first node is complete, transmit the target data to be synchronized in the information data to the blockchain.
[0093] In one implementation, the application server includes a BaaS server.
[0094] For another information management method provided in the above embodiment, an embodiment of the present invention provides an information management device, which is applied to a blockchain service system, the blockchain service system is used to manage the blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each application server is associated with at least one node, see Fig.10 The schematic diagram of the structure of an information management device shown in FIG. 1 mainly includes the following parts:
[0095] The second node determination module 1002 is used to determine the target node from the nodes included in the blockchain according to the data operation instruction if a data operation instruction sent by the user to the target application server is received; wherein the data operation instruction carries the target node identifier.
[0096] The second operation module 1004 is used to perform management operations and / or access operations on the information data of the target node through the target application server if the target node is associated with the target application server.
[0097] The third operation module 1006 is used to perform access operations on information data of the target node through the target application server if the target node is not associated with the target application server, and / or perform management operations on the target node through other application servers associated with the target node.
[0098] The information management device provided in the above embodiment proposes a new type of blockchain service system, and performs multi-party collaborative work on the blockchain through multiple application servers within the blockchain service system, thereby realizing decentralized deployment and management and alleviating the problem of over-centralized management of existing blockchains.
[0099] The device provided in the embodiment of the present invention has the same implementation principle and technical effects as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.
[0100] The information management device provided in the embodiment of the present invention and the information management method provided in the above embodiment have the same technical features, and therefore can solve the same technical problems and achieve the same technical effects.
[0101] An application server provided by an embodiment of the present invention, such as Fig.11As shown, the application server 1100 includes a memory 1101 and a processor 1102. The memory stores a computer program that can be run on the processor. When the processor executes the computer program, the steps of the method provided in the above embodiment are implemented.
[0102] like Fig.11 As shown, the application server also includes: a bus 1103 and a communication interface 1104, and the processor 1102, the communication interface 1104 and the memory 1101 are connected via the bus 1103; the processor 1102 is used to execute the executable modules stored in the memory 1101, such as computer programs.
[0103] The memory 1101 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 1104 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0104] The bus 1103 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig.11 Only one bidirectional arrow is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0105] Among them, the memory 1101 is used to store programs, and the processor 1102 executes the program after receiving the execution instruction. The method executed by the device defined by the process disclosed in any embodiment of the present application can be applied to the processor 1102 or implemented by the processor 1102.
[0106] The processor 1102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 1102. The above processor 1102 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be combined to execute. The software module may be located in a storage medium mature in the art, such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 1101, and the processor 1102 reads the information in the memory 1101 and completes the steps of the above method in combination with its hardware.
[0107] Corresponding to the above-mentioned real-time data processing method, an embodiment of the present application also provides a computer-readable storage medium, which stores machine-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to execute the steps of the above-mentioned real-time data processing method.
[0108] The real-time data processing device provided in the embodiment of the present application can be specific hardware on the device or software or firmware installed on the device. The device provided in the embodiment of the present application, its implementation principle and the technical effect produced are the same as those in the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in the device embodiment can refer to the corresponding contents in the aforementioned method embodiment. It can be clearly understood by those skilled in the art that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can all refer to the corresponding processes in the aforementioned method embodiment, and will not be repeated here.
[0109] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0110] For another example, the division of the units is only a logical function division, and there may be other division methods in actual implementation. For another example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some communication interface, device or unit, which can be electrical, mechanical or other forms.
[0111] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0112] In addition, each functional unit in the embodiments provided in the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0113] If the 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 can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the real-time data processing 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, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store program codes.
[0114] It should be noted that similar numbers and letters represent similar items in the following figures. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are only used to distinguish the description and are not to be understood as indicating or implying relative importance.
[0115] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present application, which are used to illustrate the technical solution of the present application, rather than to limit it. The protection scope of the present application is not limited thereto. Although the present application is described in detail with reference to the aforementioned embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solution recorded in the aforementioned embodiments within the technical scope disclosed in the present application, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solution deviate from the scope of the technical solution of the embodiment of the present application. They should all be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. An information management method, characterized in that: A target application server applied to a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each of the application servers is associated with at least one of the nodes; the method includes: If a data operation instruction sent by a user is received, a target node is determined from the nodes included in the blockchain according to the data operation instruction; wherein the data operation instruction carries a target node identifier; By performing PKI verification on the target node, determining whether the target node is legitimate; If legal, determine whether the target node is associated with the target application server; Determine the collaborative operation authority of the target application server relative to the target node according to the association judgment result, and operate the information data of the target node based on the collaborative operation authority; wherein the collaborative operation authority includes management authority and / or access authority; The step of determining the collaborative operation authority of the target application server relative to the target node according to the association judgment result includes: If the association determination result is that the target node is associated with the target application server, determining that the collaborative operation authority of the target application server relative to the target node is a management authority; If the association determination result is that the target node is not associated with the target application server, it is determined that the cooperative operation permission of the target application server relative to the target node is the access permission.
2. The method according to claim 1, characterized in that The method further comprises: Obtain information data of a first node in the blockchain, and transmit target data to be synchronized in the information data to the blockchain; wherein the first node is a node in the blockchain associated with the target application server; At least one second node with which the target data needs to be synchronized is determined from the blockchain, and the target data is synchronized to the at least one second node through a consensus mechanism; wherein the second node is a node in the blockchain associated with an application server other than the target application server; and / or the second node is a node associated with the target application server and different from the first node.
3. The method according to claim 1, characterized in that The blockchain service system also includes a service platform corresponding to each application server, and the method also includes: Obtaining a new node request sent by a user through a service platform corresponding to the target application server, and sending the new node request to a node associated with the target application server in the blockchain, so that the blockchain synchronizes the new node request to nodes associated with other application servers, and obtains request results fed back by other application servers for the new node request; If the request result is to allow the new node to be added, receiving a trusted node list query request initiated by the new node through the service platform corresponding to the target application server, and transmitting the trusted node list to the new node, so that the new node initiates an authentication request to the trusted nodes in the trusted node list; If the trusted node successfully authenticates the newly added node, a service request for adding a new node is published on the blockchain; If the blockchain successfully adds the newly added node for the service request, the blockchain is associated with the newly added node.
4. The method according to claim 2, characterized in that: The step of transmitting the target data to be synchronized in the information data to the blockchain comprises: Verifying the integrity of the information data of the first node; If the information data of the first node is complete, the target data to be synchronized in the information data is transmitted to the blockchain.
5. The method according to claim 1, characterized in that: The application server includes a BaaS server.
6. An information management method, characterized in that: Applied to a blockchain service system, the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each of the application servers is associated with at least one of the nodes; the method includes: If a data operation instruction sent by a user to a target application server is received, a target node is determined from the nodes included in the blockchain according to the data operation instruction; wherein the data operation instruction carries a target node identifier; If the target node is associated with the target application server, performing management operations and / or access operations on the information data of the target node through the target application server; If the target node is not associated with the target application server, performing an access operation on the information data of the target node through the target application server, and / or performing a management operation on the target node through other application servers associated with the target node; Determining the target node from the nodes included in the blockchain according to the data operation instruction includes: According to the data operation instruction, a node to be operated is determined from the nodes included in the blockchain, and the legitimacy of the node to be operated is verified through PKI verification. If the verification is legal, the node to be operated is determined as the target node.
7. A blockchain service system, characterized in that: Used to manage the blockchain to implement the method described in any one of claims 1 to 5, or the method described in claim 6; The blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and different nodes synchronize information with each other through a consensus mechanism; Each of the application servers is associated with at least one of the nodes, and the application server has management authority over the nodes associated with it.
8. The system according to claim 7, characterized in that The application server has access rights to nodes that are not associated with the application server.
9. The system according to claim 7, characterized in that Each node in the blockchain corresponds to a unique application server; different nodes correspond to the same or different application servers; the application server includes a BaaS server.
10. An information management device, characterized in that: A target application server applied to a blockchain service system, wherein the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each of the application servers is associated with at least one of the nodes; the device includes: A first node determination module, configured to determine a target node from the nodes included in the blockchain according to a data operation instruction received from a user; wherein the data operation instruction carries a target node identifier; A judgment module, used to judge whether the target node is legal by performing a PKI check on the target node; if legal, judge whether the target node is associated with the target application server; A first operation module, used to determine the collaborative operation authority of the target application server relative to the target node according to the association judgment result, and operate the information data of the target node based on the collaborative operation authority; wherein the collaborative operation authority includes management authority and / or access authority; The first operation module is also used for: if the association judgment result is that the target node is associated with the target application server, determining that the collaborative operation permission of the target application server relative to the target node is management permission; if the association judgment result is that the target node is not associated with the target application server, determining that the collaborative operation permission of the target application server relative to the target node is access permission.
11. An information management device, characterized in that: Applied to a blockchain service system, the blockchain service system is used to manage a blockchain, and the blockchain service system includes multiple application servers, the blockchain includes multiple nodes, and each of the application servers is associated with at least one of the nodes; the device includes: A second node determination module, configured to determine a target node from nodes included in the blockchain according to a data operation instruction sent by a user to a target application server, if the data operation instruction is received; wherein the data operation instruction carries a target node identifier; A second operation module, configured to perform a management operation and / or an access operation on the information data of the target node through the target application server if the target node is associated with the target application server; A third operation module is used for, if the target node is not associated with the target application server, performing an access operation on the information data of the target node through the target application server, and / or performing a management operation on the target node through other application servers associated with the target node; The second node determination module is also used to: determine the node to be operated from the nodes included in the blockchain according to the data operation instruction, verify the legitimacy of the node to be operated through PKI verification, and if the verification is legal, determine the node to be operated as the target node.
12. An application server, comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: The processor implements the steps of the method described in any one of claims 1 to 5 when executing the computer program, or implements the steps of the method described in claim 6 when executing the computer program.
13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores machine-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions cause the processor to execute the method described in any one of claims 1 to 5, or cause the processor to execute the method described in claim 6.
