Intelligent wall switch
By designing a smart wall switch with multiple working modes, especially switching to relay control state when a network failure occurs, the problem of loss of control of smart controlled devices is solved, convenient physical operation of power off and restart is achieved, and the stability and safety of device control are improved.
Patent Information
- Application Number
- CN202510927153.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-01-18
- Publication Date
- 2025-10-10
AI Technical Summary
Existing smart wall switches cannot effectively control smart controlled devices when a network failure occurs, causing the devices to lose control. In addition, mode switching depends on the network, making operation inconvenient.
An intelligent wall switch is designed with multiple working modes, including forced switching to the relay control state in the first mode, convenient switching through a physically operated mode switching part, ensuring that the controlled device can be powered off and restarted in the event of a network failure, and switching modes in the event of a power outage through a dip switch.
It enables the intelligent controlled devices to be easily restarted through physical power-off operations in the event of a network failure, improving the stability and convenience of device control, avoiding the inconvenience of power-off operations, and enhancing the safety and stability of mode switching.
Smart Images

Figure CN120762312A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of smart home technology, and in particular to a smart wall switch. Background Art
[0002] With the development of smart home, smart wall switches are gradually replacing traditional wall switches. As a smart home trigger device, smart wall switches play a very critical role in the entire system.
[0003] A wall switch, as the name suggests, is a switching device that can be embedded in a wall for use, such as a wall switch that is suitable for the domestically used 86 base box.
[0004] In view of this, the present invention is intended to provide a new intelligent wall switch. Summary of the Invention
[0005] An object of the present invention is to provide an intelligent wall switch, wherein the intelligent wall switch has multiple working modes and can switch between the multiple working modes.
[0006] Another object of the present invention is to provide an intelligent wall switch, wherein at least a first mode is provided among multiple working modes. In the first mode, the intelligent wall switch can forcibly switch back to the state of the control relay to solve the problem of intelligent controlled devices powered by the intelligent wall switch losing control due to network failure.
[0007] Another object of the present invention is to provide an intelligent wall switch, in which multiple working modes can be conveniently switched by physical operation of the gear position of the mode switching part, and no matter what working mode the intelligent wall switch is in, when the intelligent controlled device powered by the intelligent wall switch loses control, it can be switched back to the first mode to cut off power to the intelligent controlled device and restart it by operating the relay.
[0008] Another object of the present invention is to provide an intelligent wall switch, wherein the gear switching of the mode switching part is physically operated to cope with the mode switching of the intelligent wall switch in the event of a network failure.
[0009] Another object of the present invention is to provide an intelligent wall switch, wherein the switching between the multiple gears of the mode switching part can be performed by the user, and the multiple working modes of the processing module are all preset working modes. The user can conveniently switch the working mode of the intelligent wall switch by switching the gears of the mode switching part.
[0010] Another object of the present invention is to provide an intelligent wall switch, wherein the process of switching the gear position of the mode switching unit is performed when the processing module is powered off.
[0011] Another object of the present invention is to provide an intelligent wall switch in which the control panel is powered off when the DIP switch is operated to change gears. After the gear change is complete, the control panel only needs to read the current gear position of the DIP switch when it is powered on again to complete the operating mode switch. Compared to switching gears while the control panel is powered on, this embodiment is significantly safer and more stable.
[0012] Another object of the present invention is to provide an intelligent wall switch, in which the multiple gears of the mode switching part are intuitively displayed to the user, allowing the user to quickly lock the gear corresponding to the expected working mode and switch quickly, so that the processing module can jump directly from the current working mode to the user's expected working mode based on the indication of the gear position of the mode switching part after switching the gear, without switching the working modes one by one, thereby improving the switching efficiency of the working modes.
[0013] Another object of the present invention is to provide an intelligent wall switch, wherein in a first mode, the first button is strongly associated with the relay, that is, the first button is always in the first function to control the corresponding relay action, and the first button cannot be set to the second function through a switching instruction; in a second mode, the first button is weakly associated with the relay, that is, the trigger function of the first button is not fixed, but can be changed, and is associated with the relay only when the first button is configured as the first function. If the first button is configured as the second function, it is not directly associated with the relay.
[0014] Another object of the present invention is to provide an intelligent wall switch, wherein in a first mode, the function of a first button for controlling the on and off of a relay is always in the first function and cannot be changed by external button function configuration data.
[0015] Another object of the present invention is to provide a smart wall switch, wherein in a third mode, all first buttons of the smart wall switch are in the second function and cannot be changed through external button function configuration data. That is, at this time, the smart wall switch is equivalent to a wireless controller and does not have the direct control capability of a relay, so as to facilitate usage scenarios that do not require control of relays.
[0016] Another object of the present invention is to provide an intelligent wall switch, in which the user can freely combine "and", "or" and "not" between each operation event and each trigger result through the terminal to form a complex associated control scenario, so as to enrich the control function of the button set as the second function.
[0017] Another object of the present invention is to provide an intelligent wall switch, wherein the intelligent wall switch has a message function, that is, the user can edit some prompt information and send it to the intelligent wall switch for display to serve as a prompt.
[0018] Another object of the present invention is to provide a smart wall switch, wherein the smart wall switch displays different contents in different demand periods, and the first state and the second state of the processing module can be switched to display different contents through the display screen respectively, wherein the commonly used first content is displayed in the first state, and the uncommon and occasional second content is displayed in the second state, so that the first content and the second content can be displayed in a time-sharing manner when the size of the display screen is limited, thereby satisfying the message function.
[0019] Another object of the present invention is to provide a smart wall switch, wherein when the smart wall switch displays a second content, the second content will continue to be displayed on the display screen before the user operates the operating element to serve as a prompt. When the user operates the operating element, the display screen will redisplay the first content to identify the operating element.
[0020] Another object of the present invention is to provide an intelligent wall switch, wherein after the user leaves a message, the processing module of the intelligent wall switch can switch to a second state to refresh the display content of the display screen. In the second state, the message text will cover the button name, so that the display screen only displays the message text, thereby improving the utilization rate of the display screen and enhancing the prompt effect of the message text.
[0021] Another object of the present invention is to provide an intelligent wall switch, wherein the intelligent wall switch can define the second content remotely and / or locally.
[0022] Another object of the present invention is to provide a smart wall switch, wherein data corresponding to the second content of the smart wall switch is stored in the cloud and / or terminal so as to be reusable.
[0023] Another object of the present invention is to provide a smart wall switch, wherein the smart wall switch has multiple sub-states in a first state, and the text size displayed on the display screen is different in different sub-states to suit different groups of people.
[0024] Another object of the present invention is to provide a smart wall switch, wherein the font on the display screen of the smart wall switch in the second sub-state will be larger than the font on the display screen in the first sub-state, so that the font size on the display screen can be conveniently switched through the terminal to adapt to different scenarios.
[0025] Another object of the present invention is to provide a smart wall switch, wherein the smart wall switch has the ability to modify the display content of the display screen through the cloud when communicating with the outside world based on a Bluetooth communication unit.
[0026] Another object of the present invention is to provide a smart wall switch, wherein the terminal can send the first text configuration message to the Bluetooth gateway joined by the smart wall switch through the cloud, and then forwarded to the smart wall switch by the Bluetooth gateway.
[0027] Another object of the present invention is to provide a smart wall switch, wherein data corresponding to multiple characters are dispersedly loaded into at least two first text configuration messages and sent to the smart wall switch to reduce the capacity required for a single first text configuration message.
[0028] Another object of the present invention is to provide a smart wall switch, wherein the smart wall switch can disperse the data corresponding to multiple texts and send them to the smart wall switch multiple times, and the smart wall switch can correctly splice the data after receiving the multiple dispersed first text configuration messages to restore the order of the multiple texts when they are defined on the terminal, thereby reducing the carrying capacity of a single first text configuration message, so that the smart wall switch can access more third-party platforms.
[0029] Another object of the present invention is to provide a smart wall switch, wherein each first text configuration message carries data corresponding to only one character, so as to facilitate retransmission in the event of a transmission anomaly (such as packet loss).
[0030] Another object of the present invention is to provide an intelligent wall switch, wherein the order in which each character is sent is in accordance with the order in which the multiple characters are defined on the terminal.
[0031] Another object of the present invention is to provide a smart wall switch, wherein if the first text configuration message corresponding to the previous text fails to be sent, it will be resent.
[0032] Another object of the present invention is to provide a smart wall switch, wherein after the first text configuration message corresponding to the previous text is sent successfully, the smart wall switch will feedback a success message to the terminal to inform the terminal that the current text is sent successfully, so that the terminal can continue to send the next text.
[0033] Another object of the present invention is to provide a smart wall switch, wherein the length of each first text configuration message obtained through the cloud is the same, and the length is 4 bytes to 8 bytes; the data corresponding to the text carried therein occupies less than or equal to 4 bytes, so as to improve communication efficiency and reduce network overhead.
[0034] Another object of the present invention is to provide a smart wall switch, which will switch to a direct connection mode to improve the success rate when cloud communication fails.
[0035] Another object of the present invention is to provide a smart wall switch, wherein in the second text configuration message corresponding to the text data obtained through Bluetooth direct connection, each second text configuration message can carry data corresponding to multiple characters to improve efficiency.
[0036] To achieve at least one of the above purposes, the present invention provides an intelligent wall switch, comprising: an operating member, which includes a first button; at least one relay; a processing module, which is electrically connected to at least one mode switching part to indicate the current working mode through the mode switching part; wherein the processing module has multiple working modes, and the multiple working modes are switchable; the processing module is used to switch to the corresponding working mode according to the instruction of the mode switching part; the multiple working modes of the processing module include at least a first mode, wherein in the first mode, the processing module is used to: configure the trigger function of at least one first button as a first function, so as to control the action of the relay associated with the first button after detecting that the first button is subjected to external operation.
[0037] According to an embodiment of the present invention, the mode switching unit has multiple gears for indicating multiple working modes of the processing module; the multiple gears of the mode switching unit are switchable, and the processing module switches to the corresponding working mode according to the current gear of the mode switching unit after power-on.
[0038] According to an embodiment of the present invention, the smart wall switch also includes a communication module; the processing module is electrically connected to the communication module so as to be able to communicate externally through the communication module; the multiple working modes of the processing module also include a second mode, wherein in the second mode, the trigger function of at least one first button is switchable, and the processing module can switch the trigger function of the first button to the second function or the first function according to the switching instruction; wherein when the trigger function of the first button is switched to the second function, the processing module can communicate externally through the communication module in response to the first button being subjected to external operation, and the relay associated with it remains normally connected.
[0039] According to an embodiment of the present invention, the switching instruction includes key function configuration data received from the outside; in the second mode, the processing module is also used to configure the trigger function of the first key to the first function by default, and in the second mode, the processing module can receive external key function configuration data through the communication module, and switch the trigger function of the first key according to the key function configuration data.
[0040] According to an embodiment of the present invention, in the first mode, the processing module is further configured to still configure the first button as the first function after receiving button function configuration data for configuring the first button as the second function.
[0041] According to an embodiment of the present invention, the multiple working modes of the processing module also include a third mode, and in the third mode, the processing module is used to configure at least one first button as a second function, and will not respond to external button function configuration data to change the trigger function of the first button.
[0042] According to an embodiment of the present invention, the operating member also includes a second button; the processing module is further used to: configure the trigger function of at least one second button to be a second function, and keep the second button working in the second function when the working mode of the processing module is switched to any working mode; under the second function, the processing module can communicate externally through the communication module in response to external operation applied to the second button.
[0043] According to an embodiment of the present invention, the processing module is capable of communicating with the cloud through the communication module; wherein, in the case where the first button or the second button is configured as the second function, the processing module is capable of communicating externally through the communication module in response to the first button or the second button being externally operated, and is specifically used to: send a preset signal externally in response to the first button or the second button being operated, so that the cloud receives the preset signal, and controls the trigger result defined by the target scene to be executed according to the preset signal and the target scene matching the preset signal; wherein the target scene is generated after the user freely defines the mapping relationship between at least one operation event and at least one trigger result on a terminal, each preset signal represents an operation event of the first button or the second button set to the second function being operated, and each trigger result is at least one executable function of at least one controlled device of the user to whom the smart wall switch belongs.
[0044] According to an embodiment of the present invention, it also includes a bottom shell, a base shell and a control panel, the operating member and the control panel are both arranged on the base shell to form a control component, the mode switching part is arranged on the control component and is electrically connected to the processing module arranged on the control panel through the control panel; the mode switching part is arranged on the side of the control panel facing the bottom shell so as to be installed in a hidden manner, and the control component is detachably connected to the bottom shell through the base shell, so that the mode switching part can be detached from the bottom shell along with the control component.
[0045] According to an embodiment of the present invention, the mode switching portion includes a dip switch, which includes a plurality of dip positions, each dip position representing a gear position, and switching between the dip positions can instruct the processing module to switch between various working modes; the bottom shell is used to set the relay, and the base shell and the bottom shell are detachably connected. The dip switch is set on the side of the control panel facing the bottom shell so as to be installed in a hidden manner. When the control component is installed on the bottom shell based on the base shell, the dip switch is blocked and cannot be operated. When the control component is detached from the bottom shell based on the base shell, the dip switch is exposed and can be operated.
[0046] It should be understood that the above general description and the following detailed description are merely exemplary and explanatory and do not limit the present invention. The above inventions may be combined in any manner. These and other objects of the present invention will be fully reflected in the following detailed description and accompanying drawings.
[0047] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without inventive work.
[0049] Figure 1 It is a block diagram of a control system in one embodiment of the present invention;
[0050] Figure 2 This is a block diagram of an intelligent wall switch in one embodiment of the present invention. Figure 1 ;
[0051] Figure 3 1 is a partial circuit diagram of a DIP switch in one embodiment of the present invention;
[0052] Figure 4 This is a block diagram of an intelligent wall switch after a communication module is introduced into the switch in one embodiment of the present invention;
[0053] Figure 5 This is a block diagram of an intelligent wall switch in one embodiment of the present invention. Figure 2 ;
[0054] Figure 6 This is a block diagram of an intelligent wall switch after the display screen is introduced into an embodiment of the present invention;
[0055] Figure 7 This is a schematic diagram of an interface in which a display screen of a smart wall switch displays first content in one embodiment of the present invention;
[0056] Figure 8 is a schematic diagram of an interface in which a display screen of a smart wall switch displays a second content in one embodiment of the present invention;
[0057] Figure 9 This is a schematic diagram of an interface for setting a second content via a mobile phone on a smart wall switch according to an embodiment of the present invention;
[0058] Figure 10 1 is a schematic diagram of the display state of the display screen of the smart wall switch in the second sub-state according to one embodiment of the present invention;
[0059] Figure 11 This is a block diagram of an intelligent wall switch after the character library chip is introduced into an embodiment of the present invention;
[0060] Figure 12 This is a block diagram of an intelligent wall switch after introducing a radar module in one embodiment of the present invention;
[0061] Figure 13 This is a partial circuit diagram of an embodiment of the present invention for automatically identifying the style of a smart wall switch;
[0062] Figure 14 This is a schematic diagram of a local control circuit of an RGB colored light in one embodiment of the present invention;
[0063] Figure 15 It is a structural diagram of an existing intelligent switch;
[0064] Figure 16 It is a cross-sectional view of the button and elastic arm of the existing intelligent switch;
[0065] Figure 17 is a schematic diagram of the deformation of the elastic arm of the existing intelligent switch;
[0066] Figure 18 1 is a schematic structural diagram of an elastic support member according to an embodiment of the present invention;
[0067] Figure 19 is a cross-sectional view of a key and an elastic support member according to an embodiment of the present invention;
[0068] Figure 20a is a top view of the elastic support member of the smart wall switch in one embodiment of the present invention after being pressed when no button is connected;
[0069] Figure 20bis the top view of the elastic support connecting the key and being pressed by the key of the intelligent wall switch in an embodiment of the present application;
[0070] Figure 21a is the top view of the elastic support of the intelligent wall switch in an embodiment of the present application;
[0071] Figure 21b is the top view of the elastic support of the intelligent wall switch in an embodiment of the present application;
[0072] Figure 21c is the top view of the elastic support of the intelligent wall switch in an embodiment of the present application;
[0073] Figure 22 is the structure schematic diagram of the intelligent wall switch in an embodiment of the present application;
[0074] Figure 23 is the structure exploded view of the intelligent wall switch in an embodiment of the present application;
[0075] Figure 24 is the key assembly schematic diagram of the intelligent wall switch in an embodiment of the present application;
[0076] Figure 25 is the installation schematic diagram of the display screen and the base shell of the intelligent wall switch in an embodiment of the present application;
[0077] Figure 26 is the control board structure schematic diagram of the intelligent wall switch in an embodiment of the present application;
[0078] Figure 27 is the three-dimensional sectional view of the intelligent wall switch in an embodiment of the present application;
[0079] Figure 28 is the light guide structure schematic diagram of the intelligent wall switch in an embodiment of the present application;
[0080] Figure 29 is the light guide structure schematic diagram of the intelligent wall switch in an embodiment of the present application;
[0081] Figure 30 is the assembly schematic diagram of the base shell, the control board and the limiting shell of the intelligent wall switch in an embodiment of the present application;
[0082] Figure 31 is the structure schematic diagram of the base shell and the control board of the intelligent wall switch in an embodiment of the present application;
[0083] Figure 32 is the assembly schematic diagram of the base shell and the bottom shell of the intelligent wall switch in an embodiment of the present application;
[0084] Figure 331 is a schematic structural diagram of a bottom shell, a power supply board, and an isolation cover of an intelligent wall switch according to an embodiment of the present invention;
[0085] Figure 34 This is a schematic structural diagram of an intelligent wall switch after the button is removed from the base shell in one embodiment of the present invention;
[0086] Figure 35 This is a schematic diagram of the button assembly of a four-button version of an intelligent wall switch in one embodiment of the present invention;
[0087] Figure 36 This is a schematic diagram of the button assembly of a two-button version of an intelligent wall switch in one embodiment of the present invention.
[0088] Figure 37 This is a block diagram of an intelligent wall switch in one embodiment of the present invention. Figure 3 ;
[0089] Figure 38 This is a block diagram of an intelligent wall switch in one embodiment of the present invention. Figure 4 ;
[0090] Figure 39 yes Figure 38 Schematic diagram of the block diagram of the smart wall switch after the operating element is introduced. DETAILED DESCRIPTION
[0091] The embodiments of the present application will be described below in detail, and the following description refers to the accompanying drawings, wherein the same numbers in different drawings represent the same or similar elements unless otherwise indicated. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative work fall within the scope of the present application. It should be understood that, in the description of all embodiments of the present application, the terms "upper", "lower", "left", "right", and the like indicate the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the devices or elements referred to must have a particular orientation, be constructed and operated in a particular orientation, and therefore cannot be understood as a limitation on the present application. The terms "first", "second" are only for the purpose of description, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the technical features referred to. Therefore, the features limited by "first", "second" can explicitly or implicitly include one or more of the features. The terms "coupling", "connection" and the like should be interpreted broadly, for example, it can be fixed connection, or detachable connection, or integral; it can be mechanical connection, or electrical connection, or can be in communication with each other; it can be directly connected, or indirectly connected to form a linkage relationship through an intermediate medium, or the internal connection of two elements or the interaction relationship between two elements. For those skilled in the art, the specific meaning of the above terms in the present application can be understood according to the specific circumstances. In the embodiments of the present application, the symbol " / " represents the meaning of having two functions at the same time. And for the symbol "A and / or B", it means that the combination between the objects connected by the symbol includes "A", "B", "A and B" three cases. In the embodiments of the present application, the features with the same reference numerals in the drawings can be understood by mutual reference without contradiction.
[0092] Please refer to Figure 1 The control system provided by the embodiments of the present application can include an intelligent wall switch 100 and a controlled device 200, Figure 1 An intelligent wall switch 100 and a controlled device 200 are shown in the figure, in the actual control system, the number of intelligent wall switches 100 and controlled devices 200 can be multiple, at the same time, wired signal and / or wireless signal transmission can be realized between the intelligent wall switch 100 and the controlled device 200.
[0093] The intelligent wall switch 100 is used to implement the control method applied to the intelligent wall switch described below, and then the related description of each control method below can be understood as the description of the software and / or hardware working process, function and specific implementation of the intelligent wall switch 100.
[0094] In addition, the smart wall switch 100 has a networking function, which can communicate with the cloud 400 and the terminal 500 through the gateway 300 after completing the network distribution (such as Figure 1 The external communication mode of the smart wall switch 100 includes at least one of the following: radio frequency, Bluetooth, WIFI, PLC (power carrier communication), ZIGBEE, etc.
[0095] The terminal 500 can be any device or combination of devices with data processing and external communication capabilities, such as a mobile phone, computer, tablet computer, computer, car computer, etc. The terminal 500 can be pre-installed with an application corresponding to the smart wall switch 100 (such as a mobile phone APP), and the application can provide a corresponding interactive interface for the user to view the status of the smart wall switch, configure the smart wall switch, control the operation of the smart wall switch, and configure the network for the smart wall switch.
[0096] The gateway 300 can be a gateway of any network, such as a WIFI network, a ZIGBEE network, a Bluetooth network, or a PLC network. In a further solution, the gateway 300 can access the Internet, thereby enabling data exchange with other devices (such as a terminal 500) that access the Internet. In addition, the gateway 300 can be a gateway device dedicated to the gateway, or it can be other devices with a gateway function (such as a speaker device with a gateway function, a display device with a gateway function, a computer with a gateway function, a host, etc.). The smart wall switch 100 can access the Internet through the gateway 300, and the gateway 300 and the terminal 500 can both interact with the cloud 400. The data interaction between the gateway 300 and the terminal 500 can be based on the cloud 400 or based on point-to-point direct communication (such as Bluetooth direct connection). In this embodiment, the cloud 400 mainly plays the role of data forwarding. In some examples, the cloud 400 can also play the role of data storage and processing.
[0097] In one embodiment, the gateway 300 is a Bluetooth gateway 300, and the corresponding network is a Bluetooth network (e.g., a Bluetooth Mesh network). The smart wall switch 100 communicates externally based on the Bluetooth communication unit. Thus, the smart wall switch 100 can join the Bluetooth network after network configuration and communicate with the gateway 300 (or a speaker device with gateway 300 functionality) via Bluetooth signals. Furthermore, the smart wall switch 100 can send messages to the gateway 300 based on Bluetooth signals, and can also send messages to the terminal 500 or the controlled device 200 based on Bluetooth signals.
[0098] The controlled device 200 can be any controlled device capable of being operated by the smart wall switch 100, or a device connected to the controlled device. For example, the controlled device 200 can be an electronic doorbell, a lamp, an automatic curtain, a fan, etc. The control received by the controlled device 200 can be, for example but not limited to, controlling the controlled device 200 or the device connected thereto to enter a certain state, such as turning on or off a lamp, ringing a doorbell, controlling a fan to start or stop rotating, controlling an automatic curtain to open or close, turning on or off a specified function of the receiving end, etc.; controlling the controlled device 200 or the device connected thereto to switch between two states, such as flipping (switching) the on-off state of a lamp, flipping (switching) the on-off state of a fan, flipping (switching) the on-off state of an automatic curtain, flipping (switching) the on-off state of a specified function of the controlled device 200, etc.; controlling the controlled device 200 or the device connected thereto to change a working parameter, such as adjusting the brightness of a lamp, adjusting the size of the wind of a fan, adjusting the opening degree of a curtain, etc. The specific content of the control and the controlled can be changed arbitrarily according to the application field of the smart wall switch 100, and still fall within the scope of the embodiments of the present application.
[0099] Meanwhile, the description of the trigger result and the corresponding executable function in the following text can also be understood with reference to the above content. In addition, the technical features involved in each embodiment of the present application described below can be combined with each other as long as they do not conflict with each other.
[0100] The smart wall switch 100 in some schemes of the embodiments of the present application will be described in detail below, and the scope of the embodiments of the present application can not be limited thereto.
[0101] Please refer to Figures 2 to 14 , based on Figures 2 to 14 , the smart wall switch 100 provided in an embodiment of the present application is specifically illustrated. Referring to Figure 2 , the smart wall switch 100 includes an operating member 20, a processing module 101, and at least one relay 111. The relay 111 can be controlled to switch between on and off states, and is used to access a circuit and control the circuit (for example Figure 2The circuit where the controlled device 200 shown is located). Furthermore, the smart wall switch 100 can realize on / off control of the circuit based on the relay 111. For example, if the relay 111 is connected to the power supply circuit of a lamp, the power on and off of the lamp can be controlled by turning on and off the relay 111. The processing module 101 can be understood as any circuit with data processing capability, which can be a circuit with data processing capability built by separate devices, or an integrated circuit embodied in the form of a chip or module. In some examples, the processing module 101 can be, for example, a single-chip microcomputer or a module with data processing capability and external communication capability (such as a Bluetooth module). On this basis, the processing module 101 can be supplemented with circuits or circuit combinations with any other functions.
[0102] like Figure 2 As shown, the processing module 101 is electrically connected to at least one mode switching unit 102 to indicate the current working mode through the mode switching unit 102; wherein the processing module 101 has multiple working modes, and the multiple working modes are switchable; the processing module 101 is used to switch to the corresponding working mode according to the instruction of the mode switching unit 102.
[0103] It is understood that the multiple operating modes of the processing module 101 represent the multiple operating modes of the smart wall switch 100. At least one executable function of the smart wall switch 100 differs between the multiple operating modes. Compared to conventional smart wall switches with a single, fixed operating mode, the switching between multiple operating modes of the smart wall switch 100 provided in this embodiment can change at least some or all of its functions, providing richer and more diverse functionality, meeting more complex usage needs, and adapting to a wider range of control scenarios.
[0104] Furthermore, with the development of the smart home industry, the intelligentization of smart devices 200 is no longer limited to wall switches. Some controlled devices 200 are also becoming intelligent. For example, some smart lighting fixtures with networking capabilities are now gradually appearing on the market. These smart controlled devices, similar to smart lighting fixtures, need to maintain a signal monitoring state during operation, which requires a continuous power supply. The traditional wall switch method of simply controlling the power supply circuit through a relay is obviously no longer suitable for such smart controlled devices. Therefore, some smart wall switches with wireless switching functions have appeared on the market to control such smart controlled devices. These smart controlled devices, which draw power from the smart wall switch's relay, are continuously powered and controlled by wireless signals emitted by the wireless switching button. However, this can also cause these smart controlled devices to lose control due to network signal inaccessibility in the event of a network failure. In this case, because the smart wall switch's button is set to the wireless switching function, the smart controlled device cannot be powered off through the smart wall switch's relay. As a result, if the smart controlled device needs to be powered off, it can only be powered off, causing a lot of inconvenience. Based on this, the smart wall switch 100 provided in the embodiment of the present invention has multiple working modes, including at least a first mode, in which the smart wall switch 100 can forcibly switch back to the state of the control relay to solve the above problem. Specifically:
[0105] According to an embodiment of the present invention, the operating member 20 includes a first button, and the processing module 101 has at least a first mode among multiple working modes, wherein in the first mode, the processing module 101 is used to: configure the trigger function of at least one first button as a first function, so as to control the action of the relay 111 associated with the first button after detecting that the first button is subjected to an external operation.
[0106] It should be noted that the first button arranged on the operating member 20 can be any component or combination of components for receiving external operations. In a specific example, the first button can be a virtual button (such as a virtual control on a touch screen), or a physical button (such as a mechanical button that can move in response to external operations (such as a touch screen). Figures 18 to 36 The mechanical keys formed by the pressing areas of the key panel where the key 2 in the illustrated embodiment is located may also be touch keys based on the capacitive touch principle.
[0107] Any operation occurring on the first key can be detected by the processing module 101, wherein the processing module 101 can indirectly detect the operation occurring on the first key, for example, the first key is a mechanical key, and then the processing module 101 can detect whether the electronic switch 106 corresponding to the mechanical key is triggered to indirectly identify the operation occurring on the mechanical key; the processing module 101 can also directly detect the operation occurring on the first key, for example, the first key is a touch key, and then the processing module 101 can directly electrically connect to the touch electrode of the touch key to directly detect the touch and / or proximity operation occurring on the touch key.
[0108] Taking the first button as a mechanical button as an example: the external operation applied by the user can be, for example, a pressing action or a releasing action, and the first button can perform a pressing action or a rebound action in response to the external operation. When the first button is pressed, the electronic switch 106 corresponding to the first button will be triggered, so that the electronic switch 106 transmits a triggered electrical signal (trigger signal) to the processing module, so that the processing module can detect the external operation occurring on the first button and execute the corresponding trigger result accordingly. Furthermore, the trigger function of the first button can be understood as the trigger result pointed to when the first button is operated. For example, when the trigger function of the first button is configured as the first function, the first button will be associated with a relay. At this time, the trigger result pointed to when the first button is operated is to control the relay action. Then, when it is detected that the first button is operated, the processing module will switch the relay action associated with it (from on to off, or from off to on). In addition, the implementation principle and trigger function of the second button involved later can also be understood in this way.
[0109] Furthermore, among the multiple operating modes of the processing module 101, there is at least a first mode for configuring the first button of the smart wall switch 100 to a first function. Under the first function, the first button is defined as controlling the operation of the corresponding relay 111 when operated, that is, forcibly switching to relay mode. Therefore, if a network failure occurs and the smart controlled device connected to the relay 111 loses control, the smart wall switch 100 can be switched to the first mode to force at least one first button to switch back to the first function of controlling the operation of the relay 111. By operating the first button, the relay 111 is disconnected and the smart controlled device is powered on again. In this way, the smart controlled device no longer needs to be restarted by turning off the power, which is more convenient.
[0110] It is worth noting that there can be only one or more first buttons. In the case where there are multiple first buttons, the multiple first buttons can be arranged on the same button panel or on different button panels, for example Figure 7In the embodiment, two of the three first keys of the intelligent wall switch 100 are arranged on the key panel where the operation member 20 is located, and the other first key is arranged on the key panel where the other operation member 20 is located. Any change made by those skilled in the art to the arrangement of the first keys based on the technical concept provided by the embodiment in combination with specific requirements should not deviate from the protection scope of the present application, and the embodiment does not specifically limit such change.
[0111] It should be further noted that, in the case where there are multiple first keys, the first keys configured as the first function in the first mode can be all the first keys or part of the first keys.
[0112] Further, based on the above scheme, the multiple working modes of the intelligent wall switch 100 of the embodiment can be conveniently switched by physical operation of the gear of the mode switching part 102, and no matter what working mode the intelligent wall switch 100 is in, when the smart controlled device 200 powered by the intelligent wall switch 100 loses control, it can be switched back to the first mode to restart the smart controlled device 200 by operating the relay 111.
[0113] It should be particularly emphasized that, in the embodiment, the gear switching of the mode switching part 102 is locally operated and does not depend on the network, so as to cope with the mode switching of the intelligent wall switch 100 in the case of network failure.
[0114] Further, several exemplary implementation modes of the mode switching part 102 will be given in the following embodiments, specifically:
[0115] In one specific implementation of the mode switching part 102, a micro switch can be included, which can be triggered by external operation, and the micro switch is electrically connected to the processing module 101 to deliver a corresponding trigger signal to the processing module 101. After detecting the trigger signal delivered by the mode switching part 102, the processing module 101 switches the current working mode according to the preset working mode switching sequence.
[0116] In a specific example, the smart wall switch 100 has three working modes, namely the first mode, the second mode and the third mode. The processing module 101 works in the first mode by default, and continuously monitors whether the micro switch used to switch the working mode is triggered after power-on, and switches one working mode in sequence each time a trigger signal transmitted by the micro switch is received. For example, if the user presses the micro switch once, the current working mode can be switched from the first mode to the second mode. If the user no longer presses the micro switch, the smart wall switch 100 will continue to work in the second mode. If the user continues to press the micro switch once, the current working mode will switch from the second mode to the third mode. Thereafter, if the user continues to press the micro switch once, the current working mode will switch from the third mode back to the first mode, and so on, in a cycle.
[0117] In this embodiment, if the first button is a mechanical button, each first button is provided with a corresponding electronic switch 106, and the micro switch for switching the working mode can be replaced by the electronic switch 106 corresponding to any first button, so that the user can directly trigger the switching of the working mode by pressing the corresponding first button. Of course, the micro switch for switching the working mode can also be provided separately.
[0118] Among them, if the micro switch for switching the working mode is triggered by one of the above-mentioned first buttons, the first button can be put into the working mode switching state through a specific operation. For example, under normal circumstances, the first button provided with a micro switch performs a predetermined function according to the trigger function assigned to it by the working mode of the smart wall switch 100. If the first button is short pressed three times (that is, a specific operation), the first button enters the working mode switching state. Thereafter, applying an operation to the first button will be able to switch the working mode of the smart wall switch 100.
[0119] If the micro switch for switching the working mode is provided separately, the micro switch can be hidden below the operating member 20 to prevent accidental activation during daily operation. For example, the key panel corresponding to the operating member 20 is provided in a detachable manner. When the key panel is installed, the micro switch can be covered so that the micro switch is not visible and cannot be operated during daily operation. When the micro switch panel is removed, the micro switch is exposed and the user can operate it.
[0120] In summary, in this embodiment, the switching of the working mode is performed when the processing module 101 is powered on, that is, the user can observe the switching change of the working mode of the processing module 101 in a timely manner.
[0121] In another implementation of the mode switching unit 102, the mode switching unit 102 has multiple gears for indicating multiple working modes of the processing module 101; the multiple gears of the mode switching unit 102 are switchable, and the processing module 101 switches to the corresponding working mode according to the current gear of the mode switching unit 102 after power-on.
[0122] It should be noted that the switching between the multiple gears of the mode switching unit 102 can be performed by the user. The multiple operating modes of the processing module 101 are all preset operating modes. The user can conveniently switch the operating mode of the smart wall switch 100 by switching the gears of the mode switching unit 102. In other words, the multiple gears of the mode switching unit 102 can be intuitively presented to the user. Based on the differences between the gears of the mode switching unit 102, the user can directly switch to the gear corresponding to the desired operating mode. Specifically, for example, corresponding identifiers can be set at the corresponding positions of each gear of the mode switching unit 102 to facilitate the user's identification of the operating mode corresponding to each gear.
[0123] Furthermore, the smart wall switch 100 also includes a bottom shell 4, a base shell 1 and a control board 10. The bottom shell 4 is used to set the relay 111. In specific use, the bottom shell 4 is used to be embedded in an installation box, such as an 86mm×86mm wall installation box. A strong power line (such as 220V / 50Hz industrial frequency AC power) is arranged in the installation box. The strong power line passes through the bottom shell 4 to connect the relay 111 and the power board 11 set on the bottom shell 4. The power board 11 is provided with a power conversion circuit 112 (for example, a buck step-down circuit converts 220V AC power into a 5V DC output, and then converts 5V to 3.3V through an LM1117-3.3 power chip). It is used to convert strong power into weak power (such as 5V and / or 3.3V power) used by the control board 10 and then transmit it to the control board 10 to power the processing module 101, communication module 103 and other circuits on the control board 10. The bottom shell 4 and the base shell 1 are electrically connected via a pin interface, and other parts are insulated to ensure safety when the base shell 1 is detached from the bottom shell 4 and the dial switch 1021 is operated. Secondly, in this embodiment, a zero-crossing detection circuit is also provided for transmitting a zero-crossing signal of the power frequency AC power to the processing module 101, so that the processing module 101 can control the contacts of the relay 111 to operate near the zero-crossing point of the power frequency AC power based on this zero-crossing signal, thereby reducing the surge impact when the relay 111 operates. The relay 111 can be, for example, a subminiature high-power relay model HF32FV-16, which has a 16A contact switching capacity, a coil and contact cut-off voltage resistance of 4kV, and a set of normally open contacts. The sensitive type is approximately 400mW, and the ultra-sensitive type is approximately 200mW. In the specific circuit, a transistor circuit can be used to drive the relay 111 to operate. The control signal for the processing module 101 to control the operation of the relay 111 can be transmitted through the pin and female headers between the power board and the control board. The specific structural connection relationship between the control assembly and the bottom shell 4 can be referred to as follows Figures 18 to 36 The description of the illustrated embodiments is to be understood.
[0124] Furthermore, the operating member 20 and the control board 10 are both disposed on the base housing 1 to form a control assembly. The mode switching unit 102 is disposed on the control assembly and is electrically connected to the processing module 101 disposed on the control board 10 via the control board 10. Furthermore, the operating member 20, the base housing 1, the control board 10, and the mode switching unit 102 are integrated into a modular control assembly that can be assembled and disassembled externally, making the assembly and disassembly process of the device more efficient and convenient.
[0125] Specifically, the mode switching portion 102 is arranged on the side of the control panel 10 facing the bottom shell 4 so as to be installed in a hidden manner, and the control component is detachably connected to the bottom shell 4 through the base shell 1, so that the mode switching portion 102 can be detached from the bottom shell 4 along with the control component.
[0126] The concealed installation of the mode switching portion 102 can be understood as the mode switching portion 102 is not easily observed and / or operated during daily use of the smart wall switch 100 to prevent accidental touch.
[0127] In other words, the mode switching part 102 is hidden during daily use of the smart wall switch 100, and when the working mode needs to be switched, the mode switching part 102 can be exposed by detaching the control component from the bottom shell 4 to switch the gear position of the mode switching part 102. When the processing module 101 is powered on again, it will read the current gear position of the mode switching part 102 and then switch to the corresponding working mode.
[0128] In summary, in this embodiment, the process of switching the gear of the mode switching part 102 is carried out when the processing module 101 is powered off. The mode switching part 102 can be conveniently detached from the bottom shell 4 along with the control component. At the same time, the processing module 101 arranged on the control board 10 of the control component is also powered off. At this time, the user switches the gear of the mode switching part 102 and then installs the control component on the bottom shell 4. Then the processing module 101 will be powered on again. After the processing module 101 is powered on, it will read the current gear of the mode switching part 102 to switch to the corresponding working mode according to the indication of the current gear.
[0129] In one example, the mode switching unit 102 includes a dip switch 1021 , and the dip switch 1021 includes a plurality of toggle positions, each toggle position represents a gear position, and switching between the toggle positions can instruct the processing module 101 to switch between various working modes.
[0130] Specifically, the dip switch 1021 is electrically connected to the processing module 101. After the processing module 101 is powered on, the current gear position of the dip switch 1021 is read. If the current gear position of the dip switch 1021 is the first gear, it switches to the first mode; if the current gear position is the second gear, it switches to the second mode; if the current gear position is the third gear, it switches to the third mode.
[0131] In a further example, the dip switch 1021 can be a dip switch (dip switch 1021) of model SS-1400S-L3, and its circuit principle is as follows: Figure 3As shown, the SS-1400S-L3 has eight electrodes, with electrodes 1 through 4 and electrodes 5 through 8 arranged symmetrically. When electrodes 2 and 3 are connected, they connect to port SG6-0 of processing module 101. When electrodes 1 and 5 are connected, they connect to port K1 of processing module 101 via diode DJ3. When electrodes 4 and 8 are connected, they connect to port K2 of processing module 101 via diode DJ4. Ports K1 and K2 are two I / O ports of processing module 101 used to read the gear position of mode switch 102. When processing module 101 outputs a high level via port SG6-0, electrodes 2 and 3 can move left and right following the toggle handle 1022 of dip switch 1021. The specific principle is: when the toggle handle 1022 moves to the left, electrodes 1 and 2 are connected and electrodes 3 and 4 are disconnected. At this time, SG6-0 and K1 are connected, SG6-0 and K2 are disconnected, and K1 and K2 of the processing module 101 recognize "10", which is regarded as the first gear; when the toggle handle 1022 stays in the middle (i.e., Figure 3 As shown in the figure), electrode 1 and electrode 2 are disconnected, and electrode 3 and electrode 4 are disconnected. At this time, SG6-0 and K1, K2 are all disconnected, and K1 and K2 of the processing module 101 recognize "00", which is regarded as the second gear position; when the toggle handle 1022 is moved to the right, electrode 1 and electrode 2 are disconnected, and electrode 3 and electrode 4 are connected. At this time, SG6-0 and K1 are disconnected, and SG6-0 and K2 are connected. K1 and K2 of the processing module 101 recognize "01", which is regarded as the third gear position.
[0132] Furthermore, according to an embodiment of the present invention, the base shell 1 and the bottom shell 4 are detachably connected (for example, connected by snap-fitting), and the dip switch 1021 is arranged on the side of the control board 10 facing the bottom shell 4 so as to be installed in a hidden manner. When the control component is installed on the bottom shell 4 based on the base shell 1, the dip switch 1021 is blocked and cannot be operated. When the control component is detached from the bottom shell 4 based on the base shell 1, the dip switch 1021 is exposed and can be operated.
[0133] Specifically, the base shell 1 is provided with a dial hole 52, the control board 10 is provided inside the base shell 1, the dial switch 1021 is provided on the control board 10, and its dial handle 1022 is exposed outside the base shell 1 after passing through the dial hole 52 of the base shell 1. When the control component is installed on the bottom shell 4, the dial handle 1022 is hidden between the base shell 1 and the bottom shell 4 to achieve a hidden installation effect. When the control component is detached from the bottom shell 4, the dial handle 1022 is exposed and can be operated. For more detailed assembly relationship, please refer to the following. Figures 18 to 36 The description of the illustrated embodiments is to be understood.
[0134] Furthermore, in this embodiment, when the DIP switch 1021 is operated to switch gears, the control board 10 (e.g., a PCB) is in a powered-off state. After the gear switch is completed, when the control board 10 is powered on again, the operating mode switch is completed by simply reading the current gear position of the DIP switch 1021. Compared to switching gears while the control board 10 is powered on, this embodiment is significantly safer and more stable.
[0135] In addition, the multiple gears of the mode switching unit 102 are intuitively displayed to the user, allowing the user to quickly lock the gear corresponding to the expected working mode and switch quickly, so that the processing module 101 can directly jump from the current working mode to the user's expected working mode based on the indication of the gear position of the mode switching unit 102 after switching the gear, without having to switch working modes one by one, thereby improving the switching efficiency of the working modes.
[0136] In some embodiments, as Figure 4 As shown, the smart wall switch 100 also includes a communication module 103; the communication module 103 can be understood as any circuit with external communication capability, which can be a separate communication unit, such as a Bluetooth communication unit, a WIFI communication unit, a ZIGBEE communication unit, a PLC communication unit, etc., or it can be a module integrated with the processing module 101 with data processing capability and external communication capability (such as a Bluetooth module, a WIFI module, etc.).
[0137] According to an embodiment of the present invention, the processing module 101 is electrically connected to the communication module 103 so as to be able to communicate externally through the communication module 103; wherein the multiple working modes of the processing module 101 also include a second mode, in which the trigger function of at least one first button is switchable, and the processing module 101 can switch the trigger function of the first button to the second function or the first function according to the switching instruction; and when the trigger function of the first button is switched to the second function, the processing module 101 can communicate externally through the communication module 103 in response to the first button being subjected to external operation, and the relay 111 associated with it remains normally connected (that is, it will not be cut off in response to the operation of the associated first button).
[0138] Among them, the processing module 101 communicates externally in response to the external operation applied to the first button, for example, by sending a control message externally through the communication module 103. The control message can be sent externally, for example, wirelessly, and then the first button set to the second function will have the ability to send wireless control messages (i.e., convert to wireless function), and is no longer used to directly control the relay 111, and the relay 111 associated with it remains normally connected. If the relay 111 is connected to an intelligent controlled device, the intelligent controlled device can be guaranteed to be always powered on, and then the intelligent controlled device can be controlled through the wireless control message of the first button.
[0139] Furthermore, based on this embodiment, a change in the operating mode of the processing module 101 can cause a change in the association state between the first button and at least one relay 111. In the first mode, the first button and the relay 111 are strongly associated, meaning the first button is always in the first function for controlling the corresponding relay 111, and cannot be set to the second function via a switch instruction. In the second mode, the first button and the relay 111 are weakly associated, meaning the triggering function of the first button is not fixed but can be changed, and is associated with the relay 111 only when the first button is configured for the first function. If the first button is configured for the second function, it is not directly associated with the relay 111 (of course, in the second function, the first button can be indirectly associated with the relay through the cloud).
[0140] In addition, the existence of the first mode and the second mode also facilitates the debugging work of the renovation engineer when the smart wall switch 100 is installed. For example, when installing the circuit of the smart wall switch 100, the renovation engineer can switch the smart wall switch 100 to the first mode to test the circuit connection by switching the corresponding relay 111 on and off with each first button. After the test is completed, the smart wall switch 100 can be switched to the second mode to allow the user to freely configure the trigger function of each first button based on subsequent needs.
[0141] Furthermore, the switching instruction includes key function configuration data received from the outside; in the second mode, the processing module 101 is also used to configure the trigger function of the first key to the first function by default, and in the second mode, the processing module 101 can receive external key function configuration data through the communication module 103, and switch the trigger function of the first key according to the key function configuration data.
[0142] In a specific example, the button function configuration data may be from a user's terminal 500 (e.g., a mobile phone) and may be message data compiled based on the Bluetooth communication protocol. Furthermore, in the second mode, the user can conveniently configure the trigger function of each first button through the terminal 500. That is, in the second mode, the first button is set to control the relay 111 by default, but the user can also change the trigger function of the button, allowing the user to freely configure the function of the first button based on their needs.
[0143] In a further example, the number of the first buttons can be the same as the number of the relays 111, and each relay 111 is provided with a corresponding first button. In the first mode, each first button is used to control the action of the relay 111 associated therewith, and the triggering function of each first button cannot be changed through the terminal 500. In the second mode, each first button is used to control the action of the relay 111 associated therewith by default, but the user can configure the function of the first button through the terminal 500, for example, configuring some of the first buttons to the second function, while the remaining first buttons maintain the default first function, or configuring all the first buttons to the second function. After being configured as the second function, the relay 111 corresponding to the first button will remain in a normally connected state to ensure that the circuit controlled by the relay 111 is in a continuously powered state, so that the intelligent controlled device powered by the circuit can remain online.
[0144] According to an embodiment of the present invention, in the first mode, the processing module 101 is further used to configure the first button as the first function after receiving the button function configuration data for configuring the first button as the second function, so that in the first mode, the first button is forced to the first function and cannot be changed by external button function configuration data.
[0145] In some embodiments, the processing module 101 further includes a third mode among the multiple operating modes, and in the third mode, the processing module 101 is configured to configure at least one first button to a second function, and will not respond to external button function configuration data to change the trigger function of the first button, so that in the third mode, all first buttons of the smart wall switch 100 are in the second function and cannot be changed by external button function configuration data. That is, at this time, the smart wall switch 100 is equivalent to a wireless controller and does not have the direct control capability of the relay 111, so as to be suitable for use scenarios that do not require control of the relay 111. For example, when all relays 111 of the smart wall switch 100 are not connected to any controlled device 200, the first button is not required to control the relay 111. At this time, the smart wall switch 100 can be switched to the third mode, so that all first buttons of the smart wall switch 100 are converted to wireless functions, and the control target of each first button can be freely defined by the user on the terminal 500.
[0146] Specifically, whenever the processing module 101 receives the key function configuration data for setting the trigger function of the first key, it will read the current gear position of the mode switching unit 102: if the current gear position indicates the first mode, the first function of each first key is maintained and will not change in response to external key function configuration data; if the current gear position indicates the second mode, the trigger function of the corresponding first key is configured in response to the corresponding key function configuration data; if the current gear position indicates the third mode, the second function of each first key is maintained and will not change in response to external key function configuration data.
[0147] In some embodiments, as Figure 5 As shown, the operating member 20 also includes a second button; the processing module 101 is also used to: configure the trigger function of at least one second button to be a second function, and keep the second button working in the second function when the working mode of the processing module 101 is switched to any working mode; under the second function, the processing module 101 can communicate externally through the communication module 103 in response to the second button being subjected to external operation.
[0148] Furthermore, the first button is a button associated with the relay 111, and the second button is a button not associated with the relay 111, so that the switching of the working mode of the processing module 101 only affects the first button associated with the relay 111, and has no effect on the second button not associated with the relay.
[0149] In one example, Figure 7As shown, the smart wall switch 100 has four buttons, which are respectively arranged on the button panel corresponding to the two operating members 20, and has three relays 111. In this case, the number of buttons is one more than the number of relays 111, so one button does not need to control the relay 111. In this case, it is meaningless to set the function of this button to the first function. For user convenience, in this case, the three buttons corresponding to the relays 111 are used as the first buttons, and their triggering function changes with the switching of the working mode of the processing module 101. The button without a corresponding relay 111 is used as the second button and is always in the second function, and is not affected by the switching of the working mode of the processing module 101.
[0150] In a further example, the smart wall switch 100 has eight buttons and three relays 111. Three of the buttons are first buttons and are correspondingly provided with relays 111, and the remaining five buttons are second buttons and are not provided with corresponding relays 111. At this time, the smart wall switch 100 is in a state in which, in the first mode, the three first buttons control the relays 111 and the five second buttons are buttons for switching to the wireless function (second function). In the second mode, the five second buttons are buttons for switching to the wireless function (second function) and the three first buttons are variable trigger functions. In the third mode, the eight buttons (first button and second button) are all in a state of switching to the wireless function (second function). It can be seen that no matter how the working mode of the smart wall switch 100 changes, the trigger function of the five second buttons is always the second function and is not affected.
[0151] Furthermore, the switching of the working mode of the processing module 101 can only affect the trigger function of the first button corresponding to each relay 111. When the processing module 101 is switched to the first mode, the first button corresponding to each relay 111 is forced to switch to controlling the on and off of the relay 111 (first function); when the processing module 101 is switched to the second mode, the first button corresponding to each relay 111 defaults to controlling the on and off of the relay 111 (first function), but the user can change its function according to needs (for example, change it to the second function); when the processing module 101 is switched to the third mode, the first button corresponding to each relay 111 is forced to switch to the second function, that is, each first button is converted to wireless and is no longer used to directly control the on and off of the relay 111.
[0152] In some embodiments, the processing module 101 can communicate with the cloud 400 through the communication module 103 (e.g. Figure 1 shown);
[0153] In the case that the first button or the second button is configured as a second function, the processing module 101 can communicate externally through the communication module 103 in response to the first button or the second button being subjected to an external operation, in particular for:
[0154] In response to the first button or the second button being subjected to an operation, a preset signal is sent externally, so that the cloud 400 receives the preset signal, and according to the preset signal and a target scene matched with the preset signal, a trigger result defined by the target scene is controlled to be executed; wherein the target scene is generated after a user freely defines a mapping relationship between at least one operation event and at least one trigger result on a terminal 500, each preset signal represents an operation event of a first button or the second button being subjected to an operation, and each trigger result is at least one executable function of at least one controlled device 200 belonging to a user of the smart wall switch 100.
[0155] Specifically, the user has a unique account and password on the corresponding application program of the terminal 500, and adds smart devices after logging into the application program based on the account and password, and the smart devices can be some controlled devices (such as lamps and the like) or some controlled devices (such as the smart wall switch 100 and the like). The smart devices added under the account can be understood as the devices belonging to the user. Further, after network configuration, the smart wall switch 100 is added to the account belonging to the user, and the smart wall switch 100 after network configuration has network connection capability and can communicate with the cloud 400, and further indirectly communicates with the terminal 500 through the cloud 400, so as to realize remote control and configuration.
[0156] Further, the user can freely combine each operation event and each trigger result through the terminal 500 to form a complex associated control scene, so as to enrich the control function of the button set as the second function.
[0157] In some embodiments, as shown in Figure 6 The smart wall switch 100 further includes a display screen 30 for display; based on the display function of the display screen 30, the smart wall switch 100 provided by the application has a message function, that is, the user can edit a custom text (such as a prompt information) and send it to the smart wall switch 100 for display, so as to leave a message through the display screen 30 of the smart wall switch 100.
[0158] It is worth noting that for smart wall switches 100 with a larger display screen 30, a portion of the display screen 30 can be used to display messages, while another portion can be used to display other information such as button names. However, for smart wall switches 100 with a limited (smaller) display screen 30, if the display screen 30 is primarily used to display information such as button names during daily operation, there may not be enough display area to display large messages, making the message function unavailable. Based on this, for smart wall switches 100 with limited display screens 30 that cannot display a lot of content at the same time, the present invention provides a corresponding solution to enable such smart wall switches 100 to also have a message function.
[0159] Specifically, according to an embodiment of the present invention, the processing module 101 can switch between a first state and a second state. In the first state, the processing module 101 instructs the display screen 30 to display a first content; in the second state, the processing module 101 instructs the display screen 30 to display a second content. The first content is used to identify the operating element 20 (for example, the button name corresponding to the button arranged on the operating element 20). In addition, in the first state, weather, temperature, etc. (such as Figure 7 The second content is obtained from the outside by the processing module 101 through the communication module 103, and can be understood as other content obtained from the outside that is different from the first content, such as the message information sent by the user through the terminal 500 (for example Figure 8 shown).
[0160] Furthermore, in the solution provided in this embodiment, the display screen 30 displays different contents in different demand periods, and the first state and the second state of the processing module 101 can be switched to display different contents through the display screen 30 respectively, wherein the commonly used first content is displayed in the first state, and the uncommon and occasional second content is displayed in the second state, so that the first content and the second content can be displayed on demand in a time-sharing manner when the size of the display screen 30 is limited.
[0161] Furthermore, the processing module 101 can switch from the second state to the first state in response to an external operation being applied to the operating member 20. The external operation applied to the operating member 20 can be, for example, a pressing action applied to a key (the first key or the second key) of the operating member 20. If the operating member 20 has multiple keys, the external operation can be applied to certain specific keys or to any key, and this embodiment does not impose any specific limitation.
[0162] In a specific example, the first content includes a first text used to identify the operating element 20, and the second content includes a second text customized by a user on a terminal 500. The processing module 101 is further configured to: in the second state, instruct the display screen 30 to display only the second text, and upon exiting the second state and entering the first state, instruct the display screen 30 to stop displaying the second text and instead display the first text. In other words, in this embodiment, the first text and the second text are not displayed simultaneously on the display screen 30. When a message is required, the second text is displayed in the second state, and when no message is required, the first text is displayed after exiting the second state.
[0163] Furthermore, in this embodiment, when the second content is displayed, the second content will be displayed on the display screen 30 (eg, Figure 8 As shown), to serve as a prompt, when the user operates the operating member 20, the display screen 30 will redisplay the first content to identify the operating member 20 (as shown Figure 7 shown).
[0164] In this specific example, the display screen 30 uses a 1.47-inch TFT screen with a resolution of 172RGB*320. The LCD screen uses an FPC interface and is electrically connected to the control board using an FPC plug-in method. It is controlled by a serial interface, and the backlight pin is the positive pole. It uses PMOS control. A 22R resistor is connected in series with the backlight to limit the current. The backlight brightness can be adjusted through hardware. The TFT screen backlight brightness can also be adjusted through software PWM duty cycle.
[0165] like Figure 7 and Figure 8 As shown, the first text includes the button name of the button (first button or second button) on the operating member 20, and the second text includes the user-defined text, which can be regarded as message information. When the user has no message, the processing module 101 works in the first state to display the button name through the display screen 30. Since the display size of the display screen 30 is limited, after the display screen 30 displays the button name, there is no extra area to display a large message information. Therefore, after the user leaves a message, the processing module 101 can switch to the second state to refresh the display content of the display screen 30. That is, in the second state, the user-defined text will cover the button name, so that the display screen 30 temporarily displays only the message information, and before the user operates the button, the message information remains on the display screen 30, thereby improving the utilization rate of the display screen 30 and enhancing the message prompt effect.
[0166] In some embodiments, the processing module 101 can communicate with a terminal 500 through the communication module 103 (eg Figure 1The second content is defined by the user on a terminal 500; the processing module 101 is further used for: in the first state, after receiving the second content defined by the user on the terminal 500, entering the second state to instruct the display screen 30 to display the second content.
[0167] The terminal 500 may be a mobile phone, for example, and the user can define the corresponding second content (such as message information, such as Figure 9 After receiving the second content in the first state, the processing module 101 switches to the second state to control the display screen 30 to change from displaying the first content to displaying the second content.
[0168] In addition, the processing module 101 can communicate with a cloud 400 through the communication module 103, and further communicate with the terminal 500 through the cloud 400. In this communication environment, the processing module 101 can receive the second content defined by the user on the terminal 500 in various ways, three of which are described in detail in this embodiment:
[0169] Method 1: The second content is sent from the terminal 500 to the smart wall switch 100 via the cloud. Specifically, the processing module 101 receives first data via the communication module 103; the first data is sent by the terminal 500 via the cloud 400; the first data carries data representing the second content. After receiving the first data, the processing module 101 instructs the display screen 30 to display the second content in response to the first data.
[0170] In method 1, the first data is forwarded by the terminal 500 to the smart wall switch 100 through the cloud 400, so as to remotely define the second content to the smart wall switch 100.
[0171] In a specific example, the communication module 103 may include a Bluetooth communication unit; the processing module 101 is electrically connected to the Bluetooth communication unit for external communication via Bluetooth. In one specific example, the processing module 101 and the Bluetooth communication unit may be integrated, such as using Xiaomi's MHCB05P-B Bluetooth module, which integrates both data processing and Bluetooth communication capabilities. When the number of button and indicator data required is large and requires a large number of IO pins, the processing module may also include an IO expansion unit, such as the Tianwei TM1628. The TM1628 is a dedicated LED driver control IC with a keyboard scan interface. It integrates an MCU digital interface, data latches, LED drivers, keyboard scan circuitry, and more. Furthermore, the MHCB05P-B Bluetooth module expands its IO ports through the Tianwei TM1628 to control more buttons and indicators. Furthermore, in terms of circuit design, the control IO pins for buttons and indicators can be reused, and the buttons and indicators can be time-shared in software to conserve IO port usage.
[0172] It should be noted that in the prior art, modifications to the display content of smart wall switches based on Bluetooth communication are all performed locally, for example, via a direct Bluetooth connection, and cannot be performed remotely via the cloud. This limits the use scenarios of the display screens of smart wall switches based on Bluetooth communication. Based on this, the smart wall switch 100 provided in this embodiment, while communicating externally via a Bluetooth communication unit, has the ability to define secondary content in the cloud 400, thereby enabling users to remotely modify the display content of the display screen 30.
[0173] Specifically, the smart wall switch 100 has networking capability, and the processing module 101 is used to: before network distribution, respond to a designated network distribution operation to join a designated network to complete network distribution.
[0174] The designated network distribution operation may be, for example: long pressing a button (the first button or the second button) of the smart wall switch 100 for more than 5 seconds to trigger the processing module 101 to enter the network distribution mode.
[0175] The network configuration mode can be understood as a mode in which the smart wall switch 100 is adapted to configure with the target network (i.e., the designated network), thereby joining the target network. In the network configuration mode, the message sent by the smart wall switch 100 in response to a button press can be a network configuration message. Conversely, in an operating mode distinct from the network configuration mode, the message sent by the smart wall switch 100 in response to a button press can be a control message. Network configuration messages and control messages can be sent directly to the gateway 300 or forwarded to the gateway 300 via the terminal 500 in the target network.
[0176] Specifically, in the network configuration mode, the processing module 101 broadcasts a preset network configuration message through the Bluetooth communication unit, so that the terminal 500 or the Bluetooth gateway 300 searches for the smart wall switch 100 based on the network configuration message, and then connects the smart wall switch 100 to the Internet.
[0177] In addition, after completing the network configuration, the smart wall switch 100 can access a third-party platform, and the cloud 400 can be, for example, a cloud server provided by the third-party platform; the third-party platform can be understood as an IoT platform with linkage functions and management capabilities, such as Mijia, Hongmeng, and Tuya. For example, if the third-party platform is Mijia, the corresponding cloud server can be, for example, Xiaomi's IoT cloud platform. Since the business model of such IoT platforms determines that merchants accessing the platform must comply with the communication regulations specified by the platform, and since the data carrying capacity of the communication messages based on Bluetooth communication specified by the platform is limited, and the data corresponding to the text is generally large, some third-party platforms do not support the smart wall switch 100 based on Bluetooth communication to remotely modify the text on the display screen 30 through the cloud 400, and accessing a third-party platform is a basic requirement for the smart wall switch to achieve intelligence, most of the smart wall switches based on Bluetooth communication, accessing a third-party platform and provided with a display screen in the prior art use a local direct connection method to modify the display content of the display screen, and cannot achieve remote modification on the cloud.
[0178] Based on this, the smart wall switch 100 provided in this embodiment can remotely define second content through the cloud 400 using Bluetooth communication. Specifically, after network configuration is completed, the smart wall switch 100 can communicate with a cloud 400 via the designated network, and the processing module 101 can obtain first data sent by a terminal 500 via the cloud 400 using Bluetooth, and in response to the first data, instruct the display screen 30 to display corresponding second content; wherein the second content is defined by the user on the terminal 500.
[0179] Specifically, the terminal 500 can send the first data to the Bluetooth gateway to which the smart wall switch 100 joins through the cloud 400, and then the Bluetooth gateway processes the first data and forwards it to the smart wall switch 100.
[0180] It is understood that in the prior art, smart wall switches 100 based on Bluetooth communication all use a direct Bluetooth connection to set the display content of the display screen 30. This method is limited in distance and cannot be used for application scenarios that require remote operation, such as the message function. Therefore, based on this method one, this embodiment provides an implementation method for a smart wall switch 100 based on Bluetooth communication to remotely set the display content of the display screen 30. The second content is sent by the terminal 500 and sent to the smart wall switch 100 via the cloud 400, allowing the display content of the smart wall switch 100 to be remotely modified via the cloud.
[0181] In addition, to enable the smart wall switch 100 to access a third-party platform while also having the ability to remotely modify the display screen content via the cloud, this embodiment further provides a corresponding data transmission method: specifically, the first content includes text; the corresponding first data includes a first text configuration message carrying at least a portion of the text. Each first text configuration message carries less than or equal to two characters. If the number of characters defined by the user on the terminal 500 is greater than two, the data corresponding to the multiple characters are dispersedly loaded into at least two first text configuration messages and sent to the smart wall switch 100, thereby reducing the capacity required for a single first text configuration message. Each first text configuration message also carries a sequence identifier, which is used to determine the order in which the characters corresponding to each first text configuration message are arranged. This allows the smart wall switch 100 to combine the received multiple dispersed first text configuration messages in a desired order based on the sequence identifier and display them, thereby achieving the purpose of remotely defining multiple characters to the smart wall switch 100.
[0182] Furthermore, if the third-party platform connected to the smart wall switch 100 has limited carrying capacity for Bluetooth communication messages, the data corresponding to multiple characters can be dispersed and sent to the smart wall switch 100 multiple times. After receiving the multiple dispersed first text configuration messages, the smart wall switch 100 can correctly splice them to restore the order of the multiple characters when they were defined on the terminal. Based on the text data transmission method provided in this embodiment, the smart wall switch 100 can also achieve the purpose of remotely setting (editing, modifying, adding, etc.) the characters on the display screen with the help of a third-party platform when using Bluetooth communication.
[0183] Furthermore, in order to prevent the problem that all texts need to be resent due to the failure of sending one text among multiple texts, in this embodiment, each first text configuration message carries data corresponding to a text. If the user defines multiple texts on the terminal 500, the data corresponding to each text is loaded separately in the corresponding first text configuration message and sent to the smart wall switch 100.
[0184] Furthermore, in this embodiment, each first text configuration message carries only data corresponding to one text, so as to facilitate retransmission in the event of a sending exception (such as packet loss). That is, when the first text configuration message corresponding to one of the multiple texts fails to be sent, only the text needs to be retransmitted, and the text that has been successfully sent before does not need to be retransmitted.
[0185] In addition to carrying the data corresponding to the text, the first text configuration message corresponding to each text also carries a sequence identifier corresponding to the text. The sequence identifier is used to indicate the sorting position of the text corresponding to the first text configuration message among all texts, so that the smart wall switch 100 can correctly sort and display the multiple texts received.
[0186] In a specific example, the data corresponding to the text may be, for example, the GB2312-based encoding data corresponding to the text. After the user defines multiple characters on the terminal 500, the terminal 500 is used to generate a corresponding first text configuration message based on the encoding data corresponding to each character and the sorting position of each character, and send it to the smart wall switch 100 through the cloud. Taking "客" as an example, the corresponding GB2312-encoded hexadecimal string representation is "BFCD". Then the encoding data corresponding to the text carried by the first text configuration message of the corresponding text data is "BFCD". Of course, in other embodiments, the data corresponding to the text can also be obtained based on other standard encodings, and this embodiment does not make specific restrictions.
[0187] In addition, in this embodiment, the text in the first content used to identify the button name (first button and / or second button) on the operating member 20 also supports remote modification by the user through the cloud via a mobile phone. When modifying the button name, the user edits the corresponding button name through the terminal 500, and the terminal 500 generates a corresponding first text configuration message. The first text configuration message carries the button name, sequence identifier, and key value identifier, where the key value identifier is used to indicate the target button. The target button is at least one of the multiple buttons arranged on the operating member 20 of the smart wall switch 100, so that after receiving the first text configuration message, the smart wall switch 100 can modify the button name of the target button according to the text carried in the first text configuration message.
[0188] Further, in order to further improve the communication efficiency, in the embodiment, if the user defines multiple texts on the terminal 500, the sending order of each text is in the order of the multiple texts being defined on the terminal 500. That is, the first text configuration message corresponding to the later text is sent after the first text configuration message corresponding to the earlier text is successfully sent. If the first text configuration message corresponding to the earlier text fails to be sent, it will be re-sent.
[0189] Specifically, the first text configuration message corresponding to the two adjacent texts has a specified time interval, which is used for the smart wall switch 100 to feed back a success information to the terminal 500 after successfully receiving the first text configuration message corresponding to the earlier text. The success information is used to trigger the terminal 500 to send the first text configuration message corresponding to the next text.
[0190] In other words, after the first text configuration message corresponding to the earlier text is successfully sent, the smart wall switch 100 will feed back a success information to the terminal 500 to inform the terminal 500 that the current text is successfully sent, so as to continue to send the next text. Wherein, the terminal 500 will wait for a specified time after sending the first text configuration message corresponding to each text. If the success information fed back by the smart wall switch 100 is received within the specified time, the first text configuration message corresponding to the next text will be sent immediately. If the success information fed back by the smart wall switch 100 is not received after the specified time, it will be re-sent once and wait for a specified time again after re-sending. If the success information fed back by the smart wall switch 100 is not received after sending N times, it is determined that the sending fails, that is, the communication with the smart wall switch 100 through the cloud fails, and a corresponding prompt information is displayed to inform the user. Wherein, N is an integer greater than or equal to 1. In a specific example, N can be 3, that is, if it fails after re-sending 3 times, it is considered that the cloud communication is unreachable.
[0191] Taking the "living room light" as an example, the corresponding 16 hexadecimal string representation of GB2312 code is "BFCDCCFCB4F3B5C6". Then the first data is carried by four first text configuration messages in turn "BFCD", "CCFC", "B4F3", "B5C6". Among them, after "BFCD" is sent, the terminal 500 will wait for a specified time: if the success information fed back by the intelligent wall switch 100 is received within the specified time, "CCFC" will be continued to be sent, and so on, until "BFCD", "CCFC", "B4F3" and "B5C6" are all sent. If the success information fed back by the intelligent wall switch 100 is not received within the specified time, "BFCD" will be re-sent and the specified time will be waited again. If the success information fed back by the intelligent wall switch 100 is not received within the second specified time, "BFCD" corresponding to the first text configuration message will be re-sent again (i.e. the third time) and the specified time will be waited. If the success information fed back by the intelligent wall switch 100 is not received within the third specified time, it will not be re-sent any more, and it is considered that the communication with the intelligent wall switch 100 through the cloud is failed. If "B4F3" is not sent successfully (i.e. the success information fed back by the intelligent wall switch 100 is not received) after "BFCD" and "CCFC" are sent, only "B4F3" will be re-sent, and "BFCD" and "CCFC" will not be re-sent. In addition, in order to improve the communication efficiency and reduce the network overhead, in the embodiment, the length of each first text configuration message is the same, and the length is 4 bytes to 8 bytes. The data corresponding to the text carried in each frame of text data occupies a space of less than or equal to 4 bytes.
[0192] In a specific example, the first text configuration message is composed of 4 bytes (32 bits), wherein the data corresponding to the text occupies the first two bytes, and other data occupies the last two bytes. The other data may be, for example, a key value identifier, a sequence identifier, etc.
[0193] Method two: the second content is sent by the terminal 500 to the intelligent wall switch 100 through a point-to-point direct connection. Specifically, the processing module 101 receives second data through the communication module 103. The second data carries data representing the second content, and the second data is directly sent by the terminal to the intelligent wall switch. The display screen displays the second content in response to the second data.
[0194] Specifically, in method two, the intelligent wall switch 100 and the terminal 500 interact with data through a direct connection (such as Bluetooth direct connection). The second content includes text, and the second data includes a second text configuration message. A second text configuration message can carry data corresponding to multiple texts to improve efficiency.
[0195] Furthermore, the length of the second text configuration message is less than or equal to 32 bytes; if the data space occupied by the text defined by the user on the terminal 500 is less than 32 bytes, the corresponding second text configuration message carries encoding data for representing the text and character quantity data for indicating the number of text; otherwise, the corresponding second text configuration message only carries encoding data for representing the text.
[0196] For example, consider the phrase "living room headlight." The corresponding GB2312-encoded hexadecimal string is "BFCDCCFCB4F3B5C6." Because it's less than 32 bytes, the corresponding second text configuration message will contain "character count data" + "encoding data," i.e., "4BFCDCCFCB4F3B5C6." The "4" indicates a total of four characters. "BFCDCCFCB4F3B5C6" represents the specific content of these four characters.
[0197] In another example, taking "living room" as an example, the corresponding GB2312-encoded hexadecimal string representation is "BFCDCCFC". Since it is less than 32 bytes, a second text configuration message of the corresponding text data will carry "character quantity data" + "encoding data", that is, "2BFCDCCFC".
[0198] In another example, taking "11111111" as an example, the corresponding GB2312-encoded hexadecimal string is "A3B0A3B0A3B0A3B0A3B0A3B0A3B0A3B0". Since it is equal to 32 bytes, a second text configuration message of the corresponding text data will only carry "encoded data", that is, "A3B0A3B0A3B0A3B0A3B0A3B0A3B0A3B0".
[0199] In some schemes, if the communication module 103 adopts a Bluetooth communication unit, the processing module 101 is electrically connected to the Bluetooth communication unit to communicate with the outside world based on Bluetooth; then the above-mentioned method one and method two can be used in combination to improve the communication success rate. Specifically: the terminal 500 may preferentially choose to establish interaction with the smart wall switch 100 through method one. If the communication with the smart wall switch 100 through the cloud 400 fails, method two is further selected to establish data interaction with the smart wall switch 100 based on Bluetooth direct connection.
[0200] Method three: The second content is saved to the cloud by the terminal 500 and obtained from the cloud by the smart wall switch 100. Specifically: the processing module 101 receives the data reception indication sent by the terminal 500 through the cloud 400 through the communication module 103, and obtains the data corresponding to the second content from the cloud 400 according to the data reception indication, and instructs the display screen 30 to display the second content.
[0201] Furthermore, in method three, the smart wall switch 100 directly goes to the cloud 400 to obtain the corresponding second content, and then the terminal 500 does not need to directly send a message carrying the second content (a first text configuration message or a second text configuration message) to the smart wall switch 100, and is not restricted by the carrying capacity of the communication message of the third-party platform.
[0202] In a specific example, the communication module 103 may include a WIFI communication unit, and the processing module 101 is electrically connected to the WIFI communication unit to communicate with the outside based on the WIFI protocol.
[0203] At this time, the terminal 500 can send a corresponding data reception indication to the smart wall switch 100 via WIFI, so that the smart wall switch 100 directly goes to the cloud 400 to obtain the corresponding second content.
[0204] Furthermore, the text data corresponding to the second content involved in the above three methods is stored in the cloud 400 and / or the terminal 500 for reuse. For example, if a user defines a message on their mobile phone and sends it to the smart wall switch 100, and then accidentally operates the operating element 20, causing the message on the display screen 30 to disappear, the user can still see the previously defined message when accessing the corresponding interface on their mobile phone because the message is still stored in the cloud 400 and / or the terminal 500. Simply click "Send" again to complete the message, without having to edit it again.
[0205] Furthermore, the text data is obtained by the terminal 500 after obtaining the user-defined text and is saved in the cloud 400 and obtained from the cloud 400 before being sent to the smart wall switch 100.
[0206] Specifically, the cloud 400 presents an interactive interface to the user through the terminal 500, and any text entered by the user based on the interactive interface will be directly saved to the cloud 400. When the user sends a defined text to the smart wall switch 100 based on an interactive interface (which may be the same as or different from the interactive interface for entering text mentioned above), the terminal 500 will first pull the corresponding text data from the cloud 400, then load it into the corresponding first text configuration message and send it to the smart wall switch 100 through the cloud 400.
[0207] In some embodiments, the first content includes a first text for identifying the operating element 20; the processing module 101 also has a first sub-state and a second sub-state in the first state; wherein the size of the first text displayed on the display screen 30 in the first sub-state is different from the size of the first text displayed on the display screen 30 in the second sub-state to adapt to the font size requirements of people of different ages.
[0208] Furthermore, the processing module 101 can also switch between the first sub-state and the second sub-state based on the terminal 500 .
[0209] The terminal 500 may be, for example, a mobile phone, on which an application (APP) corresponding to the smart wall switch 100 is installed. After the user enters the interactive interface provided by the application, a plurality of options are provided on the interactive interface for the user to select. The user switches between the first sub-state and the second sub-state by selecting the corresponding option, so as to achieve the purpose of conveniently switching the font size on the display screen 30 of the smart wall switch 100 through the mobile phone.
[0210] In specific examples, such as Figure 7 and Figure 10 As shown, in the first sub-state, the first text is displayed on the display screen 30 (eg, Figure 7 ), in the second sub-state, the first text is displayed on the display screen 30 (eg, Figure 10 ).like Figure 11 As shown, the smart wall switch 100 further includes a font chip 104 that supports two text sizes: 24×24 and 32×32. When the terminal 500 switches between the first and second sub-states, the processing module 101 obtains dot matrix data of the first text of the corresponding size through the font chip 104 and sends it to the display screen 30 for display.
[0211] Furthermore, the font size on the display screen 30 in the second sub-state is larger than that in the first sub-state, so that the font size on the display screen 30 can be easily switched through the terminal 500 to adapt to different scenarios. For example, switching to the second sub-state can adapt to the use of the elderly, while switching to the first sub-state can adapt to the use of the young.
[0212] In a specific example, the font library chip 104 can be, for example, the GT32L32S0140 font library chip 104. The GT32L32S0140 is a Chinese character font library chip 104 that includes 12×12, 16×16, 24×24, and 32×32 dot matrices. It supports GB2312 national standard simplified Chinese characters (including those legally authorized by the National Standardization Administration) and ASCII characters, arranged in a horizontal format. Through the character internal code, the dot matrix information of the internal code can be directly read using the function interface in the library file provided by the GT32L32S0140. In addition to the aforementioned font library, the GT32L32S0140 also provides 512K bytes of freely readable and writable space, including 128 sectors, each sector is 4K bytes or 16 pages, each page is 256 bytes. The freely readable and writable space address range is: 0x000000 to 0x07FFFF, and it can be repeatedly erased and written more than 100,000 times. GT32L32S0140 uses an SPI serial bus interface to exchange data with the processing module 101. The clock frequency is 45 MHz, the operating voltage is 2.7 V to 3.6 V, the read current is 20 mA, the write current is 30 mA, the sleep current is 8 uA, and the operating temperature is -40 ° C to 85 ° C.
[0213] Of course, in other embodiments, if the local memory of the smart wall switch 100 is sufficient, a software font library may also be used, and this embodiment does not impose any specific restrictions.
[0214] In some embodiments, as Figure 12 As shown, the smart wall switch 100 has a human presence sensing function. The smart wall switch 100 can control the display status of the display screen 30 according to whether it senses that someone is present, and the sensing distance is adjustable.
[0215] Specifically, the control board 10 of the smart wall switch 100 also carries a radar module 105. The radar module 105 is electrically connected to the processing module 101, enabling the processing module 101 to write distance parameters to the radar module 105 based on distance adjustment instructions. The distance parameters are used to adjust the detection range of the radar module 105, such as a judgment threshold. The adjustment instructions can be, for example, control messages sent by the user through the terminal 500, allowing the user to conveniently adjust the human presence sensing range of the smart wall switch 100 through the terminal 500.
[0216] Furthermore, the radar module 105 may operate according to a principle for sensing human presence, for example: the radar module 105 transmits a microwave beam into a target space, receives an echo beam formed by the microwave beam being reflected by at least one object in the target space, and detects the frequency difference between the transmitted microwave beam and the received echo beam using the Doppler principle to determine whether a human body is present in the target space. The target space may be, for example, a space that is formed outward from the smart wall switch 100 and is accessible to a user.
[0217] Furthermore, smart wall switches 100 generally come in a variety of styles, each of which may differ in material. For example, a smart wall switch 100 with the same structure may be available in glass, plastic, and metal styles. The difference between the glass, plastic, and metal styles may be due to the material of the operating element 20. For example, the operating element 20 of a glass model is made of glass, while that of a metal model is made of metal (e.g., aluminum alloy). Since the radar module 105 is generally located internally, its transmitted microwave beam and received echo beam may pass through the operating element 20. Consequently, the difference in the material of the operating element 20 directly affects the transmission and reception of the beam, resulting in significant differences in the human body sensing distance between different styles of smart wall switches 100 with the same distance parameter set. Furthermore, to accommodate smart wall switches 100 with operating elements 20 made of different materials, this embodiment provides a solution that automatically identifies the style of the smart wall switch 100 and sets the corresponding distance parameter for the radar module 105. The distance parameter is different for each style, so that the human body sensing distance of different styles tends to be consistent.
[0218] For example Figure 13 As shown, the different models are distinguished by whether diodes DJ1 and DJ2 are soldered. If SG5-0 outputs a high level, then when both DJ1 and DJ2 are soldered, the processing module 101 will read "11" at ports K1 and K2. If DJ1 is soldered and DJ2 is not, the processing module 101 will read "10." If DJ1 is not soldered and DJ2 is soldered, the processing module 101 will read "01." If both DJ1 and DJ2 are not soldered, the processing module 101 will read "00." The different models are distinguished by the readout levels of K1 and K2. For example, if "00" is read, it indicates a metal model, and the processing module 101 will write the first distance parameter to the radar module 105. If "10" is read, it indicates a glass model, and the processing module 101 will write the second distance parameter to the radar module 105. Since the metal material of the metal model has a certain weakening effect on the microwave beam, the distance that the radar module 105 can detect under the first distance parameter is greater than the distance that the radar module 105 can detect under the second distance parameter, so that the distance that the radar module 105 can detect under the first distance parameter is weakened by the metal operating part 20 and tends to be consistent with the detection distance of the glass model.
[0219] By way of further example, the radar module 105 may employ the MS58-2020S9M4 miniaturized 5.8GHz radar sensor module launched by Migan Technology. This module utilizes a high-performance radar sensor coupled with a miniaturized planar antenna, achieving optimal sensor performance while maintaining a size of 20×20mm. The radar module 105 operates in the 5.8GHz ISM band (e.g., 5.725GHz to 5.875GHz), detecting the presence of humans based on the Doppler effect. Both the sensing distance and delay time can be flexibly adjusted. The chip has a built-in LDO, supports a wide voltage supply, ultra-low power consumption, and an overall current of less than 9mA. It can also be powered by a resistor-capacitor step-down circuit. It supports a standard IIC interface and can be electrically connected to the processing module 101 via the IIC interface for data exchange. The module has a transmit power of -4dBm and an operating voltage of 2.7V to 4.8V. Upon receiving adjustment commands from the terminal 500, the processing module 101 performs software parameter adjustments on the MS58-2020S9M4 radar module 105 via the IIC interface to adjust its detection range. The MS58-2020S9M4 radar sensor module has a predefined software parameter adjustment protocol. Users can adjust distance parameters by compiling corresponding data frames according to this protocol. The MS58-2020S9M4 radar sensor module uses an IO port level signal interface. When proximity sensing is active, the output is high, and when proximity sensing is not active, the output is low. Its TX / RX pins must be connected to the processing module 101 to meet the software requirements for sensor sensitivity settings (i.e., adjusting distance parameters). This can be set by the user through the app interface.
[0220] In a further example, the app of the terminal 500 can provide multiple distance gears for users to choose from, such as long-distance gear, short-distance gear and off gear, where the long-distance gear and the short-distance gear correspond to different distance parameters, for example, the long-distance gear is 80cm, and the short-distance gear is 30cm. Then, when switching to the long-distance gear, it can sense people within the target space of 80cm, and after sensing people, it can link the display screen 30 to light up and perform other operations.
[0221] In some embodiments, the smart wall switch 100 further includes an indicator light, and the indicator light includes an RGB colored light, each RGB colored light being capable of emitting light in three colors: R, G, and B. Specifically, each RGB colored light has four control terminals, namely a first control terminal, a second control terminal, a third control terminal, and a fourth control terminal. The first control terminal to the third control terminal are respectively used to control the R, G, and B diodes of the RGB colored light, and the first control terminal to the third control terminal are respectively connected to the first control pin to the third control pin of the processing module 101. The processing module 101 controls the R, G, and B lights of the RGB colored light respectively through the PWM signals output by the first control terminal to the third control terminal, so as to drive the RGB colored light to emit light with different lighting effects by mixing the three colors of light: R, G, and B.
[0222] In a specific example, the different lighting effects may include breathing light effect, flowing light effect, gradient light effect, etc. The user can switch the lighting effects of the RGB colored lights through the terminal 500 .
[0223] The fourth control terminal is used to control the power supply voltage of the RGB colored lights. The higher the power supply voltage, the brighter the RGB colored lights are, and vice versa. The processing module 101 directly or indirectly connects to the fourth control terminal of the RGB colored lights through the fourth control pin to adjust the power supply voltage of the RGB colored lights, thereby adjusting the brightness of the RGB colored lights.
[0224] Based on this, the indicator light provided in this embodiment has the ability to dim and adjust the color, and can switch between different lighting effects.
[0225] Furthermore, the indicator light in this embodiment may include two RGB colored lights. The specific arrangement of the two RGB colored lights can refer to the following. Figures 18 to 36 The first control terminal to the fourth control terminal of the two RGB colored lights are multiplexed and synchronously controlled by the processing module 101 to achieve the purpose of synchronizing the light effects of the two RGB colored lights.
[0226] In a specific example, the control circuit of the indicator light is as follows: Figure 14 As shown, LED1 and LED2 are two RGB colored lights, and RGB-R, RGB-G, RGB-B, and RGB-P are the first to fourth control pins of processing module 101, respectively, for controlling the first to fourth control terminals of LED1 and LED2. Furthermore, processing module 101 achieves the color mixing effect of the RGB colored lights through three PWM ports (RGB-R, RGB-G, RGB-B). One IO port (RGB-P) is used to control the total power supply of the RGB colored lights, and to adjust the brightness to achieve gradient and breathing effects.
[0227] Take the control principle of RGB-R as an example Figure 14 The control and working principles of the three light-emitting diodes R, G, and B are explained in detail:
[0228] As can be seen, the cathodes of the R light-emitting diodes within LED1 and LED2 serve as the first control terminals of LED1 and LED2, and are connected to the collector of transistor Q1 through current-limiting resistors R11 and R12. The emitter of Q1 is grounded, and the base of Q1 is controlled by the first control pin RGB-R of the processing module 101 through a resistor R15. Specifically, during operation, when RGB-R outputs a high level, Q1 turns on, causing the cathode level of the R light-emitting diode to be pulled down, causing it to emit light. When RGB-R outputs a low level, Q1 turns off, causing the R light-emitting diode to extinguish. The processing module 101 then controls Q1 through the PWM signal of the RGB-R output, which varies in high and low levels, thereby controlling whether the R light-emitting diode emits light. Similarly, the control and operating principles of the G and B light-emitting diodes of LED1 and LED2 can be understood with reference to the R light-emitting diode, and will not be further described.
[0229] Take LED1 as an example Figure 14 The brightness adjustment principle is specifically explained as follows: As can be seen, the anodes of the three light-emitting diodes R, G, and B of LED1 are all connected to a 5V power supply through a PMOS tube Q6. The G electrode of the PMOS tube is grounded through a resistor R54 and a transistor Q7. The base of the transistor Q7 is controlled by the fourth control pin RGB-P of the processing module 101. Therefore, RGB-P can indirectly control the conduction and shutdown of Q6 by controlling Q7, thereby controlling the power supply of LED1. In specific operation, when RGB-P outputs a high level, Q7 is turned on, so that Q6 is turned on and LED1 is powered. When RGB-P outputs a low level, Q7 is turned off, so that Q6 is turned off and LED1 is powered off. Then, the processing module 101 controls the power supply of LED1 by outputting a PWM signal with varying high and low levels through RGB-P to achieve the purpose of adjusting the brightness of LED1. Similarly, the brightness adjustment of LED2 can also be understood by reference and will not be repeated here.
[0230] Based on the smart wall switch 100 provided in the above embodiment, in an embodiment not shown in the figures, the present invention further provides a control method for a smart wall switch, wherein the smart wall switch has a mode switching unit, and the control method includes: detecting an indication of the mode switching unit; switching to a corresponding working mode in response to an indication of the mode switching unit; wherein the smart wall switch has at least a first mode among its multiple working modes, wherein in the first mode, the smart wall switch configures a trigger function of at least one first button as a first function, so as to control the action of a relay associated with the first button after detecting that an external operation is applied to the first button.
[0231] Furthermore, the mode switching unit has a plurality of gears, and the plurality of gears of the mode switching unit are switchable.
[0232] The control method further includes: detecting a current gear position of the mode switching unit after power is turned on; and switching to a corresponding working mode based on an indication given by the current gear position of the mode switching unit.
[0233] Furthermore, the multiple working modes of the processing module also include a second mode, wherein in the second mode, the triggering function of at least one first button is switchable.
[0234] The control method also includes: obtaining a switching instruction; if in the second mode, switching the trigger function of the first button to the second function or the first function according to the switching instruction; wherein when the trigger function of the first button is switched to the second function, the smart wall switch can communicate externally in response to the first button being subjected to external operation, and the relay associated with it remains normally connected.
[0235] Furthermore, the switching instruction includes key function configuration data received from the outside.
[0236] The control method further includes: after entering the second mode, configuring the trigger function of the first button to be the first function by default;
[0237] If external key function configuration data is received, the trigger function of the first key is switched according to the key function configuration data.
[0238] Furthermore, after receiving external key function configuration data, the control method also includes: judging the configuration result pointed to by the key function configuration data, if the configuration result is to configure the first key as the second function; then judging the current working mode, if it is currently in the first mode, then still configuring the first key as the first function.
[0239] Furthermore, the smart wall switch has a third mode among the multiple working modes, and the control method also includes: in the third mode, configuring at least one first button as the second function; if external button function configuration data for configuring the first button as the first function is received in the third mode, no response is given.
[0240] Furthermore, the control method also includes: configuring the trigger function of at least one second button as a second function, and keeping the second button working in the second function when switching to any working mode; wherein under the second function, external communication is performed in response to external operation being applied to the second button.
[0241] Furthermore, the smart wall switch is capable of communicating with the cloud; wherein, when the first button or the second button is configured as the second function, the smart wall switch communicates externally in response to the first button or the second button being externally operated, specifically including: sending a preset signal externally in response to the first button or the second button being operated, so that the cloud receives the preset signal, and controls the trigger result defined by the target scene to be executed according to the preset signal and the target scene matching the preset signal; wherein the target scene is generated after the user freely defines the mapping relationship between at least one operation event and at least one trigger result on a terminal, each preset signal represents an operation event of the first button or the second button set to the second function being operated, and each trigger result is at least one executable function of at least one controlled device of the user to whom the smart wall switch belongs.
[0242] Regarding the control component, an embodiment of the present invention further provides a control component suitable for the smart wall switch 100. Figures 18-36 , a control assembly provided by the present invention is specifically described. The control assembly comprises: a base housing 1; and at least one button 2, movably connected to the base housing 1. The button 2 can be understood as the lower portion of the operating member 20 described in the above embodiment. That is, in this embodiment, each button in the operating member 20 is lowered to the mechanical button 2. Furthermore, each pressing area of the button 2 can form the first button and / or the second button in the above embodiment.
[0243] Specifically, for this embodiment, the base shell 1 is provided with an elastic support member 3 within the coverage area of each of the buttons 2, and the elastic support member 3 is used to provide a reset force. The buttons 2 can be movably connected to the base shell 1 by a pivot connection, a movable snap connection, or a connection via an elastic support member 3, or other movable connection methods. In one embodiment, the buttons 2 are movably connected to the base shell 1 via a connecting hook 23, the specific structure of which is described in detail below. The control assembly provided by the present invention is not only applicable to smart wall switches, but also to wireless switches and various products with button-related structures. Any product that uses this control assembly is within the scope of protection of the present invention.
[0244] Figure 15-17An existing four-button smart switch structure is shown. Existing smart switches often have an elastic arm 33 integrally formed on the shell. The elastic arm 33 abuts against the bottom of the button 2 to provide a reset force for the button 2; and the end of the elastic arm 33 and the button 2 are positioned together through the positioning column 221 and the positioning hole 3211, so that the button 2 can improve the positioning accuracy under the positioning action of the elastic arm 33, thereby more accurately triggering the electronic switch 106, and making the gaps between the buttons 2 more uniform.
[0245] like Figure 15 As shown, the existing intelligent switch generally adopts a straight arm type elastic arm 33, that is, the projection of the elastic arm 33 on the upper surface of the button 2 is a straight arm. Figure 16 and Figure 17 As shown, Figure 17 The dotted line shows the shape of the elastic arm 33 before being pressed, and the solid line shows the shape of the elastic arm 33 after being pressed; when the button 2 is pressed, the elastic arm 33 is pressed by the button 2 and deforms downward, and at the same time, the end of the elastic arm 33 will also be horizontally displaced (by Figure 17 It can be seen that the positioning hole 3211 at the end of the elastic arm 33 has been displaced in the fourth direction), and since the horizontal displacement of the button 2 during the pressing process is extremely small, the button 2 and the elastic arm 33 will produce a relative horizontal displacement at the positioning connection portion. However, since the straight-arm elastic arm 33 extends in the same direction as the fourth direction, it is difficult to eliminate this relative displacement by deformation, causing the elastic arm 33 to interfere with the pressing movement of the button 2, resulting in a stuck feeling when pressing the button 2 and easy damage to the positioning connection portion. In the prior art, in order to compensate for this relative displacement, the only way is to increase the positioning clearance between the button 2 and the elastic arm 33, but this will result in poor positioning accuracy of the button 2, resulting in loose buttons 2, uneven clearances between the buttons 2, and poor accuracy of the button 2 in triggering the electronic switch.
[0246] Therefore, in order to improve the positioning accuracy of the button 2, and at the same time avoid the button 2 from being stuck when pressed and avoid damage to the part where the button 2 is positioned and connected, according to the control component provided by the invention, such as Figure 18-21c As shown, the elastic support member 3 includes a fixed end 31 connected to the base shell 1 and a positioning bent portion 32 extending from the fixed end 31, and a connecting structure 321 is provided on the positioning bent portion 32, and the positioning bent portion 32 is positioned and connected to the button 2 through the connecting structure 321; the projection pattern of the positioning bent portion 32 on the first plane 21 is curved, so that the positioning bent portion 32 can be deformed in a third direction, and the third direction is the direction of the connecting structure 321 toward the fixed end 31, and the third direction has been Figure 19-21cMarked in. The first plane 21 is parallel to the pressing surface of the button 2, wherein, when the pressing surface of the button 2 is a plane, the first plane 21 can be equivalent to the pressing surface, and when the pressing surface is a curved surface, the first plane 21 can be understood as a plane perpendicular to the normal of the center position of the pressing surface. The fixed end 31 can be integrally formed with the base shell 1, or can be fixedly connected to the base shell 1. The positioning connection between the button 2 and the connecting structure 321 can be understood as a connection method that mutually restricts the positional relationship in the horizontal direction. The button 2 and the connecting structure 321 can be relatively movable or fixed in the vertical direction. The positioning connection includes a pin-hole positioning connection, a fixed connection, etc. The connecting structure 321 can be a structure with a positioning function such as a positioning hole and a positioning pin. In a preferred embodiment, the connecting structure 321 includes a positioning hole 3211, and the button 2 is provided with a positioning column 221, and the positioning column 221 is inserted into the positioning hole 3211 to achieve the positioning connection.
[0247] The control assembly provided by the present invention has a positioning bent portion 32 of its elastic support member 3 that can be deformed in a third direction, so that the positioning bent portion 32 can eliminate the horizontal displacement of its end during the pressing process through deformation, thereby making the positioning cooperation between the button 2 and the positioning bent portion 32 tighter, so as to improve the positioning accuracy of the button 2; and, because the positioning bent portion 32 can be deformed in the third direction, the positioning bent portion 32 will not interfere with the pressing movement of the button 2, thereby making the pressing feel of the button 2 smoother, and at the same time, the part where the button 2 and the elastic support member 3 are positioned and connected is not easily damaged.
[0248] It is worth noting that Figure 19 As shown, the positioning curved portion 32 can be deformed in the third direction, including deformation toward the third direction and deformation opposite to the third direction. Specifically, when the initial state of the positioning curved portion 32 is the upward state ( Figure 19 As shown in the figure), the positioning curved portion 32 is pressed by the button 2, which causes the connecting structure 321 to have a tendency to move to the right. At this time, the positioning curved portion 32 needs to be deformed to the left to eliminate the displacement. When the initial state of the positioning curved portion 32 is horizontal (not shown in the figure), the positioning curved portion 32 is pressed by the button 2 and bends downward, which causes the connecting structure 321 to have a tendency to move to the left. At this time, the positioning curved portion 32 needs to be deformed to the right to eliminate the displacement.
[0249] In some exemplary embodiments, Figure 18-20b A semicircular elastic support member 3 is provided, wherein: Figure 18 is a three-dimensional diagram of the elastic support member 3, Figure 19 This is a cross-sectional view of the assembly of the elastic support member 3 and the button 2. Figure 18 and Figure 19As shown, the elastic support 3 is upwardly curved so that the connecting structure 321 abuts against the lower surface of the button 2, and when the button 2 is pressed, the elastic support 3 is pressed by the button 2 to be in a horizontal state, and the connecting structure 321 has a tendency to be displaced to the right. Figure 20a is a plan view of the elastic support 3 after being pressed when the elastic support 3 is not connected with the button 2, Figure 20b is a plan view of the elastic support 3 after being pressed when the elastic support 3 is connected with the button 2, and by comparing the two views, it can be seen that when the elastic support 3 is pressed by the button 2, the connecting structure 321 is subjected to a positioning force F from the button 2 to the left, and the positioning curved portion 32 of the elastic support 3 is deformed under the action of the positioning force F, and the positioning curved portion 32 eliminates the horizontal displacement of the connecting structure 321 by deformation, and further eliminates the relative displacement with the button 2.
[0250] Figure 21a An elastic support 3 in the shape of "L" is provided, the fixed end 31 of which is integrally formed on the base 1, the middle position of the positioning curved portion 32 is arc-shaped curved, the connecting structure 321 is located at one end of the positioning curved portion 32 away from the fixed end 31, the positioning curved portion 32 is upwardly curved towards the button 2, and the connecting structure 321 abuts against the button 2, and when the button 2 presses the elastic support 3, the connecting structure 321 has a tendency to be displaced to the right, and the positioning curved portion 32 eliminates the horizontal displacement generated in the pressing process by deformation, and further eliminates the relative displacement with the button 2.
[0251] Figure 21b An elastic support 3 in the shape of mosquito-repellent incense is provided, the fixed end 31 of which is integrally formed on the base 1, the positioning curved portion 32 is curved in the shape of mosquito-repellent incense, the connecting structure 321 is located at one end of the positioning curved portion 32 away from the fixed end 31, the positioning curved portion 32 is upwardly curved towards the button 2, and the connecting structure 321 abuts against the button 2, and the positioning curved portion 32 can eliminate the horizontal displacement generated in the pressing process by deformation, and further eliminate the relative displacement with the button 2. Figure 21a Compared with the embodiment of the elastic support 3, the positioning curved portion 32 is more easily deformed towards multiple directions to eliminate the horizontal displacement in multiple directions generated in the pressing process, and is more suitable for the button 2 with multi-area pressing function.
[0252] Figure 21cAn elastic support member 3 shaped like an "M" is provided. Its fixed end 31 includes a first end 311 and a second end 312, which are integrally formed with the base shell 1. A positioning curved portion 32 is formed between the first and second ends 311, 312. The positioning curved portion 32 is curved in an "M" shape. A connecting structure 321 is disposed in the middle of the positioning curved portion 32. The positioning curved portion 32 tilts toward the key 2, and the connecting structure 321 abuts against the key 2. The positioning curved portion 32 can deform to eliminate horizontal displacement during pressing, thereby eliminating relative displacement with the key 2. Compared to the embodiment of FIG. 20 , the positioning curved portion 32 of this embodiment is more susceptible to deformation in the third direction.
[0253] In some embodiments, as Figures 20a-21c As shown, the projection pattern of the positioning curved portion 32 on the first plane 21 is an arc-shaped curve, wherein the arc-shaped curve includes a circular arc curve, an elliptical arc curve, a curve similar to a circular arc curve, or a combination of multiple arc curves. Figure 24 As shown, each area of the key 2 can be pressed, and at least two elastic support members 3 are provided within the coverage area of each key 2 to support the key 2 in a balanced manner. The fact that each area of the key 2 can be pressed can be understood as at least one electronic switch 106 being provided within the coverage area of the key 2, and pressing each area of the key 2 can trigger the electronic switch 106. The positioning curved portion 32 of this embodiment is curved in an arc shape, so that the positioning curved portion 32 can deform not only in the third direction, but also in other directions, thereby adapting to the characteristic that each area of the key 2 can be pressed, so that the reset force applied to each area of the key 2 when pressed is relatively consistent.
[0254] In some embodiments, as Figures 20a-21c As shown, the bending angle of the projection of the positioning curved portion 32 on the first plane 21 is greater than 60° to enhance the deformation ability of the positioning curved portion 32 in the third direction. The bending angle can be understood as the sum of the bending angles of all the bending parts of the positioning curved portion 32 on the first plane 21, for example Figure 20b The bending angle of the middle positioning bending portion 32 is 180°. Figure 21a The bending angle of the middle positioning bending portion 32 is 90°. Figure 21b The bending angle of the middle positioning bending portion 32 is 360°. Figure 21c The bending angle of the positioning bend 32 is 540°. Figure 21aIn the embodiment shown, the bending angle is angle β. Since the positioning bend 32 is tilted toward the key 2, when the key 2 presses against the positioning bend 32, the connecting structure 321 tends to move to the right. The connecting structure 321 will be subjected to the leftward positioning force F of the key 2. At the same time, the positioning bend 32 is also subjected to the rightward supporting force of the fixed end 31. The positioning bend 32 bends under the combined action of the positioning force and the supporting force. Through force analysis and experimental verification, the inventors found that when the bending angle is greater than 60°, under the same positioning force F, the positioning bend 32 is more likely to bend and deform, and is less likely to break even when the deformation is large. For this reason, the bending angle of this embodiment is set to greater than 60°, so that the key 2 feels smoother when pressed and the positioning bend 32 has a longer service life.
[0255] In some embodiments, as Figure 20a and Figure 21c As shown, the elastic support member 3 abuts against the button 2, and the fixed end 31 of the elastic support member 3 includes a first end 311 and a second end 312, the first end 311 and the second end 312 are respectively connected to the base shell 1, and the elastic support member 3 forms the positioning bending portion 32 between the first end 311 and the second end 312, so that the elastic support member 3 forms a closed elastic support structure. In particular, since the movement of the button 2 is a pressing movement, the elastic support member 3 of this embodiment provides a reset force for the button 2 by abutting. Compared with other force transmission methods, the elastic support member 3 of this embodiment will not be separated from the abutment with the button 2, and the reliability is higher. The closed elastic support structure provided by this embodiment has higher support stability and can support the button 2 in a more balanced manner to adapt to the characteristic that each area of the button 2 can be pressed. In addition, compared to Figure 21a and Figure 21b Compared with the open elastic support structure of the embodiment, the closed elastic support structure of this embodiment has a longer service life and better elastic force retention.
[0256] Furthermore, if Figure 18-20b and Figure 24 As shown, the positioning curved portion 32 is constructed as a semicircular ring; the first end 311 and the second end 312 of the elastic support member 3 are integrally formed on the base shell 1, and the positioning curved portion 32 is tilted toward the key 2 so that the connecting structure 321 abuts against the key 2; two elastic support members 3 are arranged in the covering area of each key 2, and the two elastic support members 3 are symmetrically arranged, and the opening directions are opposite, so that the two elastic support members 3 can support the key 2 in a balanced manner, which is adapted to the characteristic that each area of the key 2 can be pressed.
[0257] Existing smart switches, such as Figure 15As shown, four elastic arms 33 are correspondingly provided in the coverage area of each key 2, and each elastic arm 33 is positioned and connected with the key 2, resulting in over-positioning, causing the positioning relationships of the four elastic arms 33 to conflict with each other, and a part of the elastic arms 33 cannot be positioned and matched with the key 2; to avoid the elastic arms 33 being unable to position and match with the key 2, the prior art often increases the matching gap between the positioning hole 3211 and the positioning column 221, but this leads to a decrease in the positioning accuracy of the key 2 and uneven gaps between the keys 2. To solve this problem, in some embodiments, such as Figure 19 and Figure 24 As shown, the button 2 is provided with a positioning structure 22, which is used to position and connect with the connecting structure 321 of the positioning curved portion 32. There are only two positioning structures 22 corresponding to each button 2, thereby avoiding over-positioning and achieving higher precision in the matching between the positioning structure 22 and the connecting structure 321, thereby improving the positioning accuracy of the button 2 and ensuring that each positioning structure 22 can complete matching with the corresponding connecting structure 321. The positioning structure 22 includes a positioning post 221, and the connecting structure 321 of the positioning curved portion 32 includes a positioning hole 3211. The positioning post 221 is inserted into the positioning hole 3211 to achieve a positioning connection between the positioning structure 22 and the connecting structure 321.
[0258] In some embodiments, as Figure 24 As shown, the button 2 is provided with a plurality of connecting hooks 23 facing the base shell 1, and the base shell 1 is provided with a latching position 18 at a position corresponding to the connecting hook 23. A movable space is provided on the side of the latching position 18 away from the button 2, and the connecting hook 23 is latched in the latching position 18 to realize the movable connection between the button 2 and the base shell 1; the connecting hook 23 can move within the movable space, so that each connecting hook 23 can perform a pressing movement with each other as a fulcrum, so that each area of the button 2 can be pressed. The movement with each other as a fulcrum can be understood as, when one end of the button 2 that is biased towards a certain connecting hook 23 is pressed downward, the other connecting hooks 23 will become the fulcrum for the movement of the button 2. Further, as Figure 26 As shown, the control board 10 is provided with avoidance holes 1071 at positions corresponding to the connection hooks 23 . The avoidance holes 1071 are used to prevent the connection hooks 23 from moving downward, so that the control board 10 can be installed close to the base shell 1 , thereby reducing the thickness of the switch panel.
[0259] In some embodiments, as Figure 24As shown, the control assembly also includes a control board 10, which is mounted on the base housing 1. The control board 10 is provided with multiple electronic switches 106, and the buttons 2 include multiple trigger protrusions 24, each corresponding one-to-one with the electronic switches 106. Each button 2 is provided with at least two trigger protrusions 24 at each end, and each button 2 is provided with four connecting hooks 23, which are located inside the trigger protrusions 24 to prevent the other electronic switch 106 at the same end from being accidentally triggered when the button 2 triggers one electronic switch 106. The electronic switches 106 can be tactile switches, micro switches, detection switches, membrane switches, etc. In one embodiment, the electronic switches 106 are tactile switches. The trigger protrusions 24 can be trigger posts, trigger bars, trigger bosses, etc., to improve the accuracy of triggering the electronic switches 106. The base shell 1 is provided with a switch trigger hole 12 at a position corresponding to each electronic switch 106 , and a trigger portion of the electronic switch 106 is exposed in the switch trigger hole 12 .
[0260] Furthermore, if Figure 24 As shown, four electronic switches 106 are arranged in the covering area of each key 2, and the four electronic switches 106 are respectively located at the four corners of the corresponding key 2 to form a pressing area at the four corners of the key 2. The user can press any pressing area to trigger the corresponding electronic switch 106.
[0261] Based on the control components provided in the above embodiment, an embodiment of the present invention further provides a smart wall switch 100, including the above control components, such as Figures 22-36 As shown, the smart wall switch further comprises: a bottom shell 4, the control assembly is arranged on the bottom shell 4; a display screen 30 is arranged on the base shell 1; the control assembly further comprises a control board 10, the control board 10 is arranged on the base shell 1, and the display screen 30 is electrically connected to the control board 10; Figure 22 、 Figure 24 and Figure 26 As shown, the number of the buttons 2 of the control component is two, and the two buttons 2 are arranged side by side. The display screen 30 is arranged between the two buttons 2 and is surrounded by the two buttons 2; each button 2 is provided with multiple trigger protrusions 24, and the control board 10 is provided with an electronic switch 106 at a position corresponding to each trigger protrusion 24. When the button 2 receives a pressing operation, the trigger protrusion 24 triggers the corresponding electronic switch 106 to realize the function of the button 2, and the display screen 30 is surrounded by each trigger protrusion 24 so that the function corresponding to each electronic switch 106 can be displayed through the display screen 30.
[0262] Furthermore, if Figure 25 As shown, the base shell 1 is provided with a mounting groove 13 at a position corresponding to the display screen 30 for accommodating the display screen 30. A transparent cover plate 14 is provided above the display screen 30. The display screen 30 has a display area 302, and the display area 302 displays content to the outside through the transparent cover plate 14. The transparent cover plate 14 is runway circular, and the display area 302 is rectangular. The display area 302 is arranged at the center of the transparent cover plate 14. The transparent cover plate 14 is adhered to the base shell 1 to limit the display screen 30 to the mounting groove 13. The control board 10 is arranged on the side of the base shell 1 away from the display screen 30. The mounting groove 13 is provided with a first cable through hole 131. The cable 301 of the display screen 30 passes through the first cable through hole 131 and is connected to the control board 10. As shown Figure 31 and Figure 26 As shown, a cable connector 70 is provided on the side of the control board 10 facing away from the display screen 30. The control board 10 has a second cable through-hole 1072, through which the cable 301 passes to connect to the cable connector 70. Furthermore, the display screen 30 uses a 1.47-inch TFT screen with a resolution of 172×320.
[0263] Furthermore, if Figure 26 、 Figure 24 and Figure 22 As shown, the control board 10 is provided with a second light-emitting member 50 near each electronic switch 106. The second light-emitting member 50 is an LED lamp. The base shell 1 is provided with a first light-transmitting hole 15 at a position corresponding to the second light-emitting member 50. The button 2 is provided with a second light-transmitting hole 261 at a position corresponding to the second light-emitting member 50. The light emitted by the second light-emitting member 50 passes through the first light-transmitting hole 15 and the second light-transmitting hole 261 and is displayed to the outside, which is used to indicate the position of the electronic switch 106, so that the user can accurately press the pressing area of the button 2.
[0264] In some embodiments, as Figure 34 As shown, this embodiment is Figure 24 The difference between the embodiment and the embodiment is that the display screen 30 is not used to display the button names, but instead displays weather, temperature, humidity, and other information. The button names are displayed through laser engraving. Specifically, the first light-transmitting hole 15 is covered with a light-diffusing film 151, and the button 2 is laser-engraved with translucent text 262 in the area corresponding to the light-diffusing film 151. The translucent text 262 hollows out the button 2. The light emitted by the second light-emitting element 50 is homogenized by the light-diffusing film 151 and then transmitted through the translucent text 262 to indicate the corresponding function of each electronic switch 106.
[0265] In some embodiments, as Figure 30-Figure 32As shown, at least one mode switching part 102 is provided on the control panel 10, and the mode switching part 102 has multiple gears for indicating multiple preset working modes of the smart wall switch 100; the multiple gears of the mode switching part 102 are switchable, and the smart wall switch 100 switches to the corresponding working mode according to the current gear of the mode switching part 102 after power-on; the control component is detachably connected to the bottom shell 4 through the base shell 1, and the mode switching part 102 is provided on the side of the control panel 10 facing the bottom shell 4 so as to be installed in a hidden manner. When the base shell 1 is installed on the bottom shell 4, the mode switching part 102 is blocked and cannot be operated. When the control panel 10 is detached from the bottom shell 4 following the base shell 1, the mode switching part 102 is exposed to the outside for operation. Among them, multiple preset working modes (the understanding of the relevant features of multiple working modes can refer to the following) Figures 1 to 14 (described in the embodiment shown), at least one executable function of the smart wall switch 100 is different. Compared with the smart wall switch with a single and fixed working mode in the prior art, the switching between multiple working modes of the smart wall switch 100 provided in this embodiment can bring about changes in at least part or all of the functions, with richer and more diverse functions, which can meet more complex usage needs and be applicable to a richer range of control scenarios. The detachable connection includes snap-on connection, connection by screws, etc. The mode switching part 102 can be a dip switch 1021, a push-type electronic switch 106, or other electronic component that can switch the on and off state. In one embodiment, the mode switching part 102 is configured as a dip switch 1021. The multiple gears can be 2 gears, 3 gears, or a greater number of gears. The hidden installation can be understood as the mode switching part 102 being hiddenly installed inside the smart wall switch 100. In one embodiment, the control board 10 is covered on the open side of the bottom shell 4, and the mode switching part 102 is enclosed between the bottom shell 4 and the control board 10.
[0266] Furthermore, if Figure 32 As shown, mounting holes 43 are opened on both sides of the bottom shell 4 , and the mounting holes 43 are used to be fixed to the wall by mounting screws. When the base shell 1 is installed on the bottom shell 4 , the mounting holes 43 are blocked by the base shell 1 .
[0267] Furthermore, if Figure 32 and Figure 31 As shown, a plurality of snap-fit protrusions 16 are provided on the inner sides of the side walls at both ends of the base shell 1, and a snap-fit step 41 is provided at the corresponding position of the snap-fit protrusion 16 on the bottom shell 4. The snap-fit protrusion 16 is snapped onto the snap-fit step 41 to realize the detachable connection between the base shell 1 and the bottom shell 4.
[0268] The function of the electronic switch 106 of the smart wall switch 100 provided by the present invention can be set through a mobile phone app. The user can set the function of the electronic switch 106 to directly control the on / off of the relay 111, or to send a signal through the communication module 103 to control the controlled device. The electronic switch 106 corresponding to the relay 111 can also be set to no longer control the relay 111. When the network is disconnected, the smart wall switch 100 cannot send signals to the outside through the communication module 103, and the user cannot change the function of the electronic switch 106 through the mobile phone app. At this time, if the function of the electronic switch 106 corresponding to the relay 111 has been changed, the smart wall switch 100 will be unable to control the on / off of the relay 111, which brings inconvenience to use.
[0269] Based on the above problem, in order to enable the smart wall switch 100 to switch the function corresponding to the electronic switch 106 to the control relay 111 even when the network is disconnected, in this embodiment, Figure 31-33 As shown, the smart wall switch 100 further includes: at least one relay 111; a processing module 101 electrically connected to the mode switching unit 102, wherein the processing module 101 switches to a corresponding operating mode according to the current gear position of the mode switching unit 102 after power-on; and a communication module 103; the processing module 101 is electrically connected to the communication module 103 so as to be able to communicate with the outside through the communication module 103; the multiple operating modes of the processing module 101 include at least a first mode for controlling the on / off of the relay 111 and a second mode for communicating with the outside through the communication module 103. The smart wall switch 100 can not only physically control the on / off of a controlled device through the relay 111, but also transmit communication signals to the outside through the communication module 103 to control the controlled device. When the network is disconnected, the user can switch the smart wall switch 100 to the first mode through the mode switching unit 102. At this time, the functions of part of the electronic switch 106 will be forced to change to control the corresponding relay 111. The user can operate the electronic switch 106 to control the relay 111 to re-power the smart controlled device. In this way, the restart of the smart controlled device no longer requires turning off the power, which is more convenient.
[0270] Furthermore, the communication module 103 can be a wireless communication module (such as a Bluetooth communication module, a WIFI communication module, a ZIGBEE communication module, etc.), or a power carrier communication module, and the communication signal can be a wireless signal or an electrical signal. The processing module 101 can be understood as any circuit with data processing capabilities, which can be a circuit with data processing capabilities built from separate devices, or an integrated circuit embodied in the form of a chip or module. In a specific embodiment, Figure 31As shown, the communication module 103 utilizes a Bluetooth communication module, and the communication module 103 and the processing module 101 are integrated onto the same circuit board. Furthermore, the button 2 includes a button housing 25 and a metal cover 26 covering the upper surface of the button housing 25. The communication module 103 is connected to an external antenna 1031, which is attached to the base housing 1 near an edge to minimize signal shielding effects of the metal cover 26 on the communication module 103.
[0271] Furthermore, if Figure 33 As shown, the bottom shell 4 houses a power board 11, with three relays 111 disposed on its lower surface and a female connector 112 disposed on its upper surface. The bottom shell 4 has an opening with an isolation cover 42 that snaps onto the bottom shell 4, enclosing the power board 11 within it. The isolation cover 42 defines a female connector through-hole 421, through which the female connector 112 is exposed. The control board 10 has a pin header 108 disposed on its lower surface. When the base shell 1 is mounted on the bottom shell 4, the pin header 108 plugs into the female connector 112, electrically connecting the control board 10 to the power board 11.
[0272] Furthermore, if Figure 26 As shown, the control panel 10 is provided with eight electronic switches 106 on its upper surface. The eight electronic switches 106 are arranged in groups of four at both ends of the control panel 10. The three electronic switches 106 located at the upper left corner, upper right corner and lower left corner of the switch panel respectively control the corresponding relays 111. The other electronic switches 106 cannot directly control the relays 111. The switch panel can be understood as the part of the smart wall switch 100 located outside the wall. Figure 35 A four-button version of the smart wall switch 100 is provided, which has four electronic switches 106, which are distributed at the four corners of the switch panel. It also has three relays 111, and the electronic switches 106 corresponding to the relays 111 are also located in the upper left corner, upper right corner and lower left corner of the switch panel.
[0273] Furthermore, if Figure 30 、 Figure 32 and Figure 27As shown, the smart wall switch 100 also includes a limit housing 5, which is fixedly connected to the base housing 1, and the control board 10 is clamped between the limit housing 5 and the base housing 1; the mode switching portion 102 includes a dip switch 1021, and the dip switch 1021 includes a plurality of toggle positions, each of which represents a gear position, and then the switching between the toggle positions can instruct the smart wall switch 100 to switch between various working modes; the dip switch 1021 has a function for switching the toggle positions. The toggle handle 1022, the limiting shell 5 is provided with a dial hole 52 at a position corresponding to the toggle handle 1022, and the toggle handle 1022 passes through the dial hole 52; the side of the limiting shell 5 facing away from the button 2 is set as a second surface 56, and the second surface 56 is provided with a recess 53 at a position corresponding to the toggle hole 52, and the toggle handle 1022 is accommodated in the recess 53. When the control assembly is detached from the bottom shell 4, the toggle handle 1022 is exposed to the outside for the user to dial. The toggle handle 1022 is accommodated in the recess 53 so that the toggle handle 1022 does not protrude from the second surface 56. Further, the limiting shell 5 is fixedly connected to the base shell 1 by four connecting screws 54. Further, as Figure 26 As shown, the control board 10 is provided with two circuit board positioning holes 1073, and the base shell 1 is provided with a positioning rib, which is inserted into the circuit board positioning hole 1073 to position the control board 10. Figure 30 As shown, the limiting housing 5 is provided with a pin header hole 51 at a position corresponding to the pin header 108. The pin header 108 passes through the pin header hole 51 and is connected to the female connector 112. The cable connector 70 has a locking wrench. By turning the locking wrench, the cable 301 can be locked / unlocked. The limiting housing 5 is provided with a locking rib 55 at a position corresponding to the locking wrench. Figure 27 As shown, when the limiting housing 5 is installed on the base housing 1 , the locking rib 55 abuts against the locking wrench, so that the locking wrench remains in a locked state to prevent the flat cable 301 from accidentally falling off.
[0274] In existing smart switches with luminous decorative strips, the direction in which the luminous element faces the light guide is the same as the direction in which the light guide emits light outward. As a result, the light emitted by the luminous element passes through the light guide in a direct manner, resulting in excessive light intensity at the position directly opposite the luminous element, which is quite dazzling. In addition, the vertical stacking of the luminous element and the light guide will occupy more vertical space on the switch panel. At the same time, a certain distance is required between the luminous element and the light guide to improve the uniform light effect, which will further occupy vertical space and make the switch panel thicker. For this reason, in some embodiments, such as Figure 26-Figure 29As shown, the smart wall switch 100 also includes a first light-emitting component 60 for emitting light; a light guide 6, wherein the first light-emitting component 60 is arranged on the side of the light guide 6, and the side of the light guide 6 for receiving the illumination of the first light-emitting component 60 is set as a light-receiving surface 611; the light guide 6 is provided with a light-emitting surface 621 in a first direction, and the first direction is opposite to the direction in which the button 2 is pressed; the light-emitting surface 621 is exposed to the outer surface of the smart wall switch 100, and is used to emit the light of the light guide 6 outward; the first light-emitting component 60 is set to a second direction facing the light-receiving surface 611, and the second direction is different from the first direction. Wherein, the first light-emitting component 60 can be an LED lamp or other electronic component that can emit light. In one embodiment, the first light-emitting component 60 is set to an RGB colored lamp (i.e., Figure 14 RGB colored lights LED1, LED2 in the embodiment shown). The light receiving surface 611 can be a plane or a curved surface. The direction of the first light emitting element 60 facing the light receiving surface 611 can be understood as the direction from the center of the first light emitting element 60 to a position close to the center of the light receiving surface 611 and perpendicular to the light receiving surface 611. In one embodiment, Figure 28 As shown, the second direction is the horizontal right direction. The first light emitting member 60 is arranged on the side of the light guide member 6, including the side corresponding to the end of the light guide member 6 ( Figure 28 shown in the embodiment) or arranged on the side corresponding to the middle position of the light guide 6 ( Figure 29 embodiment shown).
[0275] In this embodiment of the present invention, the first light-emitting element 60 is positioned to the side of the light guide 6, thereby preventing the first light-emitting element 60 and the light guide 6 from being stacked in the longitudinal direction. This reduces the longitudinal space occupied by the switch panel and allows the switch panel to be thinner. Furthermore, the direction in which light enters the light guide 6 (i.e., the second direction) is different from the direction in which light exits the light guide 6 (i.e., the first direction). This prevents light from directly passing through the light guide 6, resulting in excessively high light intensity at the position directly opposite the first light-emitting element 60. This results in a better uniform light distribution effect within the light guide 6.
[0276] Furthermore, the light guide 6 is made of a translucent material, which makes the light guide 6 have a better light uniformity effect, thereby making the light intensity of the light output surface 621 more uniform. In a specific embodiment, the light guide 6 is made of PC material mixed with a light diffusing agent and then injection molded.
[0277] In some embodiments, as Figure 28 and Figure 29As shown, there is a specified angle between the second direction and the first direction, and the specified angle is set to 60° to 90°, or 90° to 120°, to better prevent light from passing through the light guide 6 in a direct manner and to allow the light to be more uniformly distributed within the light guide 6. In a preferred embodiment, the specified angle is set to 90°.
[0278] In some embodiments, as Figure 28 As shown, a first inclined surface 64 is provided at one end of the light guide 6 away from the first light emitting component 60, and the first inclined surface 64 is used to gradually thin the thickness of the light guide 6 in the first direction so that the light emitting surface 621 gradually reduces the light intensity in the direction away from the first light emitting component 60.
[0279] In some embodiments, as Figure 27 and Figure 22 As shown, the light emitting surface 621 of the light guide 6 is parallel to the third surface 27 of the key 2, and the third surface 27 is set as the pressed side of the key 2. The light emitting surface 621 of the light guide 6 is long and narrow, and there are two keys 2. The light emitting surface 621 is sandwiched between the two keys 2. The height difference between the light emitting surface 621 and the third surface 27 is less than 1.5 mm, so that the light emitting surface 621 is closer to the outside, ensuring that the user can see the light emitting surface 621 even from an inclined perspective.
[0280] In some embodiments, as Figure 27 and Figure 22 As shown, there are two light guides 6, which are symmetrically arranged on both sides of the display screen 30. The light emitting surfaces 621 of the two light guides 6 are sandwiched between the two keys 2. Furthermore, the distance between the end of the light guide 6 away from the first light-emitting element 60 and the side of the key 2 is less than 1.5 mm, so that light emitted from the side end of the light guide 6 can be displayed externally from the side of the key 2.
[0281] In some embodiments, as Figure 27 As shown, the smart wall switch 100 further includes a control board 10, which is disposed on a side of the base housing 1 facing away from the button 2. The first light-emitting member 60 is disposed on the control board 10. The light guide 6 is restrained by both the base housing 1 and the control board 10. The restraint of the light guide 6 by both the base housing 1 and the control board 10 can be understood as meaning that, after the base housing 1 and the control board 10 are assembled, the base housing 1 and the control board 10 secure the light guide 6 by clamping or other means to facilitate assembly of the light guide 6.
[0282] In one embodiment, if Figure 28As shown, the light guide 6 includes a light guide seat 61 and a light guide plate 62 and a limiting protrusion 63 arranged on the light guide seat 61. The first light-emitting member 60 is arranged on the side corresponding to the end of the light guide seat 61. The light guide plate 62 is arranged perpendicular to the light guide seat 61. The light receiving surface 611 is arranged on the side of the light guide seat 61. The light receiving surface 611 is opposite to the first light-emitting member 60. The light emitting surface 621 is set as the side of the light guide plate 62 away from the light guide seat 61; the first inclined surface 64 is set on the side of the light guide plate 62 away from the light emitting surface 621. The bottom surface of the light guide seat 61 is attached to the control board 10, and the first light-emitting member 60 is arranged on the control board 10. Figure 27 and Figure 25 As shown, the base shell 1 is provided with a light guide hole 17 adapted to the light guide plate 62, and a limiting groove adapted to the limiting protrusion 63; wherein, the light guide hole 17 is in an elongated strip shape, and the gap of the light guide hole 17 is slightly larger than the thickness of the light guide plate 62, so that the light guide plate 62 can just pass through the light guide hole 17; the length of the light guide hole 17 is adapted to the length of the light guide plate 62, so that one end of the light guide hole 17 abuts against the first inclined surface 64, and the other end abuts against the side surface of the light guide plate 62; the process of assembling the light guide member 6 is as follows: the light guide plate 62 passes through the light guide hole 17 from the side of the base shell 1 facing the control board 10. The width of the light guide seat 61 is greater than the light guide hole 17 so that it is restricted by the light guide hole 17. The limiting protrusion 63 is inserted into the limiting groove. The control board 10 abuts against the light guide seat 61 so that the light guide seat 61 is clamped and fixed by the base shell 1 and the control board 10. Based on the above assembly process, it can be seen that the light guide member 6 provided in this embodiment can be quickly and conveniently assembled to the smart wall switch 100, thereby improving assembly efficiency. It is worth noting that the light guide member 6 provided in this embodiment can be installed symmetrically on the left and right. When assembling the part, the operator does not need to distinguish between left and right, thereby further improving assembly efficiency.
[0283] In some embodiments, as Figure 27 As shown, the first light emitting element 60 is covered on the inner side of the base shell 1. This prevents the light emitted by the first light emitting element 60 from passing through the light guide 6 in a direct manner, so that the light is more evenly distributed in the light guide 6.
[0284] In another embodiment, Figure 29As shown, this embodiment provides another structure of a light guide 6. The light guide 6 includes a light guide base 61 and a light guide plate 62 disposed on the light guide base 61. The light guide plate 62 is disposed perpendicular to the light guide base 61. The first light-emitting element 60 is disposed on the side corresponding to the middle position of the light guide 6. The light-receiving surface 611 is disposed on the side of the light guide base 61 facing the first light-emitting element 60. The light-emitting surface 621 is disposed on the side of the light guide plate 62 away from the light guide base 61. The bottom surface of the light guide base 61 is attached to the control board 10, and the first light-emitting element 60 is disposed on the control board 10. Furthermore, the light guide base 61 is provided with a light-reducing through hole 612 at a position facing the first light-emitting element 60. The light-reducing through hole 612 is used to reduce the light transmitted by the light guide base 61 in the direction facing the first light-emitting element 60, thereby reducing the light intensity of the light-emitting surface 621 at the position facing the first light-emitting element 60, so that the light emitted by the light-emitting surface 621 is more uniform. Furthermore, a shading plate can be inserted into the light-reducing through hole 612 to block the light transmission from the light guide base 61 in the direction facing the first light-emitting component 60 , further reducing the light output intensity of the light-emitting surface 621 at the position facing the first light-emitting component 60 .
[0285] In some embodiments, as Figure 28 and Figure 29 As shown, the light receiving surface 611 of the light guide 6 is a concave arc surface, and the side of the first light emitting component 60 facing the light receiving surface 611 is a convex arc surface, so as to increase the area of the light receiving surface 611 receiving light and allow more light to enter the light guide 6.
[0286] In some embodiments, as Figure 31 As shown, the control panel 10 is provided with a radar module 105 on the side away from the button 2, which can emit microwaves to detect the presence of human body. In a specific embodiment, the radar module 105 adopts the MS58-2020S9M4 miniaturized 5.8G radar sensor module launched by Migan Technology. Please refer to the relevant circuit structure of the radar module 105. Figure 26 As shown, the control board 10 is provided with an anti-shielding hole 1074 at a position corresponding to the radar module 105 to prevent the microwave signal emitted by the radar module 105 from being shielded by the control board 10 .
[0287] like Figure 35 A four-button version of the smart wall switch 100 is provided. Figure 24The difference between the eight-button version of the smart wall switch 100 shown is that the eight-button version has eight electronic switches 106, while the four-button version of the smart wall switch 100 provided in this embodiment has only four electronic switches 106. The four electronic switches 106 are distributed at the four corners of the control board 10. The control board 10 is provided with a second light-emitting member 50 near each electronic switch 106. The base shell 1 has a first light-transmitting hole 15 at a position corresponding to the second light-emitting member 50, and the button 2 has a second light-transmitting hole 261 at a position corresponding to the second light-emitting member 50. The light emitted by the second light-emitting member 50 passes through the first light-transmitting hole 15 and the second light-transmitting hole 261 to be displayed externally, used to indicate the location of the electronic switch 106. In this embodiment, the number of buttons 2 is still two, and each button 2 is provided with two second light-transmitting holes 261. The button 2 is provided with a trigger protrusion 24 at a position directly opposite the electronic switch 106, and the trigger protrusion 24 is used to trigger the electronic switch 106. The base shell 1 is provided with a switch trigger hole 12 at a position corresponding to each electronic switch 106 , and a trigger portion of the electronic switch 106 is exposed in the switch trigger hole 12 .
[0288] like Figure 36 A two-button version of the smart wall switch 100 is provided. Figure 24 The difference between the illustrated embodiment and the illustrated embodiment is that this embodiment has two electronic switches 106, each located at the center of the two buttons 2. A second luminous element 50 is positioned at the center of each end of the control panel 10, and the second luminous element 50 and the two electronic switches 106 are aligned. The base housing 1 defines a first light-transmitting hole 15 at a position corresponding to the second luminous element 50. The number of buttons 2 remains the same, comprising a button housing 25 and a metal cover plate 26 covering the upper surface of the button housing 25. The metal cover plate 26 defines a second light-transmitting hole 261 at a position corresponding to the second luminous element 50. The button housing 25 defines a light-transmitting portion 251 at a position corresponding to the first light-transmitting hole 15, which extends through the button housing 25. Light emitted by the second luminous element 50 passes through the first light-transmitting hole 15, the light-transmitting portion 251, and the second light-transmitting hole 261, and is displayed externally, indicating the position of the electronic switch 106. The button housing 25 is provided with a trigger protrusion 24 at a position opposite to the electronic switch 106. The trigger protrusion 24 is used to trigger the electronic switch 106. The base housing 1 is provided with a switch trigger hole 12 at a position corresponding to each electronic switch 106. The trigger portion of the electronic switch 106 is exposed in the switch trigger hole 12.
[0289] It is worth noting that in Figure 36In the embodiment shown, the base shell 1 is reserved with the first light-transmitting hole 15 and the switch trigger hole 12 required for the above-mentioned four-key and eight-key versions of the smart wall switch 100, that is, the base shell 1 is provided with 5 first light-transmitting holes 15 and 5 switch trigger holes 12; the button shell 25 is reserved with the light-transmitting position 251 and the trigger protrusion 24 required for the four-key and eight-key versions of the smart wall switch 100, that is, the button shell 25 is provided with 5 light-transmitting positions 251 and 5 trigger protrusions 24, so that the base shell 1 and the button shell 25 of this embodiment can be adapted to the two-key, four-key and eight-key versions of the smart wall switch 100.
[0290] like Figure 37 As shown, an embodiment of the present invention further provides a smart wall switch 100.
[0291] Reference Figure 37 The smart wall switch 100 includes at least an operating element 20, a display screen 30, a communication module 103, and a processing module 101. The features of this embodiment that are the same as those of the above embodiments can be understood by referring to the description of the above embodiments, and the same parts may not be repeated in this embodiment.
[0292] The display screen 30 is used for display, and the communication module 103 is used for communication; the processing module 101 is electrically connected to the communication module 103 and the display screen 30 so as to enable external communication through the communication module 103 .
[0293] Based on the display function of the display screen 30, the smart wall switch 100 provided by the present invention has a message function, that is, the user can edit the customized text (such as prompt information) and send it to the smart wall switch 100 for display, so as to leave a message through the display screen 30 of the smart wall switch 100.
[0294] It is worth noting that for smart wall switches 100 with a larger display screen 30, a portion of the display screen 30 can be used to display messages, while another portion can be used to display other information such as button names. However, for smart wall switches 100 with a limited (smaller) display screen 30, if the display screen 30 is primarily used to display information such as button names during daily operation, there may not be enough display area to display large messages, making the message function unavailable. Based on this, for smart wall switches 100 with limited display screens 30 that cannot display a lot of content at the same time, the present invention provides a corresponding solution to enable such smart wall switches 100 to also have a message function.
[0295] Specifically, according to an embodiment of the present invention, the processing module 101 can switchably operate in a first state and a second state. In the first state, the processing module 101 instructs the display screen 30 to display first content; in the second state, the processing module 101 instructs the display screen 30 to display second content.
[0296] The first content is used to identify the operating element 20 (for example, the button name corresponding to the button arranged on the operating element 20). In addition, the weather, temperature, etc. can also be displayed in the first state (for example, Figure 7 The second content is obtained from the outside by the processing module 101 through the communication module 103, and can be understood as other content obtained from the outside that is different from the first content, such as the message information sent by the user through the terminal 500 (for example Figure 8 shown).
[0297] Furthermore, in the solution provided in this embodiment, the display screen 30 displays different contents in different demand periods, and the first state and the second state of the processing module 101 can be switched to display different contents through the display screen 30 respectively, wherein the commonly used first content is displayed in the first state, and the uncommon and occasional second content is displayed in the second state, so that the first content and the second content can be displayed on demand in a time-sharing manner when the size of the display screen 30 is limited.
[0298] Furthermore, the processing module 101 can switch from the second state to the first state in response to an external operation being applied to the operating member 20. The external operation applied to the operating member 20 can be, for example, a pressing action applied to a key (the first key or the second key) of the operating member 20. If the operating member 20 has multiple keys, the external operation can be applied to certain specific keys or to any key, and this embodiment does not impose any specific limitation.
[0299] In a specific example, the first content includes a first text for identifying the operating element 20, and the second content includes a second text customized by a user on a terminal 500; wherein the processing module 101 is further configured to:
[0300] In the second state, the display screen 30 is instructed to display only the second text, and when exiting the second state and entering the first state, the display screen 30 is instructed to no longer display the second text but to display the first text.
[0301] In other words, in this embodiment, the first text and the second text are not displayed on the display screen 30 at the same time. When a message is required, the second state is entered to display the second text, and when a message is not required, the second state is exited to display the first text.
[0302] Furthermore, in this embodiment, when the second content is displayed, the second content will be displayed on the display screen 30 (eg, Figure 8 As shown), to serve as a prompt, when the user operates the operating member 20, the display screen 30 will redisplay the first content to identify the operating member 20 (as shown Figure 7 As shown). Figure 7 and Figure 8 As shown, the first text includes the button name of the button (first button or second button) on the operating member 20, and the second text includes the user-defined text, which can be regarded as message information. When the user has no message, the processing module 101 works in the first state to display the button name through the display screen 30. Since the display size of the display screen 30 is limited, after the display screen 30 displays the button name, there is no extra area to display a large message information. Therefore, after the user leaves a message, the processing module 101 can switch to the second state to refresh the display content of the display screen 30. That is, in the second state, the user-defined text will cover the button name, so that the display screen 30 temporarily displays only the message information, and before the user operates the button, the message information remains on the display screen 30, thereby improving the utilization rate of the display screen 30 and enhancing the message prompt effect.
[0303] In some embodiments, the processing module 101 can communicate with a terminal 500 through the communication module 103 (eg Figure 1 The second content is defined by the user on a terminal 500; the processing module 101 is further used for: in the first state, after receiving the second content defined by the user on the terminal 500, entering the second state to instruct the display screen 30 to display the second content.
[0304] The terminal 500 may be a mobile phone, for example, and the user can define the corresponding second content (such as message information, such as Figure 9 After receiving the second content in the first state, the processing module 101 switches to the second state to control the display screen 30 to change from displaying the first content to displaying the second content.
[0305] In addition, the processing module 101 can communicate with a cloud 400 through the communication module 103, and further communicate with the terminal 500 through the cloud 400. In this communication environment, the processing module 101 can receive the second content defined by the user on the terminal 500 in various ways, three of which are described in detail in this embodiment:
[0306] Method 1: The second content is sent from the terminal 500 to the smart wall switch 100 via the cloud. Specifically:
[0307] The processing module 101 receives first data via the communication module 103; the first data is sent by the terminal 500 via the cloud 400; the first data carries data representing the second content. After receiving the first data, the processing module 101 instructs the display screen 30 to display the second content in response to the first data.
[0308] In method 1, the first data is forwarded by the terminal 500 to the smart wall switch 100 through the cloud 400, so as to remotely define the second content to the smart wall switch 100.
[0309] Method 2: The second content is sent from the terminal 500 to the smart wall switch 100 via a point-to-point direct connection. Specifically:
[0310] The processing module 101 receives second data through the communication module 103; the second data carries data representing the second content, and the second data is sent directly by the terminal to the smart wall switch; in response to the second data, the display screen is instructed to display the second content.
[0311] Specifically, in the second method, the smart wall switch 100 and the terminal 500 exchange data through a direct connection (e.g., a Bluetooth direct connection). The second content includes text, and the second data includes a second text configuration message. A second text configuration message can carry data corresponding to multiple texts to improve efficiency.
[0312] Method 3: The second content is saved to the cloud by the terminal 500 and retrieved from the cloud by the smart wall switch 100. Specifically:
[0313] The processing module 101 receives a data reception instruction sent by the terminal 500 through the cloud 400 through the communication module 103 , obtains data corresponding to the second content from the cloud 400 according to the data reception instruction, and instructs the display screen 30 to display the second content.
[0314] Furthermore, in method three, the smart wall switch 100 directly goes to the cloud 400 to obtain the corresponding second content, and then the terminal 500 does not need to directly send a message carrying the second content (a first text configuration message or a second text configuration message) to the smart wall switch 100, and is not restricted by the carrying capacity of the communication message of the third-party platform.
[0315] In a specific example, the communication module 103 may include a WIFI communication unit, and the processing module 101 is electrically connected to the WIFI communication unit to communicate with the outside based on the WIFI protocol.
[0316] At this time, the terminal 500 can send a corresponding data reception indication to the smart wall switch 100 via WIFI, so that the smart wall switch 100 directly goes to the cloud 400 to obtain the corresponding second content.
[0317] Furthermore, the text data corresponding to the second content involved in the above three methods is stored in the cloud 400 and / or the terminal 500 for reuse. For example, if a user defines a message on their mobile phone and sends it to the smart wall switch 100, and then accidentally operates the operating element 20, causing the message on the display screen 30 to disappear, the user can still see the previously defined message when accessing the corresponding interface on their mobile phone because the message is still stored in the cloud 400 and / or the terminal 500. Simply click "Send" again to continue editing the message without having to do so.
[0318] In some embodiments, the first content includes a first text for identifying the operating element 20; the processing module 101 also has a first sub-state and a second sub-state in the first state; wherein the size of the first text displayed on the display screen 30 in the first sub-state is different from the size of the first text displayed on the display screen 30 in the second sub-state to adapt to the font size requirements of people of different ages.
[0319] Furthermore, the processing module 101 can also switch between the first sub-state and the second sub-state based on the terminal 500 .
[0320] The terminal 500 may be, for example, a mobile phone, on which an application (APP) corresponding to the smart wall switch 100 is installed. After the user enters the interactive interface provided by the application, a plurality of options are provided on the interactive interface for the user to select. The user switches between the first sub-state and the second sub-state by selecting the corresponding option, so as to achieve the purpose of conveniently switching the font size on the display screen 30 of the smart wall switch 100 through the mobile phone.
[0321] In specific examples, such as Figure 7 and Figure 10 As shown, in the first sub-state, the first text is displayed on the display screen 30 (eg, Figure 7 ), in the second sub-state, the first text is displayed on the display screen 30 (eg, Figure 10 ).
[0322] like Figure 11 As shown, the smart wall switch 100 further includes a font library chip 104 , which supports two text sizes: 24×24 and 32×32.
[0323] When the terminal 500 switches between the first sub-state and the second sub-state, the processing module 101 obtains dot matrix data of a first text of a corresponding size through the font chip 104 and sends the data to the display screen 30 for display.
[0324] Furthermore, the font size on the display screen 30 in the second sub-state is larger than that in the first sub-state, so that the font size on the display screen 30 can be easily switched through the terminal 500 to adapt to different scenarios. For example, switching to the second sub-state can adapt to the use of the elderly, while switching to the first sub-state can adapt to the use of the young.
[0325] Based on the smart wall switch 100 provided in the above embodiment, in an embodiment not shown in the figure, the present invention further provides a control method for the smart wall switch, the control method comprising:
[0326] Switchably operable between a first state and a second state;
[0327] If an external operation is received in the second state;
[0328] then switching to the first state in response to the external operation;
[0329] In the first state, the display screen displays first content, and in the second state, the display screen displays second content; the first content is used to identify the smart wall switch, and the second content is obtained from the outside.
[0330] Furthermore, the second content is defined by a user on a terminal; and the control method further includes:
[0331] After receiving the second content defined by the user on the terminal in the first state, the second state is entered to instruct the display screen to display the second content.
[0332] Furthermore, the first content includes a first text for identifying the smart wall switch; and the control method further includes:
[0333] In the first state, the system can switchably operate in the first sub-state or the second sub-state;
[0334] The size of the first text displayed on the display screen in the first sub-state is different from the size of the first text displayed on the display screen in the second sub-state.
[0335] Furthermore, the control method further includes: switching between the first sub-state and the second sub-state based on manipulation of a terminal.
[0336] like Figure 38As shown, an embodiment of the present invention further provides a smart wall switch 100.
[0337] Reference Figure 38 The smart wall switch 100 includes at least a display screen 30, a Bluetooth communication unit, and a processing module 101. The Bluetooth communication unit can be understood as a subordinate of the communication module 103 in the above embodiment. The features of this embodiment that are identical to those in the above embodiment can be understood by referring to the description of the above embodiment, and the same parts may not be repeated in this embodiment.
[0338] In the prior art, the display content of smart wall switches based on Bluetooth communication is modified locally, for example, through a direct Bluetooth connection, and cannot be modified remotely through the cloud. This limits the use scenarios of the display screens of smart wall switches based on Bluetooth communication. Based on this, the smart wall switch 100 provided in this embodiment has the ability to modify the display content through the cloud 400 when communicating externally based on a Bluetooth communication unit. Specifically:
[0339] The processing module is electrically connected to the Bluetooth communication unit to communicate externally based on Bluetooth; the smart wall switch 100 has networking capabilities.
[0340] The processing module is used to: before network distribution, respond to the designated network distribution operation to join the designated network to complete the network distribution; after the network distribution is completed, the smart wall switch can communicate with a cloud through the designated network.
[0341] In addition, after completing the network configuration, the smart wall switch 100 can access a third-party platform, and the cloud 400 can be, for example, a cloud server provided by the third-party platform; the third-party platform can be understood as an IoT platform with linkage functions and management capabilities, such as Mijia, Hongmeng, and Tuya. For example, if the third-party platform is Mijia, the corresponding cloud server can be, for example, Xiaomi's IoT cloud platform. Since the business model of such IoT platforms determines that merchants accessing the platform must comply with the communication regulations specified by the platform, and since the data carrying capacity of the communication messages based on Bluetooth communication specified by the platform is limited, and the data corresponding to the text is generally large, some third-party platforms do not support the smart wall switch 100 based on Bluetooth communication to remotely modify the text on the display screen 30 through the cloud 400, and accessing a third-party platform is a basic requirement for the smart wall switch to achieve intelligence, most of the smart wall switches based on Bluetooth communication, accessing a third-party platform and provided with a display screen in the prior art use a local direct connection method to modify the display content of the display screen, and cannot achieve remote modification on the cloud.
[0342] Based on this, the intelligent wall switch 100 provided in this embodiment can remotely define the display content of the display screen through the cloud 400 based on Bluetooth communication. Specifically: after completing the network configuration, the first text configuration message sent by the terminal through the cloud can be obtained based on Bluetooth; the text data carried in the first text configuration message instructs the display screen to display the corresponding text; wherein the text is defined by the user on the terminal.
[0343] Specifically, the terminal 500 can send the first text configuration message to the Bluetooth gateway joined by the intelligent wall switch 100 through the cloud 400, and then forward it to the intelligent wall switch 100 by the Bluetooth gateway.
[0344] It can be understood that in the prior art, the intelligent wall switch 100 based on Bluetooth communication sets the display content of the display screen 30 based on Bluetooth direct connection, which is limited in distance and cannot be applied to the application scenario of the message function which needs remote operation. Therefore, this embodiment provides an implementation mode of the intelligent wall switch 100 based on Bluetooth communication for remotely setting the display content of the display screen 30. The first text configuration information is sent by the terminal 500 and sent to the intelligent wall switch 100 through the cloud 400, so that the display content of the display screen 30 of the intelligent wall switch 100 has the ability to be remotely modified by the cloud.
[0345] In addition, in order to enable the intelligent wall switch 100 to access the third-party platform while having the ability to remotely modify the display screen content by the cloud, this embodiment further provides a corresponding data transmission mode. Specifically: the text includes characters; the number of characters carried by each first text configuration message is less than or equal to two, and if the number of characters defined by the user on the terminal 500 is greater than two, the data corresponding to the multiple characters is scattered and loaded in at least two first text configuration messages and sent to the intelligent wall switch 100, so as to reduce the capacity required by a single first text configuration message. Each first text configuration message also carries a sequence identifier, which is used to determine the arrangement order of the characters corresponding to each first text configuration message, so that the intelligent wall switch 100 can combine the obtained characters in the expected order after receiving the scattered multiple first text configuration messages, and then display them, so as to achieve the purpose of remotely defining multiple characters to the intelligent wall switch 100.
[0346] Further, the smart wall switch 100 can send the data corresponding to multiple characters multiple times respectively by dispersing, and the smart wall switch 100 can correctly splice after receiving multiple dispersed first text configuration messages to restore the order of the multiple characters when defined on the terminal, thereby reducing the carrying capacity of a single first text configuration message, so that the smart wall switch 100 can access more third-party platforms. Thus, based on the text data transmission mode given in the embodiment, the smart wall switch 100 can also achieve the purpose of remotely setting (editing, modifying, adding, etc.) the characters on the display screen through the third-party platform based on Bluetooth communication.
[0347] Further, in order to prevent the problem that all characters need to be retransmitted due to the failure of sending a character in multiple characters, in the embodiment, one character is carried in each first text configuration message, and if multiple characters are defined on the terminal 500, the data corresponding to each character is loaded in the corresponding first text configuration message and sent to the smart wall switch 100.
[0348] Further, in the embodiment, only the data corresponding to one character is carried in each first text configuration message, so as to facilitate retransmission in the case of sending exception (such as packet loss), that is, when the first text configuration message corresponding to a character in multiple characters fails to be sent, only the character needs to be retransmitted, and the characters that have been successfully sent do not need to be retransmitted.
[0349] In addition to carrying the data corresponding to the character, the first text configuration message corresponding to each character also carries a sequence identifier corresponding to the character, which is used to indicate the sorting position of the character corresponding to the first text configuration message in all characters, so as to correctly sort and display the multiple characters received by the smart wall switch 100.
[0350] In a specific example, the data corresponding to the character may, for example, be the encoding data corresponding to the character based on GB2312. After the user defines multiple characters on the terminal 500, the terminal 500 is used to generate a corresponding first text configuration message according to the encoding data corresponding to each character and the sorting position of each character, and send it to the smart wall switch 100 through the cloud. Taking “guest” as an example, the 16-bit hexadecimal string representation of the corresponding GB2312 encoding is “BFCD”. The encoding data corresponding to the character carried by the first text configuration message of the corresponding text data is “BFCD”. Of course, in other embodiments, the data corresponding to the character can also be obtained based on other standard encodings, and the embodiment does not make specific limitations.
[0351] Furthermore, to further improve communication efficiency, in this embodiment, if a user defines multiple characters on the terminal, the first text configuration messages corresponding to each character are sent sequentially according to the order in which the characters were defined on the terminal. That is, the first text configuration message corresponding to a later character is sent after the first text configuration message corresponding to the earlier character is successfully sent. If the first text configuration message corresponding to the earlier character fails to send, it will be resent.
[0352] Specifically, there is a specified time interval between the first text configuration messages corresponding to two adjacent characters, so that the smart wall switch 100 can feedback a success message to the terminal 500 after successfully receiving the first text configuration message corresponding to the previous character. The success message is used to trigger the terminal 500 to send the first text configuration message corresponding to the next character.
[0353] In other words, after the first text configuration message corresponding to the previous text is successfully sent, the smart wall switch 100 will feedback a success message to the terminal 500 to inform the terminal 500 that the current text has been successfully sent, so that the terminal 500 can continue to send the next text. After each first text configuration message corresponding to a text is sent, the terminal 500 will wait for a specified time. If a success message is received from the smart wall switch 100 within the specified time, the terminal 500 will immediately send the first text configuration message corresponding to the next text. If a success message is still not received from the smart wall switch 100 after the specified time, the terminal 500 will resend the message and wait for the specified time again after the resend. If a success message is still not received from the smart wall switch 100 after N times of sending, it is determined that the sending has failed, that is, the communication between the cloud and the smart wall switch 100 has failed, and a corresponding prompt message will be displayed to inform the user. Where N is an integer greater than or equal to 1. In a specific example, N can be 3, that is, if the message still fails after 3 resends, it is considered that the cloud communication is unreachable.
[0354] Taking "living room headlights" as an example, the corresponding GB2312-encoded hexadecimal string is "BFCDCCFCB4F3B5C6." The corresponding first data is divided into four first text configuration messages, carrying "BFCD," "CCFC," "B4F3," and "B5C6," respectively. After "BFCD" is sent, terminal 500 will wait for a specified time:
[0355] If a success message is received from the smart wall switch 100 within the specified time, "CCFC" will continue to be sent, and so on, until "BFCD", "CCFC", "B4F3" and "B5C6" are all sent;
[0356] If the smart wall switch 100 does not feed back the success information within the specified time, the "BFCD" is re-sent and the specified time is waited again. If the smart wall switch 100 still does not feed back the success information within the second specified time, the "BFCD" corresponding first text configuration message is re-sent again (i.e. the third time) and the specified time is waited. If the smart wall switch 100 still does not feed back the success information within the third specified time, the re-sending is stopped and it is considered that the communication with the smart wall switch 100 through the cloud fails.
[0357] If the sending of the "B4F3" fails (i.e. the smart wall switch 100 does not feed back the success information) after the sending of the "BFCD" and the "CCFC", only the "B4F3" is re-sent and the "BFCD" and the "CCFC" are not re-sent.
[0358] In addition, in order to improve the communication efficiency and reduce the network overhead, in the embodiment, the length of each first text configuration message is the same and is 4 bytes to 8 bytes. The data corresponding to the text carried in each first text configuration message occupies a space of less than or equal to 4 bytes.
[0359] In a specific example, the first text configuration message is composed of 4 bytes (32 bits), wherein the data corresponding to the text occupies the first two bytes and other data occupies the last two bytes. The other data can be, for example, a key value identifier, a sequence identifier, etc.
[0360] In some embodiments, the processing module is further configured to:
[0361] The second text configuration message directly sent by the terminal after the communication with the smart wall switch through the cloud fails is acquired based on the Bluetooth direct connection mode, and the display screen displays the corresponding text in response to the second text configuration message. The second text configuration message is different from the first text configuration message. Each second text configuration message can carry data corresponding to multiple texts.
[0362] Further, the smart wall switch 100 and the terminal 500 perform data interaction through the direct connection mode (such as Bluetooth direct connection). Each second text configuration message can carry data corresponding to multiple texts to improve the efficiency.
[0363] In some embodiments, the length of the second text configuration message is less than or equal to 32 bytes. If the data of the text defined by the user on the terminal occupies a space of less than 32 bytes, the corresponding second text configuration message carries the code data representing the text and the character number data indicating the number of texts. Otherwise, the second text configuration message only carries the code data representing the text.
[0364] For example, consider the phrase "living room headlight." The corresponding GB2312-encoded hexadecimal string is "BFCDCCFCB4F3B5C6." Because it's less than 32 bytes, the corresponding second text configuration message will contain "character count data" + "encoding data," i.e., "4BFCDCCFCB4F3B5C6." The "4" indicates a total of four characters. "BFCDCCFCB4F3B5C6" represents the specific content of these four characters.
[0365] In another example, taking "living room" as an example, the corresponding GB2312-encoded hexadecimal string representation is "BFCDCCFC". Since it is less than 32 bytes, a second text configuration message of the corresponding text data will carry "character quantity data" + "encoding data", that is, "2BFCDCCFC".
[0366] In another example, taking "11111111" as an example, the corresponding GB2312-encoded hexadecimal string is "A3B0A3B0A3B0A3B0A3B0A3B0A3B0A3B0". Since it is equal to 32 bytes, a second text configuration message of the corresponding text data will only carry "encoded data", that is, "A3B0A3B0A3B0A3B0A3B0A3B0A3B0A3B0".
[0367] In some embodiments, the text data is obtained by the terminal after obtaining the user-defined text and saved to the cloud and obtained from the cloud before being sent to the smart wall switch.
[0368] Specifically, the cloud 400 presents an interactive interface to the user through the terminal 500, and any text entered by the user based on the interactive interface will be directly saved to the cloud 400. When the user sends a defined text to the smart wall switch 100 based on an interactive interface (which may be the same as or different from the interactive interface for entering text mentioned above), the terminal 500 will first pull the corresponding text data from the cloud 400, then load it into the corresponding first text configuration message and send it to the smart wall switch 100 through the cloud 400.
[0369] In some embodiments, as Figure 39 As shown, the smart wall switch further includes at least one operating member 20 for accepting external operation.
[0370] The text includes a button name edited by a user on a terminal; the first text configuration message is used to modify the button name, and the button name is the button name of the first button and / or the second button arranged on the operating element 20.
[0371] Each first text configuration message carries a sequence identifier and a key value identifier; wherein, the sequence identifier is used to determine the arrangement order of the texts corresponding to each first text configuration message, so that the smart wall switch 100 can combine the obtained texts in the expected order based on the sequence identifier to obtain the first text; the key value identifier is used to indicate the target button, and the target button is at least one of the multiple buttons arranged on the operating member 20, so that the smart wall switch 100 can modify the button name of the target button to a user-defined button name according to the key value identifier.
[0372] In some embodiments, the text includes a message information edited by a user on a terminal (the message information here can be understood with reference to the second content in the above embodiment);
[0373] Each first text configuration message carries a sequence identifier, which is used to determine the arrangement order of the text corresponding to each first text configuration message, so that the smart wall switch can combine the text corresponding to the multiple scattered first configuration text messages obtained in the expected order based on the sequence identifier to obtain the message information and display it.
[0374] Based on the smart wall switch 100 provided in the above embodiment, in an embodiment not shown in the figure, the present invention further provides a control method for the smart wall switch, the control method comprising:
[0375] Before network configuration, responding to a designated network configuration operation, joining a designated network to complete network configuration; wherein after network configuration is completed, the smart wall switch is capable of communicating with a cloud via the designated network;
[0376] After the network configuration is completed, a first text configuration message sent by a terminal through the cloud can be obtained based on Bluetooth;
[0377] In response to the text data carried in the first text configuration message, the display screen is instructed to display corresponding text; wherein the text is defined by the user on the terminal.
[0378] In some embodiments, the text includes words;
[0379] The number of characters carried by each of the first text configuration messages is less than or equal to two. If the number of characters defined by the user on the terminal is greater than two, the data corresponding to the multiple characters are dispersedly loaded in at least two first text configuration messages and sent to the smart wall switch.
[0380] In some embodiments, each first text configuration message carries a character. If the user defines multiple characters on the terminal, the data corresponding to each character is loaded separately into the corresponding first text configuration message and sent to the smart wall switch.
[0381] In some embodiments, if the user defines multiple characters on the terminal, the first text configuration message corresponding to each character is sent in the order in which the multiple characters are defined on the terminal.
[0382] In some embodiments, there is a specified time interval between the first text configuration messages corresponding to two adjacent texts, so that the smart wall switch can feedback a success message to the terminal after successfully receiving the first text configuration message corresponding to the previous text. The success message is used to trigger the terminal to send the first text configuration message corresponding to the next text.
[0383] In some embodiments, the length of each first text configuration message is the same, and the length is 4 bytes to 8 bytes; the data corresponding to the text carried in each first text configuration message occupies less than or equal to 4 bytes.
[0384] In some embodiments, the control method further includes:
[0385] Obtaining, based on a Bluetooth direct connection, a second text configuration message directly sent by a terminal after failing to establish communication with the smart wall switch through the cloud;
[0386] In response to the second text configuration message, the display screen is instructed to display corresponding text; wherein the second text configuration message is different from the first text configuration message; each second text configuration message can carry data corresponding to multiple characters.
[0387] In some embodiments, the length of the second text configuration message is less than or equal to 32 bytes; if the data space occupied by the text defined by the user on the terminal is less than 32 bytes, then a corresponding second text configuration message carries encoding data for representing the text and character quantity data for indicating the number of text; otherwise, a second text configuration message only carries encoding data for representing the text.
[0388] In some embodiments, the text data is obtained by the terminal after obtaining the user-defined text and saved to the cloud and obtained from the cloud before being sent to the smart wall switch.
[0389] In some embodiments, the smart wall switch further comprises at least one operating member for accepting external operation;
[0390] The text includes button names edited by a user on a terminal;
[0391] Each first text configuration message carries a sequence identifier and a key value identifier; wherein the sequence identifier is used to determine the arrangement order of the texts corresponding to each first text configuration message, so that the smart wall switch can combine the obtained texts in the expected order based on the sequence identifier to obtain the first text; the key value identifier is used to indicate the target button, and the target button is at least one of the multiple buttons on the operating part, so that the smart wall switch can modify the button name of the target button to a user-defined button name according to the key value identifier.
[0392] In some embodiments, the text is a message edited by a user on a terminal;
[0393] Each first text configuration message carries a sequence identifier, which is used to determine the arrangement order of the text corresponding to each first text configuration message, so that the smart wall switch can combine the text corresponding to the multiple scattered first configuration text messages obtained in the expected order based on the sequence identifier to obtain the message information and display it.
[0394] In this specification, reference to terms such as "some embodiments," "a specific implementation," "a specific implementation process," or "an example" means that the specific features, structures, materials, or characteristics described in conjunction with such embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the specific features, structures, materials, or characteristics described in conjunction with the schematic expressions of the above terms may be combined in any suitable manner in any one or more embodiments or examples.
[0395] It should also be noted that the above-mentioned embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments, that is, the technical solutions disclosed in the subsequent embodiments (in the order recorded in the text) should include the technical solutions recorded in the embodiment and the technical solutions recorded in all embodiments before the embodiment.
[0396] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the above embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A smart wall switch, characterized in that: include: An operating member, a bottom shell, a base shell and a control panel, wherein the operating member and the control panel are both arranged on the base shell to form a control assembly; The control assembly is detachably connected to the bottom shell through the base shell; A power board is provided inside the bottom shell, and a female connector is provided on the upper surface of the power board; an isolation cover is provided on the open side cover of the bottom shell, and the isolation cover is clamped to the bottom shell. The isolation cover seals the power board inside the bottom shell, and the isolation cover is provided with a female connector through-hole, through which the female connector is exposed to the outside; a pin header is provided on the lower surface of the control board, and when the base shell is installed on the bottom shell, the pin header is inserted into the female connector to realize electrical connection between the control board and the power board; a display screen, electrically connected to the control board; A processing module, wherein the processing module can switchably operate between a first state and a second state, wherein in the first state, the processing module instructs the display screen to display first content; the first content includes a first text for identifying the operating element; in the second state, the processing module instructs the display screen to display second content; the second content includes a second text customized by a user on a terminal; wherein the processing module is further used to: when exiting the second state and entering the first state, instruct the display screen to no longer display the second text but to display the first text.
2. The intelligent wall switch according to claim 1, characterized in that: The processing module is electrically connected to at least one mode switching unit; the mode switching unit is provided on the control component and is electrically connected to the processing module provided on the control board through the control board; The mode switching portion is provided on a side of the control panel facing the bottom shell; the control assembly is detachably connected to the bottom shell through the base shell, so that the mode switching portion can be detached from the bottom shell along with the control assembly; The processing module is used to switch to a corresponding working mode according to the instruction of the mode switching unit.
3. The intelligent wall switch according to claim 1 or 2, characterized in that: It also includes a communication module and at least one relay; the processing module can communicate with the cloud through the communication module; the operating element includes a first button; The working modes include a second mode; In the second mode, the processing module is also used to configure the trigger function of the first button to the first function by default, and in the second mode, the processing module can receive external button function configuration data through the communication module, and switch the trigger function of the first button according to the button function configuration data; when the trigger function of the first button is configured to the first function, the first button will be associated with a relay, and the trigger result pointed to when the first button is operated is to control the action of the relay.
4. The intelligent wall switch according to claim 3, characterized in that: When the first button is configured as the second function, the processing module can: In response to the first button being operated, a preset signal is sent outward, so that the cloud receives the preset signal and controls the trigger result defined by the target scene to be executed according to the preset signal and the target scene matching the preset signal; wherein the target scene is generated after the user freely defines the mapping relationship between at least one operation event and at least one trigger result on a terminal, each preset signal represents an operation event in which a first button set to a second function is operated, and each trigger result is at least one executable function of at least one controlled device of the user to whom the smart wall switch belongs.
5. The intelligent wall switch according to claim 3, characterized in that: If communication through the cloud fails, it will switch to direct connection mode for connection; The second content is sent by the terminal to the smart wall switch via a point-to-point direct connection. Specifically: The processing module receives second data through the communication module; the second data carries data representing the second content, and the second data is directly sent by the terminal to the smart wall switch.
6. The intelligent wall switch according to claim 5, characterized in that: The second data includes a second text configuration message, and one second text configuration message can carry data corresponding to multiple characters; The length of the second text configuration message is less than or equal to 32 bytes.
7. The intelligent wall switch according to any one of claims 1, 2, 4 to 6, characterized in that: The operating member includes a mechanical button; The button is movably connected to the base shell, and the base shell is provided with an elastic support member in the covering area of each button, and the elastic support member is used to provide a reset force; The button is provided with a plurality of connecting hooks toward the base shell, and the base shell is provided with a snap-fitting position at a position corresponding to the connecting hooks. A movable space is provided on a side of the snap-fitting position away from the button, and the connecting hooks are snap-fitted to the snap-fitting position to achieve a movable connection between the button and the base shell; The connecting hooks are movable within the movable space, so that the connecting hooks can press each other with each other as fulcrums, so that all areas of the button can be pressed; Each pressing area of the key can form a first key.
8. The intelligent wall switch according to claim 7, characterized in that: There are multiple first buttons, and the multiple first buttons are arranged on the same button panel; A transparent cover is provided above the display screen, and the display screen has a display area, and the display area displays content to the outside through the transparent cover; The display area is set at the center of the transparent cover.
9. The intelligent wall switch according to any one of claims 1, 2, 4 to 6, and 8, characterized in that: The smart wall switch has a human presence sensing function, and the smart wall switch can control the display state of the display screen according to whether it senses that there is someone.
10. The intelligent wall switch according to any one of claims 1, 2, 4 to 6, and 8, characterized in that: The processing module can be switched from the second state to the first state in response to external operation being applied to the operating member.
11. The intelligent wall switch according to claim 10, characterized in that: The external operation applied to the operating member is a pressing action applied to a key of the operating member.
Citation Information
Patent Citations
Multifunctional wall switch applicable to public places
CN103839706A
Gesture controlling intelligent switch capable of controlling domestic appliance
CN105096580A
Intelligent control panel
CN109405254A
Intelligent switch control method, intelligent switch control device and storage medium
CN113419436A
Target lamp control method, equipment switch, storage medium and electronic device
CN115623638A