Smart wall switch and control method thereof

By displaying the configuration interface diagram in real time on the terminal device's settings interface, and by combining direct communication and network communication to optimize the configuration process, the problem of cumbersome operation during the configuration of smart wall switches has been solved, improving user experience and efficiency.

CN122339877APending 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

Existing smart wall switches require users to repeatedly check the switch screen to confirm the configuration results during the configuration process, which is cumbersome and results in a poor user experience.

Method used

By displaying a configuration interface diagram related to the actual content displayed by the switch in real time on the terminal device's settings interface, users can intuitively perceive the effect on the configuration interface. Combining point-to-point direct communication and network communication paths, the real-time performance and reliability of the configuration process are optimized, and the number of communication times is reduced by using a synchronization method when exiting.

Benefits of technology

It improves configuration efficiency and user experience, reduces device power consumption, avoids interface flickering and response delay, and achieves data consistency and seamless synchronization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122339877A_ABST
    Figure CN122339877A_ABST
Patent Text Reader

Abstract

This invention relates to a smart wall switch and its control method. The control method includes: establishing a communication connection with a terminal device; receiving a configuration instruction; the configuration instruction being generated and sent by the terminal device in response to a configuration operation; the configuration operation being a configuration operation performed by a user on a settings interface displayed on the terminal device after establishing a communication connection with the smart wall switch; updating the screen display content according to the configuration instruction; wherein the updated display content is associated with an updated configuration interface pattern; the configuration interface pattern is the configuration interface pattern of the smart wall switch screen in the settings interface, and the update of the configuration interface pattern is performed by the terminal device according to the configuration operation.
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. In the existing technology, when configuring a smart wall switch, users usually need to set each parameter one by one in a mobile app.

[0004] However, users often need to check the switch screen after setting it up to confirm the configuration result. If the effect is not as expected, they need to go back to the settings interface to make adjustments, which is cumbersome and results in a poor user experience. Summary of the Invention

[0005] The purpose of this disclosure is to provide a smart wall switch and its control method, wherein when a user configures the smart wall switch on the settings interface of a terminal device, the user can see the effect related to the actual display content of the switch on the configuration interface in real time, and can intuitively perceive the configuration result without repeatedly checking the switch screen, thereby greatly improving configuration efficiency and user experience.

[0006] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein users can intuitively modify button label information in a first setting interface and see a display effect consistent with the actual switch screen on the configuration interface diagram in real time, thus realizing the "what you see is what you get" of button label configuration.

[0007] Another objective of this disclosure is to provide an intelligent wall switch and its control method, wherein by distinguishing data types and using different communication paths, real-time performance can be guaranteed while ensuring the reliability of data transmission, thereby optimizing the communication efficiency of the configuration process.

[0008] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein the "synchronization upon exit" method can reduce the number of communications, reduce device power consumption, and avoid interface flickering or response delay caused by frequent switch updates triggered by the user during editing.

[0009] Another objective of this disclosure is to provide a smart wall switch and its control method, which combines "synchronization upon exit" with "real-time update of local patterns" to ensure the consistency of data between the smart wall switch and the terminal device, while avoiding frequent communication overhead and achieving a seamless synchronization experience.

[0010] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein by setting a touch simulation area, users can experience and familiarize themselves with the touch interaction logic of the smart wall switch in advance on a terminal device without having to operate the actual switch, thereby further improving the convenience and intuitiveness of configuration.

[0011] 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 control method includes: establishing a communication connection with a terminal device; receiving a configuration instruction; the configuration instruction being generated and sent by the terminal device in response to a configuration operation; the configuration operation being a configuration operation performed by a user on a settings interface displayed on the terminal device after establishing a communication connection with the smart wall switch; updating screen display content according to the configuration instruction; wherein the updated display content is associated with an updated configuration interface pattern; the configuration interface pattern is the configuration interface pattern of the smart wall switch screen in the settings interface, and the update of the configuration interface pattern is performed by the terminal device according to the configuration operation.

[0012] According to embodiments of this disclosure, the configuration interface pattern includes a first type of configuration interface pattern, and the setting interface includes a first setting interface corresponding to the first type of configuration interface pattern; updating the screen display content according to a configuration instruction includes: updating the button identification information displayed on the screen according to the configuration instruction; the configuration instruction is generated by the terminal device based on the user's configuration operation on the button identification information of at least one button of the smart wall switch in the first setting interface; wherein, the button identification information presented in the updated first type of configuration interface pattern is consistent with the button identification information correspondingly displayed on the screen of the smart wall switch after the update; the button identification information in the first type of configuration interface pattern is updated by the terminal device in response to the configuration operation.

[0013] According to embodiments of this disclosure, establishing a communication connection with the terminal device includes at least one of the following: establishing a point-to-point direct communication connection with the terminal device; establishing a network communication connection with the terminal device through a cloud server and a gateway device; the key identification information includes a key name and a key icon; receiving configuration instructions includes: receiving a configuration instruction for updating the key name through the point-to-point direct communication connection; and receiving a configuration instruction for updating the key icon through the network communication connection.

[0014] According to embodiments of this disclosure, receiving a configuration instruction includes: receiving a configuration instruction generated by the terminal device after detecting that a user has exited the button identification information modification interface, corresponding to the modified button identification information; the user's exit from the button identification information modification interface triggers the terminal device to update the first type of configuration interface pattern, so that the updated first type of configuration interface pattern displays the modified button identification information; the button identification information modification interface is further displayed by the terminal device in response to the user's configuration operation on the first settings interface; and updating the button identification information on the screen according to the configuration instruction.

[0015] According to embodiments of this disclosure, the configuration interface pattern includes a second type of configuration interface pattern, and the setting interface includes a second setting interface corresponding to the second type of configuration interface pattern; updating the screen display content according to the configuration instruction includes: updating the user interface displayed on the screen according to the user interface configuration instruction; wherein, the user interface configuration instruction is generated by the terminal device in response to an operation by the user selecting target interface content from a plurality of selectable interface content; the operation of selecting target interface content is used to cause the terminal device to update the display content presented in the second type of configuration interface pattern to the target interface content, so that the updated user interface is associated with the updated display content presented in the second type of configuration interface pattern.

[0016] According to embodiments of this disclosure, the optional interface content includes a first type of optional interface content and / or a second type of optional interface content; wherein: when the target interface content is selected from the first type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern differs in display format from the user interface actually displayed on the screen of the smart wall switch after the update; when the target interface content is selected from the second type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern is consistent in display format with the user interface actually displayed on the screen of the smart wall switch after the update.

[0017] According to embodiments of this disclosure, establishing a communication connection with the terminal device includes at least one of the following: establishing a point-to-point direct communication connection with the terminal device; establishing a network communication connection with the terminal device through a cloud server and a gateway device; receiving the configuration instruction includes: when the target interface content is selected from the first type of optional interface content, receiving the corresponding user interface configuration instruction through the network communication connection, so as to obtain the dynamic information to be displayed through the network according to the user interface configuration instruction.

[0018] According to embodiments of this disclosure, the second type of optional interface content includes custom text content; the custom text content includes at least one pre-edited text, and the text has no fixed binding relationship with the button of the smart wall switch; receiving the configuration instruction includes: when the configuration operation is an editing operation on the text content, receiving the corresponding configuration instruction through the point-to-point direct communication connection to store the edited optional text locally on the smart wall switch.

[0019] According to embodiments of this disclosure, receiving the configuration instruction further includes: when the configuration operation is a switching operation on the user interface of the smart wall switch, receiving the corresponding configuration instruction through the network communication connection; wherein the switching operation includes at least one of the following: switching the user interface from one text in the second type of optional interface content to another text, or switching the user interface from one text in the second type of optional interface content to any one of any optional interface content in the first type of optional interface content.

[0020] 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 displaying; 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 as described in the first aspect above to present the interface style scheme through the display screen.

[0021] 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.

[0022] 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

[0023] 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.

[0024] Figure 1This is a schematic diagram of the working environment system of a smart wall switch according to an embodiment of the present disclosure; Figure 2 This is a flowchart illustrating a control method according to an embodiment of the present disclosure; Figure 3 This is a schematic diagram of the operation flow of the first setting interface of a smart wall switch according to an embodiment of the present disclosure; Figure 4 In one embodiment of this disclosure, and Figure 3 A schematic diagram of the interface display of the corresponding smart wall switch; Figure 5 This is a schematic diagram of the operation flow of the first setting interface of another smart wall switch in one embodiment of the present disclosure; Figure 6 This is a schematic diagram of the operation process for modifying the first type of button identification information in one embodiment of this disclosure; Figure 7 This is a schematic diagram of the operation process for modifying the second type of button identification information in one embodiment of this disclosure; Figure 8 This is a schematic diagram of the operation flow of the second setting interface of a smart wall switch according to an embodiment of the present disclosure; Figure 9 In one embodiment of this disclosure, and Figure 8 A schematic diagram of the interface display of the corresponding smart wall switch; Figure 10 This is a schematic diagram of the operation flow of the second setting interface of another smart wall switch in one embodiment of this disclosure; Figure 11 In one embodiment of this disclosure, and Figure 10 A schematic diagram of the interface display of the corresponding smart wall switch; Figure 12 This is a schematic diagram of the module composition of a smart wall switch according to one embodiment of the present disclosure. Detailed Implementation

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

[0026] 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.

[0027] The following is combined 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.

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

[0029] 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.

[0030] 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.

[0031] 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.

[0032] 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.

[0033] 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. 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.

[0034] 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.

[0035] 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).

[0036] 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.

[0037] 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.

[0038] 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.

[0039] 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.

[0040] like Figure 2 The diagram shows a flowchart of a control method according to an embodiment of this disclosure, applied to a smart wall switch. The control method includes steps S1 to S3.

[0041] In step S1, the smart wall switch establishes a communication connection with the terminal device.

[0042] Specifically, a communication connection needs to be established between the terminal device and the smart wall switch to facilitate the subsequent transmission of configuration commands. This communication connection can be of various types. For example, establishing a communication connection with the terminal device includes at least one of the following: The smart wall switch establishes a point-to-point direct communication connection with the terminal device. Point-to-point direct communication refers to a communication link established directly between the terminal device and the smart wall switch without going through a relay device (such as a router or cloud server), such as Bluetooth Direct or Zigbee Direct.

[0043] The smart wall switch establishes a network communication connection with the terminal device through a cloud server and gateway device. In this way, the terminal device sends configuration commands to the cloud server, and the cloud server forwards the commands to the smart wall switch through a gateway device (such as a smart home gateway, router, etc.). This method enables remote configuration.

[0044] In step S2, the smart wall switch receives a configuration command. The configuration command is generated and sent by the terminal device in response to a configuration operation; the configuration operation is the configuration operation performed on the smart wall switch by the user on the settings interface displayed after the terminal device establishes a communication connection with the smart wall switch.

[0045] Specifically, the settings interface is a user interface provided by the terminal device for configuring the smart wall switch. After receiving the user's configuration operation on the smart wall switch on the settings interface, the terminal device generates corresponding configuration instructions. The configuration operation can be understood as the user's setting or modification of parameters such as the smart wall switch's display content, button functions, and operating mode. Examples include, but are not limited to, clicks, long presses, swipes, text input, option selection, and image uploads. The specific type of configuration operation depends on the type of parameters being configured.

[0046] In step S3, the smart wall switch updates the screen display content according to the configuration command. The updated display content is associated with the updated configuration interface pattern; the configuration interface pattern is the configuration interface pattern of the smart wall switch screen in the settings interface, and the update of the configuration interface pattern is performed by the terminal device according to the configuration operation.

[0047] Specifically, the configuration interface graphic is embedded in the settings interface, serving as a visual feedback area for user configuration operations. The configuration interface graphic can be understood as a graphical area displayed in the terminal device's settings interface, illustrating the content displayed on the smart wall switch screen. This configuration interface graphic is not a real-time screenshot or exact mirror of the smart wall switch screen, but rather a schematic graphical representation. Its layout and style maintain visual relevance to the actual screen of the smart wall switch, allowing users to intuitively understand the impact of configuration operations on the switch screen's display effect.

[0048] After the user completes the configuration operation, the terminal device generates a corresponding configuration instruction based on the operation. This instruction contains the parameter information that needs to be updated (such as button names, icons, display content types, etc.). The terminal device sends the configuration instruction to the smart wall switch through the established communication connection. After receiving the instruction, the smart wall switch parses and executes the instruction, updating the display content on the screen.

[0049] Simultaneously, the terminal device updates the configuration interface pattern according to the configuration operation, wherein the updated configuration interface pattern is associated with the updated display content of the smart wall switch. In other words, when the user performs a configuration operation on the settings interface, the terminal device not only sends a configuration command to the smart wall switch to update its actual screen display content, but also synchronously updates the configuration interface pattern in the settings interface, so that there is a correlation between the updated pattern and the updated display content of the switch.

[0050] Furthermore, the updated display content is associated with the updated configuration interface graphic, which can be understood as a preset association between the updated configuration interface graphic and the updated display content of the smart wall switch. This association includes, but is not limited to: Both are updated synchronously based on the same configuration operation; The configuration interface uses the same or similar layout and visual elements as the actual switch screen; or, The configuration interface diagram reflects some of the configuration information in the actual display content of the switch in a simplified and schematic way.

[0051] The "association" as defined in this disclosure does not require that the configuration interface pattern and the actual display content of the switch be visually identical or form a strict one-to-one correspondence. Rather, it allows for differences in their display forms, as long as there is an association between them that can be perceived by the user.

[0052] Furthermore, through the above steps, when users configure the smart wall switch on the terminal device's settings interface, they can see the effect related to the actual display content of the switch on the configuration interface diagram in real time. They can intuitively perceive the configuration result without repeatedly checking the switch screen, thereby greatly improving configuration efficiency and user experience.

[0053] In some embodiments, the configuration interface pattern includes a first type of configuration interface pattern, and the settings interface includes a first settings interface corresponding to the first type of configuration interface pattern.

[0054] Based on this, in step S3, the screen display content is updated according to the configuration instructions, including: According to the configuration instruction, the button identification information displayed on the screen is updated; the configuration instruction is generated by the terminal device based on the user's configuration operation on the button identification information of at least one button of the smart wall switch in the first setting interface; wherein, the button identification information presented in the updated first type of configuration interface pattern is consistent with the button identification information displayed on the screen of the smart wall switch after the update; the button identification information in the first type of configuration interface pattern is updated by the terminal device in response to the configuration operation.

[0055] Specifically, the first settings interface is mainly used to configure the button identification information of the smart wall switch (e.g., Figure 3 The smart wall switch shown has three buttons. Figure 3 The diagram illustrates the operation flow of the first setup interface of the smart wall switch. Button labeling information can be understood as the text, symbols, icons, and / or graphics used to identify each button on the smart wall switch. Users can customize the labeling information for each button, such as renaming a button to "Living Room Light" or "Bedroom Light," or setting a personalized icon for the button.

[0056] For example, the button identification information includes a button name and / or a button icon. The button name is in text form, and the button icon can be an icon from a preset icon library or a user-uploaded image.

[0057] For example, the configuration operation of button identification information can be performed as follows: Figure 3 As shown: Click on the settings item corresponding to a button, and modify the button name in the pop-up input box; Click the icon to select an area, then select or upload a new icon from the icon library; Long press the button icon to enter edit mode, etc.

[0058] When a user modifies the button label information of a button in the first settings interface (such as...), Figure 3 After changing the button name from "Left Light" to "Living Room Main Light," the terminal device generates a configuration command and sends it to the smart wall switch. This causes the corresponding button's display on the smart wall switch screen to be updated to "Living Room Main Light." The terminal device then immediately updates the first type of configuration interface pattern, displaying the button's corresponding position in the pattern as "Living Room Main Light," and the button icon is simultaneously updated to a downlight icon. Figure 4 As shown. On the other hand, the terminal device immediately updates the first type of configuration interface pattern, displaying the button in the corresponding position in the pattern as "living room main light", and updating the icon to a downlight icon, as shown. Figure 3 As shown in the diagram, the button label information presented in the updated first type of configuration interface is identical or substantially the same as the button label information actually displayed on the smart wall switch screen, for example, the text content and icons are the same. Since button label information is usually user-defined static information, requiring the two to be consistent helps users accurately preview the configuration results.

[0059] Furthermore, through this embodiment, users can intuitively modify the button label information in the first settings interface and see the same display effect as the actual power on / off screen on the configuration interface in real time, realizing the "what you see is what you get" of button label configuration.

[0060] Furthermore, the button identification information includes the button name and the button icon.

[0061] Based on this, in step S2, a configuration instruction is received, including: Receive configuration instructions for updating the button name through the point-to-point direct communication connection; Receive configuration instructions for updating the button icons via the network communication connection.

[0062] Furthermore, by differentiating data types and using different communication paths, it is possible to ensure real-time performance while maintaining the reliability of data transmission, thereby optimizing the communication efficiency of the configuration process.

[0063] Of course, in other embodiments, other communication paths may be selected according to the actual situation, such as sending all through network communication or sending all through point-to-point direct communication. This disclosure does not limit this.

[0064] Further, in step S2, the smart wall switch receives a configuration instruction, which further includes: After the smart wall switch receiving terminal device detects that the user has exited the button identification information modification interface, it generates a configuration command corresponding to the modified button identification information; the user's exit from the button identification information modification interface is used to trigger the terminal device to update the first type of configuration interface pattern, so that the updated first type of configuration interface pattern displays the modified button identification information. The button identification information modification interface is a further display made by the terminal device in response to the user's configuration operation of the button identification information on the first settings interface; Update the button label information on the screen according to the configuration instructions.

[0065] In this embodiment of the disclosure, the terminal device provides a dedicated modification interface (such as...). Figure 3 The second interactive interface (shown in the diagram) is for users to edit centrally. Only when the user finishes editing and actively exits the modification interface (e.g., by clicking the "Back" or "Done" button) does the terminal device generate configuration commands for all modified button labels at once and send them to the smart wall switch. This "synchronization upon exit" method reduces the number of communications, lowers device power consumption, and avoids interface flickering or response delays caused by frequent switch updates triggered by the user during editing.

[0066] In addition, when the user exits the modification interface, the terminal device not only sends configuration instructions, but also updates the first type of configuration interface pattern simultaneously, so that the button label information displayed in the pattern is consistent with the content modified by the user.

[0067] Furthermore, by combining "synchronization upon exit" with "instant local pattern updates," the consistency of data between the smart wall switch and the terminal device is ensured, while avoiding frequent communication overhead, thus achieving a seamless synchronization experience.

[0068] In some embodiments, the configuration interface pattern includes a second type of configuration interface pattern, and the settings interface includes a second settings interface corresponding to the second type of configuration interface pattern.

[0069] Furthermore, the smart wall switch updates the screen display content according to configuration instructions, including: The smart wall switch updates the user interface displayed on the screen according to the user interface configuration instruction; wherein, the user interface configuration instruction is generated by the terminal device in response to the user's operation of selecting target interface content from multiple optional interface contents; the operation of selecting target interface content is used to cause the terminal device to update the display content presented in the second type of configuration interface pattern to the target interface content, so that the updated user interface is associated with the updated display content presented in the second type of configuration interface pattern.

[0070] Specifically, the second settings interface is primarily used to configure the user interface displayed on the smart wall switch screen. This user interface is the interface that the smart wall switch switches to under specific circumstances, corresponding to the content of the target interface. For example, when the smart wall switch detects the presence of a user, it controls the screen to switch to the user interface corresponding to the determined proximity distance state. Further, this user interface includes a primary display interface and / or a secondary display interface.

[0071] In this embodiment of the disclosure, unlike the requirement for consistency in the first type of configuration interface pattern, for the user interface (primary display interface and / or secondary display interface), this disclosure allows for differences between the second type of configuration interface pattern and the actual content displayed by the switch, as long as the two are related. This avoids requiring the terminal device to simulate a dynamic effect completely identical to the switch in the configuration interface pattern. Therefore, an illustrative approach can be used to reduce implementation complexity while still providing users with an intuitive configuration reference.

[0072] Furthermore, the optional interface content includes a first type of optional interface content and / or a second type of optional interface content; wherein: when the target interface content is selected from the first type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern differs in display format from the user interface actually displayed on the screen of the smart wall switch after the update. This difference in display format allows the second type of configuration interface pattern to differ from the actual displayed content values, but maintains a correlation in type and layout.

[0073] When the target interface content is selected from the second type of optional interface content, the displayed content in the updated second type of configuration interface pattern is consistent in display form with the user interface actually displayed on the screen of the smart wall switch after the update. In other words, for the second type of optional interface content, the displayed content in the second type of configuration interface pattern of the terminal device and the displayed content actually displayed on the screen of the smart wall switch maintain the same or highly similar visual appearance perceptible to the user, and the consistency between the two is reflected in one or more of the following aspects: Content consistency: The text content displayed in the second type of configuration interface is exactly the same as the text content displayed on the switch screen. For example, the user-edited custom text "Welcome home" will be displayed as "Welcome home" in both the second type of configuration interface and the switch screen.

[0074] Layout consistency: The layout features of the text in the second type of configuration interface pattern, such as display position, alignment, and number of lines, are the same as or basically consistent with the layout features of the corresponding area on the switch screen.

[0075] Style consistency: The font, font size, color, bolding, italics and other style attributes of the text in the second type of configuration interface pattern are the same as or basically consistent with the style displayed on the switch screen.

[0076] It should be noted that "consistency in display format" does not require the second type of configuration interface image to be completely identical to the smart wall switch screen in every pixel-level detail. Due to potential differences in screen size, resolution, and rendering engine between the terminal device and the smart wall switch, minor differences in display effect that do not affect user recognition are permissible (e.g., edge cropping due to different screen ratios, slight differences in stroke thickness due to differences in font rendering, etc.). As long as the user can intuitively recognize that the content presented in the second type of configuration interface image corresponds visually to the content actually displayed on the smart wall switch and has no substantial difference, they can be considered consistent in display format.

[0077] Furthermore, there are differences in the display format, including: the second type of configuration interface pattern uses a preset static placeholder value to display the target interface content, while the smart wall switch screen uses a dynamic real-time value to display the user interface.

[0078] In this embodiment of the disclosure, the static placeholder value can be understood as a preset, fixed, and non-real-time exemplary content used in the second type of configuration interface pattern of the terminal device to schematically display the target interface content. This value does not dynamically update with changes in actual time, actual weather, or other external factors; its purpose is to intuitively indicate to the user "the type of information to be displayed in this area," rather than precisely presenting the current real-time value of that information. For example... Figure 8As shown, when a user configures the smart wall switch's screen display to "Time," the second configuration interface pattern can display "18:00" as a static placeholder value. Furthermore, when configured to "Weather," the pattern can display "Sleet" as a static placeholder value; and when configured to "Date," the pattern can display "10-10 Friday" as a static placeholder value. Static placeholder values ​​can be preset default values ​​or user-defined illustrative content, as long as they allow the user to identify the type of information being configured. The use of static placeholder values ​​allows the terminal device to present the configuration effect in the pattern without acquiring real-time data, reducing implementation complexity while still providing users with sufficient configuration references.

[0079] Dynamic real-time values ​​can be understood as the actual content displayed on the smart wall switch's screen during the user interface display, which is acquired and updated in real time. After determining the type of information to be displayed based on configuration instructions, the smart wall switch automatically retrieves real-time data such as the current time, weather, and date from a cloud server via a network (such as the internet) and dynamically updates the display. For example, Figure 9 As shown, when the switch is configured to display the time, its screen displays the current time (e.g., "09:15") and refreshes in real time as the time changes; when configured to display the weather, its screen displays the current actual weather conditions (e.g., "Cloudy"); when configured to display the date, its screen displays the current actual date (e.g., "Thursday, April 2nd").

[0080] It should be noted that static placeholder values ​​are only used for illustrative previews in the terminal device configuration interface, while dynamic real-time values ​​are the actual content displayed to the user when the switch is running. The two values ​​may differ, but they remain related in terms of information type and layout structure. This ensures both the intuitiveness of the configuration preview and avoids the complex communication overhead caused by real-time data synchronization between the terminal device and the switch.

[0081] Furthermore, the specific examples of static placeholder values ​​mentioned above are merely illustrative and not intended to limit the scope of protection of this disclosure. Those skilled in the art can select other suitable static placeholder values ​​based on actual product design; as long as they can indicate the corresponding information type, they fall within the scope of "static placeholder values" as referred to in this disclosure. Similarly, the specific representation of dynamic real-time values ​​(such as time formats, weather icons, etc.) can also be adjusted according to actual needs.

[0082] Furthermore, such as Figure 10As shown, the first type of optional interface content includes time information, weather information, and / or date information. It is evident that the first type of optional interface content in the user interface is dynamically changing or requires real-time acquisition of data. For this type of information, the smart wall switch actually displays real-time values ​​(such as the current time "14:30" and today's weather "Sunny"), while the second type of configuration interface pattern on the terminal device can use preset static placeholder values ​​to illustrate the information type to be displayed in that area, without needing to precisely simulate real-time values.

[0083] Furthermore, establishing a communication connection with the terminal device includes at least one of the following: Establish a point-to-point direct communication connection with the terminal device; A network communication connection is established with the terminal device through a cloud server and gateway device; The smart wall switch receives the configuration command, including: When the target interface content is selected from the first type of selectable interface content, the smart wall switch receives the corresponding user interface configuration instruction through the network communication connection, so as to obtain the dynamic information to be displayed through the network according to the user interface configuration instruction.

[0084] Specifically, when a user configures the first type of optional interface content (such as setting the screen display to "time"), the terminal device sends a configuration command to the smart wall switch via the cloud server and gateway device. Upon receiving the configuration command, the smart wall switch automatically obtains and displays dynamic information such as the current time and weather via a network (such as the internet). Because the smart wall switch needs to acquire real-time data independently, the configuration command only needs to tell the smart wall switch what type of information to display, without needing to include specific numerical values.

[0085] In some embodiments, the second type of optional interface content includes custom text content; the custom text content includes at least one pre-edited text. For example... Figure 10 As shown, the text is not fixedly bound to the buttons of the smart wall switch.

[0086] When the target interface content is selected from the second type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern is consistent with the user interface actually displayed on the screen of the smart wall switch after the update in terms of display form, specifically, in terms of display content.

[0087] For example, a smart wall switch has two screens. The user edits and stores two texts: Text 1 is "The sun sets beyond the mountains, the Yellow River flows into the sea," and Text 2 is "To see a thousand miles further, climb one more story." The left screen is set to display Text 1, and the right screen is set to display Text 2. Then, the second type of configuration interface will display as follows: Figure 10 As shown, a schematic diagram of the actual user interface on the screen of the smart wall switch is as follows. Figure 11 As shown, the two are consistent in their presentation format.

[0088] Furthermore, the smart wall switch receives the configuration instruction, including: when the configuration operation is an editing operation on the text content, the smart wall switch receives the corresponding configuration instruction through the point-to-point direct communication connection to store the edited optional text locally on the smart wall switch.

[0089] Specifically, custom text content refers to text information that users can freely input or edit, such as "Welcome home" or "The weather is nice today." This text is not fixed to physical buttons and can be displayed as screensaver information or notifications. When a user edits the text content (such as modifying, adding, or deleting text), the terminal device sends the edited text content directly to the smart wall switch's local storage via point-to-point direct communication.

[0090] Furthermore, the smart wall switch receiving the configuration instruction also includes: when the configuration operation is a switching operation on the user interface of the smart wall switch, the smart wall switch receives the corresponding configuration instruction through the network communication connection; wherein, the switching operation includes at least one of the following: switching the user interface from one text in the second type of optional interface content to another text, or switching the user interface from one text in the second type of optional interface content to any one of any optional interface content in the first type of optional interface content.

[0091] Specifically, switching operations differ from editing operations: editing operations involve adding, deleting, or modifying text content, requiring the modified content to be stored locally on the smart wall switch; while switching operations only change the screen display (e.g., from "Text 1" to "Text 2," or from "Time" to "Text 1"). The smart wall switch already stores all the text locally, and the configuration command only needs to tell the smart wall switch "which content to display," without transmitting specific data. Switching operations send configuration commands via network communication between the cloud server and the gateway device. After receiving the configuration command, the smart wall switch retrieves the corresponding custom text content (e.g., a specific text) from local storage and displays it, or obtains corresponding information (e.g., time, weather, date) from the network and displays it.

[0092] In some embodiments, the control method further includes: Upon detecting entry into the settings interface, or simultaneously, a point-to-point direct communication is established with the smart wall switch.

[0093] Furthermore, establishing a point-to-point direct communication connection with the smart wall switch includes: In response to the operation of entering the settings interface, establish a point-to-point direct communication with the smart wall switch; and / or, in response to the operation of exiting the settings interface, immediately or after a delay, disconnect the point-to-point direct communication with the smart wall switch.

[0094] Furthermore, establishing a network communication connection with the smart wall switch through a cloud server and gateway device includes: Obtain the distribution network message transmitted by the smart wall switch that has entered the distribution network state, wherein the smart wall switch is triggered to enter the distribution network state by a specific distribution network operation, and the distribution network message carries the identification information of the smart wall switch. Based on the identification information, the smart wall switch is added to the smart home platform account of the user to which the smart wall switch belongs, in order to complete the network configuration.

[0095] In some embodiments, after establishing a point-to-point direct communication connection with the smart wall switch, the method further includes: The latest button identification information is automatically synchronized to the smart wall switch, wherein the latest button identification information includes button name and / or button icon.

[0096] In some embodiments, the control method further includes: 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. 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; The smart wall switch performs detection to determine whether there is a human body near it, according to the configured detection strategy.

[0097] The different activation states of the first detection signal and the second detection signal correspond to different detection strategies. The detection strategy defines the composition of the detection signal emitted when the screen is in a predetermined state, and the control logic executed on the screen display interface when the received feedback signal indicates the presence of a user. The detection signal is used to detect the human body.

[0098] Specifically, the smart wall switch establishes a communication connection with the 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 the 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.

[0099] 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.

[0100] For example, the app's configuration page provides two independent toggle options, corresponding to the first detection signal and the second detection signal, respectively. Users can turn these two options on or off as needed. For instance, if a user wants the screen to wake up only at extremely close range, they can turn off the first detection signal and keep only the second detection signal on; if a user wants to view information only at a distance without triggering the close-range operation interface, they can turn off the second detection signal and keep only the first detection signal on; if a user wants a complete progressive interaction experience, they can turn both options on.

[0101] 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.

[0102] 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.

[0103] 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: 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; 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... 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.

[0104] 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: If both the first and second detection signal functions are enabled simultaneously, the detection strategy will be configured as the first detection strategy.

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

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

[0107] 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.

[0108] 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.

[0109] Furthermore, according to the configured detection strategy, the detection of whether a human body exists near the smart wall switch is performed, including: 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, 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.

[0110] 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: 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.

[0111] 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: 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.

[0112] In some embodiments, the corresponding user interface is selected by the user in advance from a plurality of optional interface contents via a terminal device.

[0113] Furthermore, when the smart wall switch emits a detection signal, it emits the signal according to a predetermined detection strategy to achieve richer screen display operations.

[0114] Specifically, the control method further includes: 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. 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. 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.

[0115] 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 detection function in the background to respond to the user's approach at any time.

[0116] 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.

[0117] 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).

[0118] 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).

[0119] 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.

[0120] 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.

[0121] 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.

[0122] 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.

[0123] 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: 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.

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

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

[0126] 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.

[0127] 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.

[0128] 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.

[0129] 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".

[0130] 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.

[0131] 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.

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

[0133] 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.

[0134] In some embodiments, the smart wall switch determines the proximity status between the user and the smart wall switch, specifically including: 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.

[0135] 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.

[0136] 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).

[0137] 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.

[0138] 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.

[0139] Corresponding to the above embodiments, one embodiment of this disclosure also provides a control method applied to a terminal device.

[0140] The control method includes at least: The terminal device establishes a communication connection with the smart wall switch; The terminal device displays a settings interface, which includes a configuration interface diagram of the smart wall switch screen; The terminal device receives configuration operations from the user on the settings interface for the smart wall switch; In response to the configuration operation, the terminal device generates a corresponding configuration instruction and sends the configuration instruction so that the smart wall switch updates the display content of its screen according to the configuration instruction; The terminal device updates the configuration interface pattern according to the configuration operation, wherein the updated configuration interface pattern is associated with the updated display content of the smart wall switch.

[0141] Specifically, a communication connection needs to be established between the terminal device and the smart wall switch for subsequent transmission of configuration commands. This communication connection can be of various types. For example, the terminal device establishing a communication connection with the smart wall switch includes at least one of the following: The terminal device establishes a point-to-point direct communication connection with the smart wall switch. Point-to-point direct communication refers to a communication link established directly between the terminal device and the smart wall switch without going through a relay device (such as a router or cloud server), such as Bluetooth Direct or Zigbee Direct.

[0142] The terminal device establishes a network communication connection with the smart wall switch through a cloud server and a gateway device. In this method, the terminal device sends configuration commands to the cloud server, and the cloud server forwards the commands to the smart wall switch through a gateway device (such as a smart home gateway, router, etc.). This method enables remote configuration.

[0143] In this embodiment of the disclosure, the settings interface is a user interaction interface provided by the terminal device for configuring the smart wall switch. The configuration interface pattern is embedded in the settings interface as a visual feedback area for user configuration operations.

[0144] The configuration interface diagram can be understood as a graphical area displayed in the settings interface of the terminal device to illustrate the content displayed on the smart wall switch screen. This configuration interface diagram is not a real-time screenshot or exact mirror of the smart wall switch screen, but a schematic graphical representation. Its layout and style can maintain visual relevance to the actual screen of the smart wall switch so that users can intuitively understand the impact of configuration operations on the display effect of the switch screen.

[0145] In this embodiment, configuration operations can be understood as user actions to set or modify parameters such as the display content, button functions, and operating modes of a smart wall switch. These may include, but are not limited to, interactive operations such as clicking, long-pressing, swiping, entering text, selecting options, and uploading images. The specific type of configuration operation depends on the type of parameters being configured.

[0146] In this embodiment, after the user completes the configuration operation, the terminal device generates a corresponding configuration instruction based on the operation. This instruction contains parameter information that needs to be updated (such as button name, icon, display content type, etc.). The terminal device sends the configuration instruction to the smart wall switch through the established communication connection. After receiving the instruction, the smart wall switch parses and executes the instruction, updating the display content on its screen.

[0147] In this embodiment of the disclosure, when a user performs a configuration operation on the settings interface, the terminal device not only sends a configuration command to the smart wall switch to update its actual screen display content, but also synchronously updates the configuration interface pattern in the settings interface, so that there is a correlation between the updated pattern and the updated display content of the switch. Exemplarily, this correlation includes, but is not limited to: both being updated synchronously based on the same configuration operation; the configuration interface pattern adopting the same or similar layout structure and visual elements as the actual screen of the switch; or, the configuration interface pattern reflecting some configuration information in the actual display content of the switch in a simplified and schematic manner.

[0148] Furthermore, through the above steps, when users configure the smart wall switch on the terminal device's settings interface, they can see the effect related to the actual display content of the switch on the configuration interface diagram in real time. They can intuitively perceive the configuration result without repeatedly checking the switch screen, thereby greatly improving configuration efficiency and user experience.

[0149] In some embodiments, the configuration interface pattern includes a first type of configuration interface pattern, and the settings interface includes a first settings interface corresponding to the first type of configuration interface pattern.

[0150] Based on this, the terminal device receives configuration operations from the user on the settings interface for the smart wall switch, including: The terminal device receives configuration operations from the user on the first settings interface for the button identification information of at least one button of the smart wall switch.

[0151] Specifically, the first settings interface is mainly used to configure the button identification information of the smart wall switch (e.g., Figure 3 The smart wall switch shown has three buttons. Figure 3 The diagram illustrates the operation flow of the first setup interface of the smart wall switch. Button labeling information can be understood as the text, symbols, icons, and / or graphics used to identify each button on the smart wall switch. Users can customize the labeling information for each button, such as renaming a button to "Living Room Light" or "Bedroom Light," or setting a personalized icon for the button.

[0152] For example, the button identification information includes a button name and / or a button icon. The button name is in text form, and the button icon can be an icon from a preset icon library or a user-uploaded image.

[0153] For example, the configuration operation of button identification information can be performed as follows: Figure 3 As shown: Click on the settings item corresponding to a button, and modify the button name in the pop-up input box; click on the icon selection area to select or upload a new icon from the icon library.

[0154] In some embodiments, the terminal device updates the configuration interface pattern according to the configuration operation, including: the terminal device updates the first type of configuration interface pattern in response to the configuration operation, wherein the button identification information presented in the updated first type of configuration interface pattern is consistent with the button identification information displayed on the screen of the smart wall switch after the update.

[0155] Specifically, when a user modifies the label information of a button in the first settings interface (such as...), Figure 3 As shown, after changing the button name from "Left Button" to "Living Room Main Light" and the button icon to a downlight icon, the terminal device generates a configuration command and sends it to the smart wall switch. This causes the corresponding button's display on the smart wall switch screen to be updated to "Living Room Main Light," and the button icon to be updated to a downlight icon. Figure 4 As shown; on the other hand, the terminal device immediately updates the first type of configuration interface pattern, displaying the corresponding position of the button in the pattern as "living room main light", and updating the icon to a downlight icon, as shown. Figure 3 As shown. Here, the button label information presented in the updated first type of configuration interface is the same as or basically the same as the button label information actually displayed on the smart wall switch screen, that is, the text content is the same and the icons are the same.

[0156] Furthermore, through this embodiment, users can intuitively modify the button label information in the first settings interface and see the same display effect as the actual power on / off screen on the configuration interface in real time, realizing the "what you see is what you get" of button label configuration.

[0157] Furthermore, the button identification information includes a button name and a button icon. Based on this, the terminal device sends the configuration command, including: the terminal device sending a configuration command to update the button name via the point-to-point direct communication connection; and the terminal device sending a configuration command to update the button icon via the network communication connection.

[0158] Furthermore, by differentiating data types and using different communication paths, it is possible to ensure real-time performance while maintaining the reliability of data transmission, thereby optimizing the communication efficiency of the configuration process.

[0159] Further, in response to the configuration operation, the terminal device generates a corresponding configuration instruction and sends the configuration instruction, including the following steps: The terminal device responds to the user's configuration operation on the first settings interface by displaying a button identification information modification interface; The terminal device receives user requests to modify the button identification information of at least one button in the button identification information modification interface; In response to detecting that the user has exited the button identification information modification interface, the terminal device generates a configuration instruction corresponding to the modified button identification information and sends the configuration instruction to the smart wall switch, so that the smart wall switch updates the corresponding button identification information displayed on its screen according to the configuration instruction.

[0160] In this embodiment of the disclosure, the terminal device provides a dedicated modification interface (such as...). Figure 3 The second interactive interface (shown in the diagram) is for users to edit centrally. Only when the user finishes editing and actively exits the modification interface (e.g., by clicking the "Back" or "Done" button) does the terminal device generate configuration commands for all modified button labels at once and send them to the smart wall switch. This "synchronization upon exit" method reduces the number of communications, lowers device power consumption, and avoids interface flickering or response delays caused by frequent switch updates triggered by the user during editing.

[0161] Furthermore, in response to the configuration operation, the terminal device updates the first type of configuration interface pattern, including: the terminal device updates the first type of configuration interface pattern so that the updated first type of configuration interface pattern displays the modified button identification information.

[0162] Specifically, when the user exits the modification interface, the terminal device not only sends a configuration command, but also updates the first type of configuration interface pattern simultaneously, so that the button label information displayed in the first type of configuration interface pattern is consistent with the user's modification.

[0163] Furthermore, by combining "synchronization upon exit" with "instant local pattern updates," the consistency of data between the smart wall switch and the terminal device is ensured, while avoiding frequent communication overhead, thus achieving a seamless synchronization experience.

[0164] In some embodiments, the smart wall switch includes a first screen, a second screen, and an operating area disposed between the first screen and the second screen.

[0165] The first type of configuration interface pattern in the first settings interface includes a first pattern area corresponding to the first screen, a second pattern area corresponding to the second screen, and an operation simulation area corresponding to the operation area.

[0166] The operation simulation area is an interactive control in the terminal device settings interface used to simulate the physical operation area of ​​a smart wall switch. User actions in this simulation area can be used to preview the impact of these actions on the screen display.

[0167] In some embodiments, the operating area of ​​the smart wall switch may be, for example, at least one touch area.

[0168] Furthermore, such as Figure 5 As shown, the first type of configuration interface pattern in the first settings interface includes a touch simulation area corresponding to the touch area.

[0169] Specifically, the touch simulation area is an interactive control in the terminal device's settings interface used to simulate the physical touch area on a smart wall switch. The appearance and location of the touch simulation area correspond to the actual touch area on the smart wall switch, allowing users to intuitively understand the operation. In other words, touch operations performed by the user on this touch simulation area can be used to preview the effect of the touch area on the screen display content.

[0170] Furthermore, the terminal device receiving configuration operations from the user on the settings interface for the smart wall switch also includes: The terminal device receives touch operations from the user on the simulated touch area; In response to the touch operation, the terminal device switches the configuration content displayed in the first pattern area and / or the second pattern area.

[0171] Specifically, when a user performs a touch operation (such as swiping left, swiping right, or clicking) on ​​the touch simulation area, the terminal device will respond to the touch operation and switch the configuration content displayed in the first pattern area and / or the second pattern area.

[0172] For example, such as Figure 5 As shown, when a user clicks on the simulated touch area, the content in the first pattern area and the second pattern area may be simultaneously switched to another set of preset display content, thereby simulating the display effect when operating on the actual touch area of ​​the smart wall switch.

[0173] Furthermore, by setting up a touch simulation area, users can experience and familiarize themselves with the touch interaction logic of the smart wall switch on their terminal devices in advance, without having to operate the actual switch, which further enhances the convenience and intuitiveness of configuration.

[0174] In some embodiments, the smart wall switch has a first operating mode and a second operating mode, wherein in the first operating mode, the button of the smart wall switch is used to control a relay; and in the second operating mode, the button of the smart wall switch is used to trigger a preset linkage operation.

[0175] For example, a smart wall switch may have one or more mechanical buttons. When multiple mechanical buttons are present, in a first operating mode, all mechanical buttons are used to control relays (e.g., to control the on / off state of electrical equipment such as lights and sockets). In a second operating mode, all mechanical buttons are used to trigger preset linkage operations (e.g., to execute "away mode" or "movie mode" scenarios with one click, which can control multiple smart devices simultaneously). Switching between operating modes can be achieved by the user operating the touch area of ​​the actual switch, and / or by being set by the terminal device.

[0176] Based on this, the terminal device, in response to the touch operation, switches the configuration content displayed in the first graphic area and / or the second graphic area, including: the terminal device, in response to the touch operation, switches the display of a first type of button identification information corresponding to the first operating mode or a second type of button identification information corresponding to the second operating mode in the first graphic area and / or the second graphic area. Wherein, the first type of button identification information includes the button name of the smart wall switch in the first operating mode, and the second type of button identification information includes the button name of the smart wall switch in the second operating mode.

[0177] Specifically, a user's touch operation on the touch simulation area will switch the type of button identification information displayed in the first pattern area, or switch the type of button identification information displayed in the second pattern area, or switch the type of button identification information displayed in both the first and second pattern areas simultaneously.

[0178] When the first type of button identification information (such as...) is displayed in the pattern (first pattern area and / or second pattern area) Figure 5 When "Button 1, Button 2, Button 3, and Button 4" are displayed, it shows the button names of each button on the smart wall switch in the first working mode; when the second type of button identification information (such as...) is displayed in the pattern (first pattern area and / or second pattern area)... Figure 5 When "Button 5, Button 6, Button 7 and Button 8" are displayed, what is shown is the button name of each button of the smart wall switch in the second working mode.

[0179] In some embodiments, the user switches the displayed content on the first type of configuration interface pattern by touching a simulated area. This is only for previewing the display effect of the smart wall switch screen under different working modes and does not actually change the working mode of the smart wall switch. The actual working mode of the smart wall switch is determined by its own state or set by the user through other configuration operations. Of course, in some embodiments, the actual working mode of the smart wall switch can also be switched by the touch simulated area in the first type of configuration interface pattern.

[0180] Furthermore, by touching the simulated area, users can intuitively preview the button label display effect of the smart wall switch in different working modes, making configuration easier.

[0181] In some embodiments, the terminal device receives a user's configuration operation on the button identification information of at least one button of the smart wall switch in a first setting interface, including: the terminal device responding to the user's configuration operation on the first type of button identification information enters the button identification information modification interface to receive the user's modification operation on the first type of button identification information; the terminal device responding to the user's configuration operation on the second type of button identification information directly receives the user's modification operation on the second type of button identification information in the first setting interface.

[0182] Specifically, such as Figure 6 As shown, when the user displays the first type of button identification information (i.e., the button name in the first working mode) in the pattern (the first pattern area and / or the second pattern area), if the user clicks on a button setting item, the terminal device will enter a special button identification information modification interface. In this modification interface, the user can modify the button name or icon of each button one by one.

[0183] like Figure 7 As shown, when the user displays the second type of button identification information (i.e. the button name in the second working mode) in the pattern (the first pattern area and / or the second pattern area), if the user clicks on a button setting item, the terminal device will directly pop up an editing box or provide editing options in the first setting interface, and the user can complete the modification without entering the next level interface.

[0184] In some embodiments, the control method further includes: The terminal device receives touch operations from the user on the touch simulation area; In response to the touch operation, the terminal device switches between displaying a first type of button identification information corresponding to the first operating mode or a second type of button identification information corresponding to the second operating mode in the first pattern area and / or the second pattern area, and further includes: The terminal device synchronously switches the button settings displayed in the first settings interface.

[0185] Specifically, such as Figure 6 As shown, when the first type of button identification information is displayed in the first pattern area and / or the second pattern area, the first setting interface displays the button setting items corresponding to the first working mode (such as...). Figure 6 (These are the four button settings from button 1 to button 4 in the text). Figure 7As shown, when the second type of button identification information is displayed in the first pattern area and / or the second pattern area, button setting items corresponding to the second working mode are displayed in the first setting interface (such as Figure 7 button setting items of button 5 to button 8 in

[0186] It should be noted that through the settings of the first working mode and the second working mode, the intelligent wall switch provided by the present disclosure can expand the button functions in a software manner without changing the number of physical buttons. Specifically, each physical button of the intelligent wall switch performs one function (such as controlling a relay) in the first working mode and another function (such as triggering a preset linkage operation) in the second working mode. The user can switch between different working modes through the touch area. Based on this principle, N physical buttons can expand to 2N actual button functions, thereby significantly improving the control ability and application scenario adaptability of the intelligent wall switch without increasing the hardware cost.

[0187] For example, for an intelligent wall switch with four physical buttons, in the first working mode, the four buttons are respectively used to control four different relays (such as the living room light, the bedroom light, the dining room light, and the balcony light); when the user switches the switch to the second working mode through the touch area, the same four physical buttons are respectively used to trigger four preset linkage operations (such as the away-from-home mode, the home mode, the movie-watching mode, and the sleep mode). That is, four physical buttons achieve eight actual button functions, and the user can flexibly switch according to the usage scenario without configuring a physical button for each function separately.

[0188] Therefore, through the division of the working mode and the touch switching mechanism, the present disclosure not only provides a more flexible control method for users, but also enables the intelligent wall switch to carry more functions under limited hardware resources. In addition, those skilled in the art can understand that the above-mentioned first working mode and second working mode are only exemplary divisions. In specific implementations, it can be further expanded to three or more working modes to achieve more multiple function expansions. As long as its core mechanism is based on the working mode division and switching scheme proposed by the present disclosure, it falls within the protection scope of the present disclosure.

[0189] In this embodiment, the button settings can be understood as a collection of interactive controls in the first settings interface used to configure parameters related to the smart wall switch buttons. Specifically, the content of the button settings is associated with the currently previewed operating mode of the smart wall switch. The button settings include, but are not limited to: button name edit boxes for each button, button icon selection areas, relay identifiers controlled by the buttons, and / or the enable / disable status of the buttons. When the first type of button identifier information is displayed in the first graphic area and / or the second graphic area of ​​the first settings interface, the user can configure the function identifier and / or control object of each button in the first operating mode through these settings. When the second type of button identifier information is displayed in the first graphic area and / or the second graphic area of ​​the first settings interface, the user can configure the linkage operation, icon, and / or identifier information triggered by each button in the second operating mode through these settings.

[0190] In other words, the button settings in the first settings interface are dynamically changing, and the specific configuration options presented depend on the specific type of button identifier information selected by the user through touching the simulated area. Through this linked design, the settings interface simultaneously provides detailed configuration entries for the buttons in that working mode as the user previews the button identifier information in the graphic area, achieving consistency between the preview content and the configuration content, and improving the intuitiveness and efficiency of the configuration operation.

[0191] It should be noted that the specific contents of the button settings listed above are only illustrative examples. In actual product implementation, the type and number of settings can be added, reduced or adjusted according to the functional design of the smart wall switch. As long as its core function is to configure the relevant parameters of each button in the corresponding working mode, it falls within the scope of the "button settings" referred to in this disclosure.

[0192] In some embodiments, the configuration interface pattern includes a second type of configuration interface pattern, and the settings interface includes a second settings interface corresponding to the second type of configuration interface pattern.

[0193] Furthermore, the terminal device receives configuration operations from the user on the settings interface for the smart wall switch, including: the terminal device receives configuration operations from the user on the user interface displayed on the screen of the smart wall switch on the second settings interface.

[0194] In this embodiment of the disclosure, the terminal device, in response to the configuration operation, generates a corresponding configuration instruction, including: A user interface configuration instruction is generated in response to a user selecting a target interface content from multiple optional interface content; the user interface configuration instruction is used to cause the smart wall switch to switch the screen's user interface to correspond to the target interface content under certain circumstances.

[0195] Specifically, the second settings interface is primarily used to configure the user interface displayed on the smart wall switch screen. This user interface includes the smart wall switch controlling the screen to switch to the interface corresponding to the determined proximity distance state when it detects the presence of a user. The user interface corresponding to this proximity distance state is determined according to user interface configuration instructions. Further, this user interface includes a primary display interface and / or a secondary display interface. The specific situation can be understood as follows: if the proximity distance state is determined to be primary, the screen displays the primary display interface; if the proximity distance state is determined to be secondary, the screen displays the secondary display interface.

[0196] The terminal device updates the configuration interface pattern according to the configuration operation, including: In response to a user's selection of a target interface from multiple selectable interface options, the terminal device updates the displayed content in the second type of configuration interface pattern to the target interface content. The updated displayed content in the second type of configuration interface pattern is associated with the user interface actually displayed on the smart wall switch's screen after the update.

[0197] In this embodiment of the disclosure, unlike the requirement for consistency in the first type of configuration interface pattern, for the user interface (primary display interface and / or secondary display interface), this disclosure allows for differences between the second type of configuration interface pattern and the actual content displayed by the switch, as long as the two are related. This avoids requiring the terminal device to simulate a dynamic effect completely identical to the switch in the configuration interface pattern. Therefore, an illustrative approach can be used to reduce implementation complexity while still providing users with an intuitive configuration reference.

[0198] In some embodiments, the optional interface content includes a first type of optional interface content and / or a second type of optional interface content; wherein: When the target interface content is selected from the first type of selectable interface content, the displayed content in the updated second type of configuration interface pattern differs in presentation from the user interface actually displayed on the screen of the smart wall switch after the update. This difference in presentation allows the second type of configuration interface pattern to differ from the actual displayed content values, but maintains a correlation in type and layout.

[0199] When the target interface content is selected from the second type of optional interface content, the displayed content in the updated second type of configuration interface pattern is consistent in display form with the user interface actually displayed on the screen of the smart wall switch after the update. In other words, for the second type of optional interface content, the displayed content in the second type of configuration interface pattern of the terminal device and the displayed content actually displayed on the screen of the smart wall switch maintain the same or highly similar visual appearance perceptible to the user, and the consistency between the two is reflected in one or more of the following aspects: Content consistency: The text content displayed in the second type of configuration interface is exactly the same as the text content displayed on the switch screen. For example, the user-edited custom text "Welcome home" will be displayed as "Welcome home" in both the second type of configuration interface and the switch screen.

[0200] Layout consistency: The layout features of the text in the second type of configuration interface pattern, such as display position, alignment, and number of lines, are the same as or basically consistent with the layout features of the corresponding area on the switch screen.

[0201] Style consistency: The font, font size, color, bolding, italics and other style attributes of the text in the second type of configuration interface pattern are the same as or basically consistent with the style displayed on the switch screen.

[0202] It should be noted that "consistency in display format" does not require the second type of configuration interface image to be completely identical to the smart wall switch screen in every pixel-level detail. Due to potential differences in screen size, resolution, and rendering engine between the terminal device and the smart wall switch, minor differences in display effect that do not affect user recognition are permissible (e.g., edge cropping due to different screen ratios, slight differences in stroke thickness due to differences in font rendering, etc.). As long as the user can intuitively recognize that the content presented in the second type of configuration interface image corresponds visually to the content actually displayed on the smart wall switch and has no substantial difference, they can be considered consistent in display format.

[0203] Furthermore, there are differences in the display format, including: the second type of configuration interface pattern uses a preset static placeholder value to display the target interface content, while the smart wall switch screen uses a dynamic real-time value to display the user interface.

[0204] In this embodiment of the disclosure, the static placeholder value can be understood as a preset, fixed, and non-real-time exemplary content used in the second type of configuration interface pattern of the terminal device to schematically display the target interface content. This value does not dynamically update with changes in actual time, actual weather, or other external factors; its purpose is to intuitively indicate to the user "the type of information to be displayed in this area," rather than precisely presenting the current real-time value of that information. For example... Figure 8As shown, when a user configures the smart wall switch's screen display to "Time," the second configuration interface pattern can display "18:00" as a static placeholder value. Furthermore, when configured to "Weather," the pattern can display "Sleet" as a static placeholder value; and when configured to "Date," the pattern can display "10-10 Friday" as a static placeholder value. Static placeholder values ​​can be preset default values ​​or user-defined illustrative content, as long as they allow the user to identify the type of information being configured. The use of static placeholder values ​​allows the terminal device to present the configuration effect in the pattern without acquiring real-time data, reducing implementation complexity while still providing users with sufficient configuration references.

[0205] Dynamic real-time values ​​can be understood as the actual content displayed on the smart wall switch's screen during the user interface display, which is acquired and updated in real time. After determining the type of information to be displayed based on configuration instructions, the smart wall switch automatically retrieves real-time data such as the current time, weather, and date from a cloud server via a network (such as the internet) and dynamically updates the display. For example, Figure 9 As shown, when the switch is configured to display the time, its screen displays the current time (e.g., "09:15") and refreshes in real time as the time changes; when configured to display the weather, its screen displays the current actual weather conditions (e.g., "Cloudy"); when configured to display the date, its screen displays the current actual date (e.g., "Thursday, April 2nd").

[0206] It should be noted that static placeholder values ​​are only used for illustrative previews in the terminal device configuration interface, while dynamic real-time values ​​are the actual content displayed to the user when the switch is running. The two values ​​may differ, but they remain related in terms of information type and layout structure. This ensures both the intuitiveness of the configuration preview and avoids the complex communication overhead caused by real-time data synchronization between the terminal device and the switch.

[0207] Furthermore, the specific examples of static placeholder values ​​mentioned above are merely illustrative and not intended to limit the scope of protection of this disclosure. Those skilled in the art can select other suitable static placeholder values ​​based on actual product design; as long as they can indicate the corresponding information type, they fall within the scope of "static placeholder values" as referred to in this disclosure. Similarly, the specific representation of dynamic real-time values ​​(such as time formats, weather icons, etc.) can also be adjusted according to actual needs.

[0208] Furthermore, such as Figure 10As shown, the first type of optional interface content includes time information, weather information, and / or date information. It is evident that the first type of optional interface content in the user interface is dynamically changing or requires real-time acquisition of data. For this type of information, the smart wall switch actually displays real-time values ​​(such as the current time "14:30" and today's weather "Sunny"), while the second type of configuration interface pattern on the terminal device can use preset static placeholder values ​​to illustrate the information type to be displayed in that area, without needing to precisely simulate real-time values.

[0209] In some embodiments, the terminal device sends the configuration command, including: When the target interface content is selected from the first type of selectable interface content, the terminal device sends the corresponding user interface configuration instruction through the network communication connection, so that the smart wall switch can obtain the dynamic information to be displayed through the network according to the user interface configuration instruction.

[0210] Specifically, when a user configures the first type of optional interface content (such as setting the screen display to "time"), the terminal device sends a configuration command to the smart wall switch via the cloud server and gateway device. Upon receiving the configuration command, the smart wall switch automatically obtains and displays dynamic information such as the current time and weather via a network (such as the internet). Because the smart wall switch needs to acquire real-time data independently, the configuration command only needs to tell the smart wall switch what type of information to display, without needing to include specific numerical values.

[0211] In some embodiments, the second type of optional interface content includes custom text content; such as... Figure 10 As shown, the custom text content includes at least one pre-edited text, which is not fixedly bound to the button of the smart wall switch.

[0212] When the target interface content is selected from the second type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern is consistent with the user interface actually displayed on the screen of the smart wall switch after the update in terms of display form, specifically, in terms of display content.

[0213] For example, a smart wall switch has two screens. The user edits and stores two texts: Text 1 is "The sun sets beyond the mountains, the Yellow River flows into the sea," and Text 2 is "To see a thousand miles further, climb one more story." The left screen is set to display Text 1, and the right screen is set to display Text 2. Then, the second type of configuration interface will display as follows: Figure 10 As shown, a schematic diagram of the actual user interface on the screen of the smart wall switch is as follows. Figure 11 As shown, the two are consistent in their presentation format.

[0214] Further, the terminal device sends the configuration command, including: When the configuration operation is an editing operation on the text content, the terminal device sends the corresponding configuration command through the point-to-point direct communication connection to store the edited text locally on the smart wall switch.

[0215] Specifically, custom text content refers to text information that users can freely input or edit, such as "Welcome home" or "The weather is nice today." This text is not fixed to physical buttons and can be displayed as screensaver information or notifications. When a user edits the text content (such as modifying, adding, or deleting text), the terminal device sends the edited text content directly to the smart wall switch's local storage via point-to-point direct communication.

[0216] In some embodiments, the terminal device sending the configuration instruction further includes: When the configuration operation is to switch the content displayed on the smart wall switch screen, the terminal device sends the corresponding configuration command through the network communication connection; The switching operation includes at least one of the following: switching the user interface from one text in the second type of optional interface content to another text, and switching the user interface from one text in the second type of optional interface content to any one of the first type of optional interface content.

[0217] Specifically, switching operations differ from editing operations: editing operations involve adding, deleting, or modifying text content, requiring the modified content to be stored locally on the smart wall switch; while switching operations only change the screen display (e.g., from "Text 1" to "Text 2," or from "Time" to "Text 1"). The smart wall switch already stores all the text locally, and the configuration command only needs to tell the smart wall switch "which content to display," without transmitting specific data. Switching operations send configuration commands via network communication between the cloud server and the gateway device. After receiving the configuration command, the smart wall switch retrieves the corresponding custom text content (e.g., a specific text) from local storage and displays it, or obtains corresponding information (e.g., time, weather, date) from the network and displays it.

[0218] In some embodiments, the control method further includes: Upon detecting entry into the settings interface, or simultaneously, the terminal device establishes a point-to-point direct communication with the smart wall switch.

[0219] Specifically, when a user opens the settings interface on the terminal device (whether it's the first or second settings interface), the terminal device automatically triggers a point-to-point direct communication connection with the smart wall switch, eliminating the need for manual pairing or connection by the user. This automated connection mechanism reduces user steps and improves the ease of configuration.

[0220] Furthermore, the terminal device establishes a point-to-point direct communication connection with the smart wall switch, including: In response to entering the settings interface, the terminal device establishes a point-to-point direct communication with the smart wall switch; and / or, in response to exiting the settings interface, the terminal device immediately or after a delay disconnects the point-to-point direct communication with the smart wall switch.

[0221] Furthermore, by adopting the strategy of "establishing connection upon entry and disconnecting upon exit", the connection can be maintained when the user needs to configure and the connection resources can be released in a timely manner after the user exits the configuration, thereby saving power consumption of terminal devices and smart wall switches.

[0222] Furthermore, the terminal device establishes a network communication connection with the smart wall switch through a cloud server and gateway device, including: The terminal device obtains the distribution network message transmitted by the smart wall switch that has entered the distribution network state. The smart wall switch is triggered to enter the distribution network state by a specific distribution network operation. The distribution network message carries the identification information of the smart wall switch. The terminal device adds the smart wall switch to the smart home platform account of the user to which the smart wall switch belongs, based on the identification information, in order to complete the network configuration.

[0223] Specifically, when a smart wall switch is used for the first time or needs to be reconfigured, the user can enter the configuration state by double-clicking and pressing a specific button on the smart wall switch. The smart wall switch then transmits a configuration message (such as a Wi-Fi Beacon or Bluetooth broadcast) containing its own identification information (such as device ID and MAC address). After scanning the message, the terminal device adds the switch to the user's smart home platform account based on the identification information, completing the configuration. Afterward, the terminal device can communicate with the smart wall switch via the cloud server and gateway device.

[0224] In some embodiments, after the terminal device establishes a point-to-point direct communication connection with the smart wall switch, it further includes: The terminal device automatically synchronizes the latest button identification information to the smart wall switch, wherein the latest button identification information includes button name and / or button icon.

[0225] Specifically, once the point-to-point direct connection is established, the terminal device can proactively synchronize the latest button identification information (i.e., the button names and / or button icons most recently configured by the user) to the smart wall switch. This "seamless synchronization" mechanism ensures that the data at the smart wall switch and the terminal device remain consistent, avoiding repeated configuration by the user. This synchronization can be performed automatically after the connection is established, without user intervention.

[0226] It should be noted that the specific implementation methods of point-to-point direct communication listed above (such as Bluetooth direct connection) are merely illustrative examples and are not intended to limit the scope of protection of this disclosure. Those skilled in the art can select appropriate point-to-point direct communication technologies based on actual product design, hardware support, and application scenario requirements. As long as it can achieve direct data transmission between the terminal device and the smart wall switch, it falls within the scope of "point-to-point direct communication" as referred to in this disclosure.

[0227] Corresponding to the control method described above for smart wall switches, an embodiment of this disclosure also provides a smart wall switch. For example... Figure 12 As shown, the smart wall switch includes a fifth communication module, a fifth processing module, and a fifth update module.

[0228] The fifth communication module is used to establish a communication connection with the terminal device.

[0229] The fifth processing module is used to receive configuration instructions; the configuration instructions are generated and sent by the terminal device in response to the configuration operation; the configuration operation is the configuration operation of the smart wall switch received by the user on the settings interface displayed after the terminal device establishes a communication connection with the smart wall switch.

[0230] The fifth update module is used to update the screen display content according to the configuration instruction; wherein, the updated display content is associated with the updated configuration interface pattern; the configuration interface pattern is the configuration interface pattern of the smart wall switch screen in the settings interface, and the update of the configuration interface pattern is performed by the terminal device according to the configuration operation.

[0231] In some embodiments, the configuration interface pattern includes a first type of configuration interface pattern, and the setting interface includes a first setting interface corresponding to the first type of configuration interface pattern. The fifth update module updates the screen display content according to the configuration instruction, including: updating the button identification information displayed on the screen according to the configuration instruction; the configuration instruction is generated by the terminal device based on the user's configuration operation on the button identification information of at least one button of the smart wall switch in the first setting interface; wherein, the button identification information presented in the updated first type of configuration interface pattern is consistent with the button identification information displayed on the screen of the smart wall switch after the update; the button identification information in the first type of configuration interface pattern is updated by the terminal device in response to the configuration operation.

[0232] In some embodiments, establishing a communication connection with the terminal device includes at least one of the following: establishing a point-to-point direct communication connection with the terminal device; or establishing a network communication connection with the terminal device through a cloud server and gateway device. The button identification information includes button names and button icons.

[0233] Furthermore, the fifth processing module receives configuration instructions, which are used to: receive configuration instructions for updating the button name through the point-to-point direct communication connection; and receive configuration instructions for updating the button icon through the network communication connection.

[0234] In some embodiments, the fifth processing module receives a configuration instruction, which is used to: receive a configuration instruction corresponding to the modified key identifier information generated by the terminal device after detecting that the user has exited the key identifier information modification interface; the user's exit from the key identifier information modification interface is used to trigger the terminal device to update the first type of configuration interface pattern, so that the updated first type of configuration interface pattern displays the modified key identifier information; the key identifier information modification interface is further displayed by the terminal device in response to the user's configuration operation on the key identifier information on the first settings interface; and update the key identifier information on the screen according to the configuration instruction.

[0235] In some embodiments, the configuration interface pattern includes a second type of configuration interface pattern, and the setting interface includes a second setting interface corresponding to the second type of configuration interface pattern; The fifth update module updates the screen display content according to the configuration instruction, and is used to: update the user interface displayed on the screen according to the user interface configuration instruction; wherein, the user interface configuration instruction is generated by the terminal device in response to the user's operation of selecting target interface content from multiple optional interface content; the operation of selecting target interface content is used to cause the terminal device to update the display content presented in the second type of configuration interface pattern to the target interface content, so that the updated user interface is associated with the updated display content presented in the second type of configuration interface pattern.

[0236] In some embodiments, the optional interface content includes a first type of optional interface content and / or a second type of optional interface content; wherein: when the target interface content is selected from the first type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern differs in display format from the user interface actually displayed on the screen of the smart wall switch after the update; when the target interface content is selected from the second type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern is consistent in display format with the user interface actually displayed on the screen of the smart wall switch after the update.

[0237] In some embodiments, establishing a communication connection with the terminal device includes at least one of the following: establishing a point-to-point direct communication connection with the terminal device; or establishing a network communication connection with the terminal device through a cloud server and a gateway device.

[0238] The fifth processing module receives the configuration instruction and is used to: when the target interface content is selected from the first type of selectable interface content, receive the corresponding user interface configuration instruction through the network communication connection, so as to obtain the dynamic information to be displayed through the network according to the user interface configuration instruction.

[0239] In some embodiments, the second type of optional interface content includes custom text content; the custom text content includes at least one pre-edited text, which is not fixedly bound to the buttons of the smart wall switch.

[0240] Furthermore, the fifth processing module receives the configuration instruction and is used to: when the configuration operation is an editing operation on the text content, receive the corresponding configuration instruction through the point-to-point direct communication connection to store the edited optional text locally on the smart wall switch.

[0241] In some embodiments, the fifth processing module receiving the configuration instruction is further configured to: when the configuration operation is a switching operation on the user interface of the smart wall switch, receive the corresponding configuration instruction through the network communication connection; wherein, the switching operation includes at least one of the following: switching the user interface from one text in the second type of optional interface content to another text, or switching the user interface from one text in the second type of optional interface content to any one of any optional interface content in the first type of optional interface content.

[0242] 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 control method includes: Establish a communication connection with the terminal device; Receive configuration instructions; the configuration instructions are generated and sent by the terminal device in response to the configuration operation; the configuration operation is the configuration operation of the smart wall switch by the user on the settings interface displayed after the terminal device establishes a communication connection with the smart wall switch. The screen display content is updated according to the configuration instructions; wherein, the updated display content is associated with the updated configuration interface pattern; the configuration interface pattern is the configuration interface pattern of the smart wall switch screen in the settings interface, and the update of the configuration interface pattern is performed by the terminal device according to the configuration operation.

2. The control method according to claim 1, characterized by, The configuration interface pattern includes a first type of configuration interface pattern, and the settings interface includes a first settings interface corresponding to the first type of configuration interface pattern. Update the screen display content according to the configuration instructions, including: According to the configuration instruction, the button identification information displayed on the screen is updated; the configuration instruction is generated by the terminal device based on the user's configuration operation on the button identification information of at least one button of the smart wall switch in the first setting interface; wherein, the button identification information presented in the updated first type of configuration interface pattern is consistent with the button identification information displayed on the screen of the smart wall switch after the update; the button identification information in the first type of configuration interface pattern is updated by the terminal device in response to the configuration operation.

3. The control method according to claim 2, characterized by, Establishing a communication connection with the terminal device includes at least one of the following: Establish a point-to-point direct communication connection with the terminal device; A network communication connection is established with the terminal device through a cloud server and gateway device; The button identification information includes the button name and button icon; Receive configuration instructions, including: Receive configuration instructions for updating the button name through the point-to-point direct communication connection; The configuration command for updating the button icon is received via the network communication connection.

4. The control method according to claim 2, characterized by, Receive configuration instructions, including: After the receiving terminal device detects that the user has exited the button identification information modification interface, it generates a configuration instruction corresponding to the modified button identification information; the user's exit from the button identification information modification interface is used to trigger the terminal device to update the first type of configuration interface pattern, so that the updated first type of configuration interface pattern displays the modified button identification information. The button identification information modification interface is a further display made by the terminal device in response to the user's configuration operation of the button identification information on the first settings interface; Update the button label information on the screen according to the configuration instructions.

5. The control method according to any one of claims 1 to 4, characterized in that, The configuration interface pattern includes a second type of configuration interface pattern, and the setting interface includes a second setting interface corresponding to the second type of configuration interface pattern. Update the screen display content according to the configuration instructions, including: Update the user interface displayed on the screen according to the user interface configuration instructions; The user interface configuration instruction is generated by the terminal device in response to the user's operation of selecting a target interface content from multiple optional interface contents; the operation of selecting the target interface content is used to cause the terminal device to update the display content presented in the second type of configuration interface pattern to the target interface content, so that the updated user interface is associated with the updated display content presented in the second type of configuration interface pattern.

6. The control method according to claim 5, characterized in that, The optional interface content includes a first type of optional interface content and / or a second type of optional interface content; wherein: When the target interface content is selected from the first type of optional interface content, the displayed content presented in the updated second type of configuration interface pattern is different in display form from the user interface actually displayed on the screen of the smart wall switch after the update. When the target interface content is selected from the second type of optional interface content, the displayed content in the updated second type of configuration interface pattern is consistent with the user interface actually displayed on the screen of the smart wall switch after the update in terms of display format.

7. The control method according to claim 6, characterized in that, Establishing a communication connection with the terminal device includes at least one of the following: Establish a point-to-point direct communication connection with the terminal device; A network communication connection is established with the terminal device through a cloud server and gateway device; Receiving the configuration instruction includes: When the target interface content is selected from the first type of selectable interface content, the corresponding user interface configuration instruction is received through the network communication connection, so as to obtain the dynamic information to be displayed through the network according to the user interface configuration instruction.

8. The control method according to claim 7, characterized in that, The second type of optional interface content includes custom text content; the custom text content includes at least one pre-edited text, which has no fixed binding relationship with the button of the smart wall switch; Receiving the configuration instruction includes: When the configuration operation is an editing operation on the text content, the corresponding configuration instruction is received through the point-to-point direct communication connection to store the edited optional text locally on the smart wall switch.

9. The control method according to claim 8, characterized in that, Receiving the configuration instruction further includes: When the configuration operation is a switching operation on the user interface of the smart wall switch, the corresponding configuration instruction is received through the network communication connection; The switching operation includes at least one of the following: switching the user interface from one text in the second type of optional interface content to another text, or switching the user interface from one text in the second type of optional interface content to any one of any optional interface content in the first type of optional interface content.

10. 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 9.