Electronic device for illumination and control method

By introducing processors and communication channels into electronic devices, the linkage control between the intelligent lighting function of electronic devices and the power-off function of switching equipment is achieved, and the problem of independent intelligent lighting function and power control function in the existing technology is solved, and the problem of the independent mutuality of intelligent lighting function and power control function in the existing technology is improved. Flexibility and user experience of the device.

CN119485853APending Publication Date: 2025-02-18WUHAN LINPTECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411808270.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-09
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

When existing electronic devices for lighting face personalized needs of users, the intelligent lighting function and the power control function of the switching equipment are independent of each other, and lack an effective linkage mechanism, resulting in insufficient flexibility and user experience.

Method used

By introducing processors and communication channels into electronic devices, the linkage control between the intelligent lighting function of electronic devices and the power-off function of switching devices is realized. The device can selectively enter the first lighting state and the second lighting state by monitoring the specific change mode of the power supply signal of the power supply channel when the power supply signal is restored.

Benefits of technology

It realizes flexible function switching of electronic devices, and users can achieve simple and convenient function switching without additional equipment, meeting the smart lighting needs in different scenarios, and improving the adaptability and user experience of the lamps.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119485853A_ABST
    Figure CN119485853A_ABST
Patent Text Reader

Abstract

The invention relates to an electronic device for illumination and a control method, and the electronic device comprises a power supply channel which is used for receiving a power supply signal and supplying power to the electronic device; the communication channel is used for realizing external communication; the memory is used for storing instructions; the processor is electrically connected with the power supply channel, the communication channel and the memory, and is configured to execute instructions in the memory, so that the electronic equipment can activate the communication channel when in the power supply state; configuring a first illumination state and / or a second illumination state based on the communication channel; and when the power supply signal recovers again, alternatively entering a first lighting state and a second lighting state by monitoring a specific change mode of the power supply signal of the power supply channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of intelligent lighting technology, and in particular to an electronic device for lighting and a control method thereof. Background Art

[0002] At present, many electronic devices used for lighting, such as smart flat panel lights, smart ceiling lights, smart spotlights and smart track lights, are interactively controlled in an intelligent way. However, in order to conveniently control the power switches of these devices while taking into account traditional control methods, they usually rely on switch devices to realize the on and off of the power supply.

[0003] Taking smart ceiling lights as an example, existing electronic devices control the on and off of the power supply through switch devices and realize lighting functions (such as dimming and color adjustment) in an intelligent way. However, the intelligent lighting function of these electronic devices is independent of the power control function of the switch device. This design is often not flexible and efficient when facing the personalized needs of users. Summary of the invention

[0004] An object of the present disclosure is to provide an electronic device for lighting and a control method thereof, which realizes the linkage control of the intelligent lighting function of the electronic device and the power on and off function of the switch device.

[0005] Another object of the present disclosure is to provide an electronic device and a control method for lighting, wherein the lamp can intelligently maintain a first lighting state after power is restored, and can also switch to a second lighting state by monitoring a power supply signal caused by a specific operation of a power supply channel to conform to a specific change pattern.

[0006] Another object of the present disclosure is to provide an electronic device and a control method for lighting, in which users can flexibly switch functions without additional equipment, and the operation is simple and convenient. At the same time, it meets the intelligent lighting needs in different scenarios, and improves the adaptability of the lamp and the user experience.

[0007] Another object of the present disclosure is to provide an electronic device for lighting and a control method, wherein each state has a clear definition and purpose, thereby avoiding confusion between states.

[0008] Another object of the present disclosure is to provide an electronic device and control method for lighting, wherein a power supply signal is identified as conforming to a specific change mode when it is powered on twice in succession. The operation is simple, no additional equipment is required, and the flexibility of mode switching is significantly improved.

[0009] Another object of the present disclosure is to provide an electronic device for lighting and a control method, wherein the introduction of an energy storage device significantly improves the ability of the electronic device to cope with short-term power interruptions and optimizes the user experience.

[0010] Another object of the present disclosure is to provide an electronic device for lighting and a control method, wherein after power is restored, the device chooses to enter a first lighting state or wait for further user operation according to the state before the power interruption and the recovery logic set by the user.

[0011] To achieve at least one of the above purposes, according to a first aspect of the present disclosure, there is provided an electronic device for lighting, comprising: a power supply channel for receiving a power supply signal and supplying power to the electronic device; a communication channel for realizing external communication; a memory for storing instructions; a processor, electrically connected to the power supply channel, the communication channel and the memory, and configured to execute the instructions in the memory so that the electronic device can: activate the communication channel when in a power supply state; configure a first lighting state and / or a second lighting state based on the communication channel; and when the power supply signal is restored, selectively enter the first lighting state and the second lighting state by monitoring a specific change pattern of the power supply signal of the power supply channel.

[0012] According to an embodiment of the present disclosure, the processor is further configured to execute instructions in the memory so that the electronic device can: configure the electronic device to enter a first lighting state when the power signal is interrupted and restored based on the communication channel; and determine whether to enter a second lighting state by monitoring a specific change pattern of the power signal of the power channel when the power signal is restored.

[0013] According to an embodiment of the present disclosure, the electronic device is configured to keep the communication channel valid when the power-off duration does not exceed the set interval time, and then when the power signal is restored, by monitoring the power channel and determining that the power signal is restored at least twice in succession and the power-off duration in between is less than the interval time, it is judged that a specific operating mode is met and the second lighting state is entered.

[0014] According to an embodiment of the present disclosure, the power supply channel includes an energy storage device for storing electrical energy in a power supply state, so that the electronic device can keep the communication channel valid when the power failure duration does not exceed a set interval time.

[0015] According to an embodiment of the present disclosure, the electronic device is further configured to maintain the first lighting state when the power signal is restored but the monitored power signal does not conform to a specific change pattern.

[0016] According to an embodiment of the present disclosure, the electronic device is configured through a communication channel to enter a first lighting state when a power supply signal is interrupted and restored, and is specifically used to: after receiving a first instruction through the communication channel, set the electronic device to retain the state before power failure when power is restored, so that the electronic device can be switched to the first lighting state according to a second instruction received through the communication channel before the power supply signal is interrupted, so that it enters the first lighting state when the power supply signal is restored.

[0017] According to an embodiment of the present disclosure, the electronic device is configured to directly enter the first lighting state after the power supply signal is restored according to the setting instruction obtained through the communication channel.

[0018] To achieve at least one of the above purposes, according to the second aspect of the present disclosure, a control method for lighting is provided, comprising: activating a communication channel when in a power supply state; configuring a first lighting state and / or a second lighting state based on the communication channel; and when the power supply signal is restored, selectively entering the first lighting state and the second lighting state by monitoring a specific change pattern of the power supply signal of the power supply channel.

[0019] According to an embodiment of the present disclosure, the method further includes: configuring the electronic device to enter a first lighting state when the power signal is interrupted and restored based on a communication channel; when the power signal is restored, determining whether to enter a second lighting state by monitoring a specific change pattern of the power signal of the power channel.

[0020] It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present disclosure. The above-mentioned various invention contents can be combined arbitrarily, and these and other purposes of the present disclosure will be fully reflected through the following detailed description and drawings.

[0021] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present disclosure or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0023] Figure 1 is a schematic diagram of an example network environment including a smart ceiling lamp in an embodiment of the present disclosure;

[0024] Figure 2 is an exemplary configuration block diagram of an electronic device in an embodiment of the present disclosure;

[0025] Figure 3 This is a flow chart of an exemplary control method for lighting in one embodiment of the present disclosure. Figure 1 ;

[0026] Figure 4This is a flow chart of an exemplary control method for lighting in one embodiment of the present disclosure. Figure 2 . DETAILED DESCRIPTION

[0027] The embodiments of the present disclosure will be described in detail below.

[0028] The electronic device in the embodiment of the present disclosure may be a smart home device for lighting, such as a smart flat panel lamp, a smart ceiling lamp, a smart spotlight, and a smart track lamp.

[0029] For ease of understanding, the electronic device in the embodiments of the present disclosure is described by taking a smart ceiling lamp as an example, but it should be understood that the electronic device in the embodiments of the present disclosure is not limited thereto and may also be other electronic devices.

[0030] It should be understood that in the description of all embodiments of the present disclosure, the terms "upper", "lower", "left", "right" and the like indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings, which is only for the convenience of describing the present disclosure and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present disclosure. The terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. Terms such as "coupled" and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral body; it can be a mechanical connection, an electrical connection, or can communicate with each other; it can be directly connected, or indirectly connected through an intermediate medium to form a linkage relationship, it can be the internal connection of two elements or the interaction relationship between two elements. For ordinary technicians in this field, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0031] In the embodiments of the present disclosure, the symbol " / " means that it has two functions at the same time. The symbol "A and / or B" indicates that the combination of the previous and next objects connected by the symbol includes "A", "B", and "A and B".

[0032] In addition, the technical features involved in each embodiment of the present disclosure described below can be combined with each other as long as they do not conflict with each other.

[0033] See also Figure 1 , taking the electronic device as a smart ceiling lamp as an example, Figure 1 A schematic diagram of an example network environment 100 including a smart ceiling lamp 101 according to an embodiment of the present disclosure is shown.

[0034] The example network environment 100 may include a smart ceiling lamp 101 , a switch device 106 , a network access device 102 , and one or more terminal devices 103 .

[0035] The network access device 102 is used to provide network connection for the smart ceiling lamp 101 and the switch device 106. Specifically, the network access device 102 can receive / route various types of communications from the smart ceiling lamp 101 and the switch device 106 and / or transmit / route various types of communications to the smart ceiling lamp 101 and the switch device 106.

[0036] In some embodiments, the network access device 102 only provides an internal network 104 (e.g., a wired network or a wireless local area network (LAN)) connection, and all smart ceiling lamps 101 and switch devices 106 connected to the network access device 102 are in the same internal network 104 and can communicate directly with each other. In a further embodiment, the network access device 102 is also connected to an external network 105, so that the smart ceiling lamps 101 and switch devices 106 can access the external network 105 via it. The network access device 102 can be, for example, a router 107, a gateway 108 or other hardware electronic devices. The smart ceiling lamp 101 and the switch device 106 can access the external network 105 through the network access device 102, and then communicate with the remote server. The remote server can be, for example, an IOT cloud device of the Internet of Things platform (hereinafter referred to as "the cloud" in some places). The cloud mainly plays the role of data forwarding. In some examples, the cloud can also play the role of data storage and processing. It has the authority to manage and configure the connected electronic devices. When the terminal device 103 accesses the remote server through the external network 105, the remote server can display the configuration interface of the electronic device through the terminal device 103.

[0037] When the network access device 102 is a router 107, a gateway 108 may also be provided in the network environment. The gateway 108 and the router 107 may receive data from smart electronic devices such as the switch device 106, the smart ceiling lamp 101, and the terminal device 103 (receipts may be received via wireless signals, such as Bluetooth, radio frequency, WIFI, etc.), and provide data processing and transfer services for these smart electronic devices, such as conversion between different communication protocols, data processing and forwarding, etc.

[0038] In some solutions, in the scenario where there is a cloud in the example network environment 100, in order to enable the smart ceiling lamp 101 to have the ability to connect to the cloud, it is necessary to configure the network. After the network configuration is completed, the smart ceiling lamp 101 can directly connect to the Internet and thus communicate with the cloud. Based on this, in some solutions, such as Figure 1As shown, the smart ceiling lamp 101 and the terminal device 103 can also communicate directly, such as by Bluetooth direct connection or WIFI hotspot connection, so as to facilitate the transmission of network configuration information when the smart ceiling lamp 101 is configured with a network through the terminal device 103. Similarly, for the switch device 106, the network configuration can also be achieved by directly connecting the terminal device 103.

[0039] The terminal device 103 may be any electronic device having at least one network interface. For example, the terminal device 103 may be: a desktop computer, a laptop computer, a server, a mainframe computer, a cloud-based computer, a tablet computer, a smart phone, a smart watch, a wearable device, a consumer electronic device, a portable computing device, and / or other electronic devices.

[0040] An application corresponding to the smart ceiling lamp 101 (e.g., a mobile phone APP) can be pre-installed on the terminal device 103, and the application can provide the user with a configuration interface of the smart ceiling lamp 101, so that the user can perform at least one operation such as status viewing, parameter configuration, control, and network distribution on the smart ceiling lamp 101 based on the configuration interface. The terminal device 103 can also access the external network 105 through a gateway 108 (e.g., Bluetooth), a router 107 (e.g., WIFI), or cellular data, and then communicate with a remote server, and communicate with the smart ceiling lamp 101 and other switch devices 106 through the remote server (e.g., issuing commands, interface configuration of the smart ceiling lamp 101, etc.) to achieve the purpose of remote control. The user can configure the electronic device (e.g., the smart ceiling lamp 101) through the configuration interface, such as configuring the specific parameters of its first lighting state and the second lighting state (brightness / color temperature parameters), turning on / off the smart lighting lamp

[0041] The external network 105 may include various types of wired or wireless networks, internal networks or public networks, such as other local area networks or wide area networks (WAN) (such as the Internet). Note that the present disclosure does not specifically limit the type of the external network 105.

[0042] The switch device 106 has an on-off control capability and can control the power supply on and off of the smart ceiling lamp 101. In some embodiments, the switch device 106 can be understood as other smart home devices connected to the same network access device 102 or remote server as the smart ceiling lamp 101, such as a smart wall switch. Of course, in some embodiments, the switch device 106 can also be a traditional mechanical wall switch with only an on-off function, and the smart ceiling lamp 101 obtains power through the switch device 106.

[0043] Figure 2An exemplary configuration block diagram of an electronic device 200 according to an embodiment of the present disclosure is illustrated. The electronic device 200 may be used to implement Figure 1 Smart ceiling lights 101 in.

[0044] like Figure 2 As shown, the electronic device 200 includes a lighting assembly 20 , a network interface 21 , an external network interface 23 , a power supply 22 , a memory 24 , a processor 26 , and a switch 28 .

[0045] The lighting assembly 20 may include, but is not limited to, a lighting component composed of LED, OLED or other similar light-emitting elements to provide a lighting function.

[0046] When the lighting assembly 20 has dimming and color adjustment capabilities, the electronic device 200 also has a driver 28 with driving capabilities. The driver 28 can drive dimming and / or color adjustment, such as a constant current dimming power supply or a constant voltage dimming power supply, which receives control from the processor 26, adjusts the brightness and / or color temperature of the light-emitting element, and realizes the dimming / color adjustment function of the lighting assembly 20.

[0047] The network interface 21 may include various network cards and circuit systems implemented in software and / or hardware so as to be able to communicate with the network access device 102 using wired or wireless protocols. The wired communication protocol is, for example, any one or more of the Ethernet protocol, the MoCA specification protocol, the USB protocol, or other wired communication protocols. The wireless protocol is, for example, any IEEE802.11 Wi-Fi protocol, Bluetooth protocol, Bluetooth Low Energy (BLE), or other short-range protocols that operate according to wireless technology standards, and are used to exchange data over a short distance using any licensed or unlicensed frequency band (such as the Citizens Broadband Radio Service (CBRS) band, the 2.4 GHz band, the 5 GHz band, the 6 GHz band, or the 60 GHz band), the RF4CE protocol, the ZigBee protocol, the Z-Wave protocol, or the IEEE 802.15.4 protocol. In the case where the network interface 21 uses a wireless protocol, the electronic device 200 can be connected to the internal network (for example, the WLAN protocol) provided by the network access device 102 through the network interface 21. Figure 1 internal network 104).

[0048] The external network interface 23 may include various network cards and circuit systems implemented in software and / or hardware to enable the electronic device 200 to communicate with an external network (eg, Figure 1 Communications between providers of external networks 105) in the network (e.g., Internet service providers or multiple system operators (MSOs)).

[0049] The network interface 21 and / or the external network interface 23 implement the communication channel of the electronic device 200 and are used to implement the external communication function of the electronic device 200 .

[0050] The power supply 22 provides power to the internal components of the electronic device 200 through the internal bus 27. The power supply 22 may include a neutral and live wire terminal, which is connected to the neutral and live wires of the industrial frequency AC power through the connection switch device 106, and then connected to a strong power source (such as Figure 1 As shown), the electronic device 200 is powered by an internal power conversion circuit. The power conversion circuit, such as a buck step-down circuit, converts 220V AC power into 5V, 3V and / or 12V DC power to provide power for components such as the processor 26 and the memory 27.

[0051] The power supply 22 realizes a power supply channel of the electronic device 200 , and is used to receive a power supply signal and supply power to the electronic device 200 .

[0052] The memory 24 includes a single memory or one or more memories or storage locations, including but not limited to random access memory (RAM), dynamic random access memory (DRAM), static random access memory (SRAM), read-only memory (ROM), EPROM, EEPROM, flash memory, logic blocks of an FPGA, a hard disk, or any other layers of the memory hierarchy. The memory 24 can be used to store any type of instructions, software, or algorithms, including instructions 25 for controlling the general functions and operations of the electronic device 200.

[0053] The processor 26 controls the general operation of the electronic device 200 and performs management functions related to other devices in the network. The processor 26 may include, but is not limited to, a CPU, a hardware microprocessor, a hardware processor, a multi-core processor, a single-core processor, a microcontroller, an application-specific integrated circuit (ASIC), a DSP, or other similar processing devices, capable of executing any type of commands, instructions, algorithms, or software for controlling the operation and functions of the electronic device 200 according to the embodiments described in the present disclosure. The processor 26 may be various implementations of a digital circuit system, an analog circuit system, or a mixed signal (a combination of analog and digital) circuit system that performs functions in a computing system. The processor 26 may include, for example, an integrated circuit (IC), a portion or circuit of a separate processor core, an entire processor core, a separate processor, a programmable hardware device such as a field programmable gate array (FPGA), and / or a system including multiple processors.

[0054] The components of the electronic device 200 can communicate with each other via the internal bus 27 .

[0055] Although specific components are used to describe the electronic device 200, in alternative embodiments, different components may be present in the electronic device 200. For example, the electronic device 200 may include one or more additional controllers, memories, network interfaces, and / or user interfaces. In addition, one or more of the components may not be present in the electronic device 200.

[0056] In addition, in some embodiments, the electronic device 200 may include Figure 2 One or more components not shown in FIG. Figure 2 200, but in some embodiments, some or all of a given component may be integrated into one or more of the other components in the electronic device 200. In addition, the circuits and components in the electronic device 200 may be implemented using any combination of analog and / or digital circuits.

[0057] At present, many electronic devices used for lighting, such as smart flat panel lights, smart ceiling lights, smart spotlights and smart track lights, are interactively controlled in an intelligent way. However, in order to conveniently control the power switches of these devices while taking into account traditional control methods, they usually rely on switch devices to realize the on and off of power signals.

[0058] Taking the smart ceiling lamp as an example, existing electronic devices control the on and off of the power supply through the switch device, and realize the lighting function (such as dimming and color adjustment) in an intelligent way. However, the intelligent lighting function of these electronic devices is independent of the power control function of the switch device, and lacks an effective linkage mechanism. This design is often not flexible and efficient when facing the personalized needs of users. For example, once the switch device cuts off the power supply of the electronic device, the electronic device will not be able to operate normally, and thus the intelligent lighting function cannot be realized. Especially in the case of power supply interruption or restoration, the existing solutions cannot make intelligent adjustments according to user needs or environmental conditions, resulting in insufficient smart lighting experience.

[0059] Based on this, the present disclosure proposes a control method for lighting, aiming to improve the operational flexibility and user experience of electronic devices used for lighting.

[0060] Figure 3 FIG. 3 shows a flow chart of an exemplary control method for generating lighting according to an embodiment of the present disclosure (method 300). The method 300 may be, for example, Figure 1 The smart ceiling lamp 101 shown or Figure 2 The electronic device 200 shown in FIG. Figure 1-Figure 3 The electronic device 200 and a method for the electronic device 200 according to an embodiment of the present disclosure will be described in detail.

[0061] like Figure 3As shown, at step S301, the communication channel is activated when in a power supply state.

[0062] The communication channel can be established through a wireless (such as Wi-Fi, Bluetooth) or wired (such as power carrier communication) interface for data exchange between electronic devices and other control systems or terminal devices. After activating the communication channel, the device can receive control instructions through the channel. For example, the user sets the working mode of the device (such as adjusting the brightness or color of the lighting fixture) through a mobile phone application. When powered, the activation of the communication channel enables the device to establish communication with external devices and realize the intelligent lighting function.

[0063] In step S302, the first lighting state and / or the second lighting state is configured based on the communication channel.

[0064] Here, the first lighting state and the second lighting state correspond to two functional states of the electronic device, respectively, and can be a default state (such as turning on or off the light) or a user-defined mode (such as a specific color temperature or brightness).

[0065] The first lighting state and / or the second lighting state are configured based on the communication channel, and configuration instructions can be sent through the terminal device, for example, to adjust at least one of the functional parameters (brightness, color temperature), trigger conditions or entry timing of these states.

[0066] The configuration of the functional parameters can, for example, adjust the brightness and / or color temperature parameters of the first lighting state and / or the second lighting state according to the second control instruction received through the communication channel when the communication channel is in an effective state, so as to achieve the user's personalized setting of the first lighting state and / or the second lighting state.

[0067] The configuration of the trigger condition is used to configure the trigger condition of the first lighting state and / or the second lighting state. For example, the change pattern of the power supply signal used to trigger the first lighting state and / or the second lighting state can be configured, for example, the second lighting state is triggered when the power supply signal presents a specific change pattern.

[0068] The configuration of the entry timing is used to configure the entry timing of the first lighting state and / or the second trigger state, for example, configuring the electronic device to enter the first lighting state when power is restored after power is cut off.

[0069] In some specific embodiments, the first lighting state and the second lighting state correspond to different operating modes of the electronic device, and the two are independent of each other and do not overlap. That is, the first lighting state and the second lighting state are completely different in function and expression, and there is no crossover or overlap. In other words, the first lighting state and the second lighting state are completely separate in function, and when switching to one state, the other state is no longer effective. They are independent of each other, and any state can operate independently. For example, the first lighting state is a completely light-off state, that is, the brightness is adjusted to 0%, and the second lighting state is a light-on state, and the brightness is adjusted to a specified brightness value between 1% and 100%. The functional scope, operating logic and expression of the two lighting states do not overlap. They are also independent in time, and can only be in one lighting state at the same time, and part of the first lighting state and part of the second lighting state cannot exist at the same time. This design ensures that each state has a clear definition and purpose, and avoids confusion between states.

[0070] When configuring an electronic device through a communication channel, it can be achieved by communicating with the electronic device through a terminal device (such as a mobile phone). For example, a user can enter the configuration interface of a smart ceiling lamp through a mobile phone to set it to configure a first lighting state and / or a second lighting state with specific functional parameters.

[0071] In step S303, when the power supply signal is restored, the first lighting state and the second lighting state are selectively entered by monitoring a specific change pattern of the power supply signal of the power supply channel.

[0072] Here, the restoration of the power supply signal can be understood as the restoration of the power supply signal from an interrupted state to a normal working state, that is, the electronic device regains power supply.

[0073] The power supply signal interruption can be understood as the cessation of power supply on the power supply channel, which usually causes the power supply of the electronic device to be disconnected and the electronic device cannot continue to operate normally. In the application of smart ceiling lights, the power supply signal interruption is usually caused by the operation of the switching device, such as the corresponding relay of the wall switch is disconnected, and the electronic device cannot obtain a stable power supply from the power supply.

[0074] The specific change pattern can be understood as a specific pattern or sequence of changes in the power supply signal, which has certain regularities or characteristics and can be recognized by the processor of the electronic device and trigger the corresponding functional state switching. In other words, the electronic device determines whether to enter a certain functional mode (such as the second lighting state) based on the specific changes in the power supply signal.

[0075] In some specific embodiments, each lighting state has its own independent triggering condition. For example, the second lighting state requires a power signal with a specific change pattern to be triggered, while the first lighting state may be triggered when the power signal does not conform to the specific change pattern. The first lighting state can also be triggered based on another different power signal change pattern, or entered as a default state when the power signal returns to normal. The processor of the device clearly distinguishes the operating logic of the two states by detecting the mode of the power signal or the communication instruction received, and determines which state to switch to.

[0076] Based on this, this embodiment realizes the linkage between the intelligent lighting function of the electronic device (controlled by the communication channel) and the power on and off operation of the switch device (controlled by the power supply channel). Through the intelligent lighting function, the first lighting state and the second lighting state of a specific function can be configured; by controlling the power supply signal, local switching between the two states can be performed. When the power supply signal is restored, the device can either intelligently maintain the first lighting state or switch to the second lighting state by detecting the signal change caused by a specific operation in the power supply channel.

[0077] In an example of a usage scenario, the power supply signal of the power supply channel is controlled by the switch device, and the switch device can realize the on and off of the power supply signal. The smart ceiling lamp can automatically identify and switch different functional states (such as the first lighting state or the second lighting state) according to the interruption and restoration of the power supply signal. The operation of the switch device is no longer limited to a simple "on" or "off", but through a specific operation mode, refined control of the functions of the smart ceiling lamp is achieved. Users do not need complex configurations, they can easily realize multiple function controls by simply operating the switch device. This design eliminates the trouble of users frequently operating between multiple independent control devices, and realizes intelligent and coordinated control between smart ceiling lamps and switch devices through the linkage of power supply signals.

[0078] In some embodiments, in step S302, the processor is configured to execute instructions in the memory so that the electronic device can configure the first lighting state and / or the second lighting state based on the communication channel, for example:

[0079] The electronic device is configured based on the communication channel to enter a first lighting state when the power supply signal is interrupted and then restored.

[0080] During the configuration process, at least one of the following two methods can be provided:

[0081] One-time effect: The user can perform a specific operation on the electronic device (such as turning off the light) before the power signal is interrupted, so that the device enters the first lighting state (such as keeping the light off) when the power signal is restored next time. However, when the device experiences a power interruption again and is restored, it may not automatically enter the first lighting state. Therefore, this configuration only takes effect after the power signal is restored once.

[0082] Repeated activation: Users can also set a fixed configuration so that the device automatically enters the first lighting state each time the power signal is restored. In this way, users do not need to manually perform additional settings before each power outage.

[0083] Through the above two methods, users can flexibly choose the configuration method according to actual needs to improve the convenience of use.

[0084] On this basis, at step S303, the processor is configured to execute instructions in the memory so that the electronic device can selectively enter the first lighting state and the second lighting state by monitoring a specific change pattern of the power supply signal of the power supply channel when the power supply signal is restored, specifically, for example:

[0085] When the power supply signal is restored, it is determined whether to enter the second lighting state by monitoring a specific change pattern of the power supply signal of the power supply channel.

[0086] According to an embodiment of the present disclosure, when the power supply signal is restored, the electronic device determines whether it is necessary to enter the second lighting state by monitoring a specific change pattern of the power supply signal in the power supply channel:

[0087] If a specific pattern of changes that meets the set conditions is detected, the device will switch to a second lighting state (such as a specific brightness, color temperature, or light mode).

[0088] If no specific pattern of changes that meet the criteria is detected, the device will remain in or switch to the first lighting state.

[0089] Furthermore, the user can pre-set the default first lighting state before the device is powered off. When the device is powered on again, the default state can be automatically maintained. At the same time, the device can also be switched to the second lighting state by presenting a specific change pattern of the power supply signal, thereby realizing intelligent adaptation to different scenes.

[0090] In some embodiments, Figure 4 As shown, the method 300 also includes step S304.

[0091] In step S304 , when the power signal is restored but the monitored power signal does not conform to the specific change pattern, the first lighting state is maintained.

[0092] In one example, for a smart ceiling lamp, the first lighting state may be to turn off the light (no light), emphasizing energy saving or dormancy; the second lighting state is to turn on the light (normal lighting) to provide light. In this case, when the power supply signal of the smart ceiling lamp is interrupted and the power is lost and then restored, it will directly enter the first lighting state, that is, keep the light off. If the power supply signal of the power supply channel is detected to be in a specific change pattern at this time, it will directly enter the second lighting state, that is, turn on the light.

[0093] In another example, for a smart ceiling lamp, the first lighting state may be turning on the light (normal lighting) to provide light. The second lighting state is turning off the light (no light), emphasizing energy saving or sleep. In this case, when the power supply signal of the smart ceiling lamp is interrupted and the power is lost and then restored, it will directly enter the first lighting state, that is, keep the light on. If the power supply signal of the power supply channel is detected to be in a specific change pattern at this time, it will directly enter the second lighting state, that is, turn off the light.

[0094] In some embodiments, the electronic device is configured to keep the communication channel valid when the power failure duration does not exceed the set interval time. In other words, when the power failure duration of the electronic device does not exceed the set interval time, the processor remains in a normal working state, thereby being able to keep the communication channel activated. This feature ensures that a short power outage of the electronic device will not affect its connection and interaction with the external system. In a specific example, the interval time is set to 3 to 10 seconds to accommodate common power outage scenarios, such as false triggering of a wall switch or short-term power fluctuations. In some embodiments, when the power outage duration exceeds this set interval time, it will be determined that the power supply signal is interrupted, the communication channel fails, and other functional modules of the device stop working.

[0095] The disclosed embodiment further supports switching to different functional states by monitoring a specific change pattern of the power supply signal. Specifically, in the specific step S3031 of step S303, when the power supply signal is restored, by monitoring the power supply channel, it is determined that the power supply signal is restored at least twice in succession and the power-off duration between them is less than the interval time, it is determined that the specific operation mode is met and the second lighting state is entered.

[0096] Furthermore, when the power supply signal is restored, the device monitors whether the power-off time between two adjacent power supply signal restorations is less than the set interval time value (for example, 3 seconds). At the same time, it detects whether the power supply signal is restored at least twice in a row. If these conditions are met, the device determines that it meets the specific change mode and switches to the second lighting state. In a specific example, if the power supply signal is powered on twice in a row, it is identified as meeting the specific change mode. For example, if the power supply channel obtains the power supply signal through a switching device. Taking the smart ceiling lamp as an example, the specific operation of the user triggering the specific change mode through the switching device can be, for example:

[0097] When the smart ceiling lamp is powered off, a connection operation is first performed to re-energize the power supply signal, and then a disconnection operation is performed, followed by a connection operation to re-energize the power supply signal for the second time. The time between the disconnection operation and the second connection operation cannot exceed the interval time.

[0098] When the smart ceiling lamp is powered on, a disconnection operation is first performed to interrupt the power supply signal, and then a first connection operation is performed to re-power the power supply signal for the first time, and then a disconnection operation is performed again, and then a second connection operation is performed to re-power the power supply signal for the second time. The time between any disconnection operation and connection operation cannot exceed the interval time.

[0099] In a further example, the user wants to switch from the default lights-off state (first lighting state) to the lights-on state (second lighting state) when the smart ceiling lamp is restored after a power outage. This only requires performing two quick power restoration operations (on-off-on) through the wall switch that controls the power supply of the smart ceiling lamp. The disconnection time between the two connections needs to be less than 3 seconds (the set interval time). The device can then recognize it as meeting the specific change pattern and complete the switching of the lighting state.

[0100] This design is not only simple to operate and requires no additional equipment, but also significantly improves the flexibility of mode switching.

[0101] Furthermore, the power supply channel includes an energy storage device for storing electric energy in a power supply state, so that the electronic device can keep the communication channel valid when the power failure duration does not exceed a set interval time.

[0102] Energy storage devices can be composed of energy storage elements such as capacitors and inductors, and are usually set in the power supply channel, for example, as part of the power module of electronic equipment. Its main function is to store electrical energy when the electronic equipment is in a normal power supply state. When the power supply signal is interrupted, the energy storage device can delay the power failure of the device, providing a buffer time from the power supply signal being cut off to the complete power failure.

[0103] This buffer time can be considered as the above-mentioned interval time. During this time, if the power supply signal is restored, the electronic device will avoid power failure and can continue to maintain normal working state. In this way, short-term power supply fluctuations will not affect the functional operation of the device, especially the effectiveness of the communication channel. In this way, the device can maintain communication with external devices (such as smartphones or smart home control systems) during the interval time.

[0104] However, if the interruption time of the power supply signal exceeds the buffer time, the device will enter the power-off state, and its normal working functions will stop. For example, for a smart ceiling lamp, the lamp will go out after the power is off, and the communication channel will also fail, and it will be impossible to maintain connection with external devices. In this case, the device needs to wait for the power supply signal to be restored before restarting or switching to the default working state. The introduction of energy storage significantly improves the ability of electronic devices to cope with short-term power interruptions and optimizes the user experience.

[0105] In addition, in some embodiments, in the determination condition of the specific change mode, the number of consecutive power-on times of the power supply signal must be less than or equal to 4 times. That is, if it is greater than 4 times, it is identified as not meeting the specific change mode.

[0106] In some embodiments, in step S302, the electronic device is configured to enter the first lighting state when the power supply signal is interrupted and restored based on the communication channel. Specifically, steps S3021 and S3022 are included.

[0107] At step S3021, after receiving the first instruction through the communication channel, the electronic device is set to retain the state before power failure when it is powered on again. That is, the first instruction is used to set the state of the electronic device after it is powered on again. In the embodiment of the present disclosure, before the power supply signal is interrupted, the electronic device is pre-set to a specific mode, in which the state of the electronic device remains consistent with the state before power failure when it is powered on again.

[0108] Furthermore, after the power supply is restored, the device chooses to enter the first lighting state or wait for further user operation based on the state before the power outage and the recovery logic set by the user. For example: if the device is in the light-off state before the power outage, the light will remain off directly after the power is restored. For example, in a certain scenario, the user wants to quickly switch to the night light mode. By quickly operating the wall switch twice, the device detects the change in the power supply signal that conforms to a specific change pattern, and directly enters the second lighting state (night light mode) without complex configuration. If the user does not perform a quick operation, the device will maintain the first lighting state (such as the default normal lighting mode) after the power is restored.

[0109] On this basis, at step S3022, the electronic device can be switched to the first lighting state by receiving the second instruction according to the communication channel before the power supply signal is interrupted, so that the electronic device enters the first lighting state when the power supply signal is restored (i.e., it takes effect once). Thus, the electronic device is set to enter the first lighting state when the power supply signal is interrupted and restored.

[0110] It can be seen that according to the embodiment of the present disclosure, the user sets the first lighting state before the power supply signal is interrupted to be different from the second lighting state triggered by the specific change mode to realize the dual lighting state selective switching function when the power supply signal is restored. For example, the first lighting state is the light-off state, and the second lighting state is the light-on state. At this time, since the electronic device is configured to retain the state before the power failure when it is powered on again, if the user switches the electronic device to the light-off state before the power supply signal is interrupted (the light-off state at this time can be that the brightness of the light-emitting element is adjusted to 0%, but the electronic device is still in the power-on state), then after the electronic device is cut off from the power supply by the switch device, when the electronic device is powered on again by the switch device, if it is powered on normally, such as closing the switch device relay, the electronic device still retains the original light-off state. At this time, the user can also switch the electronic device to the light-on state (the second lighting state) by operating the switch device to make the power supply signal present a specific change mode (for example, power on twice in a row), that is, the user can choose whether the electronic device is retained in the first lighting state or directly switched to the second lighting state when it is powered on again according to needs, so as to meet more usage scenarios.

[0111] In some embodiments, the electronic device receives a user setting instruction through a communication channel, thereby realizing the function of the device entering the first lighting state when the power supply signal is restored after being interrupted.

[0112] The specific process includes steps S3021' and S3022'.

[0113] In step S3021', a setting instruction is obtained through the communication channel.

[0114] Here, the communication channel can receive user instructions through a wireless (such as Wi-Fi, Bluetooth) or wired (such as power carrier communication) interface. These instructions usually come from smart home control systems, mobile phone applications or remote control devices.

[0115] In this step, the user can send a setting instruction to the electronic device through the communication channel. The setting instruction includes but is not limited to the following:

[0116] Specify the default lighting state (first lighting state) of the electronic device when the power supply signal is interrupted and restored. Configure specific parameters of the first lighting state, such as brightness level, light color or mode (such as reading mode, leisure mode, etc.).

[0117] Users can update the setting instructions at any time through the communication channel to dynamically adjust the device behavior. For example, when the user needs to use the lamp for a specific scene (such as meeting, entertainment or sleep), the corresponding instructions can be set in advance so that the device directly enters the first lighting state adapted to the scene after power is restored.

[0118] Then, at step S3022', the electronic device can be set to directly enter the first lighting state (ie, repetitively take effect) after the power supply signal is restored in response to the setting instruction.

[0119] After obtaining the setting instruction, the processor parses the instruction content and adjusts the internal logic of the device. For example, after parsing the instruction of "entering the first lighting state of low brightness after power restoration", the processor will initialize the device to low brightness mode.

[0120] The first lighting state is usually the default operating mode of the device or the initial state predefined by the user. Its specific manifestations may include:

[0121] Fixed brightness (e.g. 50% brightness).

[0122] A specific light color (such as warm white light).

[0123] Energy saving mode (such as low power operation).

[0124] Turn on certain functions (such as turning on only the main light source and turning off the auxiliary light source).

[0125] The processor will save the configuration logic in the memory according to the setting instructions and call the corresponding parameters when the power supply signal is restored. The setting can be implemented through non-volatile memory so that the setting will not be lost after power failure.

[0126] In some embodiments, the device can receive various setting instructions through different user accounts. For example, user A can set the default lighting after power is restored to reading mode, while user B sets it to night light mode. The device executes the corresponding instructions according to the account priority.

[0127] Through the communication channel, users can adjust the status configuration of the device at any location. For example, when the user is not at home, the device can be remotely switched to energy-saving mode to avoid wasting electricity.

[0128] By configuring the state after power is restored, users can enjoy the preset device functions without manual intervention. For example, when the lamp is restored to power, it directly enters the soft light mode to avoid sudden strong light stimulation and provide users with a more comfortable experience.

[0129] If the communication channel cannot receive instructions due to signal failure, or the user does not set specific instructions, the device will automatically enter the default first lighting state defined by the system to ensure the normal operation of basic functions.

[0130] In general, through steps S3021' and S3022', this solution realizes the behavior of the device after the power supply signal is restored based on the dynamic configuration of the communication channel, which improves the intelligence of the device and the user experience. Whether it is home lighting, smart home appliances or other electronic devices, this solution has good applicability and provides a flexible and efficient solution for device management in multiple scenarios.

[0131] In some embodiments, the communication channel is used to communicate with a switch device, and the switch device here and the switch device used to control the power on and off in the power supply channel can be the same switch device or different switch devices. Among them, when the two are the same switch device, the switch device can be an intelligent device that has the function of switching on and off the circuit and the function of intelligent communication, such as an intelligent wall switch. When the two are not the same switch device, the switch device used for communication through the communication channel can be, for example, a gateway, a smart speaker, a router, a cloud server, a mobile phone, and other intelligent interruption or routing devices.

[0132] The processor is also configured to send feedback information to the switch device through the communication channel to confirm that the electronic device has entered the second lighting state.

[0133] The feedback information may include the following:

[0134] Status confirmation: The device has successfully entered the second lighting state, such as turning on a specific lighting mode, adjusting the brightness and color temperature to the user's settings, etc.

[0135] Real-time status parameters: Feedback of specific operating parameters under the second lighting state, such as brightness, color temperature, operating mode or power consumption information.

[0136] Abnormal prompt: If the device fails to enter the expected state or fails, the feedback information will contain an abnormal state description or error code.

[0137] Furthermore, when users operate the switch device, they can intuitively see the prompt of successful state switching on the switch device (such as the change of the indicator light of the wall switch, the sound prompt of the smart speaker or the push notification on the smartphone), avoiding doubts caused by improper operation or device abnormality. Providing real-time feedback helps to enhance users' sense of control and trust in smart devices.

[0138] In the description of this specification, the description with reference to the terms "some embodiments", "a specific implementation", "a specific implementation process", "an example", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present disclosure. In this specification, the schematic expressions of the above terms corresponding to the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in an appropriate manner.

[0139] It should also be noted that the above-mentioned embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments, that is, the technical solutions disclosed in the later (order of sequence recorded in the text) embodiments should include the technical solutions recorded in the embodiment and the technical solutions recorded in all embodiments before the embodiment.

[0140] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present disclosure, rather than to limit them. Although the present disclosure has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present disclosure.

Claims

1. An electronic device for lighting, comprising: A power supply channel, used for receiving a power supply signal and supplying power to the electronic equipment; Communication channel, used to achieve external communication; A memory for storing instructions; The processor is electrically connected to the power supply channel, the communication channel and the memory, and is configured to execute instructions in the memory so that the electronic device can: Activate the communication channel when powered; configuring the first lighting state and / or the second lighting state based on the communication channel; When the power supply signal is restored, the first lighting state and the second lighting state are selectively entered by monitoring a specific change pattern of the power supply signal of the power supply channel.

2. The electronic device of claim 1, wherein the processor is further configured to execute instructions in the memory to enable the electronic device to: Configuring the electronic device to enter a first lighting state when the power supply signal is interrupted and restored based on the communication channel; When the power supply signal is restored, it is determined whether to enter the second lighting state by monitoring a specific change pattern of the power supply signal of the power supply channel.

3. The electronic device according to claim 2, wherein: The electronic device is configured to keep the communication channel valid when the power outage duration does not exceed the set interval time, and then when the power signal is restored, by monitoring the power channel, it is determined that the power signal is restored at least twice in succession and the power outage duration in between is less than the interval time, and then it is judged that a specific operating mode is met and the second lighting state is entered.

4. The electronic device according to claim 2, wherein: The power supply channel includes an energy storage device for storing electric energy in a power supply state, so that the electronic device can keep the communication channel valid when the power failure duration does not exceed a set interval time.

5. The electronic device according to claim 2, wherein: The electronic device is also configured to maintain the first lighting state when the power signal is restored but the monitored power signal does not conform to a specific change pattern.

6. The electronic device according to any one of claims 1 to 5, wherein: The electronic device is configured through a communication channel to enter a first lighting state when a power supply signal is interrupted and restored, specifically for: After receiving the first instruction through the communication channel, the electronic device is set to retain the state before power failure when power is restored, so that the electronic device can be switched to the first lighting state according to the second instruction received through the communication channel before the power supply signal is interrupted, so that it enters the first lighting state when the power supply signal is restored.

7. The electronic device according to any one of claims 1 to 5, wherein: The electronic device is configured to directly enter the first lighting state after the power supply signal is restored according to the setting instruction obtained through the communication channel.

8. A method for controlling lighting, comprising: Activate the communication channel when powered; configuring the first lighting state and / or the second lighting state based on the communication channel; When the power supply signal is restored, the first lighting state and the second lighting state are selectively entered by monitoring a specific change pattern of the power supply signal of the power supply channel.

9. The control method according to claim 8, comprising: Configuring the electronic device to enter a first lighting state when the power supply signal is interrupted and restored based on the communication channel; When the power supply signal is restored, it is determined whether to enter the second lighting state by monitoring a specific change pattern of the power supply signal of the power supply channel.

10. The control method according to claim 9, wherein: The electronic device is configured to keep the communication channel valid when the power outage duration does not exceed the set interval time, and then when the power signal is restored, by monitoring the power channel, it is determined that the power signal is restored at least twice in succession and the power outage duration in between is less than the interval time, and then it is judged that a specific operating mode is met and the second lighting state is entered.