CN116155711A - Block chain networking method, device, equipment and storage medium based on desensitization data - Google Patents

Block chain networking method, device, equipment and storage medium based on desensitization data Download PDF

Info

Publication number
CN116155711A
CN116155711A CN202211501338.6A CN202211501338A CN116155711A CN 116155711 A CN116155711 A CN 116155711A CN 202211501338 A CN202211501338 A CN 202211501338A CN 116155711 A CN116155711 A CN 116155711A
Authority
CN
China
Prior art keywords
organization
consensus
information
network
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211501338.6A
Other languages
Chinese (zh)
Other versions
CN116155711B (en
Inventor
唐坤
邓柯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chengdu Quality Starker Technology Co Ltd
Original Assignee
Chengdu Quality Starker Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Quality Starker Technology Co Ltd filed Critical Chengdu Quality Starker Technology Co Ltd
Priority to CN202211501338.6A priority Critical patent/CN116155711B/en
Publication of CN116155711A publication Critical patent/CN116155711A/en
Application granted granted Critical
Publication of CN116155711B publication Critical patent/CN116155711B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention belongs to the technical field of blockchains, solves the problem of how to realize privacy protection of sensitive data and openness of desensitized data when a alliance chain carries out service in the prior art, and provides a blockchain networking method, device, equipment and storage medium based on the desensitized data. Comprising the following steps: setting a public channel for synchronizing desensitization information for a alliance chain, wherein the public channel is a non-business transaction channel, other organizations outside the alliance chain send networking request information, and the public channel firstly adds an organization to be networked into the public channel and configures networking parameters according to consensus voting results of all the organizations; then adding the target alliance chain or constructing a new alliance chain. By setting the public channel, the desensitized data of any organization added into the public channel can be fully disclosed, and meanwhile, the public channel does not participate in actual business transaction among the organizations, so that the data security of the business transaction among the organizations in the alliance chain can be ensured.

Description

Block chain networking method, device, equipment and storage medium based on desensitization data
Technical Field
The invention relates to the technical field of blockchains, in particular to a blockchain networking method, device and equipment based on desensitized data and a storage medium.
Background
The block chain technology is built on a transmission network (also called a block chain network), distributed node equipment (hereinafter called nodes for short) in the transmission network generates block data by a preset consensus strategy by running a block chain program, and verifies and stores the block data by utilizing a chain data structure, so that a data tamper-proof mechanism is finally realized, and a safe and reliable technical new idea is provided for service development.
The blockchain comprises a public chain, a private chain and a alliance chain, wherein the alliance chain is only aimed at members of a certain group and a limited third party, the main group of the alliance chain comprises banks, insurance, securities, business associations, group enterprises and upstream and downstream enterprises, and the group is required to realize good confidentiality of sensitive data and good openness of desensitized data, so that all institutions in the blockchain can conduct safe transaction, and the institutions outside the alliance chain learn business information of the institutions in the alliance chain to facilitate business expansion. How to implement the above-mentioned actual service requirements on the blockchain is a urgent problem to be solved.
Disclosure of Invention
In view of the above, 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 how to implement privacy protection of sensitive data and openness of desensitized data when a federation chain performs service.
The technical scheme adopted by the invention is as follows:
the invention provides a block chain networking method based on desensitized data, which is based on at least one alliance chain network configuration public channel, wherein network organization to be accessed generates networking request information based on the desensitized data disclosed by the public channel, and the method comprises the following steps:
responding to networking request information of a network organization to be accessed to generate first consensus information;
according to the first consensus information, the public channel joins the network organization to be accessed into a first target alliance chain network, or the public channel constructs a second target alliance chain network for the network organization to be accessed and the first target organization;
wherein the common channel is a non-business transaction channel, the common channel maintained by at least one organization joining the common channel.
Preferably, the acquiring the networking request information includes:
according to the target desensitization information of the public channel, sending the first request information to a first target organization corresponding to the target desensitization information;
responding to the first request information to carry out identity verification on the network organization to be accessed, and generating a networking invitation code on the network organization to be accessed, which passes the identity verification;
and generating the networking request information according to the networking invitation code, wherein the networking request information comprises the networking invitation code.
Preferably, the first consensus information includes a first consensus result and a second consensus result, and the generating the first consensus information in response to the networking request information of the network 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;
and generating a second consensus result by using the second consensus mechanism according to the identity information of the networking request information to-be-networked organization.
Preferably, the generating the first consensus result by using the first consensus mechanism according to the invitation information of the networking request information includes:
acquiring the consensus sub-information of other consensus nodes in each second target organization;
if the consensus sub-information comprises target consensus information, using 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;
the target consensus information is the consensus sub information of a first target organization which issues the invitation information.
Preferably, if the first consensus result and the second consensus result are both allowed to join, the step of joining the network to be joined into the first target alliance chain network by the public channel according to the first consensus information, or the step of constructing a second target alliance chain network for the network to be joined into the first target alliance chain network by the public channel includes;
adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
and adding the network to be network-connected organization into the target alliance chain network by the public channel according to the second consensus result.
Preferably, if the first consensus result is permission to join, the second consensus result is refusal to join, and according to the first consensus information, the joining the network to be joined into the first target alliance chain network by the public channel or the constructing, by the public channel, the second target alliance chain network for the network to be joined into the first target alliance chain network by the public channel includes:
adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
and constructing the target alliance chain network according to the second consensus result and the organization parameters of the first target organization and the second target organization through the public channel.
Preferably, the generating the first consensus information in response to the networking request information of the network-to-be-networked organization includes:
broadcasting the networking request information to each second target organization;
generating the first consensus information by the consensus node of each second target organization according to the invitation information of the networking request information;
wherein the second target organization is an organization with voting rights capable of participating in consensus.
The invention also provides a block chain networking device based on the desensitization data, which configures a public channel based on at least one alliance chain network, and the network organization to be accessed generates networking request information based on the desensitization data disclosed by the public channel, comprising the following steps:
and a data consensus module: the method comprises the steps of generating first consensus information in response to networking request information of a network organization to be accessed;
and a data processing module: the public channel is used for adding the network organization to be accessed into a first target alliance chain network according to the first consensus information, or constructing a second target alliance chain network for the network organization to be accessed and the first target organization by the public channel;
wherein the common channel is a non-business transaction channel, the common channel maintained by at least one organization joining the common channel.
The invention also provides an electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any of the above.
The invention also provides a medium having stored thereon computer program instructions which when executed by a processor implement a method as claimed in any one of the preceding claims.
In summary, the beneficial effects of the invention are as follows:
the invention provides a block chain networking method, a device, equipment and a storage medium based on desensitization data, which are characterized in that a public channel for synchronizing desensitization information is arranged for a alliance chain, all organizations of the alliance chain are added into the public channel, the public channel is a non-business transaction channel and does not participate in actual business transaction among the organizations in the alliance chain, other organizations outside the alliance chain acquire interested desensitization data by accessing the public channel, and then networking request information is sent out so as to be capable of carrying out business with a target organization for issuing the desensitization information; aiming at the networking request information, the public channel hosts each organization conforming to the consensus voting of the alliance chain to carry out the consensus voting to obtain first consensus information, and the public channel completes the operation of joining the public channel of the organization to be networked and the parameter configuration after the network access according to the first consensus information; and then adding the network to be accessed into a alliance chain network comprising the target organization, or constructing a new alliance chain by the network to be accessed and the first target organization. By setting the public channel, the desensitized data of any organization added into the public channel can be fully disclosed, and meanwhile, the public channel does not participate in actual business transaction among the organizations, so that the data security of the business transaction among the organizations in the alliance chain can be ensured.
Drawings
In order to more clearly illustrate the technical solution of the embodiments of the present invention, the drawings required to be used in the embodiments of the present invention will be briefly described, and it is within the scope of the present invention to obtain other drawings according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a block chain networking method based on desensitized data in embodiment 1 of the invention;
FIG. 2 is a schematic diagram of the organization and common channels in a federation chain according to embodiment 1 of the present invention;
fig. 3 is a flowchart of a second consensus result of acquiring the first consensus information in embodiment 1 of the present invention;
FIG. 4 is a schematic flow chart of obtaining a joining target alliance chain network in embodiment 1 of the present invention;
FIG. 5 is a flow chart of acquiring and constructing a new alliance chain network in embodiment 1 of the present invention;
FIG. 6 is a schematic diagram of a common channel corresponding to multiple federation chains in embodiment 1 of the present invention;
FIG. 7 is a schematic diagram of the construction of a new common channel in embodiment 1 of the present invention;
FIG. 8 is a schematic diagram of a block chain networking device based on desensitized data according to embodiment 2 of the present invention;
fig. 9 is a schematic structural diagram of an electronic device in embodiment 3 of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more clear, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. In the description of the present invention, it should be understood that the terms "center," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like indicate orientations or positional relationships based on the orientation or positional relationships shown in the drawings, merely to facilitate description of the present application and simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present invention. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element. The various features of the invention and of the embodiments may be combined with one another without conflict, and are within the scope of the invention.
The block chain technology is realized on a block chain network, distributed node equipment (hereinafter referred to as nodes for short) in the block chain network realizes generation and consensus of block data by running a block chain program, finally realizes a tamper-proof mechanism of the data, and provides a safe and reliable technical new idea for service development.
For the convenience of understanding herein, the blockchain network structure referred to herein is briefly described herein, and in order to solve the problem of ensuring that sensitive data security and desensitized data are fully disclosed when a federation chain performs service, an organization or organizations are used as an organization, and a public channel added by all organizations is configured at the same time, and all organizations added to the public channel comprise at least one federation chain; the data of organizations in the alliance chain are fully disclosed by synchronizing the desensitized data to the public channel, and meanwhile, the public channel does not participate in actual business transaction among the organizations to ensure sensitive data isolation between the two organizations; wherein the desensitization data is business data of non-business secrets which can be disclosed, such as abstract information of bond products (such as product names, release time and the like); the sensitive data is business data of trade secrets that cannot be disclosed, such as actual subscription data of bond products (including price, user information, etc.).
It should be noted that any organization includes multiple nodes, and node types include consensus node, service node, and sequencing node; the corresponding business is needed to be used by the actual business, the public channel does not participate in business transaction, the business transaction comprises subscription, redemption, purchase and the like of financial products, the business channel is used for disclosing desensitization information and non-business, the non-business comprises new organization joining, the desensitization information comprises a summary of the financial products, and the summary of bonds is taken as an example: basic contents such as bond types and the like are included, and sensitive information such as subscription prices and the like are not included.
Point-to-point technology, also known as P2P Peer-to-Peer (Peer-to-Peer), is an internet architecture that relies on a community of users to exchange information without a central server. Unlike a central network system with a central server, each client of the peer-to-peer network is both a node and a server function.
Referring to fig. 2, fig. 2 illustrates a federated chain network configured with a common channel, and organizations a, B, C, and D are organizations that have joined the common channel; wherein, organization A, organization B, organization C and organization D form a alliance chain (1); in the block chain structure, other organizations can acquire desensitization data synchronized by each organization to a public channel from the public channel, so that basic information of a product being issued by each organization joining the public channel is known, and if a certain organization (organization N) is interested in a service corresponding to the desensitization data A synchronized by the organization A to the public channel, a alliance chain network joining the organization A can be proposed.
Example 1
Referring to fig. 1, fig. 1 is a block chain networking method based on desensitized data in embodiment 1 of the present invention, and a public channel is configured based on at least one alliance chain network, where the method includes:
s1: responding to networking request information of a network organization to be accessed to generate first consensus information;
specifically, after a network access organization sends networking request information, all organizations or part of appointed organizations added into a public channel carry out consensus on the networking request information to generate first consensus information; the tissue to be added is an external tissue, namely a tissue which is not added with a public channel; the networking request information includes joining a common channel and joining a federation chain network including the first target organization.
S2: according to the first consensus information, the public channel joins the network organization to be accessed into a first target alliance chain network, or the public channel constructs a second target alliance chain network for the network organization to be accessed and the first target organization;
wherein the common channel is a non-business transaction channel, the common channel maintained by at least one organization joining the common channel.
Specifically, the organization to be added is a first type of organization which is not added into the public channel, the first consensus information comprises a first consensus result and a second consensus result, the first consensus result is used for representing whether to allow to join the public channel, and the second consensus result is used for representing whether to allow to join the target alliance chain network; the consensus mechanism of the first consensus result and the second consensus result is different; when the first consensus result is that the joining of the public channel is allowed, the public channel joins the network organization to be joined into the public channel, and configures network parameters for the network organization to be joined, wherein the network parameters comprise ID, node number, organization authority and the like; if the first consensus result is to reject joining, rejecting joining the network to be joined to the public channel and the corresponding alliance chain network, for example: if the organization corresponding to the desensitization data does not have the voting right, the organization to be networked is refused to join the public channel, or the target organization is required to send out the invitation to the organization to be networked after the corresponding consensus is initiated by the alliance chain network, so as to obtain the networking invitation code through which the first consensus result passes. When the second consensus result is permission to be added, adding the network organization to be added into the target alliance chain network through a public channel; if the second consensus result is refusal to join, the public channel hosts the first target organization and the network-to-be-accessed organization to form a new alliance chain as a target alliance chain network, so that the data privacy of actual service transactions in the original alliance chain network can be ensured, the service personalized expansion of each organization in the alliance chain network can be completed, and the popularization and application of the blockchain in each field are facilitated.
In an embodiment, when a new alliance chain exists, configuring a second public channel for the new alliance chain by an original public channel, wherein each organization of the new alliance chain needs to add the second public channel, the second public channel has the same function as the first public channel, and the new alliance chain is separated from the original public channel, so that networking of the alliance chain and the public channel is completed; for example: the public channel added by a alliance chain (1) formed by an organization A, an organization B, an organization C and an organization D is recorded as a first public channel, and because the alliance chain (1) refuses the addition of an organization N, the first public channel establishes a new alliance chain network (recorded as an alliance chain (2)) and a second public channel for the organization A and the organization N, after the configuration of the second public channel is completed, the alliance chain (2) is separated from the first public channel, and each organization of the alliance chain (2) adds the second public channel; thus, while organization A joins the first common channel as a member of the federated chain (1), organization A also joins the second common channel as a member of the federated chain (2).
In an embodiment, referring to fig. 3, the first consensus information includes a first consensus result and a second consensus result, and the S1 includes:
s11: acquiring a first consensus mechanism and a second consensus mechanism;
s12: generating a first consensus result by using the first consensus mechanism according to the invitation information of the networking request information;
s13: and generating a second consensus result by using the second consensus mechanism according to the identity information of the networking request information to-be-networked organization.
Specifically, each consensus node generates a first consensus result by utilizing a first consensus mechanism according to the invitation information of the networking request information, wherein the first consensus mechanism comprises a first consensus result which is generated by refusing to join if the invitation information does not exist, or a first consensus result which agrees to join is generated; each consensus node generates a second consensus result by using a second consensus mechanism according to the identity information of the networking request information, and if the second consensus mechanism is that the same consensus result of each consensus node exceeds a threshold value, the joining is considered to be agreed, otherwise, the joining is refused; the networking requirement of the external organization is realized by adopting double different consensus mechanisms, so that the internal organization can be ensured to be capable of normally expanding services based on the block chain, and the business data security of the existing block chain organization can be ensured.
In an embodiment, the S12 includes:
s121: acquiring the consensus sub-information of other consensus nodes in each second target organization;
s122: if the consensus sub-information comprises target consensus information, using 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;
the target consensus information is the consensus sub information of a first target organization which issues the invitation information.
Specifically, it is preferred that an organization to be joined in a public channel is required to be subjected to consensus, any consensus node in a coalition chain receives the consensus results of other consensus nodes, if the organization corresponding to the consensus node is a first target organization, the consensus information of the consensus node is target consensus information, if the organization corresponding to the consensus node is not the first target organization, an initial consensus information is generated, and the non-first target organization replaces the initial consensus information of itself by the target consensus information existing in the other consensus nodes, so that a first consensus result is obtained.
In an embodiment, referring to fig. 4, if the first consensus result and the second consensus result are both allowed to join, S2 includes;
s21: adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
s22: and adding the network to be network-connected organization into the target alliance chain network by the public channel according to the second consensus result.
In an embodiment, referring to fig. 5, if the first consensus result is permission to join, the second consensus result is refusal to join, and S2 includes:
s23: adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
s24: and constructing the target alliance chain network according to the second consensus result and the organization parameters of the first target organization and the second target organization through the public channel.
Specifically, the first consensus result is that the network organization to be accessed is allowed to join a public channel, and then the public channel joins the network organization to be accessed into the public channel, and network parameters such as ID, authority, node number and the like are configured for the public channel; if the second consensus result is that the joining of the target alliance chain network is allowed, the public channel joins the target alliance chain network according to the network parameters configured by the network organization to be joined, and if the second consensus result is that the joining of the target alliance chain network is refused, the public channel establishes an alliance chain based on the network parameters configured by the network organization to be joined and the network parameters of the first target organization; thus, referring to FIG. 6, the common channel is common to all organizations of the federated chain (1) and the federated chain (2). Optionally, referring to fig. 7, a second common channel may be configured for all organizations of the federation chain (2), where the second common channel has the same function as the first common channel, and is not described in detail herein; taking a alliance chain (1) formed by an organization A, an organization B, an organization C and an organization D as an example, marking a public channel corresponding to the alliance chain (1) as a first public channel, and organizing N as a network organization to be accessed; if the second consensus result is refusal to join, the first public channel builds a alliance chain (2) based on network parameters of the organization A and the organization N; meanwhile, a second public channel can be additionally arranged for the alliance chain (2); if the second consensus result is that joining is allowed, joining organization N into the federation chain (1); as such, the federation chain (1) contains organization A, organization B, organization C, organization D, and organization N.
In one embodiment, the S1 includes:
s13: broadcasting the networking request information to each second target organization;
s14: generating the first consensus information by the consensus node of each second target organization according to the invitation information of the networking request information;
wherein the second target organization is an organization with voting rights capable of participating in consensus
Specifically, when the number of the organizations joining the public channel is large enough, if all the organizations participate in consensus, the consensus efficiency is reduced, so that part of the organizations are selected as consensus voting organizations in an election mode, and the organization participating in the consensus voting is recorded as a second target organization; aiming at different networking types, the second target organization is different, such as: when an organization to be added is added into a public channel, the number of the consensus voting organizations is m, and when the organization to be added is added into a alliance chain network, the number of the consensus voting organizations is n, wherein n is greater than or equal to m; the method can expand the organization quantity of the public channels and improve the consensus reliability of joining the target alliance chain networking.
In an embodiment, obtaining the networking request information includes:
according to the target desensitization information of the public channel, sending the first request information to a first target organization corresponding to the target desensitization information;
responding to the first request information to carry out identity verification on the network organization to be accessed, and generating a networking invitation code on the network organization to be accessed, which 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.
Specifically, after the network organization to be accessed acquires target desensitization information from a public channel, an application is put forward to a first target organization corresponding to the target desensitization information, the first target organization carries out auditing on the network organization to be accessed, if the network organization to be accessed accords with a transaction object of a released product of the first target organization, a networking invitation code is sent to the network organization to be accessed, the networking invitation code is used for generating networking invitation information, if the first target organization considers that the network organization to be accessed does not accord with the requirement, the first target organization is refused to provide the invitation code, and meanwhile, basic information of the auditing of the application is synchronized to the public channel, so that the reliability and traceability of the network organization to be accessed are improved; it should be noted that, the first target organization does not issue the audit information brought into the network organization to the alliance chain where the first target organization is located, so that the processing of invalid data by the alliance chain is reduced, and computer resources are saved.
The invention provides a block chain networking method based on desensitization data, which is characterized in that a public channel for synchronizing desensitization information is arranged for a alliance chain, all organizations of the alliance chain are added into the public channel, the public channel is a non-business transaction channel and does not participate in actual business transaction among organizations in the alliance chain, other organizations outside the alliance chain acquire interested desensitization data by accessing the public channel, and then networking request information is sent out so as to be capable of carrying out business with a target organization for issuing the desensitization information; aiming at the networking request information, the public channel hosts each organization conforming to the consensus voting of the alliance chain to carry out the consensus voting to obtain first consensus information, and the public channel completes the operation of joining the public channel of the organization to be networked and the parameter configuration after the network access according to the first consensus information; and then adding the network to be accessed into a alliance chain network comprising the target organization, or constructing a new alliance chain by the network to be accessed and the first target organization. By setting the public channel, the desensitized data of any organization added into the public channel can be fully disclosed, and meanwhile, the public channel does not participate in actual business transaction among the organizations, so that the data security of the business transaction among the organizations in the alliance chain can be ensured.
Meanwhile, by establishing a public channel, when each organization in the alliance chain issues a product, all data of the product does not need to be issued to the blockchain, and desensitized data of the product can be synchronized to the public channel; when a transaction request is obtained, all data are issued to the blockchain in a business transaction mode; as the block chain technology adopts the distributed account book technology, the product can be ensured to be obtained by more organizations as much as possible, and the problem that the block chain burden is increased due to overlarge data quantity required to be stored by the block chain can be avoided.
Example 2
Referring to fig. 8, the block chain networking method based on desensitization data of the present invention based on embodiment 1 further provides a block chain networking device based on desensitization data, wherein the block chain networking device configures a public channel based on at least one alliance chain network, and a network organization to be networked generates networking request information based on the desensitization data disclosed by the public channel, including:
and a data consensus module: the method comprises the steps of generating first consensus information in response to networking request information of a network organization to be accessed;
and a data processing module: the public channel is used for adding the network organization to be accessed into a first target alliance chain network according to the first consensus information, or constructing a second target alliance chain network for the network organization to be accessed and the first target organization by the public channel;
wherein the common channel is a non-business transaction channel, the common channel maintained by at least one organization joining the common channel.
In one embodiment, the networking request module includes:
application requesting unit: according to the target desensitization information of the public channel, sending the first request information to a first target organization corresponding to the target desensitization information;
identity checking unit: responding to the first request information to carry out identity verification on the network organization to be accessed, and generating a networking invitation code on the network organization to be accessed, which passes the identity verification;
networking invitation unit: and generating the networking request information according to the networking invitation code, wherein the networking request information comprises the networking invitation code.
In an embodiment, the first consensus information includes a first consensus result and a second consensus result, and the data consensus module includes:
parameter acquisition unit: acquiring a first consensus mechanism and a second consensus mechanism;
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;
a second consensus unit: and generating a second consensus result by using the second consensus mechanism according to the identity information of the networking request information to-be-networked organization.
In an embodiment, the second consensus unit comprises:
an information acquisition unit: acquiring the consensus sub-information of other consensus nodes in each second target organization;
an information replacement unit: if the consensus sub-information comprises target consensus information, using 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;
the target consensus information is the consensus sub information of a first target organization which issues the invitation information.
In an embodiment, if the first consensus result and the second consensus result are both allowed to join, the data processing module includes;
a first networking unit: adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
a second networking unit: and adding the network to be network-connected organization into the target alliance chain network by the public channel according to the second consensus result.
In an embodiment, if the first consensus result is permission to join, the second consensus result is refusal to join, and the data processing module includes:
parameter configuration unit: adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
the organization networking unit: and constructing the target alliance chain network according to the second consensus result and the organization parameters of the first target organization and the second target organization through the public channel.
In one embodiment, the data consensus module comprises:
information issuing unit: broadcasting the networking request information to each second target organization;
a transaction consensus unit: generating the first consensus information by the consensus node of each second target organization according to the invitation information of the networking request information;
wherein the second target organization is an organization with voting rights capable of participating in consensus.
The invention provides a block chain networking device based on desensitization data, which is characterized in that a public channel for synchronizing desensitization information is arranged for a alliance chain, all organizations of the alliance chain are added into the public channel, the public channel is a non-business transaction channel and does not participate in actual business transaction among organizations in the alliance chain, other organizations outside the alliance chain acquire interested desensitization data by accessing the public channel, and then networking request information is sent out so as to be capable of carrying out business with a target organization for issuing the desensitization information; aiming at the networking request information, the public channel hosts each organization conforming to the consensus voting of the alliance chain to carry out the consensus voting to obtain first consensus information, and the public channel completes the operation of joining the public channel of the organization to be networked and the parameter configuration after the network access according to the first consensus information; and then adding the network to be accessed into a alliance chain network comprising the target organization, or constructing a new alliance chain by the network to be accessed and the first target organization. By setting the public channel, the desensitized data of any organization added into the public channel can be fully disclosed, and meanwhile, the public channel does not participate in actual business transaction among the organizations, so that the data security of the business transaction among the organizations in the alliance chain can be ensured.
Meanwhile, by establishing a public channel, when each organization in the alliance chain issues a product, all data of the product does not need to be issued to the blockchain, and desensitized data of the product can be synchronized to the public channel; when a transaction request is obtained, all data are issued to the blockchain in a business transaction mode; as the block chain technology adopts the distributed account book technology, the product can be ensured to be obtained by more organizations as much as possible, and the problem that the block chain burden is increased due to overlarge data quantity required to be stored by the block chain can be avoided.
Example 3
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.
In particular, the processor may comprise a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured as one or more integrated circuits implementing embodiments of the present invention, the electronic device comprising at least one of: computers, mobile terminals, PCs, tablet computers, etc.
The memory may include mass storage for data or instructions. By way of example, and not limitation, the memory may comprise a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, magnetic tape, or universal serial bus (Universal Serial Bus, USB) Drive, or a combination of two or more of the foregoing. The memory may include removable or non-removable (or fixed) media, where appropriate. The memory may be internal or external to the data processing apparatus, where appropriate. In a particular embodiment, the memory is a non-volatile solid state memory. In a particular embodiment, the memory includes Read Only Memory (ROM). The ROM may be mask programmed ROM, programmable ROM (PROM), erasable PROM (EPROM), electrically Erasable PROM (EEPROM), electrically rewritable ROM (EAROM), or flash memory, or a combination of two or more of these, where appropriate.
The processor reads and executes the computer program instructions stored in the memory to implement any of the blockchain networking methods based on desensitized data in the first embodiment.
In one example, the electronic device may also include a communication interface and a bus. The processor, the memory and the communication interface are connected through a bus and complete communication with each other.
The communication interface is mainly used for realizing communication among the modules, the devices, the units and/or the equipment in the embodiment of the invention.
The bus includes hardware, software, or both that couple components of the electronic device to each other. By way of example, and not limitation, the buses may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a HyperTransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a micro channel architecture (MCa) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus, or a combination of two or more of the above. The bus may include one or more buses, where appropriate. Although embodiments of the invention have been described and illustrated with respect to a particular bus, the invention contemplates any suitable bus or interconnect.
It should be understood that the invention is not limited to the particular arrangements and instrumentality described above and shown in the drawings. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present invention are 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 steps, after appreciating the spirit of the present invention.
The functional blocks shown in the above-described structural block diagrams may be implemented in hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, a plug-in, a function card, or the like. When implemented in software, the elements of the invention are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine readable medium or transmitted over transmission media or communication links by a data signal carried in a carrier wave. A "machine-readable medium" may include any medium that can store or transfer information. Examples of machine-readable media include electronic circuitry, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, radio Frequency (RF) links, and the like. The code segments may be downloaded via computer networks such as the internet, intranets, etc.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. A blockchain networking method based on desensitized data, characterized in that a public channel is configured based on at least one alliance chain network, and a network organization to be networked generates networking request information based on desensitized information disclosed by the public channel, the method comprising:
responding to the networking request information of the network organization to be accessed to generate first consensus information;
according to the first consensus information, the public channel joins the network organization to be accessed into a first target alliance chain network, or the public channel constructs a second target alliance chain network for the network organization to be accessed and the first target organization;
wherein the common channel is a non-business transaction channel, the common channel maintained by at least one organization joining the common channel.
2. The desensitization data based blockchain networking method of claim 1, wherein obtaining the networking request information comprises:
according to the target desensitization information of the public channel, sending the first request information to a first target organization corresponding to the target desensitization information;
responding to the first request information to carry out identity verification on the network organization to be accessed, and generating a networking invitation code on the network organization to be accessed, which passes the identity verification;
and generating the networking request information according to the networking invitation code, wherein the networking request information comprises the networking invitation code.
3. The desensitized data based blockchain networking method of claim 1, wherein the first consensus information includes a first consensus result and a second consensus result, wherein generating the first consensus information in response to the networking request information of a network organization to be networked comprises:
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;
and generating a second consensus result by using the second consensus mechanism according to the identity information of the networking request information to-be-networked organization.
4. The method of claim 3, wherein generating a first consensus result using the first consensus mechanism based on the invitation information of the networking request information comprises:
acquiring the consensus sub-information of other consensus nodes in each second target organization;
if the consensus sub-information comprises target consensus information, using 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;
the target consensus information is the consensus sub information of a first target organization which issues the invitation information.
5. The method according to claim 3, wherein if the first consensus result and the second consensus result are both allowed to join, adding the network to be joined organization to a first target alliance chain network by the common channel or constructing a second target alliance chain network by the common channel to the network to be joined organization and the first target organization according to the first consensus information comprises;
adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
and adding the network to be network-connected organization into the target alliance chain network by the public channel according to the second consensus result.
6. The method according to claim 3, wherein if the first consensus result is permission to join, the second consensus result is rejection to join, and the joining the network to be joined to the first target alliance chain network by the common channel or the constructing a second target alliance chain network by the common channel to the network to be joined to the first target organization according to the first consensus information comprises:
adding the network organization to be accessed into the public channel according to the first consensus result, and configuring organization parameters for the network organization to be accessed by the public channel;
and constructing the target alliance chain network according to the second consensus result and the organization parameters of the first target organization and the second target organization through the public channel.
7. The desensitized data based blockchain networking method of any of claims 1-6, wherein the generating first consensus information in response to the networking request information of a to-be-networked organization comprises:
broadcasting the networking request information to each second target organization;
generating the first consensus information by the consensus node of each second target organization according to the invitation information of the networking request information;
wherein the second target organization is an organization with voting rights capable of participating in consensus.
8. A blockchain networking device based on desensitized data, characterized in that a public channel is configured based on at least one alliance chain network, and a network organization to be networked generates networking request information based on the desensitized data disclosed by the public channel, comprising:
and a data consensus module: the method comprises the steps of generating first consensus information in response to networking request information of a network organization to be accessed;
and a data processing module: the public channel is used for adding the network organization to be accessed into a first target alliance chain network according to the first consensus information, or constructing a second target alliance chain network for the network organization to be accessed and the first target organization by the public channel;
wherein the common channel is a non-business transaction channel, the common channel maintained by at least one organization joining the common channel.
9. An electronic device, comprising: at least one processor, at least one memory, and computer program instructions stored in the memory, which when executed by the processor, implement the method of any one of claims 1-7.
10. A storage medium having stored thereon computer program instructions, which when executed by a processor, implement the method of any of claims 1-7.
CN202211501338.6A 2022-11-28 2022-11-28 Block chain networking method, device, equipment and storage medium based on desensitization data Active CN116155711B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211501338.6A CN116155711B (en) 2022-11-28 2022-11-28 Block chain networking method, device, equipment and storage medium based on desensitization data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211501338.6A CN116155711B (en) 2022-11-28 2022-11-28 Block chain networking method, device, equipment and storage medium based on desensitization data

Publications (2)

Publication Number Publication Date
CN116155711A true CN116155711A (en) 2023-05-23
CN116155711B CN116155711B (en) 2024-09-24

Family

ID=86353338

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211501338.6A Active CN116155711B (en) 2022-11-28 2022-11-28 Block chain networking method, device, equipment and storage medium based on desensitization data

Country Status (1)

Country Link
CN (1) CN116155711B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190070888A (en) * 2017-12-13 2019-06-21 포항공과대학교 산학협력단 Apparatus and method for providing smartcontract channel service in off-chain, and system having the same
CN110827028A (en) * 2019-11-07 2020-02-21 湖北邮电规划设计有限公司 Data acquisition and transaction system and method based on block chain
CN114640684A (en) * 2022-03-31 2022-06-17 建信金融科技有限责任公司 Organization member extension method, processor and storage medium for federation chain
WO2022141060A1 (en) * 2020-12-29 2022-07-07 杭州趣链科技有限公司 Blockchain-based data on-chain method and apparatus, terminal, and storage medium
CN116248696A (en) * 2022-11-28 2023-06-09 成都质数斯达克科技有限公司 Block chain networking method, device, equipment and storage medium based on data isolation

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20190070888A (en) * 2017-12-13 2019-06-21 포항공과대학교 산학협력단 Apparatus and method for providing smartcontract channel service in off-chain, and system having the same
CN110827028A (en) * 2019-11-07 2020-02-21 湖北邮电规划设计有限公司 Data acquisition and transaction system and method based on block chain
WO2022141060A1 (en) * 2020-12-29 2022-07-07 杭州趣链科技有限公司 Blockchain-based data on-chain method and apparatus, terminal, and storage medium
CN114640684A (en) * 2022-03-31 2022-06-17 建信金融科技有限责任公司 Organization member extension method, processor and storage medium for federation chain
CN116248696A (en) * 2022-11-28 2023-06-09 成都质数斯达克科技有限公司 Block chain networking method, device, equipment and storage medium based on data isolation

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李雪涛: "基于区块链的无证书公钥系统设计与实现", 《中国优秀硕士论文电子期刊网》, 2 June 2022 (2022-06-02) *

Also Published As

Publication number Publication date
CN116155711B (en) 2024-09-24

Similar Documents

Publication Publication Date Title
CN109791671B (en) Method and system for realizing block chain
CN110009337B (en) Data processing method and device based on block chain
CN109417549B (en) Method and apparatus for providing information attestation using a centralized or distributed ledger
KR102624700B1 (en) Biometric identification and verification between IoT devices and applications
US20170346639A1 (en) Public Key Infrastructure based on the Public Certificates Ledger
CN109741068B (en) Online banking cross-row signing method, device and system
CN110020543B (en) Data processing method and device based on block chain
AU2017313687A1 (en) Dynamic cryptocurrency aliasing
WO2020088074A1 (en) Privacy transaction method and apparatus based on blockchain, and application method and apparatus therefor
CN111742531B (en) Profile information sharing
CN110569643A (en) traffic management method and device based on block chain network
CN110198265A (en) Information processing method, system, device, equipment and medium
CN113255014B (en) Data processing method based on block chain and related equipment
CN114978635A (en) Cross-domain authentication method and device, and user registration method and device
JP2022518960A (en) Network transaction verification method based on multiple nodes and its system and storage medium
CN112261003A (en) Safety authentication method and system for industrial internet edge computing node
EP3792855A1 (en) A method and system for executing fast and safe transactions involving a high-latency blockchain
CN116248696A (en) Block chain networking method, device, equipment and storage medium based on data isolation
US10867326B2 (en) Reputation system and method
CN116155711B (en) Block chain networking method, device, equipment and storage medium based on desensitization data
CN111915302A (en) Associated data processing method and device, electronic equipment and computer readable medium
CN109936542B (en) Distributed center-removing application
CN116957552A (en) System and method for trading audiovisual content based on blockchain and computer equipment
CN115511637A (en) Service reconciliation method, device, equipment and storage medium for block chain platform operator
CN111724165B (en) Block chain-based transaction verification method and device, electronic equipment and medium

Legal Events

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