Method, device and equipment for determining approval authority based on blockchain

CN115907431BActive Publication Date: 2026-09-08中移信息技术有限公司 +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211707603.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-28
Publication Date
2026-09-08
Estimated Expiration
2042-12-28

AI Technical Summary

Technical Problem

[0002]目前,在审批领域中,由于没有针对审批权限的自动监督和约束机制,且审批机制经常以某个审批者为中心,容易出现审批权限的滥用问题,从而导致审批失去客观性和公正性

Benefits of technology

[0034] This application provides a blockchain-based method, apparatus, and device for determining approval permissions. A first blockchain node receives an approval request from a preset object, calculates the total approval permission score for each blockchain node in the blockchain approval permission calculation system, and generates first scoring information. Then, the first blockchain node receives second scoring information from each second blockchain node. If N approval identifiers in the first scoring information match N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers to process the approval request. Therefore, this application provides a blockchain-based method for determining approval permissions. Based on the tamper-proof nature of blockchain, it considers the approver's previous evaluations and combines comprehensive indicators such as approval efficiency, objectivity, and fairness to more objectively determine the owner of approval permissions, thereby ensuring the objectivity and fairness of the approval process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115907431B_ABST
    Figure CN115907431B_ABST
Patent Text Reader

Abstract

The application discloses a kind of based on the determination method, device and equipment of approval authority of blockchain.The method comprises: first blockchain node receives the approval request sent by preset object, and calculates the total score of the approval authority of each blockchain node in blockchain approval authority calculation system, generates first score information, then receives each second blockchain node feedback second score information, in the case where N approval identifiers in first score information are same with N approval identifiers in second score information, from N approval identifiers corresponding N blockchain nodes Randomly determine a target blockchain node for processing approval request.According to the embodiment of the application, based on the tamper-proof attribute of blockchain, combined with the comprehensive index such as the evaluation of the previous approval, approval efficiency, approval objectivity and fairness, the owner of approval authority can be more objectively and fairly determined, so as to ensure the objectivity and fairness of approval.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of big data computing, and in particular relates to a method, apparatus and equipment for determining approval authority based on blockchain. Background Technology

[0002] Currently, in the field of approval, due to the lack of automatic supervision and constraint mechanisms for approval authority, and the fact that the approval mechanism is often centered on a certain approver, the problem of abuse of approval authority is prone to occur, which leads to the loss of objectivity and impartiality in the approval process.

[0003] The existing methods for determining approval authority use the average workload baseline of each approver as the evaluation index. The calculation is based on the approver's workload index. However, workload only reflects a part of the approver's work and cannot represent the overall objectivity of the approval. A larger number of approvals does not mean that the approval is more objective and fair. Furthermore, it does not take into account the approver's previous approval evaluation, i.e., the approver's objectivity and fairness. Therefore, the objectivity and fairness of the approval cannot be guaranteed. Summary of the Invention

[0004] This application provides a method, apparatus, and device for determining approval authority based on blockchain. It can take into account the approver's previous evaluation based on the tamper-proof property of blockchain, and combine comprehensive indicators such as approval efficiency, objectivity, and fairness to more objectively determine the owner of approval authority, thereby ensuring the objectivity and fairness of the approval process.

[0005] In a first aspect, embodiments of this application provide a method for determining approval permissions based on blockchain. This method is applied to multiple blockchain nodes, each blockchain node corresponding to an approval identifier, including:

[0006] The first blockchain node receives an approval request sent by a preset object, wherein the preset object is an approval terminal or a second blockchain node among multiple blockchain nodes;

[0007] The first blockchain node calculates the total approval authority score of each blockchain node in the blockchain approval authority calculation system and generates the first score information, which includes the top N approval identifiers with the highest scores.

[0008] The first blockchain node receives second scoring information from each second blockchain node, where the second scoring information includes the top N approval identifiers with the highest scores;

[0009] If the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers. The target blockchain node is used to process the approval request.

[0010] In some possible implementations of the first aspect, the first blockchain node calculates the total approval authority score for each blockchain node in the blockchain approval authority calculation system, including:

[0011] The first blockchain node obtains the total score of the number of approvals for each blockchain node within T-1 target approval cycles, and the total score of the approval evaluation for each blockchain node within T-1 target approval cycles, where the target approval cycle is the approval cycle preceding the approval cycle in which the approval request is located, and T is a positive integer greater than 1; and,

[0012] Obtain the influencing factors of the number of approvals and the influencing factors of approval evaluation;

[0013] For each blockchain node, the product of the approval quantity impact factor and the total approval quantity score is calculated to obtain the first score, and the product of the approval evaluation impact factor and the total approval evaluation score is calculated to obtain the second score.

[0014] The total score for approval authority of each blockchain node is determined based on the first score and the second score.

[0015] In some possible implementations of the first aspect, the first blockchain node obtains the total score of the number of approvals for each blockchain node in the T-1 target approval cycles, including:

[0016] The first blockchain node obtains the first total number of approval results for each blockchain node in the T-1 target approval cycles as the first identifier, and the first total number of approval results for each blockchain node in the T-1 target approval cycles as the second identifier; and,

[0017] Obtain the first and second identifier impact factors;

[0018] For each blockchain node, the total score for the number of approvals is determined based on the product of the first identifier influence factor and the first total number, and the product of the second identifier influence factor and the second total number.

[0019] In some possible implementations of the first aspect, the total approval evaluation score of each blockchain node over T-1 target approval cycles is obtained, including:

[0020] The first blockchain node obtains the approval accuracy score, approval timeliness score, and approval opinion availability score for each blockchain node in each target approval cycle; and,

[0021] Obtain the factors affecting the accuracy of approval, the timeliness of approval, and the availability of approval opinions;

[0022] For each blockchain node, the total approval evaluation score for each blockchain node in T-1 target approval cycles is determined based on the approval accuracy impact factor, the approval accuracy score of each blockchain node in each target approval cycle, the approval timeliness impact factor, the approval timeliness score in each target approval cycle, the approval opinion availability impact factor, and the approval opinion availability score in each target approval cycle.

[0023] In some possible implementations of the first aspect, after randomly selecting a target blockchain node from the N blockchain nodes corresponding to the N approval identifiers when the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, the method further includes:

[0024] When the first blockchain node is the target blockchain node, the approval information corresponding to the target blockchain node is sent to each second blockchain node;

[0025] In the case where the target blockchain node is included in multiple second blockchains, the approval information corresponding to the target blockchain node is sent to the blockchain nodes other than the target blockchain node among the multiple blockchain nodes.

[0026] Secondly, embodiments of this application provide a blockchain-based approval authority determination device. This device is applied to multiple blockchain nodes, each blockchain node corresponding to an approval identifier, including:

[0027] The receiving module is used by the first blockchain node to receive the approval request sent by the preset object, wherein the preset object is the approval terminal or the second blockchain node among multiple blockchain nodes;

[0028] The processing module is used by the first blockchain node to calculate the total score of approval authority for each blockchain node in the blockchain approval authority calculation system, and to generate the first score information, which includes the top N approval identifiers with the highest scores.

[0029] The receiving module is further configured to receive second scoring information from each second blockchain node, wherein the second scoring information includes the top N approval identifiers with the highest scores;

[0030] The processing module is further configured to, when the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, randomly determine a target blockchain node from the N blockchain nodes corresponding to the N approval identifiers, and the target blockchain node is used to process the approval request.

[0031] Thirdly, this application provides an electronic device comprising: a processor and a memory storing computer program instructions; wherein the processor, when executing the computer program instructions, implements the blockchain-based method for determining approval permissions as described in the first aspect or any implementable embodiment of the first aspect.

[0032] Fourthly, this application provides a computer-readable storage medium storing computer program instructions, which, when executed by a processor, implement the blockchain-based method for determining approval permissions as described in the first aspect or any implementable method of the first aspect.

[0033] Fifthly, embodiments of this application provide a computer program product in which instructions, when executed by a processor of an electronic device, cause the electronic device to perform a blockchain-based method for determining approval permissions as described in the first aspect or any implementable embodiment of the first aspect.

[0034] This application provides a blockchain-based method, apparatus, and device for determining approval permissions. A first blockchain node receives an approval request from a preset object, calculates the total approval permission score for each blockchain node in the blockchain approval permission calculation system, and generates first scoring information. Then, the first blockchain node receives second scoring information from each second blockchain node. If N approval identifiers in the first scoring information match N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers to process the approval request. Therefore, this application provides a blockchain-based method for determining approval permissions. Based on the tamper-proof nature of blockchain, it considers the approver's previous evaluations and combines comprehensive indicators such as approval efficiency, objectivity, and fairness to more objectively determine the owner of approval permissions, thereby ensuring the objectivity and fairness of the approval process. Attached Figure Description

[0035] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments of this application will be briefly introduced below. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0036] Figure 1 This is a flowchart illustrating a blockchain-based method for determining approval permissions, as provided in an embodiment of this application.

[0037] Figure 2 This is a flowchart illustrating the specific implementation method of step S102;

[0038] Figure 3This is a flowchart illustrating a specific implementation of step S1021;

[0039] Figure 4 This is a flowchart illustrating another specific implementation of step S1021;

[0040] Figure 5 This is a flowchart illustrating another blockchain-based method for determining approval permissions provided in an embodiment of this application.

[0041] Figure 6 This is a schematic diagram of a blockchain-based approval authority determination device provided in an embodiment of this application;

[0042] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0043] The features and exemplary embodiments of various aspects of this application will be described in detail below. To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain this application and not to limit it. For those skilled in the art, this application can be implemented without some of these specific details. The following description of the embodiments is merely to provide a better understanding of this application by illustrating examples.

[0044] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising..." does not exclude the presence of additional identical elements in the process, method, article, or apparatus that includes said element.

[0045] In practice, approval authority is often too centralized, which can easily lead to problems in the approval process over time. Moreover, there is no particularly good automatic supervision and constraint mechanism for approval authority. Even if there is a supervisory body to supervise, the abuse of approval authority can still easily occur during non-supervisory periods, causing the approval process to lose its objectivity and impartiality.

[0046] Currently, the method for determining approval authority is based on the workload indicators of the approvers, but workload does not represent the overall objectivity of the approval process. A higher number of approvals does not necessarily mean greater objectivity and fairness. Furthermore, the approval process does not take into account the approvers' previous evaluations, so the objectivity and fairness of the approval process cannot be guaranteed.

[0047] To address the problems of existing technologies, embodiments of this application provide a method, apparatus, and device for determining approval permissions based on blockchain. The method for determining approval permissions based on blockchain provided in this application embodiment will be described first below.

[0048] Figure 1 This illustration shows a flowchart of a blockchain-based method for determining approval permissions, as provided in an embodiment of this application. Figure 1 As shown, the method may include the following steps:

[0049] S101, The first blockchain node receives the approval request sent by the preset object;

[0050] S102. The first blockchain node calculates the total score of the approval authority of each blockchain node in the blockchain approval authority calculation system and generates the first score information, which includes the top N approval identifiers with the highest scores.

[0051] S103. The first blockchain node receives the second scoring information from each second blockchain node, wherein the second scoring information includes the top N approval identifiers with the highest scores;

[0052] S104. If the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers.

[0053] Therefore, according to the blockchain-based approval authority determination method provided in this application embodiment, the first blockchain node receives the approval request sent by a preset object, calculates the total approval authority score of each blockchain node in the blockchain approval authority calculation system, and generates first scoring information. Then, the first blockchain node receives second scoring information fed back by each second blockchain node. If the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers to process the approval request. Thus, the blockchain-based approval authority determination method provided in this application embodiment, based on the tamper-proof attribute of blockchain, takes into account the approver's previous evaluation and combines comprehensive indicators such as approval efficiency, approval objectivity, and fairness to more objectively determine the owner of the approval authority, thereby ensuring the objectivity and fairness of the approval.

[0054] The specific implementation methods for each of the above steps are described below.

[0055] The blockchain-based method for determining approval permissions provided in this application is applied to a blockchain approval permission calculation system. The blockchain approval permission calculation system includes multiple blockchain nodes, and each blockchain node corresponds to an approval identifier.

[0056] In some embodiments, in S101, the preset object is the approval terminal associated with the first blockchain node or the second blockchain node among multiple blockchain nodes.

[0057] Specifically, the second blockchain node is any blockchain node other than the first blockchain node among multiple blockchain nodes. Whenever an event or project requires approval, the predefined object initiates an approval request to the blockchain approval permission calculation system. Approval can only be carried out after the approver has obtained approval authorization.

[0058] In some embodiments, in S102, in order to calculate the total approval authority score for each blockchain node and generate first scoring information, such as... Figure 2 As shown, the above S102 may include the following steps:

[0059] S1021. The first blockchain node obtains the total score of the number of approvals for each blockchain node in the T-1 target approval cycles, the total score of the approval evaluation for each blockchain node in the T-1 target approval cycles, as well as the approval number influence factor and the approval evaluation influence factor.

[0060] S1022. For each blockchain node, calculate the product of the approval quantity impact factor and the total approval quantity score to obtain the first score, and calculate the product of the approval evaluation impact factor and the total approval evaluation score to obtain the second score.

[0061] S1023. Determine the total score for approval authority of each blockchain node based on the first score and the second score.

[0062] As an example, in S1021, T is a positive integer greater than 1, and the target approval cycle refers to the approval cycle preceding the approval cycle in which the approval request is located. Optionally, the cycle can be one day, one week, or one month, which can be set according to the specific application. The approval quantity impact factor is determined based on the preset approval quantity weight and the historical approval quantity impact factor, wherein the historical approval quantity impact factor includes the approval quantity impact factor corresponding to each target approval cycle. The approval evaluation impact factor is determined based on the preset approval evaluation weight and the historical approval evaluation impact factor, wherein the historical approval evaluation impact factor includes the approval evaluation impact factor corresponding to each target approval cycle.

[0063] In some embodiments, in S1022 and S1023, based on the idea of ​​the following formula (1), a first score is obtained based on the product of the approval quantity influence factor and the total score of the approval quantity; a second score is obtained based on the product of the approval evaluation influence factor and the total score of the approval evaluation; and then the total score of the approval authority of each blockchain node is determined according to the first score and the second score.

[0064]

[0065] Where TCS(id,t) i This represents the total score of the blockchain node's approval authority in the current cycle. This represents the total score based on the number of approvals. RW represents the total score for the approval evaluation. i (id,t i ) represents the factor influencing the number of approvals, sw i (id,t i () indicates the impact factor of the approval and evaluation.

[0066] The factor affecting the number of approvals can be calculated based on the following formula (2):

[0067]

[0068] Among them, rw i (id,t i () represents the factor influencing the number of approvals, rw i rw represents the preset approval quantity weight. i (t i The number of approvals corresponding to the target approval cycle is represented by the factor.

[0069] The impact factor of the approval evaluation can be calculated based on the following formula (3):

[0070]

[0071] Among them, sw i (id,t i ) represents the approval evaluation impact factor, sw i Indicates the preset approval evaluation weights, sw i (t i ) represents the approval evaluation impact factor corresponding to the target approval cycle.

[0072] For the i-th cycle, the influence factor is calculated based on the following formula (4):

[0073]

[0074] Among them, w i (id,t i) represents the impact factor, w i w represents the weight of the i-th period. i (t i ) represents the influence factor of the i-th period.

[0075] Therefore, for each blockchain node, the product of the approval quantity impact factor and the total approval quantity score is calculated to obtain the first score, and the product of the approval evaluation impact factor and the total approval evaluation score is calculated to obtain the second score. Then, the total approval authority score of each blockchain node is accurately determined based on the first score and the second score.

[0076] In some embodiments, such as Figure 3 As shown, in S1021 above, the first blockchain node obtaining the total score of the number of approvals for each blockchain node in the T-1 target approval cycles may include the following steps:

[0077] S10211. The first blockchain node obtains the first total number of approval results of each blockchain node in T-1 target approval cycles as the first identifier, the first total number of approval results of each blockchain node in T-1 target approval cycles as the second identifier, and obtains the first identifier influence factor and the second identifier influence factor.

[0078] S10212. For each blockchain node, determine the total score of the number of approvals for each blockchain node based on the product of the first identifier influence factor and the first total number, and the product of the second identifier influence factor and the second total number.

[0079] As an example, in S10211 and S10212, the approval result corresponding to the second identifier includes at least one of: erroneous approval, unauthorized approval, abuse of approval, and delayed approval. Based on the following formula (5), the total score of the number of approvals for each blockchain node is determined according to the product of the first identifier influence factor and the first total number, and the product of the second identifier influence factor and the second total number.

[0080]

[0081] Total score based on the number of chain node approvals.

[0082] The first identification impact factor can be calculated based on the following formula (6):

[0083]

[0084] Where rx(id,t) i ) represents the first identifier impact factor, correctrec(id,t i () indicates the number of correct approvals in the current cycle. This indicates the current cumulative number of correct approvals.

[0085] The second identifier impact factor can be calculated based on the following formula (7):

[0086]

[0087] Among them, wy(id,t) i ) represents the second identifier impact factor, wrongrec(id,t i This indicates the number of approval errors in the current period. This indicates the current cumulative number of approval errors.

[0088] Therefore, based on the above calculation method, the total score of the number of approvals for each blockchain node in the T-1 target approval cycle can be accurately obtained, so as to determine the most suitable approver.

[0089] As an example, such as Figure 4 As shown, obtaining the total approval evaluation score of each blockchain node in the T-1 target approval cycles in S1021 above may include the following steps:

[0090] S10213. The first blockchain node obtains the approval accuracy score, approval timeliness score, and approval opinion availability score of each blockchain node in each target approval cycle, as well as the approval accuracy impact factor, approval timeliness impact factor, and approval opinion availability impact factor.

[0091] S10214. For each blockchain node, based on the approval accuracy impact factor, the approval accuracy score of each blockchain node in each target approval cycle, the approval timeliness impact factor, the approval timeliness score in each target approval cycle, the approval opinion availability impact factor, and the approval opinion availability score in each target approval cycle, determine the total approval evaluation score of each blockchain node in the T-1 target approval cycles.

[0092] As an example, in S10213 and S10214, the total approval evaluation score of each blockchain node in the T-1 target approval cycle is determined based on the following formula (8).

[0093]

[0094] Wherein, ac(id,t) i ) represents the factor affecting the accuracy of the approval process, tm(id,t i () indicates the timeliness of the approval process.

[0095] Na's score and score(id,t) i () indicates the total score for the approval evaluation.

[0096] The accuracy factor of the approval process is calculated based on the following formula (9):

[0097]

[0098] Among them, ac i (id,t i ) represents the factor affecting the accuracy of the approval process, ac i This indicates the accuracy rate of current blockchain node approvals. This indicates the accuracy of approvals by all blockchain nodes.

[0099] The timeliness of approval is affected by the following formula (10):

[0100]

[0101] Among them, tm i (id,t i ) indicates the factor affecting the timeliness of the approval process, tm i This indicates the timeliness of the current blockchain node approval process. This indicates the timeliness of approvals by all blockchain nodes.

[0102] The availability impact factor of the approval opinion is calculated based on the following formula (11):

[0103]

[0104] Among them, ad i (id,t i () indicates the factor affecting the availability of approval opinions, ad i This indicates the current adoption rate of approval opinions from blockchain nodes. This indicates the adoption rate of approval opinions across all blockchain nodes.

[0105] Optionally, the range of scores for accuracy rating by other approvers, timeliness rating by other approvers, and adoption of approval opinions in the current period is [-100, 100].

[0106] Therefore, based on the above calculation method, the total approval evaluation score of each blockchain node in the T-1 target approval cycle can be accurately obtained, which can be used to determine the most suitable approver by combining the total score of the number of approvals of each blockchain node in the T-1 target approval cycle.

[0107] In some embodiments, in S103, there are multiple second blockchain nodes, each containing second scoring information including the top N approval identifiers with the highest scores. The first blockchain node receives the second scoring information fed back by each second blockchain node to determine the target blockchain node through the first scoring information generated by the first blockchain node and the second scoring information fed back by the second blockchain node, for processing the approval request.

[0108] In some embodiments, in S104, both the first scoring information and the second scoring information include N approval identifiers. In order to determine the most suitable target blockchain node to process the approval request, if the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers to process the approval request.

[0109] Therefore, whenever an approval request is received, the blockchain approval authority calculation system sends the request to all blockchain nodes. Each blockchain node, upon receiving the request, calculates the approver's score and randomly selects a target blockchain node from the N nodes with the highest scores to process the request. This approach allows for a more objective, fair, and effective selection of the final approver, avoiding the drawbacks of overly centralized approval in existing methods.

[0110] Figure 5 This application illustrates another blockchain-based method for determining approval permissions, such as... Figure 5 As shown, after S104, in order to make the approval information public and transparent, the method may further include the following steps:

[0111] S501. When the first blockchain node is the target blockchain node, send the approval information corresponding to the target blockchain node to each second blockchain node;

[0112] S502. In the case where the target blockchain node is included in multiple second blockchains, send the approval information corresponding to the target blockchain node to the blockchain nodes other than the target blockchain node among the multiple blockchain nodes.

[0113] In some embodiments, the approval information includes an approval identifier, an approval result, and an approval evaluation. In S501, since the blockchain approval limit calculation system includes multiple blockchain nodes, and the second blockchain node is a blockchain node other than the first blockchain node, in order to ensure the openness of the approval, when the first blockchain node is the target blockchain node, the approval information needs to be sent to the second blockchain node.

[0114] In some embodiments, in S502, there are multiple second blockchain nodes. In order to ensure the full coverage of approval information in each blockchain node and thus guarantee the openness, fairness and objectivity of the approval, when the target blockchain node is included in multiple second blockchains, it is necessary to send the approval information corresponding to the target blockchain node to the blockchain nodes other than the target blockchain node in the multiple blockchain nodes.

[0115] Therefore, the blockchain approval authority calculation system adopts a distributed node deployment. After determining the target blockchain node for processing the approval request, the approval information is stored in the target blockchain node based on the blockchain approval authority calculation system, and simultaneously synchronized to the blockchain nodes corresponding to all other approvers, so as to achieve the effect of openness and transparency in the approval process, while facilitating the calculation of the overall evaluation of the approval in the next round and the traceability of subsequent approval records.

[0116] It should be noted that the application scenarios described in the above embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided by the embodiments of this application. Those skilled in the art will understand that with the emergence of new application scenarios, the technical solutions provided by the embodiments of this application are also applicable to similar technical problems.

[0117] Based on the same inventive concept, this application also provides a blockchain-based approval authority determination device 600 corresponding to the aforementioned blockchain-based approval authority determination method. Specifically, in conjunction with... Figure 6 A detailed explanation will be provided.

[0118] Figure 6 This is a schematic diagram of a blockchain-based approval permission determination device provided in an embodiment of this application, as shown below. Figure 6 As shown, the blockchain-based approval authority determination device 600 may include:

[0119] The receiving module 610 is used for the first blockchain node to receive an approval request sent by a preset object, wherein the preset object is an approval terminal or a second blockchain node among multiple blockchain nodes;

[0120] The processing module 620 is used to calculate the total approval authority score of each blockchain node in the blockchain approval authority calculation system and generate the first score information, which includes the top N approval identifiers with the highest scores.

[0121] The receiving module 610 is also used for the first blockchain node to receive the second scoring information fed back by each second blockchain node, wherein the second scoring information includes the top N approval identifiers with the highest scores;

[0122] The processing module 620 is further configured to, when the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, randomly select a target blockchain node from the N blockchain nodes corresponding to the N approval identifiers, and the target blockchain node is used to process the approval request.

[0123] Therefore, the blockchain-based approval authority determination device provided in this application embodiment receives approval requests sent by a preset object through a first blockchain node, calculates the total approval authority score of each blockchain node in the blockchain approval authority calculation system, and generates first scoring information. Then, the first blockchain node receives second scoring information fed back by each second blockchain node. If the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers to process the approval request. Thus, the blockchain-based approval authority determination device provided in this application embodiment, based on the tamper-proof attribute of blockchain, takes into account the approver's previous evaluation and combines comprehensive indicators such as approval efficiency, approval objectivity, and fairness to more objectively determine the owner of the approval authority, thereby ensuring the objectivity and fairness of the approval.

[0124] The following is a detailed description of the blockchain-based approval authority determination device 600:

[0125] In some embodiments, in order to calculate the total approval authority score of each blockchain node in the blockchain approval authority calculation system, the processing module 620 may include the following units:

[0126] The acquisition unit is used by the first blockchain node to acquire the total score of the number of approvals for each blockchain node in T-1 target approval cycles, the total score of the approval evaluation for each blockchain node in T-1 target approval cycles, as well as the approval number influence factor and the approval evaluation influence factor.

[0127] The calculation unit is used for each blockchain node to calculate the product of the approval quantity impact factor and the total score of the approval quantity to obtain the first score, and to calculate the product of the approval evaluation impact factor and the total score of the approval evaluation to obtain the second score.

[0128] The determination unit is used to determine the total score of approval authority for each blockchain node based on the first score and the second score.

[0129] As an example, to obtain the total score of the number of approvals for each blockchain node in T-1 target approval cycles, the above-mentioned acquisition unit may include the following units:

[0130] The first acquisition subunit is used by the first blockchain node to acquire the first total number of approval results of each blockchain node in T-1 target approval cycles as the first identifier, the first total number of approval results of each blockchain node in T-1 target approval cycles as the second identifier, and to acquire the first identifier influence factor and the second identifier influence factor.

[0131] The first determining subunit is used to determine the total score of the number of approvals for each blockchain node based on the product of the first identifier influence factor and the first total number, and the product of the second identifier influence factor and the second total number.

[0132] As an example, in order to obtain the total approval evaluation score of each blockchain node in T-1 target approval cycles, the above-mentioned acquisition unit may further include the following units:

[0133] The second acquisition subunit is used by the first blockchain node to acquire the approval accuracy score, approval timeliness score, and approval opinion availability score of each blockchain node in each target approval cycle, as well as to acquire the approval accuracy impact factor, approval timeliness impact factor, and approval opinion availability impact factor.

[0134] The second determining subunit is used to correspond to each blockchain node. Based on the approval accuracy impact factor, the approval accuracy score of each blockchain node in each target approval cycle, the approval timeliness impact factor, the approval timeliness score in each target approval cycle, the approval opinion availability impact factor, and the approval opinion availability score in each target approval cycle, the total approval evaluation score of each blockchain node in the T-1 target approval cycles is determined.

[0135] In some embodiments, when the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, after randomly determining a target blockchain node from the N blockchain nodes corresponding to the N approval identifiers, in order to make the approval information public and transparent, the above-mentioned blockchain-based approval authority determination device 600 may further include the following units:

[0136] The first sending unit is used to send the approval information corresponding to the target blockchain node to each second blockchain node when the first blockchain node is the target blockchain node.

[0137] The second sending unit is used to send the approval information corresponding to the target blockchain node to the blockchain nodes other than the target blockchain node among the multiple blockchain nodes when the target blockchain node is included in the multiple second blockchains.

[0138] It is understood that the blockchain-based approval permission determination 600 in this application embodiment can correspond to the execution subject of the blockchain-based approval permission determination method provided in this application embodiment. For specific details of the operation and / or function of each module / unit of the blockchain-based approval permission determination device 600, please refer to the description of the corresponding part in the blockchain-based approval permission determination method provided in the above application embodiment. For the sake of brevity, it will not be repeated here.

[0139] Figure 7 A schematic diagram of the hardware structure of the electronic device provided in an embodiment of this application is shown. For example... Figure 7 As shown, the electronic device 700 may include a processor 701 and a memory 702 storing computer program instructions.

[0140] Specifically, the processor 701 may include a central processing unit (CPU), an application specific integrated circuit (ASIC), or one or more integrated circuits that can be configured to implement the embodiments of this application.

[0141] Memory 702 may include mass storage for information or instructions. For example, and not limitingly, memory 702 may include a hard disk drive (HDD), floppy disk drive, flash memory, optical disk, magneto-optical disk, magnetic tape, or Universal Serial Bus (USB) drive, or a combination of two or more of these. In one instance, memory 702 may include removable or non-removable (or fixed) media, or memory 702 may be a non-volatile solid-state memory. Memory 702 may be internal or external to electronic device 700.

[0142] Memory 702 may include read-only memory (ROM), random access memory (RAM), disk storage media devices, optical storage media devices, flash memory devices, and electrical, optical, or other physical / tangible memory storage devices. Therefore, typically, memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the blockchain-based approval authority determination method according to the first aspect of this application.

[0143] The processor 701 reads and executes the computer program instructions stored in the memory 702 to implement the blockchain-based approval permission determination method described in the embodiments of this application, and achieves the corresponding technical effects achieved by executing the method in the embodiments of this application. For the sake of brevity, it will not be described in detail here.

[0144] In one example, the electronic device 700 may also include a communication interface 703 and a bus 704. Wherein, as... Figure 7 As shown, the processor 701, memory 702, and communication interface 703 are connected through bus 704 and complete communication with each other.

[0145] The communication interface 703 is mainly used to realize communication between various modules, devices, units and / or equipment in the embodiments of this application.

[0146] Bus 704 includes hardware, software, or both, that couples components of electronic device 700 together. For example, and not as a limitation, bus 704 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an Infinite Bandwidth Interconnect, a Low Pin Count (LPC) bus, a memory bus, a Microchannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local (VLB) bus, or other suitable buses, or combinations of two or more of these. Where appropriate, bus 704 may include one or more buses. Although specific buses are described and illustrated in embodiments of this application, this application contemplates any suitable bus or interconnect.

[0147] The electronic device 700 can execute the blockchain-based approval permission determination method in the embodiments of this application, thereby achieving the corresponding technical effects of the blockchain-based approval permission determination method described in the embodiments of this application.

[0148] Furthermore, in conjunction with the blockchain-based approval permission determination method in the above embodiments, this application embodiment can provide a readable storage medium for implementation. This readable storage medium stores computer program instructions; when these computer program instructions are executed by a processor, they implement any of the blockchain-based approval permission determination methods in the above embodiments. Examples of readable storage media can be non-transitory machine-readable media, such as electronic circuits, semiconductor memory devices, read-only memory (ROM), floppy disks, compact disc read-only memory (CD-ROM), optical discs, hard disks, etc.

[0149] It should be clarified that this application is not limited to the specific configurations and processes described above and shown in the figures. For the sake of brevity, detailed descriptions of known methods are omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of this application is not limited to the specific steps described and shown. Those skilled in the art can make various changes, modifications, and additions, or change the order of steps, after understanding the spirit of this application.

[0150] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application-specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of this application are programs or code segments used to perform the required tasks. Programs or code segments can be stored on a machine-readable medium or transmitted over a transmission medium or communication link via data signals carried on a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, read-only memory (ROM), flash memory, erasable read-only memory (EROM), floppy disks, compact disc read-only memory (CD-ROM), optical disks, hard disks, fiber optic media, radio frequency (RF) links, etc. Code segments can be downloaded via computer networks such as the Internet, intranets, etc.

[0151] It should also be noted that the exemplary embodiments mentioned in this application describe methods or systems based on a series of steps or apparatus. However, this application is not limited to the order of the above steps; that is, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.

[0152] The aspects of this application have been described above with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It should be understood that each block in the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus to produce a machine such that these instructions, executable via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions / actions specified in one or more blocks of the flowchart illustrations and / or block diagrams. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field-programmable logic circuit. It is also understood that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can also be implemented by dedicated hardware performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.

[0153] The above description is merely a specific implementation of this application. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, modules, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here. It should be understood that the protection scope of this application is not limited thereto. Any person skilled in the art can easily conceive of various equivalent modifications or substitutions within the technical scope disclosed in this application, and these modifications or substitutions should all be covered within the protection scope of this application.

Claims

1. A method for determining approval authority based on blockchain, characterized in that, The method is applied to multiple blockchain nodes, each blockchain node corresponding to an approval identifier, and the method includes: The first blockchain node receives an approval request sent by a preset object, wherein the preset object is an approval terminal or a second blockchain node among the plurality of blockchain nodes; The first blockchain node obtains the total score of the number of approvals for each blockchain node in T-1 target approval cycles, and the total score of the approval evaluation for each blockchain node in T-1 target approval cycles, wherein the target approval cycle is the approval cycle before the approval cycle in which the approval request is located, and T is a positive integer greater than 1; and obtains the approval quantity influence factor and the approval evaluation influence factor; for each blockchain node, calculates the product of the approval quantity influence factor and the total score of the number of approvals to obtain a first score, and calculates the product of the approval evaluation influence factor and the total score of the approval evaluation to obtain a second score; based on the first score and the second score, determines the total score of the approval authority of each blockchain node, and generates first scoring information, the first scoring information including the top N approval identifiers with the highest scores; The first blockchain node receives second scoring information from each second blockchain node, wherein the second scoring information includes the top N approval identifiers with the highest scores; If the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, a target blockchain node is randomly selected from the N blockchain nodes corresponding to the N approval identifiers, and the target blockchain node is used to process the approval request.

2. The method according to claim 1, characterized in that, The approval quantity impact factor is determined based on a preset approval quantity weight and a historical approval quantity impact factor, wherein the historical approval quantity impact factor includes the approval quantity impact factor corresponding to each target approval cycle; The approval evaluation impact factor is determined based on the preset approval evaluation weight and the historical approval evaluation impact factor, and the historical approval evaluation impact factor includes the approval evaluation impact factor corresponding to each target approval cycle.

3. The method according to claim 1, characterized in that, The first blockchain node obtains the total score of the number of approvals for each blockchain node in the T-1 target approval cycles, including: The first blockchain node obtains the first total number of approval results for each blockchain node in T-1 target approval cycles, which is a first identifier; and the first total number of approval results for each blockchain node in T-1 target approval cycles, which is a second identifier; and, Obtain the first and second identifier impact factors; For each blockchain node, the total score for the number of approvals is determined based on the product of the first identifier influence factor and the first total number, and the product of the second identifier influence factor and the second total number.

4. The method according to claim 3, characterized in that, The approval result corresponding to the second identifier includes at least one of the following: erroneous approval, unauthorized approval, abuse of approval, and delayed approval.

5. The method according to claim 1, characterized in that, The process of obtaining the total approval evaluation score for each blockchain node in T-1 target approval cycles includes: The first blockchain node obtains the approval accuracy score, the approval timeliness score, and the approval opinion availability score for each blockchain node in each target approval cycle; and, Obtain the factors affecting the accuracy of approval, the timeliness of approval, and the availability of approval opinions; For each blockchain node, the total approval evaluation score for each blockchain node in T-1 target approval cycles is determined based on the approval accuracy impact factor, the approval accuracy score of each blockchain node in each target approval cycle, the approval timeliness impact factor, the approval timeliness score in each target approval cycle, the approval opinion availability impact factor, and the approval opinion availability score in each target approval cycle.

6. The method according to claim 1, characterized in that, If the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, after randomly determining a target blockchain node from the N blockchain nodes corresponding to the N approval identifiers, the method further includes: When the first blockchain node is the target blockchain node, the approval information corresponding to the target blockchain node is sent to each of the second blockchain nodes; In the case where the target blockchain node is included in multiple second blockchains, the approval information corresponding to the target blockchain node is sent to the blockchain nodes other than the target blockchain node among the multiple blockchain nodes; The approval information includes approval identifier, approval result, and approval evaluation.

7. A device for determining approval authority based on blockchain, characterized in that, Applied to multiple blockchain nodes, each blockchain node corresponding to an approval identifier, the device includes: A receiving module is used for the first blockchain node to receive an approval request sent by a preset object, wherein the preset object is an approval terminal or a second blockchain node among the plurality of blockchain nodes; The processing module is configured to: obtain, for the first blockchain node, the total score of the number of approvals for each blockchain node in T-1 target approval cycles, and the total score of the approval evaluation for each blockchain node in T-1 target approval cycles, wherein the target approval cycle is the approval cycle preceding the approval cycle in which the approval request is located, and T is a positive integer greater than 1; and obtain the approval quantity influence factor and the approval evaluation influence factor; for each blockchain node, calculate the product of the approval quantity influence factor and the total score of the number of approvals to obtain a first score, and calculate the product of the approval evaluation influence factor and the total score of the approval evaluation to obtain a second score; determine the total score of the approval authority for each blockchain node based on the first score and the second score, and generate first scoring information, wherein the first scoring information includes the top N approval identifiers with the highest scores; The receiving module is further configured to receive second scoring information from each second blockchain node, wherein the second scoring information includes the top N approval identifiers with the highest scores; The processing module is further configured to, when the N approval identifiers in the first scoring information are the same as the N approval identifiers in the second scoring information, randomly determine a target blockchain node from the N blockchain nodes corresponding to the N approval identifiers, and the target blockchain node is used to process the approval request.

8. An electronic device, characterized in that, The device includes: a processor, and a memory storing computer program instructions; The processor reads and executes the computer program instructions to implement the blockchain-based method for determining approval permissions as described in any one of claims 1 to 6.

9. A readable storage medium, characterized in that, The readable storage medium stores computer program instructions, which, when executed by a processor, implement the blockchain-based method for determining approval permissions as described in any one of claims 1 to 6.

Citation Information

Patent Citations

  • Blockchain-accounting-node selecting method and device and computer readable storage medium

    CN109481936A

  • Block chain-based information auditing method and device, equipment and storage medium

    CN115391835A