Smart wall switch and control method thereof

By using event-driven dynamic text display on the screen and a unified management and linkage rules on the control platform, the problem of personalized display and complex configuration of external device linkage for smart wall switches has been solved. This has enabled flexible text content display and a simplified configuration process, thus improving the user experience.

CN122339876APending Publication Date: 2026-07-03WUHAN LINPTECH

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
WUHAN LINPTECH
Filing Date
2026-04-03
Publication Date
2026-07-03

AI Technical Summary

Technical Problem

The screen display content of existing smart wall switches cannot meet personalized needs, the button label display method is monotonous, the user customization configuration is complicated, and the configuration of external device linkage is cumbersome.

Method used

By dynamically displaying text on the screen through event-driven mechanisms, combining local proximity sensing and external device linkage, and using a control platform to uniformly manage linkage rules, the text content and display scene can be flexibly decoupled, and a synchronization mechanism can be provided to simplify the configuration process.

Benefits of technology

It enables personalized displays for smart wall switches, reduces user learning costs and operational burdens, simplifies the configuration process, and improves response speed and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122339876A_ABST
    Figure CN122339876A_ABST
Patent Text Reader

Abstract

This disclosure relates to a smart wall switch and its control method. The control method includes: acquiring custom text content, the custom text content including at least one pre-edited text, the text having no fixed binding relationship with the button of the smart wall switch; responding to a first trigger event, controlling the screen to display a first specified text from the custom text content; wherein the first trigger event includes the smart wall switch detecting the presence of a user; and / or, responding to a second trigger event, controlling the screen to display a second specified text from the custom text content; wherein the second trigger event includes receiving a control command from a control platform, the control command being generated by the control platform based on external device status change information and user-preset linkage rules.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This disclosure relates to the field of smart home technology, and in particular to a smart wall switch and its control method. Background Technology

[0002] With the rapid development of smart home technology, smart wall switches with displays are gradually becoming an important interactive entry point for home intelligent control.

[0003] To meet users' personalized display needs, these devices typically support multiple interface display contents, and with the rapid development of smart home technology, smart wall switches with proximity sensing functions are gradually being applied in home and office scenarios.

[0004] The screen display content of existing smart wall switches mainly includes the device control interface and button function labels. While the button labels can be customized by users, the display method is monotonous and cannot meet personalized display needs. Summary of the Invention

[0005] The purpose of this disclosure is to provide a smart wall switch and a control method thereof, wherein text is dynamically displayed on the screen via event-driven mechanisms.

[0006] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein when a user is detected by a local proximity sensor, or when a control command is received from an external device, the screen displays corresponding text according to preset rules.

[0007] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein the same text can be invoked by different triggering events, thereby achieving flexible decoupling between text content and display scene.

[0008] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein the linkage rules are uniformly managed and control commands are generated through a control platform, thereby achieving decoupled linkage between external devices and the smart wall switch. Users do not need to configure a smart wall switch for each external device separately; they only need to define linkage rules on the control platform, which greatly simplifies the configuration process. At the same time, it supports both cloud and local deployment modes, taking into account the needs of remote control and local rapid response.

[0009] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein a user can configure display text for local proximity sensing triggering and external device linkage triggering via a terminal device.

[0010] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein the provided "last configuration overwrites first configuration" synchronization mechanism ensures that the final configuration result is consistent with the user's last operation intention.Figure 1 This reduces the learning cost and operational burden for users.

[0011] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein the provided prior-modification synchronization mechanism enables the smart wall switch to automatically optimize its configuration according to the user's actual usage scenario, reducing the burden of manual adjustment for the user.

[0012] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein in a multi-display configuration, each display screen independently undertakes its corresponding display and interactive feedback functions.

[0013] To achieve at least one of the above objectives, according to a first aspect of this disclosure, a control method is provided for a smart wall switch, the smart wall switch being able to communicate with a control platform, the smart wall switch being suitable for installation in a power line and being able to control a high-voltage load, and the smart wall switch having at least one screen; the control method includes: acquiring custom text content, the custom text content including at least one pre-edited text, the text having no fixed binding relationship with a button of the smart wall switch; responding to a first trigger event, controlling the screen to display a first specified text in the custom text content; wherein the first trigger event includes the smart wall switch detecting the presence of a user; and / or, responding to a second trigger event, controlling the screen to display a second specified text in the custom text content; wherein the second trigger event includes receiving a control command from a control platform, the control command being generated by the control platform based on external device status change information and user-preset linkage rules.

[0014] According to an embodiment of this disclosure, the linkage rule includes at least one condition-action pair. The condition-action pair is triggered by at least one changeable state of at least one external device connected to the control platform, and the execution action is to control at least one screen of the smart wall switch to display at least one text in the custom text content. The control command is issued by the control platform after determining the matching condition-action pair based on the received state change information, according to the execution action defined by the matching condition-action pair, so that the smart wall switch displays the text pointed to by the execution action as the second specified text.

[0015] According to an embodiment of this disclosure, the control method further includes: receiving a user interface configuration instruction; the user interface configuration instruction is generated by a terminal device in response to a user selecting a target text from a plurality of selectable interface contents; and determining the target text as a first specified text displayed on the screen when the first triggering event is triggered, based on the user interface configuration instruction.

[0016] According to embodiments of this disclosure, the custom text content includes multiple texts; when the first specified text and the second specified text are configured to point to different texts, the texts pointed to by the first specified text and the second specified text are synchronized according to a preset synchronization rule, so that the first specified text and the second specified text point to the same text.

[0017] According to an embodiment of this disclosure, synchronizing the text pointed to by the first specified text and the second specified text according to a preset synchronization rule includes: determining the text pointed to by the later-configured specified text as the synchronization target according to the order of the configuration times of the first specified text and the second specified text, and replacing the text pointed to by the earlier-configured specified text with the synchronization target.

[0018] According to embodiments of this disclosure, synchronizing the text pointed to by the first specified text and the second specified text according to a preset synchronization rule includes: when the first specified text and the second specified text point to different texts, before the smart wall switch receives the second trigger event, if the first trigger event is received, then in response to the first trigger event, controlling the screen to display the text pointed to by the first specified text; after the smart wall switch first receives the second trigger event, modifying the text pointed to by the first specified text to the text pointed to by the second specified text, and thereafter, if the first trigger event is received, then in response to the first trigger event, controlling the screen to display the modified text pointed to by the first specified text.

[0019] According to embodiments of this disclosure, the custom text content includes multiple texts; when the first specified text and the second specified text point to different texts: based on the type of the triggering event, the screen is selectively controlled to display the text corresponding to the triggering event; wherein, in response to the first triggering event, the screen is controlled to display the text pointed to by the first specified text; in response to the second triggering event, the screen is controlled to display the text pointed to by the second specified text.

[0020] According to embodiments of this disclosure, the screen includes a display screen, and the smart wall switch has multiple display screens; the control method further includes: independently determining a first specified text corresponding to each display screen according to user interface configuration instructions.

[0021] According to an embodiment of this disclosure, the method further includes: receiving a screen saver type configuration instruction from a terminal device, the screen saver type configuration instruction being used to specify the screen saver type of the smart wall switch; when a preset condition is met, controlling the screen to enter a screen saver state, and determining the display style of the screen saver interface according to the screen saver type specified by the screen saver type configuration instruction; wherein, when the screen saver type belongs to a first preset category, the second specified text is displayed on the screen saver interface; when the screen saver type belongs to a second preset category, the second specified text is not displayed on the screen saver interface.

[0022] According to embodiments of this disclosure, obtaining custom text content includes: receiving at least one pre-edited text from a terminal device before the first triggering event or the second triggering event occurs, and storing the text locally in the smart wall switch; or, immediately obtaining at least one pre-edited text upon receiving the first triggering event or the second triggering event.

[0023] To achieve at least one of the above objectives, according to a second aspect of this disclosure, a smart wall switch is provided, comprising: a memory for storing interface data corresponding to an interface style scheme; a communication processing module for communicating with a mobile terminal; a screen for display; and a processor electrically connected to the memory, the communication processing module, and the screen, wherein the processor is configured to execute the control method provided in the first aspect above to present the interface style scheme through the display screen.

[0024] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. The foregoing inventive descriptions can be combined in any way, and these and other objectives of this disclosure will be fully realized through the following detailed description and accompanying drawings.

[0025] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description

[0026] To more clearly illustrate the technical solutions in the embodiments of this disclosure or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below. These drawings are incorporated in and constitute a part of this specification, illustrating embodiments consistent with this application and serving together with the specification to explain the principles of this application. Obviously, the drawings described below are merely some embodiments of this disclosure. For those skilled in the art, other drawings can be obtained based on these drawings without any creative effort.

[0027] Figure 1This is a schematic diagram of the working environment system of a smart wall switch according to an embodiment of the present disclosure;

[0028] Figure 2 This is a flowchart illustrating a control method according to an embodiment of the present disclosure;

[0029] Figure 3 This is a schematic diagram of the operation process for configuring and selecting custom text content of a smart wall switch according to an embodiment of the present disclosure;

[0030] Figure 4 In one embodiment of this disclosure, and Figure 3 A schematic diagram of the display interface of the corresponding smart wall switch;

[0031] Figure 5 This is a schematic diagram of the operation process for configuring and selecting custom text content for another smart wall switch in one embodiment of this disclosure;

[0032] Figure 6 In one embodiment of this disclosure, and Figure 5 A schematic diagram of the display interface of the corresponding smart wall switch;

[0033] Figure 7 This is a schematic diagram of a screensaver type selection interface in one embodiment of this disclosure;

[0034] Figure 8 This is a schematic diagram of the interface of another smart wall switch displaying a second specified text under a minimalist screensaver in one embodiment of this disclosure;

[0035] Figure 9 This is a schematic diagram of the detection strategy configuration interface in one embodiment of this disclosure;

[0036] Figure 10 This is a schematic diagram of the automatic distance setting process in one embodiment of the present disclosure;

[0037] Figure 11 This is a schematic diagram of a custom interface process in one embodiment of this disclosure;

[0038] Figure 12 This is a schematic diagram of the intelligent control module configuration process in one embodiment of this disclosure;

[0039] Figure 13 This is a schematic diagram of the smart wall interface display after the smart control module in the custom interface is configured to display the weather in one embodiment of this disclosure;

[0040] Figure 14 This is a schematic diagram of the smart wall interface display after the smart control module in the custom interface is configured to display the time in one embodiment of this disclosure;

[0041] Figure 15This is a schematic diagram of the configuration process of a secondary display interface of a smart wall switch according to an embodiment of the present disclosure;

[0042] Figure 16 In one embodiment of this disclosure, and Figure 15 A schematic diagram of the display interface of the corresponding smart wall switch;

[0043] Figure 17 This is a schematic diagram of the configuration process of the primary display interface of another smart wall switch in one embodiment of this disclosure;

[0044] Figure 18 In one embodiment of this disclosure, and Figure 17 A schematic diagram of the display interface of the corresponding smart wall switch;

[0045] Figure 19 This is a schematic diagram of the configuration process of the primary display interface of another smart wall switch in one embodiment of the present disclosure;

[0046] Figure 20 In one embodiment of this disclosure, and Figure 19 A schematic diagram of the display interface of the corresponding smart wall switch;

[0047] Figure 21 This is a schematic diagram of the module composition of a smart wall switch according to one embodiment of the present disclosure. Detailed Implementation

[0048] The embodiments of this disclosure will now be described in detail.

[0049] Furthermore, the technical features involved in the various embodiments of this disclosure described below can be combined with each other as long as they do not conflict with each other.

[0050] The following is combined with Figure 1 The working environment system of the intelligent wall switch involved in this invention is described. This system provides the operating environment and implementation basis for the various control methods of the intelligent wall switch.

[0051] like Figure 1 As shown, the system includes: smart wall switches, terminal devices, relay devices, and cloud servers.

[0052] The smart wall switch is capable of communicating with the terminal device. It is suitable for installation in power lines and can be used to control high-voltage loads. The smart wall switch has at least one screen for display. Furthermore, it has the ability to control the on / off state or adjust high-voltage loads (such as lights, fans, and motorized curtains) via relays or SCRs. The smart wall switch can establish a communication connection with the user's terminal device to receive instructions or data from the terminal device.

[0053] Specifically, the smart wall switch described in this disclosure is an electrical control device that integrates display and interactive functions. It is installed in a standard wall box (e.g., type 86 or similar) and positioned between the mains power line and the high-voltage load. In some embodiments, a smart wall switch is also provided, which internally includes at least a memory, a communication processing module, a screen, and a processor.

[0054] The memory, such as a Flash memory, is used to store various data required in subsequent control methods.

[0055] The communication processing module, such as a Bluetooth module, is used to communicate with terminal devices (such as mobile terminals) and relay devices.

[0056] The screen, such as a display (e.g., LCD, OLED, or e-ink screen), is used to present the user interface.

[0057] The processor, such as a microcontroller (MCU) or application processor, is electrically connected to the memory, the communication processing module, and the screen, and is used to execute the control methods provided in subsequent embodiments.

[0058] In this embodiment of the disclosure, the terminal device may be, for example, a user's smartphone, tablet, or other mobile terminal with computing and communication capabilities. The terminal device has a dedicated application (App) installed, through which the user can browse, select, or manage the interface style scheme of the smart wall switch and / or personalize the user interface of the smart wall switch.

[0059] The cloud server refers to a server system deployed in the Internet cloud for storing and managing interface style scheme data, processing terminal device requests, and interacting with relay devices.

[0060] The relay device refers to a device deployed in the user's local network environment that can realize communication forwarding between the cloud server and the smart wall switch, such as a smart home gateway, router, etc.

[0061] Taking the relay device as the gateway device as an example, the smart wall switch and the gateway device establish a connection using short-range wireless communication protocols (such as Zigbee and Bluetooth Mesh) for transmitting detection status, receiving commands, and reporting event information. The gateway device and the cloud server connect to the internet via a home router, using IoT protocols such as MQTT, HTTP, or CoAP for bidirectional communication, enabling data uploading and command distribution. The terminal device and the cloud server connect to the internet via a mobile network or Wi-Fi, using secure protocols such as HTTPS for data interaction. Users can perform corresponding operations on the application, and data is synchronized to the gateway device and the smart wall switch via the cloud server. In a local area network environment, the terminal device can also communicate directly with the gateway device via local network protocols to achieve local control of the smart wall switch, reducing cloud dependence and improving response speed.

[0062] In some solutions, the communication between the smart wall switch and the terminal device can take at least one of two paths: a remote control path and a local direct connection path.

[0063] The remote control path involves the terminal device connecting to a cloud server via the internet, and the cloud server forwarding instructions to the smart wall switch via a relay device (such as a home smart gateway).

[0064] The local direct connection path involves establishing a point-to-point wireless communication connection (such as Bluetooth direct connection) between the terminal device and the smart wall switch. This path avoids multiple forwardings of data through cloud servers and gateway devices, improving transmission efficiency and reliability.

[0065] In some solutions, the smart wall switch also has human body sensing capabilities, which can detect whether there is a human body within the detection range and then execute corresponding control logic.

[0066] It should be noted that the above system is only an exemplary implementation method, and can be adapted to meet product requirements and network environment in practical applications. Any modifications and substitutions that do not depart from the concept of this invention should fall within the protection scope of this invention.

[0067] In some embodiments, a control method is provided, applied to the above-mentioned smart wall switch, or, as... Figure 1 The operating environment system shown relates to the smart wall switch. Specifically, the control method includes at least the following steps:

[0068] In a predetermined state on the screen, a detection signal is emitted outward; the detection signal is used to detect whether there is a human body within a specified range of the smart wall switch;

[0069] If a valid feedback signal is received, it is determined that a human body is present, and the control screen switches to the corresponding user interface.

[0070] In some embodiments, custom text content may be displayed in the user interface of the screen.

[0071] like Figure 2 As shown, one embodiment of this disclosure also provides a control method for dynamic screen display driven by events. This control method is applied to a smart wall switch and can enhance the personalized display capabilities of the smart wall switch screen. The control method includes steps S1 and S2.

[0072] In step S1, the smart wall switch acquires custom text content; the custom text content includes at least one pre-edited text, which is not fixedly bound to any button on the smart wall switch. In other words, the custom text content does not exist as an identifier for a specific button, but rather as independent display content, the display of which can be driven by a triggering event.

[0073] In step S2, the smart wall switch responds to a first trigger event by controlling the screen to display a first specified text from the custom text content; wherein the first trigger event includes the smart wall switch detecting the presence of a user; and / or, responds to a second trigger event by controlling the screen to display a second specified text from the custom text content; wherein the second trigger event includes receiving a control command from a control platform, the control command being generated by the control platform based on external device status change information and user-preset linkage rules.

[0074] In this embodiment, the control platform can be understood as a device or system capable of receiving information about changes in the status of external devices, generating control commands according to user-preset linkage rules, and sending the control commands to the smart wall switch. The control platform can be a remote server deployed in the cloud, a local gateway, smart home hub, or edge computing node deployed in a home LAN, or a hybrid architecture system where the cloud and local systems work together. Regardless of the specific implementation of the control platform, as long as it performs the functions of "receiving external events, matching linkage rules, and issuing control commands," it falls within the protection scope of this disclosure.

[0075] As can be seen, in the above embodiments, when the local proximity sensor detects the presence of a user, or when a control command linked to an external device is received, the screen displays the corresponding text according to preset rules. This approach allows the same text to be invoked by different triggering events, achieving flexible decoupling between text content and display scene.

[0076] In some embodiments, the linkage rule includes at least one condition-action pair, wherein the condition-action pair is triggered by at least one variable state of at least one external device connected to the control platform (e.g., "when the human body sensor detects someone moving"), and is executed by controlling at least one screen of the smart wall switch to display at least one text in the custom text content (e.g., displaying text 1: Someone entered the living room).

[0077] The control command is issued by the control platform after determining the matching condition-action pair based on the received state change information, and then issuing the execution action defined by the matching condition-action pair. This command is used to cause the smart wall switch to display the text pointed to by the execution action as the second specified text.

[0078] Specifically, users pre-create automated linkage rules via terminal devices (such as mobile apps) and store these rules in the control platform. Each text is edited by the user beforehand and saved locally to the smart wall switch via the terminal device.

[0079] The control platform continuously monitors the status of various external devices belonging to the same smart home platform account as the smart wall switch. When the status of an external device changes, the control platform receives the status change information and performs a matching query in its locally stored linkage rule library. If a matching linkage rule exists, the control platform determines the text to be displayed based on that rule and generates the corresponding control command.

[0080] The control platform sends the generated control commands to the smart wall switch. After receiving the control commands, the smart wall switch parses them and controls the screen to display the corresponding text.

[0081] For example, a user creates a linkage rule: "When the door / window sensor detects that the door / window is open, the smart wall switch screen in the living room will display 'Doors / windows are open'." This linkage rule is stored on a cloud server (one implementation of the control platform). When the door / window sensor changes its state from closed to open, the state change information is reported to the cloud server. The cloud server matches the above linkage rule, generates a control command, and sends it to the smart wall switch in the living room. After receiving the command, the smart wall switch in the living room displays the text "Doors / windows are open" on its screen.

[0082] In another implementation, the control platform can be a local gateway deployed within the home LAN. Status changes from external devices are reported to the gateway via the local network. The gateway then executes linkage rule matching locally and generates control commands, which are directly sent to the smart wall switches. This localized solution does not rely on an internet connection, offering lower latency and higher reliability.

[0083] As can be seen, in this embodiment of the disclosure, by uniformly managing the linkage rules and generating control commands through the control platform, the decoupled linkage between external devices and smart wall switches is realized. Users do not need to configure smart wall switches separately for each external device; they only need to define linkage rules on the control platform, which greatly simplifies the configuration process. At the same time, it supports both cloud and local deployment modes, taking into account the needs of remote control and local rapid response.

[0084] In some embodiments, the control method further includes:

[0085] Receive user interface configuration instructions; the user interface configuration instructions are generated by the terminal device in response to the user selecting the target text from the custom text content from a plurality of selectable interface content;

[0086] According to the user interface configuration instructions, the target text is determined as the first specified text displayed on the screen when the first triggering event is triggered.

[0087] In this embodiment, the user accesses the display content configuration page of the wall switch via a terminal device (such as a mobile app). The page displays multiple optional interface contents, including at least one piece of custom text content, which is pre-created by the user.

[0088] For example Figure 3 As shown, on the page provided by the APP, after opening the APP, the user enters the screen display device page and selects the "Screen Saver Display Content" option. This page offers screen saver display content settings, with three editable text options (Text 1, Text 2, and Text 3). For example, the user can edit these three texts to "Good Morning," "Good Noon," and "Good Evening," respectively. The user selects one text (e.g., "Good Morning") and clicks "Confirm." The terminal device then generates a user interface configuration command and sends it to the smart wall switch. Upon receiving the command, the smart wall switch associates and stores the text with the first trigger event (local proximity sensing detects the user's presence). Subsequently, when the user approaches the smart wall switch, the screen displays the text "Good Morning," as shown below. Figure 4 As shown.

[0089] Furthermore, the custom text content includes multiple texts (such as...). Figure 3 As shown, three editable texts are provided. When the first specified text and the second specified text are configured to point to different texts, the texts pointed to by the first specified text and the second specified text are synchronized according to a preset synchronization rule, so that the first specified text and the second specified text point to the same text.

[0090] In this embodiment, the user can configure the displayed text for local proximity sensing triggers (first trigger event) and external device linkage triggers (second trigger event) via the terminal device. The first and second specified texts can point to the same text, and when the user configures the two trigger events to point to different texts, they will automatically establish a synchronization relationship. This synchronization mechanism simplifies the user's configuration operation, avoids inconsistencies in text display caused by manual asynchrony settings, and improves configuration efficiency and user experience.

[0091] For example, according to preset synchronization rules, synchronizing the text pointed to by the first specified text and the second specified text includes:

[0092] Based on the order in which the first specified text and the second specified text are configured, the text pointed to by the specified text configured later is determined as the synchronization target, and the text pointed to by the specified text configured earlier is replaced with the synchronization target.

[0093] In this embodiment, the preset synchronization rule adopts the "later configuration priority" principle.

[0094] For example, a user first sets the text displayed when the local proximity sensor is triggered (the first specified text) to text 1 via a terminal device, and then sets the text displayed when an external device is linked to trigger the sensor (the second specified text) to text 2 (different from text 1). Because the second specified text is configured later, the smart wall switch will automatically synchronize the first specified text to text 2, meaning that both trigger scenarios will ultimately display text 2. Conversely, if the user configures the second specified text first and then the first specified text, the configuration result of the first specified text will overwrite the second specified text, and both will ultimately display the content pointed to by the first specified text.

[0095] As can be seen, the "last configuration overwrites first configuration" synchronization mechanism provided in this embodiment ensures that the final configuration result matches the user's last operation intention. Figure 1 This reduces the learning cost and operational burden for users.

[0096] For example, according to preset synchronization rules, synchronizing the text pointed to by the first specified text and the second specified text includes:

[0097] When the first specified text and the second specified text point to different texts, if the first trigger event is received before the smart wall switch receives the second trigger event, then in response to the first trigger event, the screen is controlled to display the text pointed to by the first specified text;

[0098] After the smart wall switch receives the second trigger event for the first time, it modifies the text pointed to by the first specified text to the text pointed to by the second specified text. Thereafter, if the first trigger event is received, it controls the screen to display the modified text pointed to by the first specified text in response to the first trigger event.

[0099] In this embodiment, the preset synchronization rule adopts the "event-triggered synchronization" principle.

[0100] For example, a user might set the text displayed when the local proximity sensor is triggered (the first designated text) to text 1, and the text displayed when the external human body sensor is triggered (the second designated text) to text 2 (different from text 1). Before the human body sensor is triggered, when the user approaches the wall switch, the screen displays text 1. When the human body sensor first detects someone and triggers the linkage, the wall switch receives the second trigger event, the screen displays text 2, and the smart wall switch automatically modifies the associated text of the first designated text to text 2. Thereafter, regardless of whether the user approaches via the local proximity sensor or is triggered by the human body sensor, the screen will display text 2.

[0101] As can be seen, the prior-modification synchronization mechanism provided in this embodiment enables the smart wall switch to automatically optimize its configuration according to the user's actual usage scenario, reducing the burden of manual adjustment for the user.

[0102] In some embodiments, when the first specified text and the second specified text point to different texts:

[0103] Based on the type of the triggering event, the text displayed on the screen corresponding to the triggering event is controlled in a differentiated manner;

[0104] In response to the first triggering event, the screen is controlled to display the text pointed to by the first specified text; in response to the second triggering event, the screen is controlled to display the text pointed to by the second specified text.

[0105] In this embodiment, the user can configure different display texts for two different types of trigger events. For example, the text corresponding to a local proximity sensor trigger (the first trigger event) can be set to text 1, and the text corresponding to an external human body sensor trigger (the second trigger event) can be set to text 2. When a user approaches the smart wall switch, the trigger source is identified as local proximity sensing, and text 1 is displayed; when the external human body sensor detects someone, the trigger source is identified as external device linkage, and text 2 is displayed. The two display contents are automatically distinguished according to the type of trigger event and do not interfere with each other, realizing a dynamic information prompt function that adapts to the situation.

[0106] In some embodiments, the screen includes a display screen, and the smart wall switch has multiple displays screens; the control method further includes:

[0107] The first designated text for each display screen is determined independently based on the user interface configuration instructions.

[0108] Specifically, in a multi-display configuration, each display independently handles its corresponding display and interactive feedback functions. Users can independently set the first designated text for each display via their terminal device. The configuration of each display is independent, meeting the needs for refined control. It accommodates the functional differences of different buttons and the personalized needs of users; multiple screens can work in parallel without interference, improving overall interaction efficiency and user experience.

[0109] For example Figure 5 and Figure 6 As shown, the smart wall switch has three buttons and three independent displays, each located above its corresponding button. On the APP-provided page, after opening the APP, the user enters the screen display device page and selects the "Screen Saver Display Content" option. This page provides screen saver display content settings, with options for each of the three buttons. The available options for each button's screen saver display content settings are identical. For example, the user edits three texts as "Good Morning," "Good Noon," and "Good Evening." The user selects "Good Morning" as the display content for the left button's screen, "Good Noon" for the middle button's screen, and "Good Evening" for the right button's screen. After clicking "Confirm," the terminal device generates a user interface configuration command and sends it to the smart wall switch. Upon receiving the command, the smart wall switch associates each text with the first trigger event (local proximity sensing detects the user's presence) and stores it. Subsequently, when the user approaches the smart wall switch, the three screens display the text "Good Morning," "Good Noon," and "Good Evening," respectively. Figure 6 As shown.

[0110] In some embodiments, the control method further includes:

[0111] The smart wall switch receives a screen saver type configuration instruction from the terminal device, the screen saver type configuration instruction being used to specify the screen saver type of the smart wall switch;

[0112] When preset conditions are met, the smart wall switch controls the screen to enter screen saver mode and determines the display style of the screen saver interface according to the screen saver type specified by the screen saver type configuration instruction.

[0113] Specifically, when the screensaver type belongs to the first preset category, the second specified text is displayed on the screensaver interface; when the screensaver type belongs to the second preset category, the second specified text is not displayed on the screensaver interface.

[0114] Specifically, the smart wall switch receives screen saver type configuration instructions from the terminal device. Users can select one from various screen saver types via a mobile app, for example... Figure 7 As shown, the app offers screensaver types such as default, minimalist, digital, and clock. The terminal device generates a screensaver type configuration command based on the user's selection and sends it to the smart wall switch. The smart wall switch receives and stores this screensaver type configuration command, using it as the basis for subsequent screensaver display settings.

[0115] When preset conditions are met (e.g., no user is detected within a certain time), the smart wall switch controls the screen to enter screensaver mode. At this time, the smart wall switch determines the display style of the screensaver interface according to the screensaver type specified in the previously received screensaver type configuration instruction.

[0116] Different screensaver types have different display styles, including but not limited to differences in at least one visual element such as font, font size, color, layout, or background pattern.

[0117] Specifically, different screensaver types have different display styles, resulting in visual differences. For example, the default type displays the time and background. The minimalist type does not display the time, only the background image. The numeric type uses a large, bold font to display the time, which can occupy more than one-third of the screen height, with the time numbers presented prominently. The clock type displays an analog clock face.

[0118] The differentiated display styles of different screensaver types allow users to choose the most suitable screensaver type based on their personal preferences and usage scenarios.

[0119] In this embodiment, the smart wall switch determines whether to display a second specified text (i.e., the text displayed when an external device triggers a linkage rule) on the screensaver interface based on the category to which the screensaver type belongs. Specifically, when the screensaver type specified by the user belongs to a first preset category, the screensaver interface will display the second specified text; when it belongs to a second preset category, the screensaver interface will not display the second specified text.

[0120] For example, the first preset category may include a default type and a minimalist type, and the second preset category may include a numeric type and a clock type. When the user selects the default type or the minimalist type, the screensaver will display basic information such as the time and date, and will also display the currently valid second specified text in a designated location on the screen (such as a preset area at the bottom, middle, or top). Figure 8 The image shown illustrates a simplified screensaver interface where the second specified text ("I am a prompt text") is displayed. When the user selects a number or clock type, the screensaver does not display the second specified text.

[0121] The display method of the second specified text on the screensaver interface can be preset or user-defined. For example, the display method can include two types: static display and dynamic display. Static display means that the text is presented in a fixed state in a specified area of ​​the screen (such as bottom center, top left corner, or bottom right corner). Dynamic display means that the text is presented in a scrolling, flashing, fading, or carousel manner. The display area can be adapted to the layout of the screensaver type.

[0122] As can be seen, in this embodiment of the disclosure, by classifying screen saver types, the smart wall switch can automatically adapt to the user's display preferences (i.e., whether to display the second specified text) based on the screen saver type selected by the user, without requiring manual settings by the user. In other words, the user can select the screen saver type according to their own needs, and the smart wall switch automatically determines whether to integrate the second specified text linked to external devices into the screen saver interface based on the selected type.

[0123] Furthermore, when the user selects a screensaver type in the first preset category, the second specified text is displayed immediately after the second trigger event occurs, and when the smart wall switch enters screensaver mode, the second specified text does not disappear, but continues to be displayed in the manner defined by the screensaver type.

[0124] In some embodiments, the screensaver type further includes a third preset category.

[0125] Furthermore, the action of controlling the screen to display the second specified text within the custom text content in response to the second triggering event specifically includes:

[0126] The screen is controlled to enter a third preset category of screensaver state, and the second specified text is displayed on the screensaver interface.

[0127] Specifically, the third preset category can be understood as a set of screensaver types that require displaying the second specified text on the screensaver interface and employ a specific display method. For example, the pure black background type is one implementation of the third preset category, which uses a pure black background and illuminates the pixels required to display the second specified text. Users can select the specific screensaver type under the third preset category according to their usage scenario.

[0128] In some embodiments, the screen includes a display screen, and the smart wall switch has multiple displays screens; the step of controlling the screen to display a second specified text from the custom text content in response to a second trigger event includes:

[0129] Control multiple screens to display their respective corresponding second specified text;

[0130] The second designated text for each screen is determined independently based on one or more linkage rules:

[0131] Determined based on multiple linkage rules, each linkage rule is used to determine the second specified text displayed on a screen; or...

[0132] The second specified text to be displayed on each of the multiple screens is determined uniformly according to a linkage rule.

[0133] In this embodiment, the smart wall switch has multiple displays (for example, a two-button smart wall switch is equipped with two independent displays (left and right screens)). Users can configure linkage rules through terminal devices to achieve differentiated text display on each display screen under a second trigger event.

[0134] For example:

[0135] Create linkage rule 1: When the human body sensor in the living room detects someone, the left screen of the smart wall switch in the living room will display text 1 (e.g., "Someone is here").

[0136] Create linkage rule 2: When the bedroom door and window sensor detects that the door and window are open, the right screen will display text 2 (e.g., "Bedroom door and window are not closed").

[0137] When two external devices are triggered simultaneously (the human body sensor in the living room detects someone, and the door and window sensor in the bedroom opens), the two screens will display "Someone is here" and "Bedroom door and window not closed" respectively.

[0138] For example:

[0139] Create linkage rule 3: When the temperature or humidity reported by the temperature and humidity sensor changes compared to the last reported data, the left and right screens of the smart wall switch will display text 1 ("Temperature has changed") and text 2 ("Humidity has changed"), respectively.

[0140] When the temperature or humidity in the room changes, the temperature and humidity sensors report the changed temperature or humidity to the cloud server. The cloud server matches the corresponding linkage rule three and sends control commands, instructing the left and right screens of the smart wall switch to display "Temperature changed" and "Humidity changed," respectively. As you can see, a single linkage rule can control the display content of all screens simultaneously, simplifying configuration.

[0141] Furthermore, the multi-screen independent control mechanism provided in this embodiment of the present disclosure enables the wall switch to become a multifunctional information hub, with different screens playing different information prompting roles, thus meeting the information display needs in complex scenarios.

[0142] In some embodiments, obtaining custom text content includes:

[0143] Before the first trigger event or the second trigger event occurs, at least one pre-edited text is received from the terminal device, and the text is stored locally in the smart wall switch; or,

[0144] Upon receiving the first trigger event or the second trigger event, immediately acquire at least one pre-edited text.

[0145] In this embodiment of the disclosure, the acquisition of text content can be customized in one of the following two ways:

[0146] The first method: Pre-acquire and store

[0147] Before the first triggering event or the second triggering event occurs, receive at least one pre-edited text from the terminal device, including:

[0148] Receive a text configuration instruction from a terminal device, the text configuration instruction carrying text edited by the user through the terminal device;

[0149] The custom text content is stored in local memory so that, in response to the user's configuration operation on the primary display interface or the secondary display interface, when the text content is set on the primary display interface or the secondary display interface, the screen is controlled to display the specified text in the custom text content.

[0150] Specifically, users can access the text editing interface on a mobile app or other terminal device and freely input multiple texts to form the customized text content. In a preferred embodiment, each text can hold up to 10 Chinese characters to ensure complete and clear display on the small screen of the wall switch.

[0151] After the user completes the text input and saves it, the APP encapsulates the user's input text content into a text configuration command and sends it to the smart wall switch.

[0152] After receiving a text configuration command, the smart wall switch parses and extracts the text content, storing it in local non-volatile memory (such as the processor's Flash memory). This local storage design ensures that the text display is independent of a network connection; even when the network is down, the wall switch can still display user-defined text content correctly, improving reliability and response speed.

[0153] For example, a smart wall switch establishes a connection with a terminal device via short-range communication methods such as Bluetooth, enabling the terminal device to receive user-created custom text content and send it to the smart wall switch, which then stores it in local non-volatile memory (e.g., in the FLASH memory of the screen driver chip).

[0154] Subsequently, when the first or second trigger event occurs, the wall switch directly reads the corresponding text from local memory and displays it. This solution does not rely on a network connection and has the advantages of fast response speed and high reliability.

[0155] The second method: instant access

[0156] Upon receiving the second trigger event, immediately acquire at least one pre-edited text; including:

[0157] Upon receiving the control command, the text is parsed from the control command.

[0158] For example, a smart wall switch connects to the home network via Wi-Fi. When a second trigger event occurs, the control platform (such as a cloud server or local gateway) sends a control command containing corresponding text to the smart wall switch. Upon receiving the control command, the smart wall switch directly parses the text and displays it, without needing to store it beforehand.

[0159] This solution reduces the local storage requirements of smart wall switches, and text updates take effect in real time, allowing users to make dynamic adjustments.

[0160] In some embodiments, a detection strategy needs to be determined before transmitting detection signals.

[0161] Specifically, the control method further includes:

[0162] The smart wall switch receives a policy configuration instruction; the policy configuration instruction is determined based on the user's selection of the activation status of the first detection signal and / or the second detection signal received by the terminal device, and is used to indicate the activation status of the first detection signal and / or the second detection signal.

[0163] The smart wall switch configures a detection strategy according to the activation status of the first and second detection signals indicated by the strategy configuration instruction; wherein, different activation statuses of the first and second detection signals correspond to different detection strategies, and the detection strategy defines the composition of the detection signals emitted when the screen is in a predetermined state, as well as the control logic executed on the screen display interface when the received feedback signal indicates the presence of a user; the detection signals are used to detect human bodies;

[0164] The smart wall switch performs detection to determine whether there is a human body near it, according to the configured detection strategy.

[0165] In this embodiment of the disclosure, the smart wall switch establishes a communication connection with a terminal device and is able to receive policy configuration instructions from the terminal device. These policy configuration instructions are generated by the terminal device in response to a user's selection of the enable / disable status of a first detection signal (long-range detection) and / or a second detection signal (near-range detection) on the application interface.

[0166] In this embodiment of the disclosure, the smart wall switch transmits corresponding detection signals (a first detection signal and / or a second detection signal) according to the detection signal composition defined in the detection strategy, and monitors the received feedback signals in real time. When the feedback signal indicates the presence of a user, the screen display interface is controlled accordingly (such as waking up the screen, switching interfaces, etc.) according to the control logic defined in the detection strategy.

[0167] For example, such as Figure 9 As shown, the app's configuration page offers two independent toggle options, corresponding to the first and second detection signals respectively. Users can enable or disable these two options as needed. For example, if a user wants the screen to wake up only at extremely close range, they can disable the first detection signal and keep only the second detection signal enabled; if a user wants to view information only at a distance without triggering the close-range operation interface, they can disable the second detection signal and keep only the first detection signal enabled; if a user wants a complete progressive interaction experience, they can enable both options.

[0168] After the user completes the selection, the APP encapsulates the user's configuration information into policy configuration instructions and sends them to the smart wall switch through the cloud server and gateway device.

[0169] Furthermore, the solution provided by the above embodiments allows users to freely choose to enable or disable long-range detection and short-range detection according to actual usage scenarios and personal preferences, thereby defining personalized detection strategies and realizing personalized proximity sensing functions to meet diverse usage needs.

[0170] Further, configuring the detection strategy according to the activation status of the first detection signal and the second detection signal indicated by the strategy configuration instruction includes:

[0171] When the strategy configuration instruction indicates that both the first detection signal and the second detection signal are enabled, the detection strategy is configured as the first detection strategy;

[0172] When the policy configuration instruction indicates that the first detection signal is disabled and the second detection signal is enabled, the detection policy is configured as the second detection policy; or...

[0173] When the policy configuration instruction indicates that the first detection signal is enabled and the second detection signal is disabled, the detection policy is configured as a third detection policy.

[0174] Specifically, at least one of the first and second detection signals can be selectively disabled by the user. When the user selects the enable / disable status of the first and second detection signals via the terminal device, the policy configuration instruction received by the smart wall switch carries the enable / disable status of the two detection signals:

[0175] If both the first and second detection signal functions are enabled simultaneously, the detection strategy will be configured as the first detection strategy.

[0176] If only the second detection signal function is enabled, the detection strategy will be configured as the second detection strategy.

[0177] If only the first detection signal function is enabled, the detection strategy will be configured as the third detection strategy.

[0178] If both the first and second detection signals are disabled simultaneously, the proximity sensing function is completely turned off, and the detection strategy will be configured to a no-detection mode (which can be considered a fourth detection strategy). Under this fourth detection strategy, the smart wall switch does not emit any detection signals. The screen can remain in the predetermined state, and the proximity sensing function is completely turned off.

[0179] Furthermore, through the above configuration mechanism, users can flexibly choose the most suitable detection strategy according to the actual usage scenario and personal preferences, so as to achieve a personalized proximity sensing experience.

[0180] Furthermore, according to the configured detection strategy, the detection of whether a human body exists near the smart wall switch is performed, including:

[0181] If the detection strategy is configured as the second detection strategy, then when the screen is in a predetermined state, only the second detection signal is emitted, and the user's proximity status and the display status of the screen are determined based on whether a second feedback signal corresponding to the second detection signal is received; or,

[0182] If the detection strategy is configured as a third detection strategy, then when the screen is in a predetermined state, the first detection signal is emitted, and after receiving the first feedback signal corresponding to the first detection signal, the second detection signal is not emitted, and the display state of the screen is directly controlled according to the first feedback signal.

[0183] Specifically, when the detection strategy is configured as the second detection strategy (near-range detection mode only), the smart wall switch directly emits the second detection signal without emitting the first detection signal when the screen is in a predetermined state. When the user enters the near-range detection range, the screen lights up and directly displays the secondary display interface. This strategy is suitable for scenarios where the user wants the screen to be activated only when very close to the wall switch, such as in a bedroom or hallway, avoiding accidental triggering due to passing by. The proximity sensing logic of the smart wall switch is as follows:

[0184] When the screen is in a predetermined state (such as screen off or screensaver), only the second detection signal is emitted, and the first detection signal is no longer emitted. The second detection signal corresponds to a near-field detection range, for example, 0cm to 50cm. The second detection signal is emitted periodically, and the system continuously monitors whether a corresponding second feedback signal is received. If a second feedback signal is received, it indicates that the user has entered the near-field area, and the screen is turned on and directly switched to a secondary display interface (such as a detailed control panel); if no second feedback signal is received, it indicates that the user is not within the detection range, and the screen remains in the predetermined state. In this mode, since the first detection signal is not emitted, it is impossible to detect a user approaching from a distance, and therefore, far-field wake-up will not occur.

[0185] When the detection strategy is configured as the third detection strategy (long-distance detection mode only), the smart wall switch only emits the first detection signal when the screen is in the predetermined state. When a user is detected entering the long-distance area, the screen lights up and displays the primary display interface, but no longer emits the second detection signal for close-distance monitoring. The primary display interface is maintained regardless of whether the user moves closer. This strategy is suitable for scenarios where users want to view information only from a distance without performing close-distance operations, such as in a living room or study. Users may want to view the time, weather, or device status from a distance without needing fine-grained control of the devices. The proximity sensing logic of the smart wall switch is as follows:

[0186] When the screen is in the predetermined state, only the first detection signal is emitted, and the second detection signal is not emitted. The first detection signal corresponds to a long-distance detection range, such as 0cm to 110cm. The first detection signal is emitted periodically, and the system continuously monitors whether the corresponding first feedback signal is received. If the first feedback signal is received, it indicates that the user has entered the long-distance area, and the screen is controlled to light up and switch to the primary display interface. Thereafter, since the second detection signal has been disabled in the detection strategy, it is no longer emitted for close-range monitoring. Regardless of whether the user moves closer, the screen maintains the primary display interface and will not switch to the secondary display interface. When the user leaves the long-distance detection range, the disappearance of the feedback signal is detected, and the screen is controlled to return to the predetermined state.

[0187] In some embodiments, the control method further includes:

[0188] Receive a first distance configuration instruction, the first distance configuration instruction carrying a first distance value selected by the user through the terminal device; set the detection range of the first detection signal according to the first distance configuration instruction; and / or,

[0189] Receive a second distance configuration instruction, the second distance configuration instruction carrying a second distance value selected by the user through the terminal device; set the detection range of the second detection signal according to the second distance configuration instruction.

[0190] Specifically, the primary display interface is associated with the first proximity distance range (the detection range of the first detection signal) corresponding to the first detection signal, and the secondary display interface is associated with the second proximity distance range (the detection range of the second detection signal) corresponding to the second detection signal; wherein, the first proximity distance range and / or the second proximity distance range can be configured independently by the user.

[0191] For example, one configuration of the first proximity range and the second proximity range is as follows:

[0192] The preset total physical detection range is linearly mapped to an adjustable percentage range from 0% to 100%; this adjustable percentage range is then visualized through the application interface of the terminal device.

[0193] The terminal device receives user operations through a visually displayed adjustable percentage range. The user defines the far-end threshold of the first proximity range by setting a first percentage value, and / or defines the far-end threshold of the second proximity range by setting a second percentage value.

[0194] The terminal device determines the first distance value based on the far end threshold of the first proximity distance range, and / or determines the second distance value based on the far end threshold of the second proximity distance range.

[0195] The terminal device sends out the determined first distance value and / or second distance value, so that the smart wall switch receives the first distance value and / or second distance value and uses it to set the detection range of the first detection signal and / or the detection range of the second detection signal.

[0196] Furthermore, the difference between the first percentage value and the second percentage value is constrained to be no less than 10% to ensure that a preset minimum interval is maintained between the first approach distance range and the second approach distance range.

[0197] For example, another configuration of the first proximity range and the second proximity range is as follows:

[0198] like Figure 9 As shown, the terminal device directly displays the distance value of the total physical detection range (e.g., 20cm~110cm). The user selects the far-end threshold of the first proximity distance range and / or the far-end threshold of the second proximity distance range by dragging the distance value setting slider. The terminal device determines the first distance value based on the far-end threshold of the first proximity distance range, and / or determines the second distance value based on the far-end threshold of the second proximity distance range. The terminal device sends the determined first distance value and / or second distance value outward, so that the smart wall switch receives the first distance value and / or second distance value and uses it to set the detection range of the first detection signal and / or the detection range of the second detection signal.

[0199] Furthermore, the first distance value is greater than the second distance value, and the difference between the first distance value and the second distance value is at least 5 centimeters. Preferably, it is 10 centimeters, meaning the first distance value must always be 10 centimeters greater than the second distance value. For example, if the user first sets the first distance value to 50 centimeters, then the second distance value can only be set within 40 centimeters. If the user first sets the second distance value to 50 centimeters, then the first distance value can only be set above 60 centimeters.

[0200] In some embodiments, the control method further includes an automatic calibration of the detection range, used to assist the user in setting the detection range of the first detection signal or the detection range of the second detection signal. This distance testing function guides the user to conduct actual measurements in a real-world environment to obtain accurate proximity distance values, thereby helping the user to more precisely configure the sensing distance parameters. Specifically, the control method further includes:

[0201] The smart wall switch receives a distance-set activation command from the terminal device;

[0202] In response to the distance-set activation command, the smart wall switch controls and gradually adjusts the transmission parameters of the detection signal to transmit the detection signal by progressively increasing the detection distance.

[0203] The smart wall switch monitors whether it receives a valid feedback signal corresponding to the transmitted detection signal after each transmission.

[0204] When the valid feedback signal is received, the corresponding distance value is determined based on the current transmission parameters;

[0205] The smart wall switch sends the distance value outward, enabling the terminal device to acquire the distance value for the user to refer to when setting the detection range of the first detection signal or the detection range of the second detection signal.

[0206] Specifically, when users wish to personalize the detection range of a smart wall switch via a terminal device, they can first activate the distance self-calibration function. For example... Figure 10 As shown, after clicking the automatic distance setting item on the page provided by the APP, the user enters the automatic distance setting page. This page provides some operation steps for the user to view. The user stands at the desired distance position (e.g., if you want to set the close-range detection range to 30cm, stand about 30cm away from the wall switch). After clicking the "Start Setting" control, the terminal device responds to the operation and sends a distance setting start command to the smart wall switch.

[0207] After receiving the distance setting activation command, the smart wall switch initiates an automatic detection range calibration process: the smart wall switch controls the gradual adjustment of the detection signal transmission parameters to transmit the detection signal by progressively increasing the detection distance.

[0208] The phrase "gradually increasing the detection range" here can be understood as starting from the minimum detection range and gradually increasing the transmission power or adjusting other parameters to increase the detection range from near to far. After each transmission, it is monitored whether a valid feedback signal corresponding to the transmitted detection signal is received.

[0209] When a valid feedback signal is received for the first time, the transmission parameters are stopped from being increased sequentially, and the corresponding distance value is determined based on the current transmission parameters.

[0210] For example, if the current transmission current is a certain value, and this current value corresponds to a preset detection distance (this correspondence is obtained through factory calibration), then this distance value is used as the test result. This distance value is sent to the terminal device, and the terminal device displays this distance value to the user on the application interface (e.g., ...). Figure 10As shown, the current detection distance is 100cm. Users can refer to this measured distance value in the subsequent detection range setting interface, for example, by directly using the distance value as the detection range of the first detection signal or the detection range of the second detection signal.

[0211] As can be seen, with the above solution, users can accurately obtain the actual distance between the wall switch and the user's location without using external measuring tools such as a tape measure. This simplifies the configuration process, making it simple and intuitive, reducing the user's learning cost and operating threshold, and improving the product's ease of use.

[0212] In some embodiments, the detection signal is a radar signal, and the step of gradually adjusting the transmission parameters of the detection signal to increase the detection range successively includes: controlling the radar transmission module to gradually adjust the transmission power, pulse width, or gain parameters to increase the effective detection range of the radar signal successively.

[0213] Specifically, radar sensors (such as millimeter-wave radar and ultra-wideband radar) typically have adjustable transmission parameters. In distance testing mode, the smart wall switch starts with the minimum transmission power and gradually increases the transmission power (or pulse width, receiver gain, etc.) in preset steps. For example, starting from the lowest transmission power, it increases by 1 dBm each time, transmitting radar signals sequentially. As the transmission power increases, the effective detection range of the radar signal also increases accordingly. When a user stands at a specific distance, a valid reflected signal will be received for the first time when the transmission power reaches a certain threshold. At this point, the current transmission power value is recorded, and the corresponding distance value is calculated using a pre-calibrated power-distance mapping relationship. This mapping relationship can be obtained by testing standard reflectors at different distances at the factory, forming a lookup table or fitting function.

[0214] Furthermore, the distance testing scheme using radar signals can achieve accurate distance measurement by utilizing the parameter adjustment capability of the radar sensor itself, without the need for additional hardware. Moreover, radar signals have advantages such as strong penetration and resistance to ambient light interference, making them suitable for scenarios requiring high-precision detection.

[0215] In some embodiments, the detection signal is an infrared detection signal; the step of gradually adjusting the transmission parameters of the detection signal to transmit the detection signal in a manner that progressively increases the detection distance includes:

[0216] The infrared emission current is controlled to increase gradually from the initial value to gradually increase the emission power of the infrared detection signal, thereby gradually increasing the effective detection range of the infrared detection signal.

[0217] The step of determining the corresponding test distance value based on the current emission parameters includes: determining the distance value corresponding to the current infrared emission current value based on the current infrared emission current value.

[0218] Specifically, infrared detection modules typically control the emission power by adjusting the drive current of the infrared LED. A higher drive current results in stronger infrared light and a longer effective detection distance. For example, a smart wall switch starts with an initial current value (e.g., 10mA) and gradually increases the infrared LED's emission current in preset steps (e.g., 5mA). After each increase, it emits an infrared detection signal and monitors whether a valid reflected signal is received. The detection distance corresponding to the initial current value is usually set to the minimum (e.g., 5cm), and the detection distance corresponding to the maximum current value is set to the maximum sensing distance supported by the product (e.g., 110cm). When a user stands at a specific distance, a reflected signal will be received for the first time when the emission current reaches a certain threshold; at this point, the current emission current value is recorded.

[0219] The correspondence between current value and detection distance can be obtained through factory calibration and stored in the local memory of the smart wall switch. During calibration, in an environment without reflection interference, a standard reflector is placed at different distances, and the minimum emission current that can stably detect the reflected signal is measured, thereby establishing a current-distance mapping table. During subsequent user operation, the smart wall switch can determine the corresponding distance value by looking up this mapping table based on the current emission current value.

[0220] Furthermore, an infrared signal distance testing scheme is adopted, which utilizes the monotonic relationship between infrared emission current and detection distance to quickly determine the distance value of the user's current location through successive approximations.

[0221] In some embodiments, if the detection strategy is configured as a first detection strategy, determining the proximity status between the user and the smart wall switch includes:

[0222] When the smart wall switch is in a predetermined state with the screen open, it emits a detection signal according to a predetermined first detection strategy. Under the first detection strategy, the detection signal includes at least a first detection signal. The first detection strategy further includes conditionally emitting a second detection signal; the second detection signal has different characteristic parameters than the first detection signal, and the different characteristic parameters cause the detection range of the first detection signal to be greater than the detection range of the second detection signal.

[0223] The smart wall switch determines the proximity status between the user and the smart wall switch based on whether the received feedback signal contains a first feedback signal corresponding to the first detection signal and / or a second feedback signal corresponding to the second detection signal.

[0224] When the smart wall switch determines that a user is present, it controls the screen to switch to the user interface corresponding to the determined proximity distance state. The user interface corresponding to the proximity distance state is determined according to the user interface configuration instruction. The user interface configuration instruction is determined by the terminal device in response to the user's operation of selecting the target interface content from multiple optional interface contents.

[0225] In this embodiment of the disclosure, the predetermined state includes an inactive display state where the screen is off, on but with the screen saver on, or in a standby interface. In the predetermined state, the smart wall switch still runs its proximity detection function in the background to respond to the user's approach at any time.

[0226] In this embodiment of the disclosure, when the screen of the smart wall switch is in an inactive display state, such as being off, on but with the screen content saved, or in a standby interface, the human body sensing module inside the wall switch starts to work and emits a detection signal according to a preset first detection strategy.

[0227] Under the first detection strategy, the emitted detection signal includes at least a first detection signal. The first detection signal corresponds to a longer detection distance and is used to detect whether the user has entered the long-distance sensing area (such as the range of 0cm-110cm from the wall switch).

[0228] In addition, the first detection strategy also includes conditionally transmitting a second detection signal. This can be understood as the timing and method of transmitting the second detection signal being flexibly adjusted according to the specific detection strategy and different modes under the specific detection strategy (such as the sequential transmission mode, composite detection mode, power differentiation mode, etc. provided in subsequent embodiments).

[0229] In this embodiment, the signal reflected back to the smart wall switch after the detection signal encounters the user's body is the feedback signal. For ease of distinction, in this embodiment, the feedback signal corresponding to the first detection signal is defined as the first feedback signal, and the feedback signal corresponding to the second detection signal is defined as the second feedback signal. The smart wall switch determines the presence of a user and the user's proximity status by analyzing whether a feedback signal is received and what kind of feedback signal is received. The proximity status can be understood as user distance information determined based on the feedback signal, including at least different distance states when a user is present (e.g., long distance state, short distance state) and a state without a user.

[0230] In this embodiment, when a user is detected, the smart wall switch wakes up the screen (if the screen is off) and switches the screen display to the user interface corresponding to the current proximity distance. The user can select from multiple preset optional interface contents on the terminal device. The terminal device generates a user interface configuration instruction based on the user's selection, and the smart wall switch updates the corresponding user interface according to the user interface configuration instruction.

[0231] Based on this, the control method provided in this embodiment achieves graded identification of user approach distance through two levels of detection signals with different detection distances, and automatically switches the screen display to show the corresponding user interface according to the different user approach distances. This enables graded interface feedback based on user approach distance and allows users to personalize the displayed interface content through their terminal devices, achieving a personalized interactive experience.

[0232] In some embodiments, the control method further includes: when the smart wall switch determines that no user is present, controlling the screen to remain or return to the predetermined state, and resuming the transmission of the detection signal containing at least the first detection signal.

[0233] Specifically, when the smart wall switch determines that the user has left the detection range based on the received feedback signal (i.e., no valid feedback signal corresponding to the first or second detection signal is detected within a preset time window), a reset operation is performed. This reset operation includes two aspects:

[0234] First, the control screen returns from the currently displayed interface (such as the primary display interface or the secondary display interface) to a power-saving inactive display state, i.e., the predetermined state.

[0235] Secondly, resume the transmission of a detection signal that includes at least the first detection signal.

[0236] This reset operation ensures that the smart wall switch screen displays a state consistent with the actual situation of the user.

[0237] It should be noted that in some embodiments, to avoid frequent screen off or switching when the user moves at the boundary between near and far distances, the reset operation is not executed immediately upon the disappearance of the feedback signal, but rather after a brief delay (e.g., 1-5 seconds) confirming the user's departure. This ensures both timely response and avoids unnecessary state jitter.

[0238] It is worth noting that the detection signal involved in the above embodiments can be understood as a signal used to detect the presence of a user, and can be at least one of the following: infrared signal, ultrasonic signal, millimeter-wave radar signal, laser signal, etc. The first detection signal and the second detection signal have different characteristic parameters. These different characteristic parameters can also be used to distinguish the physical characteristics of different detection signals, including but not limited to: signal encoding, modulation frequency, transmission power, pulse width, waveform, etc. By setting different characteristic parameters, the first detection signal and the second detection signal can have different detection distances.

[0239] In some embodiments, the detection signal is an infrared signal, and the first detection signal and the second detection signal are distinguished by different modulation codes. Based on this, when the smart wall switch emits an infrared signal (mainly controlled by the processor of the smart wall switch), the control method further includes: setting a variable time interval between consecutively emitted infrared signals, wherein the variable time interval varies in a non-fixed manner.

[0240] Specifically, when the smart wall switch periodically transmits detection signals according to the first detection strategy, the time interval between two adjacent detection signals is not fixed, but rather variable. This variable interval can be achieved in various ways: for example, by using a random number generator to generate a random interval, by using a pseudo-random sequence to generate a pseudo-random interval, or by adaptively adjusting the interval according to the ambient noise level. Regardless of the specific implementation method used, its core characteristic is that the transmission interval is uncertain, that is, it "changes in a non-fixed manner".

[0241] In practical applications, when multiple smart wall switches are deployed in a smart home environment, introducing a variable transmission interval can effectively avoid signal conflicts between the smart wall switches. For example, after the first detection signal is transmitted, the next signal is transmitted after a random duration (such as 87 milliseconds), which is generated in real time by the random number generator inside the processor; the interval for the next transmission may be another random value (such as 132 milliseconds), thus making the transmission timing unpredictable.

[0242] It is evident that the variable transmission interval design can significantly enhance anti-interference capabilities, effectively avoid signal collisions in environments with multiple devices, and improve the reliability and accuracy of proximity sensing.

[0243] Furthermore, the time interval varies randomly between 50 milliseconds and 150 milliseconds.

[0244] Specifically, as a preferred implementation of the variable transmission interval, this embodiment sets the time interval between adjacent detection signals to vary randomly within the range of 50 milliseconds to 150 milliseconds. Within this range, each time a detection signal is transmitted, a random integer between 50 and 150 is generated using a random number generation algorithm as the waiting time after this transmission. For example, the waiting time is 73 milliseconds after the first transmission, 128 milliseconds after the second transmission, 91 milliseconds after the third transmission, and so on. This random distribution makes the transmission interval uniformly distributed on the time axis, effectively avoiding periodic synchronization with other devices.

[0245] In some embodiments, the smart wall switch determines the proximity status between the user and the smart wall switch, specifically including:

[0246] If a first feedback signal is received but a second feedback signal is not received, the system is determined to be in a first-level distance state; the first-level distance state corresponds to the user being within the detection range of the first detection signal but outside the detection range of the second detection signal. Conversely, if a second feedback signal is received, the system is determined to be in a second-level distance state; the second-level distance state corresponds to the user being within the detection range of the second detection signal.

[0247] Specifically, the proximity state includes at least a first-level distance state and a second-level distance state. If a first feedback signal is received but a second feedback signal is not received (this could be because the smart wall switch did not emit a second detection signal and therefore did not receive a second feedback signal, or it could be because the smart wall switch emitted a second detection signal and therefore did not receive a second feedback signal), then it is determined to be a first-level distance state (long distance). The first-level distance state corresponds to the user being within the detection range of the first detection signal but outside the detection range of the second detection signal.

[0248] If a second feedback signal is received (regardless of whether a first feedback signal is received), the system is determined to be in a secondary distance state. This secondary distance state (near distance) corresponds to the user being within the detection range of the second detection signal. It is possible that the first feedback signal is also received when the second feedback signal is received (e.g., a smart wall switch also transmits a first detection signal when transmitting the second detection signal), or the first feedback signal may not be received (e.g., the smart wall switch stops transmitting the first detection signal when transmitting the second detection signal).

[0249] Further, based on the determined proximity distance state, controlling the screen to switch to the user interface corresponding to that proximity distance state includes: if it is determined to be a level one proximity state, controlling the screen to display a level one display interface; if it is determined to be a level two proximity state, controlling the screen to display a level two display interface. Wherein, the level one display interface and / or the level two display interface are determined according to user interface configuration instructions; the user interface configuration instructions are determined by the terminal device in response to the user's operation of selecting target interface content from multiple selectable interface contents.

[0250] Specifically, users can personalize the displayed content through a terminal device (such as a mobile app) paired with the smart wall switch. The terminal device has multiple preset interface options, such as: time and weather interface, clock interface, calendar interface, control panel, scene selection panel, and button label information interface. For example, after a user browses and selects the desired content in the terminal device's app, the app generates a corresponding user interface configuration command and sends this command to the smart wall switch via a cloud server and gateway. Upon receiving the command, the smart wall switch associates and stores the corresponding display content with the primary or secondary distance status, and subsequently displays the user-configured content in the corresponding status.

[0251] In some embodiments, at least some of the optional interface content is user-configurable. That is, in addition to preset fixed interfaces (such as time and weather interfaces, button label information interfaces, etc.), users can create fully customized interfaces according to their personal needs, achieving a higher degree of personalization. Specifically, the control method further includes:

[0252] The smart wall-mounted switch receives custom interface configuration commands; these commands are generated by the user after configuring an interface through the terminal device.

[0253] The smart wall switch generates and displays the corresponding interface based on the received custom interface configuration instructions.

[0254] In this embodiment, the user can configure multiple custom interfaces via a terminal device. Each configured custom interface is encapsulated as an interface data packet and sent to the smart wall switch with a custom interface configuration command. The smart wall switch receives and stores these interface data packets, generates the corresponding custom interface, and allows the user to select it when configuring the primary or secondary display interface. When the user selects a custom interface for a certain detection state (primary distance state or secondary distance state), the wall switch can display the content of the custom interface sequentially in the corresponding state.

[0255] For example, such as Figure 11As shown, users can access the page editing interface on their terminal device (such as a mobile app) by clicking the "Pages and Control Cards" option. In this interface, users can add a custom page by clicking "Add Page." Clicking on the custom page then leads to the "Page Module Configuration" interface, where users can configure the custom page's attributes, such as renaming it and adding smart control modules. There are various types of smart control modules, each with different parameters (such as size and shape).

[0256] Each intelligent control module has adjustable parameters, such as size (width, height), shape (rectangle, circle, rounded rectangle), position coordinates, background color, transparency, font size, etc.

[0257] In some solutions, users can freely adjust the layout of modules using gestures such as dragging, scaling, and rotating to achieve a WYSIWYG interface design.

[0258] Furthermore, each intelligent control module on the custom interface also supports user self-configuration. That is, after an intelligent control module is added to the custom interface, its initial state is an empty module, and the specific parameters of the intelligent control module can be set by the user according to their needs. Specifically, the control method further includes:

[0259] The smart wall switch receives module attribute configuration data; this module attribute configuration data is generated after the user customizes the attribute parameters of a smart control module added on a custom interface.

[0260] The smart wall switch configures the attribute parameters of the corresponding smart control module on the corresponding custom interface according to the module attribute configuration data.

[0261] Furthermore, users can configure the attribute parameters of the intelligent control module by associating it with specific objects on the terminal device.

[0262] For example, if a user needs to display specific content through a smart control module, they can associate it with a specific data source object. For instance... Figure 12 As shown, by associating a smart control module with the weather service, this module becomes the weather display window, showing the current weather conditions and temperature in real time. Figure 13 As shown (schematic diagram of smart wall switch screen display). Of course, a smart control module can also be associated with a clock, thus becoming a digital clock display, such as... Figure 14 As shown.

[0263] In some embodiments, if it is necessary to control other devices through an intelligent control module, the user can associate it with a switch object. The switch objects can be of various types (at least one or all of the first type of switch, second type of switch, and third type of switch), and the ability to control the object and / or provide feedback on the status of the controlled device differs between different types of switch objects.

[0264] Furthermore, the various types of switch objects include the first type of switch. The first type of switch is used to control the on / off state of local relay channels.

[0265] Furthermore, the control method further includes:

[0266] The smart wall switch receives the trigger operation from the smart control module. If it is determined that the triggered smart control module is associated with a switch object, it executes the corresponding control operation according to the type of the associated switch object.

[0267] When the associated switch object is a Class I switch, a local relay control operation is performed.

[0268] Specifically, if the intelligent control module is associated with the first type of switch, then the intelligent control module is used to control the on / off state of the local relay channel of the smart wall switch.

[0269] like Figure 12 As shown, the smart wall switch has three Class I switches, such as... Figure 12 The system uses local switches, each corresponding to a relay channel. For example, if a user associates the smart control module with local switch 1, the user can trigger the on / off state switching of the relay channel corresponding to local switch 1 through the smart control module.

[0270] Furthermore, various types of switch objects include second-class switches (such as...) Figure 12 Wireless switches and third-class switches (such as wireless switches) Figure 12 (Virtual switches in the context). The second and third types of switches differ in their ability to provide feedback on the status of the controlled device.

[0271] Specifically, the second type of switch lacks the ability to provide feedback on the status of the controlled device, while the third type of switch does have the ability to provide feedback on the status of the controlled device. The control method further includes:

[0272] When the switch object associated with the intelligent control module is a second type of switch, the first feedback operation is executed in response to the trigger of the intelligent control module. The first feedback operation does not reflect the state of the controlled device.

[0273] When the switch associated with the intelligent control module is a third-type switch, a second feedback operation is executed in response to the triggering of that switch. This second feedback operation includes changing the status indicator of the intelligent control module, and the changed status indicator is correlated with the current status of the controlled device. The status indicator includes whether the background of the intelligent control module is highlighted or turned off.

[0274] Furthermore, if the intelligent control module is associated with a second type of switch, the module, when triggered, will send out a wireless signal carrying event information indicating that it has been triggered. This wireless signal is transmitted to a relay device and / or a cloud server, allowing the relay device and / or cloud server to trigger the corresponding execution scenario based on stored trigger relationships. These trigger relationships are predefined by the user, defining a mapping between at least one intelligent control module defined as a second type of switch and at least one execution scenario.

[0275] For example, Figure 12 As shown, if through as Figure 12 The operation process shown involves associating a smart control module with a wireless switch 1 (a second type of switch) and setting the wireless switch 1 to execute the "one-click leave home" scenario. Users can then trigger the execution of the "one-click leave home" scenario by activating the smart control module.

[0276] If the intelligent control module is associated with a third-type switch, the module, when triggered, will send a wireless signal carrying event information indicating that it has been triggered. This signal is transmitted to a relay device and / or a cloud server, allowing the relay device and / or cloud server to trigger the corresponding controlled device based on a stored triggering relationship. This triggering relationship is predefined by the user, defining a mapping between at least one intelligent control module defined as a third-type switch and at least one executable function of at least one controlled device.

[0277] For example, Figure 12 As shown, if through as Figure 12 The illustrated operation flow involves associating a smart control module with virtual switch 1 (a third-type switch). The module is set to turn on the living room light when clicked, and simultaneously highlight the module's background when it receives a signal indicating the light is on. While the background is highlighted, clicking the module turns off the living room light, and simultaneously turning off the module's background when it receives a signal indicating the light is off. After configuration, users can trigger the living room light's on / off state through this smart control module and view the light's current status via the module's background.

[0278] Furthermore, the names (a type of attribute parameter) of each intelligent control module can also be customized by the user. For example, a user can name one intelligent control module "Home Mode" and another intelligent control module "Away Mode".

[0279] Furthermore, different intelligent control modules can also come with differentiated module backgrounds (a type of attribute parameter). For example, the weather module can have a cloud background, and the time module can have a simple scale background, enhancing visual recognition and aesthetics.

[0280] After editing the custom interface, the user can name and save it. The terminal device sends a configuration file containing the layout information, module attributes, module relationships, and other interface data of the custom interface to the outside world. The wall switch stores this configuration file and uses it as a displayable custom interface. This custom interface also appears in the subsequent primary / secondary display interface configuration list. The user can select this custom interface for either long-distance or short-distance operation as needed.

[0281] In summary, the embodiments of this disclosure not only provide multiple preset optional interface contents, but also support deep user customization of the interface. Furthermore, the intelligent control modules on each customized interface can be independently configured with attributes and associated trigger relationships, greatly enhancing the personalization of the product and meeting the diverse functional needs of different users. Through modular design, users can easily create feature-rich interactive interfaces without programming knowledge. The customized interface, as part of the optional content list, can be switched and modified by users at any time, offering flexibility and convenience.

[0282] In some embodiments: the secondary display interface is determined according to the user interface configuration instructions and is used to display frequently used interfaces. The primary display interface is used to display a screen saver interface. In this embodiment, when the user approaches from a distance, the screen displays a screen saver interface, which is determined according to the interface style scheme applied by the user. When the user approaches at close range, the screen switches to a frequently used interface configured by the user.

[0283] In some embodiments, the primary display interface is determined according to the user interface configuration instructions and is used to display the saver interface; the secondary display interface is used to display the button identification information of the smart wall switch.

[0284] The button identification information is used to indicate the buttons of the smart wall switch (e.g., type I buttons, i.e., mechanical buttons). The button identification information can be text, an icon, or a combination of both, to tell the user what function the current button corresponds to. For example, displaying the text "Living Room Light" next to the button, or displaying a light bulb icon.

[0285] In this embodiment, when a user approaches from a distance, the screen displays a user-configured interface, such as a screensaver. The screensaver content can be switched by the user (e.g., basic information like time, date, and weather). When the user approaches at close range, the screen switches to a button identification information interface, clearly indicating the device or scene corresponding to each button. Furthermore, the button identification information can be modified, allowing the user to change the button names or icons of the smart wall switch via a terminal device.

[0286] In some embodiments, the primary display interface is determined according to a primary display interface configuration instruction, which is determined by the terminal device in response to a user's operation of selecting target interface content from a plurality of first optional interface contents; the secondary display interface is determined according to a secondary display interface configuration instruction, which is determined by the terminal device in response to a user's operation of selecting target interface content from a plurality of second optional interface contents; wherein the plurality of first optional interface contents and the plurality of second optional interface contents are not completely identical.

[0287] In this embodiment, users can independently select the interface content to display for both long-distance and short-distance viewing, with the two configuration processes operating independently. The design of the two content option pools can also differ. This design provides maximum flexibility, meeting users' dual needs for both long-distance previewing and short-distance operation.

[0288] In some embodiments, the screen includes a display screen (e.g., a color screen (preferably an LCD screen) or a monochrome screen (preferably an OLED screen)). The surface of the smart wall switch button for receiving operation and the display surface of the display screen are both located on the upper surface of the smart wall switch, so that when the user operates the button, the feedback can be seen intuitively from the display screen.

[0289] In some embodiments, there is only one display screen and multiple buttons, with button identification information for all buttons displayed on the same display screen. The secondary display interface is determined according to the user interface configuration instructions, and the primary display interface is used to display the content of the display saver.

[0290] The buttons include a first type of button (mechanical button) and a second type of button (touch button). The first type of button is configured to generate displacement in response to a pressing operation to trigger a mechanical switch signal; the second type of button is configured to generate a touch switch signal in response to a sensing operation.

[0291] Furthermore, in this embodiment of the disclosure, the smart wall switch adopts a single-screen, multi-button layout. For example, three mechanical buttons are provided on the right side of a 3.52-inch display screen. When a user approaches from a distance, the screen displays saver content (such as time and weather); when the user approaches at close range, the screen switches to a secondary display interface, which is determined according to the user interface configuration instructions.

[0292] like Figure 15 and Figure 16 As shown, in a specific example, the smart wall switch has three mechanical buttons and one screen. The specific operation process for setting the secondary display interface based on the terminal device's application can be as follows: After the user opens the APP, they enter the "Screen Display Settings" interface and select the "Common Interface Configuration" option. This option provides several selectable interfaces, including the default "Home" interface, and user-customizable pages 1-11, as well as "Last Operation Interface" and "None". If the user selects "Home", the secondary display interface will display the home interface. If the user selects any of pages 1-11, the secondary display interface will display the user-customized interface. If the user selects "Last Operation Interface", the secondary display interface will display the interface from the user's last operation. If the user selects "None", the second detection signal will be disabled. For example, if the user selects page 1, where page 1 is user-customized... Figure 14 The page shown has a smart control module added, and this module is linked to time. Therefore, the display status of the smart wall switch can be, for example... Figure 16 As shown.

[0293] In some embodiments, the smart wall switch has multiple displays. The control method further includes: independently determining the primary display interface and / or secondary display interface corresponding to each display screen according to user interface configuration instructions.

[0294] Specifically, in a multi-display configuration, each display independently handles the information display and interactive feedback functions for its corresponding buttons. Users can independently configure the primary and / or secondary display interfaces for each display via a terminal device. The configuration of each display is independent, meeting refined control requirements. It accommodates the functional differences of different buttons and user customization needs; multiple screens can operate in parallel without interference.

[0295] Furthermore, the control method further includes:

[0296] When the smart wall switch performs screen switching based on the user's proximity, the multiple displays simultaneously switch to their respective primary or secondary display interfaces.

[0297] Specifically, the smart wall switch is equipped with only one human body sensing module (such as an infrared sensor or radar sensor). This module is used to uniformly detect the proximity distance between the user and the wall switch. When the user is detected to be at a first-level or second-level distance, the smart wall switch, based on the unique distance determination result, synchronously sends a switching command to all displays.

[0298] All displays respond to the same proximity changes by uniformly switching from their current display content to the display content type corresponding to that proximity state (primary display interface or secondary display interface). In other words, there is no situation where one display is in the primary display interface while another display is in the secondary display interface; all displays always display the same type of content (either both in the primary display interface or both in the secondary display interface).

[0299] However, although the switching is synchronous, the specific content displayed on each screen can be configured independently. Users can use a terminal device (such as a mobile app) to set the primary display interface for each screen when viewed from a distance, and the secondary display interface when viewed from a close distance. The content displayed on different screens can be the same or different, entirely up to the user.

[0300] For example, the button includes a mechanical button. The pressing surface of the mechanical button and the display surface of the screen are both located on the upper surface of the smart wall switch, so that when the user presses the mechanical button, they can intuitively see the feedback on the display screen.

[0301] There is a one-to-one correspondence between the display screen and the mechanical buttons. The primary display interface is determined according to the user interface configuration instructions, and the secondary display interface is used to display the button identification information of the smart wall switch.

[0302] Taking a two-button smart wall switch as an example, the device has two mechanical buttons and two displays, with each display located above the corresponding mechanical button. Users can independently configure a primary display interface for each mechanical button via a terminal device. For example, the primary display interface for the left mechanical button can be configured as "Weather" (displaying weather information), and the primary display interface for the right mechanical button can be configured as "Time" (displaying time information). When the user approaches from a distance, the two displays show their respective configured weather and time; when the user approaches closely, the two displays switch to a secondary display interface, i.e., button identification information, such as "Living Room Light" and "Curtains," respectively, helping the user identify the controlled device corresponding to the currently selected mechanical button.

[0303] The principle is the same for three-button mechanical buttons: each button has its own dedicated display screen, independently switches interfaces, and has its own configured display content. This allows for a dedicated display area for each mechanical button.

[0304] like Figure 17 and Figure 18 As shown in the example, in a specific instance, the smart wall switch has three buttons. The primary display interface is used to display the screen saver. The specific operation process for setting the primary display interface based on the terminal device's application can be as follows: After the user opens the APP and enters the screen display device page, they select the "Screen Saver Display Content" option. This page provides screen saver display content settings for the left, middle, and right buttons. The user can independently set the screen saver display content (i.e., the primary display interface) for the screen corresponding to these three buttons. For example, if the user selects the weather for the left button, the time for the middle button, and the date for the right button, then after the APP generates and issues the configuration command, the smart wall switch will configure the primary display interface for each display screen according to the user's settings. Figure 18 As shown.

[0305] In some embodiments, the smart wall switch includes multiple mechanical buttons. The number of displays is less than the number of mechanical buttons. The primary display interface is determined according to the user interface configuration instructions, and the secondary display interface is used to display the button identification information of the smart wall switch. Furthermore, the button identification information can be modified, allowing users to modify the button identification information of each mechanical button on the smart wall switch via a terminal device.

[0306] Taking a four-button wall switch with two displays as an example, the two displays can be located in the middle area between the two upper mechanical buttons and the two lower mechanical buttons, respectively. Each display simultaneously serves the two mechanical buttons adjacent to it. When the user approaches from a distance, the two displays show the primary display interface of their respective areas. For example, the left display shows "Weather," and the right display shows "Time." When the user approaches closely, the two displays switch to the secondary display interface, namely the button identification information. Each display shows the button identification information of the two mechanical buttons in a vertical column format. For example, the left display shows "Living Room Light | Dining Room Light," and the right display shows "Curtains | Air Conditioner."

[0307] like Figure 19 and Figure 20As shown in the example, the smart wall switch has four buttons and two screens. The primary display interface is used to display the screen saver. The specific operation process for setting the primary display interface based on the terminal device's application can be as follows: After the user opens the APP and enters the screen display device page, they select the "Screen Saver Display Content" option. This page provides screen saver display content settings for the left and right screens. The user can independently set the screen saver display content (i.e., the primary display interface) for these two screens. For example, if the user selects the weather as the screen saver for the left screen and the time for the right screen, after the APP generates and sends the configuration command, the smart wall switch will configure the primary display interface for each screen according to the user's settings. Figure 20 As shown.

[0308] In some embodiments, the conditional transmission of the second detection signal specifically includes:

[0309] After receiving the first feedback signal, a second detection signal is transmitted.

[0310] Specifically, the first detection strategy adopts a sequential mode, and the second detection signal is conditional upon receiving the first feedback signal. That is, the first detection signal and the second detection signal are transmitted in a sequential order and have different detection distances.

[0311] Furthermore, after transmitting the second detection signal, the control method further includes:

[0312] The content displayed on the screen is determined based on whether a second feedback signal corresponding to the second detection signal is received within a specified time. Specifically: if the second feedback signal corresponding to the second detection signal is received within the specified time, the screen is controlled to switch to the secondary display interface; otherwise, the screen is controlled to switch to the primary display interface.

[0313] Specifically, when the smart wall switch screen is in a predetermined state (e.g., screen off), the smart wall switch emits a detection signal according to a first detection strategy. Initially, only the first detection signal (corresponding to long-distance detection) is emitted. The detection range of the first detection signal is configured to be relatively far. The smart wall switch continuously monitors whether it receives a first feedback signal corresponding to the first detection signal. When the user enters the detection range of the first detection signal, the smart wall switch receives the first feedback signal, indicating that the user has entered a long-distance area. At this time, the smart wall switch does not immediately perform the first control operation of screen lighting and interface display, but first performs a quick confirmation at close range: during the confirmation period, the smart wall switch emits a second detection signal, the detection range of which is configured to be relatively close, and simultaneously starts a quick confirmation window (specified time). Within this quick confirmation window, it quickly detects whether it receives a second feedback signal corresponding to the second detection signal.

[0314] Scenario 1: A second feedback signal is received within a specified time.

[0315] If a second feedback signal is received within the specified time, it indicates that the user is already in the near-field area while entering the far-field area (e.g., the user is rapidly approaching). At this point, the first control operation is executed:

[0316] The control screen lights up and directly displays the secondary display interface (close-up interface).

[0317] This process skips the display of the far-field interface, avoiding the flickering phenomenon of "displaying the far-field interface first and then immediately switching to the near-field interface", thus achieving a seamless and fast-response experience.

[0318] Scenario 2: No second feedback signal is received within the specified time.

[0319] If no second feedback signal is received within the specified time, it indicates that the user is currently only in the far-field area and has not yet entered the near-field area. In this case, execute the first control operation:

[0320] Control the screen to light up and display the primary display interface (long-distance interface).

[0321] It is worth noting that in this embodiment of the disclosure, the specified time is set to an extremely short duration, such as less than 50ms. Taking a specified time of 10ms as an example, the specific process can be as follows:

[0322] When a user enters the detection range of the first detection signal (e.g., 0~110cm), the smart wall switch receives the first feedback signal and then performs a rapid close-range confirmation: it emits a second detection signal (the detection distance is configured to a closer range, e.g., 0cm to 50cm). Within a 10ms time window, it quickly detects whether a second feedback signal corresponding to the second detection signal has been received.

[0323] If a second feedback signal is received within 10 milliseconds, the secondary display interface is displayed directly; otherwise, the primary display interface is displayed.

[0324] Furthermore, the control method further includes:

[0325] If the smart wall switch does not receive the second feedback signal corresponding to the second detection signal within a specified time, it will switch the transmitted detection signal to contain only the second detection signal.

[0326] Specifically, if no second feedback signal is received within a specified time, it indicates that the user is currently only in the distant area and has not yet entered the nearby area. At this time, the first control operation is executed: the control screen lights up and displays the primary display interface. Subsequently, the second detection signal continues to be emitted and the second feedback signal is continuously monitored to determine whether there is anyone in the nearby area.

[0327] Furthermore, the control method further includes:

[0328] After switching the transmitted detection signal to include only the second detection signal;

[0329] If the second feedback signal is received within the specified timeout period, the screen is switched to the secondary display interface; otherwise, the transmitted detection signal is restored to contain only the first detection signal. The timeout period is less than the specified time.

[0330] Specifically, after switching the transmitted detection signal to include only the second detection signal, a monitoring timer is started. If the second feedback signal is received before the monitoring timer expires, the screen is switched to the secondary display interface; if the second feedback signal is not received before the monitoring timer expires, the transmitted detection signal is restored to include only the first detection signal; wherein the timeout duration of the monitoring timer is less than the specified time.

[0331] In this embodiment of the disclosure, a monitoring timer is used to monitor the timeout of near-field detection: after switching to transmitting the second detection signal, the smart wall switch continuously monitors whether a second feedback signal corresponding to the second detection signal is received within the time window set by the monitoring timer. If the second feedback signal is received before the monitoring timer expires, it indicates that the user has entered the near-field area. If the second feedback signal is not received before the monitoring timer expires, it indicates that the user has left after staying in the far-field area (e.g., the user only passed by without intending to operate), or the user stayed in the far-field area but did not approach further. At this time, a reset control operation is performed, for example:

[0332] Stop transmitting the second detection signal;

[0333] The launch strategy was reverted to launching only the first detection signal, resuming monitoring of approaching objects at a distance.

[0334] It is worth noting that in this embodiment, the timeout duration is one of the key parameters. This timeout duration is set to be less than or equal to 5 minutes and / or the shortest time interval required for the screen to automatically enter screensaver mode due to no user operation after being activated. For example, if the minimum selectable value for the time it takes for the screen to automatically enter screensaver mode after being turned on due to no user operation is 1 minute, then the maximum value of the monitoring timer can be set to 1 minute. The purpose of this design is to ensure that the reset operation can be completed before the screen automatically turns off if no close proximity is detected.

[0335] It is worth noting that in sequential detection mode, because the first and second detection signals use different codes (such as code A and code B), the wall switch can accurately distinguish which type of detection signal the received feedback signal comes from. When only a reflected signal of code A is received, it is determined to be a long-distance state; when a reflected signal of code B is received, it is determined to be a short-distance state (at this time, the user must have already entered the range of the first detection signal, so there is no need to judge the signal of code A again). This mode effectively avoids signal confusion and improves the reliability of detection.

[0336] In some embodiments, when no near-field signal is detected within the quick confirmation window, instead of switching to transmitting only the second detection signal, a composite detection phase is entered, dynamically determining the display content and transmission strategy based on the feedback combination of each subsequent cycle. Specifically:

[0337] If the smart wall switch does not receive the second feedback signal corresponding to the second detection signal within a specified time, it controls the screen to switch to the first-level display interface before, after, or simultaneously, and switches the transmitted detection signal to alternately or sequentially transmit the first detection signal and the second detection signal in each detection cycle. Based on the combination of feedback signals received in each detection cycle, it determines the display interface of the screen and / or the subsequent signal transmission strategy.

[0338] In this embodiment, if no second feedback signal is received within a specified time, it indicates that the user is currently only in a distant area and has not yet entered a near-distance area. At this time, the transmission strategy is switched from transmitting only the second detection signal to a composite detection mode, that is, the first and second detection signals are transmitted alternately or sequentially within each detection cycle. In this composite detection mode, the smart wall switch enters a continuous dynamic monitoring phase, determining the screen display content and subsequent signal transmission strategy in real time based on the combination of feedback signals received within each detection cycle.

[0339] Furthermore, the step of determining the subsequent signal transmission strategy based on the combination of feedback signals received in each detection cycle includes: if a first feedback signal corresponding to a first detection signal is received but a second feedback signal corresponding to a second detection signal is not received, then the first detection signal and the second detection signal are transmitted alternately or sequentially in each detection cycle; if a second feedback signal corresponding to a second detection signal is received, then the transmitted detection signal is switched to contain only the second detection signal; if no feedback signal is received, then the transmitted detection signal is switched to contain only the first detection signal.

[0340] Specifically, the smart wall switch determines the screen display content and subsequent signal transmission strategy in real time based on the combination of feedback signals received within each detection cycle. The specific judgment logic is as follows:

[0341] Sub-case A: Only the first feedback signal is received, and the second feedback signal is not received.

[0342] If, within a detection cycle, only the first feedback signal corresponding to the first detection signal is received, but the second feedback signal corresponding to the second detection signal is not received, it indicates that the user is still in the far-range area and has not yet entered the near-range area. In this case, maintain the current state: continue to alternately or sequentially transmit the first and second detection signals within each detection cycle, and maintain the primary display interface (far-range interface) on the screen. Continue monitoring in subsequent detection cycles, waiting for the user to approach further.

[0343] Sub-case B: Received the second feedback signal

[0344] If a second feedback signal corresponding to the second detection signal is received within one detection cycle, it indicates that the user has entered the near-field area. At this time, a second control operation is executed: the control screen switches from the primary display interface to the secondary display interface (near-field interface), and the transmission strategy is switched from the composite detection mode to "transmit only the second detection signal". Subsequently, it enters the pure near-field monitoring mode, transmitting only the second detection signal to continuously monitor whether the user remains in the near-field area.

[0345] Sub-case C: No feedback signal received

[0346] If no valid feedback signal is received within a detection cycle (neither the first nor the second feedback signal), it indicates that the user has left the detection range. In this case, a reset operation is performed: the transmission strategy is switched to "transmit only the first detection signal", and the screen is restored to a predetermined state (such as screen off or screen saver), restarting the monitoring of approaching objects at a distance.

[0347] Furthermore, in sub-case B, after switching the transmitted detection signal to include only the second detection signal, the method further includes:

[0348] If the second feedback signal corresponding to the second detection signal is not received, the transmitted detection signal will be switched to alternately or sequentially transmit the first detection signal and the second detection signal in each detection cycle.

[0349] After the smart wall switch has switched its transmission strategy to transmit only the second detection signal (i.e., pure near-field monitoring mode), if no second feedback signal corresponding to the second detection signal is received in subsequent monitoring (e.g., the user leaves the near-field area), it will resume transmitting the first and second detection signals alternately or sequentially in each detection cycle, i.e., re-enter the composite detection mode. This fallback mechanism ensures that the smart wall switch can adapt to various user behavior patterns: when the user leaves the near-field area but remains in the far-field area, it can re-enter the composite detection mode and wait for the user to approach again or leave completely; if the user completely leaves the detection range, it will eventually reset to the initial state of transmitting only the first detection signal.

[0350] In some embodiments, the conditional transmission of the second detection signal includes:

[0351] When the screen is in a predetermined state, the detection signal emitted by the smart wall switch contains only the first detection signal;

[0352] In response to receiving the first feedback signal, the smart wall switch controls the screen to switch to the first-level display interface and switches the emitted detection signal to contain only the second detection signal;

[0353] In response to receiving the second feedback signal, the smart wall switch controls the screen to switch to the secondary display interface.

[0354] As can be seen, in the sequential detection mode of this embodiment, when the screen of the smart wall switch is in a predetermined state (such as screen off or screen saver), the smart wall switch only transmits a first detection signal (corresponding to long-distance detection). This first detection signal uses a first code (such as code A) and is transmitted with a preset transmission power. The detection distance of the first detection signal is configured to a relatively long range, for example, 0cm to 110cm, to detect whether the user has entered the long-distance sensing area.

[0355] When a user enters the detection range of the first detection signal, the smart wall switch receives a first feedback signal corresponding to the first detection signal. In response to the feedback signal, the smart wall switch performs a first control operation, such as turning on the control screen and switching to the first-level display interface (long-distance interface).

[0356] The transmission strategy is switched from transmitting only the first detection signal to transmitting only the second detection signal. The second detection signal uses a different code (such as code B) than the first detection signal. Its transmission power or coding characteristics enable a shorter detection range, for example, 0cm to 80cm, to detect whether the user is moving further into the close-range area.

[0357] If a second feedback signal is received, it indicates that the user has entered the proximity area. At this time, a second control operation is executed, such as switching the control screen from the primary display interface to the secondary display interface (proximity interface).

[0358] In some embodiments, the conditional transmission of the second detection signal includes:

[0359] The smart wall switch alternately or sequentially transmits the first detection signal and the second detection signal in each detection cycle;

[0360] The smart wall switch determines the current proximity distance status based on the combination of feedback signals received in each detection cycle.

[0361] In this embodiment of the disclosure, the first detection strategy employs a composite detection mode when conditionally transmitting the second detection signal. The main difference between this composite detection mode and the aforementioned sequential detection mode is that it does not wait until the user enters a distant area before transmitting the second detection signal. Instead, it transmits the first and second detection signals alternately or sequentially within each initial detection cycle, and determines the user's distance status in real time based on the combination of received feedback signals, thereby achieving a more flexible response strategy.

[0362] Based on the combination of feedback signals received within each detection cycle, the current proximity distance status is determined: where:

[0363] If the first feedback signal and the second feedback signal are received simultaneously within a detection cycle, it is determined that the user is in the secondary distance state, and the screen is controlled to switch to the secondary display interface;

[0364] If only the first feedback signal is received and the second feedback signal is not received within a detection cycle, it is determined that the user is in the first-level distance state, and the screen is controlled to maintain the display of the first-level display interface;

[0365] If no feedback signal is received within a detection cycle, it is determined that no user exists, and the screen is controlled to remain or return to the predetermined state.

[0366] As can be seen, in the embodiments of this disclosure, in the composite detection mode, when the screen of the smart wall switch is in a predetermined state (such as screen off or screen saver), the emitted detection signal includes a first detection signal (corresponding to long-distance detection) and a second detection signal (corresponding to short-distance detection).

[0367] In this system, the first detection signal uses a first code (e.g., code A), and its detection range is configured to be relatively long, for example, 0cm to 110cm. Unlike the sequential detection mode, the composite detection mode simultaneously transmits the second detection signal in the initial stage. That is, each detection cycle includes two transmissions: one transmission of the first detection signal (code A) and one transmission of the second detection signal (code B). The time interval between the two transmissions is extremely short (e.g., milliseconds) to ensure that a complete detection cycle is completed when the user's position does not change significantly. Because the first and second detection signals have different characteristic parameters (e.g., different codes), the smart wall switch can accurately distinguish whether the received feedback signal comes from the first or second detection signal. Based on the combination of feedback signals received within a detection cycle, the user's current distance status can be determined.

[0368] As can be seen, in the composite detection mode, the smart wall switch can accurately identify the user's distance status within a single detection cycle without relying on timeout waiting.

[0369] In some embodiments, when conditionally transmitting the second detection signal, a power differentiation mode is employed. The key difference between this power differentiation mode and the aforementioned sequential and composite detection modes is that the first and second detection signals use the same signal encoding, but differentiate detection distances through different transmission powers. This design saves encoding resources while still achieving graded proximity detection functionality.

[0370] Specifically, the power differentiation modes include:

[0371] When the screen is in a predetermined state, the detection signal emitted by the smart wall switch contains only the first detection signal transmitted at the first transmission power;

[0372] In response to receiving a first feedback signal corresponding to the first detection signal, the smart wall switch controls the screen to switch to the first-level display interface and switches the transmitted detection signal to include only the first detection signal transmitted at the second transmission power; the first transmission power is different from the second transmission power, and the different characteristic parameters include the difference in transmission power, the difference in transmission power makes the detection distance of the first detection signal transmitted at the first transmission power greater than the detection distance of the first detection signal transmitted at the second transmission power;

[0373] In response to receiving a feedback signal corresponding to the first detection signal transmitted at a second transmission power, the smart wall switch controls the screen to switch to the secondary display interface.

[0374] As can be seen, in the embodiments of this disclosure, in the power differentiation mode, when the screen of the smart wall switch is in a predetermined state (such as screen off or screen saver), it only transmits the first detection signal at the first transmission power P1. The first detection signal adopts a specific code (such as code A), and because the transmission power is relatively high, its effective detection distance is configured to be a long range, for example, 0cm to 110cm.

[0375] When a user enters the detection range corresponding to the first detection signal, the smart wall switch receives the first feedback signal corresponding to the first detection signal, and in response to the feedback signal, performs the first control operation, such as controlling the screen to light up and switching to the first-level display interface (long-distance interface).

[0376] Subsequently, the transmission strategy is switched from transmitting the first detection signal only at the first transmission power P1 to transmitting the first detection signal only at the second transmission power P2. The second transmission power P2 is less than the first transmission power P1, resulting in a shorter detection range (e.g., 0cm to 50cm) for the same coded signal transmitted at P2. In other words, although the signal encoding is the same, the detection signal can propagate a shorter distance due to the reduced transmission power. If a corresponding feedback signal is received, it indicates that the user has entered the close-range area. At this time, a second control operation is executed, such as switching the control screen from the primary display interface to the secondary display interface (close-range interface).

[0377] Furthermore, the control method further includes: after switching the transmitted detection signal to include only the first detection signal transmitted at a second transmission power, a monitoring timer is started; if a feedback signal corresponding to the first detection signal transmitted at a second transmission power is received before the monitoring timer expires, the screen is controlled to switch to the secondary display interface; if no feedback signal corresponding to the first detection signal transmitted at a second transmission power is received before the monitoring timer expires, the transmitted detection signal is restored to include only the first detection signal transmitted at a first transmission power; wherein, the timeout duration of the monitoring timer is less than the shortest time interval required for the screen to automatically enter the predetermined state from being activated due to no user operation.

[0378] Specifically, in this embodiment of the disclosure, when the transmission strategy is switched from transmitting the first detection signal only at the first transmission power P1 to transmitting the first detection signal only at the second transmission power P2, a monitoring timer is started to monitor for timeouts in near-range detection. After switching to transmitting the first detection signal only at the second transmission power P2, the smart wall switch continuously monitors whether a corresponding feedback signal is received within the time window set by the monitoring timer. If a feedback signal is received before the monitoring timer expires, it indicates that the user has entered the near-range area. At this time, the second control operation is executed. If no feedback signal is received before the monitoring timer expires, it indicates that the user has left after staying in the far-range area (e.g., the user only passed by without intending to operate), or the user stayed in the far-range area but did not approach further. At this time, a reset control operation is executed, for example: stopping the transmission of the first detection signal at the second transmission power P2; reverting the transmission strategy to transmitting the first detection signal only at the first transmission power P1, and restarting the monitoring of near-range approach.

[0379] In some embodiments, controlling the screen to display the first specified text in the custom text content in response to the first triggering event includes:

[0380] Determine the proximity status between the user and the smart wall switch;

[0381] If the distance is determined to be at level one, then control the screen to display the level one display interface;

[0382] If the distance is determined to be at level two, then control the screen to display the level two display interface;

[0383] The primary display interface and / or the secondary display interface are determined according to the user interface configuration instructions; the user interface configuration instructions are generated by the terminal device in response to the user selecting target text from multiple selectable interface contents, and are used to determine the target text as the first specified text displayed by the primary display interface and / or the secondary display interface when the first triggering event is triggered.

[0384] like Figure 3 and Figure 5 As shown in the example, users can edit three texts (e.g., text 1, text 2, and text 3), and the list of selectable interface content includes weather, time, date, text 1, text 2, and text 3. Users can then select any content from this list to associate when configuring the primary display interface (far-view interface) or the secondary display interface (near-view interface).

[0385] The smart wall switch responds to user configuration operations on the primary or secondary display interface, setting the text selected by the user as the display content for the corresponding state. For example, a user accesses the smart wall switch's display content configuration page on a mobile app, browses and selects previously created text (such as "Good Morning") from the list of available interface content, and then chooses to set this text as the primary display interface (far-field interface) or the secondary display interface (near-field interface). The app generates a corresponding configuration command and sends it to the smart wall switch. After receiving the command, the smart wall switch associates and stores the selected text with the corresponding distance state. Subsequently, when the user is in that distance state, the screen displays the text "Good Morning".

[0386] like Figure 21 As shown, one embodiment of this disclosure also provides a smart wall switch corresponding to the above-described control method. The smart wall switch is capable of communicating with a control platform, is suitable for installation in power lines and can be used to control high-voltage loads, and has at least one screen. The smart wall switch includes a third communication module and a third screen-switching module.

[0387] The third communication module is used to acquire custom text content, which includes at least one pre-edited text and has no fixed binding relationship with the button of the smart wall switch.

[0388] The third screen-switching module is configured to, in response to a first trigger event, control the screen to display a first specified text from the custom text content; wherein the first trigger event includes the smart wall switch detecting the presence of a user; and / or, in response to a second trigger event, control the screen to display a second specified text from the custom text content; wherein the second trigger event includes receiving a control command from a control platform, the control command being generated by the control platform based on external device status change information and user-preset linkage rules.

[0389] In some embodiments, the linkage rule includes at least one condition-action pair, wherein the condition-action pair is triggered by at least one changeable state of at least one external device connected to the control platform, and the execution action is to control at least one screen of the smart wall switch to display at least one text in the custom text content; the control instruction is issued by the control platform after determining the matching condition-action pair based on the received state change information, according to the execution action defined by the matching condition-action pair, for causing the smart wall switch to display the text pointed to by the execution action as the second specified text.

[0390] In some embodiments, the third communication module is further configured to: receive a user interface configuration instruction; the user interface configuration instruction is generated by the terminal device in response to a user selecting a target text from a plurality of optional interface contents.

[0391] The third screen-switching module is further configured to determine the target text as the first specified text displayed on the screen when the first triggering event is triggered, based on the user interface configuration instructions.

[0392] In some embodiments, the custom text content includes multiple texts; when the first specified text and the second specified text are configured to point to different texts, the texts pointed to by the first specified text and the second specified text are synchronized according to a preset synchronization rule, so that the first specified text and the second specified text point to the same text.

[0393] In some embodiments, synchronizing the text pointed to by the first specified text and the second specified text according to a preset synchronization rule includes: determining the text pointed to by the later-configured specified text as the synchronization target according to the order of the configuration times of the first specified text and the second specified text, and replacing the text pointed to by the earlier-configured specified text with the synchronization target.

[0394] In some embodiments, synchronizing the text pointed to by the first specified text and the second specified text according to a preset synchronization rule includes: when the first specified text and the second specified text point to different texts, before the smart wall switch receives the second trigger event, if the first trigger event is received, then in response to the first trigger event, controlling the screen to display the text pointed to by the first specified text; after the smart wall switch first receives the second trigger event, modifying the text pointed to by the first specified text to the text pointed to by the second specified text, and thereafter, if the first trigger event is received, then in response to the first trigger event, controlling the screen to display the modified text pointed to by the first specified text.

[0395] In some embodiments, the custom text content includes multiple texts; when the first specified text and the second specified text point to different texts: according to the type of the triggering event, the screen is controlled to display the text corresponding to the triggering event; wherein, in response to the first triggering event, the screen is controlled to display the text pointed to by the first specified text; in response to the second triggering event, the screen is controlled to display the text pointed to by the second specified text.

[0396] In some embodiments, the screen includes a display screen, and the smart wall switch has multiple display screens; the third screen switching module is further configured to: independently determine the first specified text corresponding to each display screen according to user interface configuration instructions.

[0397] In some embodiments, the third communication module is further configured to: receive a screen saver type configuration instruction from a terminal device, the screen saver type configuration instruction being used to specify the screen saver type of the smart wall switch; when a preset condition is met, control the screen to enter a screen saver state, and determine the display style of the screen saver interface according to the screen saver type specified by the screen saver type configuration instruction; wherein, when the screen saver type belongs to a first preset category, the second specified text is displayed on the screen saver interface; when the screen saver type belongs to a second preset category, the second specified text is not displayed on the screen saver interface.

[0398] In some embodiments, the screensaver type further includes a third preset category; the step of controlling the screen to display the second specified text in the custom text content in response to the second trigger event is specifically used to: control the screen to enter the screensaver state of the third preset category and display the second specified text on the screensaver interface.

[0399] In some embodiments, the screen includes a display screen, and the smart wall switch has multiple display screens; the step of controlling the screen to display a second specified text in the custom text content in response to a second trigger event is specifically used to: control multiple screens to display their respective corresponding second specified text; wherein, the second specified text corresponding to each screen is independently determined according to one or more linkage rules: determined separately according to multiple linkage rules, each linkage rule being used to determine the second specified text displayed on one screen; or determined uniformly according to a linkage rule, the linkage rule defining the second specified text displayed on each of the multiple screens.

[0400] In some embodiments, the third communication module acquires custom text content, specifically for: receiving at least one pre-edited text from the terminal device before the first trigger event or the second trigger event occurs, and storing the text locally in the smart wall switch; or, acquiring at least one pre-edited text immediately upon receiving the first trigger event or the second trigger event.

[0401] In some embodiments, before the first triggering event or the second triggering event occurs, the third communication module receives at least one pre-edited text from the terminal device, specifically for: receiving a text configuration instruction from the terminal device, the text configuration instruction carrying text edited by the user through the terminal device; and storing the text locally.

[0402] In some embodiments, when the third communication module receives the second trigger event, it acquires the custom text content; this includes: when receiving the control command, parsing the custom text content from the control command.

[0403] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this disclosure, and are not intended to limit them. Although this disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this disclosure.

Claims

1. A control method applied to a smart wall switch, characterized in that, The smart wall switch is capable of communicating with a control platform, is suitable for installation in power lines and can be used to control high-voltage loads, and has at least one screen; the control method includes: Obtain custom text content, which includes at least one pre-edited text, and the text has no fixed binding relationship with the button of the smart wall switch; In response to a first trigger event, the screen is controlled to display a first specified text from the custom text content; wherein, the first trigger event includes the smart wall switch detecting the presence of a user; and / or, In response to a second triggering event, the screen is controlled to display a second specified text from the custom text content; wherein, the second triggering event includes receiving a control instruction from a control platform, the control instruction being generated by the control platform based on external device status change information and user-preset linkage rules.

2. The control method according to claim 1, characterized in that, The linkage rule includes at least one condition-action pair, which is triggered by at least one changeable state of at least one external device connected to the control platform, and executed by controlling at least one screen of the smart wall switch to display at least one text in the custom text content. The control command is issued by the control platform after determining the matching condition-action pair based on the received state change information, and then issuing the execution action defined by the matching condition-action pair. This command is used to cause the smart wall switch to display the text pointed to by the execution action as the second specified text.

3. The control method according to claim 1 or 2, characterized in that, The control method further includes: Receive user interface configuration instructions; the user interface configuration instructions are generated by the terminal device in response to the user selecting the target text from the custom text content from a plurality of selectable interface content; According to the user interface configuration instructions, the target text is determined as the first specified text displayed on the screen when the first triggering event is triggered.

4. The control method according to claim 3, characterized in that, The custom text content includes multiple texts; When the first specified text and the second specified text are configured to point to different texts, the texts pointed to by the first specified text and the second specified text are synchronized according to the preset synchronization rules, so that the first specified text and the second specified text point to the same text.

5. The control method according to claim 4, characterized in that, According to preset synchronization rules, the text pointed to by the first specified text and the second specified text are synchronized, including: Based on the order in which the first specified text and the second specified text are configured, the text pointed to by the specified text configured later is determined as the synchronization target, and the text pointed to by the specified text configured earlier is replaced with the synchronization target.

6. The control method according to claim 4, characterized in that, According to preset synchronization rules, the text pointed to by the first specified text and the second specified text is synchronized, including: When the first specified text and the second specified text point to different texts, if the first trigger event is received before the smart wall switch receives the second trigger event, then in response to the first trigger event, the screen is controlled to display the text pointed to by the first specified text; After the smart wall switch receives the second trigger event for the first time, it modifies the text pointed to by the first specified text to the text pointed to by the second specified text. Thereafter, if the first trigger event is received, it controls the screen to display the modified text pointed to by the first specified text in response to the first trigger event.

7. The control method according to claim 3, characterized in that, The custom text content includes multiple texts; When the first specified text and the second specified text point to different text: Based on the type of the triggering event, the text displayed on the screen corresponding to the triggering event is controlled in a differentiated manner; In response to the first triggering event, the screen is controlled to display the text pointed to by the first specified text; in response to the second triggering event, the screen is controlled to display the text pointed to by the second specified text.

8. The control method according to claim 3, characterized in that, The screen includes a display screen, and the smart wall switch has multiple display screens; the control method further includes: The first designated text for each display screen is determined independently based on the user interface configuration instructions.

9. The control method according to claim 2, characterized in that, The method further includes: Receive a screen saver type configuration instruction from a terminal device, wherein the screen saver type configuration instruction is used to specify the screen saver type of the smart wall switch; When preset conditions are met, the screen is controlled to enter screen saver mode, and the display style of the screen saver interface is determined according to the screen saver type specified by the screen saver type configuration instruction. Specifically, when the screensaver type belongs to the first preset category, the second specified text is displayed on the screensaver interface; when the screensaver type belongs to the second preset category, the second specified text is not displayed on the screensaver interface.

10. The control method according to any one of claims 1, 2, 4 to 9, characterized in that, Retrieve custom text content, including: Before the first trigger event or the second trigger event occurs, at least one pre-edited text is received from the terminal device, and the text is stored locally in the smart wall switch; or, Upon receiving the first trigger event or the second trigger event, immediately acquire at least one pre-edited text.

11. A smart wall switch, characterized in that, include: The memory is used to store the interface data corresponding to the interface style scheme. A communication processing module for communicating with the mobile terminal; A screen is used for displaying information. A processor electrically connected to the memory, the communication processing module, and the screen, the processor being configured to perform the control method as described in any one of claims 1 to 10.