WO2022095422A1 - Procédé et appareil d'attribution de permissions pour des nœuds dans un réseau de chaînes de blocs, dispositif informatique et support - Google Patents
Procédé et appareil d'attribution de permissions pour des nœuds dans un réseau de chaînes de blocs, dispositif informatique et support Download PDFInfo
- Publication number
- WO2022095422A1 WO2022095422A1 PCT/CN2021/096756 CN2021096756W WO2022095422A1 WO 2022095422 A1 WO2022095422 A1 WO 2022095422A1 CN 2021096756 W CN2021096756 W CN 2021096756W WO 2022095422 A1 WO2022095422 A1 WO 2022095422A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- node
- nodes
- authority
- scoring
- current
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 239000011159 matrix material Substances 0.000 claims abstract description 162
- 230000006399 behavior Effects 0.000 claims description 71
- 230000007423 decrease Effects 0.000 claims description 11
- 238000005516 engineering process Methods 0.000 abstract description 3
- 230000008569 process Effects 0.000 description 13
- 238000004364 calculation method Methods 0.000 description 10
- 230000000694 effects Effects 0.000 description 7
- 238000012544 monitoring process Methods 0.000 description 7
- 238000011156 evaluation Methods 0.000 description 6
- 238000007726 management method Methods 0.000 description 4
- 230000000717 retained effect Effects 0.000 description 4
- 238000011161 development Methods 0.000 description 3
- 238000001914 filtration Methods 0.000 description 3
- 238000003491 array Methods 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 230000001186 cumulative effect Effects 0.000 description 2
- 230000008034 disappearance Effects 0.000 description 2
- 239000000463 material Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 238000007619 statistical method Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 230000002860 competitive effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000011160 research Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/105—Multiple levels of security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
Definitions
- the present application relates to the field of blockchain technology, and more specifically, the present application provides a method and device for assigning authority to nodes in a blockchain network, computer equipment, and media.
- the authority assignment of blockchain network nodes is often done manually by administrators, who rate, add or delete each node.
- the traditional block chain network node authority allocation strategy is inconsistent with the "decentralization" in the block chain design idea, and it is difficult for node users to completely trust the manual management method.
- the inventor realized that the existing block chain network node authority allocation scheme is difficult to completely manage each node objectively and fairly, especially in terms of node authority allocation, once the authority allocation is unreasonable, the entire block chain
- the network environment often has a very bad influence, and the node user experience is poor.
- this application can innovatively provide a block chain network node authority allocation method and device, computer equipment, medium .
- the present application discloses a method for assigning authority to a blockchain network node.
- the assignment of authority to a node may include, but is not limited to, the following steps.
- the current node is scored, and the scoring results of all nodes including the current node are obtained.
- a scoring matrix is constructed using the scoring results of all the nodes, and row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes.
- a weight is set for each element of each row in the scoring matrix, so that the numerical range of each element in the scoring matrix is within a preset range.
- a column operation is performed on the current scoring matrix to convert the current scoring matrix into a one-dimensional scoring array; wherein, the elements in the one-dimensional scoring array are used to represent the behavior attribute values of the nodes.
- the authority is assigned to the node in the blockchain network.
- the present application can provide a block chain network node authority allocation device, which may include but not limited to a node scoring module, a matrix construction module, a weight setting module, a matrix operation module, and a permission allocation module.
- the node scoring module is used to score the current node based on the transaction characteristics between the current node and other nodes in the blockchain network, and is used to obtain the scoring results of all nodes including the current node.
- the matrix building module is configured to use the scoring results of all the nodes to construct a scoring matrix, and the row elements in the scoring matrix are used to represent the scoring results of one node corresponding to other nodes.
- a weight setting module configured to set a weight for each element of each row in the scoring matrix, so that the numerical range of each element in the scoring matrix is within a preset range.
- the matrix operation module is used to perform column operation on the current scoring matrix, so as to convert the current scoring matrix into a one-dimensional scoring array; wherein, the elements in the one-dimensional scoring array are used to represent the Behavior property value.
- the authority assignment module is used for assigning authority to the nodes in the blockchain network according to the behavior attribute value.
- the present application can also provide a computer device, the computer device includes a memory and a processor, the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, causing the processor to execute the method for assigning authority to a blockchain network node in any embodiment of the present application; wherein the method for assigning authority to a blockchain network node includes:
- Score the current node based on the transaction characteristics between the current node and other nodes in the blockchain network, and obtain the scoring results of all nodes including the current node;
- a scoring matrix is constructed using the scoring results of all the nodes, and the row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes;
- the authority is assigned to the node in the blockchain network.
- the present application can provide a storage medium storing computer-readable instructions.
- the computer-readable instructions When the computer-readable instructions are executed by one or more processors, the one or more processors can execute any of the tasks in the present application.
- the method for assigning permissions to the blockchain network nodes in one embodiment
- the method for allocating authority of blockchain network nodes includes:
- Score the current node based on the transaction characteristics between the current node and other nodes in the blockchain network, and obtain the scoring results of all nodes including the current node;
- a scoring matrix is constructed using the scoring results of all the nodes, and the row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes;
- the authority is assigned to the node in the blockchain network.
- the present application reasonably allocates the authority of nodes in the blockchain network under the premise of avoiding human intervention, realizes fair management of the blockchain network, and helps to enhance the enthusiasm of node users to participate in transactions, Improve the activity of the blockchain network, realize the autonomous management of node authority in the blockchain network, thus build a blockchain network environment with fair competition, promote the development of the blockchain network, and the node user experience is very good.
- this application can also help to significantly enhance the security, reliability and practicability of the blockchain network, and improve the trust of the majority of node users in the blockchain network.
- FIG. 1 shows a schematic flowchart of a method for assigning authority to a blockchain network node in some embodiments of the present application.
- FIG. 2 shows a schematic flowchart of a method for assigning authority to a blockchain network node in other embodiments of the present application.
- FIG. 3 shows a block diagram of the internal structure of a computer device in one or more embodiments of the present application.
- one or more embodiments of the present application can provide a method for assigning permissions to nodes in a blockchain network, so as to solve problems such as inconsistency in traditional blockchain permission assignment and management methods. More specifically, the node authority assignment may include, but is not limited to, the following steps.
- S100 Read the permission record table, and sort the nodes in descending order of node authority, so that the order of node authority from high to low is used as the order of node scoring.
- the current authority of each node is determined according to the content in the authority record table, and then all nodes are sorted based on the order of node authority from high to low; Nodes are sorted.
- the authority record table may be the authority record table formed after the application is executed at least once and the authority is allocated to each node in the blockchain network, or the authority record table formed by other existing methods to record the current blockchain network A record table of permissions possessed by each node.
- Some embodiments of the present application set the order of node scoring based on the current authority from high to low. This method helps to promote nodes that currently only have low authority to actively carry out more transaction activities. There are opportunities to participate in transaction activities, so as to make the blockchain network applying the technical solution of the present application more active, thereby creating a constantly competitive and evolving blockchain network environment.
- the present application can perform the operation of step S200 on the nodes in the blockchain network one by one in a random order or a predetermined order.
- the pre-set order can be, for example, the joining order of each node of the current blockchain network, that is, the order in which the nodes are scored according to the time of joining the current blockchain network from the longest to the shortest.
- the blockchain involved in this application includes but is not limited to one of a consortium chain, a public chain or a private chain.
- the transaction characteristics between the current node and other nodes represent the transaction characteristics between any two nodes in this application.
- the transaction characteristics between two nodes in one or more embodiments of the present application include, but are not limited to, at least one of historical transaction characteristics such as transaction times, transaction amount, accounting times, communication times, and the number of storage blocks.
- the node can get the scores of other nodes except itself, and these scores are used as the scoring result of the node. Assuming that the number of nodes in the blockchain network is n, the number of points that can be obtained by any node is n-1, that is, the scoring result of the node contains n-1 points.
- the score of node T1 corresponding to node T2 may be 12.
- the transaction amount between another node Ty and Tx is 30,000, and the node Tx score of the corresponding node Ty may be 30,000.
- the transaction features selected in the implementation process may be the same or different, and the transaction features are generally determined by the current node for scoring. Whether the data is complete shall prevail.
- node scoring results of this application are completely based on node behavior as the only basis for scoring, and the scoring results are derived from all nodes other than the current node.
- the evaluation data is comprehensive and reasonable, so this application has true and reliable data and direct evaluation results. Reflect the outstanding advantages of node historical behavior.
- a scoring matrix is constructed using the scoring results of all nodes, and row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes.
- the present application can store and display the scoring results of all nodes in the blockchain network by constructing a scoring matrix.
- the scoring result of a node in some embodiments of the present application is a row of elements in the scoring matrix. .
- the scoring matrix obtained in step S300 is as follows, and the scoring matrix is an n ⁇ n-1 matrix.
- S 1,1 , S 1,2 ...S 1,n-1 in row 1 can be used to represent the node scoring result of the first node
- S n,1 ,S n,2 ...S in row n n,n-1 can be used to represent the node scoring result of the nth node
- S i,j is used to represent a score on the jth column of the ith node corresponding to some other node.
- the matrix has the property of being able to be transposed, so other embodiments of the present application can use the column elements in the scoring matrix to represent the scoring result of a node corresponding to other nodes.
- the scoring matrix is an n-1 ⁇ n matrix, that is, a matrix obtained by transposing the above-mentioned matrix.
- the scoring matrix is used as a statistical method for the scoring results of all nodes in the blockchain network, which can not only achieve a comprehensive and clear record of the scoring of nodes, but also facilitate subsequent data processing, making this application more convenient. It is easy to implement and the result is very low probability of error.
- S400 Set a weight for each element of each row in the scoring matrix, so that the numerical range of each element in the scoring matrix is within a preset range.
- the present application sets the same weight for n-1 elements in the same row of the matrix, and makes the actual value of each element after the weight is set within a preset range.
- a normalized calculation method may be used to select appropriate weights for each row element of the matrix, and set for each row element in the matrix, so that each element within the preset range can be performed on the same order of magnitude. Calculate and compare.
- the present application can still make each element within a preset range by setting weights, where the preset range can be: greater than or equal to 0 and less than or equal to 1 (that is, [[ 0, 1]).
- w 1 . . . w n are used to represent the weights set by the elements in the 1st row to the nth row, respectively.
- the column operation process in some embodiments of the present application is as follows: in units of columns, cumulative calculation or mean value calculation is performed on the elements of the same row; of course, the present application is not limited to this, for example, the square sum operation or the cubic sum operation can also be performed on the row elements, etc. Wait.
- the present application improves computing efficiency and reduces the occupation of computer resources by means of matrix calculation, so the present application can be applied to occasions with high requirements on resource usage.
- the operation is performed in units of columns in the current scoring matrix, and the obtained one-dimensional scoring array is as follows.
- Q 1 , Q 2 ... Q n can be used to represent the behavior attributes of the first node to the nth node, respectively.
- value, Q n is used to represent the behavior attribute value of the nth node.
- the method before performing the column operation on the current scoring matrix, the method further includes: calculating the similarity between different elements in the same row in the current scoring matrix, and for each row in the current scoring matrix, filtering and removing At least one element with the least similarity to other elements.
- the process of calculating the similarity between two elements includes: taking the two elements (taking the first element and the n-1th element of the first node as an example) as exponents of the power, respectively, then the first exponent power is obtained (e.g. ) and the second power (e.g. ), as the inverse of the absolute value of the difference between the first exponent and the second exponent (e.g. ) as the similarity between two elements.
- the bases of the first exponent power and the second exponent power may be e or 10, and of course, reasonable settings may also be made according to the actual situation.
- the similarity calculation based on the above method can enlarge the gap between two elements in the same row of the scoring matrix, so that at least one element with the smallest similarity with other elements can be screened out faster and more accurately.
- the present application can describe node activity, node transaction status, and relationships with other nodes through behavior attribute values, and the present application implements quantitative representation of node historical behavior by using behavior attribute values.
- the behavior attribute value is obtained through the scores of multiple other nodes corresponding to the current node, then the evaluation of the node through the behavior attribute value has strong objectivity and rationality, and the node users can completely trust.
- Behavior attribute values in different ranges in the embodiments of the present application correspond to different permissions, and higher permissions are assigned to nodes with higher behavior attribute values, and lower permissions are assigned to nodes with lower behavior attribute values.
- the A-level authority is assigned; for the node whose behavior attribute value is in the range of [8, 9], the B-level authority is assigned; for the behavior attribute value is in [7] , 8], assign C-level authority, for nodes whose behavior attribute value is in the range of [6, 7], assign D-level authority, and for nodes whose behavior attribute value is in the range of [5, 6], assign E File permissions, for nodes whose behavior attribute value is in the range of [4, 5], assign F file permission, for nodes whose behavior attribute value is in the range of [3, 4], assign G file permission, for behavior attribute value in [2] , 3], assign H file permissions, for nodes whose behavior attribute values are in the range of [1, 2], assign I permissions, and for nodes whose behavior attribute values are in the range of (- ⁇ , 1], assign J file permissions; among them, the above-mentioned A file permissions, B file permissions,
- this application can repeatedly implement the above scheme according to a certain period (for example, one month or half a month), so as to achieve the purpose of dynamically adjusting the authority of each node in the blockchain network and improve the blockchain network.
- a certain period for example, one month or half a month
- some embodiments of the present application may further include the step of creating a new authority record table, and then populate the newly created authority record table based on the authority assigned to the node. It should be understood that, in other embodiments of the present application, a new authority record table may also be used each time the present application is executed, and each node in the blockchain network may be drawn according to the plurality of authority record tables The change trend graph of the authority of the blockchain network, so as to have a more intuitive and in-depth understanding of the node authority dynamics in the blockchain network.
- the step of updating the authority record table in some embodiments of the present application may further include: in the process of updating the authority record table, determining the nodes whose authority changes reach the set value, and monitoring the nodes whose authority changes reach the set value; Including the increase (or increase) of the authority and the decrease (or decrease) of the authority, the set value may be, for example, the third gear. That is, the present application can also pay attention to nodes whose authority suddenly increases or decreases suddenly.
- the node may threaten the security of the blockchain network, and this application can focus on monitoring the real-time transaction behavior and data flow of the node; for example, the authority of a certain node From the A file to the G file, it is judged that the node may withdraw from the current blockchain network.
- This application can realize the reasonable deployment of the blockchain network architecture in advance to avoid the normal operation of the current blockchain network after the sudden disappearance of the node. operation is affected.
- some embodiments of the present application can also control a node whose authority suddenly increases.
- the control method includes locking the resources and data flow used by the node in the blockchain network, and can connect the node with the history that has occurred.
- the risk value is calculated by comparing the characteristics of dangerous nodes, and a warning or an alarm is given when the risk value exceeds the threshold, so as to achieve the purpose of early warning. Therefore, some embodiments of this application can further improve the security and stability of the blockchain network. sex.
- the node authority allocation device may include but not limited to a node scoring module, a matrix construction module, a weight setting module, a matrix operation module, and a permission allocation module. module.
- the node scoring module is used to score the current node based on the transaction characteristics between the current node and other nodes in the blockchain network, and is used to obtain the scoring results of all nodes including the current node.
- the transaction characteristics between the current node and other nodes represent the transaction characteristics between any two nodes in this application.
- the transaction characteristics between two nodes in one or more embodiments of the present application include, but are not limited to, at least one of historical transaction characteristics such as transaction times, transaction amount, accounting times, communication times, and the number of storage blocks.
- the node can get the scores of other nodes except itself, and these scores are used as the scoring result of the node. Assuming that the number of nodes in the blockchain network is n, the number of points that can be obtained by any node is n-1, that is, the scoring result of the node contains n-1 points.
- the matrix building module is used to construct a scoring matrix by using the scoring results of all nodes, and the row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes.
- the scoring matrix in some embodiments of the present application may be as follows, where the matrix is an n ⁇ n-1 matrix.
- S 1,1 , S 1,2 ...S 1,n-1 in row 1 can be used to represent the node scoring result of the first node
- S n,1 ,S n,2 ...S in row n n,n-1 can be used to represent the node scoring result of the nth node
- S i,j can be used to represent a scoring result of the ith node corresponding to another node on the jth column.
- the matrix has the property of being able to be transposed, so in other embodiments of the present application, the column elements in the scoring matrix can be used to represent the scoring result of a node corresponding to other nodes.
- the scoring matrix is an n-1 ⁇ n matrix, that is, a matrix obtained by transposing the above-mentioned matrix.
- the scoring matrix is used as a statistical method for the scoring results of all nodes in the blockchain network, which can not only achieve a comprehensive and clear record of the scoring of nodes, but also facilitate subsequent data processing, making this application more convenient. It is easy to implement and the result is very low probability of error.
- the weight setting module is used for setting weights for each element of each row in the scoring matrix, so that the numerical range of each element in the scoring matrix is within a preset range.
- a normalized calculation method may be used to select appropriate weights for each row element of the matrix, and set for each row element in the matrix, so that each element within the preset range can be performed on the same order of magnitude. Calculate and compare. Therefore, even if different nodes use different transaction characteristics for scoring, the present application can still set the weights so that each element is within a preset range, where the preset range can be: greater than or equal to 0 and less than or equal to 1 (ie [0,1]).
- w 1 . . . w n are used to represent the weights set by the elements in the 1st row to the nth row, respectively.
- the matrix operation module is used to perform column operation on the current scoring matrix, so as to convert the current scoring matrix into a one-dimensional scoring array; wherein, the elements in the one-dimensional scoring array are used to represent the behavior attribute value of the node.
- the column operation process in some embodiments of the present application is: performing cumulative calculation or mean value calculation on the elements of the same row in units of columns.
- the present application is not limited to this.
- the square sum operation or the cubic sum operation can also be performed on the row elements. Wait.
- the present application can improve computing efficiency and reduce the occupation of computer resources by means of matrix calculation, so the present application can be applied to occasions with high requirements on resource usage.
- the operation is performed in units of columns in the current scoring matrix, and the obtained one-dimensional scoring array is as follows.
- Q 1 , Q 2 ... Q n can be used to represent the behavior attributes of the first node to the nth node, respectively.
- value, Q n is used to represent the behavior attribute value of the nth node.
- the matrix operation module in some embodiments of the present application is used to calculate the similarity between different elements in the same row in the current scoring matrix before performing the column operation on the current scoring matrix. For each row in the current scoring matrix, the matrix The operation module is used to filter and remove one or more elements with the smallest similarity with other elements.
- the matrix operation module is used to use two elements (taking the first element and the n-1th element of the first node as an example) as exponents of the power respectively, then the first exponent power (for example, ) and the second power (e.g. ), as the inverse of the absolute value of the difference between the first exponent and the second exponent (e.g. ) as the similarity between two elements.
- the bases of the first exponent power and the second exponent power may be e or 10, and of course, reasonable settings may also be made according to the actual situation.
- the similarity calculation based on the above method can enlarge the gap between two elements in the same row of the scoring matrix, so that at least one element with the smallest similarity with other elements can be screened out faster and more accurately.
- the present application can describe node activity, node transaction status, and relationships with other nodes through behavior attribute values, and the present application implements quantitative representation of node historical behavior by using behavior attribute values.
- the behavior attribute value is obtained through the scores of multiple other nodes corresponding to the current node, then the evaluation of the node through the behavior attribute value has strong objectivity and rationality, and the node users can completely trust.
- the authority assignment module is used to assign authority to the nodes in the blockchain network according to the behavior attribute value.
- Behavior attribute values in different ranges in the embodiments of the present application correspond to different permissions, and higher permissions are assigned to nodes with higher behavior attribute values, and lower permissions are assigned to nodes with lower behavior attribute values.
- the A-level authority is assigned; for the node whose behavior attribute value is in the range of [8, 9], the B-level authority is assigned; for the behavior attribute value is in [7] , 8], assign C-level authority, for nodes whose behavior attribute value is in the range of [6, 7], assign D-level authority, and for nodes whose behavior attribute value is in the range of [5, 6], assign E File permissions, for nodes whose behavior attribute value is in the range of [4, 5], assign F file permission, for nodes whose behavior attribute value is in the range of [3, 4], assign G file permission, for behavior attribute value in [2] , 3], assign H file permissions, for nodes whose behavior attribute values are in the range of [1, 2], assign I permissions, and for nodes whose behavior attribute values are in the range of (- ⁇ , 1], assign J file permissions; among them, the above-mentioned A file permissions, B file permissions,
- this application can repeatedly implement the above scheme according to a certain period (for example, one month or half a month), so as to achieve the purpose of dynamically adjusting the authority of each node in the blockchain network and improve the blockchain network.
- a certain period for example, one month or half a month
- the node authority assigning device may further include a authority updating module and a node monitoring module.
- the permission update module can be used to read the permission record table and to update the permission record table based on the node assignment permission. If there is no authority record table, the authority update module in some embodiments of the present application may be used to create a new authority record table, and then fill the newly created authority record table based on the authority assigned to the node.
- a new authority record table may also be used each time the present application is executed, and each node in the blockchain network may be drawn according to the plurality of authority record tables The change trend graph of the authority of the blockchain network, so as to have a more intuitive and in-depth understanding of the node authority dynamics in the blockchain network.
- the authority update module is used to determine the nodes whose authority changes reach the set value during the process of updating the authority record table, and the node monitoring module is used to monitor the nodes whose authority changes reach the set value.
- the authority changes may include but are not limited to increased authority, Permissions are reduced.
- the set value can be, for example, third gear. That is, the present application can also pay attention to nodes whose authority suddenly increases or decreases suddenly.
- the node may threaten the security of the blockchain network, and this application can focus on monitoring the real-time transaction behavior and data flow of the node; for example, the authority of a certain node From the A file to the G file, it is judged that the node may withdraw from the current blockchain network.
- This application can realize the reasonable deployment of the blockchain network architecture in advance to avoid the normal operation of the current blockchain network after the sudden disappearance of the node. operation is affected.
- some embodiments of the present application can also control a node whose authority suddenly increases.
- the control method includes locking the resources and data flow used by the node in the blockchain network, and can connect the node with the history that has occurred.
- the risk value is calculated by comparing the characteristics of dangerous nodes, and a warning or an alarm is given when the risk value exceeds the threshold, so as to achieve the purpose of early warning. Therefore, some embodiments of this application can further improve the security and stability of the blockchain network. sex.
- the node scoring module in some embodiments of the present application is also used to read the authority record table, and is used to sort the nodes according to the order of node authority from high to low, so that the order of node authority from high to low is used as the The order in which nodes are scored.
- FIG. 3 still some embodiments of the present application can provide a computer device, including a memory and a processor, where computer-readable instructions are stored in the memory, and when the computer-readable instructions are executed by the processor, the processor executes the present invention.
- the steps of the method for assigning authority to nodes in a blockchain network may include, but are not limited to: S100, read the authority record table, sort the nodes in the order of the authority of the nodes from high to low, and take the order of authority of the nodes from high to low as the process. The order in which nodes are scored.
- the transaction characteristics between the current node and other nodes include at least one of transaction times, transaction amount, and accounting times.
- S200 score the current node based on the transaction characteristics between the current node and other nodes in the blockchain network, and obtain the scoring results of all nodes including the current node.
- S300 a scoring matrix is constructed using the scoring results of all nodes, and row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes.
- S400 Set a weight for each element of each row in the scoring matrix, so that the numerical range of each element in the scoring matrix is within a preset range.
- the method before the column operation is performed on the current scoring matrix, the method further includes: calculating the similarity between different elements in the same row in the current scoring matrix, and for each row in the current scoring matrix, filtering And remove at least one element with the least similarity with other elements. More specifically, the process of calculating the similarity between different elements in the same row in the current scoring matrix includes: taking the two elements as exponents of the power respectively, obtaining the first exponent power and the second exponent power, and taking the first exponent power as the first exponent power.
- the inverse of the absolute value of the difference between the exponential power and the second exponential power is used as the similarity between the two elements.
- S600 assign authority to nodes in the blockchain network according to the behavior attribute value.
- S700 read the authority record table, and update the authority record table based on the node assignment authority.
- the step of updating the authority record table in some embodiments of the present application further includes: in the process of updating the authority record table, determining the nodes whose authority changes reach the set value, and monitoring the nodes whose authority changes reach the set value. Among them, permission changes include permission increase and permission decrease.
- Steps of a method for assigning permissions to nodes in a blockchain network may include, but are not limited to: S100, read the authority record table, sort the nodes in the order of the authority of the nodes from high to low, and take the order of authority of the nodes from high to low as the process. The order in which nodes are scored.
- the transaction characteristics between the current node and other nodes include at least one of transaction times, transaction amount, and accounting times.
- S200 score the current node based on the transaction characteristics between the current node and other nodes in the blockchain network, and obtain the scoring results of all nodes including the current node.
- S300 a scoring matrix is constructed using the scoring results of all nodes, and row elements in the scoring matrix are used to represent the scoring results of a node corresponding to other nodes.
- S400 setting weights for each element of each row in the scoring matrix, so that the numerical range of each element in the scoring matrix is within a preset range.
- S500 perform column operation on the current scoring matrix to convert the current scoring matrix into a one-dimensional scoring array; wherein, the elements in the one-dimensional scoring array are used to represent the behavior attribute values of the nodes.
- the method before the column operation is performed on the current scoring matrix, the method further includes: calculating the similarity between different elements in the same row in the current scoring matrix, and for each row in the current scoring matrix, filtering And remove at least one element with the least similarity with other elements. More specifically, the process of calculating the similarity between different elements in the same row in the current scoring matrix includes: taking the two elements as exponents of the power respectively, obtaining the first exponent power and the second exponent power, and taking the first exponent power and the second exponent power as the first exponent. The inverse of the absolute value of the difference between the exponential power and the second exponential power is used as the similarity between the two elements. S600, assign authority to nodes in the blockchain network according to the behavior attribute value.
- the step of updating the authority record table in some embodiments of the present application further includes: in the process of updating the authority record table, determining the nodes whose authority changes reach the set value, and monitoring the nodes whose authority changes reach the set value; the authority changes include: Permission increases and permissions decrease.
- the data such as the permission record table and the scoring matrix in some embodiments of the present application may also be stored in a node of a blockchain.
- the blockchain referred to in this application is a new application mode of computer technologies such as distributed data storage, point-to-point transmission, consensus mechanism, and encryption algorithm.
- Blockchain essentially a decentralized database, is a series of data blocks associated with cryptographic methods. Each data block contains a batch of network transaction information to verify its Validity of information (anti-counterfeiting) and generation of the next block.
- the blockchain can include the underlying platform of the blockchain, the platform product service layer, and the application service layer.
- Logic and/or steps represented in flowcharts or otherwise described herein, for example, may be considered an ordered listing of executable instructions for implementing the logical functions, and may be embodied in any computer-readable storage medium , for use by an instruction execution system, apparatus, or device (such as a computer-based system, a system including a processor, or other system that can fetch and execute instructions from an instruction execution system, apparatus, or device), or in conjunction with these instruction execution systems, device or equipment.
- a "computer-readable storage medium” can be any device that can contain, store, communicate, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or apparatus .
- the computer-readable storage medium may be non-volatile or volatile.
- Computer readable storage media include the following: electrical connections with one or more wiring (electronic devices), portable computer disk cartridges (magnetic devices), random access memory (RAM, Random Access Memory), Read-Only Memory (ROM, Read-Only Memory), Erasable and Editable Read-Only Memory (EPROM, Erasable Programmable Read-Only Memory, or Flash Memory), Optical Devices, and Portable Optical Disc Read-Only Memory (CDROM, Compact Disc Read-Only Memory).
- wiring electronic devices
- portable computer disk cartridges magnetic devices
- RAM Random Access Memory
- ROM Read-Only Memory
- EPROM Erasable Programmable Read-Only Memory
- Optical Devices and Portable Optical Disc Read-Only Memory (CDROM, Compact Disc Read-Only Memory).
- the computer-readable storage medium may even be paper or other suitable medium on which the program can be printed, as the paper or other medium may be optically scanned, for example, and then edited, interpreted or, if necessary, otherwise Process in a suitable manner to obtain the program electronically and then store it in computer memory.
- first and second are only used for descriptive purposes, and should not be construed as indicating or implying relative importance or implying the number of indicated technical features. Thus, a feature delimited with “first”, “second” may expressly or implicitly include at least one of that feature.
- plurality means at least two, such as two, three, etc., unless expressly and specifically defined otherwise.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
La présente invention concerne la technologie des chaînes de blocs, et porte sur un procédé et un appareil d'attribution de permissions pour des nœuds dans un réseau de chaînes de blocs, sur un dispositif informatique, et sur un support. Le procédé peut comprendre : la notation du nœud courant sur la base de caractéristiques de transaction entre le nœud courant et d'autres nœuds dans le réseau de chaînes de blocs pour obtenir des résultats de notation de tous les nœuds y compris le nœud courant ; la construction d'une matrice de notation à l'aide des résultats de notation ; le réglage d'un poids, de telle sorte que la plage numérique de chaque élément dans la matrice de notation s'inscrive dans une plage prédéfinie ; l'exécution d'une opération sur les colonnes sur la matrice de notation courante, de façon à convertir la matrice de notation courante en un ensemble de notation unidimensionnel servant à représenter des valeurs d'attribut de comportement ; et l'attribution des permissions pour les nœuds dans le réseau de chaînes de blocs en fonction des valeurs d'attribut de comportement. Des données telles qu'une table d'enregistrement de permissions et la matrice de notation peuvent être stockées dans une chaîne de blocs. Selon la présente invention, les permissions des nœuds dans le réseau de chaînes de blocs peuvent être attribuées raisonnablement sur le principe d'éviter une intervention humaine, de manière à réaliser une gestion équitable pour le réseau de chaînes de blocs, et l'expérience utilisateur sur les nœuds est très bonne.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011210056.1 | 2020-11-03 | ||
CN202011210056.1A CN112351026B (zh) | 2020-11-03 | 2020-11-03 | 区块链网络节点权限分配方法及装置、计算机设备、介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022095422A1 true WO2022095422A1 (fr) | 2022-05-12 |
Family
ID=74356265
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/096756 WO2022095422A1 (fr) | 2020-11-03 | 2021-05-28 | Procédé et appareil d'attribution de permissions pour des nœuds dans un réseau de chaînes de blocs, dispositif informatique et support |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112351026B (fr) |
WO (1) | WO2022095422A1 (fr) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112351026B (zh) * | 2020-11-03 | 2022-04-22 | 平安科技(深圳)有限公司 | 区块链网络节点权限分配方法及装置、计算机设备、介质 |
CN113259352A (zh) * | 2021-05-13 | 2021-08-13 | 深圳壹账通智能科技有限公司 | 区块链节点安全监控方法、装置、计算机设备和存储介质 |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632268A (zh) * | 2018-04-28 | 2018-10-09 | 腾讯科技(深圳)有限公司 | 区块链访问的鉴权方法和装置、存储介质、电子装置 |
CN109981586A (zh) * | 2019-02-27 | 2019-07-05 | 北京柏链基石科技有限公司 | 一种节点标记方法及装置 |
CN110113171A (zh) * | 2019-04-22 | 2019-08-09 | 武汉大学 | 一种基于分层多域区块链网络的数据管理***及方法 |
US20190354723A1 (en) * | 2018-05-16 | 2019-11-21 | Ebay, Inc. | Weighted source data secured on blockchains |
CN112351026A (zh) * | 2020-11-03 | 2021-02-09 | 平安科技(深圳)有限公司 | 区块链网络节点权限分配方法及装置、计算机设备、介质 |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018152534A1 (fr) * | 2017-02-17 | 2018-08-23 | Kyndi, Inc. | Procédé et appareil d'apprentissage automatique utilisant un réseau comprenant des agents logiciels au niveau des nœuds de réseau, puis classement de nœuds de réseau |
US11489662B2 (en) * | 2018-08-30 | 2022-11-01 | International Business Machines Corporation | Special relationships in a blockchain |
CN109684519B (zh) * | 2018-12-12 | 2020-04-03 | 杭州基尔区块链科技有限公司 | 一种基于区块链的去中心化芯片研发交易数据存储方法及*** |
CN111047443B (zh) * | 2019-11-29 | 2021-01-12 | 支付宝(杭州)信息技术有限公司 | 用户评分方法及装置、电子设备、计算机可读存储介质 |
CN111695997B (zh) * | 2020-05-12 | 2024-02-20 | 成都芯域矩阵科技有限公司 | 一种基于节点信用评分和预交诚意金的区块链共识方法及*** |
-
2020
- 2020-11-03 CN CN202011210056.1A patent/CN112351026B/zh active Active
-
2021
- 2021-05-28 WO PCT/CN2021/096756 patent/WO2022095422A1/fr active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108632268A (zh) * | 2018-04-28 | 2018-10-09 | 腾讯科技(深圳)有限公司 | 区块链访问的鉴权方法和装置、存储介质、电子装置 |
US20190354723A1 (en) * | 2018-05-16 | 2019-11-21 | Ebay, Inc. | Weighted source data secured on blockchains |
CN109981586A (zh) * | 2019-02-27 | 2019-07-05 | 北京柏链基石科技有限公司 | 一种节点标记方法及装置 |
CN110113171A (zh) * | 2019-04-22 | 2019-08-09 | 武汉大学 | 一种基于分层多域区块链网络的数据管理***及方法 |
CN112351026A (zh) * | 2020-11-03 | 2021-02-09 | 平安科技(深圳)有限公司 | 区块链网络节点权限分配方法及装置、计算机设备、介质 |
Also Published As
Publication number | Publication date |
---|---|
CN112351026A (zh) | 2021-02-09 |
CN112351026B (zh) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022095422A1 (fr) | Procédé et appareil d'attribution de permissions pour des nœuds dans un réseau de chaînes de blocs, dispositif informatique et support | |
JP7322723B2 (ja) | ブロックチェーンネットワークをチェックする装置 | |
TW202023233A (zh) | 使用去中心化決策更新區塊鏈智慧合約 | |
US8826455B2 (en) | Method and apparatus for automated assignment of access permissions to users | |
US20110072436A1 (en) | Resource optimization for real-time task assignment in multi-process environments | |
KR20060048381A (ko) | 컴퓨터-사용가능 프로젝트 관리 방법 및 시스템에서의계층적인 프로젝트들 | |
CN110348238B (zh) | 一种面向应用的隐私保护分级方法及装置 | |
US8010560B2 (en) | Abducing assertion to support access query | |
US7401090B2 (en) | Computer-based business planning processes | |
JP2004523826A5 (fr) | ||
JP7219325B2 (ja) | 対象システムおよびアプリケーションに対するアクセス権を制御するシステム | |
WO2020135587A1 (fr) | Procédé et appareil de construction d'ensemble d'indices d'évaluation de risque | |
WO2021164265A1 (fr) | Procédé et appareil d'attribution de tâche d'externalisation ouverte, ainsi que dispositif électronique et support de stockage | |
Brailsford | Theoretical comparison of discrete‐event simulation and system dynamics | |
CN111800291B (zh) | 一种服务功能链部署方法及装置 | |
US8095970B2 (en) | Dynamically associating attribute values with objects | |
Borowiecki et al. | The potential of greed for independence | |
CN117390648A (zh) | 资源访问权限的管理方法、装置、设备及存储介质 | |
US20070174113A1 (en) | Enterprise incentive management | |
US20050010666A1 (en) | System and method for enforcing quotas on object creation in a replicated directory service database | |
Pokushko et al. | Application of data envelopment analysis method for assessment of performance of enterprises in fuel and energy complex | |
CN114066310A (zh) | 审批任务分配方法、装置、计算机设备和存储介质 | |
JP7348827B2 (ja) | 情報処理装置および情報処理方法 | |
Arthur et al. | On the challenges of deploying privacy-preserving synthetic data in the enterprise | |
WO2020258694A1 (fr) | Procédé et système de gestion de noms de domaines |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 27/06/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21888125 Country of ref document: EP Kind code of ref document: A1 |