CN106900128A - Method for controlling lamp and device - Google Patents
Method for controlling lamp and device Download PDFInfo
- Publication number
- CN106900128A CN106900128A CN201710166352.8A CN201710166352A CN106900128A CN 106900128 A CN106900128 A CN 106900128A CN 201710166352 A CN201710166352 A CN 201710166352A CN 106900128 A CN106900128 A CN 106900128A
- Authority
- CN
- China
- Prior art keywords
- palm
- light fixture
- lamp
- target location
- brightness
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/105—Controlling the light source in response to determined parameters
- H05B47/11—Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
本公开是关于一种灯具控制方法及装置。该方法包括:获取手掌对灯具上的目标位置的遮挡面积;根据所述遮挡面积,确定所述灯具的目标亮度;控制所述灯具按照所述目标亮度进行发光。由此,可以根据手掌对灯具的目标位置的遮挡面积的变化而自动调节灯光亮度,对于用户而言,无需手动调节亮度调节按钮,只需变化手的位置就可以调节灯光亮度,使用起来非常便利。
The present disclosure relates to a lamp control method and device. The method includes: obtaining the occlusion area of the target position on the lamp by the palm; determining the target brightness of the lamp according to the occlusion area; and controlling the lamp to emit light according to the target brightness. Thus, the brightness of the light can be automatically adjusted according to the change of the occlusion area of the palm to the target position of the lamp. For the user, there is no need to manually adjust the brightness adjustment button, and the brightness of the light can be adjusted only by changing the position of the hand, which is very convenient to use .
Description
技术领域technical field
本公开涉及灯具领域,尤其涉及一种灯具控制方法及装置。The present disclosure relates to the field of lamps, in particular to a method and device for controlling lamps.
背景技术Background technique
灯具是人们日常生活中的常用电器。相关技术中,大多是通过手动操作亮度调节按钮来实现灯光亮度的调控的,对于用户而言,使用起来非常不方便。Lamps are commonly used electrical appliances in people's daily life. In related technologies, the control of light brightness is mostly realized by manually operating the brightness adjustment button, which is very inconvenient for users to use.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种灯具控制方法及装置。In order to overcome the problems existing in related technologies, the present disclosure provides a lamp control method and device.
根据本公开实施例的第一方面,提供一种灯具控制方法,包括:According to the first aspect of the embodiments of the present disclosure, there is provided a lamp control method, including:
获取手掌对灯具上的目标位置的遮挡面积;Obtain the occlusion area of the palm on the target position on the lamp;
根据所述遮挡面积,确定所述灯具的目标亮度;Determine the target brightness of the lamp according to the shading area;
控制所述灯具按照所述目标亮度进行发光。The lamp is controlled to emit light according to the target brightness.
可选地,获取手掌对灯具上的目标位置的遮挡面积,包括:Optionally, obtain the occlusion area of the palm on the target position on the lamp, including:
通过设置在所述目标位置处的多个传感器来获取手掌对所述目标位置的遮挡面积,其中,所述多个传感器呈阵列式排列。The occluded area of the target position by the palm is obtained by using multiple sensors arranged at the target position, wherein the multiple sensors are arranged in an array.
可选地,所述传感器为以下中的一者:光感应传感器、电容式传感器、电阻式传感器。Optionally, the sensor is one of the following: a photosensitive sensor, a capacitive sensor, and a resistive sensor.
可选地,所述获取手掌对灯具上的目标位置的遮挡面积,包括:Optionally, the acquiring the occluded area of the palm on the target position on the lamp includes:
通过摄像头获取手掌对所述目标位置的遮挡图像;Obtaining the occlusion image of the target position by the palm through the camera;
对所述遮挡图像进行图像处理,获取手掌对所述目标位置的遮挡面积。Image processing is performed on the occlusion image to obtain the occlusion area of the target position by the palm.
可选地,所述目标位置为以下中的一者:灯体、灯罩、底座、控制面板。Optionally, the target position is one of the following: a lamp body, a lampshade, a base, and a control panel.
可选地,所述遮挡面积与所述灯具的目标亮度呈负相关变化关系。Optionally, the shading area is negatively correlated with the target brightness of the lamp.
可选地,在所述获取手掌对灯具上的目标位置的遮挡面积之前,所述方法还包括:Optionally, before the acquisition of the occlusion area of the palm on the target position on the lamp, the method further includes:
在接收到用于指示开启灯具的开启指令时,控制所述灯具开启并按照指定的亮度进行发光。When receiving the start instruction for instructing to turn on the lamp, control the lamp to turn on and emit light according to the specified brightness.
根据本公开实施例的第二方面,提供一种灯具控制装置,包括:According to a second aspect of the embodiments of the present disclosure, there is provided a lamp control device, including:
获取模块,被配置为获取手掌对灯具上的目标位置的遮挡面积;The obtaining module is configured to obtain the occlusion area of the palm on the target position on the lamp;
确定模块,被配置为根据所述获取模块获取到的所述遮挡面积,确定所述灯具的目标亮度;A determination module configured to determine the target brightness of the lamp according to the occlusion area acquired by the acquisition module;
控制模块,被配置为控制所述灯具按照所述确定模块确定出的所述目标亮度进行发光。A control module configured to control the lamp to emit light according to the target brightness determined by the determination module.
可选地,所述获取模块被配置为通过设置在所述目标位置处的多个传感器来获取手掌对所述目标位置的遮挡面积,其中,所述多个传感器呈阵列式排列。Optionally, the acquisition module is configured to acquire the occlusion area of the target position by the palm through a plurality of sensors arranged at the target position, wherein the plurality of sensors are arranged in an array.
可选地,所述传感器为以下中的一者:光感应传感器、电容式传感器、电阻式传感器。Optionally, the sensor is one of the following: a photosensitive sensor, a capacitive sensor, and a resistive sensor.
可选地,所述获取模块包括:Optionally, the acquisition module includes:
图像获取子模块,被配置为通过摄像头获取手掌对所述目标位置的遮挡图像;The image acquisition submodule is configured to acquire the occlusion image of the target position by the palm through the camera;
遮挡面积获取子模块,被配置为对所述图像获取子模块获取到的所述遮挡图像进行图像处理,获取手掌对所述目标位置的遮挡面积。The occlusion area acquisition sub-module is configured to perform image processing on the occlusion image acquired by the image acquisition sub-module, and acquire the occlusion area of the target position by the palm.
可选地,所述目标位置为以下中的一者:灯体、灯罩、底座、控制面板。Optionally, the target position is one of the following: a lamp body, a lampshade, a base, and a control panel.
可选地,所述遮挡面积与所述灯具的目标亮度呈负相关变化关系。Optionally, the shading area is negatively correlated with the target brightness of the lamp.
可选地,所述控制模块还被配置为在所述获取模块获取手掌对灯具上的目标位置的遮挡面积之前,在接收到用于指示开启灯具的开启指令时,控制所述灯具开启并按照指定的亮度进行发光。Optionally, the control module is further configured to control the lamp to turn on and follow the Lights up at the specified brightness.
根据本公开实施例的第三方面,提供一种灯具控制装置,包括:According to a third aspect of the embodiments of the present disclosure, there is provided a lamp control device, including:
处理器;processor;
用于存储处理器可执行指令的存储器;memory for storing processor-executable instructions;
其中,所述处理器被配置为:Wherein, the processor is configured as:
获取手掌对灯具上的目标位置的遮挡面积;Obtain the occlusion area of the palm on the target position on the lamp;
根据所述遮挡面积,确定所述灯具的目标亮度;Determine the target brightness of the lamp according to the shading area;
控制所述灯具按照所述目标亮度进行发光。The lamp is controlled to emit light according to the target brightness.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由灯具的处理器执行时,使得灯具能够执行一种灯具控制方法,所述方法包括:According to the fourth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium, when the instructions in the storage medium are executed by the processor of the lamp, the lamp can execute a lamp control method, the Methods include:
获取手掌对灯具上的目标位置的遮挡面积;Obtain the occlusion area of the palm on the target position on the lamp;
根据所述遮挡面积,确定所述灯具的目标亮度;Determine the target brightness of the lamp according to the shading area;
控制所述灯具按照所述目标亮度进行发光。The lamp is controlled to emit light according to the target brightness.
本公开的实施例提供的技术方案可以包括以下有益效果:通过获取到的手掌对灯具上的目标位置的遮挡面积可以确定灯具的目标亮度,并控制灯具按照该目标亮度进行发光,这样,可以根据手掌对灯具的目标位置的遮挡面积的变化而自动调节灯光亮度,对于用户而言,无需手动调节亮度调节按钮,只需变化手的位置就可以调节灯光亮度,使用起来非常便利。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the target brightness of the lamp can be determined through the acquired palm-occluded area of the target position on the lamp, and the lamp is controlled to emit light according to the target brightness. The brightness of the light is automatically adjusted according to the change of the palm's blocking area of the target position of the lamp. For the user, there is no need to manually adjust the brightness adjustment button, and the brightness of the light can be adjusted only by changing the position of the hand, which is very convenient to use.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1A是根据一示例性实施例示出的一种灯具控制方法的流程图。Fig. 1A is a flow chart of a method for controlling a lamp according to an exemplary embodiment.
图1B是根据一示例性实施例示出的一种遮挡面积获取方法的流程图。Fig. 1B is a flow chart showing a method for obtaining an occlusion area according to an exemplary embodiment.
图2A是根据一示例性实施例示出的一种实施环境的结构示意图。Fig. 2A is a schematic structural diagram of an implementation environment according to an exemplary embodiment.
图2B是根据另一示例性实施例示出的一种实施环境的结构示意图。Fig. 2B is a schematic structural diagram of an implementation environment according to another exemplary embodiment.
图3A是根据另一示例性实施例示出的一种实施环境的结构示意图。Fig. 3A is a schematic structural diagram of an implementation environment according to another exemplary embodiment.
图3B是根据另一示例性实施例示出的一种实施环境的结构示意图。Fig. 3B is a schematic structural diagram of an implementation environment according to another exemplary embodiment.
图4是根据另一示例性实施例示出的一种灯具控制方法的流程图。Fig. 4 is a flow chart of a method for controlling a lamp according to another exemplary embodiment.
图5A是根据一示例性实施例示出的一种灯具控制装置的框图。Fig. 5A is a block diagram of a lamp control device according to an exemplary embodiment.
图5B是根据另一示例性实施例示出的一种灯具控制装置的框图。Fig. 5B is a block diagram of a lamp control device according to another exemplary embodiment.
图6是根据一示例性实施例示出的一种灯具控制装置的框图。Fig. 6 is a block diagram of a lamp control device according to an exemplary embodiment.
具体实施方式detailed description
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
图1A是根据一示例性实施例示出的一种灯具控制方法的流程图。如图1A所示,该方法可以包括以下步骤。Fig. 1A is a flow chart of a method for controlling a lamp according to an exemplary embodiment. As shown in Fig. 1A, the method may include the following steps.
在步骤101中,获取手掌对灯具上的目标位置的遮挡面积。In step 101, the occlusion area of the palm on the target position on the lamp is obtained.
在本公开中,该目标位置可以是灯体、灯罩、底座、控制面板等,其中,控制面板可以设置在灯具的底座上,使用者可以通过操作该控制面板来实现灯光亮度的调节。灯具可以通过设置在目标位置处的多个传感器来获取手掌对该目标位置的遮挡面积,其中,多个传感器呈阵列式排列。它们可以是光感应传感器,也可以是电容式传感器、电阻式传感器等。另外,需要说明的是,传感器的个数可以例如是2个、3个、4个、6个等,这里不作具体限定。In the present disclosure, the target position may be a lamp body, a lampshade, a base, a control panel, etc., wherein the control panel may be disposed on the base of the lamp, and the user may adjust the brightness of the light by operating the control panel. The lamp can obtain the area covered by the palm on the target position through a plurality of sensors arranged at the target position, wherein the plurality of sensors are arranged in an array. They can be light-sensitive sensors, capacitive sensors, resistive sensors, etc. In addition, it should be noted that the number of sensors may be, for example, 2, 3, 4, 6, etc., which is not specifically limited here.
在一种实施方式中,该遮挡面积可以为非接触式遮挡面积,例如,图2A所示的手掌投影到灯罩上的阴影面积。灯具可以在该灯罩上设置有多个呈阵列式排列的光感应传感器,通过该光感应传感器阵列来获取手掌对该目标位置的非接触式遮挡面积。In one embodiment, the shading area may be a non-contact shading area, for example, the shadow area projected by the palm onto the lampshade shown in FIG. 2A . The lampshade may be provided with a plurality of light-sensing sensors arranged in an array, and the non-contact blocking area of the target position by the palm is acquired through the light-sensing sensor array.
在另一种实施方式中,该遮挡面积可以为接触式遮挡面积,例如,手掌与控制面板之间的直接接触面积、如图2B所示的手掌覆盖在灯具底座上的覆盖面积等。灯具可以通过设置在控制面板或灯具底座上的多个呈阵列式排列的电容式传感器或电阻式传感器来获取手掌对该目标位置的接触式遮挡面积。示例地,由于电容式传感器中设置有一对相邻的电极,当手掌接近这些电极时,两个电极之间的电容就会增加,因此,当其检测到电容增加时,表示该电容式传感器所在的位置点被手掌触碰到。又示例地,在手掌覆盖在控制面板或灯具底座上时,会对电阻式传感器产生压力,它会产生机械变形,电阻值也将发生改变,因此,当其检测到电阻值发生变化时,表示该电阻式传感器所在的位置点被手掌触碰到。In another embodiment, the shielding area may be a contact shielding area, for example, the direct contact area between the palm and the control panel, the palm covering the lamp base as shown in FIG. 2B , and the like. The lamp can obtain the contact-blocking area of the target position by the palm through a plurality of capacitive sensors or resistive sensors arranged in an array arranged on the control panel or the base of the lamp. For example, since a pair of adjacent electrodes is set in the capacitive sensor, when the palm approaches these electrodes, the capacitance between the two electrodes will increase, therefore, when it detects that the capacitance increases, it means that the capacitive sensor is located The position point is touched by the palm. As another example, when the palm of the hand covers the control panel or the base of the lamp, pressure will be generated on the resistive sensor, which will produce mechanical deformation, and the resistance value will also change. Therefore, when it detects that the resistance value changes, it means The point where the resistive sensor is located is touched by the palm of the hand.
当手掌的接触面积越大,检测到触碰事件的传感器就越多,表示接触式遮挡面积也就越大。The larger the contact area of the palm, the more sensors that detect the touch event, which means the larger the contact occlusion area.
在又一种实施方式中,灯具还可以通过以下方式来获取手掌对目标位置处遮挡面积。如图1B所示,上述步骤101可以包括以下步骤。In yet another implementation manner, the lamp may also acquire the occlusion area of the palm at the target position in the following manner. As shown in FIG. 1B , the above step 101 may include the following steps.
在步骤1011中,通过摄像头获取手掌对目标位置的遮挡图像。In step 1011, an occlusion image of the target position by the palm is acquired through the camera.
在步骤1012中,对遮挡图像进行图像处理,获取手掌对目标位置的遮挡面积。In step 1012, image processing is performed on the occlusion image to obtain the occlusion area of the target position by the palm.
在本公开中,可以通过设置在灯杆、灯罩或控制面板等位置处的摄像头来采集手掌对目标位置的遮挡图像,然后经过灰度变换、阈值分割等步骤来获取手掌对目标位置的遮挡面积。In the present disclosure, the occlusion image of the palm to the target position can be collected through a camera installed at a position such as a light pole, a lampshade, or a control panel, and then the occlusion area of the palm to the target position can be obtained through steps such as grayscale transformation and threshold segmentation .
在步骤102中,根据遮挡面积,确定灯具的目标亮度。In step 102, the target brightness of the lamp is determined according to the shaded area.
在一种实施方式中,该遮挡面积可以与灯具的目标亮度呈负相关变化关系。也就是说,遮挡面积越大,目标亮度也就越暗。示例地,在灯具中可以设置有存储模块,该存储模块用于存储遮挡面积与目标亮度之间的对应关系。当获取到遮挡面积之后,通过访问该存储模块可以获知与该遮挡面积相对应的目标亮度。In an implementation manner, the shading area may be negatively correlated with the target brightness of the lamp. In other words, the larger the occlusion area, the darker the target brightness will be. For example, a storage module may be provided in the lamp, and the storage module is used for storing the corresponding relationship between the shaded area and the target brightness. After the shading area is obtained, the target luminance corresponding to the shading area can be obtained by accessing the storage module.
在另一种实施方式中,也可以先确定该遮挡面积所属的遮挡面积范围,然后再确定与该遮挡面积范围对应的目标亮度。示例地,在灯具中可以设置有存储模块,该存储模块用于存储遮挡面积范围与目标亮度之间的对应关系。当获取到遮挡面积之后,可以确定该遮挡面积所属的遮挡面积范围,通过访问该存储模块可以获知与该遮挡面积范围相对应的目标亮度。In another implementation manner, the shading area range to which the shading area belongs may also be determined first, and then the target brightness corresponding to the shading area range is determined. For example, a storage module may be provided in the lamp, and the storage module is used to store the corresponding relationship between the shaded area range and the target brightness. After the shading area is obtained, the shading area range to which the shading area belongs can be determined, and the target brightness corresponding to the shading area range can be obtained by accessing the storage module.
在步骤103中,控制灯具按照目标亮度进行发光。In step 103, the lamp is controlled to emit light according to the target brightness.
在本公开中,在目标亮度确定之后,控制灯具按照该目标亮度进行发光。从如图3A和图3B中可以看出,遮挡面积越大,灯光就越暗。这样,使用者无需手动调节亮度调节按钮,只需变化手的位置就可以调节灯光亮度。In the present disclosure, after the target brightness is determined, the lamp is controlled to emit light according to the target brightness. It can be seen from Fig. 3A and Fig. 3B that the larger the shading area, the dimmer the light. In this way, the user does not need to manually adjust the brightness adjustment button, but only needs to change the position of the hand to adjust the brightness of the light.
本公开的实施例提供的技术方案可以包括以下有益效果:通过获取到的手掌对灯具上的目标位置的遮挡面积可以确定灯具的目标亮度,并控制灯具按照该目标亮度进行发光,这样,可以根据手掌对灯具的目标位置的遮挡面积的变化而自动调节灯光亮度,对于用户而言,无需手动调节亮度调节按钮,只需变化手的位置就可以调节灯光亮度,使用起来非常便利。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the target brightness of the lamp can be determined through the acquired palm-occluded area of the target position on the lamp, and the lamp is controlled to emit light according to the target brightness. The brightness of the light is automatically adjusted according to the change of the palm's blocking area of the target position of the lamp. For the user, there is no need to manually adjust the brightness adjustment button, and the brightness of the light can be adjusted only by changing the position of the hand, which is very convenient to use.
图4是根据另一示例性实施例示出的一种灯具控制方法的流程图。如图4所示,该方法可以包括以下步骤。Fig. 4 is a flow chart of a method for controlling a lamp according to another exemplary embodiment. As shown in Fig. 4, the method may include the following steps.
在步骤401中,在接收到用于指示开启灯具的开启指令时,控制灯具开启并按照指定的亮度进行发光。In step 401, when an instruction to turn on the lamp is received, the lamp is controlled to turn on and emit light according to a specified brightness.
在本公开中,该开启指令可以是用户通过操作灯具上的用于指示开启灯具的开关按钮发出的,也可以是用户通过手机、平板电脑、智能传感设备等终端发出的。该指定的亮度可以是用户设定的亮度,也可以是默认的亮度。In the present disclosure, the turn-on instruction may be issued by the user by operating a switch button on the lamp for instructing to turn on the lamp, or by the user through a terminal such as a mobile phone, a tablet computer, or an intelligent sensing device. The specified brightness may be the brightness set by the user, or the default brightness.
在步骤402中,获取手掌对灯具上的目标位置的遮挡面积。In step 402, the occlusion area of the palm on the target position on the lamp is obtained.
在步骤403中,根据遮挡面积,确定灯具的目标亮度。In step 403, the target brightness of the lamp is determined according to the shaded area.
在步骤404中,控制灯具按照目标亮度进行发光。In step 404, the lamp is controlled to emit light according to the target brightness.
在本公开中,上述步骤401可以在步骤402之前执行,也可以与步骤402同时执行,这里不作具体限定。此外,步骤402至步骤404的实施同上面结合图1A所描述的步骤101至步骤103的实施方式相同,此处便不再赘述。In the present disclosure, the above step 401 may be performed before step 402, or may be performed simultaneously with step 402, which is not specifically limited here. In addition, the implementation of steps 402 to 404 is the same as the implementation of steps 101 to 103 described above in conjunction with FIG. 1A , and will not be repeated here.
图5A是根据一示例性实施例示出的一种灯具控制装置的框图。参照图5A,该装置500可以包括获取模块501,被配置为获取手掌对灯具上的目标位置的遮挡面积;确定模块502,被配置为根据所述获取模块501获取到的所述遮挡面积,确定所述灯具的目标亮度;控制模块503,被配置为控制所述灯具按照所述确定模块502确定出的所述目标亮度进行发光。Fig. 5A is a block diagram of a lamp control device according to an exemplary embodiment. Referring to FIG. 5A , the device 500 may include an acquisition module 501 configured to acquire the occlusion area of the palm on the target position on the lamp; a determination module 502 configured to determine according to the occlusion area acquired by the acquisition module 501 The target brightness of the lamp; a control module 503 configured to control the lamp to emit light according to the target brightness determined by the determining module 502 .
本公开的实施例提供的技术方案可以包括以下有益效果:通过获取到的手掌对灯具上的目标位置的遮挡面积可以确定灯具的目标亮度,并控制灯具按照该目标亮度进行发光,这样,灯光的亮度随遮挡面积的变化而自动调节,对于用户而言,无需手动调节亮度调节按钮,只需变化手的位置就可以调节灯光亮度,使用起来非常便利。The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: the target brightness of the lamp can be determined by the acquired palm-occluded area of the target position on the lamp, and the lamp is controlled to emit light according to the target brightness. In this way, the brightness of the lamp The brightness is automatically adjusted with the change of the blocking area. For the user, there is no need to manually adjust the brightness adjustment button, and the brightness of the light can be adjusted by changing the position of the hand, which is very convenient to use.
可选地,所述获取模块501可以被配置为通过设置在所述目标位置处的多个传感器来获取手掌对所述目标位置的遮挡面积,其中,所述多个传感器呈阵列式排列。Optionally, the acquiring module 501 may be configured to acquire the occluded area of the target position by the palm through a plurality of sensors arranged at the target position, wherein the plurality of sensors are arranged in an array.
可选地,所述传感器为以下中的一者:光感应传感器、电容式传感器、电阻式传感器。Optionally, the sensor is one of the following: a photosensitive sensor, a capacitive sensor, and a resistive sensor.
图5B是根据另一示例性实施例示出的一种灯具控制装置的框图。参照图5B,所述获取模块501可以包括:图像获取子模块5011,被配置为通过摄像头获取手掌对所述目标位置的遮挡图像;遮挡面积获取子模块5012,被配置为对所述图像获取子模块5011获取到的所述遮挡图像进行图像处理,获取手掌对所述目标位置的遮挡面积。Fig. 5B is a block diagram of a lamp control device according to another exemplary embodiment. Referring to FIG. 5B, the acquisition module 501 may include: an image acquisition sub-module 5011 configured to obtain an occlusion image of the target position by the palm through a camera; an occlusion area acquisition sub-module 5012 configured to obtain a sub-module for the image Perform image processing on the occlusion image obtained by module 5011 to acquire the occlusion area of the target position by the palm.
可选地,所述目标位置为以下中的一者:灯体、灯罩、底座、控制面板。Optionally, the target position is one of the following: a lamp body, a lampshade, a base, and a control panel.
可选地,所述遮挡面积与所述灯具的目标亮度呈负相关变化关系。Optionally, the shading area is negatively correlated with the target brightness of the lamp.
可选地,所述控制模块503还可以被配置为在所述获取模块501获取手掌对灯具上的目标位置的遮挡面积之前,在接收到用于指示开启灯具的开启指令时,控制所述灯具开启并按照指定的亮度进行发光。Optionally, the control module 503 may also be configured to control the lamp when receiving an instruction to turn on the lamp before the acquisition module 501 acquires the occluded area of the palm on the target position on the lamp. Turn on and emit light at the specified brightness.
关于上述实施例中的装置,其中各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。Regarding the apparatus in the above embodiments, the specific manner in which each module executes operations has been described in detail in the embodiments related to the method, and will not be described in detail here.
图6是根据一示例性实施例示出的一种灯具控制装置600的框图。例如,装置600可以被提供为一灯具。参照图6,装置600包括发光单元601和处理组件622,发光单元601用于在处理组件622的控制下进行发光以进行照明。处理组件622进一步包括一个或多个处理器,以及由存储器632所代表的存储器资源,用于存储可由处理组件622的执行的指令,例如应用程序。存储器632中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件622被配置为执行指令,以执行上述灯具控制方法。Fig. 6 is a block diagram of a lamp control device 600 according to an exemplary embodiment. For example, device 600 may be provided as a light fixture. Referring to FIG. 6 , the device 600 includes a light emitting unit 601 and a processing component 622 , the light emitting unit 601 is used to emit light under the control of the processing component 622 for lighting. Processing component 622 further includes one or more processors, and a memory resource, represented by memory 632 , for storing instructions executable by processing component 622 , such as application programs. The application program stored in memory 632 may include one or more modules each corresponding to a set of instructions. In addition, the processing component 622 is configured to execute instructions to perform the above lamp control method.
装置600还可以包括一个电源组件626被配置为执行装置600的电源管理,一个有线或无线网络接口650被配置为将装置600连接到网络,和一个输入输出(I/O)接口658。装置600可以操作基于存储在存储器632的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。Device 600 may also include a power component 626 configured to perform power management of device 600 , a wired or wireless network interface 650 configured to connect device 600 to a network, and an input-output (I/O) interface 658 . The device 600 can operate based on an operating system stored in the memory 632, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.
本领域技术人员在考虑说明书及实践本公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, and these modifications, uses or adaptations follow the general principles of the present disclosure and include common knowledge or conventional technical means in the technical field not disclosed in the present disclosure . The specification and examples are to be considered exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It should be understood that the present disclosure is not limited to the precise constructions which have been described above and shown in the drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (15)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710166352.8A CN106900128A (en) | 2017-03-20 | 2017-03-20 | Method for controlling lamp and device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710166352.8A CN106900128A (en) | 2017-03-20 | 2017-03-20 | Method for controlling lamp and device |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106900128A true CN106900128A (en) | 2017-06-27 |
Family
ID=59193704
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710166352.8A Pending CN106900128A (en) | 2017-03-20 | 2017-03-20 | Method for controlling lamp and device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN106900128A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111736479A (en) * | 2020-06-28 | 2020-10-02 | 佛山市顺德区美的饮水机制造有限公司 | Control method, home appliance, and computer-readable storage medium |
Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102168829A (en) * | 2011-03-19 | 2011-08-31 | 深圳市尚荣医疗股份有限公司 | LED (Light Emitting Diode) surgery shadowless lamp with multiple lens light source arrays and method for revising shadowless rate |
| CN202733630U (en) * | 2012-05-31 | 2013-02-13 | 深圳市凯铭电气照明有限公司 | Dimmable linear LED (Light Emitting Diode) projection lamp |
| CN103607804A (en) * | 2013-10-17 | 2014-02-26 | 上舜照明(中国)有限公司 | Touch light regulating device |
| CN104053286A (en) * | 2014-07-02 | 2014-09-17 | 成都零点六一八科技有限公司 | Intelligent switch capable of adjusting light brightness and color |
| CN204231710U (en) * | 2014-11-14 | 2015-03-25 | 深圳市遥蓝儿童科技有限公司 | A kind of projector light source induction switch device |
| US20150168821A1 (en) * | 2012-07-09 | 2015-06-18 | Ab Electrolux | Interactive light fixture, illumination system and kitchen appliance |
| CN105041109A (en) * | 2015-06-30 | 2015-11-11 | 青岛文创科技有限公司 | Wireless intelligent door controlling method achieving brightness adjustment |
| CN105120550A (en) * | 2015-05-22 | 2015-12-02 | 江苏天语雅思医疗设备有限公司 | Intelligent light adjustment system for LED shadowless lamp based on ultrasonic positioning |
| CN105188235A (en) * | 2015-10-30 | 2015-12-23 | 大连鼎创科技开发有限公司 | Non-contact wall light switch device and gesture control method thereof |
| CN105338680A (en) * | 2014-06-09 | 2016-02-17 | 东莞巨扬电器有限公司 | Light fixture with proximity sensor, and control method thereof |
| US20160084486A1 (en) * | 2014-09-23 | 2016-03-24 | Yicheng Precision Inc. | Lighting device controllable by hover operation |
-
2017
- 2017-03-20 CN CN201710166352.8A patent/CN106900128A/en active Pending
Patent Citations (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102168829A (en) * | 2011-03-19 | 2011-08-31 | 深圳市尚荣医疗股份有限公司 | LED (Light Emitting Diode) surgery shadowless lamp with multiple lens light source arrays and method for revising shadowless rate |
| CN202733630U (en) * | 2012-05-31 | 2013-02-13 | 深圳市凯铭电气照明有限公司 | Dimmable linear LED (Light Emitting Diode) projection lamp |
| US20150168821A1 (en) * | 2012-07-09 | 2015-06-18 | Ab Electrolux | Interactive light fixture, illumination system and kitchen appliance |
| CN103607804A (en) * | 2013-10-17 | 2014-02-26 | 上舜照明(中国)有限公司 | Touch light regulating device |
| CN105338680A (en) * | 2014-06-09 | 2016-02-17 | 东莞巨扬电器有限公司 | Light fixture with proximity sensor, and control method thereof |
| CN104053286A (en) * | 2014-07-02 | 2014-09-17 | 成都零点六一八科技有限公司 | Intelligent switch capable of adjusting light brightness and color |
| US20160084486A1 (en) * | 2014-09-23 | 2016-03-24 | Yicheng Precision Inc. | Lighting device controllable by hover operation |
| CN204231710U (en) * | 2014-11-14 | 2015-03-25 | 深圳市遥蓝儿童科技有限公司 | A kind of projector light source induction switch device |
| CN105120550A (en) * | 2015-05-22 | 2015-12-02 | 江苏天语雅思医疗设备有限公司 | Intelligent light adjustment system for LED shadowless lamp based on ultrasonic positioning |
| CN105041109A (en) * | 2015-06-30 | 2015-11-11 | 青岛文创科技有限公司 | Wireless intelligent door controlling method achieving brightness adjustment |
| CN105188235A (en) * | 2015-10-30 | 2015-12-23 | 大连鼎创科技开发有限公司 | Non-contact wall light switch device and gesture control method thereof |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN111736479A (en) * | 2020-06-28 | 2020-10-02 | 佛山市顺德区美的饮水机制造有限公司 | Control method, home appliance, and computer-readable storage medium |
| CN111736479B (en) * | 2020-06-28 | 2022-12-13 | 佛山市顺德区美的饮水机制造有限公司 | Control method, home appliance device, and computer-readable storage medium |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20190102597A1 (en) | Method and electronic device of performing fingerprint recognition | |
| EP3100249B1 (en) | Gesture control | |
| JP6736543B2 (en) | Lighting preference mediation | |
| CN108520241B (en) | Fingerprint acquisition method and device based on optical fingerprint technology and user terminal | |
| US10187936B1 (en) | Non-linear lighting system brightness control for a user device | |
| TWI528226B (en) | Image based touch apparatus and control method thereof | |
| CN104168371A (en) | Method for adjusting backlight brightness of mobile terminal and mobile terminal | |
| CN109327691B (en) | Image shooting method and device, storage medium and mobile terminal | |
| CN106658926B (en) | Method for controlling lamp and device | |
| BRPI1100158A2 (en) | information processing apparatus and method, and program for making a computer function as an information processing apparatus | |
| CN106713715B (en) | A kind of photographic method and mobile terminal | |
| CN105744067A (en) | Mobile terminal flashlight brightness adjustment method, device and mobile terminal | |
| JP2017527061A5 (en) | ||
| CN105930142A (en) | Screen capture processing method, device and intelligent terminal | |
| CN114585131A (en) | Lighting effect control method, device, computer equipment and storage medium | |
| JP7322295B2 (en) | Assign different tasks to multiple presence sensor systems | |
| CN107580182B (en) | Snapshot method, mobile terminal and computer-readable storage medium | |
| CN107592458B (en) | Shooting method and mobile terminal | |
| CN107491743B (en) | Iris image acquisition method and related products | |
| CN106900128A (en) | Method for controlling lamp and device | |
| CN109040729A (en) | Image white balance correcting, device, storage medium and terminal | |
| JP2016038504A (en) | Portable terminal device and control method thereof | |
| WO2020148117A1 (en) | Receiving light settings of light devices identified from a captured image | |
| CN109218620A (en) | Photographing method and device based on ambient brightness, storage medium and mobile terminal | |
| CN112235912B (en) | A method and system for lighting adjustment based on user pictures |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PB01 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170627 |
|
| RJ01 | Rejection of invention patent application after publication |