Smart wall switch and control method thereof

By pre-setting static and updatable interface style schemes in smart wall switches, the contradiction between interface switching speed and richness is resolved, achieving a balance between fast response and personalized styles, thus improving the user experience.

CN122339878APending 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 cannot balance response speed and style richness when switching interface styles, resulting in a poor user experience.

Method used

The smart wall switch is pre-configured with a first type of interface style scheme based on a static data source and a second type of interface style scheme based on an updatable data source. A balance in interface style management is achieved through local storage and dynamic retrieval mechanisms.

Benefits of technology

It ensures instant switching speed of basic styles, while supporting dynamic expansion and updates of the style library, optimizing storage resource utilization, and improving user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122339878A_ABST
    Figure CN122339878A_ABST
Patent Text Reader

Abstract

This disclosure relates to a smart wall switch and its control method. The control method includes: receiving an interface style configuration instruction; and calling corresponding interface data according to the interface style configuration instruction to present a target interface style scheme on the screen. The smart wall switch has at least two preset interface style schemes, including a first type based on a static data source and a second type based on an updatable data source. The interface data of the first type of interface style scheme is not exchanged with external devices during normal operation, while the interface data of the second type of interface style scheme needs to be dynamically acquired and stored locally according to external requirements before it can be called.
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 aesthetic needs, these devices typically support switching between multiple interface display styles, such as different color schemes, icon shapes, and control layouts.

[0004] In existing technologies, a single technical path is often used to handle all style switching needs, resulting in a poor user experience. Summary of the Invention

[0005] One objective of this disclosure is to provide a smart wall switch and its control method, wherein by pre-setting a first type of interface style scheme based on a static data source and a second type of interface style scheme based on an updatable data source in the same smart wall switch, a balance between response speed and expansion flexibility in interface style management is achieved.

[0006] Another objective of this disclosure is to provide a smart wall switch and its control method. The first type of interface style scheme, because its data is fixed locally and does not interact with the outside, can ensure a smooth experience of instant switching of basic commonly used styles. The second type of interface style scheme, through the "pre-acquisition and local storage" mechanism, maintains the response speed of subsequent switching while supporting the dynamic expansion and updating of the style library. This not only meets the personalized needs of users, but also optimizes the utilization of storage resources and reduces network dependence, thereby significantly improving the overall user experience of the smart wall switch.

[0007] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein by distinguishing between local operation and remote operation command sources, the technical solution of the present invention can adapt to the needs of different usage scenarios and provide users with diversified interaction methods.

[0008] Another objective of this disclosure is to provide a smart wall switch and its control method, wherein the local preview function allows users to fully understand the visual effects of each interface style scheme before switching, avoiding unsatisfactory experiences caused by blind switching, and improving the certainty of interaction and user satisfaction.

[0009] Another objective of this disclosure is to provide a smart wall switch and its control method. Through this "data transmission first, command sending later" mechanism, although the second type of interface style scheme requires a data download process during initial application, once the data is stored locally, subsequent switching can be completed quickly. This mechanism ensures both the richness and scalability of styles while avoiding reliance on network transmission for each switch, significantly improving the user experience.

[0010] Another objective of this disclosure is to provide a smart wall switch and its control method. Through a post-application reporting mechanism, the technical solution of this invention achieves real-time synchronization between local operation and cloud status, ensuring that users can accurately know the real status of the device at the remote end, thereby improving consistency and reliability.

[0011] To achieve at least one of the above objectives, according to a first aspect of the present invention, a control method is provided, applied to the smart wall switch, wherein the smart wall switch is capable of communicating with a terminal device, the smart wall switch is installed in a power line and can be used to control a high-voltage load, and the smart wall switch has at least one screen; the control method includes: receiving an interface style configuration instruction; and calling corresponding interface data according to the interface style configuration instruction to present a target interface style scheme through the screen; wherein the smart wall switch has at least two preset interface style schemes, including a first type of interface style scheme based on a static data source and a second type of interface style scheme based on an updatable data source, wherein the interface data of the first type of interface style scheme is not exchanged with external devices during normal operation of the device, and the interface data of the second type of interface style scheme needs to be dynamically acquired according to external needs and stored locally before it can be called; when the target scheme is the first type of interface style scheme, the interface data called is static data that is directly available locally on the smart wall switch; when the target scheme is the second type of interface style scheme, the interface data called is dynamic data that has been pre-acquired according to external needs and stored locally on the smart wall switch.

[0012] According to embodiments of this disclosure, receiving the interface style configuration instruction includes: the smart wall switch receiving the interface style configuration instruction in response to a user's local operation; or, the user generates the interface style configuration instruction through a selection operation triggered by a terminal device, and after being forwarded via a cloud server and a relay device, the smart wall switch receives the interface style configuration instruction.

[0013] According to embodiments of this disclosure, receiving the interface style configuration instruction in response to a user's local operation specifically includes: in response to a user's preview trigger operation, presenting a preview effect of at least one locally switchable interface style scheme on the display screen of the smart wall switch; wherein the locally switchable interface style scheme includes all or part of the first type of interface style scheme, and the second type of interface style scheme that has been dynamically acquired and stored locally through an external device; and obtaining the interface style configuration instruction based on the user's operation of selecting a target interface style scheme from the previewed interface style scheme.

[0014] According to embodiments of this disclosure, a user generates an interface style configuration instruction through a remote selection operation triggered by a terminal device. After being forwarded via a cloud server and a relay device, the smart wall switch receives the interface style configuration instruction. This includes: when the target interface style scheme selected by the user through the application interface of the terminal device has been stored in the local memory of the smart wall switch, receiving the interface style configuration instruction sent by the terminal device and forwarded via the cloud server and the relay device.

[0015] According to embodiments of this disclosure, a user triggers a remote selection operation via a terminal device to generate an interface style configuration instruction. After being forwarded via a cloud server and a relay device, the smart wall switch receives the interface style configuration instruction. This includes: when the target interface style scheme selected by the user through the application interface of the terminal device is not stored in the local memory of the smart wall switch, dynamic data packets from the terminal device are pre-received and stored via a point-to-point communication connection before receiving the interface style configuration instruction; the interface style configuration instruction is sent by the terminal device after completing the transmission of the dynamic data packets, and forwarded to the smart wall switch via the cloud server and the relay device.

[0016] According to embodiments of this disclosure, the point-to-point communication connection includes Bluetooth Direct.

[0017] According to an embodiment of this disclosure, when the interface style configuration instruction is forwarded via a cloud server and a relay device, the relay device is a gateway device; after applying the target interface style scheme, the method further includes: if the interface style configuration instruction is triggered by a user's local operation on the smart wall switch, then reporting the identifier of the currently applied target interface style scheme to the gateway device for synchronization to the cloud server.

[0018] According to embodiments of this disclosure, the interface style scheme defines a set of parameters for the visual presentation effect of the user interface on the smart wall switch display screen, including at least one of the following: visual style configuration of basic interactive controls; display configuration of interface background; shape configuration of icon elements; structural configuration of interface layout; and presentation configuration of dynamic effects.

[0019] According to embodiments of this disclosure, the amount of data in the interface data of the first type of interface style scheme is greater than the amount of data in the interface data of the second type of interface style scheme, and the amount of data in the interface data of the first type of interface style scheme is at least twice the amount of data in the interface data of the second type of interface style scheme.

[0020] According to an embodiment of this disclosure, a smart wall switch receives wallpaper data from a terminal device via a point-to-point communication connection. The wallpaper data is the homepage wallpaper and / or screensaver wallpaper corresponding to the target interface style scheme customized by the user on a specific page through an application on the terminal device. The wallpaper data is configured on the terminal device side to clear the wallpaper data set when the user exits the specific page.

[0021] 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 module for communicating with a mobile terminal; a screen for display; and a processor electrically connected to the memory, the communication 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.

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

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

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

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

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

[0027] Figure 3 This is a schematic diagram of a local interface style switching scheme in one embodiment of the present disclosure;

[0028] Figure 4 This is a schematic diagram of the interface style switching scheme on a terminal device in one embodiment of the present disclosure;

[0029] Figure 5 This is a schematic diagram showing the interface style of a smart wall switch according to an embodiment of the present disclosure;

[0030] Figure 6 This is a schematic diagram of the custom wallpaper operation process in one embodiment of this disclosure;

[0031] Figure 7 This is a schematic diagram of a wallpaper effect preview operation in one embodiment of the present disclosure;

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

[0033] The embodiments of this disclosure will now be described in detail. When the description relates to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. Obviously, the described embodiments are only a part of the embodiments of this disclosure, and not all of them. All other embodiments obtained by those skilled in the art based on the embodiments of this disclosure without inventive effort are within the scope of protection of this disclosure.

[0034] It should be understood that in the description of all embodiments of this disclosure, the terms "upper," "lower," "left," "right," etc., indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are used only for the convenience of describing this disclosure and for simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this disclosure. The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. Terms such as "coupled" and "connected" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection, an electrical connection, or a connection that allows communication; they can refer to a direct connection or an indirect connection through an intermediate medium to form a linkage relationship; they can refer to the internal communication of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in this disclosure can be understood according to the specific circumstances.

[0035] In the various embodiments of this disclosure, the symbol " / " indicates that it has two functions simultaneously. The symbol "A and / or B" indicates that the combination of the preceding and following objects connected by the symbol includes three cases: "A", "B", and "A and B".

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[0054] like Figure 2 The diagram shown is a flowchart illustrating a control method according to an embodiment of this disclosure. It is applied to the aforementioned smart wall switch. As can be seen, the control method includes steps S1 and S2.

[0055] In step S1, the smart wall switch receives an interface style configuration instruction. This instruction can be understood as a command to instruct the smart wall switch to switch to a specific target interface style scheme. The instruction carries at least the identification information of the target interface style scheme so that the smart wall switch can accurately identify the target interface style scheme to be loaded.

[0056] In step S2, the smart wall switch calls the corresponding interface data according to the interface style configuration instruction to present the target interface style scheme on the screen. Specifically, after receiving the interface style configuration instruction, the smart wall switch parses the target interface style scheme identifier carried in the instruction and searches for and loads the corresponding interface data from its local memory based on this identifier. The loaded interface data includes various resources required for rendering the user interface on the display screen, such as icons, colors, layout parameters, and animation effects. After loading the interface data, the smart wall switch presents the corresponding interface style scheme on its screen, allowing the user to intuitively see the display effect of the target interface style scheme.

[0057] The smart wall switch is pre-configured with at least two types of interface style schemes, including a first type of interface style scheme based on a static data source and a second type of interface style scheme based on an updatable data source. The interface data of the first type of interface style scheme is not exchanged with external devices during normal operation of the device, while the interface data of the second type of interface style scheme needs to be dynamically acquired according to external needs and stored locally before it can be called.

[0058] In this embodiment of the disclosure, the interface style scheme defines a set of parameters for the visual presentation effect of the user interface on the smart wall switch display screen, including at least one of the following:

[0059] Visual style configuration for basic interactive controls;

[0060] Interface background display configuration;

[0061] The shape configuration of icon elements;

[0062] The structural configuration of the interface layout;

[0063] Configuration for dynamic effects.

[0064] The basic interactive controls include at least one of a switch button, a mode indicator, a brightness adjustment slider, and a color temperature adjustment slider. The visual style configuration includes at least one of the following attributes: color, shape, size, transparency, and shadow effect of the control.

[0065] The first type of interface style scheme includes at least one default interface style scheme preset when the smart wall switch leaves the factory.

[0066] The first type of interface style scheme also includes interface style schemes that are embedded in the device's basic operating environment through firmware upgrades.

[0067] The interface data corresponding to each interface style scheme is stored in the local memory of the smart wall switch (such as the FLASH of the screen driver chip) in the form of independent configuration files or resource packages. Each interface style scheme is independent of each other and can be loaded separately.

[0068] As can be seen, the interface style scheme can be understood as a set of loadable and switchable configuration data that defines the visual presentation effect of the user interface on the smart wall switch display screen. This scheme covers all the technical elements of the "theme" or "skin" perceived by the user.

[0069] In this embodiment of the disclosure, the first type of interface style scheme based on a static data source can be understood as follows: the interface data of the first type of interface style scheme has the following characteristics during the normal operating cycle of the smart wall switch:

[0070] Independence: The interface data of this first type of interface style scheme does not exchange data with external devices during normal operation of the device, that is, it does not need to be downloaded from the cloud or obtained from the terminal device.

[0071] Direct availability: The interface data of this first type of interface style scheme is always available locally and can be directly called when switching without waiting for external data transmission.

[0072] In other words, the interface data of this first type of interface style scheme is pre-installed in the local memory when the smart wall switch leaves the factory, or is solidified in the basic operating environment of the device through system-level maintenance operations such as firmware upgrades.

[0073] For example, the first type of interface style scheme includes:

[0074] The default interface style schemes, such as classic style and minimalist style, are preset when the smart wall switch is shipped from the factory;

[0075] Themes added and fixed through firmware upgrades, such as limited-edition holiday themes;

[0076] A day / night mode theme that automatically switches based on local time or simple rules.

[0077] It is worth noting that since the interface data of the first type of interface style scheme is fixed locally, no external interaction is required when switching, so it has an extremely fast response speed and can provide users with an instant feedback experience.

[0078] In this embodiment of the disclosure, the second type of interface style scheme based on an updatable data source can be understood as follows: the interface data of the second type of interface style scheme has the following characteristics:

[0079] Dynamic acquisition: The interface data for this second type of interface style scheme needs to be dynamically acquired from the cloud server based on the user's selection or other external requirements;

[0080] Updability: The interface data of this second type of interface style scheme can be stored locally after being acquired and can be updated or replaced in the future;

[0081] In other words, the interface data of this second type of interface style scheme can only be invoked after it has been dynamically acquired and stored locally; before it has been acquired, the device cannot invoke this type of scheme locally.

[0082] For example, the second type of interface style scheme includes:

[0083] Users can download various themes from the cloud-based theme store, such as natural scenery, artwork, and holiday themes.

[0084] Dynamic themes that interact with external data, such as weather themes that change based on real-time weather information;

[0085] Personalized themes are customized and generated by users through their terminal devices.

[0086] It's worth noting that because the interface data for the second type of interface style scheme needs to be retrieved from the cloud, it requires a data download process upon first application. However, once the data is stored locally, subsequent switching can also be completed quickly. This mechanism ensures both the richness and scalability of the styles, while avoiding reliance on network transmission for each switch through local storage.

[0087] Furthermore, the amount of data in the interface data of the first type of interface style scheme is greater than the amount of data in the interface data of the second type of interface style scheme.

[0088] For example, the interface data of the first type of interface style scheme includes at least one of high-resolution image resources, multi-frame animation resources, and multiple font resources, while the interface data of the second type of interface style scheme includes at least one of lightweight configuration files, vector graphics descriptions, and color parameter sets.

[0089] Furthermore, the amount of data in the interface data of the first type of interface style scheme is at least twice the amount of data in the interface data of the second type of interface style scheme.

[0090] For example, the data size of the interface data in the first type of interface style scheme is greater than 1MB (e.g., 1MB~10MB), and the data size of the interface data in the second type of interface style scheme is less than 500KB (e.g., 200KB~300KB).

[0091] In this embodiment of the disclosure, when the target scheme is a first type of interface style scheme, the interface data called is static data that can be directly used locally by the smart wall switch; when the target scheme is a second type of interface style scheme, the interface data called is dynamic data that has been pre-acquired and stored locally by the smart wall switch according to external requirements.

[0092] As can be seen, for the second type of interface style scheme, the interface data is not acquired temporarily upon receiving the interface style configuration instruction, but rather "acquired in advance" and stored locally. Here, "acquired in advance" means that before the interface style configuration instruction arrives, the interface data of the target scheme has already been transmitted and saved to the local memory of the smart wall switch in some way.

[0093] The interface data corresponding to the first type of interface style scheme and the interface data corresponding to the second type of interface style scheme are each stored in the local memory of the smart wall switch (such as the FLASH of the screen driver chip) in the form of independent configuration files or resource packages. They are independent of each other and can be loaded separately. During the dynamic update of the interface data of the second type of interface style scheme, the interface data of the first type of interface style scheme will not be affected.

[0094] Understandably, with the rapid development of smart home technology, smart wall switches with screens are gradually becoming an important interactive entry point for home intelligent control. To meet users' personalized aesthetic needs, these devices typically support switching between multiple interface display styles, such as different color schemes, icon shapes, and control layouts. Current technologies often employ a single technical path to handle all style switching needs, failing to balance switching response speed and style richness, resulting in a poor user experience.

[0095] Based on this, the present disclosure provides a control method for a smart wall switch. The solution provided by the present disclosure achieves a balance between response speed and expansion flexibility in interface style management by pre-setting a first type of interface style scheme based on a static data source and a second type of interface style scheme based on an updatable data source in the same smart wall switch.

[0096] It is worth noting that the first type of interface style scheme, because its data is fixed locally and does not interact with the outside, can ensure a smooth experience of instant switching of basic and commonly used styles; the second type of interface style scheme, through the "pre-acquisition and local storage" mechanism, maintains the response speed of subsequent switching while supporting the dynamic expansion and updating of the style library. This not only meets the personalized needs of users, but also optimizes the utilization of storage resources and reduces network dependence, thereby significantly improving the overall user experience of smart wall switches.

[0097] In some embodiments, receiving the interface style configuration instruction includes: the smart wall switch receiving the interface style configuration instruction in response to a user's local operation; or, the user generates the interface style configuration instruction through a selection operation triggered by a terminal device, and after being forwarded via a cloud server and a relay device, the smart wall switch receives the interface style configuration instruction.

[0098] In this embodiment of the disclosure, the interface style configuration instruction carries at least the identification information of the target interface style scheme, such as the ID of the target interface style scheme. This identification information is used to uniquely determine the interface style scheme to be loaded so that the smart wall switch can accurately call the corresponding interface data from the local memory.

[0099] Specifically, in this embodiment, the interface style configuration instruction for the smart wall switch can originate from two different trigger paths: The first path involves the user directly operating the smart wall switch, such as selecting a target interface style scheme via buttons or a touchscreen on the device. In this case, the interface style configuration instruction is generated and processed by the smart wall switch itself. The second path involves the user selecting a target interface style scheme through an application on a mobile phone, tablet, or other terminal device. This selection triggers the terminal device to generate an interface style configuration instruction, which is then forwarded through a cloud server and a relay device before being received and executed by the smart wall switch. This two-path design allows users to perform quick operations independently locally or control the switching of interface styles via a terminal device. For example, when the interface style configuration instruction is forwarded via a cloud server and a relay device, the relay device is a gateway device. The interface style configuration instruction is sent from the terminal device to the cloud server, then distributed by the cloud server to the gateway device, and finally wirelessly transmitted by the gateway device to the smart wall switch.

[0100] As can be seen, by distinguishing between local and remote operation command sources, the technical solution of the present invention can adapt to the needs of different usage scenarios and provide users with diverse interaction methods.

[0101] Furthermore, the local operation includes button operation and / or screen touch operation.

[0102] Specifically, button operations can include users pressing mechanical buttons or touch buttons on the smart wall switch. For example, users can enter the settings menu by short-pressing or long-pressing the physical button, and then switch between different interface style schemes by pressing multiple times. Touchscreen operations refer to users directly interacting with the smart wall switch's touchscreen display by tapping, swiping, and long-pressing. For example, users can enter the theme switching interface by clicking the "Settings" icon on the screen, then swipe to browse different style schemes and click to select the desired scheme. Touchscreen operations are more intuitive and convenient, consistent with the interaction habits of smartphones and other terminal devices, reducing the learning curve for users.

[0103] As can be seen, by supporting multiple local operation methods, the smart wall switch of the present invention can adapt to the interaction preferences of different users and provide a flexible and intuitive operating experience.

[0104] Furthermore, in response to the user's local operation, the interface style configuration instruction is received; specifically, in response to the user's preview trigger operation, the smart wall switch displays at least one preview effect of an interface style scheme that can be switched locally on the display screen of the smart wall switch; wherein, the interface style scheme that can be switched locally includes all or part of the first type of interface style scheme, and the second type of interface style scheme that has been dynamically acquired and stored locally through an external device.

[0105] The external devices here can be understood as the user's terminal devices (such as mobile phones), gateways, and / or cloud servers. Taking the external device as the terminal device as an example, the terminal device transmits the interface data packets of the dynamically acquired second type of interface style scheme to the smart wall switch through a point-to-point communication connection and stores them locally.

[0106] Furthermore, the smart wall switch obtains interface style configuration instructions based on the user's action of selecting a target interface style scheme from the previewed interface style schemes.

[0107] Specifically, the smart wall switch supports previewing all available interface style schemes on the screen, allowing users to intuitively understand the visual effects of each scheme before switching. The preview trigger operation includes at least one of button operation, screen tap operation, and swipe operation. For example, users can enter preview mode by pressing the physical "preview" button on the smart wall switch or by swiping down on the screen. The preview effect includes at least one of the background image, visual style of basic interactive controls, color scheme, and icon shape under the target interface style scheme. For example, the preview interface can display the color and shape of the switch button, the style of the brightness slider, background patterns, etc., giving users an intuitive feel for the overall style of the scheme.

[0108] In one example, the locally switchable interface style scheme includes all of the first type of interface style schemes and the second type of interface style schemes that have been dynamically acquired and stored locally via an external device. Specifically, the interface style scheme is implemented as the screen display theme of the smart wall switch, such as... Figure 3 As shown, users can access the settings interface by swiping down on the screen. Clicking the "Theme Switching" control in the settings interface will take them to the theme switching screen. After selecting a target theme (e.g., ...), ... Figure 3 In the example, the user selects the target theme name "Kapibala". Clicking the "Confirm Switch" control sends an interface style configuration instruction to the smart wall switch, which instructs the current theme to be switched to "Kapibala". The smart wall switch then retrieves the corresponding interface data and applies the "Kapibala" theme to the screen, completing the switch. Throughout the process, the user can see a real-time preview of each option, ensuring that the final selected option matches their personal aesthetic preferences.

[0109] As can be seen, the local preview function allows users to fully understand the visual effects of each interface style scheme before switching, avoiding unsatisfactory experiences caused by blindly switching, and improving the certainty of interaction and user satisfaction.

[0110] Furthermore, the user generates an interface style configuration instruction through a remote selection operation triggered by the terminal device. After being forwarded by the cloud server and relay device, the smart wall switch receives the interface style configuration instruction. This includes: when the target interface style scheme selected by the user through the application interface of the terminal device has been stored in the local memory of the smart wall switch, receiving the interface style configuration instruction sent by the terminal device and forwarded by the cloud server and relay device.

[0111] Furthermore, when the target interface style scheme selected by the user through the application interface of the terminal device is not stored in the local memory of the smart wall switch, a dynamic data packet from the terminal device has been pre-received and stored via a point-to-point communication connection before receiving the interface style configuration instruction. Specifically, the dynamic data packet is a dynamic data packet corresponding to the target interface style scheme selected by the user, which is obtained by the terminal device from the cloud server in response to the user's selection operation of the target interface style scheme through the terminal device. Here, the dynamic data packet refers to a resource package obtained from the cloud server that contains complete visual presentation data of the second type of interface style scheme. Its data volume is usually large and contains rich elements such as images and animations.

[0112] The interface style configuration instruction is sent by the terminal device after completing the dynamic data packet transmission, and is forwarded to the smart wall switch via the cloud server and relay device.

[0113] In this embodiment, the smart wall switch receives the interface style configuration instruction. The interface style configuration instruction is sent by the terminal device via a cloud server and a relay device, carrying an identifier of the target interface style scheme, after the terminal device responds to the user's operation of selecting a target interface style scheme in a specific application interface, and determines that the selected target interface style scheme is stored in the smart wall switch; or, the interface style configuration instruction is sent by the terminal device via a cloud server and a relay device, carrying an identifier of the target interface style scheme, after the terminal device responds to the user's operation of selecting a target interface style scheme in a specific application interface, and determines that the selected target interface style scheme is not stored in the smart wall switch, first obtaining the data corresponding to the target interface style scheme from the cloud server and sending it to the smart wall switch via a point-to-point communication connection; wherein, the point-to-point communication connection is actively established by the terminal device with the smart wall switch after the user enters the specific application interface.

[0114] As can be seen, through this "transmit data first, then send instructions" mechanism, although the second type of interface style scheme requires a data download process during its initial application, once the data is stored locally, subsequent switching can be completed quickly. This mechanism ensures both the richness and scalability of styles while avoiding reliance on network transmission for every switch, significantly improving the user experience.

[0115] It is worth mentioning that in this embodiment, once the user enters a specific application interface, a point-to-point communication connection between the smart wall switch and the terminal device is established. If the point-to-point communication connection is not successfully established, neither the first nor the second type of interface style scheme is supported; the application interface only allows the user to preview each interface style scheme. Subsequently, when the target interface style scheme selected by the user through the terminal device's application interface is already stored in the smart wall switch's local memory, the corresponding interface style configuration command is still sent by the terminal device and forwarded to the smart wall switch via the cloud server and relay device, and is not sent through the point-to-point communication connection. When the target interface style scheme selected by the user through the terminal device's application interface is not stored in the smart wall switch's local memory, the terminal device will first send the interface data corresponding to the target interface style scheme to the smart wall switch through the point-to-point communication connection, and then send the interface style configuration command. In this case, the interface style configuration command is still not sent through the point-to-point communication connection, but is sent by the terminal device and forwarded to the smart wall switch via the cloud server and relay device. As can be seen, point-to-point communication connections are specifically designed for transmitting large amounts of dynamic data packets, while interface style configuration commands are always transmitted via the cloud and relay paths. This division of labor optimizes bidirectional transmission efficiency: on the one hand, dynamic data packets are transmitted quickly through direct channels, avoiding the delays caused by multi-level forwarding via the cloud and relays; on the other hand, after the interface style configuration commands are transmitted via the cloud and relay paths, the smart wall switch completing the switching means that the cloud has recorded this switching operation, eliminating the need for additional status synchronization, thus simplifying the interaction process and further improving overall efficiency.

[0116] For example, the point-to-point communication connection includes Bluetooth Direct.

[0117] In a further example, the interface style scheme is specifically implemented as the screen display theme of the smart wall switch. In the interaction between the smart wall switch (which acts as a relay device in conjunction with a cloud server) and the mobile phone (terminal device), the generation and transmission process of the interface style configuration instructions can be, for example:

[0118] like Figure 4As shown, users access the "Screen Display Settings" interface through the "Screen Display Settings" item in the mobile application. This interface provides a "Current Theme" option, which leads to the "Theme Plaza" interface. This interface allows users to preview all themes (i.e., users can preview all interface style schemes on their terminal device, including all first-type and all second-type interface style schemes). When a user browses and selects a theme called "Shiba Inu Philosophy," the mobile application detects that this theme has not yet been downloaded to the smart wall switch. Therefore, it first transmits the data packet corresponding to the "Shiba Inu Philosophy" theme to the smart wall switch via an established Bluetooth direct connection and stores it. After the transmission is complete, the mobile application sends an interface style configuration command carrying the "Shiba Inu Philosophy" identifier to the cloud server. This command is then sent from the cloud server to the Bluetooth gateway, which forwards it to the smart wall switch via Bluetooth broadcast or directed connection. Upon receiving the interface style configuration command, the smart wall switch retrieves the stored "Shiba Inu Philosophy" data packet from its local storage, loads and displays the theme, resulting in the final display effect as shown. Figure 5 As shown.

[0119] In some embodiments, when the interface style configuration instructions are forwarded via a cloud server and a relay device, the relay device is a gateway device.

[0120] After applying the target interface style scheme, the control method further includes: if the interface style configuration instruction is triggered by a user's local operation on the smart wall switch, the smart wall switch reports the identifier of the currently applied target interface style scheme to the gateway device for synchronization to the cloud server, so that the user can view the currently applied interface style scheme of the smart wall switch from the cloud server through the terminal device.

[0121] Specifically, when a user directly switches the interface style scheme on the smart wall switch locally, the cloud server cannot know the current scheme status of the smart wall switch because this operation does not go through the cloud path. To solve this problem, after completing the local switch, the smart wall switch proactively reports the identifier information of the target interface style scheme of the current application to the gateway device. The gateway device synchronizes this information to the cloud server, and the cloud server updates the corresponding current scheme record of the smart wall switch in its database. In this way, when the user subsequently checks the status of the smart wall switch through the application on the terminal device, the application can obtain the latest applied interface style scheme information of the smart wall switch from the cloud server, ensuring that the remote display is consistent with the actual status of the smart wall switch.

[0122] For example, when a user switches from "Kapibala" to "Shiba Inu Philosophy" on the smart wall switch, the smart wall switch immediately reports the "Shiba Inu Philosophy" scheme ID to the Bluetooth gateway via Bluetooth after the switch is completed. The Bluetooth gateway then uploads the information to the cloud server, which updates the record. Subsequently, the user opens the mobile application to view the device details. The application retrieves the current scheme as "Shiba Inu Philosophy" from the cloud and displays it correctly on the interface.

[0123] As can be seen, by using the post-application reporting mechanism, the technical solution of this invention achieves real-time synchronization between local operation and cloud status, ensuring that users can accurately know the real status of the device at the remote end, thus improving consistency and reliability.

[0124] In some embodiments, the FLASH memory of the driver chip of the smart wall switch has 15-20MB of storage space for storing interface data, with more than half of the space used to store interface data for the first type of interface style scheme. Specifically, five first type interface style schemes are stored locally, each with interface data size of 1-3MB. Only one second type interface style scheme is stored locally. The interface data (200k-300k) in the storage location of the second type interface style scheme changes dynamically according to user selection. When the user selects a new second type interface style scheme, the interface data of the second type interface style scheme originally stored in the smart wall switch will be replaced.

[0125] In some embodiments, the control method further includes: the smart wall switch receiving wallpaper data from a terminal device via a point-to-point communication connection, wherein the wallpaper data is the homepage wallpaper and / or screensaver wallpaper corresponding to the target interface style scheme customized by the user through the application of the terminal device on a specific page.

[0126] The wallpaper data is configured on the terminal device side to clear the wallpaper data set when the user exits the specific page, in order to protect user privacy.

[0127] Specifically, in this embodiment of the disclosure, users are also allowed to customize wallpapers through terminal devices and apply the customized wallpapers to the homepage wallpaper and / or screensaver wallpaper of the current interface style scheme. The homepage wallpaper includes the display image of the background area in the target interface style scheme, and the screensaver wallpaper includes the image displayed when the smart wall switch enters the screensaver state. The two can be set separately.

[0128] For example, such as Figure 6As shown, users can access a specific custom wallpaper settings page through an application (App) installed on their terminal device (such as a smartphone). On this page, users can select images from their local photo album or take photos as wallpaper content. After the user confirms the selection, the terminal device sends the selected wallpaper data to the smart wall switch via a pre-established point-to-point communication connection (such as Bluetooth Direct). After receiving the wallpaper data, the smart wall switch stores it locally and applies the wallpaper data to the corresponding area of ​​the current interface style scheme (target interface style scheme).

[0129] It is worth noting that when a user exits the specific page, regardless of whether the wallpaper data has been successfully transmitted to the smart wall switch, the terminal device's application will proactively clear all wallpaper data generated during the setup process (such as temporarily cached image files, image data in memory, etc.). This mechanism of clearing data upon user exit effectively protects user privacy and security.

[0130] It's worth noting that wallpaper data successfully transferred to the smart wall switch will remain locally on the switch for continued use. Users can change or remove the wallpaper by re-entering the custom wallpaper settings page.

[0131] In addition, users can preview the selected wallpaper on a specific page, which will display a simulation of the wallpaper being applied to the smart wall switch (e.g., ...). Figure 7 (As shown), for user reference.

[0132] like Figure 8 As shown, one embodiment of this disclosure also provides a smart wall switch corresponding to the above control method. The smart wall switch is capable of communicating with a terminal device, is installed in a power line and can be used to control high-voltage loads, and has at least one screen; the smart wall switch includes an eighth communication module and an eighth processing module.

[0133] The eighth communication module is used to receive interface style configuration instructions.

[0134] The eighth processing module is used to call the corresponding interface data according to the interface style configuration instruction, so as to present the target interface style scheme on the screen.

[0135] The smart wall switch has at least two preset interface style schemes, including a first interface style scheme based on a static data source and a second interface style scheme based on an updatable data source. The interface data of the first interface style scheme is not exchanged with external devices during normal operation of the device, while the interface data of the second interface style scheme needs to be dynamically acquired and stored locally according to external needs before it can be called. When the target scheme is the first interface style scheme, the interface data called is static data that can be directly used locally by the smart wall switch. When the target scheme is the second interface style scheme, the interface data called is dynamic data that has been pre-acquired and stored locally by the smart wall switch according to external needs.

[0136] In some embodiments, the reception of the interface style configuration instruction of the eighth communication module is specifically used for: receiving the interface style configuration instruction in response to a user's local operation; or, the user generates the interface style configuration instruction through a selection operation triggered by the terminal device, and after being forwarded by the cloud server and relay device, the smart wall switch receives the interface style configuration instruction.

[0137] In some embodiments, the local operation includes key operations and / or screen touch operations.

[0138] In some embodiments, the eighth communication module receives the interface style configuration instruction in response to a user's local operation, specifically for: in response to a user's preview trigger operation, displaying a preview effect of at least one locally switchable interface style scheme on the display screen of the smart wall switch; wherein, the locally switchable interface style scheme includes all or part of the first type of interface style scheme, and the second type of interface style scheme that has been dynamically acquired and stored locally through an external device; and obtaining the interface style configuration instruction based on the user's operation of selecting a target interface style scheme from the previewed interface style scheme.

[0139] In some embodiments, a user generates an interface style configuration instruction through a remote selection operation triggered by a terminal device. After being forwarded by a cloud server and a relay device, the smart wall switch receives the interface style configuration instruction. Specifically, when the target interface style scheme selected by the user through the application interface of the terminal device has been stored in the local memory of the smart wall switch, the smart wall switch receives the interface style configuration instruction sent by the terminal device and forwarded by the cloud server and the relay device.

[0140] In some embodiments, a user triggers a remote selection operation via a terminal device to generate an interface style configuration instruction. After being forwarded via a cloud server and a relay device, the smart wall switch receives the interface style configuration instruction. Specifically, when the target interface style scheme selected by the user through the application interface of the terminal device is not stored in the local memory of the smart wall switch, dynamic data packets from the terminal device are pre-received and stored via a point-to-point communication connection before receiving the interface style configuration instruction. The interface style configuration instruction is sent by the terminal device after completing the transmission of the dynamic data packets and is forwarded to the smart wall switch via the cloud server and the relay device.

[0141] In some embodiments, the peer-to-peer communication connection includes Bluetooth Direct.

[0142] In some embodiments, when the interface style configuration instruction is forwarded via a cloud server and a relay device, the relay device is a gateway device; after applying the target interface style scheme, the eighth processing module is further configured to: if the interface style configuration instruction is triggered by a user's local operation on the smart wall switch, report the identifier of the currently applied target interface style scheme to the gateway device for synchronization to the cloud server.

[0143] In some embodiments, the interface style scheme defines a set of parameters for the visual presentation effect of the user interface on the smart wall switch display screen, including at least one of the following: visual style configuration of basic interactive controls; display configuration of interface background; shape configuration of icon elements; structural configuration of interface layout; and presentation configuration of dynamic effects.

[0144] In some embodiments, the amount of data in the interface data of the first type of interface style scheme is greater than the amount of data in the interface data of the second type of interface style scheme, and the amount of data in the interface data of the first type of interface style scheme is at least twice the amount of data in the interface data of the second type of interface style scheme.

[0145] In some embodiments, the smart wall switch receives wallpaper data from a terminal device via a point-to-point communication connection. The wallpaper data is the homepage wallpaper and / or screensaver wallpaper corresponding to the target interface style scheme customized by the user on a specific page through an application on the terminal device. The wallpaper data is configured on the terminal device side to clear the currently set wallpaper data when the user exits the specific page.

[0146] In the description of this specification, the references to terms such as "some embodiments," "a specific implementation," "a specific implementation process," and "an example" indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of this disclosure. In this specification, the illustrative expressions of the above terms corresponding to the described specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.

[0147] It should also be noted that the above embodiments can be combined with each other. For the same or similar concepts or processes, they may not be described again in some embodiments. That is, the technical solutions disclosed in the later (in the order of the text) embodiments should include the technical solutions described in this embodiment and the technical solutions described in all embodiments before this embodiment.

[0148] 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 of an intelligent wall switch, characterized by, An application is made to a smart wall switch, which is capable of communicating with a terminal device, is installed in a power line and can be used to control high-voltage loads, and has at least one screen; the control method includes: Receive interface style configuration instructions; The corresponding interface data is called according to the interface style configuration instructions in order to present the target interface style scheme on the screen. The smart wall switch is pre-configured with at least two types of interface style schemes, including a first type of interface style scheme based on a static data source and a second type of interface style scheme based on an updatable data source. The interface data of the first type of interface style scheme is not exchanged with external devices during normal operation of the device, while the interface data of the second type of interface style scheme needs to be dynamically acquired according to external needs and stored locally before it can be called. When the target solution is the first type of interface style solution, the interface data called is static data that can be directly used locally by the smart wall switch; when the target solution is the second type of interface style solution, the interface data called is dynamic data that has been pre-acquired and stored locally by the smart wall switch according to external requirements.

2. The control method according to claim 1, characterized by, The receipt of the interface style configuration instruction includes: The smart wall switch responds to local user operations and receives the interface style configuration command; or The user generates an interface style configuration command through a selection operation triggered by the terminal device. After being forwarded by the cloud server and relay device, the smart wall switch receives the interface style configuration command.

3. The control method according to claim 2, characterized by, In response to the user's local operations, the interface style configuration instruction is received, specifically including: In response to a user's preview trigger operation, a preview of at least one locally switchable interface style scheme is displayed on the screen of the smart wall switch; wherein, the locally switchable interface style scheme includes all or part of the first type of interface style scheme, and the second type of interface style scheme that has been dynamically acquired and stored locally by an external device. The interface style configuration instructions are obtained based on the user's action of selecting the target interface style scheme from the previewed interface style scheme.

4. The control method according to claim 2, characterized by, The user triggers a remote selection operation via a terminal device, generating an interface style configuration command. This command is then forwarded via a cloud server and relay equipment, and the smart wall switch receives the interface style configuration command, which includes: When the target interface style scheme selected by the user through the application interface of the terminal device has been stored in the local memory of the smart wall switch, the interface style configuration instruction sent by the terminal device and forwarded by the cloud server and relay device is received.

5. The control method according to claim 4, characterized by The user triggers a remote selection operation via a terminal device, generating an interface style configuration command. This command is then forwarded via a cloud server and relay equipment, and the smart wall switch receives the interface style configuration command, which includes: When the target interface style scheme selected by the user through the application interface of the terminal device is not stored in the local memory of the smart wall switch, dynamic data packets from the terminal device have been received and stored in advance through point-to-point communication before receiving the interface style configuration instruction. The interface style configuration command is sent by the terminal device after completing the dynamic data packet transmission, and is forwarded to the smart wall switch via the cloud server and relay device.

6. The control method according to claim 5, characterized by The point-to-point communication connection includes Bluetooth Direct.

7. The control method according to claim 6, characterized by When the interface style configuration command is forwarded via a cloud server and a relay device, the relay device is a gateway device; After applying the target interface style scheme, the method further includes: if the interface style configuration instruction is triggered by a user's local operation on the smart wall switch, then reporting the identifier of the currently applied target interface style scheme to the gateway device for synchronization to the cloud server.

8. The control method according to any one of claims 1 to 7, characterized by, The interface style scheme defines a set of parameters for the visual presentation of the user interface on the smart wall switch display screen, and includes at least one of the following: Visual style configuration for basic interactive controls; Interface background display configuration; The shape configuration of icon elements; The structural configuration of the interface layout; Configuration for dynamic effects.

9. The control method according to claim 8, characterized in that, The amount of data in the interface data of the first type of interface style scheme is greater than the amount of data in the interface data of the second type of interface style scheme, and the amount of data in the interface data of the first type of interface style scheme is at least twice the amount of data in the interface data of the second type of interface style scheme.

10. The control method according to any one of claims 1 to 7, characterized in that, The smart wall switch receives wallpaper data from a terminal device via a point-to-point communication connection. The wallpaper data is the homepage wallpaper and / or screensaver wallpaper corresponding to the target interface style scheme customized by the user through the application of the terminal device on a specific page. The wallpaper data is configured on the terminal device side to clear the wallpaper data set when the user exits the specific page.

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