Intelligent socket control system and method based on wireless network

By recognizing user intent and implementing adaptive control, the problem of distinguishing between elderly users' misoperations and network failures has been solved, achieving stable and reliable operation and improved security for smart sockets.

CN121663822APending Publication Date: 2026-03-13ZHEJIANG INOVUS SCI & TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-29
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

Existing smart sockets cannot effectively distinguish between accidental operation and network failure when used by the elderly, leading to frequent accidental operation, potential safety hazards, and inability to resolve network problems in a timely manner.

Method used

By collecting user operation events and system status events, and combining them with historical usage records, the system identifies user operation intentions and achieves adaptive control, including the judgment of intentions to directly switch on/off, mis-touch functions, and respond to network faults, and provides feedback through different indicator light display modes.

Benefits of technology

It improves the operational accuracy and fault tolerance of smart sockets, reduces misoperation, enhances the user experience for elderly users, reduces safety risks, and ensures stable and reliable control of the device in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121663822A_ABST
    Figure CN121663822A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of intelligent control, and particularly discloses an intelligent socket control system and method based on a wireless network, and the method comprises the following steps: collecting a user operation event; collecting a system state event; obtaining a switching record of the intelligent socket in a historical period, and judging an operation intention category of a user in combination with a user operation event and a system state event; according to the type of the operation intention, selecting to execute a corresponding control action; if the intention is the direct switching intention, executing an instruction corresponding to a physical button pressed by a user; if the intention is the function mistaken touch intention, switch switching is executed, and a first indicator light display mode is triggered; and if the intention is the network fault coping intention, switching to a local control mode and triggering a second indicator light display mode. According to the invention, through adaptive control and direct current sightseeing effect feedback, misjudgment caused by mistaken touch or network faults of the elderly is effectively prevented, it is ensured that basic functions are always reliable and available, and the use experience and the sense of security are significantly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of intelligent control technology, specifically to a smart socket control system and method based on a wireless network. Background Technology

[0002] Smart sockets are the core hub for the penetration of IoT technology into home scenarios and a key entry point for the intelligent upgrading of traditional home appliances. They break the limitations of physical space, enabling remote control and status monitoring of home appliances through network connectivity, and integrating ordinary appliances into a smart management system.

[0003] Current simplified designs for smart sockets aimed at the elderly lack consideration for differences in usage habits, leading to frequent problems in actual use. Most products focus solely on "one-button switching" as their core simplification approach, failing to anticipate potential misoperation scenarios by the elderly.

[0004] For example, elderly users might accidentally activate the "timed shutdown" function on the control panel. When triggered, the socket will automatically shut off after a preset time. However, the elderly often cannot associate this with the timer setting and mistakenly believe it's a malfunction. To restore use, they frequently try repeatedly plugging and unplugging the socket, which not only fails to solve the problem but may also accelerate wear and tear on the socket's internal components. Furthermore, the elderly generally cannot distinguish between "network failure" and "device failure." When a network interruption causes the socket to go offline and become unresponsive, they equate it with hardware damage and repeatedly press physical buttons in an attempt to repair it. This ineffective operation not only prevents simple network problems from being resolved promptly but may also lead to safety hazards such as circuit overload due to continued misoperation, turning a small initial problem into a major malfunction requiring professional repair. Summary of the Invention

[0005] The purpose of this invention is to provide a smart socket control system and method based on wireless network to solve the above-mentioned technical problems.

[0006] The objective of this invention can be achieved through the following technical solutions: A method for controlling a smart socket based on a wireless network includes the following steps: Collect user operation events, including the duration of a physical button being pressed and the timestamp of each time the physical button is pressed; Collect system status events, including the current connection status between the smart socket and the wireless network, and the current working status of the timer inside the smart socket; The system acquires the switching records of the smart socket within a historical period, combines user operation events with system status events, and determines the user's operation intent category, which includes direct switching intent, accidental function touch intent, and network fault response intent. Based on the type of operation intent, select and execute the corresponding control action; if it is a direct switch intent, execute the instruction corresponding to the physical button pressed by the user; if it is a function mis-touch intent, execute the switch switching and trigger the first indicator light display mode; if it is a network fault response intent, switch to local control mode and trigger the second indicator light display mode.

[0007] As a further aspect of the present invention: determining the user's operational intent category includes: Use the duration of the physical button being pressed as the first operation attribute; The total number of times the physical button is pressed within a preset time range is used as the second operation attribute. The communication signal strength between the smart socket and the wireless access point is obtained. When the communication signal strength is lower than a preset threshold, the current connection state is determined to be disconnected; otherwise, the current connection state is determined to be connected, and the current connection state is used as the first state attribute. The current working state of the timer determines whether there is a timed task to be executed inside the smart socket, which is used as the second state attribute.

[0008] As a further aspect of the present invention, determining the user's operational intent category also includes: S1: If the first state attribute is connected, then execute step S2; if the first state attribute is disconnected, then execute step S3. S2: If the first operation attribute is greater than the first preset duration threshold, then the operation intent category is determined to be a direct on / off intent; If the first operation attribute is less than or equal to the first preset duration threshold, then the following steps are performed: If the second status attribute indicates that there is no scheduled task to be executed, the operation intent category is determined to be a direct on / off intent; When the second status attribute indicates that there is a scheduled task to be executed, perform the following steps: If the switch record indicates that the current time is during a high-frequency usage period, then the operation intention category is determined to be a direct switch intention; If the switch record indicates that the current time is not during a high-frequency usage period, then the operation intention category is determined to be a function mis-touch intention; S3: If the second operation attribute is greater than the first preset number of times threshold, then the operation intent category is determined to be a network fault response intent; If the second operation attribute is less than or equal to the first preset number of times threshold, then the operation intent category is determined to be a direct on / off intent.

[0009] As a further aspect of the present invention: if the intended function is accidentally activated, then a switch is switched and the first indicator light display mode is triggered, including: Cancel the scheduled task to be executed and change the state of the relay, which includes on and off. If the relay is on, change it to off; if the relay is off, change it to on. After the state of the relay changes, a first control signal is generated. The first control signal is used to drive the indicator light to light intermittently at a first preset frequency, i.e., the first indicator light display mode. After completing a predetermined number of flashes, it returns to the normally lit or normally off state corresponding to the state of the relay.

[0010] As a further aspect of the present invention: if the intention is to handle a network failure, switching to the local control mode and triggering the second indicator light display mode includes: The level signal input of the physical button is associated with the control terminal of the relay drive circuit; After the association is established, a second control signal is generated. The second control signal is used to drive the indicator light to emit light periodically in a smoothly varying brightness, which is the second indicator light display mode.

[0011] As a further aspect of the present invention: obtaining the switching records of the smart socket within a historical period includes: Read the timestamp data corresponding to all switch operations recorded within the historical period; Using a 24-hour cycle as a dimension, the target stamp data is divided into multiple time units by hour; Get the total number of target stamp data within a single time unit. If the total number is greater than a preset threshold, then the corresponding time unit is determined to be a high-frequency usage period.

[0012] As a further aspect of the present invention, it also includes the step of updating the switch record: After each instance of determining a direct on / off intention and executing the command corresponding to the physical button pressed by the user, or after determining a function mis-touch intention and executing the on / off switch, record the type and timestamp of this operation. Add the timestamp of this record to the set of timestamp data corresponding to all switch operations recorded within the historical period; Use the updated set of timestamp data to re-execute the steps for determining high-frequency usage periods.

[0013] A wireless network-based smart socket control system, characterized in that it includes: Data acquisition module: Collects user operation events, including the duration of a physical button being pressed and the timestamp of each time the physical button is pressed; Collect system status events, including the current connection status between the smart socket and the wireless network, and the current working status of the timer inside the smart socket; Intent recognition module: acquires the smart socket's on / off records within a historical period, combines user operation events and system status events to determine the user's operation intent category, which includes direct on / off intent, function mis-touch intent, and network fault response intent; Control module: Based on the type of operation intent, select and execute the corresponding control action; if it is a direct switch intent, execute the instruction corresponding to the physical button pressed by the user; if it is a function mis-touch intent, execute the switch switching and trigger the first indicator light display mode; if it is a network fault response intent, switch to local control mode and trigger the second indicator light display mode.

[0014] The beneficial effects of this invention compared to the prior art are as follows: This invention, through comprehensive analysis of user operation events, system status events, and historical usage records, can proactively identify the user's true operational intent, enabling a humanized response from the smart socket. This method gives the system adaptive capabilities in different usage scenarios: when the user performs a normal switch operation, the socket can accurately respond to the command; when a mis-touch occurs, the system can automatically identify and correct it, avoiding abnormal power outages due to incorrect settings; when a network anomaly occurs, the system can automatically switch to local control mode to ensure continuous device availability. Simultaneously, different indicator light display modes provide intuitive status feedback, allowing users to clearly perceive the socket's current operating status and reducing repetitive or erroneous operations caused by misjudgments. Therefore, this invention effectively improves the operational accuracy and fault tolerance of the smart socket, significantly improves the user experience for elderly users, reduces potential safety risks caused by device misoperation, and achieves stable and reliable control in complex usage scenarios. Attached Figure Description

[0015] The invention will now be further described with reference to the accompanying drawings.

[0016] Figure 1 This is a flowchart illustrating a smart socket control method based on a wireless network according to the present invention. Detailed Implementation

[0017] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0018] Please see Figure 1 As shown, this invention is a smart socket control method based on a wireless network, comprising the following steps: Collect user operation events, including the duration of a physical button being pressed and the timestamp of each time the physical button is pressed; Collect system status events, including the current connection status between the smart socket and the wireless network, and the current working status of the timer inside the smart socket; The system acquires the switching records of the smart socket within a historical period, combines user operation events with system status events, and determines the user's operation intent category, which includes direct switching intent, accidental function touch intent, and network fault response intent. In a preferred embodiment of the present invention, determining the user's operational intent category includes: Use the duration of the physical button being pressed as the first operation attribute; The total number of times the physical button is pressed within a preset time range is used as the second operation attribute. The communication signal strength between the smart socket and the wireless access point is obtained. When the communication signal strength is lower than a preset threshold, the current connection state is determined to be disconnected; otherwise, the current connection state is determined to be connected, and the current connection state is used as the first state attribute. The current working state of the timer determines whether there is a timed task to be executed inside the smart socket, which is used as the second state attribute.

[0019] In a preferred embodiment, determining the user's operation intent category further includes: S1: If the first state attribute is connected, then execute step S2; if the first state attribute is disconnected, then execute step S3. S2: If the first operation attribute is greater than the first preset duration threshold, then the operation intent category is determined to be a direct on / off intent; If the first operation attribute is less than or equal to the first preset duration threshold, then the following steps are performed: If the second status attribute indicates that there is no scheduled task to be executed, the operation intent category is determined to be a direct on / off intent; When the second status attribute indicates that there is a scheduled task to be executed, perform the following steps: If the switch record indicates that the current time is during a high-frequency usage period, then the operation intention category is determined to be a direct switch intention; If the switch record indicates that the current time is not during a high-frequency usage period, then the operation intention category is determined to be a function mis-touch intention; S3: If the second operation attribute is greater than the first preset number of times threshold, then the operation intent category is determined to be a network fault response intent; If the second operation attribute is less than or equal to the first preset number of times threshold, then the operation intent category is determined to be a direct on / off intent.

[0020] It is worth noting that branching based on network connection status is based on the principle that the connection status essentially determines the device's capability boundaries and the user's expected range. When online, functional complexity is the main risk, while when offline, control reliability is the core requirement.

[0021] For short-press operations within the online path (i.e., the first operation attribute ≤ the first preset duration threshold), a short press only reflects the lightweight nature of the operation and still needs to be combined with the timed task background represented by the second state attribute to limit its semantic interpretation. When the second state attribute indicates that there is no timed task to be executed, there are currently no control constraints caused by the timed task, and the short press is more in line with the conventional interaction intention of instantly switching the power supply status, so it is judged as a direct switch intention. When the second state attribute indicates that there is a timed task to be executed, the short press occurs in the context of existing timed control, which is prone to user misjudgment of the reason for power supply changes or unintended intervention in existing arrangements, and needs to be interpreted in conjunction with the time usage context reflected by the switch record. When the switch record indicates that the current time is in a high-frequency usage period, the demand for continuous power supply is stronger during this period, so it is judged as a direct switch intention; when the switch record indicates that the current time is not in a high-frequency usage period, the tolerance for power supply status changes is higher during this period, and the short press can still be conservatively interpreted as basic switch control in the context of existing timed tasks, so it is judged as a function mis-touch intention.

[0022] The principle of identifying a single operation as a direct on / off switch in offline scenarios adheres to the principle of mitigating control system failures. Even when the network is unavailable, the most basic physical operation channel must remain completely reliable; this is the bottom line requirement for smart devices to retain their essential function as tools. The principle of identifying frequent operations as a network failure response is based on the mapping relationship between behavioral patterns and psychological states. High-frequency operations within a short period constitute an abnormal signal. This deviation from normal usage patterns accurately reflects the user's anxiety caused by control failure. In abnormal situations, users may attempt to press buttons multiple times to control the device.

[0023] Based on the type of operation intent, select and execute the corresponding control action; if it is a direct switch intent, execute the instruction corresponding to the physical button pressed by the user; if it is a function mis-touch intent, execute the switch switching and trigger the first indicator light display mode; if it is a network fault response intent, switch to local control mode and trigger the second indicator light display mode.

[0024] Understandably, once it's determined that the user genuinely intended to "turn on" or "turn off" the socket, and it's not a mistake or a network issue, the system will execute the corresponding action based on the user's actual intention in pressing the button. That is, if the socket was originally off when the user pressed the button, the power will be turned on; if the socket was originally on, the power will be turned off. This step executes the most basic and direct action—allowing the socket to switch on and off according to the button's operation, without any additional logical intervention.

[0025] In another preferred embodiment of the present invention, if the intention is a erroneous activation of a function, then a switch is toggled and the first indicator light display mode is triggered, including: Cancel the scheduled task to be executed and change the state of the relay, which includes on and off. If the relay is on, change it to off; if the relay is off, change it to on. After the state of the relay changes, a first control signal is generated. The first control signal is used to drive the indicator light to light intermittently at a first preset frequency, i.e., the first indicator light display mode. After completing a predetermined number of flashes, it returns to the normally lit or normally off state corresponding to the state of the relay.

[0026] It should be noted that when the current operation is determined to be a misoperation, switching the switch and triggering the first indicator light display mode allows the socket to automatically correct the misoperation without affecting normal use. Canceling pending timed tasks prevents the socket from automatically cutting off power at a preset time due to misoperation of the timer function, thus avoiding the user's mistaken belief that the device is malfunctioning. Changing the relay's conduction state immediately puts the socket into a working state consistent with the user's actual needs, achieving a rematch between the operation and the intended use. After the relay state switch is completed, a control signal is generated to drive the indicator light, causing the indicator light to illuminate intermittently at a preset frequency, conveying a message to the user that the misoperation has been automatically handled through brief flashing. After the flashing ends, the indicator light returns to the normally on or normally off state corresponding to the current relay state, ensuring that the visual feedback is consistent with the actual working state of the device. Through this process, the three actions of task cancellation, state correction, and user prompting can be completed in an orderly manner when an unexpected operation is detected, achieving immediate repair and user-friendly feedback for misoperation, logically ensuring the continuity of socket control and the stability of the user experience.

[0027] In another preferred embodiment of the present invention, if the intention is to handle a network failure, switching to the local control mode and triggering the second indicator light display mode includes: The level signal input of the physical button is associated with the control terminal of the relay drive circuit; After the association is established, a second control signal is generated. The second control signal is used to drive the indicator light to emit light periodically in a smoothly varying brightness, which is the second indicator light display mode.

[0028] When a network failure is detected, switching to local control mode and triggering the second indicator light mode maintains the socket's controllability even with wireless connectivity lost. The physical button's signal level is directly linked to the relay drive circuit's control terminal, allowing button operation to bypass the network module and directly affect the power circuit's on / off state. This ensures physical control of the device even during network interruption. This re-establishment of the signal path allows the socket to independently execute commands after losing remote communication capabilities, preventing users from being unable to use the device due to network anomalies. After establishing the signal association, a second control signal is generated, driving the indicator light to smoothly change brightness and create a periodic, cyclical lighting effect. This stable light change indicates the current local control state. The gradual brightness change simulates a breathing-like light sensation, providing clear yet gentle visual feedback, allowing users to intuitively recognize changes in the device's operating status without needing to understand technical details. Through this approach, the socket achieves instant switching of the control link and perceptible status feedback during network loss, logically ensuring the continuity of device operation and the understandability of status communication.

[0029] In this solution, when a network connection interruption is detected, the system automatically switches to local control mode to ensure that the physical buttons remain functional. Simultaneously, a unique breathing light display mode is activated to visually indicate that the network is disconnected but the device itself is functioning normally. This ensures control effectiveness at the physical level and eliminates user confusion at the information level. If the user frequently presses buttons while offline, exceeding a preset threshold, this is identified as an attempt to address a network failure. In this case, the local control mode and breathing light status remain unchanged. By maintaining consistency between functional availability and status indication, the user clearly perceives that the device hardware is operating normally and the problem stems from a network connection issue. This fundamentally avoids misinterpreting network failures as device malfunctions and resulting in ineffective operations.

[0030] In another preferred embodiment of the present invention, obtaining the switching records of the smart socket within a historical period includes: Read the timestamp data corresponding to all switch operations recorded within the historical period; Using a 24-hour cycle as a dimension, the target stamp data is divided into multiple time units by hour; Get the total number of target stamp data within a single time unit. If the total number is greater than a preset threshold, then the corresponding time unit is determined to be a high-frequency usage period.

[0031] Understandably, this also includes the step of updating the switch record: After each instance of determining a direct on / off intention and executing the command corresponding to the physical button pressed by the user, or after determining a function mis-touch intention and executing the on / off switch, record the type and timestamp of this operation. Add the timestamp of this record to the set of timestamp data corresponding to all switch operations recorded within the historical period; Use the updated set of timestamp data to re-execute the steps for determining high-frequency usage periods.

[0032] A wireless network-based smart socket control system includes: Data acquisition module: Collects user operation events, including the duration of a physical button being pressed and the timestamp of each time the physical button is pressed; Collect system status events, including the current connection status between the smart socket and the wireless network, and the current working status of the timer inside the smart socket; Intent recognition module: acquires the smart socket's on / off records within a historical period, combines user operation events and system status events to determine the user's operation intent category, which includes direct on / off intent, function mis-touch intent, and network fault response intent; Control module: Based on the type of operation intent, select and execute the corresponding control action; if it is a direct switch intent, execute the instruction corresponding to the physical button pressed by the user; if it is a function mis-touch intent, execute the switch switching and trigger the first indicator light display mode; if it is a network fault response intent, switch to local control mode and trigger the second indicator light display mode.

[0033] The foregoing has provided a detailed description of one embodiment of the present invention, but this description is merely a preferred embodiment and should not be construed as limiting the scope of the invention. All equivalent variations and modifications made within the scope of the present invention should still fall within the scope of the present invention.

Claims

1. A method for controlling a smart socket based on a wireless network, characterized in that, Includes the following steps: Collect user operation events, including the duration of a physical button being pressed and the timestamp of each time the physical button is pressed; Collect system status events, including the current connection status between the smart socket and the wireless network, and the current working status of the timer inside the smart socket; The system acquires the switching records of the smart socket within a historical period, combines user operation events with system status events, and determines the user's operation intent category, which includes direct switching intent, accidental function touch intent, and network fault response intent. Based on the type of operation intent, select and execute the corresponding control action; if it is a direct switch intent, execute the instruction corresponding to the physical button pressed by the user; if it is a function accidental touch intent, execute the switch switching and trigger the first indicator light display mode. If the intention is to handle a network failure, switch to local control mode and trigger the second indicator light display mode.

2. The method for controlling a smart socket based on a wireless network according to claim 1, characterized in that, The categories for determining a user's operational intent include: Use the duration of the physical button being pressed as the first operation attribute; The total number of times the physical button is pressed within a preset time range is used as the second operation attribute. The communication signal strength between the smart socket and the wireless access point is obtained. When the communication signal strength is lower than a preset threshold, the current connection state is determined to be disconnected; otherwise, the current connection state is determined to be connected, and the current connection state is used as the first state attribute. The current working state of the timer determines whether there is a timed task to be executed inside the smart socket, which is used as the second state attribute.

3. The method for controlling a smart socket based on a wireless network according to claim 2, characterized in that, The categories for determining user intent also include: S1: If the first state attribute is connected, then execute step S2; if the first state attribute is disconnected, then execute step S3. S2: If the first operation attribute is greater than the first preset duration threshold, then the operation intent category is determined to be a direct on / off intent; If the first operation attribute is less than or equal to the first preset duration threshold, then the following steps are performed: If the second status attribute indicates that there is no scheduled task to be executed, the operation intent category is determined to be a direct on / off intent; When the second status attribute indicates that there is a scheduled task to be executed, perform the following steps: If the switch record indicates that the current time is during a high-frequency usage period, then the operation intention category is determined to be a direct switch intention; If the switch record indicates that the current time is not during a high-frequency usage period, then the operation intention category is determined to be a function mis-touch intention; S3: If the second operation attribute is greater than the first preset number of times threshold, then the operation intent category is determined to be a network fault response intent; If the second operation attribute is less than or equal to the first preset number of times threshold, then the operation intent category is determined to be a direct on / off intent.

4. The method for controlling a smart socket based on a wireless network according to claim 3, characterized in that, If the intended function is accidentally activated, the switch will be toggled and the first indicator light display mode will be triggered, including: Cancel the scheduled task to be executed and change the state of the relay, which includes on and off. If the relay is on, change it to off; if the relay is off, change it to on. After the state of the relay changes, a first control signal is generated. The first control signal is used to drive the indicator light to light intermittently at a first preset frequency, i.e., the first indicator light display mode. After completing a predetermined number of flashes, it returns to the normally lit or normally off state corresponding to the state of the relay.

5. The method for controlling a smart socket based on a wireless network according to claim 4, characterized in that, If the intention is to handle a network failure, switch to local control mode and trigger the second indicator light display mode, including: The level signal input of the physical button is associated with the control terminal of the relay drive circuit; After the association is established, a second control signal is generated. The second control signal is used to drive the indicator light to emit light periodically in a smoothly varying brightness, which is the second indicator light display mode.

6. The method for controlling a smart socket based on a wireless network according to claim 5, characterized in that, The smart plug's on / off records for the historical period include: Read the timestamp data corresponding to all switch operations recorded within the historical period; Using a 24-hour cycle as a dimension, the target stamp data is divided into multiple time units by hour; Get the total number of target stamp data within a single time unit. If the total number is greater than a preset threshold, then the corresponding time unit is determined to be a high-frequency usage period.

7. The method for controlling a smart socket based on a wireless network according to claim 6, characterized in that, It also includes the step of updating the switch record: After each instance of determining a direct on / off intention and executing the command corresponding to the physical button pressed by the user, or after determining a function mis-touch intention and executing the on / off switch, record the type and timestamp of this operation. Add the timestamp of this record to the set of timestamp data corresponding to all switch operations recorded within the historical period; Use the updated set of timestamp data to re-execute the steps for determining high-frequency usage periods.

8. A smart socket control system based on a wireless network, characterized in that, include: Data acquisition module: Collects user operation events, including the duration of a physical button being pressed and the timestamp of each time the physical button is pressed; Collect system status events, including the current connection status between the smart socket and the wireless network, and the current working status of the timer inside the smart socket; Intent recognition module: acquires the smart socket's on / off records within a historical period, combines user operation events and system status events to determine the user's operation intent category, which includes direct on / off intent, function mis-touch intent, and network fault response intent; Control module: Based on the type of operation intent, select and execute the corresponding control action; if it is a direct switch intent, execute the instruction corresponding to the physical button pressed by the user; if it is a function mis-touch intent, execute the switch switching and trigger the first indicator light display mode. If the intention is to handle a network failure, switch to local control mode and trigger the second indicator light display mode.