Search

CN-122001557-A - Administrative affairs of village digital security management and control method and system based on blockchain

CN122001557ACN 122001557 ACN122001557 ACN 122001557ACN-122001557-A

Abstract

The invention relates to the technical field of data management and discloses a administrative affairs of village digital security control method and system based on a blockchain, wherein the method comprises the steps of carrying out structural analysis on original administrative affairs of village data of a target region, generating standardized administrative affairs of village transaction data and packaging the standardized administrative affairs of village transaction data into candidate blocks; and then according to the data transaction type, calling an on-chain intelligent contract matching decision rule base, dynamically generating a digital voting proposal by combining a village digital identity authority list, pushing the digital voting proposal to a corresponding authority village account and receiving a voting instruction signed by a private key. And finally, verifying the validity of the voting signature through the intelligent contract, counting valid tickets to form a summary record, and executing the operation on a preset chain corresponding to the transaction type after the validation threshold value is judged.

Inventors

  • ZHAO BIN
  • ZHANG RUI
  • LIU XUAN
  • Liang Jikang
  • LI YANG
  • ZHANG ZHIQI

Assignees

  • 山东政信大数据科技有限责任公司

Dates

Publication Date
20260508
Application Date
20260306

Claims (10)

  1. 1. A blockchain-based administrative affairs of village digital security management method, the method comprising: S1, carrying out structural analysis on original administrative affairs of village data of a target region to obtain standardized administrative affairs of village transaction data of the target region, and packaging the standardized administrative affairs of village transaction data into candidate blocks; S2, performing consensus verification on the candidate block through a consensus node deployed in a blockchain network, and storing a verification result in a distributed account book of the blockchain network in an uplink manner to generate a stored transaction hash value of the candidate block; S3, based on the transaction type in the standardized administrative affairs of village transaction data, calling an intelligent contract deployed on the blockchain network, carrying out rule matching on a preset decision rule base, and dynamically generating a digital voting proposal of the target region by combining a village digital identity authority list read from the blockchain network; s4, pushing the digital voting proposal to a village digital identity account with corresponding authority through a administrative affairs of village management terminal, and receiving a voting instruction returned after the village digital identity account is signed based on a private key; S5, invoking the intelligent contract, verifying the validity of the digital signature of the voting instruction, and carrying out aggregation statistics on valid tickets in a verification result to obtain a voting summary record of the target region; s6, based on the intelligent contract, judging an effective threshold value of the voting summary record, and executing the preset on-chain operation corresponding to the transaction type according to a judging result.
  2. 2. The blockchain-based administrative affairs of village digital security management method of claim 1, wherein the performing structural analysis on original administrative affairs of village data of a target region to obtain standardized administrative affairs of village transaction data of the target region, and packaging the standardized administrative affairs of village transaction data into candidate blocks comprises: performing data cleaning on original administrative affairs of village data of a target region to obtain cleaned administrative affairs of village data of the target region; Based on a preset administrative affairs of village classification label system, marking the transaction type of the cleaned administrative affairs of village data to obtain administrative affairs of village marking data of the target region; extracting key fields from the administrative affairs of village marked data to obtain standardized administrative affairs of village transaction data of the target region; and based on a block encapsulation protocol in a preset block chain network, carrying out block encapsulation on the standardized administrative affairs of village transaction data to obtain candidate blocks of the target region.
  3. 3. The method for controlling administrative affairs of village digital security based on blockchain as in claim 2, wherein the generating the authenticated transaction hash value of the candidate block by performing the authentication on the candidate block through the consensus node deployed in the blockchain network and storing the authentication result in a distributed ledger of the blockchain network includes: Performing block structure validity verification on the candidate block through a consensus node deployed in a block chain network to obtain a preliminary verification result of the candidate block; performing multiple signature confirmation on the preliminary verification result to obtain a consensus signature set of the candidate block; based on the consensus signature set, carrying out aggregation packaging on the preliminary verification result to obtain the consensus evidence of the candidate block; Performing transaction format conversion on the consensus certificate to obtain a certificate storing transaction of the candidate block; and storing the upper chain of the evidence-storing transaction into a distributed account book of the blockchain network, and extracting a hash value of the evidence-storing transaction to obtain the evidence-storing transaction hash value of the candidate block.
  4. 4. The method for controlling and controlling digital security based on administrative affairs of village of claim 1, wherein the dynamically generating the digital voting proposal of the target region based on the transaction type in the standardized administrative affairs of village transaction data by calling an intelligent contract deployed on the blockchain network, performing rule matching on a preset decision rule base, and combining a village digital identity authority list read from the blockchain network comprises: Performing transaction type extraction on the standardized administrative affairs of village transaction data to obtain a transaction type identifier of the standardized administrative affairs of village transaction data; Based on the transaction type identifier, calling a rule matching engine of an intelligent contract deployed in the blockchain network, and performing traversal search on a preset decision rule base to obtain a decision rule set matched with the transaction type identifier; the priority ranking is carried out on the decision rule sets, and a ranked rule sequence of the decision rule sets is obtained; Performing authority analysis on the village digital identity authority list read from the blockchain network to obtain an authority mapping relation of the village digital identity authority list; and based on a proposal generating module in the intelligent contract, integrating and packaging the ordered rule sequence and the authority mapping relation to obtain the digital voting proposal of the target region.
  5. 5. The method for controlling digital security of administrative affairs of village based on blockchain as in claim 4, wherein invoking a rule matching engine of an intelligent contract deployed in the blockchain network based on the transaction type identifier, performing a traversal search on a preset decision rule base to obtain a decision rule set matched with the transaction type identifier, comprises: Based on the transaction type identifier, calling a rule matching interface in the intelligent contract to generate a rule query request of the transaction type identifier; analyzing the rule query request, and reading the decision rule base from the blockchain network to obtain a rule entry set of the decision rule base; Traversing the rule item set, and extracting transaction type condition fields of rule items in the rule item set item by item to obtain type condition values of the rule items; Consistency comparison is carried out on the transaction type identifier and the type condition value to obtain a matching identifier of the rule item; And screening and aggregating the rule entry set based on the matching identification to obtain a decision rule set matched with the transaction type identification.
  6. 6. The method for controlling and controlling digital security of administrative affairs of village based on blockchain as in claim 1, wherein pushing the digital voting proposal to the village digital identity account with the corresponding authority through administrative affairs of village management terminal, and receiving the voting instruction returned after signing the village digital identity account based on the private key, comprises: performing authority matching on a village digital identity authority list read from the blockchain network based on the voting item identification in the digital voting proposal to obtain a target village digital identity account set corresponding to the voting item identification; carrying out account address analysis on the target village digital identity account set to obtain a push address list of the target village digital identity account set; based on the push address list, packaging the digital voting proposal into an encrypted voting notice to obtain a message load of the encrypted voting notice; The message load is issued to a village digital identity account corresponding to the push address list through a administrative affairs of village management terminal of the target region, a voting instruction returned after the village digital identity account is signed based on a private key is received, and voting instruction feedback of the message load is obtained; And extracting a digital signature from the voting instruction feedback to obtain signature data and voting content of the voting instruction feedback.
  7. 7. The method for controlling digital security of administrative affairs of village based on blockchain as in claim 1, wherein the invoking the intelligent contract verifies the validity of the digital signature of the voting instruction and performs aggregate statistics on valid tickets in the verification result to obtain the voting summary record of the target region, comprising: Carrying out data analysis on the voting instruction to obtain signature data, voting content and a digital identity of a sender village; Based on the digital identity of the village of the sender, calling an identity inquiry module of the intelligent contract, and reading a corresponding on-chain public key from the blockchain network to obtain a public key of the digital identity of the village of the sender; Based on the public key, digital signature verification is carried out on the signature data, and a verification result of the signature data is obtained; Based on the result of checking the voting, validity screening is carried out on the voting content to obtain a valid voting set of the voting content; and carrying out the aggregation of the number of votes on the effective ticket set to obtain the voting summary record of the target region.
  8. 8. The method for managing and controlling the digital security of administrative affairs of village based on the blockchain as in claim 7, wherein the step of performing validity screening on the voting contents based on the voting result to obtain a valid set of votes for the voting contents comprises: analyzing the signature verification result, and extracting signature verification confidence coefficient in the signature verification result to obtain the signature verification confidence coefficient of the voting content; Based on the digital identity mark of the sender village in the voting content, reading a corresponding historical reputation record from the blockchain network to obtain the historical voting participation rate and the historical violation times of the digital identity of the sender village; Extracting a time stamp from the voting content to obtain a submitting time stamp of the voting content, and calculating a time delay coefficient of the voting content based on the submitting time stamp and preset voting deadline, wherein the calculation formula of the time delay coefficient is as follows: ; in the formula, Representing the time delay coefficient of the time delay, Representing the time stamp of the commit, Representing the time of the deadline of the vote, Representing a preset voting window duration; comparing the voting options in the voting content with the standard voting options in the digital voting proposal to determine the option deviation degree of the voting content; calculating a validity comprehensive score of the voting content according to the signature verification confidence level, the historical voting participation rate, the historical violation times, the time delay coefficient and the option deviation degree, wherein the validity comprehensive evaluation formula is as follows: ; in the formula, Representing the composite score of the validity, Representing the confidence of the signature verification, Representing the rate of participation in the historical ballots, Representing the number of said history violations, Represents a natural constant of the natural product, Representing the time delay coefficient of the time delay, Indicating the degree of deviation of the options in question, Representing a logarithmic function; and comparing the effectiveness comprehensive score with a preset effectiveness threshold, and judging the corresponding voting content as an effective vote if the effectiveness comprehensive score is larger than or equal to the effectiveness threshold, so as to obtain an effective vote set of the voting content.
  9. 9. The method for controlling and controlling the digital security of administrative affairs of village based on the blockchain as in claim 1, wherein the determining the validation threshold for the voting summary record based on the intelligent contract and performing the preset on-chain operation corresponding to the transaction type according to the determination result comprises: Performing deep analysis on the voting summary records to obtain effective vote count of the voting summary records; based on the transaction type, carrying out threshold inquiry on a threshold configuration table of the intelligent contract to obtain an effective threshold of the transaction type; performing threshold comparison analysis on the effective ticket count and the effective threshold value to obtain a threshold value judging state of the effective ticket count; based on the threshold judging state, performing conditional triggering on an operation interface on a preset chain to obtain an execution state record of the operation on the preset chain; And carrying out association packaging on the threshold judgment state, the execution state record and the evidence-stored transaction hash value to obtain a digital execution certificate which can be analyzed by an external system, and submitting the digital execution certificate to a distributed account book of the blockchain network.
  10. 10. A blockchain-based administrative affairs of village digital security management system for implementing a blockchain-based administrative affairs of village digital security management method of claims 1-9, the system comprising: The data analysis and packaging module is used for carrying out structural analysis on original administrative affairs of village data of a target region to obtain standardized administrative affairs of village transaction data of the target region, and packaging the standardized administrative affairs of village transaction data into candidate blocks; The common-knowledge verification uplink module is used for carrying out common-knowledge verification on the candidate blocks through common-knowledge nodes deployed in a blockchain network, and storing a verification result uplink into a distributed account book of the blockchain network to generate a certification transaction hash value of the candidate blocks; the proposal dynamic generation module is used for calling an intelligent contract deployed on the blockchain network based on the transaction type in the standardized administrative affairs of village transaction data, carrying out rule matching on a preset decision rule base, and dynamically generating a digital voting proposal of the target region by combining a village digital identity authority list read from the blockchain network; The proposal pushing voting module is used for pushing the digital voting proposal to a village digital identity account with corresponding authority through a administrative affairs of village management terminal and receiving a voting instruction returned after the village digital identity account is signed based on a private key; The voting verification statistics module is used for calling the intelligent contract, verifying the validity of the digital signature of the voting instruction, and carrying out aggregation statistics on the valid votes in the verification result to obtain a voting summary record of the target region; And the threshold judgment executing module is used for judging the effective threshold of the voting summary record based on the intelligent contract and executing the preset on-chain operation corresponding to the transaction type according to the judgment result.

Description

Administrative affairs of village digital security management and control method and system based on blockchain Technical Field The invention relates to the technical field of data management, in particular to a administrative affairs of village digital security management and control method and system based on a block chain. Background In the technical application of administrative affairs of village digital management, the existing management and control mode lacks a standardized structured analysis flow for processing original administrative affairs of village data, and the operations of data cleaning, classification labeling and field extraction lack unified specifications, so that administrative affairs of village data format confusion and key information deletion are easy to cause, standardized data which can be directly linked up are difficult to form, and meanwhile, the links of data packaging and verification links are insufficient, so that the preprocessing efficiency before administrative affairs of village data linking up is low, and the requirement of a blockchain network on data normalization cannot be met. The existing administrative affairs of village digital management and control system does not combine the distributed characteristics of a blockchain to build an adaptive consensus verification and authority management mechanism, the verification of consensus nodes only stays on the basic data validity level, the multi-signature verification and aggregation packaging consensus proof generation flow is lacking, the security and the credibility of data storage certificates are insufficient, meanwhile, administrative affairs of village decision and voting links depend on a centralized management terminal, the voting proposal generates rule matching support lacking intelligent contracts, the verification means of village identity authorities and voting instructions are single, the on-chain management and control of the whole voting flow cannot be realized, the voting validity statistics lacks a multi-dimensional comprehensive evaluation system, and the administrative affairs of village decision is low in execution efficiency and insufficient in management and control security and transparency. Disclosure of Invention The invention provides a administrative affairs of village digital security management and control method and system based on a block chain, which are used for solving the problems in the background technology. In order to achieve the above object, the present invention provides a administrative affairs of village digital security management and control method based on blockchain, including: S1, carrying out structural analysis on original administrative affairs of village data of a target region to obtain standardized administrative affairs of village transaction data of the target region, and packaging the standardized administrative affairs of village transaction data into candidate blocks; S2, performing consensus verification on the candidate block through a consensus node deployed in a blockchain network, and storing a verification result in a distributed account book of the blockchain network in an uplink manner to generate a stored transaction hash value of the candidate block; S3, based on the transaction type in the standardized administrative affairs of village transaction data, calling an intelligent contract deployed on the blockchain network, carrying out rule matching on a preset decision rule base, and dynamically generating a digital voting proposal of the target region by combining a village digital identity authority list read from the blockchain network; s4, pushing the digital voting proposal to a village digital identity account with corresponding authority through a administrative affairs of village management terminal, and receiving a voting instruction returned after the village digital identity account is signed based on a private key; S5, invoking the intelligent contract, verifying the validity of the digital signature of the voting instruction, and carrying out aggregation statistics on valid tickets in a verification result to obtain a voting summary record of the target region; s6, based on the intelligent contract, judging an effective threshold value of the voting summary record, and executing the preset on-chain operation corresponding to the transaction type according to a judging result. In a preferred embodiment, the performing structural analysis on the original administrative affairs of village data of the target area to obtain standardized administrative affairs of village transaction data of the target area, and packaging the standardized administrative affairs of village transaction data into candidate blocks includes: performing data cleaning on original administrative affairs of village data of a target region to obtain cleaned administrative affairs of village data of the target region; Based on a preset administrative affairs of village