Light-based identification and control method, lamp, and electronic device

By modulating identification information into the lighting control signal and reconstructing the control signal using image acquisition, the problem of cumbersome operation in intelligent lighting control is solved, and fast and convenient lighting control is achieved.

WO2026092467A1PCT designated stage Publication Date: 2026-05-07MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
MIDEA INTELLIGENT LIGHTING & CONTROLS TECHNOLOGY CO LTD
Filing Date
2025-10-28
Publication Date
2026-05-07

AI Technical Summary

Technical Problem

Existing smart lighting control is cumbersome, making it difficult for users to quickly locate and control specific lights, especially in environments with multiple lights, resulting in a poor user experience.

Method used

By modulating the lamp's identification information into the lamp's control signal, the lamp flashes under the control signal. The user can capture the lamp's identification information by taking pictures, reconstruct and analyze the control signal to achieve rapid control.

Benefits of technology

Users can quickly obtain identification information simply by taking a picture of the target light fixture, simplifying the operation and improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025130655_07052026_PF_FP_ABST
    Figure CN2025130655_07052026_PF_FP_ABST
Patent Text Reader

Abstract

A light-based identification and control method, a lamp (103), and an electronic device (500). The method comprises: (011) collecting a captured image of a target lamp, wherein the target lamp blinks on the basis of a preset control signal, and the control signal is generated on the basis of identification information of the target lamp; (012) reconstructing the control signal on the basis of the captured image; and (013) obtaining the identification information of the target lamp by parsing the reconstructed control signal, and controlling the target lamp on the basis of the identification information of the target lamp.
Need to check novelty before this filing date? Find Prior Art

Description

Light-based recognition and control methods, luminaires, and electronic devices

[0001] Priority information

[0002] This disclosure requests priority and benefits from patent application number “202411566078.X”, filed with the China National Intellectual Property Administration on November 4, 2024, the entire contents of which are incorporated herein by reference. Technical Field

[0003] This disclosure pertains to the field of lighting control technology in the Internet of Things (IoT), and particularly relates to a lighting-based identification and control method, identification and control device, lighting fixture, electronic device, computer-readable storage medium, and computer program product. Background Technology

[0004] Smart lighting control typically requires pairing and binding the lights with a network and adding them to a smart app before they can be used. If there are many lights in the house, locating and controlling a specific light can become cumbersome, requiring area filtering or light searching. Even for controlling offline smart lights (usually via Bluetooth), users still need to filter the Bluetooth hotspot of the desired light and locate it before they can control it, resulting in a tedious process and a poor user experience. Summary of the Invention

[0005] This disclosure aims to address at least one of the technical problems existing in the prior art. To this end, this disclosure proposes a light-based identification and control method, a lighting fixture, and an electronic device. This method can quickly acquire the identification information of a lighting fixture by capturing an image modulated with the fixture's identification information, thereby enabling rapid control of the lighting fixture based on this information. The method is simple to operate and provides a good user experience.

[0006] In a first aspect, this disclosure provides a light-based identification and control method, comprising: acquiring a captured image of a target light fixture; the target light fixture flashing based on a preset control signal, the control signal being generated based on the identification information of the target light fixture; reconstructing the control signal based on the captured image; parsing the identification information of the target light fixture based on the reconstructed control signal; and controlling the target light fixture based on the identification information of the target light fixture.

[0007] Secondly, this disclosure provides an identification control device, which includes:

[0008] The acquisition module is used to acquire images of the target lamp, which flashes based on a preset control signal, and the control signal is generated based on the identification information of the target lamp.

[0009] A reconstruction module is used to reconstruct the control signal based on the captured image;

[0010] The parsing module is used to parse the identification information of the target lamp based on the reconstructed control signal, and control the target lamp based on the identification information of the target lamp.

[0011] Thirdly, this disclosure provides a lighting fixture. The lighting fixture flashes based on a preset control signal, which is generated based on the fixture's identification information.

[0012] Fourthly, this disclosure provides an electronic device, including an image acquisition device, a memory, a processor, and a computer program stored in the memory and executable on the processor. The image acquisition device is used to acquire images of a target lamp, and the processor executes the program to implement the aforementioned recognition and control method.

[0013] Fifthly, this disclosure provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described identification and control method.

[0014] Sixthly, this disclosure provides a computer program product, including a computer program that, when executed by a processor, implements the above-described identification and control method.

[0015] The light-based identification and control method, identification and control device, lamps, electronic devices, computer-readable storage media, and computer program products provided in this disclosure modulate the identification information of the lamps into the control signals of the lamps. When each lamp flashes based on the control signals, it emits light with modulated identification information. When a user needs to control any target lamp, they only need to take a picture of the target lamp to acquire an image of the target lamp. It can be understood that the captured image is generated by light modulated with the identification information of the target lamp. By parsing and reconstructing the captured image of the target lamp, the control signal can be reconstructed. After obtaining the reconstructed control signal, the identification information of the target lamp can be obtained by parsing the control signal. After obtaining the identification information of the target lamp, the target lamp can be quickly controlled based on the identification information.

[0016] In this way, users only need to take a picture of the light fixture they want to control to quickly obtain the fixture's identification information, thereby quickly controlling the light fixture. The operation is relatively simple and provides a good user experience.

[0017] Additional aspects and advantages of embodiments of this disclosure will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of embodiments of this disclosure. Attached Figure Description

[0018] The above and / or additional aspects and advantages of this disclosure will become apparent and readily understood from the description of the embodiments taken in conjunction with the following drawings, in which:

[0019] Figure 1 is an application scenario diagram of the identification control method provided in the embodiments of this disclosure;

[0020] Figure 2 is a schematic diagram of the first process of the identification control method provided in an embodiment of this disclosure;

[0021] Figure 3 is a second flowchart of the identification control method provided in an embodiment of this disclosure;

[0022] Figure 4 is a schematic diagram of the third process of the identification control method provided in the embodiments of this disclosure;

[0023] Figure 5 is a waveform diagram of the control signal provided in an embodiment of this disclosure;

[0024] Figure 6 is a schematic diagram of the fourth process of the identification control method provided in the embodiments of this disclosure;

[0025] Figure 7 is a schematic diagram of the identification control device provided in an embodiment of this disclosure;

[0026] Figure 8 is a schematic diagram of the structure of the electronic device provided in an embodiment of this disclosure; and

[0027] Figure 9 is a schematic diagram of the hardware structure of the electronic device provided in an embodiment of this disclosure. Detailed Implementation

[0028] Embodiments of this disclosure are described in detail below, examples of which are illustrated in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain this disclosure, and should not be construed as limiting this disclosure.

[0029] To facilitate understanding, the technical background and application scenarios of this disclosure will be introduced below:

[0030] With the development of IoT technology, the number of IoT devices in our lives has increased dramatically, and most of these devices require internet connectivity. For example, they can connect to a gateway (such as a router) in a home environment via Wi-Fi and then be controlled by a terminal device. Alternatively, the terminal device can directly communicate and connect to the IoT device via Bluetooth or other methods to control it.

[0031] Taking smart lighting fixtures as an example, after the smart lighting fixtures are connected to the router via Wi-Fi, terminal devices can remotely control them (such as turning them on and off, adjusting brightness) through the router using the smart lighting fixtures' communication address. Alternatively, terminal devices can control the smart lighting fixtures by connecting to them via Bluetooth.

[0032] Currently, to control a specific light fixture, it's necessary to first locate that fixture. However, with numerous IoT devices in a scenario, the identification information (such as device ID) of different IoT devices is difficult for users to distinguish. Therefore, it's challenging for users to quickly locate the desired light fixture from the device list. Users need to spend a significant amount of time consulting the device's manual or the label affixed to the device to obtain the device ID, then find that device ID in the device list, and finally locate the desired light fixture using that device ID. This process is extremely cumbersome and results in a poor user experience.

[0033] This disclosed light-based identification and control method modulates the identification information of a light fixture into its control signal. When each light fixture flashes based on the control signal, it emits light carrying the modulated identification information. Users only need to take a picture of the light fixture they want to control to quickly obtain its identification information, thus enabling rapid control. The operation is simple and provides a good user experience.

[0034] Please refer to Figure 1, which is an application scenario diagram of a light-based recognition and control method provided by an embodiment of this disclosure. The application scenario provided by this disclosure includes a lamp 103, a terminal device 101, and a server 102. The light-based recognition and control method provided by this disclosure can be implemented by at least one of the terminal device 101 and the server 102.

[0035] Alternatively, the luminaire can be a smart luminaire. Smart luminaires are the product of the combination of modern lighting technology and Internet of Things (IoT) technology. By integrating advanced electronic devices and sensors, they can achieve a variety of functions such as remote control, automated adjustment, and energy-saving management.

[0036] In addition to basic on / off functions, smart lights also support dimming, color changing, and timer settings.

[0037] The terminal devices may include, but are not limited to: smartphones (such as Android phones, iOS phones, etc.), tablets, laptops, desktop computers, smart speakers, smartwatches, portable personal computers, mobile internet devices (MIDs), smart voice interaction devices, smart home appliances, vehicle terminals, aircraft, wearable devices, etc., and this disclosure does not limit them.

[0038] The server can be a standalone physical server, a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, CDN (Content Delivery Network), and big data and artificial intelligence platforms. This disclosure does not limit the scope of the server.

[0039] It should be noted that the number of terminal devices and servers in Figure 1 is for illustrative purposes only, and the number of terminal devices and servers can be more or less, which is not limited here. The terminal devices and servers can be connected directly or indirectly through wired or wireless communication, which is not limited here.

[0040] The identification and control method disclosed herein can be implemented using cloud technology.

[0041] Cloud technology refers to a hosting technology that unifies a series of resources such as hardware, software, and networks within a wide area network or local area network to achieve data computing, storage, processing, and sharing.

[0042] Cloud technology is a collective term for network technologies, information technologies, integration technologies, management platform technologies, and application technologies applied to the cloud computing business model. It can form resource pools, providing flexible and convenient on-demand access. Cloud computing technology will become a crucial support. Backend services of technical network systems require substantial computing and storage resources, such as video websites, image websites, and many portal websites. With the rapid development and application of the internet industry, every item may have its own identification mark in the future, requiring transmission to backend systems for logical processing. Data at different levels will be processed separately, and various industry data will all require robust system support, which can only be achieved through cloud computing.

[0043] The identification and control method disclosed herein can be implemented based on cloud computing. Cloud computing is a computing model that distributes computing tasks across a resource pool composed of a large number of computers, enabling various application systems to obtain computing power, storage space, and information services as needed. The network providing these resources is called the "cloud." From the user's perspective, the resources in the "cloud" are infinitely scalable, readily available, on-demand, expandable, and pay-as-you-go.

[0044] As a provider of fundamental cloud computing capabilities, a cloud resource pool (referred to as a cloud platform, generally called an IaaS (Infrastructure as a Service) platform) is established. Various types of virtual resources are deployed in the resource pool for external customers to choose from. The cloud resource pool mainly includes: computing devices (virtualized machines containing operating systems), storage devices, and network devices.

[0045] The light-based recognition and control method in this embodiment can be executed by an electronic device, which can be at least one of a server and a terminal device. That is, the method can be executed by the server or the terminal device alone, or by both the server and the terminal device. Therefore, the executing entity of each step will not be described again below.

[0046] It should be noted that the examples below use a terminal device executing a light-based recognition and control method as an example. Those skilled in the art can apply the recognition and control method provided in this disclosure to other types of scenarios (such as a server executing a recognition and control method, or a terminal device cooperating with a server to jointly execute a recognition and control method) based on their understanding of the following.

[0047] Based on the above description of the relevant scenarios, this disclosure provides an identification and control method, which will be described in detail below:

[0048] Please refer to Figure 2. The identification and control method provided in this embodiment is implemented by steps 011 to 013, which will be described in detail below.

[0049] Step 011: Capture images of the target light fixture. The target light fixture flashes based on a preset control signal, which is generated based on the identification information of the target light fixture.

[0050] In this context, the target light fixture is the light fixture that the user wants to control. There can be one or more target light fixtures, resulting in an image containing one or more of these fixtures. This facilitates the subsequent simultaneous identification of the identification information of multiple target light fixtures.

[0051] Alternatively, when illuminating, the lamps are generally controlled based on control signals (such as pulse width modulation (PWM) signals). The brightness of the lamps can be adjusted by adjusting the duty cycle of the PWM signal.

[0052] PWM dimming technology utilizes the human eye's perception of light. The human eye cannot distinguish high-speed flickering light; however, when the frequency of the PWM signal exceeds a certain threshold (typically above 200Hz), the human eye perceives the light as continuous. PWM lighting fixtures adjust brightness by changing the pulse width to control the average current of the LED.

[0053] Specifically, based on the control method of the lamp (such as PWM control), by modulating the PWM signal, the identification information of the lamp (such as device ID, MAC (Media Access Control) address) can be carried in the PWM signal. When the lamp flashes based on the PWM signal, it can emit light carrying the identification information.

[0054] Optionally, the control signal includes multiple periodic waveforms with different duty cycles. The characters in the identification information of the target lamp correspond one-to-one with the periodic waveforms. The brightness of the lamp varies when the target lamp flashes with periodic waveforms of different duty cycles.

[0055] In other words, the PWM signal contains multiple periodic waveforms (i.e., periodic waveforms). When the duty cycle of each periodic waveform is different, the brightness of the light emitted by the lamp in that period is different. Therefore, by modulating the duty cycle, the periodic waveforms with different duty cycles can correspond to different characters, thereby modulating the identification information of the target lamp into the PWM signal.

[0056] Optionally, the identification information of the target luminaire can be converted into binary values, and then two periodic waveforms with a large difference in duty cycle can be designed (such as a periodic waveform with a first duty cycle (e.g., 80%) and a periodic waveform with a second duty cycle (20%)), corresponding to 0 and 1 respectively. For example, the periodic waveform with the first duty cycle corresponds to 0, and the periodic waveform with the second duty cycle corresponds to 1.

[0057] This binary value is then modulated into the PWM signal. A significant difference in brightness exists between the captured images under the periodic waveforms of the first and second duty cycles.

[0058] In this way, the duty cycle of the captured image can be quickly determined by the brightness of the light fixture, thereby determining the corresponding periodic waveform.

[0059] Optionally, each periodic waveform of the control signal includes a low level and a high level, with the low level in the periodic waveform occurring earlier than the high level.

[0060] It's understandable that exposure time generally doesn't occupy the entire shooting cycle (e.g., exposure is typically done in the early stages of the shooting cycle, followed by image readout). If the high level of a periodic waveform occurs earlier than the low level, and since the high level duration corresponds to a relatively large duty cycle to ensure illumination, even if the duty cycles of two periodic waveforms differ, the exposure time may both fall within the high level duration, resulting in the same brightness for the corresponding lighting fixtures in two frames with different duty cycles. Therefore, by setting the low level timing earlier than the high level timing, the image exposure will first pass through the low level duration. Because the low level duration is shorter, the exposure time will generally fall at least partially within the high level duration. This means that periodic waveforms with shorter low-level proportions will correspond to lower lighting fixture brightness, thus differentiating between periodic waveforms with different duty cycles based on the lighting fixture brightness in the captured image.

[0061] Terminal devices can capture images of target lighting fixtures using image acquisition devices (such as visible light cameras). It's understandable that, compared to the human eye's perception of light, image acquisition devices have a higher frame rate, allowing them to detect changes in brightness that are imperceptible to the human eye. Based on this, the images captured by the image acquisition device can accurately perceive changes in the brightness of the lighting fixtures. Furthermore, in PWM signals, the brightness of the lighting fixture varies with different duty cycles. Therefore, by perceiving the brightness of the lighting fixtures, the duty cycle in the PWM signal can be deduced, allowing different duty cycles to represent different information, thus modulating the lighting fixture's identification information within the PWM signal.

[0062] Optionally, multiple consecutive frames of images are captured based on a preset acquisition frame rate, where the period corresponding to the preset acquisition frame rate is less than or equal to the period of the control signal.

[0063] It is understandable that, in order to accurately perceive the PWM signal, the frame rate of the captured images needs to be set accordingly. For example, the preset acquisition frame rate of the captured images can be set to be the same as the frequency of the PWM signal (e.g., the period corresponding to the preset acquisition frame rate is equal to the period of the control signal), so that each cycle of the PWM signal waveform corresponds to one captured image. Alternatively, the preset acquisition frame rate of the captured images can be set to be greater than the frequency of the PWM signal (e.g., the period corresponding to the preset acquisition frame rate is less than the period of the control signal, such as the period corresponding to the preset acquisition frame rate being 1 / m of the period of the control signal, where m is greater than 1 (specifically, it can be a positive integer)), so that each cycle of the PWM signal waveform corresponds to multiple captured images. By capturing multiple images to correspond to the same cycle waveform, the perception accuracy of the image acquisition device can be improved, which is beneficial to improving the accuracy of subsequent reconstruction of the control signal.

[0064] Optionally, the control signal is generated based on the identification information, start information and end information of the target luminaire. The identification information of the target luminaire is located between the start information and the end information, and the start information and the end information each have corresponding periodic waveforms.

[0065] It is understandable that in order to achieve complete identification of the identification information, the start and end of the identification information need to be accurately identified. Therefore, by setting start and end information at both ends of the identification information, the complete identification information can be accurately identified by identifying the start and end information.

[0066] Please refer to Figure 3. Optionally, step 011 includes:

[0067] Step 0111: When the start information is detected, capture multiple consecutive frames of images at a preset acquisition frame rate. The period corresponding to the preset acquisition frame rate is equal to the period of the control signal, and the preset acquisition frame rate is less than the preset recognition frame rate when the start information is detected.

[0068] Specifically, by recognizing the start information, synchronization between the captured image and the periodic waveform in the PWM signal can be achieved. Then, at the beginning of the first periodic waveform corresponding to the identification information in the PWM signal, multiple consecutive frames of images are captured at a preset acquisition frame rate. Since the preset acquisition frame rate is m times the frequency of the PWM signal, each periodic waveform has a corresponding m frames (such as one or more) of captured images. Thus, the consecutive frames of images captured after synchronization are the captured images corresponding to the identification information. By using the consecutive frames of images captured after synchronization, and the correspondence between the captured images and the periodic waveforms, the accuracy of subsequently obtaining the corresponding periodic waveform from the captured images through rapid analysis can be improved.

[0069] Optionally, upon recognizing the end information, image acquisition can be stopped. Thus, recognizing the end information indicates that the terminal device has already acquired multiple consecutive frames of images corresponding to complete identification information, eliminating the need for further image acquisition and saving unnecessary power consumption while ensuring recognition accuracy.

[0070] Step 012: Reconstruct the control signal based on the captured image.

[0071] Specifically, after obtaining multiple frames of captured images, the duty cycle corresponding to the brightness of the lamp in the captured images can be quickly determined, thereby determining the periodic waveform corresponding to that duty cycle. After obtaining the periodic waveform corresponding to multiple consecutive captured images and the capturing time, the PWM signal can be reconstructed.

[0072] For example, each frame of captured image can correspond to a periodic waveform, with the identification information represented by binary values. Taking PWM signal modulation as an example, when the brightness of the lamps in the captured image is low (e.g., less than the preset brightness), the duty cycle of the captured image can be determined to be low (e.g., 0), while when the brightness of the lamps in the captured image is high (e.g., greater than the preset brightness), the duty cycle of the captured image can be determined to be high (e.g., 1).

[0073] It is understandable that the greater the difference in duty cycles between 0 and 1, the smaller the probability of recognition errors. Therefore, the difference in duty cycles between the first duty cycle corresponding to 0 and the second duty cycle corresponding to 1 can be set to greater than 60%, 70%, etc.

[0074] The brightness of the lights in the captured image can be determined by identifying the image area where the lights are located in the captured image and then determining the brightness of the lights in the captured image based on the pixel values ​​of that image area.

[0075] Based on the brightness of the lamps in the captured images, the periodic waveform of the duty cycle corresponding to each frame of the captured image can be quickly determined, thereby realizing the reconstruction of the PWM signal.

[0076] In this way, control signals can be quickly reconstructed by taking pictures.

[0077] Step 013: Based on the reconstructed control signal, the identification information of the target lamp is parsed and the target lamp is controlled based on the identification information of the target lamp.

[0078] Specifically, the reconstructed control signal includes a periodic waveform corresponding to the start information, multiple periodic waveforms corresponding to the identification information, and a periodic waveform corresponding to the end information.

[0079] Optionally, identification information can be obtained by parsing the characters corresponding to each periodic waveform in the reconstructed control signal.

[0080] By analyzing multiple periodic waveforms corresponding to the identification information, the character corresponding to each periodic waveform is determined, thereby parsing the string corresponding to the identification information of the target lamp, which is the identification information of the target lamp.

[0081] For example, the identification information of the target luminaire is the device ID, which is identified by a binary value. The identification information contains 6 periodic waveforms, which correspond to 0, 1, 1, 1, 0, and 1 respectively. That is, the device ID of the target luminaire is 011101. The communication address corresponding to the target luminaire can be quickly determined through this device ID, and thus the target luminaire can be controlled through the communication address.

[0082] For example, the target lighting fixture's identification information is its communication address, identified by a binary value. This identification information contains six periodic waveforms, each corresponding to 1, 0, 1, 1, 0, and 1. Therefore, the target lighting fixture's communication address is 101101. Through this communication address, the terminal device can quickly control the target lighting fixture.

[0083] Optionally, one or more lamps with parsed identification information can be divided into multiple groups. When controlling the lamps, the terminal device can control each group of lamps separately based on the identification information corresponding to each group. In this way, based on grouping, simultaneous control of each group of lamps can be achieved, which can improve the efficiency of lamp control. For example, simultaneously controlling a group of lamps to turn on or off, or adjusting the brightness of that group of lamps.

[0084] The identification and control method disclosed herein modulates the identification information of a lamp into its control signal. Each lamp emits light carrying the modulated identification information when flashing based on the control signal. When a user needs to control any target lamp, they simply need to take a picture of the target lamp to acquire an image. This image is generated from light modulated with the target lamp's identification information. By analyzing and reconstructing the captured image, the control signal can be obtained. After obtaining the reconstructed control signal, the identification information of the target lamp can be obtained by analyzing the control signal. Once the identification information is obtained, the target lamp can be quickly controlled based on it.

[0085] In this way, users only need to take a picture of the light fixture they want to control to quickly obtain the fixture's identification information, thereby quickly controlling the light fixture. The operation is relatively simple and provides a good user experience.

[0086] In some embodiments, please refer to Figure 4. In order to improve the recognition accuracy of the start information, the recognition control method further includes steps 014 and 015, which are described in detail below.

[0087] Step 014: Acquire multiple consecutive frames of images at a preset recognition frame rate. The period corresponding to the preset recognition frame rate is 1 / n of the period of the control signal, where n is greater than 1.

[0088] Step 015: Based on the captured image, identify the start information.

[0089] Specifically, please refer to Figure 5. At the start of recognition, multiple frames of images can be captured continuously using a preset recognition frame rate with a higher frame rate, thereby achieving recognition of the start information with higher perception accuracy.

[0090] Similarly, the periodic waveform corresponding to the start information can be set to change between high and low levels relatively quickly, as shown in Figure X. For example, the periodic waveform corresponding to the start information includes two high levels and two low levels, which are interleaved. In this case, the period corresponding to the preset recognition frame rate can be 1 / n of the control signal period, such as n equals the number of levels in the periodic waveform (i.e., n can be 4). Thus, based on the continuously captured images from multiple frames acquired at the preset recognition frame rate, the recognition of the high level (i.e., the light is on) and low level (i.e., the light is off) of the start information can be achieved. When the light in the captured image continuously changes between bright and dark, it can be considered that the start information has been recognized. In this way, the recognition of the start information can be realized.

[0091] Please refer to Figure 5. Optionally, the periodic waveform corresponding to the start information includes the initial waveform and the final waveform of the start phase. The changes in lamp brightness corresponding to the initial waveform and the final waveform are different. Step 015 includes:

[0092] Step 0151: Based on the changes in the brightness of the lamps in the captured image, identify the starting waveform and the ending waveform.

[0093] It is understandable that, since the start information consists of continuous alternation between high and low levels, and the captured image is not necessarily synchronized with the start information, it is impossible to accurately determine the end time of the start information, and therefore it is impossible to achieve synchronization with the periodic waveform corresponding to the identification information.

[0094] Therefore, in addition to the starting waveform that alternates between high and low levels, the start information can also be set to indicate the end of the start information. For example, the high and low levels corresponding to the end waveform will no longer alternate continuously, but will be kept at a high or low level as much as possible. As shown in Figure 5, the end waveform is basically high level.

[0095] As shown in Figure 5, the ending waveform is divided into four parts. Except for the second part, which is low-level, all other parts are high-level. This allows for the detection of the ending waveform when multiple consecutive frames (e.g., two frames) of images showing illuminated lights are detected. Furthermore, based on this ending waveform design, the start time of the identification information can be quickly calculated. For example, if two consecutive frames of images show illuminated lights (resulting in the high-level images corresponding to the third and fourth parts), the ending waveform can be determined to have ended, marking the start time of the waveform period corresponding to the identification information.

[0096] Thus, upon recognizing the end waveform, the system can switch to the preset acquisition frame rate to capture images, and then capture multiple consecutive frames of images at the preset acquisition frame rate at the beginning of the waveform period corresponding to the identification information.

[0097] The preset acquisition frame rate can be set lower than the preset recognition frame rate. For example, if the period corresponding to the preset acquisition frame rate is the same as the period of the PWM signal, then each subsequent frame of the captured image only needs to correspond to one waveform period. This not only reduces the algorithmic complexity of subsequent control signal reconstruction but also ensures reconstruction accuracy. Furthermore, it can reduce the power consumption of the image acquisition device.

[0098] In some embodiments, please refer to Figure 6. The identification control method further includes steps 016 and 017, which are described in detail below.

[0099] Step 016: During the process of acquiring multiple consecutive frames of images at a preset acquisition frame rate, if the brightness of the lamp in the currently detected image is within the preset brightness range, acquire multiple consecutive frames of images again at the preset recognition frame rate. The preset brightness range is determined based on the brightness of the lamp corresponding to the identification information of the target lamp.

[0100] Step 017: Identify the termination waveform based on the changes in the brightness of the lights in the captured image.

[0101] Specifically, when acquiring multiple frames of images corresponding to the identification information, it is necessary to identify the end information in a timely manner, so as to reduce unnecessary power consumption while ensuring that the complete identification information corresponding to the captured images is identified.

[0102] The design of the ending message can be similar to the design of the starting waveform of the starting message, that is, the high and low levels in the ending waveform of the ending message alternate, and the duty cycle can be set to 50% to distinguish it from the high duty cycle representing 1 and the low duty cycle representing 0.

[0103] It's understandable that due to the low preset frame rate, alternating high and low levels might not be detected, only changes in lamp brightness might be perceived. Therefore, when capturing images at the preset frame rate, if the brightness of the captured image falls within the preset brightness range (e.g., the lamp brightness corresponding to a periodic waveform with a 50% duty cycle), a suspected termination waveform can be identified. To ensure the accuracy of termination waveform detection, multiple consecutive frames can be captured again at the preset recognition frame rate. This allows for accurate perception of the brightness changes in the captured images of the termination waveform. If the captured frames show alternating brightness changes, the termination waveform can be accurately identified. After accurately identifying the termination waveform, image capture can be stopped to reduce unnecessary power consumption.

[0104] The preset brightness range is determined based on the brightness of the target luminaire corresponding to its identification information, such as the brightness of the luminaire corresponding to a duty cycle of 0 and the brightness of the luminaire corresponding to a duty cycle of 1.

[0105] According to the method described in the above embodiments, this disclosure also provides an identification control device 300 for performing the steps in the above identification control method. Please refer to FIG7, which is a schematic structural diagram of the identification control device 300 provided in this disclosure. The identification control device 300 includes:

[0106] The acquisition module 301 is used to acquire images of the target lamp. The target lamp flashes based on a preset control signal, which is generated based on the identification information of the target lamp.

[0107] Reconstruction module 302 is used to reconstruct control signals based on captured images;

[0108] The parsing module 303 is used to parse the identification information of the target lamp based on the reconstructed control signal, and control the target lamp based on the identification information of the target lamp.

[0109] It should be noted that the specific details of each module unit in the above-mentioned identification control device 300 have been described in detail in the embodiments of the above-mentioned identification control method, and will not be repeated here.

[0110] In this disclosure, the terms "module" or "unit" refer to a computer program or part of a computer program that has a predetermined function and works with other related parts to achieve a predetermined goal, and can be implemented wholly or partially using software, hardware (such as processing circuitry or memory), or a combination thereof. Similarly, a processor (or multiple processors or memory) can be used to implement one or more modules or units. Furthermore, each module or unit can be part of an overall module or unit that includes the functionality of that module or unit.

[0111] In some embodiments, the identification control device in this disclosure can be implemented in hardware, such as an electronic device or a component in an electronic device, such as an integrated circuit or a chip; the identification control device can also be implemented in software, such as as an application installed in an electronic device.

[0112] In some embodiments, please refer to FIG8, which is a schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. The electronic device 500 includes a processor 501 and a memory 502. The memory 502 stores a computer program 503 that can run on the processor 501. When the processor 501 executes the program 503, it implements the various processes of the embodiments of the above-described identification and control method and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0113] Please refer to Figure 9, which is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this disclosure. This electronic device can be a terminal device or a server. Exemplarily, the electronic device 700 includes a Central Processing Unit (CPU) 701, a system memory 704 including Random Access Memory (RAM) 702 and Read-Only Memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the CPU 701.

[0114] In some embodiments, the electronic device 700 may also include a basic input / output system 706 that helps transmit information between various devices within the computer, and a mass storage device 707 for storing the operating system 713, the client 714, and other program modules 715.

[0115] In some embodiments, the basic input / output system 706 includes a display 708 for displaying information and an input device 709 for user input, such as a touch panel and other input devices. A touch panel is also called a touchscreen. A touch panel may include both a touch device and a touch controller. Other input devices may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described further here.

[0116] Both the display 708 and the input device 709 are connected to the central processing unit 701 via an input / output controller 710 connected to the system bus 705. The basic input / output system 706 may also include the input / output controller 710 for receiving and processing input from touch panels, other input devices, etc. Similarly, the input / output system 706 also includes output devices such as displays, printers, or other types of output devices.

[0117] Mass storage device 707 is connected to central processing unit 701 via a mass storage controller (not shown) connected to system bus 705. Mass storage device 707 and its associated computer-readable media provide non-volatile storage for electronic device 700. That is, mass storage device 707 may include computer-readable media (not shown) such as hard disk or compact disc read-only memory (CD-ROM) drive.

[0118] According to various embodiments of this disclosure, the electronic device 700 can also be connected to a remote computer on a network, such as the Internet. That is, the electronic device 700 can be connected to a network 717 via a network interface unit 716 connected to the system bus 705, or it can use the network interface unit 716 to connect to other types of networks or remote computer systems (not shown).

[0119] This disclosure also provides a non-transitory computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the various processes of the above-described identification and control method embodiments and achieves the same technical effect. To avoid repetition, it will not be described again here.

[0120] The processor can be the processor in the electronic device described in the above embodiments. The computer-readable storage medium can be a computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk, etc.

[0121] Computer-readable media can include computer storage media and communication media. Computer storage media includes volatile and non-volatile, removable and non-removable media implemented using any method or technology for storing information such as computer-readable instructions, data structures, program modules, or other data. Computer storage media include RAM, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other solid-state storage technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage, or other magnetic storage devices. Of course, those skilled in the art will recognize that computer storage media are not limited to the above-mentioned types.

[0122] This disclosure also provides a computer program product, including a computer program that, when executed by a processor, implements the aforementioned identification and control method. The processor may be a processor in the electronic device described in the above embodiments. When executed by the processor, the computer program implements the various processes of the embodiments of the aforementioned identification and control method and achieves the same technical effects; therefore, to avoid repetition, further details are omitted here.

[0123] It is understood that in the specific embodiments of this disclosure, data related to user identity or characteristics is involved. When the above embodiments of this disclosure are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of related data must comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0124] Although embodiments of this disclosure have been shown and described, those skilled in the art will understand that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of this disclosure, the scope of which is defined by the claims and their equivalents.

Claims

1. A light-based recognition and control method, wherein, include: The system captures images of the target light fixture, which then flashes based on a preset control signal generated based on the fixture's identification information. Based on the captured image, the control signal is reconstructed; Based on the reconstructed control signal, the identification information of the target lamp is obtained by parsing, and the target lamp is controlled based on the identification information of the target lamp.

2. The identification control method according to claim 1, wherein, The images captured from the target lighting fixture include: Multiple consecutive frames of the captured images are acquired at a preset acquisition frame rate, wherein the period corresponding to the preset acquisition frame rate is less than or equal to the period of the control signal.

3. The identification control method according to claim 1, wherein, The control signal includes a pulse width modulation signal, and the control signal includes a variety of periodic waveforms with different duty cycles. The characters in the identification information of the target lamp correspond one-to-one with the periodic waveforms. The brightness of the lamp varies when the target lamp flashes with periodic waveforms with different duty cycles.

4. The identification control method according to claim 3, wherein, The identification information of the target lamp is a binary value, and the control signal includes at least a periodic waveform of a first duty cycle and a second duty cycle. The binary value of 0 corresponds to one of the periodic waveforms of the first duty cycle and the second duty cycle, and the binary value of 1 corresponds to the other of the periodic waveforms of the first duty cycle and the second duty cycle.

5. The identification control method according to claim 3, wherein, The control signal is generated based on the identification information, start information and end information of the target lamp. The identification information of the target lamp is located between the start information and the end information, and the start information and the end information each have corresponding periodic waveforms.

6. The identification control method according to claim 5, wherein, Also includes: Based on a preset recognition frame rate, multiple consecutive frames of the captured images are acquired, where the period corresponding to the preset recognition frame rate is 1 / n of the period of the control signal, and n is greater than 1. Based on the captured image, the start information is identified; The images captured from the target lighting fixture include: Upon recognition of the start information, multiple consecutive frames of the captured image are acquired at a preset acquisition frame rate. The period corresponding to the preset acquisition frame rate is equal to the period of the control signal, and the preset acquisition frame rate is less than the preset recognition frame rate.

7. The identification control method according to claim 6, wherein, The periodic waveform corresponding to the start information includes the starting waveform and the ending waveform of the start phase, and the change in the brightness of the lamps corresponding to the starting waveform and the ending waveform are different. The step of identifying the start information based on the captured image includes: Based on the changes in the brightness of the lamps in the captured images, the starting waveform and the ending waveform are identified; The step of acquiring multiple consecutive frames of the captured images at a preset acquisition frame rate upon recognition of the start information includes: Upon recognizing the ending waveform, multiple consecutive frames of the captured image are acquired at a preset acquisition frame rate.

8. The identification control method according to claim 6, wherein, The termination information includes a termination waveform, and the method further includes: During the process of acquiring multiple consecutive frames of the captured images at a preset acquisition frame rate, if the brightness of the lamp in the currently detected captured image is within a preset brightness range, multiple consecutive frames of the captured images are acquired again at the preset identification frame rate. The preset brightness range is determined based on the lamp brightness corresponding to the identification information of the target lamp. The termination waveform is identified based on the changes in the brightness of the lamps in the captured image; The method further includes; Upon recognizing the termination information, the acquisition of the captured images is stopped.

9. The identification control method according to any one of claims 3-8, wherein, The reconstructing of the control signal based on the captured image includes: Identify the brightness of the target lamp in each frame of the captured image; Based on the brightness of the lamp corresponding to each frame of the captured image, the periodic waveform corresponding to each frame of the captured image is determined respectively; The control signal is reconstructed based on the periodic waveform and shooting time corresponding to each frame of the captured image.

10. The identification control method according to claim 9, wherein, The identification information of the target lamp is obtained by parsing the reconstructed control signal, including: The identification information is obtained by parsing the characters corresponding to each periodic waveform in the reconstructed control signal.

11. The identification control method according to claim 1 or 10, wherein, The step of controlling the target luminaire based on its identification information includes: Based on the identification information of the target lamp, determine the communication address corresponding to the target lamp; Based on the communication address corresponding to the target lamp, a control command is sent to the target lamp to control the target lamp to perform a corresponding operation. The control command is generated based on at least one of the received user's voice command, touch operation, and gesture operation.

12. The identification control method according to claim 1, wherein, Each periodic waveform of the control signal includes a low level and a high level, and the timing of the low level in the periodic waveform is earlier than the timing of the high level.

13. The identification control method according to claim 1, wherein, One or more luminaires whose identification information has been parsed can be divided into multiple groups, and the method includes: Based on the identification information corresponding to each group of lights, each group of lights is controlled separately.

14. A lamp, wherein, The lamp flashes based on a preset control signal, which is generated based on the lamp's identification information.

15. An electronic device, wherein, The system includes an image acquisition device, a memory, a processor, and a computer program stored in the memory and executable on the processor. The image acquisition device is used to acquire images of the target lamp, and the processor executes the program to implement the recognition and control method as described in any one of claims 1-13.

Citation Information

Patent Citations

  • Method and system for collecting lamp control termial corresponding lamp-post information

    CN103747577A

  • Lighting equipment, intelligent terminal, lighting equipment networking system and method

    CN104582167A

  • Illumination equipment control method and device

    CN108768524A

  • Method and apparatus for lighting control using optical camera communication

    KR1020180046387A