CN115083061A - Personalized customization-oriented multi-mode intelligent election voting system and voting method thereof - Google Patents

Personalized customization-oriented multi-mode intelligent election voting system and voting method thereof Download PDF

Info

Publication number
CN115083061A
CN115083061A CN202210879995.8A CN202210879995A CN115083061A CN 115083061 A CN115083061 A CN 115083061A CN 202210879995 A CN202210879995 A CN 202210879995A CN 115083061 A CN115083061 A CN 115083061A
Authority
CN
China
Prior art keywords
voting
theme
information
selection
vote
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202210879995.8A
Other languages
Chinese (zh)
Other versions
CN115083061B (en
Inventor
陈建英
王坤峰
刘雄辉
何明宰
赵大智
冉浪浪
周乐灵
唐庆琳
陈启明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Southwest Minzu University
Original Assignee
Southwest Minzu University
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Southwest Minzu University filed Critical Southwest Minzu University
Priority to CN202210879995.8A priority Critical patent/CN115083061B/en
Publication of CN115083061A publication Critical patent/CN115083061A/en
Application granted granted Critical
Publication of CN115083061B publication Critical patent/CN115083061B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07CTIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
    • G07C13/00Voting apparatus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2462Approximate or statistical queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V30/00Character recognition; Recognising digital ink; Document-oriented image-based pattern recognition
    • G06V30/40Document-oriented image-based pattern recognition
    • G06V30/42Document-oriented image-based pattern recognition based on the type of document
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/088Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/30Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy
    • H04L9/3006Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters
    • H04L9/302Public key, i.e. encryption algorithm being computationally infeasible to invert or user's encryption keys not requiring secrecy underlying computational problems or public-key parameters involving the integer factorization problem, e.g. RSA or quadratic sieve [QS] schemes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3226Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a multi-mode intelligent voting system and a voting method thereof for personalized customization, wherein the voting system comprises a user interaction foreground, a background management platform and a database which are respectively connected with a back-end server; the user interaction foreground comprises a WeChat voting channel, an image recognition device and a webApp terminal; the background management platform mainly comprises a theme management module, a voting management module and a statistical analysis module.

Description

Personalized customization-oriented multi-mode intelligent election voting system and voting method thereof
Technical Field
The invention relates to a voting system, in particular to a multi-mode intelligent voting system oriented to personalized customization and a voting method thereof.
Background
Voting is one of the most common and formal activities of enterprises, institutions and various groups, and various voting methods are adopted for fair and fair.
1. The traditional paper voting has obvious defects:
(1) time and labor are wasted, the votes are sent to the hands of the participators, and each step of collecting the votes, singing the votes, counting the votes and disclosing the results needs to be performed personally, so that the operation is complicated and the efficiency is low;
(2) without supervision, data is susceptible to tampering. The whole link is lack of a supervision mechanism, a person who directly contacts the votes is easy to tamper and counterfeit the votes, and the result is also difficult to verify due to anonymous voting;
2. intelligent electronic ballot box: the ceremony of voting is ensured, but the problems of high cost, low utilization rate, incapability of avoiding voters who vote mapping voters and the like exist.
3. Voter + supporting software system: special installation is needed, the cost is high, special software matching management is needed, and the problems of universality, convenience, anonymity and the like are solved.
4. An online voting platform: such as micro-voting, Tencent voting, questionnaire and the like, but the platforms have the problems of personalized loss or deficiency caused by considering the universality, hidden danger of illegal collection of user information, loss of a supervision mechanism, incapability of ensuring that vote information is not tampered by adopting a centralized server and the like.
Disclosure of Invention
Aiming at the defects in the prior art, the multi-mode intelligent election voting system and the voting method thereof facing to personalized customization comprise three user voting interaction modes, and can meet various election voting requirements.
In order to achieve the purpose of the invention, the invention adopts the technical scheme that:
the first aspect provides a multi-mode intelligent election voting system oriented to personalized customization, which comprises a user interaction foreground, a background management platform and a database, wherein the user interaction foreground, the background management platform and the database are respectively connected with a back-end server; the user interaction foreground comprises the following steps:
the micro letter voting channel is used for scanning to enter a micro letter small program, entering a theme voting waiting interface through the micro letter small program, entering the current subtopic and voting when the subtopic voting channel is opened, returning to the voting waiting interface after the voting is finished to wait for the next subtopic to open the voting and enter the voting until all subtopic voting is finished;
the image recognition device is used for scanning the candidate paper vote template after the vote is finished and recognizing the voting information in the scanned image by adopting a trained deep learning model;
the webApp terminal is used for receiving the selection theme created by the theme management platform, jumping to a selection theme voting waiting interface, entering the current sub-theme and voting when the sub-theme voting channel is opened, returning to the voting waiting interface after the voting is finished to wait for the next sub-theme to start the voting and enter the voting until all sub-theme voting is finished;
the background management platform comprises:
the theme management module is used for configuring theme selection conditions and creating a selection theme, generating a two-dimensional code entering the selection theme when the selection mode is WeChat applet voting, and sending the ID of the selection theme to the WebApp terminal when the selection mode is WebApp terminal voting;
the voting management module is used for configuring the sub-theme and the sub-theme selecting condition under the selecting theme, and opening and closing a voting channel in the selecting process; when information that the number of the selected people does not reach the preset number is received, leading in candidates under corresponding subtopics, and opening a voting channel to select the rest people; when the selection mode is paper voting, after a candidate is introduced under each subtopic, a candidate paper vote template is generated;
the statistical analysis module is used for counting the vote quantity of each candidate according to the voting information uploaded by the user interaction platform, selecting the selected personnel according to the preset selection conditions according to the vote quantity, judging whether the selected personnel quantity is equal to the preset quantity, if so, generating a election report for field reading, and otherwise, informing the voting management module that the selected personnel does not reach the preset quantity;
and the database is used for storing the theme selection condition, the sub-theme selection condition, the participant information, the candidate information and the vote information uploaded in the vote process.
Further, selecting the selecting personnel according to the preset selecting conditions comprises:
selecting the voter with the highest vote number according to the number of the voters to be selected;
judging whether the vote number of the unselected candidate persons is equal to the vote number of the selected person or not, if so, entering the next step, and otherwise, taking the selected person at the current time as the final selected person at the current time;
and sending the votes which are selected at the current time and are not equal to the votes of the unselected candidate as final selecting persons at the current time, and sending the votes which are selected and unselected and are equal to the votes of the unselected candidate as candidate persons to the voting management module.
Further, the theme selection conditions comprise real name/anonymity, block chain access, check-in and position limitation, participant/sea selection setting, real-in and corresponding proportion setting, voting terminal selection, selection validity setting, approval ticket number/corresponding number setting, selection sorting rule setting, maximum reselection times setting and theme skin setting; the theme selection condition is coded and stored in mysql in a JSON form, and after the theme selection condition is taken out and analyzed in the voting process, whether the voting condition in the process meets the theme selection condition is checked;
the sub-theme selection conditions comprise whether a recommender is started, setting a person voting/scheme voting/scoring voting, setting the number of votes to be voted, setting the number of candidates, setting an equal/difference selection mode, setting the maximum number of votes to be cast by each person and setting an importing mode of the candidates.
Furthermore, the multi-mode intelligent voting system also comprises an information management module, a check-in module, a right management module, an assistant voting module and/or a system management module;
the check-in module is used for controlling a check-in switch, counting check-in conditions, configuring check-in time and place and check-in range and assisting in check-in when the selection mode is the WeChat applet; the information management module is used for importing, adding, editing and deleting the information of the participants and the candidates;
the permission management module is used for creating a user, setting multiple management roles, editing the created roles, endowing preset permissions to the management roles, and splitting the user, the roles and the permissions into three tables in the mysql database, wherein one userID can correspond to a plurality of roleIDs, and one roleID corresponds to one permission ID array;
the assistant voting module is used for adopting a ticket supervisor established by the authority management module to supervise the voter to complete voting when the voter fails to vote; the system management module is used for backing up the voting system, initializing the system and managing a log.
In a second aspect, a voting method for a multi-modal intelligent election voting system oriented to personalized customization is provided, which is characterized by comprising the following steps:
s1, configuring theme selection conditions, voting modes, creating selection themes, importing participants, creating sub-themes under the selection themes, importing candidates of the sub-themes and configuring the sub-theme selection conditions;
s2, generating information for voting in the corresponding mode according to the selection mode, and sending the information to the user interaction foreground for voting;
s3, receiving voting information which is uploaded by a user interactive foreground and accords with the subtopic selection condition, counting the number of votes of each candidate, and selecting a selecting person according to the number of votes and a preset selection condition;
s4, judging whether the number of the selected persons is equal to the preset number, if so, generating a winning report for on-site reading, otherwise, entering the step S5;
s5, receiving the information that the selected people do not reach the preset number, importing the candidate under the corresponding theme, generating the information of voting again, sending the information to the user interactive foreground for voting, and then entering the step S3.
Further, selecting the selecting personnel according to the preset selecting conditions comprises:
s31, selecting the voter with the highest vote number according to the number of the voters needing to be selected;
s32, judging whether the vote number of the unselected candidate persons is equal to the vote number of the selected person, if so, entering the step S33, otherwise, taking the selected person at the current time as the final selected person at the current time;
and S33, taking the votes which are selected at the current time and are not equal to the votes of the unselected candidate as final selection personnel at the current time, and taking the votes which are selected and not selected as candidate personnel with the same number as the votes of the unselected candidate as candidate personnel to be sent to the voting management module.
Further, the voting mode comprises WeChat applet voting, the image recognition device scans the voting and the webApp terminal voting, and the method for the WeChat applet voting comprises the following steps:
a1, generating a two-dimensional code entering a selected theme by the theme scanning management module, and judging whether the selection mode of the currently selected theme adopts a sea selection mode, if so, entering the step A3, otherwise, entering the step A2;
a2, judging whether the currently selected theme needs to adopt a sign-in mode, if so, sending the input information to a back-end server to verify the sign-in, binding participants, and then entering the step A3; otherwise, directly binding the input information with the participant, and then entering the step A3;
a3, entering a voting waiting page, waiting for the opening of a voting channel, voting when the voting channel is opened, and submitting voting information when the voting information conforms to a voting rule;
a4, when there is no vote in the current selection theme, returning to the step A3, otherwise ending the voting task in the current selection theme;
the voting method of the webApp terminal comprises the following steps:
b1, showing a large theme created by the election sponsor, and entering a voting waiting interface under the large theme;
b2, when the voting switch is opened, showing the sub-theme selecting conditions, and entering a voting interface when the participant determines that the participant has read;
b3, voting, and then submitting voting information when the voting information conforms to the voting rule;
b4, when there is no vote in the current selection theme, returning to the voting waiting interface, otherwise ending the voting task in the current selection theme.
Further, when the selection mode is the WeChat applet, after the step S1, the method further includes:
sending the information of the selected theme needing to be checked in to the WeChat applet, and opening a check-in channel;
receiving the check-in information of the voters and displaying the check-in condition in real time, closing a check-in channel when the counted number of the check-in persons meets the preset number of the voters, and printing a check-in report;
and in the sign-in process, the information of the sign-in personnel is bound with the information of the participants of the major theme, and the binding information is sent to the WeChat small program.
Further, when the theme needs to be accessed to the blockchain platform, the method further comprises the following steps of encrypting and decrypting the vote information:
the back-end server receives the voting information uploaded by the user interaction foreground, analyzes the voting information into identifiable JSON data, and extracts a selection subject ID in the voting information;
according to the ID of the selected theme, when the configuration of the block chain needing to be accessed is inquired in a database, a back-end server distributes a group of RSA public and private key pairs for the voting information of the selected theme;
the back-end server stores the public and private keys into a Votemain table in a database, formats the vote information and then encrypts the vote information by adopting an RSA public key under the currently selected theme;
storing the encrypted ciphertext into voting nodes of the block chain platform through an intelligent contract, and synchronizing data of all nodes in the block chain platform through a consensus algorithm;
when the vote information needs to be extracted for vote quantity counting, the counting analysis module calls an intelligent contract through polling to obtain the vote items of the appointed selection theme, the sub-theme and the voting times in the block chain platform in real time;
and (3) selecting a private key in the theme from the database, decrypting the private key into a plaintext, analyzing and counting the ticket items, and dynamically displaying the result in real time through an Echarts table.
The invention has the beneficial effects that: the voting system adopts the WeChat applet or the voting terminal as a voting carrier, the generated two-dimensional code is used as an entrance of the voting to reduce the cost of manpower and material resources in the voting process, and a reading report is immediately generated according to a report template configured by a user after one-time voting is finished for field reading.
The voting system can also adopt a scanning device to scan paper votes to obtain images, and combines a deep learning model (machine vision and deep learning) to identify paper vote files, so that the voting activity can be maintained at the same time, the voting system has lower cost than an intelligent electronic voting box, the problem of mapping votes and voters is avoided by adopting a mode of uniformly scanning votes, and the privacy of participants can be better guaranteed. Meanwhile, compared with the existing voting machine and matched software mode, the method has higher universality, flexibility, portability and low cost.
The voting system provides various functional personalized configurations including sign-in, real-name/anonymous voting, sea election/white list voting, customized election rules, assisted voting, report template editing, short message login authentication, app theme skin customization, candidate detailed information and the like, and meets the customization requirements of users.
Drawings
Fig. 1 is an architecture diagram of a multi-modal intelligent election voting system oriented to personalized customization.
Fig. 2 is a functional structure diagram of a background management platform.
FIG. 3 is a flow chart of a multi-modal intelligent election voting method oriented to personalized customization.
Detailed Description
The following description of the embodiments of the present invention is provided to facilitate the understanding of the present invention by those skilled in the art, but it should be understood that the present invention is not limited to the scope of the embodiments, and it will be apparent to those skilled in the art that various changes may be made without departing from the spirit and scope of the invention as defined and defined in the appended claims, and all matters produced by the invention using the inventive concept are protected.
As shown in fig. 1, the present solution provides a customized multimode intelligent voting system, which includes a user interaction foreground, a background management platform and a mysql database respectively connected to a back-end server; the user interaction foreground comprises the following steps:
the micro letter voting channel is used for scanning to enter a micro letter small program, entering a theme voting waiting interface through the micro letter small program, entering the current subtopic and voting when the subtopic voting channel is opened, returning to the voting waiting interface after the voting is finished to wait for the next subtopic to open the voting and enter the voting until all subtopic voting is finished;
the image recognition device is used for scanning the candidate paper vote template after the vote is finished and recognizing the voting information in the scanned image by adopting a trained deep learning model; the specific implementation process is as follows:
after the votes of the participants are finished, the staff member collects the filled paper vote templates of the candidates, then the paper vote templates are put into a high-speed scanner, the high-speed scanner scans the paper vote (the paper vote is scanned into a picture in a jpg format and stored in a terminal device (a mobile PC)), and then the image recognition framework and the machine vision of yolov5 are utilized to recognize the voting condition of each piece of paper vote.
The candidate paper vote template used in the scheme adopts customized voting paper, deep learning is performed in advance aiming at the customized voting paper, specifically, thousands of pieces of voting paper are randomly voted, then scanning is performed, a data set is manufactured, pictures are divided into a training set and a verification set, an opencv library is used for image enhancement of the data set (aiming at a certain application field, a large number of image data sets are difficult to obtain, a certain number of data sets are needed for training a model by using a deep learning technology, and the current limited data are expanded), after the training set is used as an input end of a yolov5 framework, an attention mechanism is introduced to realize a larger weight value of an image target. The method and the device have the advantages that accuracy is improved, because the customized voting paper is used, the identification accuracy can reach high accuracy (98%), and the voting condition is identified and then packaged into a uniform JSON format like a WeChat applet mode.
And then submitting packaged voting condition information through an interface provided by a back-end server by combining a URL transmission library which is based on libcurl and is convenient for a client to use, and packaging the program into an executable exe executable file by combining the good packaging characteristic of c + + language, so that the image recognition device is not limited to one terminal and can only be bound with one terminal. The user only needs to own one PC terminal, and the exe executable file is transferred to the PC terminal, so that the plug and play can be realized without any other operation.
The webApp terminal is used for receiving the selection theme created by the theme management platform, jumping to a selection theme voting waiting interface, entering the current sub-theme and voting when the sub-theme voting channel is started, returning to the voting waiting interface after the voting is finished to wait for the next sub-theme to start the voting and enter the voting until all sub-theme voting is finished;
the webApp terminal is that in the scheme, in consideration of the fact that certain occasions with high privacy requirements may exist, a participant wants to achieve complete disassociation of the identity and the vote, and can be deployed in regional meeting places such as meeting rooms, the participant can make a call immediately without identity binding, and therefore a sign-in process is not needed. If a large theme configuration starts a webApp terminal to be used as a voting carrier, the operation flow of one-time complete voting is as follows:
the webApp terminal displays the mode of the enabled webApp terminal created by the background as the selection theme ID and name of the voting carrier, the election host only needs to select and determine the selection theme ID and name created by the background on the webApp terminal, after the selection theme ID selected by the election host, the page jumps to a voting waiting page under the selection theme, the process cannot return to the previous step to reselect the meeting place (selection theme ID), and the subsequent operations can refer to steps B1 to B4.
As shown in fig. 2, the background management platform includes:
the theme management module is used for configuring theme selection conditions and creating a selection theme, generating a two-dimensional code entering the selection theme when the selection mode is WeChat applet voting, and sending the ID of the selection theme to the WebApp terminal when the selection mode is WebApp terminal voting;
the theme selection conditions comprise real name or anonymity, block chain access or not, check-in or position limitation or not, participant/sea election setting, real-to-corresponding proportion setting, voting terminal selection, selection validity setting, vote number or corresponding number setting, election sorting rule setting, maximum reselection times setting and theme skin setting; the theme selection condition is coded and stored in mysql in a JSON form, and after the theme selection condition is taken out and analyzed during voting, whether the voting condition in process meets the theme selection condition or not is verified.
The voting management module is used for configuring the sub-theme and the sub-theme selecting condition under the selecting theme, and opening and closing a voting channel in the selecting process; when information that the number of the selected people does not reach the preset number is received, leading in candidates under corresponding subtopics, and opening a voting channel to select the rest people; when the selection mode is paper voting, after a candidate is introduced under each subtopic, a candidate paper vote template is generated;
the sub-theme selection conditions comprise whether a recommender is started, setting a person voting/scheme voting/scoring voting, setting the number of votes to be voted, setting the number of candidates, setting an equal/difference selection mode, setting the maximum number of votes to be cast by each person and setting an importing mode of the candidates.
The statistical analysis module is used for counting the vote quantity of each candidate according to the voting information uploaded by the user interaction platform, selecting the selected personnel according to the preset selection conditions according to the vote quantity, judging whether the selected personnel quantity is equal to the preset quantity, if so, generating a election report for field reading, and otherwise, informing the voting management module that the selected personnel does not reach the preset quantity;
there are three types of databases that store data in the present invention. The mysql database is used for storing theme selection conditions, sub-theme selection conditions, participant information, candidate information and vote information uploaded in the vote process; the redis database is used as a cache for temporarily storing vote information and accelerating the vote counting process; the file server is used for storing media files such as candidate audio and video in the voting process.
When in implementation, the scheme preferably selects the selecting personnel according to the preset selecting conditions and comprises the following steps:
selecting the voter with the highest vote number according to the number of the voters to be selected;
judging whether the vote number of the unselected candidate persons is equal to the vote number of the selected person or not, if so, entering the next step, and otherwise, taking the selected person at the current time as the final selected person at the current time;
and sending the votes which are selected at the current time and are not equal to the votes of the unselected candidate as final selecting persons at the current time, and sending the votes which are selected and unselected and are equal to the votes of the unselected candidate as candidate persons to the voting management module.
In one embodiment of the invention, the multi-modal intelligent election voting system further comprises an information management module, a check-in module, a right management module, an assistant voting module and/or a system management module;
the check-in module is used for controlling a check-in switch, counting check-in conditions, configuring check-in time and place and check-in range and assisting in check-in when the selection mode is the WeChat applet; the information management module is used for importing, adding, editing and deleting the information of the participants and the candidates;
the permission management module is used for creating a user, setting multiple management roles, editing the created roles, endowing preset permissions to the management roles, and splitting the user, the roles and the permissions into three tables in the mysql database, wherein one userID can correspond to a plurality of roleIDs, and one roleID corresponds to one permission ID array;
the assistant voting module is used for adopting a ticket supervisor established by the authority management module to supervise the voter to complete voting when the voter fails to vote; the system management module is used for backing up the voting system, initializing the system and managing a log.
Referring to fig. 3, fig. 3 shows a voting method oriented to a personalized and customized multimodal intelligent election voting system, wherein the method S comprises steps S1 to S5.
In step S1, configuring theme selection conditions, voting patterns, creating selection themes, importing participants, creating sub-themes under the selection themes, importing candidates for the sub-themes, and configuring sub-theme selection conditions;
in step S2, generating information for voting in the corresponding mode according to the selection mode, and sending the information to the user interaction foreground for voting;
in one embodiment of the invention, the voting mode comprises WeChat applet voting, the image recognition device scans the voting and the webApp terminal voting, and the method for the WeChat applet voting comprises the following steps:
a1, generating a two-dimensional code entering a selected theme by the theme scanning management module, and judging whether the selection mode of the currently selected theme adopts a sea selection mode, if so, entering the step A3, otherwise, entering the step A2;
a2, judging whether the currently selected theme needs to adopt a sign-in mode, if so, sending the input information to a back-end server to verify the sign-in, binding participants, and then entering the step A3; otherwise, directly binding the input information with the participant, and then entering the step A3;
a3, entering a voting waiting page, waiting for the opening of a voting channel, voting when the voting channel is opened, and submitting voting information when the voting information conforms to a voting rule;
a4, when there is no vote in the current selection theme, returning to the step A3, otherwise ending the voting task in the current selection theme;
the voting method of the webApp terminal comprises the following steps:
b1, showing a large theme created by the election sponsor, and entering a voting waiting interface under the large theme;
b2, when the voting switch is opened, showing the sub-theme selecting conditions, and entering a voting interface when the participator determines that the participator has read;
b3, voting is carried out, and then when the voting information accords with the voting rule, the voting information is submitted;
b4, when there is no vote in the current selection theme, returning to the voting waiting interface, otherwise ending the voting task in the current selection theme.
The detailed implementation process of voting by the webApp terminal is as follows:
after the voting is started by the election host office in the background, the webApp terminal obtains information through webSocket communication connection and immediately refreshes a voting waiting page, the webApp terminal lightens the voting for the first time and recovers the clicking state of the voting, participants click the voting and enter a voting rule reading page, terminal equipment in the page can transmit the ID of the sub-theme to a rear-end server, the rear-end server can return the configuration information of the sub-theme in a JSON mode, the webApp terminal analyzes the JSON configuration information and converts the configuration information into notice of text notification, the voting rule is read by the participants, and a foundation is laid for subsequent voting.
After the attention items are read, the participants can enter a formal voting page, and the webApp terminal generates selection conditions on the voting page according to the subtopic selection conditions. Such as calculating the number of people that can be selected with the candidate in proportion to the election deficit configured in the election mode, limiting the number of votes granted in accordance with the maximum number of votes granted, controlling whether to open a recommender portal in accordance with whether recommender configuration is enabled, etc.
After the participants complete voting and submit under the definition of the voting rule, the webApp terminal analyzes and formats the information of the ticket item into a JSON format which is the same as that in the WeChat applet mode and transmits the information to the back-end server. The back-end server receives the vote and returns the success of the vote, and the vote can be checked after the success of the vote but cannot be voted again. After the above steps, the participants of the webApp terminal have passed a voting period in an integrated manner.
In step S3, receiving the voting information meeting the sub-topic selection condition uploaded by the user interaction foreground, counting the number of votes of each candidate, and selecting a selecting person according to the number of votes and the preset selection condition:
s31, selecting the voter with the highest vote number according to the number of the voters needing to be selected;
s32, judging whether the vote number of the unselected candidate persons is equal to the vote number of the selected person, if so, entering the step S33, otherwise, taking the selected person at the current time as the final selected person at the current time;
and S33, taking the votes which are selected at the current time and are not equal to the votes of the unselected candidate as final selection personnel at the current time, and taking the votes which are selected and not selected as candidate personnel with the same number as the votes of the unselected candidate as candidate personnel to be sent to the voting management module.
In step S4, determining whether the number of selected persons is equal to a preset number, if so, generating a winning report for on-site reading, otherwise, entering step S5;
in step S5, information that the number of selected people has not reached the preset number is received, candidates are imported under the corresponding topics, information for voting again is generated and sent to the user interaction foreground for voting, and then the process goes to step S3.
In implementation, in this embodiment, preferably, when the selection mode is the WeChat applet, after step S1, the method further includes:
sending the information of the selected theme needing to be checked in to the WeChat applet, and opening a check-in channel;
receiving the check-in information of the voters and displaying the check-in condition in real time, closing a check-in channel when the counted number of the check-in persons meets the preset number of the voters, and printing a check-in report;
and in the sign-in process, the information of the sign-in personnel is bound with the information of the participants of the major theme, and the binding information is sent to the WeChat small program.
In implementation, when the theme needs to be accessed to the blockchain platform, the scheme preferably further comprises the following steps of encrypting and decrypting the vote information:
the back-end server receives the voting information uploaded by the user interaction foreground, analyzes the voting information into identifiable JSON data, and extracts a selection subject ID in the voting information;
according to the ID of the selected theme, when the configuration of the block chain needing to be accessed is inquired in the mysql database, the back-end server distributes a group of RSA public and private key pairs for the voting information of the selected theme;
the back-end server stores the public and private keys into a Votemain table in the mysql database, formats the vote information and then encrypts the vote information by adopting an RSA public key under the currently selected theme;
examples of the formatted vote information are:
the method includes that { "Id":1, "userId":334, "voteMainId":10, "voteSubId":11, "voteSubCount":1, "content": "{ \\ voteList \ [ { \\ userId \ 93, \\\ type \ 1}, { \\" userId \ 94, \ "type \ 0}, { \\\ \ userId \ 95, \" type \ 1} ], "hxrList \ [ ] }" "," bk1 "[ ]" } "similar data type ('userId' represents the recommended voter votes voter 'voter' voter 'represents voter's voter's voter's voter 'voter's voter 'voter' voter ', and' voter 'represents voter's voter's voter's voter's voter's.
Storing the encrypted ciphertext into voting nodes of the block chain platform through an intelligent contract, and synchronizing data of all nodes in the block chain platform through a consensus algorithm;
when the vote information needs to be extracted for vote quantity counting, the counting analysis module calls an intelligent contract through polling to obtain the vote items of the appointed selection theme, the sub-theme and the voting times in the block chain platform in real time;
and (3) selecting a private key in the theme from the mysql database, decrypting the private key into a plaintext, analyzing and counting the ticket items, and dynamically displaying the result in real time through an Echarts table.
In summary, the advantages of the multi-mode intelligent voting system in use include:
1. and (3) supporting rich scenes: the system comprises three user voting interaction modes, and can meet various voting requirements;
2. the data is safe and reliable: on one hand, the blockchain technology is combined, the blockchain service is introduced into the voting system as an optional configuration and a plurality of sections are deployed, and the voting data is handed to a plurality of parties for maintenance, so that the ticket item is prevented from being tampered. On the other hand, restriction is carried out according to characteristics such as WeChat ID, IP address, voting state mark, User-Agent and the like, so that repeated voting and ticket swiping of the User are prevented, and ticket counting errors can be reduced by combining machine vision;
3. introducing a supervision mechanism: the authority management module can create a plurality of roles, not only can be provided with a ticket casting manager, but also can be provided with a ticket supervisor role, and the whole ticket counting and counting process can be supervised by the ticket supervisor identity login system;
4. the voting election rule is self-defined: on the theme configuration and subtopic configuration pages, a large number of election rules are available to allow the user to customize, such as: the method has the advantages that the method can be applied to voting activities under various scenes, such as real name/anonymity, designated voter/sea election, election basic conditions, voting starting minimum requirements and the like;
5. printing and visualizing voting result on site: the statistical information comprises the candidate ticket obtaining condition, the sign-in condition, the voting condition and the election result, can be displayed in the form of a form or a statistical chart, can print out related documents for field reading, supports a custom printing template, and is embedded with built-in variables.

Claims (10)

1. The system is characterized by comprising a user interaction foreground, a background management platform and a database which are respectively connected with a back-end server; the user interaction foreground comprises:
the micro letter voting channel is used for scanning to enter a micro letter small program, entering a theme voting waiting interface through the micro letter small program, entering the current subtopic and voting when the subtopic voting channel is opened, returning to the voting waiting interface after the voting is finished to wait for the next subtopic to open the voting and enter the voting until all subtopic voting is finished;
the image recognition device is used for scanning the candidate paper vote template after the vote is finished and recognizing the voting information in the scanned image by adopting a trained deep learning model;
the webApp terminal is used for receiving the selection theme created by the theme management platform, jumping to a selection theme voting waiting interface, entering the current sub-theme and voting when the sub-theme voting channel is opened, returning to the voting waiting interface after the voting is finished to wait for the next sub-theme to start the voting and enter the voting until all sub-theme voting is finished;
the background management platform comprises:
the theme management module is used for configuring theme selection conditions and creating a selection theme, generating a two-dimensional code entering the selection theme when the selection mode is WeChat applet voting, and sending the ID of the selection theme to the WebApp terminal when the selection mode is WebApp terminal voting;
the voting management module is used for configuring the sub-theme and the sub-theme selecting condition under the selecting theme, and opening and closing a voting channel in the selecting process; when information that the number of the selected people does not reach the preset number is received, leading in candidates under corresponding subtopics, and opening a voting channel to select the rest people; when the selection mode is paper voting, after a candidate is introduced under each subtopic, a candidate paper vote template is generated;
the statistical analysis module is used for counting the vote quantity of each candidate according to the voting information uploaded by the user interaction platform, selecting the selected personnel according to the preset selection conditions according to the vote quantity, judging whether the selected personnel quantity is equal to the preset quantity, if so, generating a election report for field reading, and otherwise, informing the voting management module that the selected personnel does not reach the preset quantity;
and the database is used for storing the theme selecting condition, the sub-theme selecting condition, the participant information, the candidate information and the vote information uploaded in the vote process.
2. The system according to claim 1, wherein the picking up of the selected persons according to the preset selection conditions comprises:
selecting the voter with the highest vote number according to the number of the voters to be selected;
judging whether the vote number of the unselected candidate persons is equal to the vote number of the selected person or not, if so, entering the next step, and otherwise, taking the selected person at the current time as the final selected person at the current time;
and sending the votes which are selected at the current time and are not equal to the votes of the unselected candidate as final selecting persons at the current time, and sending the votes which are selected and unselected and are equal to the votes of the unselected candidate as candidate persons to the voting management module.
3. The system according to claim 1, wherein the theme-picking conditions include real name/anonymity, access to block chain, check-in and position limitation, participant/sea-picking, real-to-corresponding proportion, voting terminal selection, picking validity, votes/people in favor, election-sorting rules, reselection maximum times and theme skin; the theme selection condition is coded and stored in mysql in a JSON form, and after the theme selection condition is taken out and analyzed during voting, whether the voting condition in the process meets the theme selection condition is checked;
the sub-theme selection conditions comprise whether a recommender is started, setting a person voting/scheme voting/scoring voting, setting the number of votes to be voted, setting the number of candidates, setting an equal/difference selection mode, setting the maximum number of votes to be cast by each person and setting an importing mode of the candidates.
4. The system of claim 1, further comprising an information management module, a check-in module, a rights management module, an assisted voting module, and/or a system management module;
the check-in module is used for controlling a check-in switch, counting check-in conditions, configuring check-in time and place and check-in range and assisting in check-in when the selection mode is the WeChat applet; the information management module is used for importing, adding, editing and deleting the information of the participants and the candidates;
the authority management module is used for creating a user, setting multiple management roles, editing the created roles, endowing preset authority to the management roles, and splitting the user, the roles and the authority into three tables in a database, wherein one userID can correspond to a plurality of roleIDs, and one roleID corresponds to one permission ID array;
the assistant voting module is used for adopting a ticket supervisor established by the authority management module to supervise the voter to complete voting when the voter fails to vote; the system management module is used for backing up the voting system, initializing the system and managing the log.
5. The system according to claim 1, comprising two background management platforms, wherein one is deployed locally, and the other is deployed on a cloud platform;
the background management platform deployed on the cloud platform further comprises a block chain platform used for receiving and storing encrypted voting information uploaded by a back-end server to a user interaction foreground; a plurality of nodes are distributed in the block chain platform, one of the nodes is a voting node, the rest nodes are respectively distributed at voting sponsors or different monitoring mechanisms, and data of each node are synchronized through a consensus algorithm.
6. A voting method facing to the personalized and customized multi-modal intelligent election voting system according to any one of claims 1 to 5, comprising the following steps:
s1, configuring theme selection conditions, voting modes, creating selection themes, importing participants, creating sub-themes under the selection themes, importing candidates of the sub-themes and configuring the sub-theme selection conditions;
s2, generating information for voting in the corresponding mode according to the selection mode, and sending the information to the user interaction foreground for voting;
s3, receiving voting information which is uploaded by a user interaction foreground and accords with the subtopic selection condition, counting the number of votes of each candidate, and selecting a selecting person according to the number of the votes and the preset selection condition;
s4, judging whether the number of the selected persons is equal to the preset number, if so, generating a winning report for on-site reading, otherwise, entering a step S5;
s5, receiving the information that the selected people do not reach the preset number, importing the candidate under the corresponding theme, generating the information of voting again, sending the information to the user interactive foreground for voting, and then entering the step S3.
7. A voting method according to claim 6, wherein the picking of the voter according to the preset voting condition comprises:
s31, selecting the voter with the highest vote number according to the number of the voters needing to be selected;
s32, judging whether the vote number of the unselected candidate persons is equal to the vote number of the selected person, if so, entering the step S33, otherwise, taking the selected person at the current time as the final selected person at the current time;
and S33, taking the votes which are selected at the current time and are not equal to the votes of the unselected candidate as final selection personnel at the current time, and taking the votes which are selected and not selected as candidate personnel with the same number as the votes of the unselected candidate as candidate personnel to be sent to the voting management module.
8. A voting method according to claim 6, wherein the voting pattern comprises WeChat applet voting, the image recognition device scans the voting and the webApp terminal voting, and the method for WeChat applet voting comprises:
a1, generating a two-dimensional code entering a selected theme by the theme scanning management module, and judging whether the selection mode of the currently selected theme adopts a sea selection mode, if so, entering the step A3, otherwise, entering the step A2;
a2, judging whether the currently selected theme needs to adopt a sign-in mode, if so, sending the input information to a back-end server to verify the sign-in, binding participants, and then entering the step A3; otherwise, directly binding the input information with the participant, and then entering the step A3;
a3, entering a voting waiting page, waiting for the opening of a voting channel, voting when the voting channel is opened, and submitting voting information when the voting information conforms to a voting rule;
a4, when there is no vote in the current selection theme, returning to the step A3, otherwise ending the voting task in the current selection theme;
the voting method of the webApp terminal comprises the following steps:
b1, showing a large theme created by the election host and entering a voting waiting interface under the large theme;
b2, when the voting switch is opened, showing the sub-theme selecting conditions, and entering a voting interface when the participator determines that the participator has read;
b3, voting, and then submitting voting information when the voting information conforms to the voting rule;
b4, when there is no vote in the current selection theme, returning to the voting waiting interface, otherwise ending the voting task in the current selection theme.
9. A voting method according to claim 6, wherein when the selection mode is WeChat applet, after step S1, the voting method further comprises:
sending the information of the selected theme needing to be checked in to the WeChat applet, and opening a check-in channel;
receiving the check-in information of the voters and displaying the check-in condition in real time, closing a check-in channel when the counted number of the check-in persons meets the preset number of the voters, and printing a check-in report;
and in the sign-in process, the information of the sign-in personnel is bound with the information of the participants of the major theme, and the binding information is sent to the WeChat small program.
10. A voting method according to claim 6, wherein when the subject requires access to the blockchain platform, the method further comprises the following steps:
the back-end server receives the voting information uploaded by the user interaction foreground, analyzes the voting information into identifiable JSON data, and extracts a selection subject ID in the voting information;
according to the ID of the selected theme, when the configuration of the block chain needing to be accessed is inquired in a database, a back-end server distributes a group of RSA public and private key pairs for the voting information of the selected theme;
the back-end server stores the public and private keys into a Votemain table in a database, formats the vote information and then encrypts the vote information by adopting an RSA public key under the currently selected theme;
storing the encrypted ciphertext into voting nodes of the block chain platform through an intelligent contract, and synchronizing data of all nodes in the block chain platform through a consensus algorithm;
when the vote information needs to be extracted for vote quantity counting, the counting analysis module calls an intelligent contract through polling to obtain the vote items of the appointed selection theme, the sub-theme and the voting times in the block chain platform in real time;
and (4) selecting a private key in the theme from the database, decrypting the private key into a plaintext, analyzing and counting the ticket items, and displaying the result dynamically in real time through an Echarts table.
CN202210879995.8A 2022-07-25 2022-07-25 Multi-mode intelligent election voting system oriented to personalized customization and voting method thereof Active CN115083061B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210879995.8A CN115083061B (en) 2022-07-25 2022-07-25 Multi-mode intelligent election voting system oriented to personalized customization and voting method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210879995.8A CN115083061B (en) 2022-07-25 2022-07-25 Multi-mode intelligent election voting system oriented to personalized customization and voting method thereof

Publications (2)

Publication Number Publication Date
CN115083061A true CN115083061A (en) 2022-09-20
CN115083061B CN115083061B (en) 2023-03-17

Family

ID=83241875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210879995.8A Active CN115083061B (en) 2022-07-25 2022-07-25 Multi-mode intelligent election voting system oriented to personalized customization and voting method thereof

Country Status (1)

Country Link
CN (1) CN115083061B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201259698Y (en) * 2008-05-21 2009-06-17 广东亿迅科技有限公司 Remote electronic voting system
CN109523682A (en) * 2018-10-19 2019-03-26 闪维(北京)文化有限公司 A kind of ballot system
CN110660150A (en) * 2018-06-28 2020-01-07 厦门本能管家科技有限公司 Credible voting method and system based on block chain
CN111354122A (en) * 2019-05-22 2020-06-30 鸿合科技股份有限公司 Interactive electronic voting method, equipment, electronic equipment and storage medium
US20200258338A1 (en) * 2019-02-08 2020-08-13 United States Postal Service Secure voting system
CN111862440A (en) * 2020-08-10 2020-10-30 国网信通亿力科技有限责任公司 Voting system based on block chain technology

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201259698Y (en) * 2008-05-21 2009-06-17 广东亿迅科技有限公司 Remote electronic voting system
CN110660150A (en) * 2018-06-28 2020-01-07 厦门本能管家科技有限公司 Credible voting method and system based on block chain
CN109523682A (en) * 2018-10-19 2019-03-26 闪维(北京)文化有限公司 A kind of ballot system
US20200258338A1 (en) * 2019-02-08 2020-08-13 United States Postal Service Secure voting system
CN111354122A (en) * 2019-05-22 2020-06-30 鸿合科技股份有限公司 Interactive electronic voting method, equipment, electronic equipment and storage medium
CN111862440A (en) * 2020-08-10 2020-10-30 国网信通亿力科技有限责任公司 Voting system based on block chain technology

Also Published As

Publication number Publication date
CN115083061B (en) 2023-03-17

Similar Documents

Publication Publication Date Title
US20210097205A1 (en) Systems, Methods and Computer Program Products for Managing Remote Execution of Transaction Documents
US7010569B2 (en) Method of information display and communication system using the method
CN101086776B (en) Browsing management apparatus, browsing management method, and program product thereof
JP5599409B2 (en) Automatic intention collection system and method
JP2011216073A (en) Information management device
CN104346693A (en) Educational training and evaluating system
KR101916198B1 (en) Server, method, computer program and computer readable recording medium for providing electronic voting service
JP2017510906A (en) Electronic voting system and method
US20230237515A1 (en) Mobile cloud and mobile cloud computing for a user-customized survey or election service system and method
Hill Communication for a new democracy: Indonesia's first online elections
CN110119992A (en) It is a kind of can fast search license plate number automobile social networking system and method
US20200081915A1 (en) System and method for automatically collecting opinions
Gentles et al. Application of biometrics in mobile voting
CN109858811A (en) A kind of automation recruitment and trial period checking system and its operation method
KR101466696B1 (en) Apparatus and method for managing of examination question
CN115083061B (en) Multi-mode intelligent election voting system oriented to personalized customization and voting method thereof
Kommey et al. SwyftTapp: An NFC based attendance system using fingerprint authentication
Shuaibu et al. A framework for the adoption of electronic voting system in Nigeria
CN113259140B (en) Cloud conference box rapid conference entering method and system
KR101648018B1 (en) A Network Service System for Providing Activities of Forming Family Relation in Self-Joining and a Method for Making a Family History with the Same
Chen E-engagement: A guide for Public Sector Managers
CN109829793A (en) A kind of books recommendation system for purchase and design method based on wechat barcode scanning technology
RU2298229C2 (en) Method for electronic voting and processing of results
Thiga et al. Electronic Voting System for University Student Elections: The Case of Kabarak University, Kenya
KR20180121856A (en) Server, method, computer program and computer readable recording medium for providing electronic voting service

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant