CN117119625B - LED control method and LED control system - Google Patents

LED control method and LED control system Download PDF

Info

Publication number
CN117119625B
CN117119625B CN202311329173.3A CN202311329173A CN117119625B CN 117119625 B CN117119625 B CN 117119625B CN 202311329173 A CN202311329173 A CN 202311329173A CN 117119625 B CN117119625 B CN 117119625B
Authority
CN
China
Prior art keywords
image
state
target
area
led
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202311329173.3A
Other languages
Chinese (zh)
Other versions
CN117119625A (en
Inventor
刘进良
张维一
陈大双
李启书
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Zhengyuan Technology Co ltd
Original Assignee
Shenzhen Zhengyuan Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Zhengyuan Technology Co ltd filed Critical Shenzhen Zhengyuan Technology Co ltd
Priority to CN202311329173.3A priority Critical patent/CN117119625B/en
Publication of CN117119625A publication Critical patent/CN117119625A/en
Application granted granted Critical
Publication of CN117119625B publication Critical patent/CN117119625B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B45/00Circuit arrangements for operating light-emitting diodes [LED]
    • H05B45/10Controlling the intensity of the light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • H05B47/125Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings by using cameras
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/155Coordinated control of two or more light sources
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Landscapes

  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The invention relates to an LED control method and an LED control system, wherein the method comprises the following steps: receiving a first effect image sent by an instruction terminal, and preprocessing the first effect image to obtain a target image, wherein the first effect image is used for displaying a preset luminous state of an LED device; generating a switch state image corresponding to the target image according to a preset image state mapping relation, wherein the switch state image is used for displaying the state of the wall switch; and sending a second effect image shot by the shooting unit to the instruction terminal, wherein the second effect image is used for displaying the luminous effect of the LED device on the ceiling. The beneficial effects of this application are: not only can overcome the condition that vision is not comprehensive enough, but also can effectively solve the problem that time and energy are wasted in the LED control process.

Description

LED control method and LED control system
Technical Field
The invention relates to the field of indoor LED illumination, in particular to an LED control method and an LED control system.
Background
With the expansion of core cities and the construction of new urban areas, new buildings for office or business use have larger and larger occupied areas, and indoor spaces inside the buildings have wider and wider. In large indoor spaces, such as large laboratories or large office sites, where the LEDs are ceiling-mounted, an operator needs to switch on or off via a wall switch.
In many cases, operators are unfamiliar with the association of the LEDs and the wall switch, and generally know the association of the LEDs and the wall switch by frequently turning on and off the wall switch while head-up observation is performed, and finally, a plurality of expected LEDs can be turned on to achieve the expected overall lighting effect.
Aiming at the problems of time waste and energy waste caused by frequent opening and closing, a mode of attaching Chinese character stickers on a wall switch is generally adopted in reality to guide operators. However, on the one hand, it is difficult to precisely describe the positions of the LEDs by using the chinese characters under the condition that the number of wall switches is large, and on the other hand, the correspondence between the chinese characters and the LEDs is not easily understood by an operator. Therefore, most operators finally frequently turn on and off the wall switch, that is, the problems of time waste and energy waste are not solved effectively all the time.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: how to design an LED control method can effectively solve the problems of time waste and energy waste. In order to solve the above problems, an embodiment of the present invention provides an LED control method and an LED control system.
In a first aspect, the present invention provides an LED control method, where a wall switch is disposed on a side wall of an indoor space, and an LED device is disposed on a ceiling of the indoor space, and the wall switch controls the LED device; the indoor terminal comprises a shooting unit, and the instruction terminal is in communication connection with the indoor terminal; the method comprises the following steps: receiving a first effect image sent by an instruction terminal, and preprocessing the first effect image to obtain a target image, wherein the first effect image is used for displaying a preset luminous state of an LED device; generating a switch state image corresponding to the target image according to a preset image state mapping relation, wherein the switch state image is used for displaying the state of the wall switch; and sending a second effect image shot by the shooting unit to the instruction terminal, wherein the second effect image is used for displaying the luminous effect of the LED device on the ceiling.
The further technical scheme is that the method for receiving the first effect image sent by the instruction terminal comprises the following steps before preprocessing the first effect image to obtain a target image: the instruction terminal converts a display interface of the instruction terminal from a first state to a second state according to an external touch instruction; and generating a first effect image by the instruction terminal according to the second state of the display interface.
The further technical scheme is that the receiving the first effect image sent by the instruction terminal, preprocessing the first effect image to obtain a target image, includes: receiving a first effect image sent by an instruction terminal; identifying a bright color region and a dark color region contained in the first effect image; and carrying out binarization processing on the bright color area and the dark color area to obtain a target image.
The image state mapping relation comprises a corresponding relation between an area calibration image and a switch state image, wherein the area calibration image is used for displaying the image of the ceiling when all the LED devices are in a lighting state; the generating a switch state image corresponding to the target image according to a preset image state mapping relation comprises the following steps: coinciding the geometric center of the target image with the geometric center of the area calibration image; and uniformly shrinking the image of the black area on the target image by a preset proportion on the original position, so that the target image is converted into a target shrinkage image.
Judging whether the outer frame of the LED device of the area calibration image in a complete state surrounds a black contraction area of the target contraction image; if the outer frame of the LED device of the area calibration image in the complete state does not surround the black contraction area of the target contraction image, deleting all the LED devices which do not surround the black contraction area of the target contraction image, and obtaining an area calibration image in the adjustment state; and searching the area calibration image of the adjustment state in a preset image state mapping relation to obtain a search result, and generating an on-off state image corresponding to the target image according to the search result.
The further technical scheme is that the judging of whether the outer frame of the LED device of the area calibration image in the complete state surrounds the black shrinkage area of the target shrinkage image further comprises: if the region in the complete state aligns with the outer frame of the LED device of the image, the black shrink region surrounding the target shrink image is maintained.
The further technical scheme is that before the second effect image shot by the shooting unit is sent to the instruction terminal, the method comprises the following steps: and adjusting the on state and the off state of the wall switch to be consistent with the on state image according to the on state and the off state displayed on the on state image, and controlling the LED device of the ceiling of the indoor space shot by the shooting unit to generate a second effect image.
The further technical scheme is that the controlling the shooting unit to shoot the LED device of the ceiling of the indoor space generates a second effect image, and the method comprises the following steps: and controlling the shooting unit to shoot the LED devices of the ceilings of the indoor space in a panoramic shooting mode, and generating a second effect image.
In a second aspect, the invention proposes an LED control system comprising means for performing the method according to the first aspect.
In the field of indoor LED illumination, aiming at the problems of time waste and energy waste caused by frequent opening and closing, a mode of attaching Chinese character stickers to a wall switch is generally adopted in reality to guide operators. However, on one hand, it is difficult to accurately describe the positions of the LEDs by using the chinese characters under the condition that the number of wall switches is large, and on the other hand, the correspondence between the chinese characters and the LEDs is not easily understood by an operator, so that the problems of time waste and energy waste are not always effectively solved.
In comparison with this way of attaching a wall switch with a chinese character sticker, the remote communication between the operator and the commander familiar with the wall switch is also a solution, but this way is seldom chosen by people, because if the LEDs are ceiling-mounted and the arrangement is irregular with respect to a large number of wall switches, the remote communication has obvious drawbacks: not only is it difficult for the commander to describe the actual situation in language, but it is also difficult for the operator to understand the association between the LEDs and the wall switch with video chat.
The inventor finds that in the design of an indoor LED scheme, in an indoor space with a larger area, LEDs are paved on a ceiling, and the bottleneck of remote communication of an operator is that an operator standing beside a wall cannot comprehensively observe the LED state of the ceiling, and in most cases, LEDs far away from the user are solidified into a group of bright lights visually or cannot see the state of a remote LED due to shielding of a top ceiling obstacle; on the basis, the inventor provides an LED control method, which not only can overcome the condition that vision is not comprehensive enough, but also can effectively solve the problems of time waste and energy waste in the LED control process.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
In order to more clearly illustrate the embodiments of the invention or the technical solutions of the prior art, the drawings which are used in the description of the embodiments or the prior art will be briefly described, and it will be obvious to a person skilled in the art that other drawings can be obtained from these drawings without inventive effort.
Fig. 1 is a schematic flow chart of an LED control method according to an embodiment of the present invention.
Fig. 2 is another flow chart of an LED control method according to an embodiment of the present invention.
Fig. 3 is a schematic flow chart of an LED control method according to an embodiment of the present invention.
Fig. 4 is a block diagram of an LED control system according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in the present specification and the appended claims refers to one or any and all possible combinations of the associated listed items, and includes such combinations.
As used in this specification and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Example 1
Referring to fig. 1, fig. 1 is a flow chart of an LED control method according to an embodiment of the invention. The embodiment of the invention provides an LED control method, wherein a wall switch is arranged on the side wall of an indoor space, an LED device is arranged on the ceiling of the indoor space, and the wall switch controls the LED device; the indoor terminal comprises a shooting unit, and the instruction terminal is in communication connection with the indoor terminal; the instruction terminal comprises image software, wherein the position arrangement of a brightness adjustable region of the image software is similar to that of the LED devices of the ceiling; the number of the LED devices can be 20 or more, and the number of the buttons of the wall switch can be 20 or more; the method is used for the indoor terminal, and comprises the following steps:
s101, receiving a first effect image sent by an instruction terminal, and preprocessing the first effect image to obtain a target image.
In the above scheme, the method is used for the indoor terminal; the first effect image is used for displaying the luminous state of a preset LED device; the luminous state specifically shows which LED devices are turned on and which LED devices are turned off; the indoor terminal is used by an operator, and the instruction terminal is used by a director. The setting basis of the first effect image may be the brightness required by each area of the whole indoor space; the setting basis can also be the required brightness of the object on the floor of the indoor space; the setting basis may also be other factors including, but not limited to, manual setting by an operator, the specific factors being known to those skilled in the art.
S102, generating a switch state image corresponding to the target image according to a preset image state mapping relation.
Wherein the switch state image is used for displaying the state of the wall switch; the switch state image is used for displaying the on state or the off state of the wall switch. The preset image state mapping relation can be realized by a person skilled in the art; for example, engineers may be able to exhaust the various cases of the switch state image, which is limited in number in the case of a limited number of wall switches.
S103, the second effect image shot by the shooting unit is sent to the instruction terminal.
Wherein the second effect image is used for displaying the luminous effect of the LED device on the ceiling; the lighting effect is that of an actually lighted scene, and the display form of the lighting effect comprises but is not limited to a photo image or a human-observed image. The method has the technical effects that the second effect image is sent to the instruction terminal, so that a director beside the instruction terminal can confirm the effect of the second effect image.
In the above scheme, before the receiving the first effect image sent by the instruction terminal and preprocessing the first effect image to obtain the target image, the method includes: the instruction terminal converts a display interface of the instruction terminal from a first state to a second state according to an external touch instruction; and generating a first effect image by the instruction terminal according to the second state of the display interface.
The command terminal comprises image software, and a brightness adjustable area of the image software can be changed in state by an external touch command. The external touch instruction is initiated by a director; the display interface of the instruction terminal is converted from the first state to the second state, specifically, the display interface can be turned off from all the LED devices to turned on for N LED devices, or the display interface can be turned on from N LED devices to turned on for M LED devices, which can be realized by a person skilled in the art according to the above. According to the second state of the display interface, the instruction terminal generates a first effect image, wherein the first effect image can be an image of the display interface of the instruction terminal, including but not limited to a screen capturing image of the display interface.
In the field of indoor LED illumination, aiming at the problems of time waste and energy waste caused by frequent opening and closing, a mode of attaching Chinese character stickers to a wall switch is generally adopted in reality to guide operators. However, on one hand, it is difficult to accurately describe the positions of the LEDs by using the chinese characters under the condition that the number of wall switches is large, and on the other hand, the correspondence between the chinese characters and the LEDs is not easily understood by an operator, so that the problems of time waste and energy waste are not always effectively solved.
In comparison with this way of attaching a wall switch with a chinese character sticker, the remote communication between the operator and the commander familiar with the wall switch is also a solution, but this way is seldom chosen by people, because if the LEDs are ceiling-mounted and the arrangement is irregular with respect to a large number of wall switches, the remote communication has obvious drawbacks: not only is it difficult for the commander to describe the actual situation in language, but it is also difficult for the operator to understand the association between the LEDs and the wall switch with video chat.
The inventor finds that in the design of an indoor LED scheme, in an indoor space with a larger area, LEDs are paved on a ceiling, and the bottleneck of remote communication of an operator is that an operator standing beside a wall cannot comprehensively observe the LED state of the ceiling, and in most cases, LEDs far away from the user are solidified into a group of bright lights visually or cannot see the state of a remote LED due to shielding of a top ceiling obstacle; on the basis, the inventor provides an LED control method, which not only can overcome the situation that vision is not comprehensive enough, but also can generate a switch state image according to a first effect image sent by an instruction terminal, so that the problems of time waste and energy waste in the LED control process are effectively solved.
Example 2
Referring to fig. 2-3, fig. 2 is a flow chart of another LED control method according to an embodiment of the present invention. A wall switch is arranged on the side wall of the indoor space, an LED device is arranged on the ceiling of the indoor space, and the wall switch controls the LED device; the indoor terminal comprises a shooting unit, and the instruction terminal is in communication connection with the indoor terminal; the instruction terminal comprises image software, wherein the position arrangement of a brightness adjustable region of the image software is similar to that of the LED devices of the ceiling; the number of the LED devices can be 20 or more, and the number of the buttons of the wall switch can be 20 or more; the method is used for the indoor terminal, and comprises the following steps:
s201, receiving a first effect image sent by an instruction terminal.
In the above scheme, the method is used for the indoor terminal; the first effect image is used for displaying the luminous state of a preset LED device; the luminous state specifically shows which LED devices are turned on and which LED devices are turned off; the indoor terminal is used by an operator, and the instruction terminal is used by a director. The setting basis of the first effect image may be the brightness required by each area of the whole indoor space; the setting basis can also be the required brightness of the object on the floor of the indoor space; the setting basis may also be other factors including, but not limited to, manual setting by an operator, the specific factors being known to those skilled in the art.
S202, identifying a bright color area and a dark color area contained in the first effect image.
The brightness adjustable region of the image software comprises a bright region and a dark region, and the bright region and the dark region can be mutually switched, so that the first effect image comprises a bright region and a dark region, the bright region corresponds to the bright region, the dark region corresponds to the dark region, and the distinction between the image software and the first effect image can be understood by a person skilled in the art.
And S203, binarizing the bright color area and the dark color area to obtain a target image.
The bright area and the dark area are subjected to binarization processing to obtain a target image, and the whole target image can show an obvious black-and-white effect, wherein the bright area is converted into a black area, and the dark area is converted into a colorless area.
S204, the geometric center of the target image is overlapped with the geometric center of the area calibration image.
The geometric center of the target image and the geometric center of the area calibration image are both geometric centers confirmed based on the frame of the image, so that the position of the geometric center is not affected by the dark area and the on or off of the LED device; if the sizes of the target image and the area calibration image need to be adjusted in proportion, a person skilled in the art can realize adjustment, and the specific adjustment can be based on that the sizes of the black area and the LED device are equal or the sizes of the black area and the LED device are close. In an embodiment, the geometric center of the target image is coincident with the geometric center of the region calibration image such that the target image and the region calibration image are coincident.
S205, uniformly shrinking the image of the black area on the target image by a preset proportion on the original position, so that the target image is converted into a target shrinkage image.
Wherein the preset proportion is preferably in the range of 5% -20%. The original position is uniformly contracted, namely, the geometric center of the image of the black area is kept motionless, the image of the black area is reduced in proportion, or the black range of the black area is reduced in proportion; the target image and the target shrinkage image are similar patterns. In one embodiment, the image of the black area on the target image is uniformly shrunk by 10% of the area on the original position, so that the target image is converted into a target shrunk image. In another embodiment, the image of the black area on the target image is uniformly shrunk by 15% of the area on the original position, so that the target image is converted into a target shrunk image.
S206, judging whether the outer frame of the LED device of the area calibration image in the complete state surrounds the black contraction area of the target contraction image.
Wherein the full state area calibration image may show all LED devices of the ceiling. The outer frame of the LED device covers the whole LED device, namely the outer frame of the LED device is the outer outline of the LED device, and the thickness of the outer frame is negligible. By determining whether or not to enclose the black pinch region of the target pinch image, it is possible to know whether a certain LED device should be lit or turned off.
S207, if the outer frame of the LED device of the area calibration image in the complete state does not surround the black contraction area of the target contraction image, all the LED devices which do not surround the black contraction area of the target contraction image are deleted, and the area calibration image in the adjusted state is obtained.
Wherein the area calibration image of the adjustment state corresponds to the target image. And deleting all the LED devices which do not surround the black contraction area of the target contraction image, and obtaining an area calibration image in an adjustment state, namely, all the LED devices which do not meet the conditions in the area calibration image are in an absence state, wherein the LED devices are also included in the area calibration image in the adjustment state, but the LED devices surround the black contraction area of the target contraction image, so that the LED devices cannot be deleted.
S208, if the area in the complete state calibrates the outer frame of the LED device of the image, the black shrinkage area surrounding the target shrinkage image is maintained unchanged.
The outer frame of the LED device can surround the black shrinkage area of the target shrinkage image, which indicates that the black area corresponding to the LED device is a bright color area, and the LED device is in a lighted state in the first effect image, so that the LED device is reserved, and the arrangement of the LED device can correspond to the first effect image.
S209, searching the area calibration image of the adjustment state in the preset image state mapping relation to obtain a search result, and generating an on-off state image corresponding to the target image according to the search result.
Wherein, the preset image state mapping relation can be realized by a person skilled in the art; for example, engineers may be able to exhaust the various cases of the switch state image, which is limited in number in the case of a limited number of wall switches. The method comprises the steps of searching the area calibration image of the adjustment state in the preset image state mapping relation to obtain a searching result, wherein the LED device of the area calibration image of the adjustment state is unique, so that the searching result is also unique. At this time, the image corresponding to the search result is also unique, and this image is the on-off state image corresponding to the target image.
In one embodiment, referring to FIG. 3, the LED control method includes the following steps S301-S304.
S301, receiving a first effect image sent by an instruction terminal, and preprocessing the first effect image to obtain a target image.
In the above scheme, the method is used for the indoor terminal; the first effect image is used for displaying the luminous state of a preset LED device; the luminous state specifically shows which LED devices are turned on and which LED devices are turned off; the indoor terminal is used by an operator, and the instruction terminal is used by a director. The setting basis of the first effect image may be the brightness required by each area of the whole indoor space; the setting basis can also be the required brightness of the object on the floor of the indoor space; the setting basis may also be other factors including, but not limited to, manual setting by an operator, the specific factors being known to those skilled in the art.
S302, generating a switch state image corresponding to the target image according to a preset image state mapping relation.
Wherein the switch state image is used for displaying the state of the wall switch; the switch state image is used for displaying the on state or the off state of the wall switch. The preset image state mapping relation can be realized by a person skilled in the art; for example, engineers may be able to exhaust the various cases of the switch state image, which is limited in number in the case of a limited number of wall switches.
And S303, adjusting the on state and the off state of the wall switch to be consistent with the on state and the off state of the wall switch according to the on state and the off state displayed on the on state image, and controlling the shooting unit to shoot the LED device of the ceiling of the indoor space so as to generate a second effect image.
The wall switch controls the state change of the LED device while adjusting the on state and the off state of the wall switch to be consistent with the on-off state image, and the state of the LED device is also lightened or turned off along with the on state and the off state of the wall switch. In an embodiment, the wall switch controls the LED devices in a one-to-one correspondence. In another embodiment, the wall switch controls the LED device, the relationship between the wall switch and the LED device being one-to-many or many-to-one, the wall switch controlling the LED device through a specific logical relationship.
S304, controlling the shooting unit to shoot the LED devices of the ceilings of the indoor space in a panoramic shooting mode, and generating a second effect image.
The panoramic shooting mode can be realized by a person skilled in the art. In an embodiment, the shooting unit is arranged on a mobile device, and controls the mobile device to move in the indoor space, namely, the LED device of the ceiling of the indoor space can be shot in a panoramic shooting mode. The second effect image is a live-action image, which may be an actual photograph, unlike the first effect image.
The beneficial effects of the steps S201-S209 are that not only the situation that vision is not comprehensive enough can be overcome, but also the problem that time and energy are wasted in the LED control process can be effectively solved by converting the first effect image into the target image and uniformly shrinking the target image by the area of a preset proportion on the original position, so that the non-standardized first effect image is replaced by the standardized target image, then the target image is represented by the regional calibration image, finally, the corresponding relation between the first effect image and the switch state image is established, the expected overall luminous effect can be realized by an operator according to the switch state image, and the wall switch is not required to be frequently turned on and off.
Example 3
Referring to fig. 4, fig. 4 is a block diagram of an LED control system according to another embodiment of the present invention. Corresponding to the above LED control method, the present invention also provides an LED control system 70. The LED control system 70 includes a unit for performing the above-described LED control method, and specifically includes:
and the receiving processing unit 71 is configured to implement receiving a first effect image sent by the instruction terminal, and pre-process the first effect image to obtain a target image, where the first effect image is used to display a preset light emitting state of the LED device.
An image generating unit 72, configured to generate a switch state image corresponding to the target image according to a preset image state mapping relationship, where the switch state image is used to display a state of the wall switch.
And an external transmitting unit 73 for transmitting a second effect image photographed by the photographing unit to the instruction terminal, the second effect image being for displaying a light emitting effect of the LED device on the ceiling.
In an embodiment, before the receiving the first effect image sent by the instruction terminal and preprocessing the first effect image to obtain the target image, the method includes: the instruction terminal converts a display interface of the instruction terminal from a first state to a second state according to an external touch instruction; and generating a first effect image by the instruction terminal according to the second state of the display interface.
In an embodiment, the receiving the first effect image sent by the instruction terminal, preprocessing the first effect image to obtain a target image, includes: receiving a first effect image sent by an instruction terminal; identifying a bright color region and a dark color region contained in the first effect image; and carrying out binarization processing on the bright color area and the dark color area to obtain a target image.
In an embodiment, the generating the switch state image corresponding to the target image according to the preset image state mapping relationship includes: coinciding the geometric center of the target image with the geometric center of the area calibration image; uniformly shrinking the image of the black area on the target image by a preset proportion on the original position so that the target image is converted into a target shrinkage image; judging whether the outer frame of the LED device of the area calibration image in the complete state surrounds the black contraction area of the target contraction image; if the outer frame of the LED device of the area calibration image in the complete state does not surround the black contraction area of the target contraction image, deleting all the LED devices which do not surround the black contraction area of the target contraction image, and obtaining an area calibration image in the adjustment state; and searching the area calibration image of the adjustment state in a preset image state mapping relation to obtain a search result, and generating an on-off state image corresponding to the target image according to the search result.
In an embodiment, after determining whether the outer frame of the LED device of the full-state area calibration image surrounds the black shrink area of the target shrink image, the method further includes: if the region in the complete state aligns with the outer frame of the LED device of the image, the black shrink region surrounding the target shrink image is maintained.
In an embodiment, before the second effect image shot by the shooting unit is sent to the instruction terminal, the method includes: and adjusting the on state and the off state of the wall switch to be consistent with the on state image according to the on state and the off state displayed on the on state image, and controlling the LED device of the ceiling of the indoor space shot by the shooting unit to generate a second effect image.
In an embodiment, the controlling the photographing unit to photograph the LED device of the ceiling of the indoor space, generates the second effect image, includes: and controlling the shooting unit to shoot the LED devices of the ceilings of the indoor space in a panoramic shooting mode, and generating a second effect image.
The inventor finds that in the design of an indoor LED scheme, in an indoor space with a larger area, LEDs are paved on a ceiling, and the bottleneck of remote communication of an operator is that an operator standing beside a wall cannot comprehensively observe the LED state of the ceiling, and in most cases, LEDs far away from the user are solidified into a group of bright lights visually or cannot see the state of a remote LED due to shielding of a top ceiling obstacle; on the basis, the inventor provides an LED control system which can overcome the situation that vision is not comprehensive enough, and further provides a method for generating a switch state image according to a first effect image sent by an instruction terminal, so that the problems of time waste and energy waste in the LED control process are effectively solved.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the several embodiments provided by the present invention, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, a unit or component may be combined or may be integrated into another system, or some features may be omitted, or not performed.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be combined, divided and deleted according to actual needs. In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit.
In the foregoing embodiments, the descriptions of the embodiments are focused on, and for those portions of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.
While the invention has been described with reference to certain preferred embodiments, it will be understood by those skilled in the art that various changes and substitutions of equivalents may be made and equivalents will be apparent to those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (5)

1. The LED control method is characterized in that a wall switch is arranged on the side wall of an indoor space, an LED device is arranged on the ceiling of the indoor space, and the wall switch controls the LED device; the image state mapping relation comprises a corresponding relation between an area calibration image and an on-off state image, wherein the area calibration image is used for displaying the image of the ceiling when all the LED devices are in the lighting state; the indoor terminal comprises a shooting unit, and the instruction terminal is in communication connection with the indoor terminal; the method comprises the following steps:
the instruction terminal converts a display interface of the instruction terminal from a first state to a second state according to an external touch instruction;
according to a second state of the display interface, the instruction terminal generates a first effect image;
receiving a first effect image sent by an instruction terminal, and preprocessing the first effect image to obtain a target image, wherein the first effect image is used for displaying a preset luminous state of an LED device;
generating a switch state image corresponding to the target image according to a preset image state mapping relation, wherein the switch state image is used for displaying the state of the wall switch;
transmitting a second effect image shot by the shooting unit to the instruction terminal, wherein the second effect image is used for displaying the luminous effect of the LED device on the ceiling;
the receiving the first effect image sent by the instruction terminal, preprocessing the first effect image to obtain a target image, and comprises the following steps:
receiving a first effect image sent by an instruction terminal;
identifying a bright color region and a dark color region contained in the first effect image;
binarizing the bright color area and the dark color area to obtain a target image;
wherein the generating a switch state image corresponding to the target image according to a preset image state mapping relation includes:
coinciding the geometric center of the target image with the geometric center of the area calibration image;
uniformly shrinking the image of the black area on the target image by a preset proportion on the original position so that the target image is converted into a target shrinkage image;
judging whether the outer frame of the LED device of the area calibration image in the complete state surrounds the black contraction area of the target contraction image;
if the outer frame of the LED device of the area calibration image in the complete state does not surround the black contraction area of the target contraction image, deleting all the LED devices which do not surround the black contraction area of the target contraction image, and obtaining an area calibration image in the adjustment state;
and searching the area calibration image of the adjustment state in a preset image state mapping relation to obtain a search result, and generating an on-off state image corresponding to the target image according to the search result.
2. The LED control method according to claim 1, wherein after determining whether the black shrink region of the target shrink image is surrounded by the outer frame of the LED device of the full-state region calibration image, the searching the region calibration image of the adjustment state among the preset image state mapping relationships to obtain a search result, and generating the on-off state image corresponding to the target image according to the search result, further comprises:
if the region in the complete state aligns with the outer frame of the LED device of the image, the black shrink region surrounding the target shrink image is maintained.
3. The LED control method according to claim 1, characterized by comprising, before transmitting the second effect image photographed by the photographing unit to the instruction terminal:
and adjusting the on state and the off state of the wall switch to be consistent with the on state image according to the on state and the off state displayed on the on state image, and controlling the LED device of the ceiling of the indoor space shot by the shooting unit to generate a second effect image.
4. The LED control method according to claim 3, wherein the controlling the photographing unit to photograph the LED device of the ceiling of the indoor space, generates the second effect image, includes:
and controlling the shooting unit to shoot the LED devices of the ceilings of the indoor space in a panoramic shooting mode, and generating a second effect image.
5. An LED control system, characterized in that the LED control system comprises means for performing the method according to any of claims 1-4.
CN202311329173.3A 2023-10-16 2023-10-16 LED control method and LED control system Active CN117119625B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311329173.3A CN117119625B (en) 2023-10-16 2023-10-16 LED control method and LED control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311329173.3A CN117119625B (en) 2023-10-16 2023-10-16 LED control method and LED control system

Publications (2)

Publication Number Publication Date
CN117119625A CN117119625A (en) 2023-11-24
CN117119625B true CN117119625B (en) 2024-01-19

Family

ID=88813018

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311329173.3A Active CN117119625B (en) 2023-10-16 2023-10-16 LED control method and LED control system

Country Status (1)

Country Link
CN (1) CN117119625B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117896867B (en) * 2024-03-14 2024-05-24 深圳市正远科技有限公司 Method and system for realizing display color regulation and control of LED light source based on response

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243749A (en) * 2007-03-29 2008-10-09 Doshisha Apparatus setting method and apparatus setting device in illumination system
CN102164441A (en) * 2010-02-23 2011-08-24 松下电工株式会社 Illumination control terminal and illumination control system
JP2012089401A (en) * 2010-10-21 2012-05-10 Nippon Telegr & Teleph Corp <Ntt> Illumination control method and illumination control device
CN104159353A (en) * 2013-05-14 2014-11-19 东芝照明技术株式会社 Lighting control system and arrangement registering method
CN109922574A (en) * 2019-04-10 2019-06-21 深圳市奥拓电子股份有限公司 Light efficiency adjustment control method, system and the storage medium of LED Landscape Lighting
CN111314618A (en) * 2020-03-17 2020-06-19 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
WO2023160451A1 (en) * 2022-02-24 2023-08-31 北京有竹居网络技术有限公司 Device control method and apparatus, and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2008243749A (en) * 2007-03-29 2008-10-09 Doshisha Apparatus setting method and apparatus setting device in illumination system
CN102164441A (en) * 2010-02-23 2011-08-24 松下电工株式会社 Illumination control terminal and illumination control system
JP2012089401A (en) * 2010-10-21 2012-05-10 Nippon Telegr & Teleph Corp <Ntt> Illumination control method and illumination control device
CN104159353A (en) * 2013-05-14 2014-11-19 东芝照明技术株式会社 Lighting control system and arrangement registering method
CN109922574A (en) * 2019-04-10 2019-06-21 深圳市奥拓电子股份有限公司 Light efficiency adjustment control method, system and the storage medium of LED Landscape Lighting
CN111314618A (en) * 2020-03-17 2020-06-19 Tcl移动通信科技(宁波)有限公司 Shooting method, shooting device, storage medium and mobile terminal
WO2023160451A1 (en) * 2022-02-24 2023-08-31 北京有竹居网络技术有限公司 Device control method and apparatus, and electronic device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能家居系统核心技术探讨;花铁森;;智能建筑电气技术(第01期);第92-98页 *

Also Published As

Publication number Publication date
CN117119625A (en) 2023-11-24

Similar Documents

Publication Publication Date Title
CN117119625B (en) LED control method and LED control system
US10762876B2 (en) Information processing apparatus and control method
JP6398248B2 (en) Position detection system and method for controlling position detection system
EP2514276B1 (en) Lighting tool for creating light scenes
JP6179181B2 (en) Lighting control system and arrangement registration method
JP5652705B2 (en) Dimming control device, dimming control method, and dimming control program
WO2021104260A1 (en) Exhibition hall control method and system, control terminal, background server, and central control host
WO2015147573A1 (en) Lighting-integrated wireless surveillance camera system
JP5180570B2 (en) Camera control device, camera control method, camera system, and program
WO2018155742A1 (en) Real-time monitoring system through synthesis of multiple camera inputs
JP2015158885A (en) Position detection device, projector, position detection system, and control method of position detection device
JP2018160265A (en) Position detection system, and control method of position detection system
US10055065B2 (en) Display system, projector, and control method for display system
JP2007156325A (en) Information-presenting device, information-presenting method and program thereof
JP2010123373A (en) Illumination system
WO2020085242A1 (en) Lighting control device, lighting control system, and lighting control method
GB2418482A (en) Method for locating luminaires using optical feedback
JP2008129946A (en) Image control apparatus and control method thereof
JP2004289779A (en) Mobile body imaging method and mobile body imaging system
JP6472987B2 (en) Video projection system
US11747478B2 (en) Stage mapping and detection using infrared light
JP2001250696A (en) Automatic illumination setting system
JP2001174881A (en) Photographing device and storage medium
JP3121418B2 (en) Pointing system
JP6340860B2 (en) POSITION DETECTION DEVICE, PROJECTOR, POSITION DETECTION SYSTEM, AND POSITION DETECTION DEVICE CONTROL METHOD

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant