Data interaction system for wireless dual-mode electronic voting and working method thereof
By employing a dual-mode wireless communication module of 433MHz and 900MHz for data interaction in the wireless electronic voting system, and combining byte-by-byte comparison and asymmetric low-power monitoring design, the real-time performance, reliability, and battery life issues of the wireless electronic voting system are solved, achieving high reliability and long battery life.
Patent Information
- Application Number
- CN202611412967.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-09-11
- Publication Date
- 2026-11-27
AI Technical Summary
Existing wireless electronic voting systems have shortcomings in terms of real-time performance, reliability, and battery life, especially in that the wireless communication module is susceptible to interference, lacks dual verification at the data level, and has high power consumption.
Data interaction is achieved using dual-mode wireless communication modules of 433MHz and 900MHz, with byte-by-byte comparison and verification performed at the communication master station. Combined with an asymmetric low-power monitoring design, the system employs a 433MHz module for monitoring and a 900MHz module for sleep mode, and adds a hardware timer for double-insurance fault-tolerant wake-up.
It achieves dual verification at the data level, improving the system's reliability and anti-interference capabilities, while also enhancing battery life through low-power design.
Smart Images

Figure CN123185696A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of wireless transmission technology, specifically relating to a data interaction system and its working method for wireless dual-mode electronic voting. Background Technology
[0002] Wireless electronic voting systems are commonly used in various conference scenarios and have high requirements for real-time performance and stability. Common wireless electronic voting system structures include... Figure 1 As shown, the main control PC and the communication master station transmit data via a wired connection through a switch, while the communication master station and the voting device exchange data via a wireless communication module. However, existing wireless electronic voting systems still have the following drawbacks in application: 1. Poor real-time performance: In order to meet the stability requirements, the wireless communication module of some wireless electronic voting systems has a slow data transmission speed.
[0003] 2. Insufficient reliability and lack of data-level dual verification: During system operation, due to the complexity of various environments, wireless communication modules are susceptible to various interferences, posing a risk of data transmission and reception anomalies. While existing dual-frequency solutions provide dual-frequency redundancy backup, this is essentially still "module-level" redundancy; that is, when one wireless communication module is interfered with, it switches to the other. The two modules operate independently, lacking a mechanism for cross-checking and comparing the received data from both channels. This means that even if data is received from both, it is impossible to detect potential transmission errors or data anomalies in one channel, and the system's stability and reliability still have room for improvement.
[0004] 3. Limited battery life: During a meeting, the voting units of the wireless electronic voting system need to remain operational throughout. Even during long downtime periods, all modules are still running, resulting in high power consumption and insufficient battery life. Summary of the Invention
[0005] The purpose of this invention is to provide a data interaction system and its working method for wireless dual-mode electronic voting, so as to solve the above-mentioned problems existing in the prior art.
[0006] To achieve the above objectives, the present invention adopts the following technical solution: Firstly, a data interaction system for wireless dual-mode electronic voting is provided, including a communication master station and a voting device. The communication master station establishes a communication connection with an external main controller. Both the communication master station and the voting device are equipped with a 433MHz wireless communication module and a 900MHz wireless communication module. A 433MHz frequency band wireless transmission channel is established between the communication master station and the voting device through the 433MHz wireless communication module, and a 900MHz frequency band wireless transmission channel is established through the 900MHz wireless communication module. The voting device is also equipped with a main controller and a timer. The main controller of the voting device is connected to its 433MHz wireless communication module, 900MHz wireless communication module, and timer respectively.
[0007] In one possible design, the 433MHz wireless communication module adopts the E22-400T22S LoRa wireless communication module, the 900MHz wireless communication module adopts the E70-900MT14S wireless communication module, and the main controller adopts a microcontroller.
[0008] In a second aspect, a method for operating a data interaction system for wireless dual-mode electronic voting is provided, the method being applied to the system described in the first aspect, the method comprising: When the voting device is in operation, its main controller generates a first voting data packet and a second voting data packet in response to the user's voting operation; The main controller of the voting device transmits the first voting data packet to the communication master station through the 433MHz band wireless transmission channel, and transmits the second voting data packet to the communication master station through the 900MHz band wireless transmission channel. The main communication station receives the first voting data packet through the 433MHz band wireless transmission channel and the second voting data packet through the 900MHz band wireless transmission channel. The communication master station compares the first voting data packet and the second voting data packet byte by byte to determine whether the first voting data packet and the second voting data packet are consistent. It then extracts the first check code from the first voting data packet and the second check code from the second voting data packet, and verifies the first check code and the second check code respectively. When the communication master station determines that the first voting data packet and the second voting data packet are consistent, and that both the first check code and the second check code are verified to be correct, it uploads either the first voting data packet or the second voting data packet to the external master control computer.
[0009] In one possible design, the method further includes: When the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and the first check code is verified correctly while the second check code is verified incorrectly, the first voting data packet is uploaded to the external master control unit. When the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and the first check code is incorrect while the second check code is correct, it uploads the second voting data packet to the external master control unit.
[0010] In one possible design, the method further includes: When the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and both the first check code and the second check code are incorrect, it determines that the transmission is abnormal, discards the first and second voting data packets received in this round, and sends a data retransmission command to the main controller of the voting device through the 433MHz band wireless transmission channel and / or the 900MHz band wireless transmission channel, so that the main controller of the voting device retransmits the first and second voting data packets according to the data retransmission command.
[0011] In one possible design, the method further includes: The communication master station receives the empty query command issued by the external master control unit and sends the empty query command to the main controller of the voting unit through the 433MHz frequency band wireless transmission channel and / or the 900MHz frequency band wireless transmission channel; After receiving the empty query command, the main controller of the voting device enters sleep mode and simultaneously controls the corresponding 900MHz wireless communication module to enter sleep mode, while maintaining the corresponding 433MHz wireless communication module's monitoring of the communication master station's commands, thus enabling the voting device to enter a low-power sleep state. The communication master station receives valid task instructions from the external master control unit and sends the valid task instructions to the 433MHz wireless communication module of the voting unit; After receiving a valid task instruction, the voting unit's 433MHz wireless communication module transmits the valid task instruction to the main controller, which wakes up the main controller. The main controller, after being woken up by the task, wakes up the corresponding 900MHz wireless communication module according to the valid task instruction, so that the voting unit enters the working state.
[0012] In one possible design, the method further includes: When the main controller of the voting unit enters sleep mode, it synchronously controls the timer to start the countdown. After the timer countdown of the voting unit ends, a hardware wake-up signal is generated and transmitted to the main controller in sleep mode, which will wake up the main controller that has not been woken up by the task at a set time.
[0013] In one possible design, the method further includes: After being woken up by a timer, the main controller of the voting device checks whether there are any pending valid task instructions during its sleep mode. If there are no pending valid task instructions, it re-enters sleep mode and synchronously controls the timer to start the countdown. If there are pending valid task instructions, it wakes up the corresponding 900MHz wireless communication module according to the valid task instructions, so that the voting device enters the working state.
[0014] In one possible design, the method further includes: The communication master station receives the shutdown command issued by the external master control unit and sends the shutdown command to the 433MHz wireless communication module of the voting unit; After receiving the power-off command, the voting unit's 433MHz wireless communication module transmits the power-off command to the main controller. After being woken up by a task or a timer, the main controller of the voting unit executes a shutdown action according to the shutdown command, causing the voting unit to enter the shutdown state.
[0015] Beneficial Effects: This invention achieves "module-level" redundancy by performing byte-by-byte comparison and data verification on the data transmitted from the two wireless channels during the data return phase. This organically combines the stability of the 433MHz wireless communication module with the speed of the 900MHz wireless communication module. Furthermore, it achieves "data-level" dual verification, which can identify and correct single-channel transmission errors at the data content level, significantly improving the system's reliability and anti-interference capability. Through the asymmetric low-power monitoring design of "433MHz guard monitoring + 900MHz / main control sleep mode," the low-power, high-penetration 433MHz wireless communication module acts as a "sentinel" for continuous monitoring, while the high-speed, high-power 900MHz module and main control unit are in deep sleep mode, achieving system-level optimal power consumption and improving battery life. By adding a hardware timer forcibly waking up as a second layer of protection, a double-insurance fault-tolerant wake-up mechanism is implemented to prevent the voting unit from "dying" due to abnormal task wake-up and being unable to respond to subsequent instructions, ensuring functional integrity and high reliability in low-power mode. Attached Figure Description
[0016] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a schematic diagram of the structure of an existing wireless electronic voting system; Figure 2 This is a schematic diagram of the system structure in Embodiment 1 of the present invention; Figure 3 This is a flowchart illustrating the method in Embodiment 2 of the present invention; Figure 4 This is a flowchart illustrating the asymmetric low-power management process in Embodiment 2 of the present invention; Figure 5 This is a flowchart illustrating the dual-insurance fault-tolerant wake-up process in Embodiment 2 of the present invention. Detailed Implementation
[0018] It should be noted that the descriptions of these embodiments are intended to aid in understanding the invention and do not constitute a limitation thereof. The specific structural and functional details disclosed herein are merely for describing exemplary embodiments of the invention. However, the invention may be embodied in many alternative forms and should not be construed as being limited to the embodiments described herein.
[0019] It should be understood that, unless otherwise explicitly specified and limited, the corresponding terms should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be a connection within two components. Those skilled in the art can understand the specific meaning of the above terms in the embodiments according to the specific circumstances.
[0020] Specific details are provided in the following description to provide a complete understanding of the exemplary embodiments. However, those skilled in the art will understand that the exemplary embodiments can be implemented without these specific details. For example, apparatus may be shown in block diagrams to avoid obscuring the examples with unnecessary details. In other embodiments, well-known processes, structures, and techniques may be omitted with non-essential details to avoid obscuring the embodiments.
[0021] Example 1: This embodiment provides a data interaction system for wireless dual-mode electronic voting, such as... Figure 2 As shown, the system includes a communication master station and a voting device. The communication master station establishes a communication connection with an external main controller. Both the communication master station and the voting device are equipped with a 433MHz wireless communication module and a 900MHz wireless communication module. The communication master station and the voting device establish a 433MHz frequency band wireless transmission channel through the 433MHz wireless communication module and a 900MHz frequency band wireless transmission channel through the 900MHz wireless communication module. The voting device is also equipped with a main controller and a timer. The main controller of the voting device is connected to its 433MHz wireless communication module, 900MHz wireless communication module, and timer respectively.
[0022] The 433MHz wireless communication module adopts the E22-400T22S LoRa wireless communication module, the 900MHz wireless communication module adopts the E70-900MT14S wireless communication module, and the main controller adopts a microcontroller.
[0023] In practice, the voting device and the communication master station can exchange data via a 433MHz and a 900MHz wireless transmission channel. During the command issuance phase, the communication master station receives commands from the external main control unit (main control PC) and then broadcasts the commands to the voting device via a broadcast method (through wireless transmission via the 433MHz and 900MHz wireless communication modules). After receiving the complete command, the voting device's 433MHz or 900MHz wireless communication module transmits the command to the main controller, which then executes the corresponding command.
[0024] During the data return phase, the main controller of the voting device responds to the user's voting operation by generating two channels of voting data to be sent back to the communication master station. The communication master station verifies the two channels of voting data and then transmits the corresponding voting data to the external master control unit (master PC). In this phase, the voting device simultaneously transmits its voting data through both 433MHz and 900MHz channels. The communication master station performs byte-by-byte comparison of the received two channels of voting data and extracts checksums for verification. The process may include: 1. If the two channels of voting data are identical and both checksums pass verification, one channel of voting data is uploaded to the external master control unit; 2. If the two channels of voting data are inconsistent, and one channel's checksum passes verification, the channel with the passed checksum is uploaded to the external master control unit; 3. If the two channels of voting data are inconsistent, and both checksums fail verification, a transmission anomaly is determined, and retransmission is performed. This cross-verification mechanism provides dual verification at the data content level, rather than just "module-level" channel backup. It can effectively identify and correct data errors caused by interference in single-channel transmission, significantly improving system reliability.
[0025] During the meeting, there are numerous non-voting periods (such as the time when attendees listen to departmental work reports, during which no voting takes place). These periods are lengthy, and the voting device is idle. During this time, an external main controller can periodically issue idle query commands. The communication master station then transmits these commands to the voting device through the appropriate transmission channel. Upon receiving the commands, the voting device automatically enters a low-power state. In this low-power state, the voting device employs an asymmetric sleep strategy: the main controller (microcontroller) and the 900MHz wireless communication module enter sleep mode, while the 433MHz wireless communication module maintains continuous monitoring. The 433MHz wireless communication module is chosen as the "guard" due to its low power consumption, good penetration, and wide coverage, making it suitable for long-term standby monitoring. While the 900MHz wireless communication module has a higher transmission rate, its power consumption is relatively high, so it is put into sleep mode during idle periods to save energy. This asymmetric low-power sleep mechanism of "433MHz guard + 900MHz / main controller sleep" achieves system-level optimal power consumption and improves battery life.
[0026] When the voting device is in low-power sleep mode, if the 433MHz wireless communication module receives a valid task command (excluding empty query commands) from the communication master station, the task wakes up the main controller (microcontroller), which then wakes up the 900MHz wireless communication module to restore normal operation. Simultaneously, the voting device can be set with a timer to force an exit from low-power mode at fixed time intervals (e.g., 1 minute). After the timer's fixed time interval countdown ends, it wakes up the main controller (microcontroller), which then wakes up the 900MHz wireless communication module to restore normal operation. This dual-insurance fault-tolerant wake-up mechanism serves two purposes: first, it prevents the voting device from failing to wake up properly and becoming "dead" due to abnormal reception of the 433MHz wireless communication module (e.g., signal obstruction, module failure); second, it prevents the built-in timer from failing to automatically shut down due to the voting device remaining in low-power mode (e.g., the system sends a shutdown command after a meeting, but the voting device cannot respond because it is in sleep mode). This dual-insurance fault-tolerant mechanism ensures highly reliable exit from low-power mode, avoiding the design pitfall of "saving power but losing functionality."
[0027] Example 2: This embodiment provides a method for operating a data interaction system for wireless dual-mode electronic voting. This method is applied to the interaction system in Embodiment 1, such as... Figure 3 As shown, the method includes the following steps: S101. When the voting device is in operation, its main controller generates a first voting data packet and a second voting data packet in response to the user's voting operation; S102. The main controller of the voting device transmits the first voting data packet to the communication master station through the 433MHz frequency band wireless transmission channel, and transmits the second voting data packet to the communication master station through the 900MHz frequency band wireless transmission channel. S103. The communication master station receives the first voting data packet through the 433MHz band wireless transmission channel and the second voting data packet through the 900MHz band wireless transmission channel; S104. The communication master station compares the first voting data packet and the second voting data packet byte by byte to determine whether the first voting data packet and the second voting data packet are consistent, and extracts the first check code from the first voting data packet and the second check code from the second voting data packet, and verifies the first check code and the second check code respectively. S105. When the communication master station determines that the first voting data packet and the second voting data packet are consistent, and both the first checksum and the second checksum are verified correctly, it uploads either the first voting data packet or the second voting data packet to the external master control unit; when the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and the first checksum is verified correctly while the second checksum is verified incorrectly, it uploads the first voting data packet to the external master control unit; when the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and the first checksum is verified incorrectly while the second checksum is verified correctly, it uploads the second voting data packet to the external master control unit; when the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and both the first checksum and the second checksum are verified incorrectly, it determines that the transmission is abnormal, discards the first and second voting data packets received in this round, and sends a data retransmission command to the main controller of the voting device through the 433MHz band wireless transmission channel and / or the 900MHz band wireless transmission channel, so that the main controller of the voting device retransmits the first and second voting data packets according to the data retransmission command.
[0028] Furthermore, the method also includes an asymmetric low-power management process, such as... Figure 4 As shown, the process includes the following steps: S201. The communication master station receives the empty query command issued by the external master control unit and sends the empty query command to the main controller of the voting unit through the 433MHz frequency band wireless transmission channel and / or the 900MHz frequency band wireless transmission channel; S202. After receiving the empty query command, the main controller of the voting unit enters sleep mode and synchronously controls the corresponding 900MHz wireless communication module to enter sleep mode, while maintaining the corresponding 433MHz wireless communication module's monitoring of the communication master station's commands, thus enabling the voting unit to enter a low-power sleep state. S203. The communication master station receives valid task instructions issued by the external master control unit and sends the valid task instructions to the 433MHz wireless communication module of the voting unit; S204. After receiving a valid task instruction, the 433MHz wireless communication module of the voting unit transmits the valid task instruction to the main controller, which wakes up the main controller. After being woken up by the task, the main controller wakes up the corresponding 900MHz wireless communication module according to the valid task instruction, so that the voting unit enters the working state.
[0029] Furthermore, the method also includes a dual-insurance fault-tolerant wake-up process, such as... Figure 5 As shown, the process includes the following steps: S301. When the main controller of the voting unit enters sleep mode, it synchronously controls the timer to start the countdown; After the timer countdown of the S302 voter ends, a hardware wake-up signal is generated and transmitted to the main controller in sleep mode to wake up the main controller that has not been woken up by the task at a timed interval.
[0030] S303. After being woken up by the timer, the main controller of the voting device checks whether there are any valid task instructions to be processed during its sleep mode. If there are no valid task instructions to be processed, it re-enters the sleep mode and synchronously controls the timer to start the countdown. If there are valid task instructions to be processed, it wakes up the corresponding 900MHz wireless communication module according to the valid task instructions, so that the voting device enters the working state.
[0031] Furthermore, the method also includes: The communication master station receives the shutdown command issued by the external master control unit and sends the shutdown command to the 433MHz wireless communication module of the voting unit; After receiving the power-off command, the voting unit's 433MHz wireless communication module transmits the power-off command to the main controller. After being woken up by a task or a timer, the main controller of the voting unit executes a shutdown action according to the shutdown command, causing the voting unit to enter the shutdown state.
[0032] The method in this embodiment can achieve dual verification at the "data level", which can identify and correct single-channel transmission errors at the data content level, significantly improving the system's reliability and anti-interference capability. Through the asymmetric low-power monitoring design, system-level power consumption can be optimized, improving battery life. By implementing a dual-insurance fault-tolerant wake-up mechanism, it can prevent the voter from "going to sleep" and failing to respond to subsequent instructions due to abnormal task wake-up, ensuring functional integrity and high reliability in low-power mode.
[0033] Finally, it should be noted that the above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of protection of the present invention. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the present invention should be included within the scope of protection of the present invention.
Claims
1. A data interaction system for wireless dual-mode electronic voting, characterized in that, The system includes a communication master station and a voting device. The communication master station establishes a communication connection with an external main control unit. Both the communication master station and the voting device are equipped with a 433MHz wireless communication module and a 900MHz wireless communication module. The communication master station and the voting device establish a 433MHz frequency band wireless transmission channel through the 433MHz wireless communication module and a 900MHz frequency band wireless transmission channel through the 900MHz wireless communication module. The voting device is also equipped with a main controller and a timer. The main controller of the voting device is connected to its 433MHz wireless communication module, 900MHz wireless communication module, and timer respectively.
2. The data interaction system for wireless dual-mode electronic voting according to claim 1, characterized in that, The 433MHz wireless communication module adopts the E22-400T22S LoRa wireless communication module, the 900MHz wireless communication module adopts the E70-900MT14S wireless communication module, and the main controller adopts a microcontroller.
3. A method for operating a data interaction system for wireless dual-mode electronic voting, applied to the data interaction system for wireless dual-mode electronic voting as described in claim 1 or 2, characterized in that, include: When the voting device is in operation, its main controller generates a first voting data packet and a second voting data packet in response to the user's voting operation; The main controller of the voting device transmits the first voting data packet to the communication master station through the 433MHz band wireless transmission channel, and transmits the second voting data packet to the communication master station through the 900MHz band wireless transmission channel. The main communication station receives the first voting data packet through the 433MHz band wireless transmission channel and the second voting data packet through the 900MHz band wireless transmission channel. The communication master station compares the first voting data packet and the second voting data packet byte by byte to determine whether the first voting data packet and the second voting data packet are consistent. It then extracts the first check code from the first voting data packet and the second check code from the second voting data packet, and verifies the first check code and the second check code respectively. When the communication master station determines that the first voting data packet and the second voting data packet are consistent, and that both the first check code and the second check code are verified to be correct, it uploads either the first voting data packet or the second voting data packet to the external master control computer.
4. The method according to claim 3, characterized in that, The method further includes: When the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and the first check code is verified correctly while the second check code is verified incorrectly, the first voting data packet is uploaded to the external master control unit. When the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and the first check code is incorrect while the second check code is correct, it uploads the second voting data packet to the external master control unit.
5. The method according to claim 3, characterized in that, The method further includes: When the communication master station determines that the first voting data packet and the second voting data packet are inconsistent, and both the first check code and the second check code are incorrect, it determines that the transmission is abnormal, discards the first and second voting data packets received in this round, and sends a data retransmission command to the main controller of the voting device through the 433MHz band wireless transmission channel and / or the 900MHz band wireless transmission channel, so that the main controller of the voting device retransmits the first and second voting data packets according to the data retransmission command.
6. The method according to claim 3, characterized in that, The method further includes: The communication master station receives the empty query command issued by the external master control unit and sends the empty query command to the main controller of the voting unit through the 433MHz frequency band wireless transmission channel and / or the 900MHz frequency band wireless transmission channel; After receiving the empty query command, the main controller of the voting device enters sleep mode and simultaneously controls the corresponding 900MHz wireless communication module to enter sleep mode, while maintaining the corresponding 433MHz wireless communication module's monitoring of the communication master station's commands, thus enabling the voting device to enter a low-power sleep state. The communication master station receives valid task instructions from the external master control unit and sends the valid task instructions to the 433MHz wireless communication module of the voting unit; After receiving a valid task instruction, the voting unit's 433MHz wireless communication module transmits the valid task instruction to the main controller, which wakes up the main controller. The main controller, after being woken up by the task, wakes up the corresponding 900MHz wireless communication module according to the valid task instruction, so that the voting unit enters the working state.
7. The method according to claim 6, characterized in that, The method further includes: When the main controller of the voting unit enters sleep mode, it synchronously controls the timer to start the countdown. After the timer countdown of the voting unit ends, a hardware wake-up signal is generated and transmitted to the main controller in sleep mode, which will wake up the main controller that has not been woken up by the task at a set time.
8. The method according to claim 7, characterized in that, The method further includes: After being woken up by a timer, the main controller of the voting device checks whether there are any pending valid task instructions during its sleep mode. If there are no pending valid task instructions, it re-enters sleep mode and synchronously controls the timer to start the countdown. If there are pending valid task instructions, it wakes up the corresponding 900MHz wireless communication module according to the valid task instructions, so that the voting device enters the working state.
9. The method according to claim 8, characterized in that, The method further includes: The communication master station receives the shutdown command issued by the external master control unit and sends the shutdown command to the 433MHz wireless communication module of the voting unit; After receiving the power-off command, the voting unit's 433MHz wireless communication module transmits the power-off command to the main controller. After being woken up by a task or a timer, the main controller of the voting unit executes a shutdown action according to the shutdown command, causing the voting unit to enter the shutdown state.
