A socket for booting
By embedding a WiFi module and relay in the socket, it communicates with the IoT server via a local area network, solving the problems of scarce public IP resources and dynamic IP management. This enables ordinary users to remotely power on the socket without professional skills, improving the convenience of use and application scenarios.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- XIAMEN XIANGLI TECH CO LTD
- Filing Date
- 2025-05-19
- Publication Date
- 2026-06-19
AI Technical Summary
Existing smart sockets cannot integrate Wake-on-LAN (WOL) technology, making it difficult for ordinary users to remotely power on their computers. This is mainly due to the scarcity of public IP resources, the difficulty in managing dynamic IP addresses, and the complexity of router settings.
The socket incorporates a built-in WiFi module and relay, enabling communication with an IoT server via a local area network. This allows for remote power-on control without requiring a public IP address, lowering the technical barrier and integrating WOL and AC recovery functions.
It enables ordinary users to easily and remotely power on devices within a local area network or via an external IoT server without requiring specialized technical skills, lowering the technical threshold, expanding application scenarios, and improving ease of use.
Smart Images

Figure CN224384705U_ABST
Abstract
Description
Technical Field
[0001] This utility model relates to the field of socket technology, and in particular to a socket for powering on. Background Technology
[0002] With the rapid development of IoT technology and the increasing demand for remote work, remote computer power-on has become increasingly necessary. However, dedicated remote power-on technology (Wake-on-LAN, WOL) is technically complex and difficult for ordinary people to use due to industry limitations. Existing solutions often use smart sockets combined with the computer's disaster recovery function: AC recovery (power on upon connection) to indirectly achieve power-on. These smart sockets can only simulate the physical power-on action by controlling the power supply and do not integrate WOL technology.
[0003] The main reasons why WOL technology has not become widespread are: First, when remotely powering on a computer, the target computer cannot be found on the public network because ordinary home computers use dynamic IPs, which are characterized by periodic changes and unpredictable addresses. While dynamic domain name resolution can solve this, it is difficult for non-technical personnel to implement. Second, due to the surge in internet users, global IPv4 address resources are scarce, so many users cannot obtain public IPs. For example, China Mobile broadband does not provide public IPs. Third, even if a public IP is obtained, it requires professional technical skills. Port forwarding needs to be configured on the router to redirect the incoming boot magic packet to a designated computer on the internal network, a process that is too complex for the average person to handle. Utility Model Content
[0004] The technical problem to be solved by this utility model is to provide a socket for powering on, which enables the socket to have WOL function, can get rid of public IP dependence, and lower the technical threshold, so that non-professional technicians can also remotely power on the computer.
[0005] This utility model is implemented as follows:
[0006] This utility model provides a socket for powering on, including a socket body having an interface for connecting to mains power, and also including a WiFi module:
[0007] The WiFi module is installed inside the socket body and is used to connect to the local area network;
[0008] It also includes a relay installed inside the socket body, one end of which is connected to the mains power and the other end is connected to the interface;
[0009] The WiFi module is communicatively connected to the relay and is used to control the opening and closing of the relay contacts;
[0010] It also includes a control terminal connected to a WiFi module. The control terminal controls the WiFi module and broadcasts a power-on magic package to the local area network (LAN) including the target device via the LAN. The control terminal also controls the opening and closing of relay contacts through the WiFi module.
[0011] Furthermore, the control terminal is a wireless power button, and the WiFi module is connected to a wireless receiving module;
[0012] The wireless power button is located on the outside of the socket body and is used for communication connection with the wireless receiving module;
[0013] The wireless receiving module is located inside or outside the socket body;
[0014] After receiving the signal emitted by the wireless power button, the wireless receiving module transmits the signal to the WiFi module, which then broadcasts a power-on magic packet to the target device within the local area network, thereby powering on the target computer; or the WiFi module controls the closing of the relay contacts to energize the socket body, thereby powering on the target computer.
[0015] Furthermore, the WiFi module includes a main control chip with GPIO pins, and both the wireless receiving module and the relay are connected to the GPIO pins.
[0016] Furthermore, the wireless receiving module is a digital signal receiving module or an analog signal receiving module.
[0017] Furthermore, the digital signal receiving module is a 2.4G communication receiving module, a Bluetooth module, a Zigbee receiving module, or a Thread receiving module; the analog signal receiving module is a radio frequency receiving module.
[0018] Furthermore, the control terminal is a human-computer interaction device. The WiFi module is connected to an IoT server via an external network. The IoT server is connected to the human-computer interaction device. The human-computer interaction device edits control commands and sends them to the WiFi module via the IoT server. The human-computer interaction device controls the WiFi module to send a power-on magic packet to the target device in the local area network via UDP broadcast. Alternatively, the human-computer interaction device controls the opening and closing of relay contacts through the WiFi module to control the power supply to the socket body.
[0019] Furthermore, the WiFi module also includes a storage module for storing the WiFi name and password of the current local area network and the MAC address of the target device.
[0020] Furthermore, the human-computer interaction device is a computer, mobile phone, or tablet computer.
[0021] Furthermore, the socket body is also provided with a configuration button, which is used to pair and connect the wireless receiving module with the wireless power button, or to connect and configure the human-computer interaction device with the WiFi module.
[0022] The advantages of this utility model are:
[0023] 1. By building a WiFi module into the socket, devices on the local area network can communicate with an external IoT server. The IoT server acts as a relay, solving the problems of limited public IP resources, inability to obtain public IPs, and difficulty in setting up dynamic domain name resolution. This makes it easy to remotely power on computers in home networks or enterprise internal networks, greatly expanding the application scenarios of the product.
[0024] 2. No complex dynamic domain name resolution operations are required. By using an IoT server for relay communication, it automatically adapts to the characteristics of home computers' dynamic IP periodic changes and unfixed addresses. Ordinary users can easily achieve remote power-on without professional skills, thus lowering the technical threshold.
[0025] 3. Eliminates the need for the professional and complex operation of setting up port forwarding on the router. Users only need to configure the socket to connect to the local area network, and the WiFi module can broadcast the boot magic package to the target computer in the local area network, which significantly improves the convenience of use.
[0026] 4. This socket integrates two mainstream computer boot methods: it supports the professional WOL and also fully utilizes the AC recovery disaster recovery function to boot up the computer. This solves the problem of the single boot technology of similar products and can boot up more computers compared with similar products. Attached Figure Description
[0027] The present invention will be further described below with reference to the accompanying drawings and embodiments.
[0028] Figure 1 This is a schematic diagram of the structure of a socket for powering on according to Embodiment 1 of this utility model.
[0029] Figure 2 This is a schematic diagram of a socket for powering on according to Embodiment 2 of this utility model.
[0030] Figure 3 This is a schematic diagram of the structure of a socket for powering on according to Embodiment 3 of this utility model.
[0031] Figure 4 This is a circuit diagram of the WiFi module in a specific embodiment of the present invention.
[0032] Figure 5This is a circuit diagram of the radio frequency receiving module in a specific embodiment of the present invention.
[0033] Figure 6 This is a circuit diagram of the Bluetooth module in a specific embodiment of the present invention.
[0034] Figure 7 This is a circuit diagram of the AC input in a specific embodiment of the present invention.
[0035] Figure 8 This is a circuit diagram illustrating the conversion of AC input voltage to 5V voltage in a specific embodiment of this utility model.
[0036] Figure 9 This is a circuit diagram illustrating the conversion of 5V voltage to 3.3V voltage in a specific embodiment of this utility model.
[0037] Explanation of the labels in the diagram:
[0038] 1. WiFi module; 2. IoT server; 3. Target device; 4. Human-computer interaction device; 5. Wireless power button; 6. Wireless receiver module; 7. Relay; 8. Interface. Detailed Implementation
[0039] Example 1, please refer to Figure 1 , Figures 4 to 8 This utility model provides a socket for powering on, including a socket body having an interface 8 for connecting to mains power, and also including a WiFi module 1.
[0040] The WiFi module 1 is installed inside the socket body and is used to connect to the local area network;
[0041] It also includes a relay 7 installed inside the socket body, one end of which is connected to the mains power and the other end is connected to the interface 8;
[0042] The WiFi module 1 is communicatively connected to the relay 7 and is used to control the opening and closing of the relay 7 contacts;
[0043] It also includes a control terminal, which is connected to the WiFi module 1. The control terminal controls the WiFi module 1 and broadcasts a power-on magic package to the local area network, including the target device, via the local area network. The control terminal also controls the opening and closing of the contacts of the relay 7 through the WiFi module 1.
[0044] Specifically, the control terminal is a wireless power button 5, and the WiFi module 1 is connected to a wireless receiving module 6;
[0045] The wireless power button 5 is located outside the socket body and is used to communicate with the wireless receiving module 6.
[0046] The wireless receiving module 6 is located inside or outside the socket body.
[0047] After receiving the signal emitted by the wireless power button 5, the wireless receiving module 6 transmits the signal to the WiFi module 1, which then broadcasts a power-on magic packet to the target device 3 within the local area network, thereby powering on the target computer 3; or the WiFi module 1 controls the closing of the relay 7 contacts to energize the socket body, thereby powering on the target computer 3.
[0048] The wireless power button 5 has at least a first function button and a second function button;
[0049] After the user presses the first function button, the wireless receiving module 6 receives the first level signal emitted by the wireless power button 5 and transmits the signal to the WiFi module 1. The WiFi module 1 then reads the stored MAC address and sends a power-on magic packet to the target device 3 in the local area network via UDP broadcast, thereby powering on the target computer.
[0050] Alternatively, after the user presses the second function button, the wireless receiving module 6 receives the second level signal emitted by the wireless power button 5 and transmits the signal to the WiFi module 1. The WiFi module then controls the closing of the relay 7 contacts to power on the socket body, thereby powering on the target computer.
[0051] Preferably, the wireless receiver module 6 uses a Firefox DTX1K chip.
[0052] Specifically, the WiFi module 1 includes a main control chip with GPIO pins, and the wireless receiving module 6 and the relay 7 are both connected to the GPIO pins to trigger UDP signal transmission.
[0053] Specifically, the wireless receiving module 6 is a digital signal receiving module or an analog signal receiving module.
[0054] Specifically, the digital signal receiving module is a 2.4G communication receiving module, a Bluetooth module, a Zigbee receiving module, or a Thread receiving module; the analog signal receiving module is a radio frequency (RF) receiving module. The RF receiving module operates at a frequency of 315MHz or 433MHz.
[0055] Specifically, the WiFi module 1 also includes a storage module, which is used to store the WiFi name and password of the current local area network and the MAC address of the target device.
[0056] Specifically, the socket body is also provided with a configuration button, which is used to pair and connect the wireless receiving module 6 with the wireless power button 5.
[0057] In this embodiment, the WiFi module 1 can be controlled remotely via the wireless power button 5.
[0058] One specific application of this embodiment is:
[0059] Upon first use, simply scan the QR code on the outside of the socket with your mobile phone to access the URL and follow the installation and MAC address configuration instructions. Once configured, no further configuration is required during subsequent use.
[0060] The specific configuration steps for first-time use are as follows:
[0061] 1. Connect the socket of this utility model to the WiFi of the target local area network:
[0062] 1) Press and hold the configuration button for N seconds to put the socket into AP hotspot network configuration mode;
[0063] 2) After the mobile device connects to this hotspot, a configuration page will pop up via Captive Portal technology, or the configuration page will open after entering the IP address of the WiFi module (e.g., http: / / 10.100.10.1) in the mobile browser. Enter the WiFi name and password of the target local area network and the MAC address of the target computer on the existing page. At this time, only the wireless power button short-range control option can be selected on the existing page. After saving, the WiFi name, password and MAC address will be stored in the storage module, which will switch the socket to STA mode to connect to the WiFi of the target local area network and obtain the target device that needs to be controlled to power on.
[0064] 2. Since the socket of this utility model is equipped with a wireless power button 5, after the WiFi module has obtained the WiFi name and password of the target local area network and the MAC address of the target computer, when the power is cut off again, the socket of this utility model can enter the button learning mode by pressing and holding the configuration button and then plugging it back in, so that the wireless power button 5 and the wireless receiving module 6 can establish a corresponding relationship.
[0065] When the socket is powered on, press and hold the configuration button for more than N seconds (e.g., 10 seconds) to enter the AP hotspot network configuration mode.
[0066] With the power off, press and hold the configuration button, then connect the socket to the power source. The socket will enter button learning mode and wait to receive the wireless signal from the wireless power button. If a wireless signal is received, the storage module stores the wireless signal code. In subsequent use, if the same code is received again, it will be triggered. Wireless power button 5 is existing technology.
[0067] The wireless receiver module 6 is used to monitor the triggering of the wireless power button 5. When the wireless power button 5 is pressed, either the first function button or the second function button will generate a first level signal and a second level signal respectively. When the wireless receiver module 6 receives the first level signal generated by the wireless power button 5, the WiFi module 1 sends a power-on magic packet to the target computer through the local area network, thereby waking up the target computer or powering it on.
[0068] When the wireless receiving module 6 receives the second level signal generated by the wireless power button 5, the WiFi module controls the closing of the relay 7 contacts to power on the socket body, thereby powering on the target computer.
[0069] In this embodiment, during subsequent use, the user can use the wireless power button 5 to control the WiFi module 1 to send a power-on magic packet to all target devices 3 within the local area network via broadcast, thereby achieving one-click wake-up control of multiple target devices 3. Alternatively, the user can use the wireless power button 5 to control the contact of the relay 7, energizing the socket body and thus powering on the target computer with disaster recovery capabilities.
[0070] In this second embodiment, while in the first embodiment, the WiFi module 1 can be remotely controlled via the wireless power button 5, the WiFi module 1 can be remotely controlled via a human-computer interaction device.
[0071] Please see Figure 2 , Figures 4 to 8 This utility model provides a socket for powering on, including a socket body having an interface for connecting to mains power, and also including a WiFi module 1.
[0072] The WiFi module 1 is installed inside the socket body and is used to connect to the local area network;
[0073] It also includes a relay 7 installed inside the socket body, one end of which is connected to the mains power and the other end is connected to the interface 8;
[0074] The WiFi module 1 is communicatively connected to the relay 7 and is used to control the opening and closing of the relay 7 contacts;
[0075] It also includes a control terminal, which is connected to the WiFi module 1. The control terminal controls the WiFi module 1 and broadcasts a power-on magic package to the local area network including the target device 3 via the local area network. The control terminal also controls the opening and closing of the contacts of the relay 7 through the WiFi module 1.
[0076] Specifically, the control terminal is a human-computer interaction device 4, the WiFi module 1 is connected to the IoT server 2 via the external network, the IoT server 2 is connected to the human-computer interaction device 4, the human-computer interaction device 4 edits control commands and sends them to the WiFi module 1 through the IoT server 2, controlling the WiFi module 1 to send a power-on magic packet to the target device 3 in the local area network via UDP broadcast; or the human-computer interaction device 4 controls the opening and closing of the relay 7 contacts through the WiFi module 1 to control the power supply to the socket body.
[0077] Specifically, the WiFi module 1 also includes a storage module, which is used to store the WiFi name and password of the current local area network and the MAC address of the target device 3.
[0078] Specifically, the human-computer interaction device 4 is a computer, mobile phone, or tablet computer.
[0079] Specifically, the socket body is also provided with a configuration button, which is used to pair and connect the wireless receiving module with the wireless power button, or to connect and configure the human-computer interaction device 4 with the WiFi module 1.
[0080] A specific application of this utility model is as follows:
[0081] Upon first use, scan the QR code on the outside of the socket using a human-computer interaction device (such as a mobile phone) to open the URL and access the guide webpage to guide the installation and MAC address configuration; after the configuration is completed, no further configuration is required in subsequent use.
[0082] The specific configuration steps for first-time use are as follows:
[0083] 1. Connect the socket of this utility model to the WiFi of the target local area network:
[0084] 1) Press and hold the configuration button for N seconds to put the socket into AP hotspot network configuration mode;
[0085] 2) After the mobile device connects to this hotspot, a configuration page will pop up via Captive Portal technology, or the configuration page will open after entering the IP address of the WiFi module (e.g., http: / / 10.100.10.1) in the mobile browser. Enter the WiFi name and password of the target local area network and the MAC address of the target computer on the existing page. At this time, only the mobile remote control option can be selected on the existing page. After saving, the WiFi name, password and MAC address will be stored in the storage module, which will switch the socket to STA mode to connect to the WiFi of the target local area network and obtain the target device that needs to be controlled to turn on.
[0086] 2. When WiFi module 1 is in standby mode, it will actively connect to the external IoT server 2 and wait for instructions. Since the mobile phone also connects to the same external IoT server 2, the mobile phone can easily associate with this device and send a boot magic package. If the boot MAC information sent by the mobile phone is inconsistent with the stored MAC information, the socket will update the MAC. The update mechanism is used to wake up different computers.
[0087] In subsequent use, users can edit control commands through the human-computer interaction device 4 and send them to the WiFi module 1 through the IoT server 2, controlling the WiFi module 1 to send a power-on magic package to the target device 3 in the local area network via broadcast.
[0088] Users can also edit control commands through the human-computer interaction device 4 and send them to the WiFi module 1 through the IoT server 2. The WiFi module 1 controls the contacts of the relay 7 to close, so as to power on the socket and enable the computer with disaster recovery function to be turned on.
[0089] In Example 3, Example 1 disclosed that the WiFi module 1 can be controlled remotely via the wireless power button 5, while Example 2 disclosed that the WiFi module 1 can be controlled remotely via a human-computer interaction device.
[0090] In this example, WiFi module 1 can be controlled locally via the wireless power button 5, or remotely via a human-computer interaction device.
[0091] Please refer to the figure. Figures 3 to 8 This utility model provides a socket for powering on, including a socket body having an interface for connecting to mains power, and also including a WiFi module 1.
[0092] The WiFi module 1 is installed inside the socket body and is used to connect to the local area network;
[0093] It also includes a relay 7 installed inside the socket body, one end of which is connected to the mains power and the other end is connected to the interface 8;
[0094] The WiFi module 1 is communicatively connected to the relay 7 and is used to control the opening and closing of the relay 7 contacts;
[0095] It also includes a control terminal, which is connected to the WiFi module 1. The control terminal controls the WiFi module 1 and broadcasts a power-on magic package to the local area network including the target device 3 via the local area network. The control terminal also controls the opening and closing of the contacts of the relay 7 through the WiFi module 1.
[0096] Specifically, the control terminal is a wireless power button 5, and the WiFi module 1 is connected to a wireless receiving module 6.
[0097] The wireless power button 5 is located outside the socket body and is used to communicate with the wireless receiving module 6.
[0098] The wireless receiving module 6 is located inside or outside the socket body.
[0099] After receiving the signal emitted by the wireless power button 5, the wireless receiving module 6 transmits the signal to the WiFi module 1, which then broadcasts a power-on magic packet to the target device in the local area network, thereby powering on the target computer; or the WiFi module controls the closing of the relay contacts to energize the socket body, thereby powering on the target computer.
[0100] The wireless power button 5 has at least a first function button and a second function button;
[0101] After the user presses the first function button, the wireless receiving module 6 receives the first level signal emitted by the wireless power button 5 and transmits the signal to the WiFi module 1. The WiFi module 1 then reads the stored MAC address and sends a power-on magic packet to the target device 3 in the local area network via UDP broadcast, thereby powering on the target computer.
[0102] Alternatively, after the user presses the second function button, the wireless receiving module 6 receives the second level signal emitted by the wireless power button 5 and transmits the signal to the WiFi module 1. The WiFi module then controls the closing of the relay 7 contacts to power on the socket body, thereby powering on the target computer.
[0103] Preferably, the wireless receiver module 6 uses a Firefox DTX1K chip.
[0104] Specifically, the WiFi module 1 includes a main control chip with GPIO pins, and the wireless receiving module 6 and the relay 7 are both connected to the GPIO pins to trigger UDP signal transmission.
[0105] Specifically, the wireless receiving module 6 is a digital signal receiving module or an analog signal receiving module.
[0106] Specifically, the digital signal receiving module is a 2.4G communication receiving module, a Bluetooth module, a Zigbee receiving module, or a Thread receiving module; the analog signal receiving module is a radio frequency (RF) receiving module. The RF receiving module operates at a frequency of 315MHz or 433MHz.
[0107] Specifically, the control terminal is a human-computer interaction device, the WiFi is used to connect the local area network and the external network, the WiFi module 1 connects to the IoT server 2 (such as Alibaba IoT platform, eWeLink, etc.) through the external network, and broadcasts the boot magic package to the local area network including the target device 3 through the local area network.
[0108] WiFi module 1 also has an internal storage module for storing the WiFi name and password of the current local area network and the MAC address of the target device. Target device 3 is the target computer.
[0109] WiFi module 1 is used to connect to both internal and external networks, enabling the socket of this invention to actively connect to the external IoT server 2 in TCP client / MQTT mode. Upon receiving MAC address information, it triggers the TCP client / MQTT mode to switch to UDP broadcast mode, broadcasting the MAC address's boot magic packet to ports 7 and 9 of the local area network 255.255.255.255. Users can optionally reconnect to the external IoT server 2 immediately after sending the UDP signal, waiting for the next trigger to form a closed loop. Simultaneously, the MAC address of this trigger is stored internally in the WiFi module, preparing for triggering by other methods (such as a wireless power button).
[0110] For some computers with disaster recovery capabilities, in addition to the above-mentioned power-on methods, the computer can also be powered on by controlling the power supply to and from the socket itself.
[0111] This utility model also includes a relay 7 disposed inside the socket body. The interface has at least one live wire terminal. The relay 7 is connected to the live wire terminal. The WiFi module is communicatively connected to the relay 7 and is used to control the opening and closing of the relay 7 contacts. After the contacts of the relay 7 are closed, the socket body is powered on, and the computer (with disaster recovery function) connected to the socket body interface automatically turns on.
[0112] Preferably, the WiFi module uses the ESP8266 chip from Shanghai Espressif Systems.
[0113] Specifically, the IoT server 2 is connected to a human-computer interaction device 4. The human-computer interaction device 4 edits control commands and sends them to the WiFi module 1 through the IoT server 2. The WiFi module 1 is then controlled to send a boot magic packet to the target device 3 in the local area network via UDP broadcast. At the same time, the WiFi module 1 stores the sent MAC address. This action can update or add a MAC address.
[0114] Of course, users can also edit control commands through the human-computer interaction device 4 and send them to the WiFi module 1 through the IoT server 2. The WiFi module 1 controls the contacts of the relay 7 to close, so as to power on the socket and enable the computer with disaster recovery function to be turned on.
[0115] Specifically, the human-computer interaction device 4 is a computer, mobile phone, or tablet computer.
[0116] Specifically, the socket body is also provided with a configuration button, which is used to pair and connect the wireless receiving module with the wireless power button, or to connect and configure the human-computer interaction device with the WiFi module.
[0117] A specific application of this utility model is as follows:
[0118] Upon first use, scan the QR code on the outside of the socket using a human-computer interaction device (such as a mobile phone) to open the URL and access the guide webpage to guide the installation and MAC address configuration; after the configuration is completed, no further configuration is required in subsequent use.
[0119] The specific configuration steps for first-time use are as follows:
[0120] 1. Connect the socket of this utility model to the WiFi of the target local area network:
[0121] 1) Press and hold the configuration button for N seconds to put the socket into AP hotspot network configuration mode;
[0122] 2) After the mobile device connects to this hotspot, a configuration page will pop up via Captive Portal technology, or the configuration page will open after entering the IP address of the WiFi module (e.g., http: / / 10.100.10.1) in the mobile browser; enter the WiFi name and password of the target local area network and the MAC address of the target computer on the existing page, and check the option of remote control from the mobile device; after saving, the WiFi name, password and MAC address will be stored in the storage module, causing the socket to switch to STA mode to connect to the WiFi of the target local area network, and at the same time obtain the target device that needs to be controlled to turn on.
[0123] 2. If the user selects remote control via mobile phone, the target computer's built-in WOL function can be manually enabled via the mobile phone. Alternatively, the user can control the WiFi module 1 locally via the wireless power button 5 or remotely via the human-computer interaction device. If the user does not select remote control via mobile phone, the target computer 3 can only be powered on via the wireless power button.
[0124] After the user selects "Allow remote control via mobile phone," WiFi module 1 will actively connect to the external IoT server 2 while in standby mode, awaiting commands. Since the mobile phone also connects to the same external IoT server 2, it can easily associate with this device and send a boot magic packet. If the boot MAC information sent by the mobile phone is inconsistent with the stored MAC information, the socket will update the MAC. This update mechanism is used to wake up different computers.
[0125] In subsequent use, users can edit control commands through the human-computer interaction device 4 and send them to the WiFi module 1 through the IoT server 2, controlling the WiFi module 1 to send a power-on magic package to the target device 3 in the local area network via broadcast.
[0126] Users can also edit control commands through the human-computer interaction device 4 and send them to the WiFi module 1 through the IoT server 2. The WiFi module 1 controls the contacts of the relay 7 to close, so as to power on the socket and enable the computer with disaster recovery function to be turned on.
[0127] After the user presses the first function button, the wireless receiving module 6 receives the first level signal emitted by the wireless power button 5 and transmits the signal to the WiFi module 1. The WiFi module 1 then reads the stored MAC address and sends a power-on magic packet to the target device 3 in the local area network via UDP broadcast, thereby powering on the target computer.
[0128] Alternatively, after the user presses the second function button, the wireless receiving module 6 receives the second level signal emitted by the wireless power button 5 and transmits the signal to the WiFi module 1. The WiFi module then controls the closing of the relay 7 contacts to power on the socket body, thereby powering on the target computer.
[0129] Example 4: This example provides a specific implementation circuit diagram of a socket for powering on.
[0130] Figure 4 In the diagram, U1 is an ESP8266 chip, the relay is connected to one of its GPIO pins, and the wireless receiver module 6 is connected to the other GPIO pin.
[0131] Figure 5 Circuit diagram when the wireless receiver module 6 is an RF receiver module; Figure 6 Circuit diagram when the wireless receiver module 6 is a Bluetooth module; Figure 7 Circuit diagram for AC input of the socket body; Figure 8 Circuit diagram for converting AC input voltage to 5V to power relay 7; Figure 9 This is a circuit diagram for converting 5V to 3.3V for the WiFi module, RF receiver module, and Bluetooth module.
[0132] The advantages of this utility model are: 1. By building a WiFi module in the socket body, it can communicate with the external IoT server by connecting devices in the local area network. The IoT server acts as a relay, which solves the problem of limited public IP resources or inability to obtain public IP and the difficulty in setting up dynamic domain name resolution. This makes it easy to remotely turn on the computer in home networks or enterprise internal networks, greatly expanding the application scenarios of the product.
[0133] 2. No complex dynamic domain name resolution operations are required. By using an IoT server for relay communication, it automatically adapts to the characteristics of home computers' dynamic IP periodic changes and unfixed addresses. Ordinary users can easily achieve remote power-on without professional skills, thus lowering the technical threshold.
[0134] 3. Eliminates the need for the professional and complex operation of setting up port forwarding on the router. Users only need to configure the socket to connect to the local area network, and the WiFi module can broadcast the boot magic package to the target computer in the local area network, which significantly improves the convenience of use.
[0135] 4. This socket integrates two mainstream computer boot methods: it supports the professional WOL and also fully utilizes the AC recovery disaster recovery function to boot up the computer. This solves the problem of the single boot technology of similar products and can boot up more computers compared with similar products.
[0136] 5. With the built-in wireless receiver module, the computer can also be turned on using a wireless remote control or a wireless power button. For special industries, such as high-voltage power, hazardous chemicals, computer rooms, etc., people can turn on the computer remotely without being on-site.
[0137] While specific embodiments of the present invention have been described above, those skilled in the art should understand that the specific embodiments described are merely illustrative and not intended to limit the scope of the present invention. Equivalent modifications and variations made by those skilled in the art in accordance with the spirit of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A socket for starting up, comprising a socket body having an interface connected with commercial power, characterized in that: It also includes a WiFi module: The WiFi module is installed inside the socket body and is used to connect to the local area network; It also includes a relay installed inside the socket body, one end of which is connected to the mains power and the other end is connected to the interface; The WiFi module is communicatively connected to the relay and is used to control the opening and closing of the relay contacts; It also includes a control terminal connected to a WiFi module. The control terminal controls the WiFi module and broadcasts a power-on magic package to the local area network (LAN) including the target device via the LAN. The control terminal also controls the opening and closing of relay contacts through the WiFi module.
2. A socket for starting up as claimed in claim 1, characterized in that: The control terminal is a wireless power button, and the WiFi module is connected to a wireless receiving module. The wireless power button is located on the outside of the socket body and is used for communication connection with the wireless receiving module; The wireless receiving module is located inside or outside the socket body; After receiving the signal emitted by the wireless power button, the wireless receiving module transmits the signal to the WiFi module, which then broadcasts a power-on magic packet to the target device within the local area network, thereby powering on the target computer; or the WiFi module controls the closing of the relay contacts to energize the socket body, thereby powering on the target computer.
3. A socket for starting up as claimed in claim 2, characterized in that: The WiFi module includes a main control chip with GPIO pins, and the wireless receiving module and the relay are both connected to the GPIO pins.
4. A socket for powering on as described in claim 3, characterized in that: The wireless receiving module is either a digital signal receiving module or an analog signal receiving module.
5. A socket for powering on as described in claim 4, characterized in that: The digital signal receiving module is a 2.4G communication receiving module, a Bluetooth module, a Zigbee receiving module, or a Thread receiving module; the analog signal receiving module is a radio frequency receiving module.
6. A socket for powering on as described in any one of claims 1 to 5, characterized in that: The control terminal is a human-computer interaction device. The WiFi module is connected to an IoT server via an external network. The IoT server is connected to the human-computer interaction device. The human-computer interaction device edits control commands and sends them to the WiFi module via the IoT server. The human-computer interaction device controls the WiFi module to send a power-on magic packet to the target device in the local area network via UDP broadcast. Alternatively, the human-computer interaction device controls the opening and closing of relay contacts through the WiFi module to control the power supply to the socket body.
7. A socket for powering on as described in claim 6, characterized in that: The WiFi module also includes a storage module for storing the WiFi name and password of the current local area network and the MAC address of the target device.
8. A socket for powering on as described in claim 6, characterized in that: The human-computer interaction device is a computer, mobile phone, or tablet computer.
9. A socket for powering on as described in claim 6, characterized in that: The socket body is also provided with a configuration button, which is used to pair and connect the wireless receiving module with the wireless power button, or to connect and configure the human-computer interaction device with the WiFi module.