CN114465866A - Block chain generation method and device, storage medium and electronic equipment - Google Patents

Block chain generation method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN114465866A
CN114465866A CN202210074868.0A CN202210074868A CN114465866A CN 114465866 A CN114465866 A CN 114465866A CN 202210074868 A CN202210074868 A CN 202210074868A CN 114465866 A CN114465866 A CN 114465866A
Authority
CN
China
Prior art keywords
node
voting
current
participation
block
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
CN202210074868.0A
Other languages
Chinese (zh)
Other versions
CN114465866B (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.)
Beihang University
Original Assignee
Beihang University
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 Beihang University filed Critical Beihang University
Priority to CN202210074868.0A priority Critical patent/CN114465866B/en
Publication of CN114465866A publication Critical patent/CN114465866A/en
Application granted granted Critical
Publication of CN114465866B publication Critical patent/CN114465866B/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/30Decision processes by autonomous network management units using voting and bidding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L2209/00Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
    • H04L2209/08Randomization, e.g. dummy operations or using noise
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses a block chain generation method and device, a storage medium and electronic equipment. The method comprises the following steps: acquiring a virtual resource value held by a current voting participation node; generating operation according to a history block participated by a current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node; determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; controlling the current voting participation node to execute voting operation according to the voting indication coefficient; a block chain is generated based on the voting results of the voting operations. The invention solves the technical problem of poor node system stability of the existing method for generating the block chain.

Description

Block chain generation method and device, storage medium and electronic equipment
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method and an apparatus for generating a blockchain, a storage medium, and an electronic device.
Background
Blockchain technology is a decentralized infrastructure and distributed computing paradigm that utilizes an encrypted chained blockstructure to verify and store data, utilizes a distributed node consensus algorithm to generate and update data, and utilizes automated script code to program and manipulate data. The consensus algorithm as a key technology of the blockchain directly influences the transaction processing capability, expandability and safety of the blockchain.
The DPoS (delete of Proof of stamp) mechanism is a consensus algorithm based on voting, and the basic idea is to divide nodes into two parts by voting, wherein one part of the nodes are common nodes, and the other part of the nodes are witness nodes. The ordinary nodes are only responsible for voting witness nodes, any node with tokens can vote, and the witness nodes are responsible for packaging, verifying and submitting data in the block chain.
In the DPoS mechanism, in the process of voting witness nodes, the ticket right of each node is only positively correlated with the number of tokens owned by the node, and the node can participate in the voting after being badly attacked, so that the node can become a witness node of the next round through actions such as bribing, ticket swiping and the like, or a new malicious node is cast with a ticket of the node to become a new malicious witness node. Once the malicious node becomes the witness node again, the security and stability of the whole system are threatened. That is to say, the existing block chain generation method based on the DPoS mechanism has the technical problem of poor node system stability.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for generating a block chain, a storage medium and electronic equipment, which are used for at least solving the technical problem of poor node system stability of the conventional method for generating the block chain.
According to an aspect of the embodiments of the present invention, there is provided a method for generating a block chain, including: acquiring a virtual resource value held by a current voting participation node; generating operation according to a history block participated by a current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node; determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; controlling the current voting participation node to execute voting operation according to the voting indication coefficient; a block chain is generated based on the voting results of the voting operations.
According to another aspect of the embodiments of the present invention, there is also provided an apparatus for generating a block chain, including: the first acquisition unit is used for acquiring a virtual resource value held by the current voting participation node; the second acquisition unit is used for generating operation according to the history block participated by the current voting participation node and acquiring an operation trust value corresponding to the current voting participation node; the determining unit is used for determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; the voting unit is used for controlling the current voting participation node to execute voting operation according to the voting indication coefficient; and the generating unit is used for generating the block chain based on the voting result of the voting operation.
According to a further aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the above method for generating a blockchain when running.
According to still another aspect of the embodiments of the present invention, there is also provided an electronic device, including a memory and a processor, where the memory stores a computer program, and the processor is configured to execute the above block chain generation method through the computer program.
In the embodiment of the invention, the virtual resource value held by the current voting participation node is acquired; generating operation according to a history block participated by a current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node; determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; controlling the current voting participation node to execute voting operation according to the voting indication coefficient; the block chain is generated based on the voting result of the voting operation, so that the ticket right of each node is simultaneously influenced by the virtual resource value and the trust value determined by the historical operation in the voting process, the ticket right of the node with malicious behavior in the historical behavior is influenced, the stability of a system for subsequently generating the block chain based on the voting result is improved, and the technical problem that the stability of the node system is poor in the conventional block chain generating method is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a hardware environment for an alternative blockchain generation method according to an embodiment of the present invention;
FIG. 2 is a flow chart of an alternative method of block chain generation in accordance with an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative method of block chain generation in accordance with an embodiment of the present invention;
FIG. 4 is a schematic diagram of an alternative method of block chain generation in accordance with an embodiment of the present invention;
FIG. 5 is a schematic diagram of an alternative block chain generation apparatus according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an alternative electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of the embodiments of the present invention, a method for generating a blockchain is provided, and optionally, as an optional implementation manner, the method for generating a blockchain may be applied, but not limited to, to an environment as shown in fig. 1.
According to an aspect of the embodiments of the present invention, a method for generating a block chain is provided, and as an alternative implementation, the method for generating a block chain may be, but is not limited to, applied to a system for generating a block chain in a hardware environment as shown in fig. 1. The system for generating the block chain may include, but is not limited to, the terminal device 102, the network 104, and the terminal device 109. The terminal device 102 runs a target client, and the target client is configured to execute the block chain generation method. The terminal device 102 includes a human-computer interaction screen, a processor and a memory. The man-machine interaction screen is used for displaying an interaction interface of the target client interface. The terminal device 109 operates with the same client as the terminal 102 to determine the generation result of the final block chain in response to the operation result of the terminal 102, and it is understood that the terminal device 109 may be a plurality of terminal devices.
The specific process comprises the following steps: in steps S102-S108, a virtual resource value held by a current voting participation node is obtained by a first client running in the terminal device 102; generating operation according to a history block participated by a current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node; determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; controlling the current voting participation node to execute voting operation according to the voting indication coefficient; subsequently, step S110 is executed, and the terminal apparatus 102 transmits voting information to the terminal apparatus 109 via the network 104; then, step S112 is executed, and the terminal device 109 responds to the terminal device 102 via the network 104 with voting information; finally, step S114 is executed, and the terminal device 102 generates a block chain based on the voting result of the voting operation. It will be appreciated that the terminal device 109 may also perform steps S102-S108 during the voting process to determine the final voting result. Meanwhile, the step S112 may be implemented through information interaction between the terminal device 102 and the terminal device 109.
Optionally, in this embodiment, the terminal device may be a terminal device configured with a target client, and may include, but is not limited to, at least one of the following: mobile phones (such as Android phones, iOS phones, etc.), notebook computers, tablet computers, palm computers, MID (Mobile Internet Devices), PAD, desktop computers, smart televisions, etc. The target client may be a video client, an instant messaging client, a browser client, an educational client, etc. Such networks may include, but are not limited to: a wired network, a wireless network, wherein the wired network comprises: a local area network, a metropolitan area network, and a wide area network, the wireless network comprising: bluetooth, WIFI, and other networks that enable wireless communication. The server may be a single server, a server cluster composed of a plurality of servers, or a cloud server. The above is merely an example, and this is not limited in this embodiment.
As shown in fig. 2, according to an aspect of the embodiment of the present invention, there is provided a method for generating a block chain, including:
s202, acquiring a virtual resource value held by the current voting participation node;
s204, generating operation according to the history block participated by the current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node;
s206, determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value;
s208, controlling the current voting participation node to execute voting operation according to the voting indication coefficient;
and S210, generating a block chain based on the voting result of the voting operation.
In the embodiment of the invention, the virtual resource value held by the current voting participation node is acquired; generating operation according to a history block participated by a current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node; determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; controlling the current voting participation node to execute voting operation according to the voting indication coefficient; the block chain is generated based on the voting result of the voting operation, so that the voting right of each node is simultaneously influenced by the owned virtual resource value and the trust value determined by the historical operation in the voting process, the voting right of the node with malicious behavior in the historical behavior is influenced, the stability of a system for subsequently generating the block chain based on the voting result is improved, and the technical problem that the stability of the node system is poor in the conventional block chain generating method is solved.
As an optional implementation manner, the obtaining an operation confidence value corresponding to the current voting participation node according to the history block generation operation participated in by the current voting participation node includes:
s1, identifying abnormal operation from the historical block generation operation participated by the current voting participation node, wherein the abnormal operation is the operation for preventing the blocks from being normally generated in the target time period;
and S2, updating the initial trust value distributed to the current voting participation node based on the abnormal operation to obtain an operation trust value.
It should be noted that, in the embodiment of the present application, two stages are mainly included, the first stage is a node voting stage, and the second stage is a block chain generation stage. The node completes each round of block generation stage, which is called a consensus cycle, and each consensus cycle is divided into a plurality of time intervals according to the block generation, wherein each time interval generates one block, and the bit stock is about 3 s. The credibility of the block can be evaluated by observing whether the block is correctly produced, whether block information is tampered, whether block verification is carried out and the like in the consensus process, namely the block production process, of the node, namely the credibility value of the node is adjusted according to the performance and behavior of the node in the consensus process.
In the present embodiment, the above abnormal operation may include, but is not limited to, the following:
(1) in the consensus process, as the current tile production node, tiles are not packed and broadcast within a specified time.
(2) In the consensus process, as the current block production node, the incorrect information is maliciously packaged and broadcasted.
(3) In the consensus process, as the verification node of the current block, the block needing verification is not verified, and any message is not broadcast.
(4) In the consensus process, as a verification node for the current block, the block is maliciously packaged and broadcast to other blocks.
(5) In the consensus process, as a witness node, a large amount of other false information is maliciously passed to other witness nodes.
For the above 5 malicious behaviors, the present embodiment divides the situations and reasons according to the occurrence of abnormal operations into severe abnormal operations and mild abnormal operations, because the judgment of abnormal operations of nodes in the blockchain network can only be made based on the results, but some of the reasons for these results may be malicious actions of the nodes, and another part may be information delays caused by other reasons such as network communication.
Specifically, the present embodiment determines the situation in (1) (2) (4) (5) above as a serious abnormal operation, and determines the situation in (3) above as a light abnormal operation.
Further, according to the operation performance of the node in the history block generation operation, assuming that the kth consensus operation in the current kth block generation operation cycle is performed, the confidence level of the node i is determined by the following formula:
Figure BDA0003483482660000071
in the formula (I), the compound is shown in the specification,
Figure BDA0003483482660000072
representing the node i kth block to generate the confidence value of the node after the t-th consensus of the period,
Figure BDA0003483482660000073
the kth block representing the node i generates the trust value of the node after t-1 times of consensus in the period.
Figure BDA0003483482660000074
Is determined according to the operation performance in the t-th consensus process of the kth block generation period of the node i. Alpha is a regulating coefficient and alpha is epsilon (0, 1)]The higher the value of alpha is, the more the judgment of the trust degree of the node by the system depends on the expression condition of the latest consensus of the node. And conversely, when the value of alpha is lower, the calculation of the trust degree of the system to the node is more dependent on the early operation performance of the node. Wherein the confidence level obtained by the t-th consensus performance of the node i in the k-th block generation period is represented
Figure BDA0003483482660000075
The determination method of (2) is classified into the following cases according to node performance, when no abnormal operation condition occurs to the node,
Figure BDA0003483482660000076
is determined by the following method:
Figure BDA0003483482660000081
trust (i) of the formulacurRepresenting the latest confidence value for node i, since the node did not operate abnormally in the kth consensus of the kth block generation cycle, the node is considered reliable at this stage. When the current trust degree of the node is smaller than the previous trust degree of 1/2, the current trust degree of the node is increased by 0.05 on the basis of the original trust degree, because the trust degree of the node is not high and is most likely to be a node which generates malicious behaviors before, the trust degree of the node is increased at a relatively slow speed, and the node is revised as a high-trust node only after multiple rounds of consensus determination. It is understood that, in the present embodiment, the information is sent through the above-mentioned nodesAnd the confirmation method of the arbitrary value controls the node trust value to be a value between 0 and 1.
If abnormal operation occurs in the t-th consensus of the k-th block generation period of the node i, according to the abnormal operation behavior type of the node,
Figure BDA0003483482660000082
is determined by the following method:
Figure BDA0003483482660000083
according to the method in the embodiment, the trust level of each node in the network can be updated according to the operation performance of the node in the block generation stage, the update of the trust level of the node depends on the trust level of the current node, and meanwhile, the prior consensus performance of the node is considered. If the nodes generate abnormal operation during consensus, punishment is carried out according to the severity of the operation of the nodes, if the nodes do not generate any abnormal operation behavior during consensus and successfully participate in the whole block generation process, the trust of the nodes is increased on the basis of the current trust to stimulate the nodes to continuously maintain honest performance, so that the stability of a system for subsequently generating a block chain based on voting results is improved, and the technical problem that the stability of the node system is poor in the existing block chain generation method is solved.
As an optional implementation, the determining, by using the virtual resource value and the operation confidence value, a voting weight corresponding to the current voting participation node includes:
s1, obtaining an initial voting indication coefficient corresponding to the virtual resource value;
and S2, determining the product value between the initial voting indication coefficient and the operation confidence value as the voting indication coefficient corresponding to the current voting participation section.
It is understood that in this embodiment, each node is capable of performing voting operations, and each node also has the right to be elected by other nodes. When calculating the number of votes of each node, the trust degree of each node is used as a correction index, and the correction mode is as follows:
Figure BDA0003483482660000091
where, trust (i) is the trust value of the node i, and vote (i) indicates the voting weight of the node i, i.e. the initial voting indication coefficient, and is positively correlated with the amount of the virtual resource owned by the node i. In an alternative approach, node i has a ticket weight equal to the number of tokens it has. For example, when node i owns 100 tokens, the ticket weight of node i is 100 tickets.
Figure BDA0003483482660000092
(i) The voting weight of the node i after correction is the voting indication coefficient obtained through correction.
As an optional manner, for a node that obtains a ticket, in this embodiment, the number of tickets obtained may also be corrected according to the trust value, and the correction method is as follows:
Figure BDA0003483482660000093
where trust (i) is the trust value of node i, getVote (i) indicates the number of votes obtained for node i.
Figure BDA0003483482660000094
And obtaining the ticket number of the corrected node i.
In a specific embodiment, assuming that node i has 150 voting rights, l has 200 voting rights, the confidence of node i is 0.8, and the confidence of node l is 0.5, if Bob and Alice cast the votes to m, and the confidence of node m is 0.7, the actual vote weight of node i is 150 × 0.8 — 120, the actual vote weight of node l is 200 × 0.5 — 100, and the vote count of node m is (120+100) × 0.7 — 154.
Through the above embodiments of the present application, an initial voting indication coefficient corresponding to the virtual resource value is obtained; and determining the product value between the initial voting indication coefficient and the operation trust value as a mode of determining the voting indication coefficient corresponding to the current voting participation node, so that the trust of the node can directly influence the election right of the node and the election result of a witness, the node can ensure that the trust of the node is always in a high level and is more important, the abnormal operation probability of each node is reduced, and the technical effect of maintaining the stability of the system is realized.
As an optional implementation manner, the controlling the current voting participation node to perform the voting operation according to the voting indication coefficient includes:
s1, based on the private key value of the voting participation node, obtaining the random number matched with the voting participation node;
it is to be understood that, in the present embodiment, any random number generation manner may be adopted to generate the random number based on the private key value of the voting participation node. As an alternative, a VRF (verifiable Random Function) may be used to generate the Random numbers, it should be noted that VRF can map the input to a verifiable pseudo-Random output.
S2, carrying out hash operation to the private key value of each object node receiving the vote of the voting participation node and the random number of the voting participation node to obtain the voting verification parameter matched with the object node;
s3, determining that the voting operation performed by the voting participation node on the object node is successful under the condition that the voting verification parameter is less than or equal to the first threshold;
and S4, determining that the voting operation performed by the voting participation node on the object node fails in the case that the voting verification parameter is greater than the first threshold.
As a specific embodiment, the method comprises the following specific steps:
and S1, in the voting starting stage, each node generates a corresponding random number according to the private key of the node and by taking the hash value of the last generated block as info. Namely, (result, proof) ═ VRF _ (sk, info). sk is a node private key, result represents a generated random number, and proof is a random number certificate.
S2, judging the set of node voting objects through random numbers, wherein the specific method is as follows:
Figure BDA0003483482660000111
where hash represents the length of the hash algorithm output and voted represents the private key value of the voted object. If threshold is less than or equal to 1/2, the node is considered to be able to vote for the object, otherwise the node is considered to have no right to vote for the object.
And S3, randomly and unidirectionally voting by the nodes according to the voting object set.
S4, verifying the voting of the node, wherein the specific verification method comprises two steps, firstly verifying whether the result is a random number, and calculating the verification according to the following formula:
False/True=VRF_Verify(pk,info,result,proof)
if the node passes through the threshold, whether the threshold is less than or equal to 1/2 is further calculated, if the threshold is less than or equal to 1/2, the voting behavior of the node is considered to be valid, otherwise, the voting behavior of the node is considered to be invalid.
And S5, finishing voting, and selecting a corresponding node as a witness node according to the voting result.
Through the embodiment of the application, the random number matched with the voting participation node is obtained based on the private key value of the voting participation node; carrying out hash operation on the private key value of each object node receiving the vote of the voting participation node and the random number of the voting participation node to obtain a voting verification parameter matched with the object node; determining that the voting operation performed by the voting participation node on the object node is successful under the condition that the voting verification parameter is less than or equal to the first threshold value; and under the condition that the voting verification parameter is larger than the first threshold, determining that the voting operation performed by the voting participation node on the object node fails, and effectively randomly limiting the voting object of the node to prevent malicious collusion and other behaviors from occurring between the nodes.
In the embodiment, by using the characteristic that the hash values of the last generated blocks are unpredictable and different, in each round of election, effective voting objects of each node are different and have randomness, and meanwhile, a bidirectional voting relationship does not exist between the voting objects and voters, but a random one-way relationship is adopted, so that the voters can vote for the voting objects, but the voting objects can not vote for the voters in reverse, so that the collusion behavior that large nodes vote directly with each other is limited, the stability of the system is increased, and the decentralization degree of the system is improved.
As an alternative embodiment, the voting result generation block chain based on the voting operation includes:
s1, obtaining respective voting results of each voting participation node in a node set where the current voting participation node is located, wherein the voting result indicates that the node set is divided into a target node subset, a candidate node subset and a reference node subset, the target node subset comprises nodes of which the number of votes in the node set is in a first sequence, the candidate node set comprises nodes of which the number of votes in the node set is in a second sequence, and the candidate node set comprises nodes of which the number of votes in the node set is in a third sequence; the first sequential sequence precedes the second sequential sequence, and the second sequential sequence precedes the third sequential sequence;
s2, under the condition that a target block generation node reaching preset conditions appears in the target node subset, replacing the target block generation node in the target node subset with a candidate node in the candidate node subset to obtain an updated target node subset, wherein the candidate node is the node with the highest operation trust value in the candidate node subset;
and S3, generating blocks generated by the nodes based on the blocks in the updated target node child, and generating a block chain.
In this embodiment, after the voting operation, the ranking order of each node can be determined according to the number of votes obtained from each node, and the voters with higher votes rank ahead. Then, determining three node subsets according to the sequence, wherein the target node subset consists of a batch of nodes with the highest sequence and is used for directly participating in the subsequent block chain generation operation process; and the second group of nodes after the first group of nodes are ranked as a candidate node subset, and are used for determining nodes for replacement from the candidate node combination when nodes needing replacement exist in the target node set, and the remaining nodes form a third node subset and do not participate in subsequent block chain generation operation for the moment.
As shown in FIG. 3, in one embodiment, the elected node is divided into two parts S1 and S2, with the node in S1 responsible for the production and consensus of the block (i.e., the target node subset) and S2 serving as the alternate witness node set (i.e., the candidate node subset). When the node in S1 appears in its production time without producing any block or the produced block fails to verify, a node is selected from S2 and replaced.
According to the embodiment of the application, the respective voting results of all voting participation nodes in the node set where the current voting participation node is located are obtained, and under the condition that a target block generation node meeting a preset condition appears in the target node subset, the candidate node in the candidate node subset is used for replacing the target block generation node in the target node subset, so that an updated target node subset is obtained; and generating a block chain based on the blocks generated by each block generation node in the updated target node child. Therefore, the technical effects of increasing the fault tolerance of consensus and quickly processing errors are achieved.
As an optional manner, after obtaining respective voting results of each voting participation node in the node set where the current voting participation node is located, at least one of the following is further included:
s1, determining the current block generation node as the target block generation node meeting the preset condition under the condition that the current block generation node in the target node subset does not generate a block within the first preset time length;
s2, determining the current block generation node as the target block generation node meeting the preset condition when the block generated by the current block generation node in the target node subset fails to be verified.
By the method, the nodes in the target node subset are accurately identified, and the nodes are quickly replaced under the condition that the identified target conditions are met.
The following embodiments are taken as examples to illustrate the process of generating a blockchain for a target node subset generated by election in the present application:
and S1, the block producer of the current time slice packs the collected transactions to generate blocks and broadcasts the blocks. When other common witness nodes receive the block message, the message needs to be verified, and the verification mode is as follows:
a) whether the signature is a chunk production node.
b) Whether the message was received.
c) Whether the block height in the message can correspond to the current block height.
The message is acknowledged when the above conditions are met.
And S2, when other common witness nodes receive the block message, the common witness nodes enter a prefix state and broadcast a prefix < h, d, S > message, wherein h is the height of the block, d is the abstract of the block, and S is the signature of the node.
S3, the node in the prefix state will continuously receive the prefix messages broadcast by other nodes, and when the node receives the prefix messages of more than 2f +1 different nodes, the node will enter the commit state and broadcast the commit < h, d, S > message, where f is the number of nodes having abnormal operation in the current block generation period.
S4, when receives the commit message of more than 2f +1 different nodes, it marks that the block is verified, and each node persists it into the block chain.
And S5, recognizing and updating the credit value of the node according to the flow.
S6, if the current time slice fails to reach the consensus, the consensus is abandoned and the node rotation is started.
The overall flow of the present application will be described below with reference to fig. 4.
As shown in fig. 4, the present embodiment is mainly divided into four parts, namely, a random one-way voting witness node, witness node blocking and verification, malicious node replacement, and node trust value update.
S1, the common node generates a common witness node and an alternative witness node through voting;
specifically, each node selects the witness node and the alternate witness node by random one-way voting. The actual votes of each node are determined by the product of the trust value and the votes, and the actual votes of each node are determined by the product of the distrust value and the votes. And the trust value of each node is a numerical value between 0 and 1, and is determined according to the operation behavior of the node in the history block generation operation.
And after the voting is finished, selecting the first 2N votes as witness nodes, wherein N votes before the voting are obtained in the witness nodes are used as the common witness nodes, and N votes after the votes are obtained are used as the alternative witness nodes.
S2, the common witness nodes take out the blocks in turn to generate block chains;
specifically, in the verification stage of the witness block, the common witness node is responsible for the production and verification of the block, and meanwhile, the trust is updated after the block is verified.
And S3, when the common witness node fails to appear the block according to time or the block-appearing verification fails, determining the common witness node as a malicious node, and exchanging the identity with the current malicious node by using the node with the highest use degree in the alternative witness nodes.
And S4, after the operation of the above stages is finished, entering the next cycle, reserving the node trust value, and selecting a new witness node again, and further continuously circulating to generate a block chain.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
According to another aspect of the embodiment of the invention, a block chain generating device for implementing the logistics node method is further provided. As shown in fig. 5, the apparatus includes:
a first obtaining unit 501, configured to obtain a virtual resource value held by a current voting participation node;
a second obtaining unit 502, configured to obtain an operation trust value corresponding to the current voting participation node according to an operation generated by the history block in which the current voting participation node participates;
a determining unit 503, configured to determine, by using the virtual resource value and the operation confidence value, a voting indication coefficient corresponding to the current voting participation node;
a voting unit 504, configured to control the current voting participation node to perform a voting operation according to the voting indication coefficient;
a generating unit 505, configured to generate a block chain based on a voting result of the voting operation.
In the embodiment of the invention, the virtual resource value held by the current voting participation node is acquired; generating operation according to a history block participated by a current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node; determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value; controlling the current voting participation node to execute voting operation according to the voting indication coefficient; the block chain is generated based on the voting result of the voting operation, so that the voting right of each node is simultaneously influenced by the owned virtual resource value and the trust value determined by the historical operation in the voting process, the voting right of the node with malicious behavior in the historical behavior is influenced, the stability of a system for subsequently generating the block chain based on the voting result is improved, and the technical problem that the stability of the node system is poor in the conventional block chain generating method is solved.
It can be understood that the apparatus according to the embodiment of the present invention has the beneficial effects corresponding to the above block chain generating method, and will not be described herein again.
According to a further aspect of an embodiment of the present invention, there is also provided a storage medium comprising a stored program, wherein the program is arranged to perform the steps in any of the above method embodiments when executed.
According to another aspect of the embodiment of the present invention, there is also provided an electronic device for implementing the above block chain generation method, where the electronic device may be a terminal device or a server shown in fig. 6. The present embodiment takes the electronic device as a terminal device as an example for explanation. As shown in fig. 6, the electronic device comprises a memory 602 and a processor 604, wherein the memory 602 stores a computer program, and the processor 604 is configured to execute the steps of any of the above method embodiments by the computer program.
Optionally, in this embodiment, the electronic device may be located in at least one network device of a plurality of network devices of a computer network.
Optionally, in this embodiment, the processor may be configured to execute the following steps by a computer program:
s1, acquiring the virtual resource value held by the current voting participation node;
s2, generating operation according to the history block participated by the current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node;
s3, determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value;
s4, controlling the current voting participation node to execute voting operation according to the voting indication coefficient;
s5, a block chain is generated based on the voting result of the voting operation.
Alternatively, it can be understood by those skilled in the art that the structure shown in fig. 6 is only an illustration, and the electronic device may also be a terminal device such as a vehicle-mounted terminal, a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, a Mobile Internet Device (MID), a PAD, and the like. Fig. 6 is a diagram illustrating a structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, etc.) than shown in FIG. 6, or have a different configuration than shown in FIG. 6.
The memory 602 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for generating a block chain in the embodiment of the present invention, and the processor 604 executes various functional applications and data processing by running the software programs and modules stored in the memory 602, that is, implementing the above-described method for generating a block chain. The memory 602 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 602 may further include memory located remotely from the processor 604, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof. The memory 602 may be specifically, but not limited to, used for storing information such as attributes, resource values, trust values, and the like of each node in the node set. As an example, as shown in fig. 6, the memory 602 may include, but is not limited to, the first acquiring unit 501, the second acquiring unit 502, the determining unit 503, the voting unit 504, and the generating unit 505 in the generating device of the block chain. In addition, the device may further include, but is not limited to, other module units in the block chain generating device, which is not described in this example again.
Optionally, the transmitting device 606 is used for receiving or sending data via a network. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 606 includes a Network adapter (NIC) that can be connected to a router via a Network cable and other Network devices to communicate with the internet or a local area Network. In one example, the transmitting device 606 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
In addition, the electronic device further includes: a display 608 for displaying application interfaces, and a connection bus 610 for connecting the various modular components of the electronic device.
In other embodiments, the terminal device or the server may be a node in a distributed system, where the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting a plurality of nodes through a network communication. Nodes can form a Peer-To-Peer (P2P, Peer To Peer) network, and any type of computing device, such as a server, a terminal, and other electronic devices, can become a node in the blockchain system by joining the Peer-To-Peer network.
According to an aspect of the application, there is provided a computer program product comprising a computer program/instructions containing program code for performing the method illustrated by the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section, and/or installed from a removable medium. When executed by the central processing unit, the computer program performs various functions provided by the embodiments of the present application.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
According to an aspect of the present application, there is provided a computer-readable storage medium, from which a processor of a computer device reads computer instructions, the processor executing the computer instructions, so that the computer device executes the method for generating a blockchain described above.
Alternatively, in the present embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for executing the steps of:
s1, acquiring the virtual resource value held by the current voting participation node;
s2, generating operation according to the history block participated by the current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node;
s3, determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value;
s4, controlling the current voting participation node to execute voting operation according to the voting indication coefficient;
s5, a block chain is generated based on the voting result of the voting operation.
Alternatively, in this embodiment, a person skilled in the art may understand that all or part of the steps in the methods of the foregoing embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, servers, network devices, etc.) to execute all or part of the steps of the above methods according to the embodiments of the present invention.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the above-described division of the units is only one type of division of logical functions, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A method for generating a block chain, comprising:
acquiring a virtual resource value held by a current voting participation node;
generating operation according to the history block participated by the current voting participation node, and acquiring an operation trust value corresponding to the current voting participation node;
determining a voting indication coefficient corresponding to the current voting participation node by using the virtual resource value and the operation trust value;
controlling the current voting participation node to execute voting operation according to the voting indication coefficient;
and generating a block chain based on the voting result of the voting operation.
2. The method according to claim 1, wherein the obtaining an operation confidence value corresponding to the current voting participation node according to the historical block generation operation in which the current voting participation node participates comprises:
identifying an abnormal operation from the historical block generation operations participated in by the current voting participation node, wherein the abnormal operation is an operation for preventing blocks from being normally generated in a target time period;
and updating the initial trust value distributed to the current voting participation node based on the abnormal operation to obtain the operation trust value.
3. The method of claim 1, wherein determining the voting weight corresponding to the current voting participation node using the virtual resource value and the operational confidence value comprises:
acquiring an initial voting indication coefficient corresponding to the virtual resource value;
and determining the product value between the initial voting indication coefficient and the operation trust value as the voting indication coefficient corresponding to the current voting participation section.
4. The method of claim 1, wherein the controlling the current voting participation node to perform voting operations according to the voting indication coefficients comprises:
acquiring a random number matched with the voting participation node based on a private key value of the voting participation node;
carrying out hash operation on the private key value of each object node receiving the vote of the voting participation node and the random number of the voting participation node to obtain a voting verification parameter matched with the object node;
determining that the voting operation performed by the voting participation node on the object node is successful if the voting verification parameter is less than or equal to a first threshold;
determining that the voting operation performed by the voting participation node on the object node fails if the voting verification parameter is greater than the first threshold.
5. The method of claim 1, wherein generating a blockchain based on voting results of the voting operations comprises:
obtaining respective voting results of voting participation nodes in a node set where the current voting participation node is located, wherein the voting results indicate that the node set is divided into a target node subset, a candidate node subset and a reference node subset, the target node subset comprises nodes with the number of votes obtained in the node set in a first sequence, the candidate node set comprises nodes with the number of votes obtained in the node set in a second sequence, and the candidate node set comprises nodes with the number of votes obtained in the node set in a third sequence; the first sequential sequence precedes the second sequential sequence, and the second sequential sequence precedes the third sequential sequence;
under the condition that a target block generation node reaching a first preset condition appears in the target node subset, replacing the target block generation node in the target node subset by a candidate node in the candidate node subset to obtain an updated target node subset, wherein the candidate node is a node with the highest operation trust value in the candidate node subset;
and generating blocks generated by the nodes based on the updated blocks in the target node son to generate a block chain.
6. The method according to claim 5, wherein after the obtaining of the respective voting results of the respective voting participation nodes in the node set in which the current voting participation node is located, at least one of the following is further included:
determining a current block generation node in the target node subset as the target block generation node meeting the first preset condition under the condition that the current block generation node does not generate a block within a first preset time length;
and under the condition that a block generated by a current block generating node in the target node subset is not verified, determining the current block generating node as the target block generating node reaching the first preset condition.
7. An apparatus for generating a blockchain, comprising:
the first acquisition unit is used for acquiring a virtual resource value held by the current voting participation node;
the second acquisition unit is used for generating operation according to the history block participated by the current voting participation node and acquiring an operation trust value corresponding to the current voting participation node;
a determining unit, configured to determine, by using the virtual resource value and the operation confidence value, a voting indication coefficient corresponding to the current voting participation node;
the voting unit is used for controlling the current voting participation node to execute voting operation according to the voting indication coefficient;
and the generating unit is used for generating a block chain based on the voting result of the voting operation.
8. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 6 when executed.
9. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 6.
CN202210074868.0A 2022-01-21 2022-01-21 DPoS method based on trust degree and PBFT Active CN114465866B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210074868.0A CN114465866B (en) 2022-01-21 2022-01-21 DPoS method based on trust degree and PBFT

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210074868.0A CN114465866B (en) 2022-01-21 2022-01-21 DPoS method based on trust degree and PBFT

Publications (2)

Publication Number Publication Date
CN114465866A true CN114465866A (en) 2022-05-10
CN114465866B CN114465866B (en) 2023-08-15

Family

ID=81411758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210074868.0A Active CN114465866B (en) 2022-01-21 2022-01-21 DPoS method based on trust degree and PBFT

Country Status (1)

Country Link
CN (1) CN114465866B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180101560A1 (en) * 2016-10-07 2018-04-12 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
CN108900507A (en) * 2018-06-29 2018-11-27 全链通有限公司 Block chain real name identification method and system
CN109819022A (en) * 2019-01-11 2019-05-28 华侨大学 A kind of block chain common recognition method based on credit appraisal
CN110138597A (en) * 2019-04-17 2019-08-16 上海大学 Based on the block chain DPOS of credit score and node clustering common recognition mechanism improved method
CN110796547A (en) * 2019-10-30 2020-02-14 桂林电子科技大学 Improved practical Byzantine fault-tolerant system based on alliance block chain
WO2020138606A1 (en) * 2018-12-28 2020-07-02 연세대학교 산학협력단 Fault-tolerant consensus method for eliminating obstacle factors of consensus in blockchain network
CN111563278A (en) * 2020-05-09 2020-08-21 电子科技大学 Improved method for proving right of stock authorization
CN112822239A (en) * 2020-12-30 2021-05-18 深圳市宝能投资集团有限公司 Block chain consensus method, block chain consensus device, electronic equipment and storage medium
CN113313378A (en) * 2021-05-27 2021-08-27 北京航空航天大学 Credibility model-based block chain consensus mechanism
CN113326516A (en) * 2021-04-22 2021-08-31 远光软件股份有限公司 Block chain consensus method, block chain system and computer equipment
US20210320797A1 (en) * 2020-04-09 2021-10-14 International Business Machines Corporation Prevention of majority attacks

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180101560A1 (en) * 2016-10-07 2018-04-12 International Business Machines Corporation Establishing overlay trust consensus for blockchain trust validation system
CN108900507A (en) * 2018-06-29 2018-11-27 全链通有限公司 Block chain real name identification method and system
WO2020138606A1 (en) * 2018-12-28 2020-07-02 연세대학교 산학협력단 Fault-tolerant consensus method for eliminating obstacle factors of consensus in blockchain network
CN109819022A (en) * 2019-01-11 2019-05-28 华侨大学 A kind of block chain common recognition method based on credit appraisal
CN110138597A (en) * 2019-04-17 2019-08-16 上海大学 Based on the block chain DPOS of credit score and node clustering common recognition mechanism improved method
CN110796547A (en) * 2019-10-30 2020-02-14 桂林电子科技大学 Improved practical Byzantine fault-tolerant system based on alliance block chain
US20210320797A1 (en) * 2020-04-09 2021-10-14 International Business Machines Corporation Prevention of majority attacks
CN111563278A (en) * 2020-05-09 2020-08-21 电子科技大学 Improved method for proving right of stock authorization
CN112822239A (en) * 2020-12-30 2021-05-18 深圳市宝能投资集团有限公司 Block chain consensus method, block chain consensus device, electronic equipment and storage medium
CN113326516A (en) * 2021-04-22 2021-08-31 远光软件股份有限公司 Block chain consensus method, block chain system and computer equipment
CN113313378A (en) * 2021-05-27 2021-08-27 北京航空航天大学 Credibility model-based block chain consensus mechanism

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
付瑶瑶等: "授权股份证明共识机制的改进方案", 《计算机工程与应用》 *
付瑶瑶等: "授权股份证明共识机制的改进方案", 《计算机工程与应用》, vol. 56, no. 19, 26 September 2019 (2019-09-26) *

Also Published As

Publication number Publication date
CN114465866B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN109872152B (en) Block chain consensus method based on share authorization certification mechanism and related equipment
CN111343208B (en) Block chain-based data detection method and device and computer-readable storage medium
CN111444211B (en) Block chain consensus node checking method, device, equipment and storage medium
EP3647955B1 (en) Consensus-forming method in network, and node for configuring network
CN109379343B (en) Heterogeneous consensus method of block chains and terminal
CN111885050B (en) Data storage method and device based on block chain network, related equipment and medium
CN111523890A (en) Data processing method and device based on block chain, storage medium and equipment
CN110213038B (en) Method and system for forming consensus of block chain
CN110928880B (en) Data processing method, device, terminal and medium based on block chain
CN113645278B (en) Cross-chain message transmission method, device and storage medium of block chain
CN111711655A (en) Block chain-based electronic data evidence storing method, system, storage medium and terminal
CN113301114A (en) Block chain consensus node selection method and device, computer equipment and storage medium
CN111130875B (en) Block chain consensus method, device, equipment and storage medium
CN115796261A (en) Block chain-based lightweight group consensus federated learning method
CN112417052B (en) Data synchronization method, device, equipment and storage medium in block chain network
CN114465866A (en) Block chain generation method and device, storage medium and electronic equipment
CN110618989A (en) Information processing method, information processing device and related product
CN116389504A (en) Block chain-based identity authentication quick consensus method, system, equipment and medium
CN115865366A (en) Block chain voting method, device, terminal equipment and storage medium
CN115310137A (en) Secrecy method and related device of intelligent settlement system
CN111953546B (en) Internet of things equipment management method based on block chain system and intelligent home system
CN116070191A (en) Information processing method and device, storage medium, and program product
CN107924593B (en) Method and device for generating winning numbers
CN117040929B (en) Access processing method, device, equipment, medium and program product
CN116684426B (en) Task processing method based on Bayesian consensus protocol

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