Switching device and control method thereof
By detecting environmental conditions and user distance through proximity sensing units, combined with custom configurations and dynamic display content, the problem of traditional switching devices being unable to respond in a personalized manner is solved, realizing intelligent screen display and operation feedback, and improving the user experience.
Patent Information
- Application Number
- CN202510940047.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2025-10-28
AI Technical Summary
Traditional switching devices lack personalized responses to different situations, such as when someone is present or when no one is present. Users cannot customize their operations according to their own needs, and existing screens display only a single content that cannot be dynamically adjusted.
A switching device and its control method are provided. The device detects environmental conditions through a proximity sensing unit, allows users to customize the screen display content and function configuration, supports independent configuration in manned/unmanned modes, triggers screen interface switching based on distance changes, and dynamically updates the display content in conjunction with the status of external devices.
It enables intelligent control of the switching device based on environmental changes and user needs, providing personalized screen displays and operational feedback, thereby improving user experience and ease of device operation.
Smart Images

Figure CN120848768A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of smart home technology, and in particular to a switch device and its control method. Background Technology
[0002] Traditional switching devices typically lack personalized responses to different scenarios, such as occupancy and vacancy, especially since the handling of occupancy and vacancy conditions is relatively fixed. In this case, users often have no choice but to accept the default settings of the switching device when switching between occupancy and vacancy, and cannot customize the operation according to their own needs. Summary of the Invention
[0003] One objective of this invention is to provide a switching device and its control method. The control method enables the switching device to intelligently adapt to changes in the working state of the environment, and the working state supports user-defined configuration. This allows users to customize the behavior of the switching device in occupied and / or unoccupied environments according to their personal preferences and needs, enabling the switching device to better adapt to different usage scenarios and environmental requirements.
[0004] Another objective of this invention is to provide a switching device and its control method, wherein the control method allows the switching device to trigger screen interface switching based on distance changes, thereby realizing segmented intelligent screen display control based on user distance.
[0005] Another objective of this invention is to provide a switching device and its control method, wherein users can personalize the screen interface content corresponding to different distance segments through configuration interfaces and terminal devices such as mobile apps. Users can customize the most suitable interface content and layout according to their own operating habits and usage scenarios for specific usage purposes at different distances, thereby meeting the needs of different usage scenarios.
[0006] Another objective of this invention is to provide a switching device and its control method, wherein the control method allows a user to freely specify the screen display content in a occupied and / or unoccupied environment on the terminal. The switching device can automatically detect changes in the surrounding environment (whether occupied or unoccupied) and dynamically adjust the screen display content according to the detection results, so that the user can flexibly set the screen display content in different situations according to personal preferences or actual needs.
[0007] Another objective of this invention is to provide a switching device and its control method. The control method allows users to pre-set different interface options according to their needs and habits through full-screen interface switching, and to dynamically switch the full-screen interface based on the detection results, thereby meeting users' needs for personalized customization of the device.
[0008] Another objective of this invention is to provide a switching device and its control method, which can display more custom text in a screen with a limited area, and the user-defined text content occupies a dedicated screen. That is, the user-defined text information and other interface content such as functional controls are displayed separately on different screen interfaces of the switching device, so that the text information will not be confused or affected by other interface content (such as functional controls), the display effect is also cleaner, and it is easy to hide when the user does not need to view it. Moreover, when the text information is switched to a hidden state, it will not affect the display and operation of other interface content such as functional controls and operation labels.
[0009] Another objective of this invention is to provide a switching device and its control method, wherein different interface options are pre-specified according to the user's selection on the terminal, including text information, operation labels, general information, time, screen saver (preset image), or no display, etc. It can communicate with the terminal to arbitrarily specify the primary interface (first primary interface, second primary interface) and / or secondary interface among these six interface options, and then switch the interface and adjust the display content accordingly based on the detected human body sensing situation to meet the user's personalized display needs and realize intelligent control and display management of the switching device in different scenarios.
[0010] Another objective of this invention is to provide a switching device and its control method, wherein the switching device can combine the status of external devices (such as temperature and humidity sensor data) to allow users to embed variable text, such as "Current room temperature: {real-time temperature} ℃". The processor updates these variables in real time based on the received external device data, ensuring that the information displayed on the screen always accurately reflects the actual situation of the external devices. In this way, users can not only specify the text information displayed on the screen, but also achieve dynamic display of text information. By dynamically updating the displayed text information according to the real-time status of the external devices, personalized and real-time information display needs are met. When the status of the external devices changes, the text information is also updated accordingly, providing users with real-time and accurate information feedback.
[0011] Another objective of this invention is to provide a switching device and its control method. This method utilizes variables to transfer variable text between external device status information and the external device's status information, providing a fast mapping method for displaying external device status information on a screen. It solves the problem of displaying both fixed and variable text on the screen, enabling the variable text to dynamically update based on the external device's operating status. By acquiring fixed and variable text and concatenating them in a specified order to form variable text information, this method achieves dynamic display of text information.
[0012] Another objective of this invention is to provide a switching device and its control method, wherein the switching device has an operation label display function through the setting and selection of a second option. The user can pre-set the operation labels to be displayed according to the different functions of the operation area (for example, freely edit the operation labels of each operation area through the terminal), and designate the primary interface (first primary interface, second primary interface) and / or secondary interface as the display operation labels, thereby more intuitively understanding the function and operation mode of the device, and improving the accuracy and convenience of the user's operation of the device.
[0013] Another objective of this invention is to provide a switching device and its control method, wherein by maintaining the display state of the operation area name and switching the display state of the icon according to its lit and off states, intuitive operational feedback is provided to the user. The user can understand the triggering state of the operation area through the icon display state, thereby gaining a more intuitive understanding of the device's working status and operation. Furthermore, by maintaining the operation area name display state unchanged during icon display state switching, the operation area function becomes more clearly visible (unaffected by icon state switching). Users can clearly understand the operation area's function, accurately operate and adjust it, improving the accuracy and convenience of device operation.
[0014] Another objective of this invention is to provide a switching device and its control method, wherein the shape of the icon can be selected to match the physical state of the controlled device, thereby simulating the current state of the controlled device through the icon (for example, simulating the controlled light fixture being turned on by the lit state of the light bulb icon, and simulating the controlled light fixture being turned off by the extinguished state of the light bulb icon), so as to form intuitive operation feedback through the change of the display state of the icon.
[0015] Another objective of this invention is to provide a switching device and its control method, wherein users can individually configure the icon of each operation label to achieve more flexible and personalized icon display.
[0016] Another objective of this invention is to provide a switching device and its control method, wherein the user can control the relay by operating the operation area, and at the same time display the icon status of the operation label in real time, thereby enhancing the user's feedback on the device operation and the real-time operation, and improving the controllability and practicality of the device.
[0017] Another objective of this invention is to provide a switching device and its control method. According to the solution provided in this embodiment, users can not only define function labels (such as "turn on light" and "adjust temperature") for each operation area on the terminal, but also select icons to represent these functions for each label. The terminal application provides an icon library for users to choose from, or allows users to upload custom icons. When a user performs an action in the operation area (such as tapping to turn on a light), the corresponding operation label icon on the screen will respond instantly, such as changing from off to on, providing intuitive feedback on the operation result. For operations controlling relays or indicator lights, after receiving the operation signal, the processor, in addition to executing the actual control action, will also synchronously update the visual state of the operation label, enhancing the user's operating experience.
[0018] Another objective of this invention is to provide a switching device and its control method, which refines the setting of the ambient light illumination atmosphere, selects different illumination atmospheres according to whether there are people or not, and allows users to customize the illumination atmosphere on the terminal. This enables the switching device to adjust the illumination state of the ambient light according to the detection results, and select a preset first illumination atmosphere or a second illumination atmosphere according to whether there are people or not, thereby improving the user's sense of control and comfort over the environmental atmosphere.
[0019] To achieve at least one of the above objectives, according to a first aspect of the present invention, a switching device control method is provided, comprising the steps of:
[0020] The system detects whether there are people in a designated area to determine the current environmental conditions. In a populated environment, it displays a first operating state of the switch device, in which at least one function of the switch device performs a target function. The first operating state is obtained by pre-configuring the target functions to be performed by each function of the switch device in a populated environment based on a target configuration item selected from multiple configuration items. Alternatively, in an unoccupied environment, it displays a second operating state of the switch device, in which at least one function of the switch device performs a target function. The second operating state is obtained by pre-configuring the target functions to be performed by each function of the switch device in an unoccupied environment based on a target configuration item selected from multiple configuration items. The target configuration item is the selected configuration item among multiple configuration items displayed by the terminal, and these configuration items are presented by the terminal in response to configuration operations performed on the switch device.
[0021] According to an embodiment of the present invention, the switching device has a screen, and the control method further includes the steps of: in a manned environment, controlling the screen to display a primary setting interface; the interface content of the primary setting interface is determined according to a target configuration item, the target configuration item being obtained based on the selection of a first configuration item among a plurality of configuration items displayed on the terminal, the selectable first configuration item being presented by the terminal in response to a configuration operation for the manned mode of the switching device; and / or, in an unmanned environment, controlling the screen to display a secondary setting interface; the interface content of the secondary setting interface is determined according to a target configuration item, the target configuration item being obtained based on the selection of a first configuration item among a plurality of configuration items displayed on the terminal, the selectable first configuration item being presented by the terminal in response to a configuration operation for the unmanned mode of the switching device.
[0022] According to an embodiment of the present invention, if the target configuration item is obtained by selecting the first option from the optional first configuration items, then the control screen displays the primary interface and / or secondary interface, specifically including: the control screen displays text information customized by the user on the terminal.
[0023] According to an embodiment of the present invention, controlling the display of text information on the control screen specifically includes: acquiring the status information of an external device; updating variable text according to the status information; wherein the update relationship between the variable text and the status information of the external device is user-defined; the status information relates to the detection output of the external device and / or the operating status of the external device itself; concatenating fixed text and the updated variable text in a specified order to form variable text information; wherein the fixed text is freely defined by the user through the editing function provided by the terminal; and displaying the variable text information in real time to reflect the real-time status of the external device.
[0024] According to an embodiment of the present invention, the switching device further includes an operation area; if the target configuration item is obtained by selecting the second option from the selectable first configuration items, the control screen displays the primary interface and / or secondary interface, specifically including: the control screen displays default or user-editable operation labels on the terminal; the operation labels are used to indicate the function of the operation area.
[0025] According to an embodiment of the present invention, the operation label includes an operation area name, and each operation area name is accompanied by an icon; the icon display state includes an on state and an off state; the control screen displays the operation label, specifically including: maintaining the display state of the operation area name in response to an operation applied to the operation area, and changing the on state or off state of the icon accompanied by each operation area name.
[0026] According to an embodiment of the present invention, a portion of the operating area is used to control the operation of a relay; operations applied to the operating area include controlling the relay to engage and controlling the relay to disengage; the control screen displays an operation label, further including: switching the icon corresponding to the name of the operating area to an illuminated state in response to the operation of controlling the relay to engage; and switching the icon corresponding to the name of the operating area to an off state in response to the operation of controlling the relay to disengage; and / or, a portion of the operating area is used to transmit signals externally, and each operating area of this portion of the operating area is correspondingly provided with at least one indicator light; operations applied to the operating area include operating the indicator light to a first illuminated state and operating the indicator light to a second illuminated state; the control screen displays an operation label, further including: switching the icon corresponding to the name of the operating area to an illuminated state in response to operating the indicator light to the first illuminated state; and switching the icon corresponding to the name of the operating area to an off state in response to operating the indicator light to the second illuminated state; the first illuminated state and the second illuminated state differ from each other by at least one of the following: emission frequency, on / off state, emission color, and emission brightness.
[0027] According to an embodiment of the present invention, before controlling the screen to display operation labels, the control method further includes: pre-storing image data of various icons, including image data of a lit state and image data of a turned-off state; matching a corresponding target icon for each operation area name in response to an icon configuration instruction from the terminal; the icon configuration instruction is generated by the terminal after a target icon in a preset icon library is selected; furthermore, when switching the icon of the corresponding operation area name to a lit state, displaying the image data of the lit state of the corresponding icon at a designated position on the screen to display the lit state of the icon of the operation area name; and when switching the icon of the corresponding operation area name to a turned-off state, displaying the image data of the turned-off state of the corresponding icon at the designated position on the screen to replace the original lit state icon to display the turned-off state of the icon of the operation area name.
[0028] According to an embodiment of the present invention, if the target configuration item is obtained by selecting the third option from the optional first configuration items, the interface content of the primary interface and / or secondary interface is pre-specified as comprehensive information, including weather, time and / or date; if the target configuration item is obtained by selecting the fourth option from the optional first configuration items, the interface content of the primary interface and / or secondary interface is pre-specified as time information; if the target configuration item is obtained by selecting the fifth option from the optional first configuration items, the interface content of the primary interface and / or secondary interface is pre-specified as a preset image; and / or, if the target configuration item is obtained by selecting the sixth option from the optional first configuration items, the interface content of the primary interface and / or secondary interface is pre-specified as no display.
[0029] According to an embodiment of the present invention, the switching device has a screen, and the control method further includes the steps of: in a human environment, controlling the screen to display a preset interface, specifically including: determining the distance to the human body, and using the distance change to trigger the screen interface switching in segments, so as to dynamically adjust the screen display interface according to the change of the human body distance in a human environment.
[0030] According to an embodiment of the present invention, when the screen interface is switched by segmenting distance changes, the interface content of the screen interface corresponding to at least one distance segment is determined according to a target configuration item. The target configuration item is obtained based on the selection of a first configuration item displayed on the terminal. The selectable first configuration item is presented by the terminal after responding to the configuration operation for the switching device.
[0031] According to an embodiment of the present invention, the screen interface switching is triggered by segmented distance changes, specifically including: when the distance is in a first distance segment, the screen is controlled to display a first default interface; when the distance is in a second distance segment, the screen is controlled to display a second default interface; wherein the first distance segment and the second distance segment do not overlap, and the interface content of the first default interface and / or the interface content of the second default interface can be defined by the user through the terminal.
[0032] According to an embodiment of the present invention, the switching device has an ambient light; the control method further includes the steps of: in a person-occupied environment, controlling the ambient light to maintain a first luminous atmosphere; the first luminous atmosphere is determined according to a target configuration item, the target configuration item being obtained based on the selection of a second configuration item from a plurality of configuration items displayed on the terminal, the selectable second configuration item being presented by the terminal in response to a configuration operation for a person-occupied mode of the switching device; and / or, in an unoccupied environment, controlling the ambient light to maintain a second luminous atmosphere; the second luminous atmosphere is determined according to a target configuration item, the target configuration item being obtained based on the selection of a second configuration item from a plurality of configuration items displayed on the terminal, the selectable second configuration item being presented by the terminal in response to a configuration operation for an unoccupied mode of the switching device; the luminous effect in the first luminous atmosphere and / or the second luminous atmosphere is obtained by determining at least one of a flowing light effect, brightness, and color based on the selected item from the selectable second configuration item.
[0033] To achieve at least one of the above objectives, according to a second aspect of the present invention, a switching device control method is provided, comprising: displaying, in response to a configuration operation for the switching device: a plurality of configuration items in a manned mode, each configuration item corresponding to a function item of the switching device in a manned environment; and / or, a plurality of configuration items in an unmanned mode, each configuration item corresponding to a function item of the switching device in an unmanned environment; configuring, in response to a selected configuration item among the plurality of configuration items in the manned mode, a target function to be performed by each function item when the switching device is in a manned environment, to determine a first operating state of the switching device; and / or, in response to a selected configuration item among the plurality of configuration items in the unmanned mode, configuring, a target function to be performed by each function item when the switching device is in an unmanned environment, to determine a second operating state of the switching device.
[0034] To achieve at least one of the above objectives, according to a third aspect of the present invention, a switching device is provided, comprising hardware components and software programs required for implementing the switching device control method, capable of realizing all or part of the functions of the method.
[0035] According to a fourth aspect of the present invention, a method for controlling a switch device is provided, wherein the switch device includes an operation area; the control method includes: controlling a screen to display default or user-editable operation labels on a terminal; the operation labels are used to indicate the function of the operation area.
[0036] According to an embodiment of the present invention, the operation label further includes an operation area name, each operation area name being accompanied by an icon; the icon display state includes an on state and an off state; controlling the screen to display the operation label specifically includes: maintaining the display state of the operation area name in response to an operation applied to the operation area, and changing the on state or off state of the icon accompanied by each operation area name.
[0037] According to an embodiment of the present invention, a portion of the operating area is used to control the operation of a relay; the operations applied to the operating area include controlling the relay to engage and controlling the relay to disengage; the control screen displays an operation label, further including: switching the icon corresponding to the name of the operating area to an illuminated state in response to the operation of controlling the relay to engage; and switching the icon corresponding to the name of the operating area to an off state in response to the operation of controlling the relay to disengage; and / or, a portion of the operating area is used to send signals externally, and each operating area of this portion of the operating area is correspondingly provided with at least one indicator light; the operations applied to the operating area include the operation of putting the indicator light in a first illuminated state and the operation of putting the indicator light in a second illuminated state; further including: switching the icon corresponding to the name of the operating area to an illuminated state in response to the operation of putting the indicator light in the first illuminated state; and switching the icon corresponding to the name of the operating area to an off state in response to the operation of putting the indicator light in the second illuminated state; the first illuminated state and the second illuminated state differ from each other by at least one of the following: luminous frequency, on / off state, luminous color, and luminous brightness.
[0038] According to an embodiment of the present invention, before controlling the screen to display operation labels, the control method further includes: pre-storing image data of various icons, including image data of a lit state and image data of a turned-off state; matching a corresponding target icon for each operation area name in response to an icon configuration instruction from the terminal; the icon configuration instruction is generated by the terminal after a target icon in a preset icon library is selected; furthermore, when switching the icon of the corresponding operation area name to a lit state, displaying the image data of the lit state of the corresponding icon at a designated position on the screen to display the lit state of the icon of the operation area name; and when switching the icon of the corresponding operation area name to a turned-off state, displaying the image data of the turned-off state of the corresponding icon at the designated position on the screen to replace the original lit state icon to display the turned-off state of the icon of the operation area name.
[0039] It should be understood that the foregoing general description and the following detailed description are merely exemplary and explanatory, and do not limit the invention. The foregoing inventive concepts can be combined in any way, and these and other objectives of the invention will be fully realized through the following detailed description and accompanying drawings. It should be understood that the foregoing general description and the following detailed description are merely exemplary and explanatory, and do not limit the invention. Attached Figure Description
[0040] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the accompanying drawings used in the description of the embodiments or the prior art will be briefly introduced below.
[0041] Figure 1 This is a flowchart illustrating a switching device control method according to an embodiment of the present invention. Figure 1 ;
[0042] Figure 2 This is a flowchart illustrating a switching device control method according to an embodiment of the present invention. Figure 2 ;
[0043] Figure 3 This is a schematic diagram of a switching device automatically adjusting the content of the screen display interface based on the detected user distance data in one embodiment of the present invention;
[0044] Figure 4 This is a flowchart illustrating a switching device control method according to an embodiment of the present invention. Figure 3 ;
[0045] Figure 5 This is a schematic diagram illustrating the specific interface setting process of designating the initial interface as text information in one embodiment of the present invention;
[0046] Figure 6 This is a schematic diagram illustrating the specific interface setting process of designating the secondary interface as text information in one embodiment of the present invention;
[0047] Figure 7 This is a schematic diagram illustrating the specific interface setting process in one embodiment of the present invention, in which the primary interface is designated as text information and the secondary interface is designated as comprehensive information.
[0048] Figure 8 This is a schematic diagram of the secondary interface displaying comprehensive information of the screen switch in one embodiment of the present invention;
[0049] Figure 9 This is a schematic diagram illustrating the specific interface setting process in one embodiment of the present invention, in which the primary interface is designated as text information and the secondary interface is designated as time information.
[0050] Figure 10 This is a schematic diagram of the interface change from the secondary interface to the main interface of the screen switch in one embodiment of the present invention.
[0051] Figure 11 This is a flowchart illustrating the specific operation of fixing text information in one embodiment of the present invention;
[0052] Figure 12 This is a schematic diagram illustrating the display effect of fixed text information on the switching device in one embodiment of the present invention;
[0053] Figure 13 This is a schematic diagram of the display effect of variable text information on the switching device when a smart lighting control scenario is realized using dynamic text information in one embodiment of the present invention.
[0054] Figure 14This is a schematic diagram illustrating the display effect of variable text information on the switch device when a smart home scene is realized using dynamic text information in one embodiment of the present invention.
[0055] Figure 15 This is a schematic diagram illustrating the specific interface setting process of designating the initial interface as an operation label in one embodiment of the present invention;
[0056] Figure 16 This is a schematic diagram illustrating the display effect of the operation label on the switch device in one embodiment of the present invention;
[0057] Figure 17 This is a schematic diagram illustrating the display effect of an operation label with an icon on a switching device according to an embodiment of the present invention. Figure 1 ;
[0058] Figure 18 This is a schematic diagram illustrating the display effect of an operation label with an icon on a switching device according to an embodiment of the present invention. Figure 2 ;
[0059] Figure 19 This is a schematic diagram illustrating the display effect of an operation label with an icon on a switching device according to an embodiment of the present invention. Figure 3 ;
[0060] Figure 20 In one embodiment of the present invention, Figure 18 A schematic diagram of the interface operation for matching "Button 3" with the "Game Mode" icon;
[0061] Figure 21 This is a schematic diagram of an interface operation in which icons are matched from the icon library for the operation area according to an embodiment of the present invention;
[0062] Figure 22 This is a schematic diagram of the interface operation for setting the emission color of an ambient light in one embodiment of the present invention;
[0063] Figure 23 This is a schematic diagram of the screen global settings interface in one embodiment of the present invention;
[0064] Figure 24 This is a flowchart illustrating a switching device control method according to an embodiment of the present invention. Figure 4 ;
[0065] Figure 25 This is a schematic diagram of a switching device according to an embodiment of the present invention. Detailed Implementation
[0066] The embodiments of the present invention will now be described in detail. It should be understood that in the description of all embodiments of the present invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Terms such as "coupled" and "connected" should be interpreted broadly; for example, they can refer to electrical connections or mutual communication; they can refer to direct connections or indirect connections through an intermediate medium to form a linkage relationship; they can refer to the internal connection of two elements or the interaction between two elements. Those skilled in the art can understand the specific meaning of the above terms in the present invention according to the specific circumstances. In the embodiments of the present invention, the symbol " / " indicates the simultaneous presence of two functions. The symbol "A and / or B" indicates that the combination between the preceding and following objects connected by this symbol includes three cases: "A", "B", and "A and B".
[0067] Traditional switching devices typically lack personalized responses to different scenarios, such as occupancy and vacancy, especially since the handling of occupant and vacant conditions is relatively fixed. In such cases, users often have to accept the default settings of the switching device when switching between occupant and vacant environments, and cannot customize the operation according to their own needs. Therefore, this invention provides a switching device control method that supports independent custom configuration in occupant and vacant modes. Figure 24 As shown, the switching device can communicate with a terminal. The switching device includes a processor and a proximity sensing unit; wherein, the proximity sensing unit is electrically connected to the processor and is used to detect whether there is a person in the environment. The switching device control method provided in this embodiment is applicable to the processor. Figure 1As shown, the control method for the switching device includes at least step S1, and at least one of S2 and S3. Specifically: S1: Detect whether there is a person in a designated area to determine the current environmental condition. The environmental condition is mainly divided into occupied and unoccupied. When a person is detected in the designated area, it is determined to be an occupied environment; when no person is detected in the designated area, it is determined to be an unoccupied environment. S2: In an occupied environment, display the first working state of the switching device. In the first working state, at least one functional item of the switching device executes a target function. The first working state is obtained by pre-configuring the target functions to be executed by each functional item of the switching device in an occupied environment based on a target configuration item selected from multiple configuration items. It can be understood that the first working state is manifested by the execution of corresponding functions by each functional item of the switching device (e.g., screen display function, ambient light illumination function, button indicator function, etc.). The function executed by the functional item can be a default setting or a function pre-specified by the user. If the function pre-specified by the user is the target function, then in the first working state, at least one functional item of the switching device is pre-specified to execute the target function. S3. In an unmanned environment, a second operating state of the switching device is displayed. In this second operating state, at least one functional item of the switching device performs a target function. The second operating state is obtained by pre-configuring the target functions to be performed by each functional item of the switching device in the unmanned environment based on a target configuration item selected from multiple configuration items. Similar to the manned environment, the second operating state is manifested by each functional item of the switching device performing its corresponding function. The function performed by the functional item can be a default setting or a function pre-specified by the user. If the function pre-specified by the user is the target function, then in the second operating state, at least one functional item of the switching device is pre-specified to perform the target function.
[0068] In this configuration, the multiple configuration items used in configuring the first working state and the multiple configuration items used in configuring the second working state can be the same or different. Similarly, the target configuration item selected in configuring the first working state and the target configuration item selected in configuring the second working state can be the same or different. In general, the target configuration items used in configuring both the first and second working states are the selected configuration items from the multiple configuration items displayed by the terminal. These configuration items are presented by the terminal in response to configuration operations performed on the switching device.
[0069] Specifically, the control method provided in this embodiment is divided into a configuration phase and a normal operation phase. The configuration phase should be understood as the phase of configuring the operating state of the switching device in different environments (manned / unmanned). Specifically, in the configuration phase, the control method provided in this embodiment features a highly flexible and customizable configuration process, designed to meet the user's precise control needs for the switching device in different environments (manned / unmanned).
[0070] Occupied Mode Configuration: When a user configures the switch via a terminal (such as a mobile app, touchscreen panel, or other control device), the terminal will display a series of configuration items related to the "occupied" environment. For example... Figure 5 As shown, after the user enters the corresponding settings interface through the "Personalized Settings" option, the terminal further displays "Occupied Status Settings" and "Unoccupied Status Settings" options. When the user selects the "Occupied Status Settings" option, the terminal further presents, but is not limited to, multiple configuration items such as screen display content, light strip mode, light strip brightness, light strip color, and button indicator brightness. Each configuration item corresponds to a function of the switch device that can be configured in occupied environments. For example, the "Screen Display Content" configuration item corresponds to the screen display function of the switch device; the "Light Strip Mode," "Light Strip Brightness," and "Light Strip Color" configuration items correspond to the ambient light illumination function of the switch device; and the "Button Indicator Brightness" configuration item corresponds to the button indicator function of the switch device. After the user selects or adjusts the parameters of each configuration item according to actual needs, the terminal will generate corresponding preset commands.
[0071] Unmanned mode configuration: Similarly, after the user selects the "Unmanned state setting" option, the configuration items for the "unmanned" environment are displayed to the user. These configuration items can be the same as or different from the configuration items for the manned mode. Similarly, each configuration item here also corresponds to a function item that can be configured in the unmanned environment of the switch device. After the user selects or adjusts the parameters of each configuration item according to actual needs, the terminal will generate the corresponding preset instructions.
[0072] Once the user completes the configuration phase and generates preset instructions, the switching device will configure the first working state in a manned environment and / or the second working state in an unmanned environment according to the preset instructions.
[0073] After configuration, the switch will enter the response phase (i.e., normal operation phase): determining whether someone is in the environment. If someone is detected (i.e., occupied environment): the switch will automatically apply the first operating state set by the user in "occupied mode". This first operating state may, for example, switch the screen to the corresponding interface, adjust the ambient lighting to a predetermined atmosphere, and adjust the indicator lights to a specified color (brightness), creating a user environment that matches the user's preferences. And / or, if no one is detected (i.e., unoccupied environment): it will switch to the second operating state set in "unoccupied mode". This second operating state may, for example, perform operations such as reducing screen brightness or turning off unnecessary lights.
[0074] In other words, the first and / or second operating states of the switching device are pre-configured during the configuration phase in response to preset instructions. Specifically, during the configuration phase, the switching device receives preset instructions; these preset instructions are generated by the terminal after displaying multiple configuration items for the occupant mode in response to a configuration operation on the switching device, based on the selected configuration item from the multiple configuration items for the occupant mode, with each configuration item corresponding to a function item of the switching device in an occupant environment; and / or, generated by the terminal after displaying multiple configuration items for the unoccupied mode in response to a configuration operation on the switching device, based on the selected configuration item from the multiple configuration items for the unoccupied mode, with each configuration item corresponding to a function item of the switching device in an unoccupied environment.
[0075] Furthermore, the control method provided in this embodiment enables the switching device to intelligently adapt to changes in the working state of the environment, and the working state supports user-defined configuration, allowing users to customize the behavior of the switching device in occupied and / or unoccupied environments according to their personal preferences and needs, so that the switching device can better adapt to different usage scenarios and environmental requirements.
[0076] In some embodiments, the switching device has a screen electrically connected to the processor for receiving instructions sent by the processor and controlling the screen display.
[0077] Existing screen switches with human body sensing capabilities (i.e., switches with displays) typically have basic applications in screen control, mainly focusing on sensing human activity to automatically turn the screen on or off. These applications often fail to delve into dynamically adjusting the screen display content based on environmental changes or specific user needs. This results in existing screen switches having monotonous and fixed interface content, unable to dynamically adjust the displayed content according to environmental changes or user requirements, and thus failing to meet users' increasingly personalized display needs.
[0078] Based on this, the present invention provides a switching device and its control method, which allows users to customize the working state including the content of the screen display interface, so that the content displayed on the screen interface can dynamically change according to the changes in the environmental state of the switching device, in order to meet richer and more complex display needs.
[0079] Specifically, the present invention provides two feasible embodiments:
[0080] In one embodiment, such as Figure 2 As shown, the control method aims to allow the switching device to automatically adjust the content of the screen display interface based on the detected user distance data. The screen interface content corresponding to different distances can be configured individually by the terminal, and the switching device can dynamically select and display the corresponding screen interaction interface to realize intelligent screen interaction control based on user distance and meet the customized requirements of different usage scenarios and user needs.
[0081] In another embodiment, such as Figure 4 As shown, the control method aims to allow the screen content of the switching device to switch according to changes in the environment state of whether there are people or not, so that the switching device has the function of dynamically adjusting the screen display content according to changes in the environment of whether there are people or not or specific user needs, in order to meet richer and more complex display needs.
[0082] The following is for example Figure 2 The embodiments shown will be elaborated upon here, according to Figure 2 Therefore, in this embodiment, the control method further includes the step of: in a manned environment, controlling the screen to display the initial interface. Specifically, this includes S11 and S12, wherein:
[0083] S11. Determining Human Distance. Specifically, human distance can be detected and determined using technologies such as infrared, ultrasound, laser ranging modules, millimeter-wave radar sensors, and vision-based depth cameras. In specific applications, the appropriate distance detection technology can be selected based on the needs of the actual application scenario to provide reliable distance data support for subsequent control methods. For example, a millimeter-wave radar sensor is used for human distance detection. This radar sensor utilizes electromagnetic waves in the millimeter-wave band (30GHz-300GHz, specifically 24GHz or 60GHz bands) for human detection and distance measurement. Its working principle is roughly as follows: A millimeter-wave transmitter generates a high-frequency millimeter-wave signal, which is transmitted to the target direction through an antenna. The frequency and phase characteristics of the transmitted signal are precisely controlled and modulated. After receiving the millimeter-wave signal reflected from the target, the distance between the target and the radar can be calculated by analyzing the frequency, phase, and other parameters of the reflected signal. The target distance is calculated using the time difference between the transmitted and received signals, combined with the propagation speed of electromagnetic waves (speed of light). The greater the time difference, the farther the target distance. Through high-precision time measurement, millimeter-level distance resolution can be obtained.
[0084] S12. The screen interface is switched in segments based on distance changes, so as to dynamically adjust the screen display interface according to the distance to the human body in a human environment. Specifically, when the distance is within a certain range, the screen interface with the corresponding content is displayed. By analyzing the proximity distance between the user and the switch device, the current distance range of the user is inferred, and the screen display is adjusted accordingly.
[0085] Furthermore, the control method provided in this embodiment allows the switch device to trigger screen interface switching based on distance changes, realizing segmented intelligent screen display control based on user distance and improving the human-computer interaction experience of the wall switch device.
[0086] Furthermore, when the screen interface switching is triggered by distance changes in segments, the content of the screen interface corresponding to at least one distance segment is determined based on a target configuration item. This target configuration item is obtained based on the selection of a first configuration item displayed on the terminal. The selectable first configuration item is presented by the terminal in response to a configuration operation on the switching device, for example... Figure 5 The "Screen Display Content" configuration item is shown under the "Occupied Status Settings" option.
[0087] In some solutions, when distance changes are divided into multiple segments, this control method allows the user to customize the screen interface for one segment via the terminal, while the screen interface for another segment remains the default and cannot be modified. In other solutions, when distance changes are divided into multiple segments, this control method allows the user to customize the screen interface for each segment via the terminal, thus enabling more flexible and personalized display options for users.
[0088] Furthermore, users can personalize the screen interface content for different distance segments through configuration interfaces and terminal devices such as mobile apps. Users can customize the most suitable interface content and layout according to their own operating habits and usage scenarios for specific usage purposes at different distances, thus meeting the needs of different usage scenarios.
[0089] Furthermore, the screen interface switching is triggered by distance changes in segments, specifically including: when the distance is in the first distance segment, the screen displays the first default interface; when the distance is in the second distance segment, the screen displays the second default interface; wherein the first distance segment and the second distance segment do not overlap, and the interface content of the first default interface and / or the interface content of the second default interface can be defined by the user through the terminal.
[0090] Specifically, when a person is detected, the system will be further divided into at least two distance segments to trigger different interfaces on the screen. The distance parameters of each distance segment can be continuous but do not overlap, so that the screen content can be triggered in segments according to the distance segment in which the user and the switch device are located.
[0091] In some examples, such as Figure 3As shown, the switch device can detect the distance of a human body approaching. When the distance is in the first distance range (e.g., 60cm-80cm), the screen displays the first interface; when the distance is in the second distance range (e.g., 40cm-60cm), the screen displays the second interface; and when the distance is in the third distance range (e.g., 0cm-40cm), the screen displays the third interface. The content of the first to third interfaces can be configured individually on the terminal to trigger corresponding interface content based on different human body distances. For example, the first interface can be configured to display general information, the second interface to display time information, and the third interface to display operation labels. Therefore, when the user is within a distance range of 60cm-80cm from the switch device, the screen will display general information. If the user remains within this distance range, the screen will maintain the display of general information. If the user moves towards the switch device, as the distance between the user and the switch device gradually decreases, the screen will sequentially switch to time information, operation labels (e.g., 0cm-40cm), and so on. Figure 3 As shown in the figure, this achieves the effect of dynamically switching the content displayed on the screen as the user approaches the switch device.
[0092] The following is for example Figure 4 The embodiments shown will be elaborated upon here, according to Figure 4 Therefore, in this embodiment, the control method further includes steps S21 and / or S22. Wherein:
[0093] S21. In a manned environment, the control screen displays the initial setup interface; the content of the initial setup interface is determined according to the target configuration item, which is obtained based on the selection of the first configuration item among multiple configuration items displayed on the terminal. The selectable first configuration item is presented by the terminal in response to the configuration operation of the switch device in manned mode.
[0094] S22. In an unmanned environment, the control screen displays a secondary configuration interface; the content of the secondary configuration interface is determined according to the target configuration item, which is obtained based on the selection of the first configuration item among multiple configuration items displayed on the terminal. The selectable first configuration item is presented by the terminal in response to the configuration operation for the unmanned mode of the switching device.
[0095] Specifically, among the multiple configuration items displayed on the terminal is a first configuration item, which is used to configure the screen's interface content. There can be multiple first configuration items, each corresponding to an optional interface content; different first configuration items map to different interface content. If the target configuration item is obtained based on the terminal user's selection of the first configuration item from among the multiple configuration items displayed on the terminal, then the preset instruction generated after the target configuration item is generated is used to determine the interface content of the primary interface (the interface before adjustment) and / or the secondary interface (the interface after adjustment). The preset instruction can be sent directly or indirectly by the terminal. Direct sending can be understood as a point-to-point communication connection achieved through Bluetooth direct connection, WIFI hotspot direct connection, etc. Indirect sending can be understood as sending through relay devices such as the cloud, gateway, and router. These relay devices can directly forward the preset instruction, or process the preset instruction according to the specific usage scenario (e.g., protocol conversion) before sending it to the switch device. Furthermore, through the cloud, remote control and management of the switch device can be realized, allowing for adjustments to the interface content anytime, anywhere as needed, enhancing the device's intelligent management functions.
[0096] like Figure 5 As shown, after the user enters the corresponding settings interface through the "Personalization Settings" option, the terminal further displays the "Screen Display Content" item, which can be regarded as the first configuration item, used to configure the screen display content. Furthermore, the options under the "Available State Settings" item are the first configuration items corresponding to the initial settings interface, and the options under the "Unoccupied State Settings" item are the first configuration items corresponding to the secondary settings interface.
[0097] Furthermore, according to the above solution, the switching device control method provided in this embodiment of the invention allows users to freely specify the screen display content in a manned and / or unmanned environment on the terminal. The switching device can automatically detect changes in the surrounding environment (whether manned or unmanned) and dynamically adjust the screen display content according to the detection results, so that users can flexibly set the screen display content in different situations according to their personal preferences or actual needs.
[0098] In some embodiments, when switching between a occupant and an unoccupied environment, local changes to the interface are implemented based on the detection results (e.g., adding or removing interface content). Specifically, if someone is detected, the screen displays the initial interface; if no one is detected, the screen displays a secondary interface. The initial and secondary interfaces share at least some identical content to achieve the effect of localized dynamic adjustment of the interface content.
[0099] For example, the initial interface is defined to display the date and weather, while the secondary interface is defined to display only the date and not the weather. When someone is detected, the screen displays both the date and weather; when the screen switches from occupied to unoccupied, it displays only the date. Conversely, when the screen is unoccupied, it displays the date; when the screen switches from unoccupied to occupied, it displays both the date and weather. This achieves dynamic adjustment of the weather display based on the presence or absence of people in the interface.
[0100] In other embodiments, a full-screen interface switching scheme is also provided, that is, when switching between a occupant and an unoccupied environment, a full-screen interface switching is implemented based on the detection result. Specifically: if occupant is detected, the screen is controlled to display the initial interface; the content of the initial interface is determined according to the initial display command; the initial display command is a type of preset command, derived from the selection made by the end user among multiple preset initial interface options; the initial interface option is the first configuration item in the occupant mode (e.g., ...). Figure 5 (The optional items under "Occupied Status Settings"); if it is determined that no one is present, the control screen displays the secondary settings interface; the content of the secondary settings interface is determined according to the secondary settings display instructions; the secondary settings display instructions are another type of preset instructions, which originate from the end user's selection among multiple preset secondary settings interface options; the secondary settings interface options are the first configuration item in unoccupied mode (such as...). Figure 6 (The optional items under "Unattended Status Settings").
[0101] Furthermore, the control method provided in this embodiment allows users to pre-set different interface options according to their needs and habits through full-screen interface switching, and dynamically switch the full-screen interface based on the detection results, thus meeting users' needs for personalized customization of the device.
[0102] Furthermore, full-screen interface transitions are particularly suitable for switches with limited screen size (smaller screens). These switches often have limited screen area and may only support displaying one or a limited number of items (such as operation labels, time, or weather), making localized dynamic adjustments unsuitable. Due to their limited screen size, full-screen interface transitions maximize information display within that limited space. Intelligent interface transitions and dynamic adjustments allow for more information to be displayed on a limited screen, improving efficiency and usability. In products with limited screen size, user interface design needs to be more concise and clear. Full-screen interface transitions simplify and streamline user operations through simple interface switching and dynamic adjustments, reducing the user's workload and improving the user experience.
[0103] Furthermore, it should be noted that in this solution, the preset instructions include primary display instructions and / or secondary display instructions, which can be specifically divided into three cases:
[0104] In the first scenario, only the initial interface supports user-defined settings, meaning that the preset instructions include initial display instructions; the content of the initial interface is determined according to the initial display instructions; the initial display instructions originate from the user's selection among multiple preset initial interface options, allowing the user to freely specify the interface display content when someone is present. Furthermore, each initial interface option represents a unique interface content to ensure differentiation of interface content under different selections.
[0105] In the second scenario, only the secondary interface supports user-defined specifications, meaning that the preset instructions include secondary display instructions; wherein, the interface content of the secondary interface is determined according to the secondary display instructions; the secondary display instructions originate from the user's selection among multiple preset secondary interface options, allowing the user to freely specify the interface display content when no one is present. Furthermore, each secondary interface option represents a unique interface content to ensure differentiation of interface content under different selections.
[0106] In the third scenario, both the primary and secondary interfaces support user-defined settings. Specifically, the preset instructions include primary display instructions and secondary display instructions. The content of the primary interface is determined based on the primary display instructions. The primary display instructions originate from the user's selection among multiple preset primary interface options. The content of the secondary interface is determined based on the secondary display instructions. The secondary display instructions originate from the user's selection among multiple preset secondary interface options.
[0107] Each primary / secondary interface option represents a unique interface content to ensure the differentiation of interface content under different selections, and the interface content mapped by the same interface option is consistent between the primary and secondary interface options.
[0108] In the third case, both the manned display interface (primary interface) and the unmanned display interface (secondary interface) of the switching device can be customized by the user, allowing the user to create more complex dynamic screen switching effects according to actual needs.
[0109] In the following embodiments, unless otherwise specified, all three situations described above apply. In the embodiment applicable to the first situation, the preset instruction can be understood as the first display instruction, and the interface content can be understood as the interface content of the first interface. In the embodiment applicable to the second situation, the preset instruction can be understood as the secondary display instruction, and the interface content can be understood as the interface content of the secondary interface. In the embodiment applicable to the third situation, the preset instruction can be understood as both the first display instruction and the secondary display instruction, and the interface content can be understood as both the interface content of the first interface and the interface content of the secondary interface.
[0110] Furthermore, to ensure differentiation of interface content under different selections, each interface option represents a unique interface content. In some application scenarios, to ensure that the primary and secondary interfaces can be set to be the same to meet the display consistency needs of some users, the interface content mapped to the same interface option is consistent between the primary and secondary interface options.
[0111] In some embodiments, optional implementations of the optional first configuration item are further provided. Specifically, the optional first configuration item (a plurality of preset primary interface options and a plurality of preset secondary interface options) may include one or more of the first option to the sixth option. The plurality of preset primary interface options and the plurality of preset secondary interface options may be completely identical or different. For example, if the plurality of preset primary interface options include the first option to the sixth option, and the plurality of preset secondary interface options also include the first option to the sixth option, then the primary interface options and the secondary interface options are completely identical. The interface content mapped to the same interface option is consistent. For example, if the user selects the first option in the primary interface option selection scenario, and the user also selects the first option in the secondary interface option selection scenario, then the interface content of the primary interface and the interface content of the secondary interface will be consistent.
[0112] It should be noted that, in the following embodiments, the following will be as follows: Figure 2 He Ru Figure 4 The embodiments shown are described in a combined manner, meaning that the implementation methods related to the initial interface in the following embodiments can be used as examples such as... Figure 2 The "first initial interface" and "second initial interface" in the illustrated embodiments are one optional implementation, and can also be used as... Figure 4 An alternative implementation of the "initial interface" in the illustrated embodiment.
[0113] The first configuration item corresponds to a screen display function item of the switch device. Each optional option under the first configuration item corresponds to an executable function of the screen display function item. The user configures the target function of the screen display function item of the switch device by selecting the corresponding optional option. For example, if the user selects the first option, the screen display function item in the first working state / second working state will execute the target function of displaying text information in both occupied and unoccupied environments. The following describes the specific interface content mapped to each optional first configuration item (primary interface option, secondary interface option):
[0114] The first option is used to display text information. That is, if the target configuration item is obtained by selecting the first option from the available first configuration items, then the control screen displays the primary interface (first primary interface, second primary interface) and / or secondary interface, specifically including: the control screen displays the text information customized by the user on the terminal.
[0115] Specifically, if the interface content of the initial interface (first initial interface, second initial interface) is configured, and the corresponding target configuration item is obtained by selecting the first option from the available first configuration items, then the initial interface (first initial interface, second initial interface) is pre-specified as text information, and then the screen displays the initial interface (first initial interface, second initial interface) specifically by controlling the screen to display the text information customized by the user on the terminal.
[0116] Similarly, if the target configuration item is selected from the first option in the available first configuration items when configuring the content of the secondary interface, then the secondary interface is pre-specified as text information, and the screen display of the secondary interface is specifically controlled to display the text information customized by the user on the terminal.
[0117] Further explanation: During the screen configuration phase, the user selects the first option through the interface on the terminal, sending the corresponding preset command (primary display command and / or secondary display command) to the switch device. This command instructs the processor to display text information when it determines that someone is present and / or no one is present. The user can freely define and edit the text information using the editing functions provided on the terminal. This editing process can be completed before or after selecting the first option. After editing, the switch device will display the text information in real time in the text display area of the customized panel interface based on the detection results. In this way, users can customize the panel interface according to their preferences and needs, achieving personalized information display requirements.
[0118] If only the initial settings interface (first initial settings interface and second initial settings interface) supports user customization, the terminal user can select a first option during the screen configuration phase to generate an initial display instruction. This initial display instruction is directly or indirectly transmitted to the switching device, which then specifies the interface content of the initial settings interface (first initial settings interface and second initial settings interface) as text information based on the instruction. During normal use, if someone is detected, the initial settings interface (first initial settings interface and second initial settings interface) will be displayed, showing the user-defined text information on the screen. When no one is detected, the system switches to a secondary settings interface, which can contain other fixed content that cannot be modified by the user (e.g., time, screensaver, weather, etc.). Figure 5 As shown, a specific interface setting process is given for specifying text information as the initial interface (first initial interface, second initial interface). For example... Figure 5 As shown, the user enters the app interface of the switch device through the terminal, clicks the "Personalized Settings" option to enter its configuration interface, and further clicks the "Occupied Status Settings" option to enter the occupied mode working status configuration interface. This interface has multiple configuration items, such as... Figure 5 The options include "Screen Display Content," "Flowing Light Strip Mode," "Flowing Light Strip Brightness," "Flowing Light Strip Color," and "Button Indicator Brightness." "Screen Display Content" configures the content of the initial interface (First Initial Interface, Second Initial Interface). This option has several first configuration items ("Button Name," "General," "Time," "Custom Text Display," "Image Screensaver," "No Display"). Further selecting the "Custom Text Display" option will specify text information as the interface content of the initial interface (First Initial Interface, Second Initial Interface).
[0119] If only the secondary device interface supports user-defined settings, the terminal user can select a first option during the screen configuration phase to generate a secondary device display command. This secondary device display command is directly or indirectly transmitted to the switching device, which then specifies the interface content of the secondary device interface as text information based on the command. During normal use, if no one is present, the secondary device interface will be displayed, showing the user-defined text information on the screen. When someone is present, the system switches to the primary device interface (first primary device interface, second primary device interface). The primary device interface (first primary device interface, second primary device interface) can contain other fixed interface content that cannot be modified by the user (e.g., button names). Figure 6 As shown, a specific interface setup process for specifying secondary interfaces as text information is presented. (Compared to...) Figure 5 Similarly, such as Figure 6 As shown, the user enters the app interface of the switch device through the terminal, clicks the "Personalized Settings" option to enter its configuration interface, and further clicks the "Unattended Mode Settings" option in this interface to enter the unattended mode working status configuration interface. This interface has multiple configuration items, such as... Figure 6 The options include "Screen Display Content," "Flowing Light Strip Mode," "Flowing Light Strip Brightness," "Flowing Light Strip Color," and "Button Indicator Brightness." "Screen Display Content" configures the secondary interface content. This option has several primary configuration items ("Button Name," "General," "Time," "Custom Text Display," "Image Screensaver," and "No Display"). Selecting "Custom Text Display" will specify text information as the secondary interface content.
[0120] If both the primary interface (first primary interface, second primary interface) and the secondary interface support user customization, the end user can configure the text information mapped to the first option for either the primary interface (first primary interface, second primary interface) or the secondary interface during the screen configuration phase. Alternatively, the end user can configure both the primary interface (first primary interface, second primary interface) and the secondary interface to this text information during the screen configuration phase, so that the screen will always display the text information regardless of whether there are people or not.
[0121] Furthermore, users can select the first option to display the desired text on the primary settings interface (first primary settings interface, second primary settings interface) and / or secondary settings interface, achieving various usage effects such as leaving messages, mottos, and notes. The displayed text information occupies one screen of the switch device's interface content, thus allowing more text to be displayed even with the limited screen area of the switch device. Compared to reserving a small area in the screen display content to display custom text information, the method provided in this embodiment can display more custom text in a limited screen area, and the user-defined text content occupies an entire screen. That is, the user-defined text information and other interface content such as function controls are displayed separately on different screen interfaces of the switch device, so that the text information will not be confused or affected by other interface content (such as function controls), and the display effect is also cleaner. It is also easy to hide when the user does not need to view it, and when the text information is switched to a hidden state, it will not affect the display and operation of other interface content such as function controls and operation labels.
[0122] The interface content mapped by the second option is related to the operation area. Therefore, the relevant embodiments of the second option will be described in detail in the embodiments related to the operation area later.
[0123] The third option is used to specify comprehensive information. If the target configuration item is obtained by selecting the third option from the optional first configuration items, the interface content of the primary interface (first primary interface, second primary interface) and / or secondary interface is pre-specified as comprehensive information, which includes weather, time and / or date. That is, if the preset instruction is obtained by the user selecting the third option from the optional first configuration items on the terminal, the interface content is pre-specified as comprehensive information. Accordingly, the interface content displayed on the screen is dynamically adjusted according to the detection results, specifically including: controlling the screen to display comprehensive information according to the detection results. The comprehensive information can be obtained automatically from the Internet after the switch device is connected to the Internet, or it can be sent by other devices after the switch device is connected to the Internet. Accordingly, the user can specify the display of comprehensive information for the primary interface (first primary interface, second primary interface) and / or secondary interface by selecting the third option, so that the user can intuitively understand the comprehensive information situation according to the screen display. Figure 7As shown, a specific interface setting process is given for designating the primary interface (first primary interface, second primary interface) as text information and the secondary interface as comprehensive information. The specific process is similar to... Figure 5 and Figure 6 Similar, except Figure 7 In the settings, under "Occupied Status Settings," the "Custom Text Display" option was selected, and under "Unoccupied Status Settings," the "General" option was selected. For example... Figure 8 The diagram shows a secondary interface for a screen switch displaying comprehensive information. It is evident that the comprehensive information includes at least weather, date, and time.
[0124] The fourth option is used to specify time information. If the target configuration item is obtained by selecting the fourth option from the optional first configuration items, then the interface content of the primary interface (first primary interface, second primary interface) and / or secondary interface is pre-specified as time information. That is, if the preset instruction is obtained by the user selecting the fourth option from the optional first configuration items on the terminal, the interface content is pre-specified as time information; accordingly, the interface content displayed on the screen is dynamically adjusted according to the detection results, specifically including: controlling the screen to display time information according to the detection results. The time information can be obtained automatically from the Internet after the switching device is connected to the network. Accordingly, the user can specify the display time information for the primary interface (first primary interface, second primary interface) and / or secondary interface by selecting the fourth option, so that the user can intuitively understand the current time according to the screen display. Figure 9 As shown, a specific interface setup process is given for specifying the primary interface (first primary interface, second primary interface) as text information and the secondary interface as time information. For example... Figure 10 As shown, a schematic diagram is given of a screen switch interface that dynamically changes according to the area of human movement, and the secondary interface displays time information.
[0125] The fifth option is used to specify the screensaver image. If the target configuration item is obtained by selecting the fifth option from the selectable first configuration items, then the interface content of the primary interface (first primary interface, second primary interface) and / or secondary interface is pre-specified as the preset image. That is, if the preset instruction is obtained by the user selecting the fifth option from the selectable first configuration items on the terminal, the interface content is pre-specified as the preset image. Accordingly, the interface content displayed on the screen is dynamically adjusted according to the detection results, specifically including: controlling the screen to display the preset image according to the detection results; the preset image can be specified by the user through the terminal and obtained by the switch device from the cloud, or it can be sent directly to the switch device by the user through the terminal, or it can be selected by the user from multiple images pre-stored by the switch device through the terminal. Accordingly, the user can specify the display image screensaver for the primary interface (first primary interface, second primary interface) and / or secondary interface by selecting the fifth option.
[0126] The sixth option is used to turn off the screen or not display anything. If the target configuration item is obtained by selecting the sixth option from the selectable first configuration items, then the interface content of the primary interface (first primary interface, second primary interface) and / or secondary interface is pre-specified as not displaying anything. That is, if the preset instruction is obtained by the user selecting the sixth option from the selectable first configuration items on the terminal, then the interface content is pre-specified as not displaying anything. Accordingly, the interface content displayed on the screen is dynamically adjusted according to the detection results, specifically including: controlling the screen to turn off or not display any content according to the detection results. Users can configure the screen-off effect of the secondary interface by selecting the sixth option to achieve the effects of saving power and avoiding light interference at night. The configuration process of the fifth and sixth options can be understood by referring to the description of the first to fourth options, and will not be specifically illustrated here.
[0127] Furthermore, based on this method, different interface options are pre-specified according to the user's selection on the terminal, including text information, operation labels, general settings, time, screen saver (preset image), or no display. It can communicate with the terminal to allow the initial interface (first initial interface, second initial interface) and / or secondary interface to be arbitrarily specified among these six interface options. Then, according to the detected human body sensing situation, the interface is switched and the display content is adjusted accordingly to meet the user's personalized display needs and realize intelligent control and display management of the switching device in different scenarios.
[0128] Furthermore, regarding the text information involved in the first option, one embodiment of the present invention further provides two types of text information:
[0129] The first type is fixed text information. This type of text information is user-defined and remains unchanged during the normal use and display phase of the switch device. It is generally fixed text, such as mottos or messages. Figure 11 In a further example based on the example shown, after the user selects the "Custom Text Display" option (i.e., the first option) through the terminal interface, he / she sends a primary display command or a secondary display command, and the switching device specifies the content of the primary interface (first primary interface, second primary interface) or the secondary interface based on this.
[0130] Subsequently, the user uses the editing function on the terminal to edit the custom text. In some embodiments, the screen can display up to four lines of text, with each line displaying up to eight Chinese characters (or other text of equivalent length), and each line of text is centered. Figure 11 As shown, by clicking the "Custom Text Editing" option, you can enter the custom text editing interface. In the pop-up input box, type "Remember to take your keys when you leave in the morning," and then click "Save and Sync to Device." The final custom text displayed on the switch device will look like this. Figure 12The message displayed is "Remember to bring your keys when you leave in the morning." During normal use, the screen will display fixed text information edited by the user, providing an intuitive way to present information.
[0131] The second type is variable text information. This type of text information is user-defined, and during the normal use and display phase of the switching device, at least part of the text information can change with the status changes of the external device, so as to view the status of the external device in real time.
[0132] The following provides further explanation regarding the second type of variable text information:
[0133] The present invention further provides a control method based on dynamic text information display, which realizes the dynamic display function of text information.
[0134] Specifically, further control methods are proposed for the text information mapped to the first option, including:
[0135] The system acquires the status information of external devices and updates the variable text accordingly. The update relationship between the variable text and the status information of the external devices is user-defined. This status information involves the detection output of the external devices (typically environmental measurement devices, such as temperature and humidity sensors) and / or the operating status of the external devices themselves (typically controlled devices, such as wall switches or smart lights). The system concatenates the fixed text and the updated variable text in a specified order to form variable text information, which is then displayed in real-time to reflect the real-time status of the external devices. The fixed text is freely defined by the user using the editing functions provided by the terminal.
[0136] The external devices mentioned here should be understood as any intelligent devices connected to the same user as the switch device, other than the switch device itself. These devices can be from the same manufacturer as the switch device or from different manufacturers. Specifically, the external devices can be, for example, temperature sensors, humidity sensors, lamp drivers, curtain motors, etc. Furthermore, the detection outputs of the external devices involved in the status information can be, for example, the current ambient temperature detected by the temperature sensor, the current ambient humidity detected by the humidity sensor, and the operating status of the external devices themselves involved in the status information can be, for example, the on / off status of the lamps controlled by the lamp driver, the opening / closing status of the curtains controlled by the curtain motor, etc.
[0137] Specifically, during the screen configuration phase, after the primary interface (first primary interface, second primary interface) or secondary interface of the switch device is designated as text information, it acquires user-defined fixed text and variable text. After the user sets up a linkage relationship, the switch device will also directly or indirectly (e.g., indirectly through a gateway, cloud, etc.) establish a correlation between the variable text and the status information of the external device. Upon entering the normal use phase, the switch device will acquire the status information of the external device in real time. The variable text will be updated according to the status information of the external device pointed to by the correlation relationship. The acquired fixed text and the real-time updated variable text are concatenated in a pre-set specified order to form variable text information that can be synchronously updated as the content of the variable text changes. Displaying this dynamically changing variable text information allows it to change along with the status information of the external device during daily use.
[0138] Furthermore, according to the solution provided in this embodiment, the switching device can combine the status of external devices (such as temperature and humidity sensor data) to allow users to embed variable text, such as "Current room temperature: {real-time temperature} ℃". The processor updates these variables in real time based on the received external device data, ensuring that the information displayed on the screen always accurately reflects the actual situation of the external devices. In this way, users can not only specify the text information displayed on the screen, but also achieve dynamic display of text information. The displayed text information is dynamically updated according to the real-time status of the external devices, realizing personalized and real-time information display needs. When the status result of the external devices changes, the text information will also be updated accordingly, providing users with real-time and accurate information feedback.
[0139] Furthermore, one method of editing fixed and variable text can be implemented through a terminal. Specifically, this embodiment provides an editing function on the terminal, allowing users to freely define and edit fixed and variable text, and associate variable text with at least one status information of an external device on the terminal; the terminal defining the fixed text and the terminal defining the variable text can be the same terminal or different terminals.
[0140] The following provides a convenient method for defining variable text:
[0141] Define a variable based on the status information of the external device to be displayed, and directly or indirectly reference the variable (i.e., variable text) in the corresponding position of the defined text information, so that the fixed text and the variable are concatenated together to form text that can change according to the variable (i.e., the variable text information).
[0142] When this variable is referenced directly, the status information from the external device will be directly transmitted to the corresponding position in the text information for display. When this variable is referenced indirectly, the status information from the external device is not directly transmitted to the corresponding position in the text information for display. Instead, it is converted and the result is transmitted to the corresponding position in the text information for display. This conversion can be understood as performing calculations on the variable according to the user's settings, such as ordinary addition, subtraction, multiplication, and division, or function operations such as rounding, to form more complex status results for display and to meet a wider range of use cases.
[0143] Furthermore, the solution presented in this embodiment provides a fast mapping method for transferring the status information of external devices to the screen by passing variables between variable text and external device status information. This solves the problem of how to display fixed and variable text on the screen and enables the variable text to be dynamically updated according to the working status of the external device. By acquiring fixed and variable text and concatenating them in a specified order to form variable text information, this method achieves dynamic display of text information.
[0144] Meanwhile, because the variable text is associated with the working status of external devices, and the update relationship can be freely defined by the user, the text information can be updated in real time when the device status changes, providing users with more intuitive and accurate information feedback. Based on the free association of variable text and the free splicing between variable and fixed text, a rich variety of variable text information can be achieved, fulfilling users' text display needs.
[0145] The above method will be further described below with specific examples. For ease of explanation, variable text will be represented in italics in the accompanying figures:
[0146] like Figure 13 As shown in the example, the user further utilizes dynamic text information to realize a smart lighting control scenario: the user defines a fixed text "The smart light is currently in:" and defines a linkage between the variable text and the smart light's operating status; that is, when the smart light is on, the variable text displays "On"; when the smart light is off, the variable text displays "Off". The switch device establishes the linkage according to the user's configuration requirements and obtains the smart light's operating status in real time. When the smart light's status changes, the switch device automatically updates the content of the variable text and combines the fixed text and the updated variable text into a complete text message, which is then displayed in the text display area. In this way, the user can quickly understand the smart light's current operating status.
[0147] like Figure 14 As shown, in another example, the user further utilized dynamic text information to realize a smart home scenario: such as Figure 14 As shown, when a user defines a linkage between "living room temperature" and the smart thermostat's status, the variable text might be the real-time room temperature data, while the fixed text might be "Current living room temperature:". The subsequent variable text will then change in real-time according to the actual temperature, such as "Current living room temperature: 23℃". This presentation method allows users to quickly know and adjust the temperature of their home environment.
[0148] In addition, fixed and / or variable text can be presented in different styles (such as color, font size, etc.), animation effects, or layout designs. Users can choose these styles, animation effects, or layout designs to achieve the best user experience and practical effect.
[0149] In summary, the solutions provided in the above embodiments collectively constitute a complete control method. By specifying the primary interface (first primary interface, second primary interface) / secondary interface as text information and dynamically displaying the text information, it addresses the user's needs for interface customization and dynamic updates, providing a more convenient and personalized operating experience. Furthermore, by introducing the concepts of fixed text and variable text, and allowing users to freely define the relationship between them, the flexibility and practicality of the method are further enhanced.
[0150] In some embodiments, as Figure 13 and Figure 14 As shown, the switching device further includes an operating area; wherein the operating area can be formed in various ways. For example, when the switching device has a mechanical button, the operating area may include the mechanical pressing area where the button is pressed; when the screen of the switching device is a touch screen and screen controls are displayed on the screen, the operating area may include the control operating area where the screen controls are located; and / or, when the switching device has a touch switch, the operating area may include a contact / proximity sensing area for triggering the touch switch.
[0151] If the target configuration item is obtained by selecting the second option from the available first configuration items, then the control screen displays the initial settings interface (first initial settings interface, second initial settings interface) and / or the secondary settings interface, specifically including:
[0152] The control screen displays default operation labels or operation labels that the user can freely edit on the terminal; the operation labels are used to indicate the functions of the operation area.
[0153] Specifically, if the interface content of the initial interface (first initial interface, second initial interface) is configured, and the corresponding target configuration item is obtained by selecting the second option from the available first configuration items, then the initial interface (first initial interface, second initial interface) is pre-designated as operation labels, and then the screen displays the initial interface (first initial interface, second initial interface) specifically by controlling the screen to display operation labels used to characterize the functions of each operation area.
[0154] Similarly, if the target configuration item is selected from the first optional configuration item when configuring the interface content of the secondary interface, the secondary interface is pre-designated as the operation label, and then the screen displays the operation label used to represent the function of each operation area.
[0155] Further explanation: If the preset instruction is selected by the user from the optional first configuration item on the terminal (e.g., ... Figure 5 and Figure 6 The "Button Name" option in the settings will be used to determine the interface content, which will be pre-assigned as operation labels representing the functions of the operation area. It should be noted that these operation labels can be any content that the screen can display, such as symbols, emoticons, Chinese characters, English words, icons, etc. The specific content can be freely defined by the user to meet more diverse display needs.
[0156] If only the primary settings interface (first primary settings interface and second primary settings interface) supports user customization, the terminal user can select a second option during the screen configuration phase to generate a primary settings display command. This primary settings display command is directly or indirectly transmitted to the switching device, which then specifies the interface content of the primary settings interface (first primary settings interface and second primary settings interface) as operation labels based on the command. During normal use, if someone is detected, the primary settings interface (first primary settings interface and second primary settings interface) will be displayed, i.e., the default or user-defined operation labels will be displayed on the screen. When no one is detected, the system switches to a secondary settings interface, which can contain other fixed interface content that cannot be modified by the user (e.g., time, screensaver, weather, etc.).
[0157] If only the secondary device interface supports user-defined specification, the terminal user can select a second option during the screen configuration phase to generate a secondary device display command. This secondary device display command is directly or indirectly transmitted to the switching device, which specifies the interface content of the secondary device interface as an operation label based on the secondary device display command. During normal use, if it is determined that no one is present, the secondary device interface will be displayed, that is, the default or user-defined operation label will be displayed on the screen. When it is determined that someone is present, the system switches to the primary device interface (first primary device interface, second primary device interface). The primary device interface (first primary device interface, second primary device interface) can be other fixed interface content that does not support user modification (such as text information).
[0158] If both the primary interface (first primary interface, second primary interface) and the secondary interface support user customization, the end user can configure the operation label of the second option mapping for the primary interface (first primary interface, second primary interface) or the secondary interface through the terminal during the screen configuration stage. Of course, the end user can also configure both the primary interface (first primary interface, second primary interface) and the secondary interface to the same operation label through the terminal during the screen configuration stage, so that the operation label will always be displayed on the screen regardless of whether there are people or not.
[0159] Furthermore, through the setting and selection of the second option, the switch device has the function of displaying operation labels. Users can pre-set the operation labels to be displayed according to the different functions of the operation area (for example, freely edit the operation labels of each operation area through the terminal), and designate the primary interface (first primary interface, second primary interface) and / or secondary interface as the display operation labels, thereby gaining a more intuitive understanding of the device's functions and operation methods, and improving the accuracy and convenience of the user's operation of the device.
[0160] like Figure 15 As shown, a specific interface setting process for designating the initial setup interfaces (first initial setup interface and second initial setup interface) as operation labels is given. Access the switch device's app interface via the terminal, click the "Personalized Settings" option to enter its configuration interface, and further click the "Occupied Status Settings" option to enter the occupied mode working status configuration interface. This interface has multiple configuration items. "Screen Display Content" is the first configuration item used to configure the content of the initial setup interfaces (first initial setup interface and second initial setup interface). This option has several options ("Button Name", "General", "Time", "Custom Text Display", "Image Screensaver", "No Display"). Selecting the "Button Name" option will designate the interface content of the initial setup interfaces (first initial setup interface and second initial setup interface) as operation labels. Afterwards, return to the "Personalized Settings" option interface and click the "Button Name and Icon Settings" option to enter the name definition interface for each operation area (button), for example... Figure 15In the diagram, the fourth button is named "Button 1", "Button 2", "Button 3", and "Button 4" sequentially. The screen interface of the switch device will then display as follows: Figure 16 The operation labels shown are displayed as shown.
[0161] Furthermore, to improve the feedback effect of the switching device, one embodiment of the present invention provides a switching device control method with dynamically changing icons, applied to the switching device, specifically to the processor of the switching device. It should be noted that the switching device control method with dynamically changing icons provided in this embodiment can be implemented as a standalone solution, or it can be implemented in conjunction with the solutions provided in the above embodiments.
[0162] Specifically, each of the aforementioned operation labels includes an icon; the icon can be understood as a graphic that has referential meaning and identification properties, such as... Figure 17 As shown, if all four operation areas are used to control the on / off state of a light fixture, the corresponding operation label for that area can be matched with a light bulb icon. Furthermore, the icon has multiple selectable types; the user can choose to match the corresponding icon type for each operation area in the operation label to achieve a better indication effect, such as... Figure 18 As shown, each operation area has a different function, so the corresponding icons are also different.
[0163] It is worth noting that in this embodiment, the display state of these icons on the screen is variable, so that when the user operates the corresponding operation area, the icons can be used to simulate the current state of the controlled device (for example, the lit state of the light bulb icon can be used to simulate the controlled light being turned on, and the off state of the light bulb icon can be used to simulate the controlled light being turned off), so as to form intuitive operation feedback through the change of the display state of the icon.
[0164] Accordingly, the control screen display operation labels specifically include:
[0165] The operation label changes its icon display state in response to an operation applied to the operation area. Specifically, the operation label also includes the operation area name, and each operation area name is accompanied by an icon; the icon display state includes an on state and an off state; controlling the screen to display the operation label specifically includes: maintaining the display state of the operation area name in response to an operation applied to the operation area, and changing the on or off state of the icon associated with each operation area name.
[0166] The "on" and "off" states can be understood as two relative display states. For example, the "on" state might mean that a portion of the icon is displayed in a bright color such as white or yellow, while the "off" state might mean that the same area is displayed in a dark color such as gray. In practice, users can define the icon's color in the "on" and "off" states according to their actual needs and the display capabilities of their screen.
[0167] Furthermore, the method provided in this embodiment provides intuitive operational feedback to users by maintaining the display state of the operation area name and switching the icon display state according to the icon's lit and off states. Users can understand the trigger state of the operation area through the icon display state, thereby gaining a more intuitive understanding of the device's working status and operation. Moreover, maintaining the operation area name display state unchanged during icon display state switching makes the operation area functions more clearly visible (unaffected by icon state switching). Users can clearly understand the operation area's functions, accurately perform operations and adjustments, and improve the accuracy and convenience of user operation of the device.
[0168] Furthermore, the control method provided in this embodiment supports setting separate icons for each operation label independently. Specifically, before the operation label is displayed on the control screen, the control method further includes:
[0169] Based on the operation of configuring an icon for each operation area name of the operation label on the terminal, the icon accompanying each operation area name is displayed independently, so that: the icons accompanying each operation area name are independent of each other, can be set and displayed separately.
[0170] Specifically, when there are multiple operation areas, the icon corresponding to the operation area name of each operation area can be set individually. This allows users to choose to set the icons for all operation area names to be the same, for example... Figure 17 As shown, all four control areas are used to control the light fixtures' on / off state, and the names of the four control areas all match the light bulb icons. Users can also choose to set different icons for each control area name, for example... Figure 18 As shown, the first control area controls a regular light bulb, the second controls a chandelier, the third controls a bedside lamp, and the fourth controls "Game Mode." In this configuration, the first control area name "Button 1" matches the icon for "Light," the second control area name "Button 2" matches the icon for "Chandelier," the third control area name "Button 3" matches the icon for "Bedside Lamp," and the fourth control area name "Button 4" matches the icon for "Game Mode." Users can also configure icons for some control area names and leave others unconfigured, for example... Figure 19 As shown (in) Figure 18 On this basis, Figure 19 The fourth operation area in the document, named "Button 4," does not have an icon configured.
[0171] Furthermore, it is worth mentioning that the operation area in this embodiment can be configured to trigger preset scene modes. These scene modes are generally pre-stored in the cloud. When the corresponding operation area is operated, a trigger signal is sent to the cloud, and the cloud controls the execution of the corresponding scene mode based on the trigger signal. The icon library provided in this embodiment also contains icon libraries corresponding to various scene modes (such as...). Figure 20 As shown in the figure, since the execution of the scene mode does not require very intuitive feedback, the icon of the operation area matching the scene mode can always maintain a display state (i.e., the display state does not change) when it is operated.
[0172] In summary, the icon display status feedback method provided in this embodiment has at least the following significant advantages compared to existing feedback methods such as "underline" and "highlight": 1. The shape of the icon can be selected to match the physical state of the controlled device, thereby simulating the current state of the controlled device through the icon (for example, simulating the controlled light being turned on by the lit state of the light bulb icon, and simulating the controlled light being turned off by the off state of the light bulb icon), so as to form intuitive operation feedback through the change of the icon display status. 2. It supports users to configure the icon of each operation label individually, so as to achieve more free and personalized icon display.
[0173] Furthermore, the switching device also includes a relay, which is directly or indirectly controlled by the processor and is used to connect to and control a circuit. This circuit can be understood as the circuit containing the controlled device. For example, when the switching device is used to control a lamp, the circuit can be understood as the power supply circuit of the lamp. Therefore, the relay can be located in the power supply circuit, and the switching device can control the power supply to / from the lamp by connecting / disconnecting the relay.
[0174] Part of the operating area is used to control the operation of relays. Based on this, operations applied to the operating area include controlling the relay to engage and controlling the relay to disengage. For example, if the operating area is formed by mechanical buttons, when a mechanical button is operated, its corresponding detection switch is triggered, transmitting an electrical signal to the processor. The processor then identifies the operated mechanical button based on this signal. If the operated mechanical button is used to control a relay, it further controls the engagement / disengagement of the corresponding relay. In a further example, a mechanical button is configured to control a relay to flip (either by switching from engaged to disengaged, or vice versa) when pressed. When the relay is engaged, and the processor detects that the mechanical button has been pressed, it controls the relay to flip to the disengaged state; in this case, the press operation controls the relay to disengage. When the relay is disengaged, and the processor detects that the mechanical button has been pressed, it controls the relay to flip to the engaged state; in this case, the press operation controls the relay to engage.
[0175] Furthermore, controlling the display of operation labels on the control screen includes: switching the icon corresponding to the operation area name to an illuminated state in response to the operation of the control relay being engaged; and switching the icon corresponding to the operation area name to an off state in response to the operation of the control relay being disengaged.
[0176] Based on this, users can control the relays by operating the control area, while the icon status of the operation label is displayed in real time, which enhances the user's sense of feedback and real-time operation, and improves the controllability and usability of the equipment.
[0177] Furthermore, a portion of the operating area is used to transmit signals (this operating area can be considered as a wireless button; operating the wireless button transmits signals), and each of these operating areas is equipped with at least one indicator light. The indicator light's location corresponds to the position of the operating area, and its illumination can indicate one or more pieces of information, such as the operating status of the operating area, the activation / deactivation of the corresponding relay, or whether the operating area has been triggered and is emitting a signal, and what kind of signal it is. Regardless of the information the indicator light is used to indicate, it does not depart from the scope of this embodiment. The indicator light can be formed by LED beads, either a single LED bead or a combination of multiple LED beads, and its luminous effect can be a point light effect or a regional light effect. Specifically, the indicator light's configuration and luminous effect can be adapted to the different shapes of the operating areas.
[0178] Based on this, the operations applied to the operating area include setting the indicator light to a first illuminated state and setting it to a second illuminated state. The first and second illuminated states are two different illumination states, primarily used to indicate the current state of the operating area. These states can be the default settings when the product is manufactured or further configured by the user via a terminal app after receiving the product. The first and second illuminated states differ from each other in at least one of the following: illumination frequency, on / off state, illumination color, and illumination brightness. For example, the first illuminated state is when the indicator light is on, and the second illuminated state is when the indicator light is off. Another example is that the first illuminated state is when the indicator light emits white light, and the second illuminated state is when the indicator light emits yellow light. Yet another example is that the first illuminated state is when the indicator light flashes rapidly, and the second illuminated state is when the indicator light flashes slowly.
[0179] Furthermore, controlling the display of operation labels on the control screen further includes: switching the icon corresponding to the operation area name to an illuminated state in response to an operation that puts the indicator light in a first illuminated state; and switching the icon corresponding to the operation area name to an off state in response to an operation that puts the indicator light in a second illuminated state.
[0180] Based on this, this embodiment further enhances the functionality of the operation area, enabling it to send signals outward and distinguish them by the illumination state of the indicator lights. At the same time, the switching of the display state of the icons is related to the illumination state of the indicator lights, allowing users to intuitively observe the current state of the corresponding operation area through the display state of the icons, thereby enhancing the real-time perception and feedback effect of the product.
[0181] The two types of operating areas (for controlling relays and for transmitting signals) can coexist. That is, a switching device has multiple operating areas, including both physical buttons for controlling relays and wireless buttons for transmitting signals.
[0182] Furthermore, according to the solution provided in this embodiment, users can not only define function labels (such as "turn on lights" and "adjust temperature") for each operation area on the terminal, but also select icons for each function label to represent these functions. The terminal application provides an icon library for users to choose from (e.g., ... Figure 20 and Figure 21As shown), users can also upload custom icons. When a user performs an action in the operation area (such as tapping to turn on a light), the corresponding operation label icon on the screen will respond instantly, such as changing from off to on, providing intuitive feedback on the operation result. For operations controlling relays or indicator lights, after receiving the operation signal, the processor will not only execute the actual control action but also synchronously update the visual state of the operation label to enhance the user's operating experience. For example, if the operation area is formed by buttons, the name of the operation area is the button name. If button 1 is used to control a light, the user will match the "light" icon (e.g., ...) to button 1 from the many icons in the icon library. Figure 21 As shown), the icon is displayed to the side of the button name (the specific positional relationship can be seen as follows). Figure 17 (As shown).
[0183] The following provides a specific implementation method for switching the icon on / off state. Specifically, before controlling the screen to display the operation label, the control method further includes:
[0184] The system pre-stores image data for various icons, including image data for both lit and unlit states. Specifically, this image data can be stored along with the font library data in a hardware font chip or a software font library.
[0185] In response to the terminal's icon configuration instruction, a corresponding target icon is matched for each operation area name; the icon configuration instruction is generated by the terminal after a target icon in a preset icon library is selected; furthermore, when the icon of the corresponding operation area name is switched to the lit state, the image data of the lit state of the corresponding icon is displayed at a designated position on the screen to display the lit state of the icon of the operation area name; and when the icon of the corresponding operation area name is switched to the off state, the image data of the off state of the corresponding icon is displayed at the designated position on the screen to replace the original lit state icon to display the off state of the icon of the operation area name.
[0186] According to the solution provided in this embodiment, users can pre-store image data of various icons before performing operations in the operation area, and match the corresponding icons according to the terminal's instructions to realize the display and switching of operation label icons.
[0187] Furthermore, the icons for each operation area can be independently customized by the user. After customizing the name of the operation area, the user can further configure icons for that area to achieve more personalized display needs. The image displayed when the operation area is lit is displayed in the same position as the image displayed when the operation area is off, in order to achieve a better visual switching effect between lit and off states.
[0188] Furthermore, in some embodiments, the change in the display state of the icon may not solely depend on the operation applied to the operation area. For example, in some embodiments, the display state of the icon can be linked to the working state of the controlled device controlled by the operation area. When the working state of the controlled device changes, the display state of the icon changes synchronously to achieve a direct feedback effect. In some examples, an operation area is a button configured to control the working state of a controlled device. The display state of the icon of the operation label corresponding to the button can be changed by operating the button or by switching the working state of the controlled device. In a further example, if the controlled device is a smart lamp with a light bulb icon, the lamp turns on when the button is pressed and turns off when the button is released. The smart lamp can also be controlled by other devices besides the switch (e.g., wireless switches, networked devices). Then: when the button is pressed, the lamp is turned on and the light bulb icon lights up synchronously; conversely, when the lamp is turned off, the light bulb icon turns off synchronously. When the smart light is turned on by another device, the bulb icon will still light up even if no button is pressed. When the smart light is turned off by another device, the bulb icon will still turn off even if no button is pressed.
[0189] In some embodiments, the control method further includes: adjusting the font size of the operation area name in the operation label via a terminal, wherein when adjusted to a large font size, only the operation area name is displayed and its accompanying icon (e.g., ...) is not displayed. Figure 16 As shown), when the font size is adjusted to a small size, the name of the operation area and its accompanying icon are displayed simultaneously (e.g., ...). Figure 17 , Figure 18 (As shown). This allows for display to meet the needs of different groups of people. For example, older people need larger fonts to read more clearly, while younger people need icons to provide more intuitive feedback.
[0190] Furthermore, in some solutions, the operation area icon display status change scheme provided in the above embodiments can also be implemented independently. Therefore, the present invention also provides a switching device control method, which aims to provide a scheme capable of dynamically changing the switching device icon. Specifically, the control method includes:
[0191] The control screen displays default operation labels or operation labels that the user can freely edit on the terminal; the operation labels are used to indicate the functions of the operation area.
[0192] Furthermore, the operation label also includes the operation area name, and each operation area name is accompanied by an icon; the icon display state includes an on state and an off state, and the control screen displays the operation label, specifically including: maintaining the display state of the operation area name in response to the operation applied to the operation area, and changing the on state or off state of the icon accompanied by each operation area name.
[0193] Furthermore, a portion of the operating area is used to control the operation of a relay; operations applied to the operating area include controlling the relay to engage and controlling the relay to disengage; the control screen displays operation labels, further including: switching the icon corresponding to the operating area name to an illuminated state in response to the operation of controlling the relay to engage; and switching the icon corresponding to the operating area name to an off state in response to the operation of controlling the relay to disengage; and / or, a portion of the operating area is used to send signals externally, and each operating area of this portion of the operating area is correspondingly provided with at least one indicator light; operations applied to the operating area include operating the indicator light to a first illuminated state and operating the indicator light to a second illuminated state; the control screen displays operation labels, further including: switching the icon corresponding to the operating area name to an illuminated state in response to operating the indicator light to the first illuminated state; and switching the icon corresponding to the operating area name to an off state in response to operating the indicator light to the second illuminated state; the first illuminated state and the second illuminated state differ from each other by at least one of the following: illumination frequency, on / off state, illumination color, and illumination brightness.
[0194] Furthermore, before controlling the screen to display operation labels, the control method further includes: pre-storing image data of various icons, including image data of the lit state and image data of the off state; matching a corresponding target icon for each operation area name in response to the terminal's icon configuration instruction; the icon configuration instruction is generated by the terminal after a target icon in a preset icon library is selected; then, when switching the icon of the corresponding operation area name to the lit state, displaying the image data of the lit state of the corresponding icon at a designated position on the screen to display the lit state of the icon of the operation area name; and, when switching the icon of the corresponding operation area name to the off state, displaying the image data of the off state of the corresponding icon at the designated position on the screen to replace the original lit state icon to display the off state of the icon of the operation area name.
[0195] According to the solution provided in this embodiment, users can not only define function labels (such as "turn on lights" and "adjust temperature") for each operation area on the terminal, but also select icons for each function label to represent these functions. The terminal application provides an icon library for users to choose from (e.g., Figure 20 and Figure 21As shown in the image, users can also upload custom icons. When a user performs an action in the operation area (such as tapping to turn on a light), the corresponding operation label icon on the screen will respond instantly, changing from off to on, providing intuitive feedback on the operation result. For operations controlling relays or indicator lights, after receiving the operation signal, the processor will not only execute the actual control action but also synchronously update the visual state of the operation label, enhancing the user experience. Each operation area's corresponding icon can be independently customized by the user. After customizing the name of the operation area, the user can further configure icons for that area to achieve more personalized display needs. The image displayed in the on state is in the same position as the image displayed in the off state, achieving a better visual switching effect between on and off.
[0196] In some embodiments, the switching device further includes an ambient light, which is directly or indirectly controlled by the processor. The ambient light can be understood as any light-emitting component or combination of components suitable for installation in the switching device and for creating a luminous atmosphere. Specifically, the indicator light includes RGB LEDs, each capable of emitting light in three colors: R, G, and B. Specifically, each RGB LED has four control terminals: a first control terminal, a second control terminal, a third control terminal, and a fourth control terminal. The first to third control terminals are used to control the R, G, and B diodes of the RGB LED, respectively. These terminals are connected to the first to third control pins of the processor. The processor controls the R, G, and B colors of the RGB LED through PWM signals output from the first to third control terminals, thereby achieving different lighting effects by mixing the R, G, and B colors. The fourth control terminal controls the power supply voltage of the RGB LED; a higher power supply voltage results in a brighter RGB LED, and vice versa. The processor directly or indirectly connects to the fourth control terminal of the RGB light via the fourth control pin to adjust the power supply voltage of the RGB light, thereby adjusting the brightness of the RGB light. Therefore, the ambient light in this embodiment has the ability to dim and adjust color, and can switch between different lighting effects.
[0197] Based on this, the control method further includes the following steps: In a occupied environment, controlling the ambient light to maintain a first luminous atmosphere; the first luminous atmosphere is determined according to a target configuration item, the target configuration item being obtained based on the selection of a second configuration item from multiple configuration items displayed on the terminal, the selectable second configuration item being presented by the terminal in response to a configuration operation for the occupied mode of the switching device; and / or, in an unoccupied environment, controlling the ambient light to maintain a second luminous atmosphere; the second luminous atmosphere is determined according to a target configuration item, the target configuration item being obtained based on the selection of a second configuration item from multiple configuration items displayed on the terminal, the selectable second configuration item being presented by the terminal in response to a configuration operation for the unoccupied mode of the switching device; the luminous effect in the first luminous atmosphere and / or the second luminous atmosphere is obtained by determining at least one of the following options: flowing light effect, brightness, and color, based on the selected item from the selectable second configuration items. The flowing light effect option may, for example, be... Figure 5 The "Flowing Light Strip Mode" includes options for Off, Monochrome (monochrome light), Breathing (breathing light effect), and Gradient (gradient effect), with brightness options ranging from 0% to 100%.
[0198] Furthermore, the second configuration item corresponds to an ambient light illumination function item of the switching device. Each optional option under the second configuration item corresponds to an executable function of the ambient light illumination function item. The user can configure the corresponding target function for the ambient light illumination function item of the switching device by selecting the corresponding optional option. For example, if the user selects the breathing option under "flowing light strip mode", then in a person-occupied environment / an unoccupied environment, the ambient light illumination function item in the first working state / second working state will execute the target function of breathing light effect.
[0199] Regarding the intelligent adjustment of ambient lighting, the following further explanation is provided: Scene Linkage: When environmental conditions change, the processor not only adjusts the screen display but also controls the ambient lighting to switch to a preset first or second lighting atmosphere. Personalized Settings: Users can select the ambient lighting effects, brightness, color, etc., through a terminal app to create a personalized lighting mode and send these settings as instructions to the processor. Based on these instructions and the actual environmental conditions (such as whether someone is present or not), the processor automatically adjusts the ambient lighting atmosphere, enhancing the overall intelligence level of the space. For example, when a person is detected approaching, the ambient lighting automatically adjusts to a soft, warm tone, creating a comfortable environment.
[0200] Furthermore, this embodiment further refines the setting of the ambient light's illumination atmosphere, allowing different illumination atmospheres to be selected based on whether there are people or not, and allowing users to customize the illumination atmosphere on the terminal. This enables the switching device to adjust the illumination state of the ambient light based on the detection results, and to select a preset first or second illumination atmosphere based on whether there are people or not, thereby improving the user's sense of control and comfort over the environmental atmosphere.
[0201] In some embodiments, the font color of the operation area name in the operation label can be set via the terminal. That is, the control method further includes: synchronizing the ambient light color to the font color of the operation area name according to a synchronization command, so that the operation area name and the ambient light are the same color, resulting in a better overall effect. The synchronization command is generated and sent by the terminal after the displayed "synchronization option" is triggered. The "synchronization option" can be, for example... Figure 22 The "Synchronize font color" option is shown.
[0202] Furthermore, in some embodiments, in both occupied and / or unoccupied environments: the color of the ambient light can be individually set via a terminal, such as... Figure 22 The "Color of Flowing Light Strip" option is used to set the color of the ambient light. After clicking on this option, users can select a color as the light emission color of the ambient light.
[0203] In some embodiments, the brightness of the button indicator light can also be adjusted via options provided by the terminal. Specifically, the brightness of the button indicator light is determined based on a target configuration item, which is obtained by selecting a third configuration item from a plurality of configuration items displayed on the terminal. The selectable third configuration item is presented by the terminal in response to a configuration operation for the switch device in either a person / no-person mode. The brightness of the button indicator light is determined based on the selected item among the selectable third configuration items, specifically by determining at least one of the indicator light's brightness and color. For example... Figure 22 In the configuration, the "Button Indicator Brightness" setting is the third configuration item corresponding to the button indicator function of the switch device. Among the four options under this setting—"Off," "Sleep," "Soft," and "Bright"—the indicator brightness increases sequentially from "Off." For example... Figure 22 As shown, if the user selects the "Bright" option, the button indicator light function in the first working state / second working state will execute the "Bright" option target function in both occupied and unoccupied environments, that is, adjust the button indicator light to the brightness value corresponding to "Bright" (e.g., brightness 100%).
[0204] Furthermore, the method provided by this invention also offers a method for globally setting the screen of a switching device, such as... Figure 23 As shown, the screen's global settings options allow users to configure features via the terminal, including font style (e.g., bold, HarmonyOS), font size, font color, and screen backlight brightness. These global configuration options are not differentiated by whether the environment is occupied or unoccupied; once selected, they take effect regardless of whether the environment is occupied or unoccupied.
[0205] like Figure 24As shown, one embodiment of the present invention also provides a switching device control method suitable for terminals. Features that are the same as or related to those in the above embodiments can be understood with reference to the descriptions in the above embodiments; for the same parts, this embodiment will not elaborate further.
[0206] like Figure 24 As shown, the control method for the switching device includes at least A1 and A2. Specifically: A1, in response to a configuration operation on the switching device, displays: multiple configuration items for a manned mode, each configuration item corresponding to a function item of the switching device in a manned environment; and / or, multiple configuration items for an unmanned mode, each configuration item corresponding to a function item of the switching device in an unmanned environment. A2, in response to a selected configuration item among the multiple configuration items in the manned mode, configures the target function to be executed by each function item when the switching device is in a manned environment, to determine a first operating state of the switching device; and / or, in response to a selected configuration item among the multiple configuration items in the unmanned mode, configures the target function to be executed by each function item when the switching device is in an unmanned environment, to determine a second operating state of the switching device.
[0207] Furthermore, the control method further includes: in response to a configuration operation for a occupant mode, displaying a first configuration item for the screen display content, and configuring the display content of the primary interface (first primary interface, second primary interface) of the switch device screen in an occupant environment based on the selected first configuration item; and / or, in response to a configuration operation for an unoccupied mode, displaying a first configuration item for the screen display content, and configuring the display content of the secondary interface of the switch device screen in an unoccupied environment based on the selected first configuration item; the first configuration item is one of the plurality of configuration items.
[0208] Furthermore, the control method further includes: in response to a configuration operation for a occupant mode, displaying a second configuration item for the ambient light, and configuring the ambient light to have a first luminous atmosphere in an occupant environment based on the selected second configuration item; and / or, in response to a configuration operation for an unoccupied mode, displaying a second configuration item for the ambient light, and configuring the ambient light to have a second luminous atmosphere in an unoccupied environment based on the selected second configuration item; the second configuration item is one of the plurality of configuration items.
[0209] Further, the first configuration item includes at least one of the first to sixth options; wherein: the first option is used to specify screen display text information, the text information being user-defined; the second option is used to specify screen display operation labels, the operation labels being used to characterize the function of the operation area of the switch device; the third option is used to specify screen display comprehensive information; the fourth option is used to specify screen display time information; the fifth option is used to specify screen display of a preset image; the sixth option is used to specify screen off or no content displayed; the second configuration item includes at least one of the following options: flowing light effect, brightness, and color; the optional second configuration items corresponding to the first and second luminous atmospheres can be set independently, and their contents can be different.
[0210] In summary, based on the solution provided in this embodiment, the switch device supports independent custom configurations in both occupied and unoccupied modes. Traditional switch device technologies typically lack personalized responses to different scenarios, particularly in terms of relatively fixed handling of occupied and unoccupied situations. In such cases, users often have to accept the default settings of the switch device and cannot customize operations according to their own needs. However, the switch device control method provided by this invention breaks this limitation. By combining components such as a processor, proximity sensing unit, and screen, it achieves accurate identification of occupied and unoccupied states, as well as corresponding personalized operations. One key aspect of personalized operation lies in its ability to dynamically adjust the screen display content. In occupied situations, the switch device can display preset information based on the user-defined primary interface (first primary interface, second primary interface), such as user-defined text, real-time weather conditions, or specific time information, to meet the user's personalized needs. In unoccupied situations, it can display a secondary interface based on the user's settings, or simply turn off the screen to save energy and avoid interference. Another key aspect of personalized operation is that it also supports user-defined ambient lighting atmospheres, meaning that users can set different lighting effects according to different scenarios or moods. For example, users can set the ambient light to emit a soft, warm light when someone is present, and switch to a soft, cool light when no one is around, thus creating a more comfortable atmosphere. This customization feature offers several benefits. First, it enhances the user experience, allowing users to tailor the behavior of the switch according to their personal preferences and needs. Second, it increases the flexibility and intelligence of the switch, enabling it to better adapt to different usage scenarios and environmental requirements.
[0211] like Figure 25 As shown, the present invention provides a switching device, including hardware components and software programs required to implement the switching device control method, which can realize all or part of the functions of the method.
[0212] Specifically, the switching device is capable of communicating with a terminal, and the switching device includes at least a screen, a processor, and a proximity sensing unit; both the screen and the proximity sensing unit are electrically connected to the processor. The control method is applicable to the processor.
[0213] The processor can be understood as any circuit with data processing capabilities, used to perform various calculation and control tasks. It is one of the core components of the hardware circuit of the switching device, responsible for executing program instructions, processing data, and controlling other hardware devices. The processor can receive input data (such as various instructions), process it, and generate output results. Its main functions include arithmetic operations, logical operations, data transmission, and control. It can be a circuit with data processing capabilities built from discrete components, or it can be an integrated circuit manifested in the form of a chip or module. In some examples, the processor can be, for example, a microcontroller or a module with data processing and external communication capabilities (such as a Bluetooth module). Based on this, the processor can be supplemented with other circuits or circuit combinations with arbitrary functions. In some examples, the processor uses Xiaomi's MHCB05P-B Bluetooth module, which integrates data processing and Bluetooth communication capabilities. When the number of button and indicator light data is large and the number of IO pins required is large, the processor can also include an IO expansion unit, such as the Tianwei TM1628. The TM1628 is a dedicated LED driver control IC with a keyboard scanning interface, integrating an MCU digital interface, data latch, LED driver, and keyboard scanning circuit. Furthermore, the MHCB05P-B Bluetooth module uses the Tianwei TM1628 to expand its I / O ports, enabling control of more operating areas and indicator lights. In addition, the control I / O pins for buttons and indicator lights can be multiplexed in the circuit design, and time-division multiplexing control of the operating areas and indicator lights is implemented in software to save on the number of I / O ports required.
[0214] It should be noted that in existing technologies, modifications to the screen display content of Bluetooth-based switching devices are all performed locally, such as via Bluetooth direct connection, and cannot be remotely modified via the cloud. This limits the application scenarios of the screen of Bluetooth-based switching devices. Therefore, an embodiment of the present invention provides a switching device that, while communicating externally via a Bluetooth communication unit, has the ability to configure the screen display content in the cloud, thus enabling users to remotely modify the screen's display content.
[0215] Specifically, the switching device has networking capabilities, and the processor is used to: before network configuration, respond to a specified network configuration operation to join a specified network to complete the network configuration. The specified network configuration operation may be, for example, pressing and holding a button located in a certain operation area of the switching device for more than 5 seconds to trigger entry into the network configuration mode. The network configuration mode can be understood as a mode in which the switching device is suitable for network configuration with a target network (i.e., the specified network), thereby joining the target network. In the network configuration mode, the message sent by the switching device due to the operation of its operation area can be a network configuration message. In contrast, in a different operating mode, the message sent by the switching device due to the operation of its operation area can be a control message. Network configuration messages and control messages can be sent directly to the gateway, or forwarded to the gateway via a terminal in the target network. Specifically, in the network configuration mode, the processor broadcasts a preset network configuration message through the Bluetooth communication unit, so that a terminal or Bluetooth gateway can search for the switching device based on the network configuration message, and then connect the switching device to the Internet.
[0216] Furthermore, after network configuration is completed, the switch device can be connected to a third-party platform, and the cloud 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 and management capabilities, such as Mijia, HarmonyOS, or Tuya. For example, if the third-party platform is Mijia, the corresponding cloud server can be, for example, Xiaomi's IoT cloud platform. After connecting to the third-party platform, users can access the control interface of the switch device through a pre-installed APP on the terminal to configure, control, and configure the network for the switch device.
[0217] The proximity sensing unit is a sensor component used to detect the proximity of a human body in its vicinity. Its working principle is typically based on technologies such as electromagnetic induction, ultrasound, or infrared radiation, enabling it to detect the distance or proximity between an object and the sensor. Specifically, for example, a microwave radar sensor radiates a detection wave outward, and the presence of a person in a designated area is determined based on the reflected wave. The microwave radar sensor can directly transmit a signal indicating whether someone is present or absent to the processor for direct use. Alternatively, it can transmit raw data to the processor for analysis to determine the presence of a person. The main function of the proximity sensing unit is to detect the distance or position of a target without direct contact, thereby achieving the function of human body detection. In this solution, the proximity sensing unit can be implemented using at least one of the following: infrared sensor, ultrasonic sensor, inductive sensor, photoelectric sensor, electrostatic sensor, microwave radar sensor, etc. In addition to the millimeter-wave radar sensors exemplified in the above embodiments, in some examples, the proximity sensing unit specifically adopts the MS58-2020S9M4 miniaturized 5.8G radar sensor module launched by MiSense Technology. It uses a high-performance radar sensor combined with a miniaturized planar antenna, achieving optimal sensor performance while keeping the size to 20×20mm. The radar module operates in the 5.8G ISM band (e.g., 5.725GHz~5.875GHz), detects the presence of the human body based on the Doppler effect, and the sensing distance and delay time can be flexibly adjusted. The chip has a built-in LDO, supports wide voltage power supply, ultra-low power consumption, overall current less than 9mA, can be powered by resistor-capacitor step-down, supports the standard IIC interface, and can be electrically connected to the processor through the IIC interface for data interaction. The transmit power is -4dBm, and the operating voltage is 2.7V~4.8V.
[0218] The screen can be a customizable LCD or LED screen. In some examples, the screen is 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 via an FPC plug-in method. It is controlled via a serial interface, with the backlight pin as the positive terminal and controlled by PMOS. A 22Ω resistor is connected in series with the backlight for current limiting. The backlight brightness can be adjusted via hardware. The TFT screen backlight brightness can also be adjusted via software PWM duty cycle.
[0219] In some embodiments, the proximity sensing distance can be adjusted via a terminal. Specifically, the terminal's app can provide multiple distance settings for the user to select, such as long-range, medium-range, short-range, and off (always in a person-occupied state). The distance parameters for the long-range, medium-range, and short-range settings are different; for example, the long-range setting is 100cm (switching to person-occupied state when someone is detected at approximately 100cm), the medium-range setting is 60cm (switching to person-occupied state when someone is detected at approximately 60cm), and the short-range setting is 30cm (switching to person-occupied state when someone is detected at approximately 30cm). When switching to the long-range setting, a person within a 100cm target space can be detected, and upon detection, the screen will display the initial settings interface (first initial settings interface, second initial settings interface), etc. In a further example, after receiving the adjustment command from the terminal, the processor performs software parameter tuning on the MS58-2020S9M4 radar module via the IIC interface to adjust its detection range. The MS58-2020S9M4 radar sensor module features a pre-defined software parameter tuning protocol. Users can adjust the distance parameters by creating corresponding data frames according to this protocol. The MS58-2020S9M4 radar sensor module uses an I / O port level signal interface; it outputs a high level when proximity sensing is present and a low level when no proximity sensing is present. Its TX / RX pins need to be connected to the processor to meet the software requirements for setting the sensing sensitivity (i.e., adjusting the distance parameters), which can be done by the user through the APP interface.
[0220] In this specification, the illustrative expressions of the terms described above correspond to specific features, structures, materials, or characteristics that can be combined in any suitable manner in one or more embodiments or examples. It should also be noted that the above 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 later embodiments (in the order of description) should include the technical solutions described in that embodiment and the technical solutions described in all embodiments preceding that embodiment.
Claims
1. A method for controlling a switching device, the switching device comprising a processor, a relay, and a screen; the relay being directly or indirectly controlled by the processor; the screen being electrically connected to the processor and used to receive instructions sent by the processor and control the screen display; characterized in that, The switching device also includes an operation area; the operation area can be configured to trigger a preset scene mode; and a portion of the operation area is used to control the action of the relay. Operations applied to the operating area include operations that control the relay to engage and operations that control the relay to disengage; The control method includes: The control screen displays default or user-editable operation labels on the terminal; the operation labels are used to indicate the functions of the operation area; the operation labels include the operation area name, and each operation area name is accompanied by an icon; Specifically, in response to the operation of the control relay being activated, the icon corresponding to the name of the operation area is switched to an illuminated state; and in response to the operation of the control relay being deactivated, the icon corresponding to the name of the operation area is switched to an off state. When the operation area of an icon that matches the scene pattern is operated, the icon display state does not change.
2. The control method according to claim 1, characterized in that, The switching device also includes a proximity sensing unit, which is electrically connected to the processor and is used to detect whether there is a person in the environment. The control method further includes: To detect whether there are people in a designated area in order to determine the current environmental situation; In an unmanned environment, a second operating state of the switching device is displayed, in which at least one functional item of the switching device performs a target function; the second operating state is obtained by pre-configuring the target functions to be performed by each functional item of the switching device in an unmanned environment based on a target configuration item selected from multiple configuration items. Among them, the target configuration item is the selected configuration item among multiple configuration items displayed by the terminal. These configuration items are presented by the terminal in response to configuration operations on the switching device.
3. The control method according to claim 2, characterized in that, The control method further includes the following steps: In an unmanned environment, the control screen displays a secondary interface; the content of the secondary interface is determined based on the target configuration item, which is obtained by selecting the first configuration item among multiple configuration items displayed on the terminal. If the target configuration item is obtained by selecting the second option from the first optional configuration item, then the control screen displays the secondary configuration interface, which specifically includes: controlling the screen to display the default or user-editable operation labels on the terminal.
4. The control method according to claim 3, characterized in that, Control the text information displayed on the screen, specifically including: switching to a full-screen interface based on the detection results when switching between manned and unmanned environments.
5. The control method according to claim 3, characterized in that, If the target configuration item is obtained by selecting the third option from the available first configuration items, then the interface content of the secondary configuration interface is pre-specified as comprehensive information; the comprehensive information includes weather, time and / or date, which can be obtained from the Internet after the switching device is connected to the network.
6. The control method according to claim 3, characterized in that, If the target configuration item is obtained by selecting the sixth option from the available first configuration items, then the interface content of the secondary configuration interface is pre-specified to be undisplayed.
7. The control method according to any one of claims 1 to 6, characterized in that, When lit up, a portion of the icon is displayed in white or yellow.
8. The control method according to any one of claims 1 to 6, characterized in that, The control method further includes: independently displaying the icons accompanying the names of each operation area, so that the icons accompanying the names of each operation area are independent of each other.
9. The control method according to any one of claims 1 to 6, characterized in that, When the switch device has mechanical buttons, the operating area includes the mechanical pressing area where the button is pressed; or, when the screen of the switch device is a touch screen and screen controls are displayed on the screen, the operating area includes the control operating area where the screen controls are located.
10. The control method according to any one of claims 1 to 6, characterized in that, Before the control screen displays the operation label, the control method further includes: Pre-store image data for various icons, including image data for the lit state and image data for the off state; When the icon corresponding to the operation area name is switched to the lit state, the image data of the lit state of the corresponding icon is displayed at a specified position on the screen to show the lit state of the icon of the operation area name; and, When the icon corresponding to the operation area name is switched to the off state, the image data of the off state of the corresponding icon is displayed at the specified position on the screen to replace the original lit icon, so as to display the off state of the icon of the operation area name.
11. The control method according to any one of claims 1 to 6, characterized in that, The display status of the icon can be linked to the working status of the controlled device controlled by the operation area. When the working status of the controlled device changes, the display status of the icon changes synchronously.
12. A switching device, characterized in that, The device includes the hardware components and software programs required for implementing the switching device control method according to any one of claims 1 to 11, and is capable of realizing all or part of the functions of the method.
Citation Information
Patent Citations
Method, device, equipment and medium for automatically checking state of indicating lamp of hard disk
CN115470078A
Intelligent wall switch and control system
CN117908411A
Intelligent wall switch
CN117908413A
Domestic electric appliance control system
CN201654536U