Local computer timing switch device based on single board computer
By controlling the relay group and power supply group through a single-board computer, localized computer timed power on/off can be realized, which solves the problem of computer timed power on/off being susceptible to tampering and remote attacks in the existing technology, and improves the reliability and security of computer timed power on/off.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- DALIAN NATIONALITIES UNIVERSITY
- Filing Date
- 2025-07-25
- Publication Date
- 2026-05-29
Smart Images

Figure CN224304147U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of computer control technology, and in particular to a localized computer timer power-on / off device based on a single-board computer. Background Technology
[0002] For security and confidentiality reasons, computer equipment such as industrial control computers and financial terminals are usually deployed in clusters in environments without networks (such as network-free computer rooms). These clustered computer devices usually need to be turned on and off at regular intervals to achieve unified management.
[0003] Current computer timed power-on / off solutions typically involve setting fixed power-on / off times through the task scheduler in the computer's operating system, enabling independent automatic power-on / off for each computer, or remotely waking up and shutting down a computer cluster via an open network port.
[0004] However, current computer timed power-on / off solutions rely on the normal operation of the computer operating system to set fixed power-on / off times through the Task Scheduler in the computer operating system. Furthermore, the Task Scheduler is susceptible to malicious tampering. If the computer cluster is remotely woken up and shut down through open network ports, the controlled computer cluster is vulnerable to remote attacks, posing a security risk. Utility Model Content
[0005] The main objective of this invention is to propose a localized computer timed power-on / off device based on a single-board computer, so as to realize the timed power-on / off of the computer locally and enhance the reliability and security of the computer's timed power-on / off.
[0006] In a first aspect, this utility model provides a localized computer timed power-on / off device based on a single-board computer, comprising: a single-board computer, a first relay group, a second relay group, and a power supply; the first relay group comprises: multiple relay units, each relay unit comprising at least one first relay; the second relay group comprises: multiple second relays.
[0007] One end of the first relay is connected to the single-board computer, and the other end of the first relay is connected to the power on / off pin of the corresponding host to be controlled.
[0008] The power supply is connected to the power supply interface of the host to be controlled via a live wire and a neutral wire. The second relay is installed on the corresponding live wire and is connected to the single-board computer.
[0009] The number of the relay units and the number of the second relays are the same as the number of the host to be controlled.
[0010] In an optional implementation, the localized computer timed power-on / off device based on a single-board computer further includes: a first optical coupler isolation module and a second optical coupler isolation module;
[0011] One end of the first optocoupler isolation module is connected to the single-board computer, and the other end of the first optocoupler isolation module is connected to multiple relay units respectively.
[0012] One end of the second optocoupler isolation module is connected to the single-board computer, and the other end of the second optocoupler isolation module is connected to multiple second relays respectively.
[0013] In an optional implementation, each relay unit includes at least one first relay comprising a primary relay and at least one backup relay, one end of which is connected to the single-board computer, and the other end of which is connected to the power on / off pin of the corresponding host computer to be controlled.
[0014] In an optional implementation, the single-board computer is synchronously or asynchronously connected to multiple host computers to be controlled via the first relay group and the second relay group.
[0015] In an optional implementation, the localized computer timed power-on / off device based on a single-board computer further includes: a status detection module;
[0016] One end of the status detection module is connected to the single-board computer, and the other end of the status detection module is connected to the host to be controlled.
[0017] In an optional implementation, the localized computer timer power-on / off device based on a single-board computer further includes: an ambient temperature detection module;
[0018] The ambient temperature detection module is connected to the single-board computer.
[0019] In an optional implementation, the localized computer timer power-on / off device based on a single-board computer further includes: a buzzer;
[0020] The buzzer is connected to the single-board computer.
[0021] In an optional implementation, the single-board computer is connected to the first optocoupler isolation module and the second optocoupler isolation module respectively through general-purpose input / output (GPIO) ports.
[0022] In an optional implementation, the single-board computer has a built-in clock module for timing the power-on and power-off times set on the single-board computer.
[0023] In an optional implementation, the clock module is a real-time clock (RTC) module.
[0024] The beneficial effects of this utility model are:
[0025] The localized computer timed power-on / off device based on a single-board computer provided in this application embodiment includes: a single-board computer, a first relay group, a second relay group, and a power supply. The first relay group includes: multiple relay units, each relay unit including at least one first relay. The second relay group includes: multiple second relays. One end of the first relay is connected to the single-board computer, and the other end of the first relay is connected to the power-on / off pin of the corresponding host to be controlled. The power supply is connected to the power supply interface of the host to be controlled through a live wire and a neutral wire. The second relays are disposed on the corresponding live wires and are connected to the single-board computer. The number of relay units and the number of second relays are the same as the number of hosts to be controlled. This localized computer timer power-on / off device based on a single-board computer has two sets of relays. One set of relays is connected in parallel with the power-on / off pin of the host computer to be controlled. When this set of relays is at a momentary high level, it can briefly interrupt the power-on / off pin of the host computer to simulate pressing the power switch of the host computer. The other set of relays is located on the live wire between the power supply and the power supply interface of the host computer to be controlled. When this set of relays is at a high level, the live wire is connected. This localized computer timer power-on / off device based on a single-board computer also controls the level states of the two sets of relays according to a preset program through the single-board computer. It realizes the simulation of pressing the power-on / off button of the host computer to be controlled by changing the level states of the two sets of relays at preset times, and controls the connection and disconnection of the live wire between the power supply and the host computer to achieve localized timed power-on / off of the computer, thereby enhancing the reliability and security of the computer timed power-on / off. Attached Figure Description
[0026] To more clearly illustrate the technical solutions in the embodiments of this utility model 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 utility model. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.
[0027] Figure 1 A schematic diagram of a localized computer timed power-on / off device based on a single-board computer provided in an embodiment of this application;
[0028] Figure 2 A schematic diagram of a localized computer timer power-on / off device based on a single-board computer, provided as another embodiment of this application;
[0029] Figure 3 This is a schematic diagram of a localized computer timed power-on / off device based on a single-board computer, provided as another embodiment of this application.
[0030] Reference numerals: 1-Single-board computer; 2-First relay group; 3-Second relay group; 4-Power supply; 21-Relay unit; 211-Main relay; 212-Spare relay; 31-Second relay; 5-Master unit to be controlled; 6-Live wire; 7-Neutral wire; 8-First optocoupler isolation module; 9-Second optocoupler isolation module; 10-Status detection module; 11-Ambient temperature detection module; 12-Buzzer. Detailed Implementation
[0031] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0032] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0033] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0034] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0035] In the description of this application, it should be noted that the terms "upper", "lower", "inner", "outer", etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, or the orientation or positional relationship that the product of this application is usually placed in. They are only for the convenience of describing this application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this application.
[0036] In the description of this application, it should also be noted that, unless otherwise explicitly specified and limited, the terms "set" and "connection" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; and they can refer to the internal connection of two components. Those skilled in the art can understand the specific meaning of the above terms in this application based on the specific circumstances.
[0037] The following detailed description of some embodiments of this application is provided in conjunction with the accompanying drawings. Unless otherwise specified, the following embodiments and features can be combined with each other.
[0038] Current computer timed power-on / off solutions typically involve setting fixed power-on / off times using the task scheduler in the computer's operating system, enabling each computer to automatically power on and off independently, or using an open network port where a remote terminal sends wake-up and shutdown commands to the computer cluster to achieve the same result.
[0039] However, setting fixed power-on and power-off times through the Task Scheduler in the computer operating system to achieve independent automatic power-on and power-off for each computer relies on the normal operation of the operating system. Furthermore, each user could easily and maliciously tamper with the Task Scheduler, potentially preventing the computers from completing the scheduled power-on and power-off as planned. If a remote terminal sends wake-up and shutdown commands to the computer cluster via an open network port, the controlled computer cluster could be vulnerable to remote attacks, posing a security risk, particularly for computer equipment deployed in environments without a network connection.
[0040] To address the aforementioned issues, the main objective of this application is to propose a localized computer timed power-on / off device based on a single-board computer, aiming to locally realize the timed power-on / off of the computer, thereby enhancing the reliability and security of the computer's timed power-on / off functionality.
[0041] Figure 1A schematic diagram of a localized computer timed power-on / off device based on a single-board computer provided in an embodiment of this application is shown below. Figure 1 The localized computer timer power-on / off device based on a single-board computer includes: a single-board computer 1, a first relay group 2, a second relay group 3, and a power supply 4. The first relay group 2 includes: multiple relay units 21, each relay unit 21 including at least one first relay. The second relay group 3 includes: multiple second relays 31.
[0042] One end of the first relay is connected to the single-board computer 1, and the other end of the first relay is connected to the power on / off pin of the corresponding host 5 to be controlled.
[0043] The power supply 4 is connected to the power supply interface of the host computer 5 to be controlled via the live wire 6 and the neutral wire 7. The second relay 31 is installed on the corresponding live wire 6 and is connected to the single-board computer 1.
[0044] The number of the aforementioned relay units 21 and the number of the aforementioned second relays 31 are the same as the number of the aforementioned host 5 to be controlled.
[0045] For example, the aforementioned single-board computer 1 may include a CPU (Central Processing Unit), memory, and various interfaces such as power supply interfaces and communication interfaces, but is not limited thereto. Furthermore, the specific types, models, and performance parameters of the CPU, memory, and various interfaces can be adjusted and determined according to actual circumstances, and are not limited here. It is understood that the single-board computer 1 can be powered by an external power supply. Optionally, the external power supply may be, for example, an uninterruptible power supply (UPS). Of course, the single-board computer 1 can also be electrically connected to the power supply 4 in the localized computer timer switch device based on the single-board computer to obtain power, and this is not limited here.
[0046] The aforementioned relay unit 21 includes at least one first relay. When the relay unit 21 includes two or more first relays, it may be for the purpose of having other first relays replace the damaged one when the first relay fails, thus achieving hardware redundancy, but this is not a limitation. One end of the aforementioned first relay is connected to the aforementioned single-board computer 1. For example, this could mean that the input interface of the aforementioned first relay is connected to the communication interface or other interface of the aforementioned single-board computer 1, and the connection form includes, but is not limited to, communication connections or electrical connections. The aforementioned single-board computer 1 can, for example, control the level state of the first relay through the connection between the first relay and the single-board computer 1. Of course, the above is only a possible example, and the actual connection method between one end of the first relay and the aforementioned single-board computer 1 is not limited to the above example.
[0047] The other end of the first relay is connected to the power-on / off pin of the corresponding host 5 to be controlled. For example, the two contacts of the first relay can be connected in parallel to the power-on / off pin of the host 5 to be controlled. When the first relay is at a momentary high level, the power-on / off pin of the corresponding host 5 to be controlled can be briefly shorted to simulate the situation when the power-on / off button of the host 5 to be controlled is pressed and the power-on / off pin of the host 5 to be controlled is turned on.
[0048] It is understood that the aforementioned first relay can be powered by an external power source, such as an uninterruptible power supply (UPS). Alternatively, the first relay can also be electrically connected to the power supply 4 in the localized computer timer switch device based on the single-board computer to obtain power; this is not a limitation.
[0049] The power supply 4 is connected to the power supply interface of the host 5 to be controlled via the live wire 6 and the neutral wire 7. The second relay 31 is set on the corresponding live wire 6. For example, the two contacts of the second relay 31 can be connected in parallel to the corresponding live wire 6. When the second relay 31 is at a high level, the two contacts are connected, the live wire 6 is in a connected state, and the power supply 4 can supply power to the power supply interface of the host through the live wire 6. When the second relay 31 is at a low level, the two contacts are disconnected, the live wire 6 is in a disconnected state, and the power supply 4 no longer supplies power to the power supply interface of the host.
[0050] The number of relay units 21 and the number of second relays 31 are the same as the number of host machines 5 to be controlled. For example, each relay unit 21 and each second relay 31 corresponds to one host machine 5 to be controlled. Thus, by controlling a single relay unit 21 and a single second relay 31, the power on / off control and power supply control of one host machine 5 to be controlled can be achieved, but this is not a limitation.
[0051] The localized computer timed power-on / off device based on a single-board computer provided in this application embodiment includes: a single-board computer 1, a first relay group 2, a second relay group 3, and a power supply 4. The first relay group 2 includes multiple relay units 21, each relay unit 21 including at least one first relay. The second relay group 3 includes multiple second relays 31. One end of each first relay is connected to the single-board computer 1, and the other end of each first relay is connected to the power-on / off pin of the corresponding host computer 5 to be controlled. The power supply 4 is connected to the power supply interface of the host computer 5 to be controlled via a live wire 6 and a neutral wire 7. The second relays 31 are disposed on the corresponding live wire 6 and are connected to the single-board computer 1. The number of relay units 21 and the number of second relays 31 are the same as the number of hosts 5 to be controlled. This localized computer timer power-on / off device based on a single-board computer has two sets of relays. One set of relays is connected in parallel with the power-on / off pin of the host 5 to be controlled. When this set of relays is at a momentary high level, it can briefly interrupt the power-on / off pin of the host 5 to simulate pressing the power switch of the host 5. The other set of relays is set on the live wire 6 between the power supply 4 and the power supply interface of the host 5 to be controlled. When this set of relays is at a high level, the live wire 6 is connected. This localized computer timer power-on / off device based on a single-board computer also controls the level states of the two sets of relays according to a preset program through the single-board computer 1. It realizes the simulation of pressing the power-on / off button of the host 5 to be controlled by changing the level states of the two sets of relays at preset times, and controls the on / off of the live wire 6 between the power supply 4 and the host 5 to achieve localized timed power-on / off of the computer, thereby enhancing the reliability and security of the computer timed power-on / off.
[0052] Figure 2 The diagram below illustrates the structure of a localized computer timed power-on / off device based on a single-board computer, as provided in another embodiment of this application. Further, please refer to... Figure 2 In the above Figure 1 Based on the embodiments, the above-mentioned localized computer timed power-on / off device based on a single-board computer may further include: a first optocoupler isolation module 8 and a second optocoupler isolation module 9.
[0053] One end of the first optocoupler isolation module 8 is connected to the single-board computer 1, and the other end of the first optocoupler isolation module 8 is connected to the multiple relay units 21 respectively.
[0054] One end of the second optocoupler isolation module 9 is connected to the single-board computer 1, and the other end of the second optocoupler isolation module 9 is connected to a plurality of the second relays 31 respectively.
[0055] For example, one end of the first optocoupler isolation module 8 is connected to the single-board computer 1, and the other end of the first optocoupler isolation module 8 is connected to the plurality of relay units 21 respectively. For example, the input interface of the first optocoupler isolation module 8 can be connected to the communication interface of the single-board computer 1, and the output interface of the first optocoupler isolation module 8 can be connected to the input interface of the first relay among the plurality of relay units 21 respectively. The single-board computer 1 can, for example, control the level state of the first relay through the first optocoupler isolation module 8.
[0056] Similarly, one end of the second optocoupler isolation module 9 is connected to the single-board computer 1, and the other end of the second optocoupler isolation module 9 is connected to the plurality of second relays 31 respectively. For example, the input interface of the second optocoupler isolation module 9 can be connected to the communication interface of the single-board computer 1, and the output interface of the second optocoupler isolation module 9 can be connected to the input interfaces of the plurality of second relays 31 respectively. The single-board computer 1 can, for example, control the level state of the second relays 31 through the second optocoupler isolation module 9.
[0057] The first optocoupler isolation module 8 mentioned above can be used, for example, to isolate the circuit where the single-board computer 1 is located and the circuit where the multiple relay units 21 are located, so as to prevent electrical interference between the circuit where the single-board computer 1 is located and the circuit where the multiple relay units 21 are located, thereby causing damage to the single-board computer 1 or the host 5 to be controlled.
[0058] Similarly, the second optocoupler isolation module 9 can be used, for example, to isolate the circuit where the single-board computer 1 is located and the circuit where the multiple second relays 31 are located, to prevent electrical interference between the circuit where the single-board computer 1 is located and the circuit where the multiple second relays 31 are located, thereby causing damage to the single-board computer 1 or the host 5 to be controlled.
[0059] It is understood that the specific types, models, and functional parameters of the first optical coupler isolation module 8 and the second optical coupler isolation module 9 can be selected and determined according to actual needs, and there are no restrictions here. Furthermore, the specific types, models, and functional parameters of the first optical coupler isolation module 8 and the second optical coupler isolation module 9 can be the same or different.
[0060] Figure 3 This is a schematic diagram of a localized computer timed power-on / off device based on a single-board computer, provided in another embodiment of this application. Optionally, in the aforementioned... Figure 1Based on the embodiment, at least one first relay in the relay unit 21 may include: a main relay 211 and at least one backup relay 212. One end of the main relay 211 and the backup relay 212 are both connected to the single-board computer 1, and the other end of the main relay 211 and the backup relay 212 are both connected to the power on / off pin of the corresponding host computer 5 to be controlled.
[0061] like Figure 3 As shown, for example, both the main relay 211 and the backup relay 212 can be the first relay. Therefore, similarly to the first relay, one end of both the main relay 211 and the backup relay 212 is connected to the single-board computer 1. For example, the input interfaces of the main relay 211 and the backup relay 212 can be connected to the communication interface or other interfaces of the single-board computer 1, respectively. The other end of both the main relay 211 and the backup relay 212 is connected to the power on / off pin of the corresponding host computer 5 to be controlled. For example, the two contacts of the main relay 211 and the backup relay 212 can be connected in parallel to the corresponding relay. When the main relay 211 or the backup relay 212 is at a momentary high level, the power-on / off pin of the corresponding host 5 can be briefly shorted to simulate the situation when the power-on / off button of the host 5 is pressed. Normally, the single-board computer 1 can control the level state of the main relay 211 through the connection between the main relay 211 and the single-board computer 1, and then short-circuit the power-on / off pin of the corresponding host 5 to simulate the situation when the power-on / off button of the host 5 is pressed.
[0062] When the main relay 211 is damaged, the single-board computer 1 can control the level state of the backup relay 212 through the connection between the backup relay 212 and the single-board computer 1, thereby short-circuiting the power-on / off pin of the corresponding host 5 to be controlled, so as to simulate the situation when the power-on / off button of the host 5 to be controlled is pressed and the power-on / off pin of the host 5 to be controlled is turned on.
[0063] Of course, the specific number of the aforementioned backup relays 212, as well as the specific types, models, and performance parameters of the aforementioned main relays 211 and backup relays 212, can be adjusted and determined according to actual needs, and are not restricted here.
[0064] In addition, based on the aforementioned embodiments, the single-board computer 1 is synchronously or asynchronously connected to multiple host computers 5 to be controlled via the first relay group 2 and the second relay group 3.
[0065] For example, the single-board computer 1 can be synchronously controlled with multiple host computers 5 through the first relay group 2 and the second relay group 3. For example, the single-board computer 1 can synchronously control multiple host computers 5 through the first relay group 2 and the second relay group 3, that is, the single-board computer 1 can control multiple host computers 5 to turn on / off simultaneously through the first relay group 2 and the second relay 31.
[0066] The single-board computer 1 is asynchronously connected to multiple host computers 5 to be controlled via the first relay group 2 and the second relay group 3. For example, the single-board computer 1 can asynchronously control multiple host computers 5 to be controlled via the first relay group 2 and the second relay group 3. That is, the single-board computer 1 controls multiple host computers 5 to be controlled to turn on / off according to different power-on / off commands via the first relay group 2 and the second relay 31.
[0067] Optionally, based on the foregoing embodiments, the localized computer timed power-on / off device based on a single-board computer may further include: a status detection module 10.
[0068] One end of the aforementioned status detection module 10 is connected to the aforementioned single-board computer 1, and the other end of the aforementioned status detection module 10 is connected to the aforementioned host computer 5 to be controlled.
[0069] For example, the aforementioned status detection module 10 may be a sensor or receiver that includes detection functions such as current detection, voltage detection, and detection of the operating status of the host 5 to be controlled. After detecting information including but not limited to the aforementioned current, voltage, and operating status of the host 5 to be controlled through its connection with the host 5 to be controlled, the status detection module 10 may, for example, send the aforementioned information to the single-board computer 1 through its connection with the single-board computer 1, so that the single-board computer 1 can detect or judge the circuit status, the operating status of the host 5 to be controlled, and the power-on / off execution status. When an abnormality is detected or judged in the aforementioned circuit status or the operating status of the host 5 to be controlled, the single-board computer 1 may, for example, control the host 5 to be controlled to shut down. When an abnormality is detected or judged in the power-on / off execution status, the single-board computer 1 may, for example, issue an abnormality prompt in the form of, but not limited to, sound, light, or remote messages.
[0070] It is understood that the specific type and function of the aforementioned status detection module 10 are not limited to the examples provided above, but can be selected and determined according to the actual situation.
[0071] In addition, based on the aforementioned embodiments, the localized computer timed power-on / off device based on a single-board computer may further include: an ambient temperature detection module 11.
[0072] The aforementioned ambient temperature detection module 11 is connected to the aforementioned single-board computer 1.
[0073] For example, the ambient temperature detection module 11 can be a temperature sensor or the like. The ambient temperature detection module 11 can detect the surrounding ambient temperature and send the detected ambient temperature information to the single-board computer 1 through the connection. When the ambient temperature is higher than a certain preset value, such as when the ambient temperature is higher than 36 degrees, 37 degrees or 38 degrees, the single-board computer 1 can control the shutdown of the host 5 to prevent the host 5 from being damaged due to high ambient temperature.
[0074] Optionally, based on the foregoing embodiments, the localized computer timed power-on / off device based on a single-board computer further includes a buzzer 12.
[0075] The buzzer 12 is connected to the single-board computer 1.
[0076] For example, when the single-board computer 1 detects or determines that there is an abnormality in the power-on / off execution, it controls the buzzer 12 to emit a buzzer to indicate the abnormality. Of course, the above is only a possible example. The specific time when the single-board computer 1 controls the buzzer 12 to emit a buzzer to indicate the abnormality can be adjusted and determined according to the actual situation, and is not limited to detecting or determining that there is an abnormality in the power-on / off execution.
[0077] Furthermore, based on the aforementioned embodiments, the single-board computer 1 can be connected to the first optocoupler isolation module 8 and the second optocoupler isolation module 9 via GPIO (General-Purpose Input / Output) ports, respectively. Since there are many types and models of the first optocoupler isolation module 8, the second optocoupler isolation module 9, the first relay, the second relay 31, etc., and their ports may also differ, connecting the single-board computer 1 to the first optocoupler isolation module 8 and the second optocoupler isolation module 9 via GPIO ports increases the compatibility of the single-board computer 1 with different first optocoupler isolation modules 8, second optocoupler isolation modules 9, first relays, second relays 31, etc.
[0078] Optionally, based on the foregoing embodiments, the single-board computer 1 has a built-in clock module for timing the power-on / off time set on the single-board computer 1, so as to control the power-on / off of the host 5 to be controlled at a preset time.
[0079] For example, the clock module can be connected to the CPU in the single-board computer 1 described above.
[0080] Furthermore, the aforementioned clock module can be an RTC (Real-Time Clock) module.
[0081] In addition, this application also provides a computer that may include the localized computer timed power-on / off device based on a single-board computer as described in any of the foregoing embodiments.
[0082] It is understood that the above description is only a preferred embodiment of the present utility model and does not limit the patent scope of the present utility model. All equivalent structural transformations made under the inventive concept of the present utility model using the contents of the present utility model specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present utility model.
Claims
1. A localized computer timed power-on / off device based on a single-board computer, characterized in that, include: The system includes a single-board computer, a first relay group, a second relay group, and a power supply. The first relay group includes multiple relay units, each relay unit including at least one first relay. The second relay group includes multiple second relays. One end of the first relay is connected to the single-board computer, and the other end of the first relay is connected to the power on / off pin of the corresponding host to be controlled. The power supply is connected to the power supply interface of the host to be controlled via a live wire and a neutral wire. The second relay is installed on the corresponding live wire and is connected to the single-board computer. The number of the relay units and the number of the second relays are the same as the number of the host to be controlled.
2. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, The localized computer timed power-on / off device based on a single-board computer further includes: a first optocoupler isolation module and a second optocoupler isolation module; One end of the first optocoupler isolation module is connected to the single-board computer, and the other end of the first optocoupler isolation module is connected to multiple relay units respectively. One end of the second optocoupler isolation module is connected to the single-board computer, and the other end of the second optocoupler isolation module is connected to multiple second relays respectively.
3. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, At least one first relay in each relay unit includes a main relay and at least one backup relay, one end of the main relay and the backup relay are connected to the single-board computer, and the other end of the main relay and the backup relay are connected to the power on / off pin of the corresponding host computer to be controlled.
4. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, The single-board computer is synchronously or asynchronously controlled by the first relay group and the second relay group with the multiple hosts to be controlled.
5. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, The localized computer timed power-on / off device based on a single-board computer also includes: a status detection module; One end of the status detection module is connected to the single-board computer, and the other end of the status detection module is connected to the host to be controlled.
6. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, The localized computer timer power-on / off device based on a single-board computer also includes: an ambient temperature detection module; The ambient temperature detection module is connected to the single-board computer.
7. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, The localized computer timer power-on / off device based on a single-board computer also includes: a buzzer; The buzzer is connected to the single-board computer.
8. The localized computer timed power-on / off device based on a single-board computer according to claim 2, characterized in that, The single-board computer is connected to the first optocoupler isolation module and the second optocoupler isolation module respectively through general-purpose input / output (GPIO) ports.
9. The localized computer timed power-on / off device based on a single-board computer according to claim 1, characterized in that, The single-board computer has a built-in clock module for timing the power-on and power-off times set on the single-board computer.
10. The localized computer timed power-on / off device based on a single-board computer according to claim 9, characterized in that, The clock module is a real-time clock (RTC) module.