Marking Method and Device for Lighting Equipment, Storage Medium, Electronic Device

By controlling the lighting equipment to perform strobe events and scanning with photosensitive devices, the problem of difficult to determine the correspondence relationship of the lamps in the intelligent lighting equipment distribution network is solved, and fast and accurate lamp marking and distribution network are achieved.

CN115278995BActive Publication Date: 2025-07-18QINGDAO YEELINK INFORMATION TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210886141.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-26
Publication Date
2025-07-18
Estimated Expiration
2042-07-26

AI Technical Summary

Technical Problem

In the prior art, intelligent lighting equipment cannot accurately determine the correspondence between the lamp to be operated in the distribution network and the lamp to be operated in the actual distribution network during the distribution network, resulting in cumbersome operation.

Method used

By controlling multiple lighting devices to perform strobe events, and scanning the strobe events using the photosensitive device of the acquisition device, determining the strobe speed, and marking the device identification according to the strobe speed.

Benefits of technology

The rapid and accurate determination of the correspondence between the lamp to be operated in the network and the lamp to be operated in the network is achieved, which simplifies the operation process and reduces the hardware cost.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115278995B_ABST
    Figure CN115278995B_ABST
Patent Text Reader

Abstract

The present invention provides a marking method and device, a storage medium, and an electronic device for a lighting device. Among them, the above method includes: when multiple lighting devices have entered the marking state, controlling the multiple lighting devices to perform a stroboscopic event according to a preset rule; scanning the stroboscopic event of a target lighting device through an acquisition device, where the acquisition device has a photosensitive device; according to the stroboscopic event, marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device. By adopting the above technical solution, the problems in the related art, such as the cumbersome operation caused by the inability to determine the correspondence between the lamp to be networked and the actually networked lamp, are solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of Internet of Things, and in particular, to a method and device for marking lighting devices, a storage medium, and an electronic device. Background Art

[0002] During the marking process of existing lighting devices, when multiple intelligent lamps are installed and powered on, multiple intelligent lamp devices (also called lighting devices) will appear when searched through a mobile phone APP. Users cannot identify the corresponding relationship between the lamps searched on the mobile phone and the actually installed intelligent lamps. Therefore, in the prior art, after the network configuration is completed, the lamps need to be turned on and off separately to determine the corresponding relationship between the lamps and the lamps on the APP. As a result, it will cause users to spend a lot of time in lamp configuration, increasing the threshold for using intelligent lamps.

[0003] In view of the problems in the related art, such as the inability to determine the corresponding relationship between the lamp to be network-configured and the actually network-configured lamp, resulting in cumbersome operations, no effective solution has been proposed yet. Summary of the Invention

[0004] Embodiments of the present invention provide a method and device for marking lighting devices, a storage medium, and an electronic device to solve the problems in the related art, such as the inability to determine the corresponding relationship between the lamp to be network-configured and the actually network-configured lamp, resulting in cumbersome operations.

[0005] According to an embodiment of the present invention, a method for marking lighting devices is provided, including: controlling the multiple lighting devices to perform a stroboscopic event according to a preset rule when the multiple lighting devices have entered the marking state; scanning the stroboscopic event of the target lighting device through a collection device, where the collection device has a photosensitive device; and marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic event.

[0006] In an alternative embodiment, marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic event includes: scanning the stroboscopic event through the collection device to determine the stroboscopic speed corresponding to the stroboscopic event; and marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic speed.

[0007] In an alternative embodiment, scanning the stroboscopic event by a collection device to determine the stroboscopic speed corresponding to the stroboscopic event includes: controlling the exposure speed of the photosensitive device of the collection device to change in a target manner; during the change of the exposure speed, monitoring whether a target pattern is displayed on the display screen of the collection device; in the case of displaying the target pattern, determining the target exposure speed of the collection device as the stroboscopic speed corresponding to the stroboscopic event, where the target exposure speed is the exposure speed when the display screen displays the target pattern.

[0008] In an alternative embodiment, controlling the exposure speed of the photosensitive device of the collection device to change in a target manner includes at least one of the following: controlling the exposure speed of the photosensitive device of the collection device to change in an increasing trend; controlling the exposure speed of the photosensitive device of the collection device to change in a decreasing trend; controlling the exposure speed of the photosensitive device of the collection device to change in a random manner.

[0009] In an alternative embodiment, before scanning the stroboscopic event by a collection device to determine the stroboscopic speed corresponding to the stroboscopic event, the method further includes: sending the stroboscopic range of the stroboscopic event to the target lighting device to instruct the target lighting device to execute the stroboscopic event at the stroboscopic speed within the stroboscopic range, where the stroboscopic range corresponds to the photosensitive device.

[0010] In an alternative embodiment, marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic speed includes: determining the identification information of the target lighting device according to the stroboscopic speed, where the identification information is used to uniquely identify the target lighting device; marking the device identifier of the lighting device currently displayed on the client according to the identification information to associate the device identifier and the identification information.

[0011] In an alternative embodiment, marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic speed includes: receiving a setting operation of a target object; in response to the setting operation, identifying the currently displayed lighting device by the identification information of the target lighting device corresponding to the stroboscopic speed.

[0012] According to another embodiment of the present invention, there is also provided a marking device for a lighting device, including: a control module configured to control the plurality of lighting devices to perform a stroboscopic event according to a preset rule when the plurality of lighting devices have entered the marking state; a scanning module configured to scan the stroboscopic event of a target lighting device through an acquisition device, wherein the acquisition device has a photosensitive device; a marking module configured to mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic event.

[0013] According to yet another embodiment of the present invention, there is also provided a computer-readable storage medium, where the computer-readable storage medium includes a stored program, and wherein the program, when running, executes the method described in any one of the above.

[0014] According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to execute the method described in any one of the above through the computer program.

[0015] Through the present invention, it is possible to scan the stroboscopic event performed by a target lighting device through an acquisition device, and then be able to mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic event. Through the above technical solution, the problem in the related art that due to the inability to determine the correspondence between the lamp to be networked and the lamp actually networked, the operation is cumbersome is solved. The target lighting device to be networked performs a stroboscopic event and is scanned through the acquisition device, and then the target lighting device can be marked, realizing the ability to accurately determine the correspondence between the lamp to be networked and the lamp actually networked, and simplifying the cumbersome degree of the operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present invention, form a part of this application, and the illustrative embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation to the present invention. In the drawings:

[0017] Figure 1 is a hardware structure block diagram of a mobile terminal of a marking method for a lighting device according to an embodiment of the present invention;

[0018] Figure 2 is a flowchart of a marking method for a lighting device according to an embodiment of the present invention;

[0019] Figure 3 is an optional flowchart of a marking method for a lighting device according to an embodiment of the present invention;

[0020] Figure 4It is a structural diagram of a marking device of a lighting device according to an embodiment of the present invention. Detailed implementation manners

[0021] In the following, the present invention will be described in detail with reference to the accompanying drawings and in conjunction with embodiments. It should be noted that, without conflict, the embodiments in the present application and the features in the embodiments may be combined with each other.

[0022] It should be noted that the terms "first", "second", etc. in the description and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence.

[0023] The method embodiments provided by the embodiments of the present application can be executed on a mobile terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1 It is a hardware structure block diagram of a mobile terminal of a marking method of a lighting device according to an embodiment of the present invention. As Figure 1 shown, the mobile terminal may include one or more ( Figure 1 only one is shown in Figure 1 the figure) processor 102 (the processor 102 may include, but is not limited to, a microprocessor (abbreviated as MPU) or a programmable logic device (abbreviated as PLD)) and a memory 104 for storing data. In an exemplary embodiment, the above-mentioned mobile terminal may further include a transmission device 106 for communication functions and an input / output device 108. Those of ordinary skill in the art can understand that Figure 1 the structure shown in Figure 1 the figure is only schematic and does not limit the structure of the above-mentioned mobile terminal. For example, the mobile terminal may further include more or fewer components than Figure 1 shown in

[0024] the figure, or have an equivalent function to Figure 1 shown in

[0024] the figure or a different configuration with more functions than Figure 1 shown in

[0024] the figure. The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the determination method of the marking method of the lighting device in the embodiments of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implements the above-mentioned method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memories, or other non-volatile solid-state memories. In some instances, the memory 104 may further include a memory remotely disposed relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an enterprise intranet, a local area network, a mobile communication network, and combinations thereof.

[0025] The transmission device 106 is used to receive or send data via a network. Specific examples of the above network may include a wireless network provided by a communication provider of a mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, abbreviated as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a Radio Frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0026] In this embodiment, a marking method for a lighting device is provided, which is applied to the above-mentioned mobile terminal. Figure 2 It is a flowchart of the marking method for a lighting device according to an embodiment of the present invention. The process includes the following steps:

[0027] Step S202: When multiple lighting devices have entered the marking state, control the multiple lighting devices to perform a stroboscopic event according to a preset rule;

[0028] Step S204: Scan the stroboscopic event of the target lighting device through a collection device, where the collection device has a photosensitive device;

[0029] Step S206: According to the stroboscopic event, mark the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device.

[0030] Through the above technical solution, it is possible to scan the stroboscopic event performed by the target lighting device through the collection device, and then be able to mark the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic event. Through the above technical solution, in the related art, since the correspondence between the lamp to be networked and the actually networked lamp cannot be determined, problems such as cumbersome operations are solved. The target lighting device to be networked performs a stroboscopic event and is scanned by the collection device, and then the target lighting device can be marked, realizing the ability to accurately determine the correspondence between the lamp to be networked and the actually networked lamp, and simplifying the cumbersome degree of the operation.

[0031] It should be noted that the target lighting device is a lighting device to be networked. Optionally, it can be a light emitting diode (LED) lamp, or any other lighting device with controllable strobing. The embodiments of the present invention do not limit this. The acquisition device can be a mobile phone, a tablet computer, etc. using a complementary metal-oxide-semiconductor (CMOS) device. Since the introduced acquisition devices are widely used mobile phones, tablet computers, etc., the process of marking and then networking the lamp can be realized without adding new hardware, reducing the hardware cost and eliminating the need for multiple operations to mark the lamp to be networked.

[0032] In step S202, the solution that the target lighting device executes the strobing event according to a preset rule can be understood as that the driving chip of the target lighting device drives the display component to execute the strobing event according to the preset rule. The preset rule can be randomly determining the strobing speed from the strobing range and then executing the strobing event according to the determined strobing speed. The embodiments of the present invention do not limit this.

[0033] Step S206 can be implemented by the following technical solution: scanning the strobing event through the acquisition device to determine the strobing speed corresponding to the strobing event; marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the strobing speed.

[0034] In the actual operation process, in an optional embodiment, the implementation solution for determining the strobing speed corresponding to the strobing event includes: controlling the exposure speed of the photosensitive device of the acquisition device to change in a target manner; during the change of the exposure speed, monitoring whether the target pattern is displayed on the display screen of the acquisition device; when the target pattern is displayed, determining the target exposure speed of the acquisition device as the strobing speed corresponding to the strobing event, where the target exposure speed is the exposure speed when the target pattern is displayed on the display screen.

[0035] When a stroboscopic event is executed by a target lighting device, a photosensitive device of a collection device scans the stroboscopic event. Since there is an exposure phenomenon in the photosensitive device of the collection device and the exposure speed is adjustable, that is, the exposure speed of the photosensitive device can be controlled to change in a target manner (for example, from small to large). Then, during the change of the exposure speed, it is possible that a certain exposure speed is the same as the stroboscopic speed of the target lighting device. If they are the same, a target graphic will appear on the display screen of the collection device. Then, when the target graphic appears, the target exposure speed (equivalent to the above-mentioned certain exposure speed) is the same as the stroboscopic speed of the target lighting device, and the target exposure speed can be determined as the stroboscopic speed corresponding to the stroboscopic event.

[0036] For example, taking the collection device as a mobile phone, turn on the camera function of the mobile phone, scan the target lighting device, and control the exposure speed corresponding to the camera function of the mobile phone to change in a manner from small to large. When the exposure speed changes to 1500 hz, if a horizontal stripe graphic appears on the display screen of the mobile phone, it can be determined that the exposure speed of 1500 hz of the mobile phone is the stroboscopic speed corresponding to the stroboscopic event of the target lighting device.

[0037] In the embodiment of the present invention, controlling the exposure speed of the photosensitive device of the collection device to change in a target manner includes at least one of the following: controlling the exposure speed of the photosensitive device of the collection device to change in a trend from small to large; controlling the exposure speed of the photosensitive device of the collection device to change in a trend from large to small; controlling the exposure speed of the photosensitive device of the collection device to change in a random manner.

[0038] In the above embodiment, the exposure speed can change in a target manner. The above target manner can be from small to large, from large to small, random, or change according to a preset algorithm. The embodiment of the present invention does not limit this.

[0039] Taking the collection device as a mobile phone as an example, the adjustment of the exposure speed of the mobile phone can be based on milliseconds as the basic time change unit. 1) Starting from 1000 hz, the exposure speed increases by 20 hz per millisecond, or the increase per millisecond can be different; 2) Starting from 4000 hz, the shutter exposure speed decreases by 20 hz per millisecond, or the decrease per millisecond can be different; 3) Randomly select an exposure speed per millisecond between 1000 hz and 4000 hz.

[0040] Before performing step S202, the following technical solution may also be executed. Before determining the stroboscopic speed corresponding to the stroboscopic event by scanning the stroboscopic event with a collection device, the method further includes: sending the stroboscopic range of the stroboscopic event to the target lighting device to instruct the target lighting device to execute the stroboscopic event at the stroboscopic speed within the stroboscopic range, where the stroboscopic range corresponds to the photosensitive device.

[0041] In order for the stroboscopic event of the target lighting device to be scanned by the collection device, before the target lighting device executes the stroboscopic event, the stroboscopic range determined according to the photosensitive device may be sent to the target lighting device. Then, the target lighting device can determine the stroboscopic speed from the stroboscopic range and then execute the stroboscopic event according to the stroboscopic speed.

[0042] Taking the collection device as a mobile phone and the target lighting device as a lamp as an example, the mobile phone will first send the stroboscopic range of the lamp to the lamp, so as to ensure that the lamp can generate and execute the stroboscopic event within the stroboscopic range, facilitating the camera on the mobile phone side to scan the stroboscopic event. Among them, the stroboscopic range corresponds to the scannable range of the CMOS sensor on the mobile phone side.

[0043] In an alternative embodiment, step S204 may be implemented through the following solution. Marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic speed includes: determining the identifier information of the target lighting device according to the stroboscopic speed, where the identifier information is used to uniquely identify the target lighting device; marking the device identifier of the lighting device according to the identifier information to associate the device identifier and the identifier information.

[0044] It can be understood that in the case where the stroboscopic speed of the target lighting device is determined according to the photosensitive device of the collection device, the obtained stroboscopic speed can be directly used as the marking information to identify the target lighting device. Then, the device information of the lighting device displayed on the client of the mobile phone can be directly identified through the above identifier information. Associating the device identifier and the identifier information achieves the purpose of associating the target lighting device to be networked and the device identifier displayed on the client.

[0045] Based on the above solution, an embodiment of the present invention further provides a means for marking the device identifier of the lighting device currently displayed on the client of the collection device as the target lighting device according to the stroboscopic speed: receiving a setting operation of a target object; in response to the setting operation, identifying the currently displayed lighting device through the identifier information of the target lighting device corresponding to the stroboscopic speed.

[0046] In an embodiment of the present invention, the solution of marking the device identifier of the lighting device displayed on the client as the identifier information of the target lighting device can be implemented based on the setting operation of the target object. For example, the setting operation of the target object can be received through a mobile phone. The target object can operate on the device identifier of the lighting device displayed on the mobile phone, and then set the device identifier to be associated with the identifier information of the target lighting device.

[0047] In an optional embodiment, after the lighting device marked as the target lighting device is networked, the method further includes: when other lighting devices execute a stroboscopic event according to a preset rule, scanning the stroboscopic event of the other lighting devices through an acquisition device to determine the stroboscopic speed corresponding to the stroboscopic event of the other lighting devices; marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the other lighting device according to the stroboscopic speed corresponding to the other lighting devices; networking the lighting device marked as the other lighting device, where the other lighting devices are the other lighting devices except the target lighting device among the above-mentioned multiple lighting devices.

[0048] In the actual networking process of lighting devices, usually multiple lighting devices need to be networked. After networking the target lighting device to be networked, if there are other lighting devices, the third lighting device,..., the Nth lighting device that all need to be networked, then the other lighting devices except the target lighting device can adopt the same networking method as the target lighting device. For example, the acquisition device scans the next lighting device (taking the other lighting device as an example) to determine the stroboscopic speed of the other lighting device, so as to further identify the identifier information of the other lighting device. Mark the device identifier of the other lighting device according to the identifier information, and finally network the other lighting device that has completed the identification.

[0049] Through the technical solution of the above embodiment of the present invention, it is possible to realize the identification of the marking information of the lighting device by using the photosensitive device of the acquisition device. The photosensitive device of the acquisition device has the working characteristic of progressive scanning. Through this working characteristic, the acquisition device can identify the exposure frequency at which the lighting device is currently working. It should be noted that the exposure frequency range at which the lighting device works is specified by the acquisition device and sent to the lighting device. When the target graphic is displayed on the screen of the acquisition device, that is, the exposure frequency of the photosensitive device of the acquisition device is consistent with that of the lighting device, at this time, the acquisition device completes the identification of the lighting device and marks the device identifier according to the identifier information.

[0050] In order to better understand the marking method of the lighting device in the above embodiment, the above technical solution will be explained below in conjunction with optional embodiments, and the embodiments of the present invention do not make clear limitations in this regard.

[0051] In an alternative embodiment of the present invention, the mobile phone and the lighting fixture communicate through a Bluetooth Mesh gateway or a WIFI connection. Then, the mobile phone sends the stroboscopic range of the photosensitive device to the intelligent lighting fixture, and the intelligent lighting fixture performs strobing with a random value within the received stroboscopic range. Subsequently, the strobing speed emitted by the intelligent lighting fixture is identified by calling the camera of the smart phone. Here, the characteristic of the CMOS progressive scanning of the mobile phone camera is utilized to determine the stroboscopic value of each lighting fixture, thereby determining a certain intelligent light and marking the device identifier of the intelligent light, thus completing the network configuration process. In the embodiment of the present invention, Figure 3 is an alternative flowchart of a method for marking a lighting device according to an embodiment of the present invention. The method for network configuration of the lighting fixture may include the following steps:

[0052] Step S1: Connect the mobile phone to the Bluetooth Mesh gateway, and at the same time, the mobile phone enters the network configuration state;

[0053] Step S2: Power on the intelligent lighting fixture to be network configured (equivalent to the target lighting device in the above embodiment), and perform a conventional initialization setting process;

[0054] Step S3: After the initialization setting of the lighting fixture is completed, the Bluetooth mesh device automatically configures the network, and the initialized lighting fixture enters the state to be marked;

[0055] Step S4: After the lighting fixture enters the state to be marked, under the control of the dimming integrated circuit (IC) and the firmware, the light presents a random stroboscopic value. The stroboscopic frequency of this stroboscopic value is preferably controlled between 1000 - 4000 Hz, and it can change in steps of 500 Hz, or any stroboscopic value within 1000 - 4000 Hz is acceptable. The embodiment of the present invention does not limit this. The strobing of different frequencies emitted by the lighting fixture cannot be recognized by the human eye, but can be recognized by the mobile phone COMS;

[0056] Step S5: Align the mobile phone with the intelligent lighting fixture to be marked that enters the marking state, and prepare to start marking;

[0057] Step S6: The user presses the marking button on the mobile phone to start the scanning process of the lighting fixture. Specifically, call the camera of the mobile phone, and through the software adjustment of the mobile phone, make the ISO of the mobile phone camera fixed, the aperture size fixed, and the focal length also fixed, and only adjust the exposure speed of the photosensitive device. The exposure speed of the photosensitive device is adjusted from slow to fast, or from fast to slow. Since the mobile phone CMOS uses progressive scanning, when the shutter speed of the mobile phone is equal to the strobing speed of the lighting fixture, a horizontal wave pattern will be displayed on the mobile phone screen;

[0058] Step S7: When a transverse wave pattern is generated on the mobile phone screen, the mobile phone records the current shutter speed. The current shutter speed is determined as the lamp stroboscopic speed, thereby associating and marking the specific lamp to be networked and the lamp name displayed on the mobile phone;

[0059] Step S8: After the marking is completed, the intelligent lamp resumes its normal stroboscopic state and exits the lamp networking mode. Repeat steps S4 to S6 and pair the next intelligent lamp;

[0060] Step S9: After all the lamps are identified and configured, exit the mobile phone networking mode, and the networking is completed.

[0061] The beneficial effect of the present invention is that the implementation of the identification method utilizes a common mobile phone, without the need to additionally increase the hardware cost of the user, and can achieve fast and accurate networking. In addition, in the case of multi-lamp networking, compared with the ordinary networking mode, the corresponding relationship between the intelligent lamps displayed on the mobile phone and the actual lamps can be determined faster.

[0062] Optionally, the actual application scenario of the embodiment can be as follows: There are 6 Bluetooth Mesh downlights in the customer's living room lamp that need to be networked. Control the Mesh gateway on the mobile phone to connect with the 6 Bluetooth Mesh downlights. Turn the switches of the 6 Bluetooth Mesh downlights on the same path 5 times, that is, the 6 Bluetooth Mesh downlights complete the initialization process and then enter the networking state. At this time, the gateway automatically networks with the 6 downlights, and the downlights enter the waiting-to-be-marked state. When a transverse wave appears on the mobile phone when the A downlight enters the waiting-to-be-marked state, the user marks it as A, and after the marking is completed, the A downlight exits the networking mode. The mobile phone interface switches to the marking interface again, and the user takes a picture of the B downlight. When a transverse wave appears, the user marks it as B, and after the marking is completed, the B downlight exits the networking mode... until all 6 downlights are marked, and the user manually exits the APP networking mode. All the networking operations are completed.

[0063] Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general hardware platform. Of course, it can also be implemented by hardware, but in many cases, the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disc), including several instructions for causing a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.

[0064] In this embodiment, a marking device for a lighting device is further provided. This device is used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated here. As used hereinafter, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.

[0065] Figure 4 is a structural diagram of a marking device for a lighting device according to an embodiment of the present invention. As Figure 4 shown, it includes:

[0066] A control module 40, configured to control the plurality of lighting devices to perform a stroboscopic event according to a preset rule when the plurality of lighting devices have entered the marking state;

[0067] A scanning module 42, configured to scan the stroboscopic event of the target lighting device through an acquisition device, where the acquisition device has a photosensitive device;

[0068] A marking module 44, configured to mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic event.

[0069] Through the above technical solution, it is possible to scan the stroboscopic event performed by the target lighting device through the acquisition device, and then be able to mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic event. Through the above technical solution, the problems in the related art, such as the cumbersome operation caused by the inability to determine the correspondence between the lamp to be networked and the actually networked lamp, are solved. The target lighting device to be networked performs a stroboscopic event, which is scanned by the acquisition device, and then the target lighting device can be marked, realizing the ability to accurately determine the correspondence between the lamp to be networked and the actually networked lamp, and simplifying the cumbersome degree of operation.

[0070] It should be noted that the target lighting device is a lighting device to be networked. Optionally, it can be a light-emitting diode (LED) lamp, or any other controllable stroboscopic lighting device. The embodiments of the present invention do not limit this. The acquisition device can be a mobile phone, a tablet computer, etc. using a complementary metal-oxide-semiconductor (CMOS) device. Since the introduced acquisition devices are widely used mobile phones, tablet computers, etc., the process of marking and then networking the lamps can be realized without adding new hardware, reducing the hardware cost and eliminating the need for multiple operations to mark the lamps to be networked.

[0071] In an alternative embodiment, the marking module 44 is further configured to scan the stroboscopic event through the acquisition device to determine the stroboscopic speed corresponding to the stroboscopic event; and mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic speed.

[0072] In an alternative embodiment, the control module 40 is further configured to drive the display component to execute the stroboscopic event according to a preset rule through the driving chip of the target lighting device. The preset rule may randomly determine the stroboscopic speed from the stroboscopic range and then execute the stroboscopic event according to the determined stroboscopic speed. The embodiments of the present invention do not limit this.

[0073] In the actual operation process, in an alternative embodiment, the marking module 44 is further configured to control the exposure speed of the photosensitive device of the acquisition device to change in a target manner; during the change of the exposure speed, monitor whether the target pattern is displayed on the display screen of the acquisition device; in the case of displaying the target pattern, determine the target exposure speed of the acquisition device as the stroboscopic speed corresponding to the stroboscopic event, where the target exposure speed is the exposure speed when the target pattern is displayed on the display screen.

[0074] When the target lighting device executes the stroboscopic event, the stroboscopic event is scanned through the photosensitive device of the acquisition device. Since there is an exposure phenomenon in the photosensitive device of the acquisition device and the exposure speed is also adjustable, that is, the exposure speed of the photosensitive device can be controlled to change in a target manner (for example, from small to large). Then, during the change of the exposure speed, it is possible that a certain exposure speed is the same as the stroboscopic speed of the target lighting device. If they are the same, the target pattern will appear on the display screen of the acquisition device. Then, the target exposure speed (equivalent to the above-mentioned certain exposure speed) when the target pattern appears is the same as the stroboscopic speed of the target lighting device, and the target exposure speed can be determined as the stroboscopic speed corresponding to the stroboscopic event.

[0075] For example, taking the acquisition device as a mobile phone, turn on the camera function of the mobile phone, scan the target lighting device, and control the exposure speed corresponding to the camera function of the mobile phone to change from small to large. When the exposure speed changes to 1500 hz, if a horizontal stripe pattern appears on the display screen of the mobile phone, it can be determined that the exposure speed of the mobile phone, 1500 hz, is the stroboscopic speed corresponding to the stroboscopic event of the target lighting device.

[0076] In an embodiment of the present invention, the marking module 44 is further configured to perform at least one of the following: controlling the exposure speed of the photosensitive device of the acquisition device to change in an increasing trend from small to large; controlling the exposure speed of the photosensitive device of the acquisition device to change in a decreasing trend from large to small; controlling the exposure speed of the photosensitive device of the acquisition device to change in a random manner.

[0077] In the above embodiment, the exposure speed can change in a target manner. The above target manner can be an increase from small to large, a decrease from large to small, a random change, or a change according to a preset algorithm. The embodiments of the present invention do not limit this.

[0078] Taking the acquisition device as a mobile phone as an example, the adjustment of the exposure speed of the mobile phone can be based on milliseconds as the basic time change unit. 1) Starting from 1000hz, the exposure speed increases by 20hz per millisecond, or it can increase by different values per millisecond; 2) Starting from 4000hz, the shutter exposure speed decreases by 20hz per millisecond, or it can decrease by different values per millisecond; 3) Randomly select an exposure speed per millisecond between 1000hz and 4000hz.

[0079] In an embodiment of the present invention, the above device further includes a control module 40: configured to send the stroboscopic range of the stroboscopic event to the target lighting device to instruct the target lighting device to execute the stroboscopic event according to the stroboscopic speed in the stroboscopic range, where the stroboscopic range corresponds to the photosensitive device.

[0080] In order for the stroboscopic event of the target lighting device to be scanned by the acquisition device, before the target lighting device executes the stroboscopic event, the stroboscopic range determined according to the photosensitive device can be sent to the target lighting device. Then, the target lighting device can determine the stroboscopic speed from the stroboscopic range and then execute the stroboscopic event according to the stroboscopic speed.

[0081] Taking the acquisition device as a mobile phone and the target lighting device as a lamp as an example, the mobile phone will first send the stroboscopic range of the lamp to the lamp, so as to ensure that the lamp can generate and execute the stroboscopic event within the stroboscopic range, facilitating the camera on the mobile phone side to scan the stroboscopic event. Among them, the stroboscopic range corresponds to the scannable range of the CMOS sensor on the mobile phone side.

[0082] In an optional embodiment, the marking module 44 is further configured to determine the identification information of the target lighting device according to the stroboscopic speed, where the identification information is used to uniquely identify the target lighting device; mark the device identification of the lighting device according to the identification information to associate the device identification and the identification information.

[0083] It can be understood that when the stroboscopic speed of the target lighting device is determined according to the photosensitive device of the acquisition device, the obtained stroboscopic speed can be directly used as the marking information to identify the target lighting device. Then, the device information of the lighting device displayed on the client side of the mobile phone can be directly identified through the above marking information. By associating the device identifier and the marking information, the purpose of associating the target lighting device to be networked and the device identifier displayed on the client side is achieved.

[0084] Based on the above solution, an embodiment of the present invention further provides a realization means for marking the device identifier of the lighting device currently displayed on the client side of the acquisition device as the target lighting device according to the stroboscopic speed. The marking module 44 is further configured to receive a setting operation of a target object; in response to the setting operation, identify the currently displayed lighting device through the identification information of the target lighting device corresponding to the stroboscopic speed.

[0085] In the embodiment of the present invention, the solution of marking the device identifier of the lighting device displayed on the client side as the identification information of the target lighting device can be implemented based on the setting operation of the target object. For example, the mobile phone can be used to receive the setting operation of the target object, and the target object can operate on the device identifier of the lighting device displayed on the mobile phone, so as to associate the device identifier and the identification information of the target lighting device.

[0086] In an optional embodiment, the scanning module 42 is further configured to, when other lighting devices execute stroboscopic events according to a preset rule, scan the stroboscopic events of the other lighting devices through the acquisition device to determine the stroboscopic speed corresponding to the stroboscopic events of the other lighting devices; the marking module 44 is further configured to mark the device identifier of the lighting device currently displayed on the client side of the acquisition device as the other lighting device according to the stroboscopic speed corresponding to the other lighting devices.

[0087] In the actual network configuration process of lighting devices, usually multiple lighting devices need to be networked. After the target lighting device to be networked is networked, if there are other lighting devices, the third lighting device,..., the Nth lighting device all need to be networked, then the other lighting devices except the target lighting device can adopt the same network configuration method as the target lighting device. For example, the acquisition device scans the next lighting device (taking other lighting devices as an example) to determine the stroboscopic speed of the other lighting devices, so as to further identify the identification information of the other lighting devices. Mark the device identifier of the other lighting device according to the identification information, and finally network the other lighting devices that have been identified.

[0088] Through the technical solution of the above embodiments of the present invention, it is possible to use the photosensitive device of the acquisition device to identify the marker information of the lighting device. Among them, the photosensitive device of the acquisition device has the working characteristic of progressive scanning. Through this working characteristic, the acquisition device can thus identify the exposure frequency at which the lighting device is currently working. It should be noted that the exposure frequency range at which the lighting device works is specified by the acquisition device and sent to the lighting device. When the target graphic is displayed on the screen of the acquisition device, that is, the exposure frequency of the photosensitive device of the acquisition device is consistent with that of the lighting device, at this time, the acquisition device completes the identification of the lighting device and marks the device identifier according to the identification information.

[0089] It should be noted that the above-mentioned modules can be implemented by software or hardware. For the latter, it can be implemented in the following ways, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules are respectively located in different processors in any combination form.

[0090] An embodiment of the present invention also provides a storage medium, in which a computer program is stored. Among them, the computer program is set to execute the steps in any one of the above method embodiments when running.

[0091] Optionally, in this embodiment, the above storage medium can be set to store a computer program for executing the following steps:

[0092] S1, in the case where multiple lighting devices have entered the marking state, control the multiple lighting devices to execute a stroboscopic event according to a preset rule;

[0093] S2, scan the stroboscopic event of the target lighting device through the acquisition device, where the acquisition device has a photosensitive device;

[0094] S3, according to the stroboscopic event, mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device.

[0095] Optionally, in this embodiment, the above storage medium may include but is not limited to: various media such as USB flash drives, read-only memories (ROM for short), random access memories (RAM for short), mobile hard disks, magnetic disks or optical discs that can store computer programs.

[0096] An embodiment of the present invention also provides an electronic device, including a memory and a processor. A computer program is stored in the memory, and the processor is set to run the computer program to execute the steps in any one of the above method embodiments.

[0097] Optionally, the above electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the above processor, and the input / output device is connected to the above processor.

[0098] Optionally, in this embodiment, the above processor may be configured to execute the following steps through a computer program:

[0099] S1, when multiple lighting devices have entered the marked state, control the multiple lighting devices to perform a stroboscopic event according to a preset rule;

[0100] S2, scan the stroboscopic event of the target lighting device through an acquisition device, wherein the acquisition device has a photosensitive device;

[0101] S3, according to the stroboscopic event, mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device.

[0102] Optionally, in this option, specific examples in this embodiment may refer to the examples described in the above embodiments and optional implementation manners, and this embodiment will not be elaborated here.

[0103] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device. They can be concentrated on a single computing device or distributed on a network composed of multiple computing devices. Optionally, they can be implemented by program codes executable by the computing device, so that they can be stored in a storage device and executed by the computing device. And in some cases, the steps shown or described can be executed in a different order than here, or they can be separately made into individual integrated circuit modules, or multiple modules or steps among them can be made into a single integrated circuit module to implement. In this way, the present invention is not limited to any specific combination of hardware and software.

[0104] The above is only the preferred embodiment of the present invention and is not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A marking method for a lighting device, characterized in that, Including: When multiple lighting devices have entered the marked state, controlling the multiple lighting devices to perform a stroboscopic event according to a preset rule; Scanning the stroboscopic event of the target lighting device through an acquisition device, where the acquisition device has a photosensitive device; According to the stroboscopic event, marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device; Wherein, the stroboscopic event is determined by the following method: When it is determined that the multiple lighting devices have completed the initialization setting process, randomly determining a random stroboscopic value from a preset stroboscopic frequency range; the driving chips of the multiple lighting devices control the driving display component to perform stroboscopy based on the random stroboscopic value; The method further includes: Performing network configuration on the lighting device marked as the target lighting device; When the target lighting device has completed network configuration and other lighting devices perform stroboscopic events according to a preset rule, scanning the stroboscopic events of the other lighting devices through an acquisition device to determine the stroboscopic speed corresponding to the stroboscopic events of the other lighting devices; marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the other lighting device according to the stroboscopic speed corresponding to the other lighting devices; performing network configuration on the lighting device marked as the other lighting device, where the other lighting devices are the lighting devices among the multiple lighting devices except the target lighting device.

2. The method according to claim 1, wherein According to the stroboscopic event, marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device includes: Scanning the stroboscopic event through an acquisition device to determine the stroboscopic speed corresponding to the stroboscopic event; Marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic speed.

3. The method according to claim 2, wherein Scanning the stroboscopic event through an acquisition device to determine the stroboscopic speed corresponding to the stroboscopic event includes: Controlling the exposure speed of the photosensitive device of the acquisition device to change in a target manner; During the change of the exposure speed, monitoring whether the display screen of the acquisition device displays a target graphic; When the target graphic is displayed, determining the target exposure speed of the acquisition device as the stroboscopic speed corresponding to the stroboscopic event, where the target exposure speed is the exposure speed when the display screen displays the target graphic.

4. The method according to claim 3, wherein Controlling the exposure speed of the photosensitive device of the acquisition device to change in a target manner includes at least one of the following: Controlling the exposure speed of the photosensitive device of the acquisition device to change in an increasing trend; Controlling the exposure speed of the photosensitive device of the acquisition device to change in a decreasing trend; Controlling the exposure speed of the photosensitive device of the acquisition device to change in a random manner.

5. The method according to claim 2, wherein Before scanning the stroboscopic event through an acquisition device to determine the stroboscopic speed corresponding to the stroboscopic event, the method further includes: Send the stroboscopic range of the stroboscopic event to the target lighting device to instruct the target lighting device to execute the stroboscopic event at the stroboscopic speed within the stroboscopic range, where the stroboscopic range corresponds to the photosensitive device.

6. The method according to claim 2, wherein Marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic speed includes: Determine the identifier information of the target lighting device according to the stroboscopic speed, where the identifier information is used to uniquely identify the target lighting device; Mark the device identifier of the lighting device currently displayed on the client according to the identifier information to associate the device identifier and the identifier information.

7. The method according to claim 2, wherein Marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic speed includes: Receive the setting operation of the target object; In response to the setting operation, identify the currently displayed lighting device through the identifier information of the target lighting device corresponding to the stroboscopic speed.

8. A marking device for a lighting device, characterized in that, Includes: A control module for controlling the plurality of lighting devices to execute a stroboscopic event according to a preset rule when the plurality of lighting devices have entered the marked state; A scanning module for scanning the stroboscopic event of the target lighting device through an acquisition device, where the acquisition device has a photosensitive device; A marking module for marking the device identifier of the lighting device currently displayed on the client of the acquisition device as the target lighting device according to the stroboscopic event; Wherein, the stroboscopic event is determined by the following method: When it is determined that the plurality of lighting devices have completed the initialization setting process, randomly determine a random stroboscopic value from a preset stroboscopic frequency range; the driving chips of the plurality of lighting devices control the driving display components to execute stroboscopy based on the random stroboscopic value; Wherein, the marking module is further configured to perform network configuration on the lighting device marked as the target lighting device; when the target lighting device has completed network configuration and other lighting devices execute stroboscopic events according to a preset rule, scan the stroboscopic events of the other lighting devices through an acquisition device to determine the stroboscopic speed corresponding to the stroboscopic events of the other lighting devices; mark the device identifier of the lighting device currently displayed on the client of the acquisition device as the other lighting device according to the stroboscopic speed corresponding to the other lighting devices; perform network configuration on the lighting device marked as the other lighting device, where the other lighting devices are the lighting devices other than the target lighting device among the plurality of lighting devices.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium includes a stored program, where the program executes the method according to any one of claims 1 to 7 when running.

10. An electronic device, comprising a memory and a processor, characterized in that, A computer program is stored in the memory, and the processor is configured to execute the method according to any one of claims 1 to 7 through the computer program.

Citation Information

Patent Citations

  • Method for quickly confirming corresponding relationship among intelligent lamps

    CN105744670A

  • Method, device and system for identifying light source

    CN111291620A