Owner voting and public disclosure method and system based on synchronous uploading of voting codes to blockchain
By using blockchain technology and a variety of security measures in the owner voting system, the problems of information opacity and result operability in the existing system are solved, an efficient, safe and transparent voting process is achieved, and owners are more confident about the voting results. trust and engagement.
Patent Information
- Application Number
- CN202410206498.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-02-26
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-02-26
AI Technical Summary
The existing owner voting system has problems such as opaque information, high operability of results, lack of real-time performance, and difficulty in traceability, which results in insufficient fairness and credibility and reduces the participation rate of owners.
Adopt a method based on the synchronous uploading of voting codes to the blockchain, and ensure the non-tamperability and transparency of voting data through intelligent anomaly detection models, CA institutions, face recognition technology, smart contracts and encryption technologies, and provide real-time monitoring and vote counting. Open and transparent voting results.
It improves the transparency, security and fairness of voting, enhances the reliability and credibility of voting results, ensures the openness and transparency of the voting results by owners, and improves the comprehensiveness and reliability of the voting process.
Smart Images

Figure CN118074916B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of information security technology, and in particular to a method for owner voting and public disclosure based on synchronous uploading of voting codes to a blockchain. Background Art
[0002] The voting of community owners is very important in the democratic management of the community. The expression of the will of community owners through voting is one of the ways to realize democratic elections, democratic decision-making and public opinion surveys. This method gives owners the opportunity to participate in the community management and decision-making process, and can have an important impact on community affairs. However, there are many difficulties in promoting the voting of community owners: organizing on-site voting requires a lot of resources and funds, which puts financial pressure on community property management or community owners; there are problems of insufficient information or inadequate information communication, which leads to the lack of understanding of the voting topics by owners and reduces their enthusiasm for participation; owners lack confidence in the security and credibility of the voting system, and are worried that the voting results may be tampered with or unfair, resulting in a low participation rate of owners; some owners may be unable to attend for various reasons, resulting in voting results that do not meet the satisfaction of the owners.
[0003] With the development of technology, electronic voting systems have emerged and are widely used. Electronic voting systems are a way of voting using electronic devices and online platforms. Electronic voting systems can reduce costs. Electronic voting systems can provide voting options through online platforms, and owners can use personal devices such as mobile phones and computers to vote without the need for additional physical venues and equipment support. However, existing owner voting systems usually face the following problems: information opacity, high operability of results, lack of real-time and difficulty in traceability.
[0004] To ensure the fairness, transparency and efficiency of voting, a system is needed that can effectively manage and record the details of each vote. Summary of the invention
[0005] This application aims to solve at least one of the technical problems in the related art to a certain extent. To this end, one purpose of this application is to propose a method, system, electronic device and readable storage medium for owner voting and public disclosure based on synchronous uploading of voting codes to blockchain. This application uses blockchain technology to record each vote, ensure that the data cannot be tampered with, improve the transparency and security of voting, and ensure the traceability of the entire voting process.
[0006] The first aspect disclosed in the present application provides a method for owner voting and publicizing based on synchronous uploading of voting codes to a blockchain, the method comprising:
[0007] Acquire multi-type data sets to train intelligent anomaly detection models, which are integrated with blockchain to monitor the registration, enrollment and voting behaviors of property owners in real time;
[0008] Obtain the identity information of the community owners and store it in the CA organization, and use the CA organization and face recognition technology to verify the identity of the owners. Only legitimate owners can register;
[0009] After successful registration, the legal owner's identity information is processed by a hash function to generate a unique voting code, which is then associated with the owner's identity to obtain associated information, which is then uploaded to the blockchain simultaneously with the voting code.
[0010] The property management company submits a voting proposal to the owners' committee, who reviews and optimizes the voting proposal and uploads the proposal information to the smart contract to verify its legitimacy. After the review is passed, the proposal information is published on the blockchain;
[0011] The owner obtains voting information through the blockchain and uses the voting code to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract simultaneously with the corresponding voting code.
[0012] After the voting is closed, the smart contract verifies the voting code submitted by the owner. If the verification is successful, the smart contract decrypts the code and inputs the voting result into the intelligent anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owner to view.
[0013] The second aspect disclosed in the present application provides an owner voting and public announcement system based on synchronous uploading of voting codes to blockchain, the system comprising:
[0014] The detection module is used to obtain multi-type data sets to train intelligent anomaly detection models and integrate with blockchain to monitor the registration, enrollment and voting behaviors of property owners in real time;
[0015] The verification module is used to obtain the identity information of the community owner and store it in the CA institution. The owner's identity is verified using the CA institution and face recognition technology. Only legal owners can register;
[0016] The voting code module is used to process the legal owner's identity information after successful registration through a hash function to generate a unique voting code, associate the voting code with the owner's identity, obtain associated information, and upload the associated information and the voting code to the blockchain simultaneously.
[0017] The voting initiation module is used for the property to propose voting proposals to the owner committee. The owner committee reviews and optimizes the voting proposals and uploads the proposal information to the smart contract to verify its legitimacy. After the review is passed, the proposal information is published on the blockchain;
[0018] The voting module is used for owners to obtain voting information through the blockchain and use voting codes to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract synchronously with the corresponding voting codes;
[0019] The vote counting module is used after the voting is closed. The smart contract verifies the voting code submitted by the owner. If the verification is successful, the smart contract decrypts the code and inputs the voting result into the intelligent anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owner to view.
[0020] The third aspect disclosed in the present application is an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the owner voting and public announcement method based on synchronously uploading voting codes to the blockchain are implemented.
[0021] The fourth aspect disclosed in the present application is a readable storage medium, which stores a computer program, and the computer program is suitable for loading by a processor to execute the steps in the owner voting and public announcement method based on synchronous uploading of voting codes to the blockchain.
[0022] Compared with the prior art, the owner voting and public disclosure method proposed in this application based on the simultaneous uploading of voting codes to the blockchain has the following advantages:
[0023] The CA agency and facial recognition technology are used to verify the identity of the owner, ensuring that only legitimate owners can register and participate in the voting, thereby improving the security and credibility of the voting;
[0024] Through blockchain technology, the legal owner's identity information and voting-related data are recorded on the blockchain, ensuring the data is tamper-proof, preventing data from being tampered with or deleted, and improving the transparency and fairness of the voting process;
[0025] Use the monitoring system to monitor, analyze and count the voting results in real time, ensuring the accuracy and timeliness of the vote counting and improving the reliability of the voting results;
[0026] The final vote count is uploaded to the blockchain for legal owners to view, ensuring the openness and transparency of the voting results. Owners can directly view and verify the results, enhancing the transparency of the public announcement.
[0027] This application combines CA institutions, face recognition technology, blockchain, smart contracts, encryption technology and intelligent detection models to ensure the comprehensiveness, security and reliability of the owner voting system. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 This is a schematic diagram of the owner voting and public disclosure method based on the simultaneous uploading of voting codes to the blockchain provided by this application;
[0029] Figure 2This is a schematic diagram of the overall architecture of the owner voting and publicity method based on the simultaneous uploading of voting codes to the blockchain provided by this application;
[0030] Figure 3 This is a schematic diagram of the sequence of the owner voting and public disclosure method based on the simultaneous uploading of voting codes to the blockchain provided by this application;
[0031] Figure 4 It is a schematic diagram of an intelligent anomaly detection model based on a hybrid of a convolutional neural network and an attention mechanism provided in this application;
[0032] Figure 5 This is a schematic diagram of the process of verifying the owner's identity using the CA organization and face recognition technology provided by this application;
[0033] Figure 6 This is a schematic diagram of the process of generating voting codes provided by this application;
[0034] Figure 7 This is a flowchart of the legal owner using the voting code to vote and encrypting the voting results and uploading them to the smart contract provided by this application;
[0035] Figure 8 This is a schematic diagram of the process of the smart contract provided by this application to verify the voting code submitted by the owner;
[0036] Fig. 9 It is a schematic diagram of the monitoring process provided by this application;
[0037] Fig.10 This is a schematic diagram of the owner voting system and public announcement system based on the simultaneous uploading of voting codes to the blockchain provided by this application;
[0038] Fig.11 It is a schematic diagram of the structure of an electronic device provided by this application;
[0039] Fig.12 It is a schematic diagram of the computer-readable storage medium structure provided by this application. DETAILED DESCRIPTION
[0040] In order to better understand the present application, a more detailed description will be made of various aspects of the present application with reference to the accompanying drawings. It should be understood that these detailed descriptions are only descriptions of exemplary embodiments of the present application, and are not intended to limit the scope of the present application in any way. Throughout the specification, the same reference numerals refer to the same elements. The expression "and / or" includes any and all combinations of one or more of the associated listed items.
[0041] In the accompanying drawings, the size, dimensions and shapes of the elements have been slightly adjusted for ease of illustration. The drawings are for illustration only and are not strictly drawn to scale. As used herein, the terms "substantially", "approximately" and similar terms are used as terms of approximation, not as terms of degree, and are intended to illustrate the inherent deviations in measurements or calculations that will be recognized by those of ordinary skill in the art. In addition, in this application, the order in which the steps are described does not necessarily represent the order in which these processes occur in actual operation, unless otherwise specified or can be derived from the context.
[0042] It should also be understood that expressions such as "including", "comprising", "having", "containing" and / or "comprising" are open rather than closed expressions in this specification, which indicate the presence of the stated features, elements and / or components, but do not exclude the presence of one or more other features, elements, components and / or combinations thereof. In addition, when expressions such as "at least one of..." appear after a list of listed features, they modify the entire list of features rather than just the individual elements in the list. In addition, when describing embodiments of the present application, "may" is used to mean "one or more embodiments of the present application". And, the term "exemplary" is intended to refer to an example or illustration.
[0043] Unless otherwise defined, all words (including engineering terms and scientific and technological terms) used in this article have the same meaning as those commonly understood by ordinary technicians in the field to which this application belongs. It should also be understood that unless there is a clear explanation in this application, words defined in commonly used dictionaries should be interpreted as having the same meaning as their meaning in the context of the relevant technology, and should not be interpreted in an idealized or overly formal sense.
[0044] It should be noted that, in the absence of conflict, the embodiments and features of the embodiments in the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0045] Example 1
[0046] like Figures 1 to 9 As shown, the present application provides a method for owner voting and public disclosure based on synchronous uploading of voting codes to the blockchain.
[0047] like Figure 1 As shown in Figure 1, the schematic diagram of the owner voting and publicity method based on the simultaneous uploading of voting codes to the blockchain. Figure 3 As shown in the figure, the process diagram of the owner voting and publicity method based on the simultaneous uploading of voting codes to the blockchain. Figure 2 As shown in the figure, the overall structure diagram of the owner voting and publicity method based on the simultaneous uploading of voting codes to the blockchain includes:
[0048] S1: Obtain multi-type data sets to train an intelligent anomaly detection model, which is integrated with the blockchain to monitor the registration, enrollment and voting behaviors of property owners in real time;
[0049] The step of obtaining multiple types of data sets to train an intelligent anomaly detection model, and integrating the intelligent anomaly detection model with the blockchain, comprises:
[0050] Collect multiple types of data sets, including owners’ login behavior, voting behavior, access patterns, and usage habits;
[0051] Clean the data, remove outliers, process missing values, and convert the data into a format suitable for training;
[0052] Build an intelligent anomaly detection model that combines convolutional neural networks and attention mechanisms, and use multiple types of data sets to train the intelligent anomaly detection model;
[0053] Integrate intelligent anomaly detection models onto the blockchain through smart contracts.
[0054] like Figure 4 As shown, the construction of an intelligent anomaly detection model based on a mixture of convolutional neural networks and attention mechanisms includes:
[0055] Input layer: receiving data input , including data related to owner login, registration and voting, among which, For the i-th owner, 1≦i≦N, n=1, 2, 3, corresponding to the owner's login, registration and voting data respectively;
[0056] Convolutional layer and pooling layer: extract the features of input data, the formula is:
[0057] in, is the characteristic of the data related to the i-th owner, is the weight of the convolutional layer, is a 3×3 convolution, is the bias weight of the convolutional layer, Gelu is the activation function, and Pooling is the pooling layer;
[0058] Fully connected layers and attention mechanisms mixed with deep convolutional layers: can obtain The global features and local features are given by:
[0059] )
[0060] in, For the i-th owner, the features of the mixed layer of fully connected layer, attention mechanism and deep convolution are obtained. is the normalization function, is the depthwise convolution, is a fully connected layer;
[0061] Output layer: Output the probability of abnormal behavior. The formula is:
[0062] = ( )
[0063] in, is the probability that the i-th owner behaves abnormally, is the activation function;
[0064] The intelligent anomaly detection model sets a probability threshold and compares the probability of each owner's abnormal behavior with the threshold. If it is greater than or equal to the threshold, the owner is judged to have abnormal behavior and feedback is given to the owners' committee. If it is less than the threshold, the owner's behavior is judged to be normal.
[0065] Among them, by analyzing multiple types of data, the intelligent anomaly detection model can identify data points that do not conform to normal behavior patterns; for example, in data such as owner login, voting, access patterns and usage habits, the model can identify abnormal login patterns, abnormal voting behaviors or abnormal access patterns; integrating the intelligent anomaly detection model into the blockchain can enhance the security and intelligence of the blockchain system.
[0066] S2: Obtain the identity information of the community owner and store it in the CA organization. Use the CA organization and face recognition technology to verify the owner's identity. Only legal owners can register;
[0067] The identity information of the community owner obtained includes name, gender, ID number, room number and contact information, wherein the identity information of the community owner is obtained from the property.
[0068] like Figure 5 As shown, the steps of using the CA organization and face recognition technology to verify the identity of the owner, so that only the legitimate owner can register, include:
[0069] The owner receives a voting link, clicks on the voting link, and registers;
[0070] The owner enters his / her identity information, and the CA compares the entered identity information with the community owner's identity information to verify whether he / she is the legal owner;
[0071] If the owner is not the legal owner, the registration will fail. If the owner is the legal owner, facial recognition technology will be used to compare the photo in the ID card with the facial features of the actual owner.
[0072] If they match, the registration is successful;
[0073] The photo in the ID card of the successfully registered legal owner is stored in the face image database, and the legal owner can use face recognition to log in.
[0074] Among them, CA is a digital certificate authentication agency, responsible for issuing and managing digital certificates, which are used to store and manage the owner's identity information, as well as verify and confirm the owner's legal identity, so as to ensure that only legal owners can register and participate in relevant voting activities. Facial recognition technology is used to verify the user's identity, confirm the user's authenticity by identifying facial features, store the photo in the legal owner's ID card in the face image database, and allow the legal owner to log in through face recognition. This login method is safer because the face is a unique biometric feature that is difficult to imitate. Using face recognition login can simplify the user's login process. The legal owner does not need to enter user name, password and other information, and can complete the login by simply identifying through the face recognition system, which improves the convenience of login and user experience.
[0075] S3: After successful registration, the legal owner's identity information is processed by a hash function to generate a unique voting code, the voting code is associated with the owner's identity to obtain associated information, and the associated information and the voting code are synchronously uploaded to the blockchain;
[0076] like Figure 6 As shown, the identity information of the legal owner after successful registration is processed by a hash function to generate a unique voting code, including:
[0077] Pre-process the identity information of successfully registered owners, including standardizing the owner's name format, room number format, and ID number format to ensure the uniformity and accuracy of the owner's identity information format;
[0078] The processed owner identity information is input into the SHA-256 hash function to generate a unique voting code for each owner.
[0079] The step of associating the voting code with the owner's identity to obtain associated information, and synchronously uploading the associated information and the voting code to the blockchain includes:
[0080] A mapping relationship is established between the voting code and the corresponding owner identity, and the voting code is associated with the corresponding owner identity information;
[0081] Define a data storage structure in the smart contract, receive the voting code and the information associated with the owner's identity and the voting code, and store them in the data structure defined by the smart contract;
[0082] The smart contract uploads and stores the voting code and the information linking the voting code to the blockchain.
[0083] Among them, a hash function is an algorithm that can accept input data and return a fixed-length output, usually a fixed-size sequence of numbers or letters. It converts the input data into a fixed-length output called a hash value. The value of this output is ideally unique for a given input, that is, a specific input will produce a specific hash value as a voting code. SHA-256 is a strong cryptographic hash function with high security. It is designed to be highly collision-resistant, and the output hash value will change dramatically even when the input data changes slightly, reducing the possibility of collision. SHA-256 has a fast computing speed in actual use and is suitable for scenarios where hash operations are performed on large amounts of data. The mapping relationship between voting codes and owner identities is established to ensure that the identity of owners can be tracked and verified during the voting process, as well as to ensure the accuracy and security of voting. A smart contract is a computer program executed on a blockchain that is designed to automatically execute, manage, and enforce contract terms or agreements.
[0084] S4: The property management company proposes a voting proposal to the owners' committee. The owners' committee reviews and optimizes the voting proposal and uploads the proposal information to the smart contract to verify its legitimacy. After the review is passed, the proposal information is published on the blockchain.
[0085] S5: The owner obtains voting information through the blockchain and uses the voting code to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract simultaneously with the corresponding voting code;
[0086] like Figure 7 As shown, the owner obtains voting information through the blockchain, uses the voting code to vote, encrypts the voting results using encryption technology, and uploads them to the smart contract synchronously with the corresponding voting code, including:
[0087] The legal owner accesses the smart contract through an interface or application connected to the blockchain to obtain the current voting information;
[0088] Legal owners use unique voting codes to vote for candidates;
[0089] Use an asymmetric encryption algorithm to encrypt the voting results of legal owners;
[0090] Upload the encrypted voting results and corresponding voting codes to the smart contract.
[0091] Among them, the voting information includes candidates, proposals or related voting information, and the voting results are encrypted using an asymmetric encryption algorithm, such as RSA encryption, to protect the owner's voting privacy and ensure the security of the voting results.
[0092] S6: After the voting is closed, the smart contract verifies the voting code submitted by the owner. If the verification is successful, the smart contract decrypts the code and inputs the voting result into the intelligent anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owner to view.
[0093] like Figure 8 As shown, after the voting is closed, the steps of the smart contract verifying the voting code submitted by the owner include:
[0094] Smart contracts verify the association between the voting code and the owner’s identity to ensure that the voting code comes from the legitimate owner;
[0095] The smart contract verifies that the voting code conforms to a specific format or specification and ensures that it is a valid voting code;
[0096] The smart contract confirms whether the vote is conducted within the specified time frame. If the deadline is exceeded, the vote is deemed invalid;
[0097] Smart contracts ensure that the same voting code can only be used to vote once.
[0098] like Fig. 9 As shown, the steps of decrypting the smart contract and inputting the voting results into the smart anomaly detection model for real-time analysis include:
[0099] The smart contract verifies the voting code submitted by the owner. If the verification fails, the vote is considered invalid and does not participate in the vote counting. If the verification passes, the smart contract decrypts the encrypted voting result and inputs the decrypted result into the intelligent anomaly detection model.
[0100] The intelligent anomaly detection model tracks voting activities in real time, including the number of votes, voting time, and option selection information, to ensure the legality and standardization of voting. If the intelligent anomaly detection model detects anomalies or errors, it will promptly provide feedback to the owners' committee;
[0101] The intelligent anomaly detection model analyzes the real-time voting results, counts the number of votes for different options and evaluates the owner participation rate. If the participation rate is low, feedback is provided to the owners' committee.
[0102] Among them, the intelligent anomaly detection model can track voting activities in real time, including the number of votes, time and option selection, to ensure the legality and standardization of voting. If anomalies or errors are found, the intelligent anomaly detection model can provide feedback to the owners' committee in a timely manner, which helps to correct and solve the problems in a timely manner.
[0103] Example 2
[0104] Fig.10This is a schematic diagram of an owner voting and public announcement system based on synchronous uploading of voting codes to blockchain provided by an embodiment of the present application, such as Fig.10 As shown, the owner voting and public announcement system based on the simultaneous uploading of voting codes to the blockchain includes:
[0105] The detection module is used to obtain multi-type data sets to train intelligent anomaly detection models and integrate with blockchain to monitor the registration, enrollment and voting behaviors of property owners in real time;
[0106] The verification module is used to obtain the identity information of the community owner and store it in the CA institution. The owner's identity is verified using the CA institution and face recognition technology. Only legal owners can register;
[0107] The voting code module is used to process the legal owner's identity information after successful registration through a hash function to generate a unique voting code, associate the voting code with the owner's identity, obtain associated information, and upload the associated information and the voting code to the blockchain simultaneously.
[0108] The voting initiation module is used for the property to propose voting proposals to the owner committee. The owner committee reviews and optimizes the voting proposals and uploads the proposal information to the smart contract to verify its legitimacy. After the review is passed, the proposal information is published on the blockchain;
[0109] The voting module is used for owners to obtain voting information through the blockchain and use voting codes to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract synchronously with the corresponding voting codes;
[0110] The vote counting module is used after the voting is closed. The smart contract verifies the voting code submitted by the owner. If the verification is successful, the smart contract decrypts the code and inputs the voting result into the intelligent anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owner to view.
[0111] Example 3
[0112] Fig.11 Schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig.11 As shown, according to another aspect of the present application, an electronic device 500 is also provided. The electronic device 500 may include one or more processors and one or more memories. The memories store computer readable codes, and when the computer readable codes are executed by one or more processors, the owner voting and public announcement method based on synchronous uploading of voting codes to the blockchain can be executed.
[0113] The method or system according to the embodiment of the present application can also be used by Fig.11 The electronic device architecture shown in FIG. Fig.11As shown, the electronic device 500 may include a bus 501, one or more CPUs 502, a read-only memory (ROM) 503, a random access memory (RAM) 504, a communication port 505 connected to a network, an input / output component 506, a hard disk 507, and the like. The storage device in the electronic device 500, such as the ROM 503 or the hard disk 507, may store the owner voting and public announcement method based on synchronous uploading of voting codes to the blockchain provided in the present application. The owner voting and public announcement method based on synchronous uploading of voting codes to the blockchain may, for example, include: obtaining multi-type data sets to train an intelligent anomaly detection model, the intelligent anomaly detection model is integrated with the blockchain to monitor the owner's registration, enrollment and voting behavior in real time; obtaining the identity information of the community owner and storing it in the CA organization, using the CA organization and face recognition technology to verify the owner's identity, and only legal owners can register; the legal owner's identity information after successful registration is processed by a hash function to generate a unique voting code, the voting code is associated with the owner's identity, and the associated information is obtained, and the associated information and the voting code are uploaded to the blockchain synchronously; The owner proposes a voting proposal to the owner committee, who reviews and optimizes the voting proposal and uploads the proposal information to the smart contract to verify its legality. After the review is passed, the proposal information is published on the blockchain; the owner obtains the voting information through the blockchain and uses the voting code to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract synchronously with the corresponding voting code; after the voting is closed, the smart contract verifies the voting code submitted by the owner. If the verification is passed, the smart contract decrypts the code and inputs the voting results into the intelligent anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owners to view. Furthermore, the electronic device 500 may also include a user interface 508. Of course, Fig.11 The architecture shown is only exemplary and can be omitted according to actual needs when implementing different devices. Fig.11 One or more components of an electronic device are shown.
[0114] Example 4
[0115] Fig.12 Schematic diagram of a computer-readable storage medium structure provided by an embodiment of the present application. Fig.12As shown, it is a computer-readable storage medium 600 according to an embodiment of the present application. Computer-readable instructions are stored on the computer-readable storage medium 600. When the computer-readable instructions are executed by the processor, the owner voting and public disclosure method based on the synchronous uploading of the voting code to the blockchain according to the embodiment of the present application described with reference to the above figures can be executed. The storage medium 600 includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and cache memory (cache). Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc.
[0116] It should be understood that the methods, apparatuses, and devices of the present application can be implemented in many ways. For example, the methods, apparatuses, and devices of the present application can be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is only for illustration, and the steps of the method of the present application are not limited to the order specifically described above unless otherwise specified. In addition, in some embodiments, the present application can also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present application. Therefore, the present application also covers a recording medium storing a program for executing the method according to the present application.
[0117] In addition, the parts of the above-mentioned technical solutions provided in the embodiments of the present application that are consistent with the implementation principles of the corresponding technical solutions in the prior art are not described in detail to avoid excessive redundancy.
[0118] The specific implementation modes as described above further describe the purpose, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above description is only a specific implementation mode of the present invention and is not intended to limit the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. The owner voting and public announcement method based on the simultaneous uploading of voting codes to the blockchain is characterized by: The steps include: Acquire multi-type data sets to train intelligent anomaly detection models, which are integrated with blockchain to monitor the registration, enrollment and voting behaviors of property owners in real time; Obtain the identity information of the community owners and store it in the CA organization, and use the CA organization and face recognition technology to verify the identity of the owners. Only legitimate owners can register; After successful registration, the legal owner's identity information is processed by a hash function to generate a unique voting code, which is then associated with the owner's identity to obtain associated information, which is then uploaded to the blockchain simultaneously with the voting code; The property proposes a voting proposal to the owners' committee, which reviews and optimizes the voting proposal and uploads the proposal information to the smart contract to verify its legitimacy. After the review is passed, the proposal information is published on the blockchain; The owner obtains voting information through the blockchain and uses the voting code to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract simultaneously with the corresponding voting code. After the voting is closed, the smart contract verifies the voting code submitted by the owner. If the verification is successful, the smart contract decrypts the code and inputs the voting result into the smart anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owner to view. The step of obtaining multiple types of data sets to train an intelligent anomaly detection model, and integrating the intelligent anomaly detection model with the blockchain, comprises: Collect multiple types of data sets, including owners’ registration behavior, voting behavior, access patterns, and usage habits; Clean the data and / or remove outliers and / or missing values, and transform the data into a format suitable for training; Build an intelligent anomaly detection model based on a mixture of convolutional neural networks and attention mechanisms, and use multi-type datasets to train the intelligent anomaly detection model; Integrate intelligent anomaly detection models onto blockchain via smart contracts; The construction of an intelligent anomaly detection model based on a mixture of convolutional neural networks and attention mechanisms includes: Input layer: receiving data input , including data related to the owner's registration, enrolment and voting behaviour, among which, For the i-th owner, 1≦i≦N, n=1, 2, 3, corresponding to the owner registration, registration and voting data respectively; Convolutional layer and pooling layer: extract the features of input data, the formula is: ; in, is the characteristic of the data related to the i-th owner, is the weight of the convolutional layer, is a 3×3 convolution, is the convolutional layer bias weight, is the activation function, is the pooling layer; Fully connected layers and attention mechanisms mixed with deep convolutional layers: can obtain The global features and local features are formulated as follows; ; in, For the i-th owner, the features of the mixed layer of fully connected layer, attention mechanism and deep convolution are obtained. is the normalization function, is the depthwise convolution, is a fully connected layer; Output layer: Output the probability of abnormal behavior. The formula is: ; in, is the probability that the i-th owner behaves abnormally, is the activation function; The intelligent anomaly detection model sets a probability threshold, and compares the probability of each owner's abnormal behavior with the threshold. If it is greater than or equal to the threshold, the owner is judged to have abnormal behavior and feedback is given to the owners' committee. If it is less than the threshold, the owner's behavior is judged to be normal. The step of using the CA organization and face recognition technology to verify the identity of the owner so that only the legitimate owner can register includes: the owner receives a voting link, clicks on the voting link, and registers; The owner enters his / her identity information, and the CA compares the entered identity information with the community owner's identity information to verify whether he / she is the legal owner; If the owner is not the legal owner, the registration will fail. If the owner is the legal owner, facial recognition technology will be used to compare the photo in the ID card with the facial features of the actual owner. If they match, the registration is successful; The photo in the ID card of the successfully registered legal owner is stored in the face image database, and the legal owner can use face recognition registration when registering; The steps of processing the identity information of the legal owner after successful registration with a hash function to generate a unique voting code include: Pre-process the identity information of successfully registered owners, including standardizing the owner's name format, room number format, and ID number format to ensure the uniformity and accuracy of the owner's identity information format; Input the processed owner identity information into the SHA-256 hash function to generate a unique voting code for each owner; The step of associating the voting code with the owner's identity to obtain associated information, and synchronously uploading the associated information and the voting code to the blockchain includes: A mapping relationship is established between the voting code and the corresponding owner identity, and the voting code is associated with the corresponding owner identity information; Define a data storage structure in the smart contract, receive the voting code and the information associated with the owner's identity and the voting code, and store them in the data structure defined by the smart contract; The smart contract uploads the voting code and the owner’s identity-associated information and the voting code to the blockchain and stores them; After the voting is closed, the smart contract verifies the voting code submitted by the owner, including: the smart contract verifies the association information between the voting code and the owner's identity to ensure that the voting code comes from a legitimate owner; The smart contract verifies that the voting code conforms to a specific format or specification and ensures that it is a valid voting code; The smart contract confirms whether the vote is conducted within the specified time frame. If the deadline is exceeded, the vote is deemed invalid; Smart contracts ensure that the same voting code can only be used to vote once.
2. The owner voting and public announcement system based on the synchronous uploading of voting codes to the blockchain is used to implement the owner voting and public announcement method based on the synchronous uploading of voting codes to the blockchain as described in claim 1, characterized in that: The system comprises: The detection module is used to obtain multi-type data sets to train intelligent anomaly detection models and integrate with blockchain to monitor the registration, enrollment and voting behaviors of property owners in real time; The verification module is used to obtain the identity information of the community owner and store it in the CA institution. The owner's identity is verified using the CA institution and face recognition technology. Only legal owners can register; The voting code module is used to process the legal owner's identity information after successful registration through a hash function to generate a unique voting code, associate the voting code with the owner's identity, obtain association information, and upload the association information and the voting code to the blockchain synchronously; The voting initiation module is used for the property to submit voting proposals to the owners' committee. The owners' committee reviews and optimizes the voting proposals and uploads the proposal information to the smart contract to verify its legitimacy. After the review is passed, the proposal information is published on the blockchain; The voting module is used for owners to obtain voting information through the blockchain and use voting codes to vote. The voting results are encrypted using encryption technology and uploaded to the smart contract synchronously with the corresponding voting codes; The vote counting module is used after the voting is closed. The smart contract verifies the voting code submitted by the owner. If the verification is successful, the smart contract decrypts the code and inputs the voting result into the intelligent anomaly detection model for real-time analysis. The smart contract counts the votes and uploads the counting results to the blockchain for the legal owner to view.
3. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the program, the steps in the owner voting and public announcement method based on synchronous uploading of voting codes to the blockchain as described in claim 1 are implemented.
4. A readable storage medium, characterized in that: The readable storage medium stores a computer program, and the computer program is suitable for being loaded by a processor to execute the owner voting and public announcement method based on synchronous uploading of voting codes to the blockchain as described in claim 1.
Citation Information
Cited By
Community owner online voting system and method supporting temporary ticket locking mechanism
CN122392183A
