Blockchain networking method, device, equipment and storage medium based on desensitized data
By setting up a public channel in the alliance chain, synchronizing desensitized information and conducting consensus voting, the problem of privacy and openness of sensitive data in the alliance chain is solved, secure data transactions and business expansion are realized, and data security and reliability are ensured. sex.
Patent Information
- Application Number
- CN202211501338.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-28
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2042-11-28
AI Technical Summary
In the alliance chain, how to find a balance between ensuring the privacy of sensitive data and the publicity of desensitized data to achieve safe data transactions and business expansion.
By setting up a public channel for synchronizing desensitized information in the alliance chain, this channel is a non-business transaction channel. All organizations join this channel. The public channel does not participate in actual business transactions, and organizations outside the alliance chain are allowed to obtain it through this channel. Interested desensitized data, and conduct consensus voting based on the networking request information, complete the joining and parameter configuration of the organizations to be added to the network, or build a new alliance chain network.
It achieves the full disclosure of desensitized data, while ensuring the data security of business transactions between organizations in the alliance chain, avoiding data tampering and leakage, and promoting the application expansion of the blockchain.
Smart Images

Figure CN116155711B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain networking method, device, equipment and storage medium based on desensitized data. Background Art
[0002] Blockchain technology is built on a transmission network (also called a blockchain network). The distributed node devices in the transmission network (hereinafter referred to as nodes) run blockchain programs to generate block data based on preset consensus strategies, and use chain data structures to verify and store block data, ultimately realizing a data tamper-proof mechanism, providing a new, secure and reliable technical approach for business development.
[0003] Blockchain includes public chain, private chain and alliance chain. Alliance chain is only for members of a certain group and limited third parties. The main groups of alliance chain include banks, insurance, securities, business associations, group enterprises and upstream and downstream enterprises. Such groups need to achieve both good confidentiality of sensitive data and good publicity of desensitized data, so as to achieve safe transactions among institutions in the blockchain and for institutions outside the alliance chain to learn the business information of institutions in the alliance chain to facilitate business expansion. How to realize the above practical business needs on the blockchain is an urgent problem to be solved. Summary of the invention
[0004] In view of this, the embodiments of the present invention provide a blockchain networking method, apparatus, device and storage medium based on desensitized data, so as to solve the problem in the prior art of how to achieve the privacy protection of sensitive data and the publicity of desensitized data when conducting business in a consortium chain.
[0005] The technical solution adopted by the present invention is:
[0006] The present invention provides a blockchain networking method based on desensitized data, wherein a public channel is configured based on at least one alliance chain network, and an organization to be networked generates networking request information based on the desensitized data disclosed by the public channel. The method comprises:
[0007] In response to the networking request information of the organization to be networked, generating first consensus information;
[0008] According to the first consensus information, the public channel adds the organization to be admitted into the first target alliance chain network, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization;
[0009] The public channel is a non-business transaction channel, and the public channel is maintained by at least one organization that joins the public channel.
[0010] Preferably, obtaining the networking request information includes:
[0011] According to the target desensitized information of the public channel, sending the first request information to a first target organization corresponding to the target desensitized information;
[0012] In response to the first request information, an identity verification is performed on the organization to be added to the network, and a network invitation code is generated for the organization to be added to the network that passes the identity verification;
[0013] The networking request information is generated according to the networking invitation code, wherein the networking request information includes the networking invitation code.
[0014] Preferably, the first consensus information includes a first consensus result and a second consensus result, and the generating of the first consensus information in response to the networking request information of the organization to be networked includes:
[0015] Obtain the first consensus mechanism and the second consensus mechanism;
[0016] Generate a first consensus result using the first consensus mechanism according to the invitation information of the networking request information;
[0017] A second consensus result is generated by using the second consensus mechanism according to the identity information of the organization to be networked in the networking request information.
[0018] Preferably, generating a first consensus result by using the first consensus mechanism according to the invitation information of the networking request information includes:
[0019] Obtaining consensus sub-information of other consensus nodes in each second target organization;
[0020] If each of the consensus sub-information includes target consensus information, the target consensus information is used as the consensus sub-information of the current consensus node to obtain the first consensus result of the first consensus information;
[0021] The target consensus information is the consensus sub-information of the first target organization that publishes the invitation information.
[0022] Preferably, if both the first consensus result and the second consensus result are to allow joining, then according to the first consensus information, the public channel adds the organization to be admitted to the first target alliance chain network, or the public channel constructs a second target alliance chain network for the organization to be admitted and the first target organization, including:
[0023] According to the first consensus result, the organization to be added to the public channel, and the public channel configures organizational parameters for the organization to be added to the public channel;
[0024] According to the second consensus result, the organization to be admitted is added to the target alliance chain network through the public channel.
[0025] Preferably, if the first consensus result is to allow joining and the second consensus result is to refuse joining, the adding of the organization to be admitted to the first target alliance chain network by the public channel according to the first consensus information, or the building of a second target alliance chain network for the organization to be admitted and the first target organization by the public channel includes:
[0026] According to the first consensus result, the organization to be added to the public channel, and the public channel configures organizational parameters for the organization to be added to the public channel;
[0027] According to the second consensus result, the target alliance chain network is constructed through the public channel with the organizational parameters of the first target organization and the second target organization.
[0028] Preferably, generating the first consensus information in response to the networking request information of the organization to be networked includes:
[0029] Broadcasting the networking request information to each second target organization;
[0030] According to the invitation information of the networking request information, the consensus nodes of each of the second target organizations generate the first consensus information;
[0031] The second target organization is an organization that has voting rights and can participate in consensus.
[0032] The present invention also provides a blockchain networking device based on desensitized data, which configures a public channel based on at least one alliance chain network, and the organization to be networked generates networking request information based on the desensitized data disclosed by the public channel, including:
[0033] Data consensus module: used to generate first consensus information in response to the networking request information of the organization to be networked;
[0034] Data processing module: used for adding the organization to be admitted to the first target alliance chain network through the public channel according to the first consensus information, or building a second target alliance chain network for the organization to be admitted and the first target organization through the public channel;
[0035] The public channel is a non-business transaction channel, and the public channel is maintained by at least one organization that joins the public channel.
[0036] The present invention also provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, and when the computer program instructions are executed by the processor, any of the above-mentioned methods is implemented.
[0037] The present invention also provides a medium on which computer program instructions are stored, and when the computer program instructions are executed by a processor, any of the above-mentioned methods is implemented.
[0038] In summary, the beneficial effects of the present invention are as follows:
[0039] The blockchain networking method, device, equipment and storage medium based on desensitized data provided by the present invention set a public channel for synchronizing desensitized information for the alliance chain, all organizations of the alliance chain join the public channel, the public channel is a non-business transaction channel, and does not participate in the actual business transactions between organizations in the alliance chain. Other organizations outside the alliance chain obtain the desensitized data of interest by accessing the public channel, and then send a networking request information so that they can conduct business with the target organization that publishes the desensitized information; for the networking request information, the public channel hosts the consensus voting of each organization of the alliance chain that meets the consensus voting, and obtains the first consensus information, and the public channel completes the operation of joining the public channel and the parameter configuration after joining the network for the organization to be admitted according to the first consensus information; and then the organization to be admitted is added to the alliance chain network containing the target organization, or a new alliance chain is constructed with the organization to be admitted and the first target organization. By setting up a public channel, the desensitized data of any organization that joins the public channel can be fully disclosed to the outside world. At the same time, since the public channel does not participate in the actual business transactions between organizations, the data security of business transactions between organizations in the alliance chain can be guaranteed. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] In order to more clearly illustrate the technical solution of the embodiment of the present invention, the drawings required for use in the embodiment of the present invention will be briefly introduced below. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work, and these are all within the protection scope of the present invention.
[0041] Figure 1 This is a flow chart of a blockchain networking method based on desensitized data in Example 1 of the present invention;
[0042] Figure 2 This is a schematic diagram of the structure of organizations and public channels in the alliance chain in Example 1 of the present invention;
[0043] Figure 3 This is a schematic diagram of a process for obtaining a second consensus result of first consensus information in Embodiment 1 of the present invention;
[0044] Figure 4This is a schematic diagram of the process of obtaining and joining the target alliance chain network in Embodiment 1 of the present invention;
[0045] Figure 5 This is a schematic diagram of the process of obtaining and establishing a new alliance chain network in Example 1 of the present invention;
[0046] Figure 6 This is a schematic diagram of the structure of a public channel corresponding to multiple alliance chains in Example 1 of the present invention;
[0047] Figure 7 This is a schematic diagram of the structure of constructing a new common channel in Example 1 of the present invention;
[0048] Figure 8 This is a schematic diagram of the structure of a blockchain networking device based on desensitized data in Example 2 of the present invention;
[0049] Fig. 9 Schematic diagram of the structure of an electronic device in Embodiment 3 of the present invention. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solution and advantages of the embodiment of the present invention clearer, the technical solution in the embodiment of the present invention will be clearly and completely described in conjunction with the drawings in the embodiment of the present invention. It should be noted that, in this article, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply that there is any such actual relationship or order between these entities or operations. In the description of the present invention, it should be understood that the orientation or position relationship indicated by the terms "center", "upper", "lower", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation of the present invention. Moreover, the term "include", "comprise" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such a process, method, article or device. In the absence of further restrictions, the elements defined by the phrase "comprising..." do not exclude the existence of other identical elements in the process, method, article or device comprising the elements. If there is no conflict, the various features of the present invention and the embodiments can be combined with each other, all within the protection scope of the present invention.
[0051] Blockchain technology is implemented on the blockchain network. The distributed node devices in the blockchain network (hereinafter referred to as nodes) run blockchain programs to achieve the generation and consensus of block data, and ultimately realize the data tamper-proof mechanism, providing a new safe and reliable technical idea for business development.
[0052] To facilitate the understanding of this article, a brief description of the blockchain network structure involved in this article is given here. In order to solve the problem of ensuring the security of sensitive data and full disclosure of desensitized data when the alliance chain conducts business, this article regards one or more institutions as an organization, and configures a public channel to which all organizations join. All organizations joining the public channel include at least one alliance chain; by synchronizing desensitized data to the public channel, the data of organizations in the alliance chain are fully disclosed, and the public channel does not participate in actual business transactions between organizations to ensure the isolation of sensitive data between the two organizations; among them, desensitized data is non-commercial secret business data that can be disclosed, such as summary information of bond products (such as product name, issuance time, etc.); sensitive data is business data that is a commercial secret that cannot be disclosed, such as actual subscription data of bond products (including price, user information, etc.).
[0053] It should be noted that any organization includes multiple nodes, and the node types include consensus nodes, business nodes, and sorting nodes. The actual business requires the corresponding business channels, and the public channels do not participate in business transactions. Business transactions include the subscription, redemption, and purchase of financial products. Business channels are used to disclose desensitized information and non-transactional business. Non-transactional business includes the joining of new organizations. Desensitized information includes summaries of financial products. Taking bond summaries as an example: it includes basic content such as bond types, but does not include sensitive information such as subscription prices.
[0054] Peer-to-peer technology, also known as P2P, is an Internet system without a central server and relying on user groups to exchange information. Unlike a central network system with a central server, each user end of a peer-to-peer network is both a node and a server.
[0055] See also Figure 2 , Figure 2 An example of a consortium chain network configured with a public channel is given in the figure, where organizations A, B, C and D are organizations that have joined the public channel; among them, organizations A, B, C and D constitute a consortium chain①; organization N is an external organization that has not yet joined the public channel. In this blockchain structure, other organizations can obtain the desensitized data synchronized to the public channel by various organizations from the public channel, and then learn about the basic information of products being issued by various organizations that have joined the public channel. If an organization (organization N) is interested in the business corresponding to the desensitized data A synchronized to the public channel by organization A, it can propose to join the consortium chain network where organization A is located.
[0056] Example 1
[0057] See also Figure 1 , Figure 1 The blockchain networking method based on desensitized data in Embodiment 1 of the present invention configures a public channel based on at least one alliance chain network, and the method includes:
[0058] S1: generating first consensus information in response to the networking request information of the organization to be networked;
[0059] Specifically, after the organization to be added to the network sends out a networking request information, all the organizations or some designated organizations that have joined the public channel reach a consensus on the networking request information to generate first consensus information; wherein the organization to be added is an external organization, that is, an organization that has not joined the public channel; the networking request information includes joining the public channel and joining the alliance chain network that includes the first target organization.
[0060] S2: According to the first consensus information, the public channel adds the organization to be admitted into the first target alliance chain network, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization;
[0061] The public channel is a non-business transaction channel, and the public channel is maintained by at least one organization that joins the public channel.
[0062] Specifically, the organization to be joined is a first-class organization that has not joined the public channel. The first consensus information includes a first consensus result and a second consensus result. The first consensus result is used to characterize whether it is allowed to join the public channel, and the second consensus result is used to characterize whether it is allowed to join the target alliance chain network. The consensus mechanisms of the first consensus result and the second consensus result are different. When the first consensus result is to allow joining the public channel, the public channel will join the organization to be joined to the public channel and configure network parameters for the organization to be joined. The network parameters include ID, number of nodes, organizational authority, etc. If the first consensus result is to refuse to join, the organization to be joined will be refused to join the public channel and the corresponding alliance chain network. For example, if the organization corresponding to the desensitized data does not have voting rights, the organization to be joined will be refused to join the public channel, or the target organization needs to initiate the corresponding consensus in the alliance chain network before sending an invitation to the organization to be joined, so as to obtain the networking invitation code passed by the first consensus result. When the second consensus result is to allow joining, the public channel will add the organization to be admitted to the target alliance chain network; if the second consensus result is to refuse joining, the public channel will host the first target organization and the organization to be admitted to form a new alliance chain as the target alliance chain network, thereby ensuring the data privacy of actual business transactions in the original alliance chain network and completing the personalized business expansion of each organization in the alliance chain network, which is conducive to the promotion and application of blockchain in various fields.
[0063] In one embodiment, when a newly created alliance chain exists, the original public channel configures a second public channel for the newly created alliance chain. All organizations of the newly created alliance chain need to join the second public channel. The second public channel has the same function as the first public channel, and the newly created alliance chain is separated from the original public channel, thereby completing the networking of the alliance chain and the public channel; for example: the public channel joined by alliance chain ① consisting of organization A, organization B, organization C and organization D is recorded as the first public channel. Since alliance chain ① refuses organization N to join, the first public channel forms a new alliance chain network (recorded as alliance chain ②) and the second public channel for organization A and organization N. After the second public channel is configured, alliance chain ② is separated from the first public channel, and the organizations of alliance chain ② join the second public channel; in this way, while organization A joins the first public channel as a member of alliance chain ①, organization A also joins the second public channel as a member of alliance chain ②.
[0064] In one embodiment, see Figure 3 , the first consensus information includes a first consensus result and a second consensus result, and S1 includes:
[0065] S11: Obtain the first consensus mechanism and the second consensus mechanism;
[0066] S12: Generate a first consensus result using the first consensus mechanism according to the invitation information of the networking request information;
[0067] S13: Generate a second consensus result by using the second consensus mechanism according to the identity information of the organization to be networked in the networking request information.
[0068] Specifically, each consensus node generates a first consensus result using a first consensus mechanism based on the invitation information of the networking request information. The first consensus mechanism includes but is not limited to generating a first consensus result of refusing to join if there is no invitation information, and otherwise generating a first consensus result of agreeing to join; each consensus node generates a second consensus result based on the identity information of the networking request information using a second consensus mechanism. The second consensus mechanism is that if the same consensus result of each consensus node exceeds a threshold, it is considered to agree to join, otherwise it is rejected; using dual different consensus mechanisms to meet the networking needs of external organizations can ensure that internal organizations can normally expand their businesses based on blockchain, and can also ensure the security of commercial data of existing organizations on the blockchain.
[0069] In one embodiment, the S12 includes:
[0070] S121: Acquire the consensus sub-information of the other consensus nodes in each second target organization;
[0071] S122: If each of the consensus sub-information includes target consensus information, the target consensus information is used as the consensus sub-information of the current consensus node to obtain the first consensus result of the first consensus information;
[0072] The target consensus information is the consensus sub-information of the first target organization that publishes the invitation information.
[0073] Specifically, consensus needs to be reached on the organization to be joined in the public channel. Any consensus node in the alliance chain will receive the consensus results of other consensus nodes. If the organization corresponding to the consensus node is the first target organization, the consensus information of the consensus node is the target consensus information. If the organization corresponding to the consensus node is not the first target organization, an initial consensus information is generated. The non-first target organization uses the target consensus information received from other consensus nodes to replace its own initial consensus information, thus obtaining the first consensus result.
[0074] In one embodiment, see Figure 4 , if both the first consensus result and the second consensus result are to allow joining, then S2 includes;
[0075] S21: adding the organization to be added to the public channel according to the first consensus result, and configuring organizational parameters for the organization to be added to the public channel;
[0076] S22: According to the second consensus result, the public channel adds the organization to be added to the target alliance chain network.
[0077] In one embodiment, see Figure 5 If the first consensus result is to allow joining, and the second consensus result is to refuse joining, S2 includes:
[0078] S23: adding the organization to be added to the public channel according to the first consensus result, and configuring organizational parameters for the organization to be added to the public channel;
[0079] S24: According to the second consensus result, the target alliance chain network is constructed through the public channel with the organizational parameters of the first target organization and the second target organization.
[0080] Specifically, if the first consensus result is to allow the organization to join the public channel, the public channel will add the organization to the public channel and configure network parameters such as ID, permissions, and number of nodes for it; if the second consensus result is to allow the organization to join the target alliance chain network, the public channel will add it to the target blockchain network according to the network parameters configured by the organization to join the network; if the second consensus result is to refuse to join the target alliance chain network, the public channel will create a new alliance chain based on the network parameters configured for the organization to join the network and the network parameters of the first target organization; in this case, please refer to Figure 6 , the public channel is the public channel of all organizations in alliance chain ① and alliance chain ②. Optional, see Figure 7 , a second public channel can also be configured for all organizations of alliance chain ②. The second public channel has the same function as the first public channel. Please refer to the above embodiment and will not be repeated here. Taking alliance chain ① composed of organization A, organization B, organization C and organization D as an example, the public channel corresponding to alliance chain ① is recorded as the first public channel, and organization N is the organization to be admitted to the network. If the second consensus result is to refuse to join, the first public channel will form alliance chain ② based on the network parameters of organization A and organization N. At the same time, a second public channel can be added to alliance chain ②. If the second consensus result is to allow joining, organization N will be added to alliance chain ①. In this way, alliance chain ① includes organization A, organization B, organization C, organization D and organization N.
[0081] In one embodiment, the S1 includes:
[0082] S13: broadcasting the networking request information to each second target organization;
[0083] S14: According to the invitation information of the networking request information, the consensus nodes of each of the second target organizations generate the first consensus information;
[0084] The second target organization is an organization with voting rights and capable of participating in consensus.
[0085] Specifically, when there are enough organizations joining the public channel, if all organizations participate in the consensus, the consensus efficiency will be reduced. Therefore, some organizations are selected as consensus voting organizations through election, and the organizations participating in the consensus voting are recorded as the second target organizations; the second target organizations are different for different networking types, such as: when the organization to be joined joins the public channel, the number of consensus voting organizations is m, and when the organization to be joined joins the alliance chain network, the number of consensus voting organizations is n, and n is greater than or equal to m; it can not only expand the number of organizations in the public channel, but also improve the consensus reliability of joining the target alliance chain network.
[0086] In one embodiment, obtaining the networking request information includes:
[0087] According to the target desensitized information of the public channel, sending the first request information to a first target organization corresponding to the target desensitized information;
[0088] In response to the first request information, an identity verification is performed on the organization to be added to the network, and a network invitation code is generated for the organization to be added to the network that passes the identity verification;
[0089] Generate the networking request information according to the networking invitation code;
[0090] The networking request information includes the networking invitation code.
[0091] Specifically, after the organization to be admitted obtains the target desensitized information from the public channel, it submits an application to the first target organization corresponding to the target desensitized information. The first target organization reviews the organization to be admitted. If the organization to be admitted meets the transaction object of the product released by the first target organization, a networking invitation code is issued to the organization to be admitted, and networking invitation information is generated based on the networking invitation code. If the first target organization believes that the organization to be admitted does not meet the requirements, it refuses to provide it with an invitation code, and synchronizes the basic information of this application review to the public channel, so as to improve the reliability and traceability of the organization to be admitted. It should be noted that the first target organization will not publish the review information of the organization to be admitted to the alliance chain where the first target organization is located, thereby reducing the alliance chain's processing of invalid data and saving computer resources.
[0092] The blockchain networking method based on desensitized data provided by the present invention sets a public channel for synchronizing desensitized information for the alliance chain, and all organizations of the alliance chain join the public channel. The public channel is a non-business transaction channel and does not participate in the actual business transactions between organizations in the alliance chain. Other organizations outside the alliance chain obtain the desensitized data of interest by accessing the public channel, and then send a networking request message so that they can conduct business with the target organization that publishes the desensitized information; for the networking request message, the public channel hosts the consensus voting of each organization of the alliance chain that meets the consensus voting, and obtains the first consensus information. The public channel completes the operation of joining the public channel and the parameter configuration after joining the network for the organization to be admitted according to the first consensus information; and then the organization to be admitted is added to the alliance chain network containing the target organization, or a new alliance chain is constructed with the organization to be admitted and the first target organization. By setting up a public channel, the desensitized data of any organization that joins the public channel can be fully disclosed to the outside world. At the same time, since the public channel does not participate in the actual business transactions between organizations, the data security of the business transactions between organizations in the alliance chain can be guaranteed.
[0093] At the same time, by establishing a public channel, when organizations in the alliance chain release products, they do not need to publish all product data to the blockchain. They can synchronize the product's desensitized data to the public channel; when receiving a transaction request, all data will be published to the blockchain through business transactions; since blockchain technology uses distributed ledger technology, this can not only ensure that the product is obtained by as many organizations as possible, but also avoid the blockchain needing to store too much data, which increases the burden on the blockchain.
[0094] Example 2
[0095] See also Figure 8 The present invention further provides a blockchain networking device based on desensitized data based on the blockchain networking method based on desensitized data in Example 1, wherein a public channel is configured based on at least one alliance chain network, and the organization to be networked generates networking request information based on the desensitized data disclosed by the public channel, including:
[0096] Data consensus module: used to generate first consensus information in response to the networking request information of the organization to be networked;
[0097] Data processing module: used for adding the organization to be admitted to the first target alliance chain network through the public channel according to the first consensus information, or building a second target alliance chain network for the organization to be admitted and the first target organization through the public channel;
[0098] The public channel is a non-business transaction channel, and the public channel is maintained by at least one organization that joins the public channel.
[0099] In one embodiment, the networking request module includes:
[0100] An application request unit: sending the first request information to a first target organization corresponding to the target desensitized information according to the target desensitized information of the public channel;
[0101] Identity verification unit: performing identity verification on the organization to be added to the network in response to the first request information, and generating a network invitation code for the organization to be added to the network that passes the identity verification;
[0102] Networking invitation unit: generates the networking request information according to the networking invitation code, wherein the networking request information includes the networking invitation code.
[0103] In one embodiment, the first consensus information includes a first consensus result and a second consensus result, and the data consensus module includes:
[0104] Parameter acquisition unit: obtains the first consensus mechanism and the second consensus mechanism;
[0105] A first consensus unit: generating a first consensus result by using the first consensus mechanism according to the invitation information of the networking request information;
[0106] Second consensus unit: generates a second consensus result by using the second consensus mechanism according to the identity information of the organization to be networked in the networking request information.
[0107] In one embodiment, the second consensus unit includes:
[0108] Information acquisition unit: acquiring consensus sub-information of other consensus nodes in each second target organization;
[0109] Information replacement unit: if each of the consensus sub-information includes target consensus information, use the target consensus information as the consensus sub-information of the current consensus node to obtain the first consensus result of the first consensus information;
[0110] The target consensus information is the consensus sub-information of the first target organization that publishes the invitation information.
[0111] In one embodiment, if both the first consensus result and the second consensus result are to allow joining, the data processing module includes:
[0112] The first networking unit: according to the first consensus result, the organization to be added to the public channel, and the public channel configures organizational parameters for the organization to be added to the network;
[0113] The second networking unit: according to the second consensus result, the organization to be admitted is added to the target alliance chain network through the public channel.
[0114] In one embodiment, if the first consensus result is to allow joining and the second consensus result is to refuse joining, the data processing module includes:
[0115] A parameter configuration unit: according to the first consensus result, the organization to be added to the public channel, and the public channel configures the organization parameters for the organization to be added to the public channel;
[0116] Organization networking unit: According to the second consensus result, the target alliance chain network is constructed through the public channel with the organizational parameters of the first target organization and the second target organization.
[0117] In one embodiment, the data consensus module includes:
[0118] Information publishing unit: broadcasting the networking request information to each second target organization;
[0119] Transaction consensus unit: according to the invitation information of the networking request information, the consensus nodes of each second target organization generate the first consensus information;
[0120] The second target organization is an organization that has voting rights and can participate in consensus.
[0121] The present invention provides a blockchain networking device based on desensitized data, which sets a public channel for synchronizing desensitized information for the alliance chain. All organizations of the alliance chain join the public channel. The public channel is a non-business transaction channel and does not participate in the actual business transactions between organizations in the alliance chain. Other organizations outside the alliance chain obtain the desensitized data of interest by accessing the public channel, and then send a networking request message so that they can conduct business with the target organization that publishes the desensitized information. For the networking request message, the public channel hosts the consensus voting of each organization of the alliance chain that meets the consensus voting, and obtains the first consensus information. The public channel completes the operation of joining the public channel and the parameter configuration after joining the network for the organization to be admitted according to the first consensus information; then the organization to be admitted is added to the alliance chain network containing the target organization, or a new alliance chain is constructed with the organization to be admitted and the first target organization. By setting up a public channel, the desensitized data of any organization that joins the public channel can be fully disclosed to the outside world. At the same time, since the public channel does not participate in the actual business transactions between organizations, the data security of the business transactions between organizations in the alliance chain can be guaranteed.
[0122] At the same time, by establishing a public channel, when organizations in the alliance chain release products, they do not need to publish all product data to the blockchain. They can synchronize the product's desensitized data to the public channel; when receiving a transaction request, all data will be published to the blockchain through business transactions; since blockchain technology uses distributed ledger technology, this can not only ensure that the product is obtained by as many organizations as possible, but also avoid the blockchain needing to store too much data, which increases the burden on the blockchain.
[0123] Example 3
[0124] The present invention provides an electronic device and a storage medium, see Fig. 9 , comprising at least one processor, at least one memory and computer program instructions stored in the memory.
[0125] Specifically, the above-mentioned processor may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of an embodiment of the present invention, and the electronic device includes at least one of the following: a computer, a mobile terminal, a PC, a tablet computer, etc.
[0126] The memory may include a large capacity memory for data or instructions. By way of example and not limitation, the memory may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. Where appropriate, the memory may include a removable or non-removable (or fixed) medium. Where appropriate, the memory may be inside or outside a data processing device. In a particular embodiment, the memory is a non-volatile solid-state memory. In a particular embodiment, the memory includes a read-only memory (ROM). Where appropriate, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically rewritable ROM (EAROM) or a flash memory or a combination of two or more of these.
[0127] The processor implements any one of the blockchain networking methods based on desensitized data in the above-mentioned embodiment mode 1 by reading and executing computer program instructions stored in the memory.
[0128] In one example, the electronic device may further include a communication interface and a bus, wherein the processor, the memory, and the communication interface are connected via the bus and communicate with each other.
[0129] The communication interface is mainly used to implement communication between the modules, devices, units and / or equipment in the embodiments of the present invention.
[0130] Bus includes hardware, software or both, and the parts of electronic equipment are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In suitable cases, bus may include one or more buses. Although the embodiment of the present invention describes and shows a specific bus, the present invention considers any suitable bus or interconnection.
[0131] It should be clear that the present invention is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present invention is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present invention.
[0132] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present invention are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A blockchain networking method based on desensitized data. It is characterized in that Based on at least one alliance chain network configuring a public channel, the organization to be admitted to the network generates a networking request information based on the desensitized data disclosed by the public channel, and the method includes: Acquiring networking request information includes: sending a first request information to a first target organization corresponding to the target desensitized data according to the target desensitized data of the public channel; performing identity verification on the organization to be networked in response to the first request information, and generating a networking invitation code for the organization to be networked that passes the identity verification; generating the networking request information according to the networking invitation code, wherein the networking request information includes the networking invitation code; In response to the networking request information of the organization to be networked, generating first consensus information; the first consensus information includes a first consensus result and a second consensus result, and the generating of the first consensus information in response to the networking request information of the organization to be networked includes: acquiring a first consensus mechanism and a second consensus mechanism; generating a first consensus result by using the first consensus mechanism according to the invitation information of the networking request information; generating a second consensus result by using the second consensus mechanism according to the identity information of the organization to be networked in the networking request information; According to the first consensus information, the public channel adds the organization to be admitted into the first target alliance chain network, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization; Wherein, the public channel is a non-business transaction channel, and the public channel is maintained by at least one organization that joins the public channel; If both the first consensus result and the second consensus result are to allow joining, then according to the first consensus information, the public channel adds the organization to be admitted to the first target alliance chain network, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization, including: according to the first consensus result, adding the organization to be admitted to the public channel, and configuring the organization parameters for the organization to be admitted by the public channel; according to the second consensus result, adding the organization to be admitted to the target alliance chain network by the public channel; If the first consensus result is to allow joining and the second consensus result is to refuse joining, the public channel adds the organization to be admitted to the first target alliance chain network according to the first consensus information, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization, including: according to the first consensus result, adding the organization to be admitted to the public channel, and configuring the organizational parameters of the organization to be admitted by the public channel; according to the second consensus result, building the target alliance chain network with the organizational parameters of the first target organization and the second target organization through the public channel; wherein the second target organization is an organization with voting rights and can participate in consensus.
2. According to claim 1, the blockchain networking method based on desensitized data, It is characterized in that Generating a first consensus result by using the first consensus mechanism according to the invitation information of the networking request information includes: Obtaining consensus sub-information of other consensus nodes in each second target organization; If each of the consensus sub-information includes target consensus information, the target consensus information is used as the consensus sub-information of the current consensus node to obtain the first consensus result of the first consensus information; The target consensus information is the consensus sub-information of the first target organization that publishes the invitation information.
3. According to any one of claims 1 to 2, the blockchain networking method based on desensitized data, It is characterized in that The generating the first consensus information in response to the networking request information of the organization to be networked includes: Broadcasting the networking request information to each second target organization; According to the invitation information of the networking request information, the consensus nodes of each of the second target organizations generate the first consensus information; The second target organization is an organization that has voting rights and can participate in consensus.
4. A blockchain networking device based on desensitized data, It is characterized in that Based on at least one alliance chain network configuration public channel, the organization to be admitted to the network generates a network request information based on the desensitized data disclosed by the public channel, including: The networking request module specifically includes: an application request unit: according to the target desensitized data of the public channel, sending a first request message to a first target organization corresponding to the target desensitized data; Identity verification unit: performing identity verification on the organization to be added to the network in response to the first request information, and generating a network invitation code for the organization to be added to the network that passes the identity verification; A networking invitation unit: generating the networking request information according to the networking invitation code, wherein the networking request information includes the networking invitation code; Data consensus module: used to generate first consensus information in response to the networking request information of the organization to be networked; the first consensus information includes a first consensus result and a second consensus result, and the generation of the first consensus information in response to the networking request information of the organization to be networked includes: obtaining a first consensus mechanism and a second consensus mechanism; generating a first consensus result using the first consensus mechanism according to the invitation information of the networking request information; generating a second consensus result using the second consensus mechanism according to the identity information of the organization to be networked in the networking request information; Data processing module: used for adding the organization to be admitted to the first target alliance chain network through the public channel according to the first consensus information, or building a second target alliance chain network for the organization to be admitted and the first target organization through the public channel; Wherein, the public channel is a non-business transaction channel, and the public channel is maintained by at least one organization that joins the public channel; Specifically, if both the first consensus result and the second consensus result are to allow joining, then according to the first consensus information, the public channel adds the organization to be admitted to the first target alliance chain network, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization, including: according to the first consensus result, adding the organization to be admitted to the public channel, and configuring the organization parameters for the organization to be admitted by the public channel; according to the second consensus result, the public channel adds the organization to be admitted to the target alliance chain network; If the first consensus result is to allow joining and the second consensus result is to refuse joining, the public channel adds the organization to be admitted to the first target alliance chain network according to the first consensus information, or the public channel builds a second target alliance chain network for the organization to be admitted and the first target organization, including: according to the first consensus result, adding the organization to be admitted to the public channel, and configuring the organizational parameters of the organization to be admitted by the public channel; according to the second consensus result, building the target alliance chain network with the organizational parameters of the first target organization and the second target organization through the public channel; wherein the second target organization is an organization with voting rights and can participate in consensus.
5. An electronic device, It is characterized in that include: At least one processor, at least one memory and computer program instructions stored in the memory, when the computer program instructions are executed by the processor, implement the method according to any one of claims 1 to 3.
6. A storage medium having computer program instructions stored thereon, It is characterized in that When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 3 is implemented.
