A conference voting device and its working method
By introducing an electrically isolated serial communication circuit into the voting unit, the problem of inconsistent lighting control status between core processing units is solved, enabling zero-perception emergency response in case of failure, ensuring consistent lighting control effects, and making it suitable for various emergency scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-07
- Publication Date
- 2026-03-06
AI Technical Summary
In existing electronic voting systems, the two core components of the voting device cannot detect each other's lighting control status in a timely manner, resulting in inconsistent lighting control effects during malfunctions and affecting user experience.
The design employs an electrically isolated serial communication circuit, enabling the two core processing units within the voting unit to exchange lighting control status data. Data exchange between the cores is achieved through an electrically isolated unidirectional communication sub-circuit, ensuring consistent lighting control performance.
It achieves zero-aware emergency handling of the voting device in case of failure, ensures uniform lighting control effect, is applicable to a variety of emergency scenarios, requires no human intervention, and has universal applicability and automatic switching capability.
Smart Images

Figure CN116524640B_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the technical field of meeting venue auxiliary equipment, specifically relating to a meeting voting device and its working method. Background Technology
[0002] Electronic voting systems are frequently used in conference services. Due to the political nature of these conferences, the reliability and stability of the system are extremely important. During each conference, numerous domestic and international journalists with their cameras and microphones broadcast the proceedings live. If the electronic voting system malfunctions during the voting process, there is no room for maneuver, and the consequences could be disastrous. Therefore, electronic voting systems must be absolutely foolproof.
[0003] As is generally accepted in the industry, electronic products cannot be absolutely reliable, and designing backups for electronic voting systems is a standard and effective way to reduce risks. Backup systems are divided into cold backup systems and real-time hot backup systems. Cold backup systems require human intervention and have the disadvantage of time delays. However, during meetings, every second counts, and every second wasted when activating contingency plans can have a significant negative impact. Therefore, cold backup systems are not suitable for use cases requiring high real-time performance and fast-paced meetings.
[0004] Real-time hot backup systems require no human intervention and have at least two systems working in parallel, enabling automatic system switching in the event of a failure. This provides convenience, speed, and zero-perception for users, making it an important technical means for use scenarios involving high-efficiency voting and fast-paced meetings.
[0005] Voting devices typically include three buttons: "For," "Against," and "Abstain," each with an indicator light above it. When all three indicator lights are constantly on, the system is functioning normally. When the three indicator lights cycle through on-off-on, it indicates that you can press a button to express your opinion; after pressing a button, the indicator light becomes solid, indicating that the button press is complete. Alternatively, when the three indicator lights cycle through green on-off-green on, it indicates that you can start pressing buttons to express your opinion; when the three indicator lights cycle through red on-off-red on, it indicates that you are urging others to press a button; after pressing a button, the indicator light becomes solid green, indicating that the button press is complete.
[0006] In existing electronic voting systems employing a dual-core, dual-channel architecture, if the voter encounters a failure in one core and fails to process the data from both cores, an abnormal flashing indicator light will appear. For example, if the indicator light on core A remains constantly on while the indicator light on core B flashes, the overall effect will be: on -> dim -> on, an abnormal state of alternating brightness and darkness, rather than the normal on -> off -> on cycle. Users will then perceive this as a system malfunction. Another example is if the indicator light on core A is flashing green while the indicator light on core B begins flashing red, resulting in an abnormal flashing yellow light due to the color overlap, which also fails to accurately alert the user.
[0007] Therefore, how to enable the two cores of the voting device to perceive each other's lighting control status in a timely manner so that they can present a unified lighting control effect and achieve the goal of zero-perception emergency response is a topic that urgently needs to be studied by those skilled in the art. Summary of the Invention
[0008] The purpose of this invention is to provide a conference voting device and its working method to solve the problem that the two cores of the voting device in the existing electronic voting system cannot perceive the lighting control status of each other, and thus may exhibit inconsistent lighting control effects when one core malfunctions.
[0009] To achieve the above objectives, the present invention adopts the following technical solution:
[0010] In a first aspect, a conference voting device is provided, including a button operation panel and at least two core processing units that work independently. The button operation panel is provided with multiple sets of status indicator lights, and each set of status indicator lights includes at least two indicator lights that correspond one-to-one with the at least two core processing units.
[0011] For each of the at least two core processing units, the corresponding output terminal is connected to the controlled terminal of all corresponding indicator lights;
[0012] For each pair of core processing units in the at least two core processing units, a corresponding electrically isolated serial communication circuit is built between the corresponding units.
[0013] The electrically isolated serial communication circuit includes two electrically isolated unidirectional communication sub-circuits. The signal input terminal of the first electrically isolated unidirectional communication sub-circuit is connected to the signal transmitting terminal of the first core processing unit in the corresponding core processing unit pair. The signal output terminal of the first electrically isolated unidirectional communication sub-circuit is connected to the signal receiving terminal of the second core processing unit in the corresponding core processing unit pair. The signal input terminal of the second electrically isolated unidirectional communication sub-circuit is connected to the signal transmitting terminal of the second core processing unit. The signal output terminal of the second electrically isolated unidirectional communication sub-circuit is connected to the signal receiving terminal of the first core processing unit.
[0014] Based on the above-mentioned invention, a novel conference voting device with internal core-to-core electrically isolated communication function is provided. This device includes a button operation panel and at least two independently operating core processing units. The button operation panel has multiple sets of status indicator lights, each set containing at least two indicator lights corresponding to each of the at least two core processing units. For each core processing unit, its corresponding output terminal is connected to the controlled terminal of all corresponding indicator lights. For each pair of core processing units, an electrically isolated serial communication circuit is established between them. Through the design of this electrically isolated serial communication circuit, any pair of cores within the voting device can exchange lighting control status data, thereby enabling them to present a unified lighting control effect, achieving zero-perception emergency response, and facilitating practical application and promotion.
[0015] In one possible design, the electrically isolated unidirectional communication sub-circuit includes a first resistor, a transistor, a second resistor, an optocoupler, and a third resistor;
[0016] One end of the first resistor serves as the signal input terminal of the electrically isolated unidirectional communication sub-circuit. The other end of the first resistor is connected to the base of the transistor. The collector of the transistor is connected to one end of the second resistor. The other end of the second resistor is connected to the cathode of the light-emitting diode of the optocoupler. The anode of the light-emitting diode of the optocoupler is connected to the signal transmission side voltage terminal. The emitter of the transistor is connected to the signal transmission side ground point. The signal transmission side voltage terminal refers to the operating voltage terminal of the core processing unit located on the signal transmission side. The signal transmission side ground point refers to the ground point of the core processing unit located on the signal transmission side.
[0017] The collector of the phototransistor of the optocoupler is connected to the voltage terminal of the signal receiving side, and the emitter of the phototransistor of the optocoupler is connected to one end of the third resistor and serves as the signal output terminal of the electrically isolated unidirectional communication sub-circuit. The other end of the third resistor is connected to the ground point of the signal receiving side. The voltage terminal of the signal receiving side refers to the working voltage terminal of the core processing unit located on the signal receiving side, and the ground point of the signal receiving side refers to the ground point of the core processing unit located on the signal receiving side.
[0018] In one possible design, the electrically isolated unidirectional communication sub-circuit further includes a first capacitor and a second capacitor, wherein one end of the first capacitor is connected to the anode of the light-emitting diode of the optocoupler, and the other end of the first capacitor is connected to the ground point on the signal transmitting side; one end of the second capacitor is connected to the collector of the phototransistor of the optocoupler, and the other end of the second capacitor is connected to the ground point on the signal receiving side.
[0019] In one possible design, the indicator light includes a green light that flashes to indicate the start of a button press and remains constantly lit to indicate the completion of a button press, and a red light that flashes to indicate an urging of a button press.
[0020] Secondly, a method for operating the conference voting device as described in the first aspect or any possible design within the first aspect is provided, comprising the following steps S1 to S4, executed independently by each core processing unit in each pair of core processing units:
[0021] S1. When the local timer reaches the first duration, a data interaction is performed with another core processing unit in the same core processing unit pair via an electrically isolated serial communication circuit, and then step S2 is executed. The data interaction includes sending local indicator light status information to the other core processing unit and receiving relative indicator light status information from the other core processing unit. The local indicator light status information includes the current status of the indicator light corresponding to the local indicator light in each group of status indicator lights, and the relative indicator light status information includes the current status of the indicator light corresponding to the other core processing unit in each group of status indicator lights.
[0022] S2. When the local timer reaches the second duration, the current status of each group of status indicator lights is compared according to the local indicator light status information and the opposite side indicator light status information. If it is found that the current status of the indicator light in a certain group of status indicator lights corresponding to the other core processing unit is flashing, and the current status of the indicator light in a certain group of status indicator lights corresponding to the local one is constantly on, then the local indication is determined to be incorrect, and the indicator light in a certain group of status indicator lights corresponding to the local one is turned off. Otherwise, the indicator light in a certain group of status indicator lights corresponding to the local one is not operated. Then, the data interaction with the other core processing unit is performed again through the electrically isolated serial communication circuit. Finally, step S3 is executed, wherein the second duration is longer than the first duration.
[0023] S3. When the local timer reaches the third duration, based on the new local indicator status information obtained from the second interaction, if it is found that the current state of the indicator corresponding to the local indicator in a certain group of status indicator lights is flashing, then the indicator corresponding to the local indicator in a certain group of status indicator lights is turned off; otherwise, the indicator corresponding to the local indicator in a certain group of status indicator lights is not operated, and then step S4 is executed, wherein the third duration is longer than the second duration.
[0024] S4. Clear the local timer and then return to step S1.
[0025] In one possible design, a data exchange is performed with another core processing unit in the same core processing unit pair via an electrically isolated serial communication circuit, including:
[0026] Determine if the local machine is the preset data interaction initiator;
[0027] If so, the local system time information and local indicator light status information are sent to another core processing unit in the same core processing unit pair via an electrically isolated serial communication circuit. Then, the relative indicator light status information is received from the other core processing unit. The local indicator light status information includes the current status of the indicator light in each group of status indicator lights that corresponds to the local indicator light. The relative indicator light status information includes the current status of the indicator light in each group of status indicator lights that corresponds to the other core processing unit.
[0028] If not, the system time information and the indicator light status information of the opposite side are received from the other core processing unit through the electrically isolated serial communication circuit. Then, the local indicator light status information is sent to the other core processing unit, and the local timer is controlled to synchronize with the opposite timer located in the other core processing unit according to the system time information of the opposite side.
[0029] In one possible design, if it is found that the current state of an indicator light in a certain group of status indicator lights corresponding to the other core processing unit is flashing, and the current state of an indicator light in the same group of status indicator lights corresponding to the local unit is constantly on, then a local indication error is determined, and the indicator light in the same group of status indicator lights corresponding to the local unit is turned off; otherwise, the indicator light in the same group of status indicator lights corresponding to the local unit is not operated, including:
[0030] If it is found that the current state of the indicator light in a certain group of status indicator lights that corresponds to the other core processing unit is flashing, and the current state of the indicator light in a certain group of status indicator lights that corresponds to the local unit is constantly lit, then a local indication error is determined, and the local indication error count of the indicator light in a certain group of status indicator lights that corresponds to the local unit is incremented by 1; otherwise, the local indication error count is cleared to zero, and the indicator light in a certain group of status indicator lights that corresponds to the local unit is not operated.
[0031] When the number of local indication errors reaches a preset threshold, the indicator light corresponding to the local indicator light in a certain group of status indicator lights is turned off.
[0032] When the number of local error indications does not reach the preset threshold, the indicator light corresponding to the local indicator light in the group of status indicator lights will not be operated.
[0033] In one possible design, when the local timer reaches the second duration, the current states of each group of status indicator lights are compared based on the local indicator light status information and the opposite side indicator light status information, including:
[0034] When the local timer reaches the second duration, a heartbeat detection is performed on the other core processing unit through the electrically isolated serial communication circuit, wherein the second duration is longer than the first duration;
[0035] If no heartbeat signal is received from the other core processing unit within the timeout period, all the local indication error counts are cleared to zero, and then the data interaction with the other core processing unit is performed again through the electrically isolated serial communication circuit. Finally, step S3 is executed.
[0036] If a heartbeat signal is received from the other core processing unit before the timeout, the current status of each group of status indicator lights is compared according to the local indicator light status information and the opposite side indicator light status information.
[0037] In one possible design, when the indicator light includes a green LED for indicating the start of a button operation by flashing and the completion of a button operation by remaining constantly lit, and a red LED for indicating an urging button operation by flashing, if the current state of the indicator light corresponding to the local location in a certain group of status indicator lights is found to be flashing, then the indicator light corresponding to the local location in that group of status indicator lights is turned off, including:
[0038] If the red LED in a certain group of status indicator lights and corresponding to the local LED is found to be flashing, then the red LED in that group of status indicator lights and corresponding to the local LED is turned on, and the green LED in that group of status indicator lights and corresponding to the local LED is turned off; otherwise, the green LED in that group of status indicator lights and corresponding to the local LED is turned on, and the red LED in that group of status indicator lights and corresponding to the local LED is turned off.
[0039] In one possible design, the first duration is 50 milliseconds, the second duration is 300 milliseconds, and the third duration is 500 milliseconds;
[0040] Alternatively, the first duration is 550 milliseconds, the second duration is 800 milliseconds, and the third duration is 1000 milliseconds.
[0041] The beneficial effects of the above scheme are:
[0042] (1) This invention creatively provides a novel conference voting device with internal core electrical isolation communication function, which includes a button operation panel and at least two core processing units that work independently. The button operation panel is arranged with multiple sets of status indicator lights, and each set of status indicator lights includes at least two indicator lights that correspond one-to-one with the at least two core processing units. For each core processing unit, the corresponding output terminal is connected to the controlled terminal of all the corresponding indicator lights. For each pair of core processing units, an electrical isolation serial port communication circuit is built between the corresponding units. Through the design of the electrical isolation serial port communication circuit, any pair of cores inside the voting device can interact with each other's lighting control status data, thereby enabling them to present a unified lighting control effect and achieve the purpose of zero-perception emergency response.
[0043] (2) The working method provided has achieved zero-perception emergency response for more than 300 emergency scenarios, which is universally applicable and requires no human intervention. It can also automatically switch when a fault occurs, further achieving the goal of zero-perception emergency response.
[0044] (3) It can also be expanded into a technology that controls multiple sets of indicator lights by multiple redundant backup systems within the system, which is convenient for practical application and promotion. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application 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 this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 A schematic diagram of the structure of a conference voting device provided in an embodiment of this application.
[0047] Figure 2 A circuit diagram of an electrically isolated serial communication circuit in a conference voting device provided for embodiments of this application.
[0048] Figure 3 A schematic diagram illustrating the working method of the conference voting device provided in this application embodiment. Detailed Implementation
[0049] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the embodiments of this application will be briefly described below in conjunction with the accompanying drawings and descriptions of the embodiments or the prior art. Obviously, the following description of the structure of the accompanying drawings is only some embodiments of this application. For those skilled in the art, other embodiments can be obtained based on these descriptions without creative effort. It should be noted that the description of these embodiments is for the purpose of helping to understand the present invention, but does not constitute a limitation of the present invention.
[0050] It should be understood that although the terms "first" and "second", etc., may be used herein to describe various objects, these objects should not be limited by these terms. These terms are only used to distinguish one object from another. For example, the first object may be referred to as the second object, and similarly, the second object may be referred to as the first object, without departing from the scope of the exemplary embodiments of this application.
[0051] It should be understood that the term "and / or" that may appear in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, B exists alone, or A and B exist simultaneously. Another example is A, B and / or C, which can mean that any one of A, B, and C or any combination thereof exists. The term " / and" that may appear in this document describes another relationship between related objects, indicating that two relationships can exist. For example, A / and B can mean: A exists alone or A and B exist simultaneously. In addition, the character " / " that may appear in this document generally indicates that the related objects before and after it are in an "or" relationship.
[0052] Example 1
[0053] like Figures 1-2 As shown, the conference voting device provided in this embodiment includes, but is not limited to, a button operation panel and at least two core processing units that operate independently. The button operation panel has multiple sets of status indicator lights, each set containing at least two indicator lights corresponding to each of the at least two core processing units. For each of the at least two core processing units, the corresponding output terminal is connected to the controlled terminal of all corresponding indicator lights. For each pair of core processing units, an electrically isolated serial communication circuit is established between the corresponding units. The electrically isolated serial communication circuit includes two electrically isolated units... The communication sub-circuit is configured such that the signal input terminal of the first electrically isolated unidirectional communication sub-circuit is connected to the signal transmitting terminal MTX of the first core processing unit in the corresponding core processing unit pair, the signal output terminal of the first electrically isolated unidirectional communication sub-circuit is connected to the signal receiving terminal SRX of the second core processing unit in the corresponding core processing unit pair, the signal input terminal of the second electrically isolated unidirectional communication sub-circuit is connected to the signal transmitting terminal STX of the second core processing unit, and the signal output terminal of the second electrically isolated unidirectional communication sub-circuit is connected to the signal receiving terminal MRX of the first core processing unit.
[0054] like Figure 1As shown, in the specific structure of the conference voting device, the button operation panel is a standard configuration for voting devices. Besides the multiple sets of status indicator lights, it also includes multiple buttons corresponding one-to-one with the status indicator lights. The output of each button is connected to the input of each core processing unit, allowing each core processing unit to promptly and independently perceive the user's button operation results. Specifically, the multiple operation buttons include, but are not limited to, a first button for expressing approval, a second button for expressing disapproval, and a third button for expressing abstention. The at least two core processing units are the at least two cores of the voting device, each corresponding to at least two independent channels. Their hardware structure can be implemented using existing structures; for example, the core processing unit uses an STM32F103 series microprocessor chip and its peripheral circuits. The details of its specific tasks, such as user voting intention recognition, voting result uploading, and light control command issuance, can be derived conventionally by referring to the dual-core operation mode of existing dual-core dual-channel voting devices.
[0055] The multiple sets of status indicator lights are used to display different indications through different lighting effects under the control of the at least two core processing units. For example, when three sets of status indicator lights are constantly on, it indicates that the system is normal; when the three sets of status indicator lights flash in a cycle of on -> off -> on, it indicates that a button can be pressed to express an intention, and after a button is pressed, the indicator lights turn solid green to indicate that the button press is complete. To also achieve the following indication purposes: when the three sets of status indicator lights flash in a cycle of green light on -> all off -> green light on, it indicates that a button press can begin to express an intention; when the three sets of status indicator lights flash in a cycle of red light on -> all off -> red light on, it indicates urging a button press; after a button is pressed, the indicator lights turn solid green to indicate that the button press is complete. Preferably, the indicator lights include, but are not limited to, green LEDs that indicate the start of a button press operation by flashing and the completion of a button press operation by remaining solid green, and red LEDs that indicate urging a button press operation by flashing. For example, such as... Figure 1As shown, the conference voting device includes two core processing units: core processing unit A and core processing unit B. The multiple sets of status indicator lights include three sets of status indicator lights (they correspond to the first button for expressing approval, the second button for expressing disapproval, and the third button for expressing abstention). Each set of status indicator lights includes two indicator lights, and each indicator light includes a green LED and a red LED, thus: green LED A1 and red LED A1 corresponding to core processing unit A and belonging to the first set of status indicator lights; green LED A2 and red LED A2 corresponding to core processing unit A and belonging to the second set of status indicator lights; green LED A3 and red LED A3 corresponding to core processing unit A and belonging to the third set of status indicator lights; green LED B1 and red LED B1 corresponding to core processing unit B and belonging to the first set of status indicator lights; green LED B2 and red LED B2 corresponding to core processing unit B and belonging to the second set of status indicator lights; and green LED B3 and red LED B3 corresponding to core processing unit B and belonging to the third set of status indicator lights.
[0056] In the electrically isolated serial communication circuit, the configuration of the first electrically isolated unidirectional communication sub-circuit enables the first core processing unit to send data signals to the second core processing unit in an electrically isolated manner. Conversely, the configuration of the second electrically isolated unidirectional communication sub-circuit enables the second core processing unit to send data signals to the first core processing unit in an electrically isolated manner. Thus, in the event of a fault in either the first or second core processing unit, the two core units can exchange lighting control status data through the electrically isolated serial communication circuit. This allows them to present a unified lighting control effect based on existing conventional lighting control coordination methods, achieving zero-perception emergency response and facilitating practical application and promotion. For example, such as... Figure 1 As shown, since there is only one pair of core processing units: core processing unit A and core processing unit B, there is also only one electrically isolated serial communication circuit. Furthermore, if the conference voting device contains three core processing units, there will be three pairs of core processing units, and three electrically isolated serial communication circuits corresponding one-to-one with the three pairs of core processing units.
[0057] To achieve zero-perception emergency response for hundreds of emergency scenarios, such as Figure 3 As shown, preferably, the working method of the conference voting device includes, but is not limited to, the following steps S1 to S4, which are executed independently by each core processing unit in each pair of core processing units.
[0058] S1. When the local timer reaches the first duration, a data interaction is performed with another core processing unit in the same core processing unit pair via an electrically isolated serial communication circuit. Then, step S2 is executed. The data interaction includes, but is not limited to, sending local indicator light status information to the other core processing unit and receiving relative indicator light status information from the other core processing unit. The local indicator light status information includes, but is not limited to, the current status of the indicator light corresponding to the local one in each group of status indicator lights. The relative indicator light status information includes the current status of the indicator light corresponding to the other core processing unit in each group of status indicator lights.
[0059] In step S1, the local timer can be automatically reset and restarted after local power-on. If designed to return to execute step S1 once every 1 second, the first duration can be, for example, 50 milliseconds or 550 milliseconds. To achieve clock synchronization between the local unit and the other core processing unit, preferably, a data interaction is performed with the other core processing unit in the core processing unit pair via an electrically isolated serial communication circuit. This includes, but is not limited to: determining whether the local unit is a preset data interaction initiator; if so, sending local system time information and local indicator light status information to the other core processing unit in the core processing unit pair via the electrically isolated serial communication circuit, and then receiving relative indicator light status information from the other core processing unit. The local indicator light status information includes the current status of the indicator light corresponding to the local unit in each group of status indicator lights, and the relative indicator light status information includes the current status of the indicator light corresponding to the other core processing unit in each group of status indicator lights; if not, receiving the relative system time information and the relative indicator light status information from the other core processing unit via the electrically isolated serial communication circuit, then sending the local indicator light status information to the other core processing unit, and controlling the local timer to synchronize with the relative timer located in the other core processing unit based on the relative system time information. The specific content of the local system time information may be, but is not limited to, the current countdown value of the local timer; the specific content of the relative system time information may be, but is not limited to, the current countdown value of the relative timer. Considering that the current state of the indicator lights may be, but is not limited to, flashing or constant (further subdivisions can be made for the red and green LEDs), and the three sets of status indicator lights may be synchronized, in order to reduce the amount of interactive data and achieve the purpose of quickly completing data interaction, in detail, the local system time information and the local indicator light status information or the relative system time information and the relative indicator light status information can be combined into one according to the correspondence shown in Table 1 below:
[0060] Table 1. Correspondence between transmitted data content and the current time value and indicator light status on the sending side
[0061]
[0062] Thus, when the local system receives 0xA1 or 0xA0, the current countdown of the local timer can be directly set to 50 milliseconds (ignoring the time required for data interaction). Conversely, when it receives 0xB1 or 0xB0, the current countdown of the local timer can be directly set to 550 milliseconds. This allows the two timers to synchronize, achieving a completely identical flashing effect between the two cores, further avoiding the problem of asynchronous flashing of the indicator lights due to errors caused by device properties or temperature changes. Furthermore, after receiving the local system time information, the other core processing unit will also control the timer on the opposite side to synchronize with the local timer based on the local system time information.
[0063] S2. When the local timer reaches the second duration, the current status of each group of status indicator lights is compared according to the local indicator light status information and the opposite side indicator light status information. If it is found that the current status of the indicator light in a certain group of status indicator lights corresponding to the other core processing unit is flashing, and the current status of the indicator light in a certain group of status indicator lights corresponding to the local one is constantly on, then the local indication is determined to be incorrect, and the indicator light in the certain group of status indicator lights corresponding to the local one is turned off. Otherwise, the indicator light in the certain group of status indicator lights corresponding to the local one is not operated. Then, the data interaction with the other core processing unit is performed again through the electrically isolated serial communication circuit. Finally, step S3 is executed, wherein the second duration is longer than the first duration.
[0064] In step S2, when the first duration is, for example, 50 milliseconds, the second duration can be, for example, 300 milliseconds; when the first duration is, for example, 550 milliseconds, the second duration can be, for example, 800 milliseconds. To avoid misjudgments and misoperations due to accidental state differences, more preferably, if the current state of an indicator light in a certain group of status indicator lights corresponding to the other core processing unit is found to be flashing, and the current state of an indicator light in the same group of status indicator lights corresponding to the local unit is found to be constantly lit, then the local indication is determined to be incorrect, and the indicator light in the same group of status indicator lights corresponding to the local unit is turned off; otherwise, the indicator light in the same group of status indicator lights corresponding to the local unit is not operated, including but not limited to: if the current state of an indicator light in a certain group of status indicator lights corresponding to the other core processing unit is found to be flashing, and... If any indicator light in the group of status indicator lights corresponding to the local indicator is constantly on, a local indication error is determined, and the count of local indication errors for that indicator light is incremented by 1. Otherwise, the count of local indication errors is reset to zero, and the corresponding indicator light in the group of status indicator lights is not operated. When the count of local indication errors reaches a preset threshold, the corresponding indicator light in the group of status indicator lights is turned off. When the count of local indication errors does not reach the preset threshold, the corresponding indicator light in the group of status indicator lights is also not operated. The preset threshold can be 3 times, for example.
[0065] In step S2, since there is a certain time (e.g., 250 milliseconds) between the second duration and the first duration, and during this time, the other core processing unit may go offline due to some abnormal situation, it is necessary to perform a heartbeat detection on the other core processing unit before comparison. Specifically, when the local timer counts to the second duration, the current status of each group of status indicator lights is compared according to the local indicator light status information and the relative side indicator light status information. This includes, but is not limited to: when the local timer counts to the second duration, performing a heartbeat detection on the other core processing unit through the electrically isolated serial communication circuit, wherein the second duration is longer than the first duration; if no heartbeat signal is received from the other core processing unit after the timeout, all the local indicator error counts are cleared, and then the data interaction with the other core processing unit is performed again through the electrically isolated serial communication circuit, and finally step S3 is executed; if a heartbeat signal is received from the other core processing unit before the timeout, the current status of each group of status indicator lights is compared according to the local indicator light status information and the relative side indicator light status information. Therefore, if a heartbeat signal is not received from the other core processing unit within a timeout period, the local unit can autonomously control the indicator light regardless of what happens to the other party. Furthermore, the aforementioned heartbeat detection method can employ a conventional timed response mechanism, with a timeout threshold of, for example, 1 millisecond.
[0066] S3. When the local timer reaches the third duration, based on the new local indicator status information obtained from the second interaction, if it is found that the current state of the indicator corresponding to the local indicator in a certain group of status indicator lights is flashing, then the indicator corresponding to the local indicator in a certain group of status indicator lights is turned off; otherwise, the indicator corresponding to the local indicator in a certain group of status indicator lights is not operated, and then step S4 is executed, wherein the third duration is longer than the second duration.
[0067] In step S3, when the second duration is, for example, 300 milliseconds, the third duration can be, for example, 500 milliseconds; when the second duration is, for example, 800 milliseconds, the third duration can be, for example, 1000 milliseconds. Specifically, when the indicator light includes a green LED for indicating the start of a button operation by flashing and indicating the completion of a button operation by remaining constantly lit, and a red LED for indicating an urging button operation by flashing, if the current state of the indicator light corresponding to the local location in a certain group of status indicator lights is found to be flashing, then the indicator light corresponding to the local location in that group of status indicator lights is turned off. This includes, but is not limited to: if the current state of the red LED corresponding to the local location in a certain group of status indicator lights is found to be flashing, then the red LED corresponding to the local location in that group of status indicator lights is turned on, and the green LED corresponding to the local location in that group of status indicator lights is turned off; otherwise, the green LED corresponding to the local location in a certain group of status indicator lights is turned on, and the red LED corresponding to the local location in that group of status indicator lights is turned off.
[0068] S4. Clear the local timer and then return to step S1.
[0069] In step S4, if the third duration is 500 milliseconds, the first duration can be updated to 550 milliseconds, the second duration to 800 milliseconds, and the third duration to 1000 milliseconds. Then, the aforementioned steps S1 to S3 are executed again. Then, the local timer is reset to zero, the first duration is restored to 50 milliseconds, the second duration is restored to 300 milliseconds, and the third duration is restored to 500 milliseconds. Finally, the execution returns to step S1.
[0070] Based on the cyclic processing logic of steps S1 to S4 mentioned above, zero-perception emergency response has been achieved for more than 300 emergency scenarios. It has universal applicability and requires no human intervention. It can also automatically switch when a fault occurs, further achieving the goal of zero-perception emergency response.
[0071] Preferably, the electrically isolated unidirectional communication sub-circuit includes a first resistor R13, a transistor Q3, a second resistor R9, an optocoupler U4, and a third resistor R12. One end of the first resistor R13 serves as the signal input terminal of the electrically isolated unidirectional communication sub-circuit. The other end of the first resistor R13 is connected to the base of the transistor Q3. The collector of the transistor Q3 is connected to one end of the second resistor R9. The other end of the second resistor R9 is connected to the cathode of the light-emitting diode of the optocoupler U4. The anode of the light-emitting diode of the optocoupler U4 is connected to the signal transmission side voltage terminal MV. The emitter of the transistor Q3 is connected to the signal transmission side ground point MGND. The signal transmission side voltage terminal MV refers to... The operating voltage terminal of the core processing unit located on the signal transmitting side, and the signal transmitting side grounding point MGND refers to the grounding point of the core processing unit located on the signal transmitting side; the collector of the phototransistor of the optocoupler U4 is connected to the signal receiving side voltage terminal SV, and the emitter of the phototransistor of the optocoupler U4 is connected to one end of the third resistor R12 and serves as the signal output terminal of the electrically isolated unidirectional communication sub-circuit; the other end of the third resistor R12 is connected to the signal receiving side grounding point SGND, and the signal receiving side voltage terminal SV refers to the operating voltage terminal of the core processing unit located on the signal receiving side, and the signal receiving side grounding point SGND refers to the grounding point of the core processing unit located on the signal receiving side. Figure 2 As shown, through the specific design of the aforementioned electrically isolated unidirectional communication sub-circuit, the following electrically isolated unidirectional communication logic can be achieved: (1) When the signal input terminal of the electrically isolated unidirectional communication sub-circuit is at a high level, the collector and emitter of the transistor Q3 are connected, the light-emitting diode of the optocoupler U4 is lit, and the collector and emitter of the phototransistor of the optocoupler U4 are connected, so that there is also a high level at the signal output terminal of the electrically isolated unidirectional communication sub-circuit; (2) When the signal input terminal of the electrically isolated unidirectional communication sub-circuit is at a low level, the collector and emitter of the transistor Q3 are cut off, the light-emitting diode of the optocoupler U4 is turned off, and the collector and emitter of the phototransistor of the optocoupler U4 are cut off, so that there is also a low level at the signal output terminal of the electrically isolated unidirectional communication sub-circuit. Thus, based on the aforementioned electrically isolated unidirectional communication logic, the electrically isolated unidirectional transmission of digital signals "1" or "0" (i.e., high-level signals or low-level signals) can be achieved, meeting the design requirements. In addition, the transistor Q3 can specifically be a transistor of model MMBT9013H, the optocoupler U4 can specifically be an optocoupler of model TIL117M, and the operating voltage of the core processing unit can generally be 3.3V.
[0072] Further preferably, the electrically isolated unidirectional communication sub-circuit also includes a first capacitor C7 and a second capacitor C8, wherein one end of the first capacitor C7 is connected to the anode of the light-emitting diode of the optocoupler U4, and the other end of the first capacitor C7 is connected to the signal transmitting side ground point MGND; one end of the second capacitor C8 is connected to the collector of the phototransistor of the optocoupler U4, and the other end of the second capacitor C8 is connected to the signal receiving side ground point SGND. Figure 2 As shown, the design of the first capacitor C7 and the second capacitor C8 allows them to be used as bypass circuits to filter out harmonic signals, ensure the stable operation of the LED of the optocoupler U4, and ensure a stable high-level or low-level signal at the signal output of the electrically isolated unidirectional communication sub-circuit. Specifically, the first capacitor C7 and the second capacitor C8 are each 100nF capacitors.
[0073] Further preferably, the first resistor R13 and the third resistor R12 are both resistors with a resistance value in the kiloohm range, and the second resistor R9 is a resistor with a resistance value in the ten-ohm range. Through the specific design of the aforementioned resistance values, a smaller input current, a larger LED current, and a smaller output current can be ensured, thereby guaranteeing the safety of the input / output pins of the core processing unit and ensuring the normal operation of the LED of the optocoupler U4. Specifically, the first resistor R13 is a resistor with a resistance value of 3300 ohms, the second resistor R9 is a resistor with a resistance value of 38.3 ohms, and the third resistor R12 is a resistor with a resistance value of 1 kiloohm.
[0074] In summary, the conference voting device and its working method provided in this embodiment have the following technical effects:
[0075] (1) This embodiment provides a novel conference voting device with internal core electrical isolation communication function, which includes a button operation panel and at least two core processing units that work independently. The button operation panel is arranged with multiple sets of status indicator lights. Each set of status indicator lights includes at least two indicator lights that correspond one-to-one with the at least two core processing units. For each core processing unit, the corresponding output terminal is connected to the controlled terminal of all the corresponding indicator lights. For each pair of core processing units, an electrical isolation serial port communication circuit is built between the corresponding units. Through the design of the electrical isolation serial port communication circuit, any pair of cores inside the voting device can interact with each other's lighting control status data, thereby enabling them to present a unified lighting control effect and achieve the purpose of zero-perception emergency response.
[0076] (2) The working method provided has achieved zero-perception emergency response for more than 300 emergency scenarios, which is universally applicable and requires no human intervention. It can also automatically switch when a fault occurs, further achieving the goal of zero-perception emergency response.
[0077] (3) It can also be expanded into a technology that controls multiple sets of indicator lights by multiple redundant backup systems within the system, which is convenient for practical application and promotion.
[0078] 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 method of operating a meeting voting device, characterized by, The conference voting machine comprises a key operation panel and at least two core processing units independently operating respectively, wherein a plurality of groups of state indicator lamps are arranged on the key operation panel, each group of state indicator lamps comprises at least two indicator lamps corresponding to the at least two core processing units one by one; for each core processing unit in the at least two core processing units, a corresponding output end is connected to the controlled end of all corresponding indicator lamps; for each pair of core processing units in the at least two core processing units, a corresponding electrically isolated serial communication circuit is built between the corresponding units; the electrically isolated serial communication circuit comprises two electrically isolated one-way communication sub-circuits, wherein the signal input end of the first electrically isolated one-way communication sub-circuit in the two electrically isolated one-way communication sub-circuits is connected to the signal sending end (MTX) of the first core processing unit in the corresponding core processing unit pair, the signal output end of the first electrically isolated one-way communication sub-circuit is connected to the signal receiving end (SRX) of the second core processing unit in the corresponding core processing unit pair, the signal input end of the second electrically isolated one-way communication sub-circuit in the two electrically isolated one-way communication sub-circuits is connected to the signal sending end (STX) of the second core processing unit, and the signal output end of the second electrically isolated one-way communication sub-circuit is connected to the signal receiving end (MRX) of the first core processing unit; the indicator lamps comprise green lamps for indicating starting key operation in a flashing mode and indicating completed key operation in a constant light mode, and red lamps for indicating urging key operation in a flashing mode; The working method of the conference voting machine comprises the following steps S1-S4 independently executed by each core processing unit in each core processing unit pair: S1. When the local timer is timed to the first time length, data interaction is performed with another core processing unit in the core processing unit pair through the electrically isolated serial communication circuit, and then step S2 is executed, wherein the data interaction comprises sending local indicator lamp state information to the other core processing unit and receiving opposite side indicator lamp state information from the other core processing unit, the local indicator lamp state information comprises the current state of the local corresponding indicator lamp in each group of state indicator lamps, and the opposite side indicator lamp state information comprises the current state of the other core processing unit corresponding indicator lamp in each group of state indicator lamps; S2. When the local timer counts to a second time length, compare the current states of the status indicator lights in each group according to the local status indicator light state information and the opposite side status indicator light state information. If the current state of the status indicator light corresponding to the other core processing unit in a certain group of status indicator lights is found to be a flashing state, and the current state of the status indicator light corresponding to the local side in the certain group of status indicator lights is a constant bright state, it is determined that the local indication is incorrect, and the local indication error number of the status indicator light corresponding to the local side in the certain group of status indicator lights is incremented by 1. Otherwise, the local indication error number is cleared, and the status indicator light corresponding to the local side in the certain group of status indicator lights is not operated. When the local indication error number reaches a preset number threshold, the status indicator light corresponding to the local side in the certain group of status indicator lights is turned off. When the local indication error number does not reach the preset number threshold, the status indicator light corresponding to the local side in the certain group of status indicator lights is also not operated. Finally, step S3 is executed, wherein the second time length is greater than the first time length; S3. When the local timer counts to a third time length, according to the newly obtained local status indicator light state information obtained through reinteraction, if the current state of the status indicator light corresponding to the local side in the certain group of status indicator lights is found to be a flashing state, the status indicator light corresponding to the local side in the certain group of status indicator lights is turned off. Otherwise, the status indicator light corresponding to the local side in the certain group of status indicator lights is not operated. Then step S4 is executed, wherein the third time length is greater than the second time length; S4. The counting of the local timer is cleared, and then step S1 is executed.
2. The method of claim 1, wherein, The electrical isolation unidirectional communication subcircuit comprises a first resistor (R13), a transistor (Q3), a second resistor (R9), an optoelectronic coupler (U4), and a third resistor (R12); One end of the first resistor (R13) serves as the signal input end of the electrical isolation unidirectional communication subcircuit, the other end of the first resistor (R13) is connected to the base of the transistor (Q3), the collector of the transistor (Q3) is connected to one end of the second resistor (R9), the other end of the second resistor (R9) is connected to the cathode of the light-emitting diode of the optoelectronic coupler (U4), the anode of the light-emitting diode of the optoelectronic coupler (U4) is connected to the signal transmission side voltage end (MV), the emitter of the transistor (Q3) is connected to the signal transmission side ground point (MGND), the signal transmission side voltage end (MV) refers to the working voltage end of the core processing unit on the signal transmission side, and the signal transmission side ground point (MGND) refers to the ground point of the core processing unit on the signal transmission side. The light-sensitive transistor collector of the optoelectronic coupler (U4) is connected with a signal receiving side voltage terminal (SV), the light-sensitive transistor emitter of the optoelectronic coupler (U4) is connected with one end of the third resistor (R12) and serves as a signal output terminal of the electrically isolated one-way communication sub-circuit, the other end of the third resistor (R12) is connected with a signal receiving side grounding terminal (SGND), and the signal receiving side voltage terminal (SV) refers to a working voltage terminal of the core processing unit on the signal receiving side, and the signal receiving side grounding terminal (SGND) refers to a grounding terminal of the core processing unit on the signal receiving side.
3. The method of claim 2, wherein, The electrically isolated one-way communication sub-circuit further comprises a first capacitor (C7) and a second capacitor (C8), wherein one end of the first capacitor (C7) is connected with the light-emitting diode anode of the optoelectronic coupler (U4), the other end of the first capacitor (C7) is connected with the signal sending side grounding terminal (MGND), one end of the second capacitor (C8) is connected with the light-sensitive transistor collector of the optoelectronic coupler (U4), and the other end of the second capacitor (C8) is connected with the signal receiving side grounding terminal (SGND).
4. The method of claim 1, wherein, The data interaction between the electrically isolated serial communication circuit and the other core processing unit in the pair of core processing units is performed once, comprising: determining whether the local side is a preset data interaction initiator; if yes, sending the local system time information and the local indicator light state information to the other core processing unit in the pair of core processing units through the electrically isolated serial communication circuit, and then receiving the opposite side indicator light state information from the other core processing unit, wherein the local indicator light state information comprises the current state of the indicator light corresponding to the local side in each group of state indicator lights, and the opposite side indicator light state information comprises the current state of the indicator light corresponding to the other core processing unit in each group of state indicator lights; if no, receiving the opposite side system time information and the opposite side indicator light state information from the other core processing unit through the electrically isolated serial communication circuit, then sending the local indicator light state information to the other core processing unit, and controlling the local timer to be synchronized with the opposite side timer in the other core processing unit according to the opposite side system time information.
5. The method of claim 1, wherein, When the local timer is timed to a second duration, comparing the current states of the groups of state indicator lights according to the local indicator light state information and the opposite side indicator light state information, comprising: when the local timer is timed to a second duration, performing a heartbeat detection on the other core processing unit through the electrically isolated serial communication circuit, wherein the second duration is greater than the first duration; if no heartbeat signal from the other core processing unit is received within the timeout, clearing all the local indicator error times, then performing the data interaction with the other core processing unit again through the electrically isolated serial communication circuit, and finally executing step S3; If a heartbeat signal from the other core processing unit is received before the timeout, the current state of the respective group of status indicators is compared based on the local indicator state information and the opposite side indicator state information.
6. The method of claim 1, wherein, When the status indicators include a green light bead for indicating a start key operation in a flashing manner and a completed key operation in a constant light manner and a red light bead for indicating a prompt key operation in a flashing manner, if it is found that the current state of the local corresponding indicator in the certain group of status indicators is a flashing state, the local corresponding indicator in the certain group of status indicators is turned off, including: If it is found that the current state of the local corresponding red light bead in the certain group of status indicators is a flashing state, the local corresponding red light bead in the certain group of status indicators is turned on and the local corresponding green light bead in the certain group of status indicators is turned off, otherwise the local corresponding green light bead in the certain group of status indicators is turned on and the local corresponding red light bead in the certain group of status indicators is turned off.
7. The method of claim 1, wherein, The first time length is 50 milliseconds, the second time length is 300 milliseconds, and the third time length is 500 milliseconds. Alternatively, the first time length is 550 milliseconds, the second time length is 800 milliseconds, and the third time length is 1000 milliseconds.
Citation Information
Patent Citations
Serial port communication method between mobile terminal processor
CN101179790A
Voting method based on dual-channel voting system
CN107592187A
Conference voter
CN220105752U