CN110597079B - Adjusting method and device for distributed intelligent household equipment - Google Patents
Adjusting method and device for distributed intelligent household equipment Download PDFInfo
- Publication number
- CN110597079B CN110597079B CN201910936044.8A CN201910936044A CN110597079B CN 110597079 B CN110597079 B CN 110597079B CN 201910936044 A CN201910936044 A CN 201910936044A CN 110597079 B CN110597079 B CN 110597079B
- Authority
- CN
- China
- Prior art keywords
- target
- luminous
- light
- area
- parameter
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 30
- 238000004590 computer program Methods 0.000 claims description 18
- 230000015654 memory Effects 0.000 claims description 18
- 230000003287 optical effect Effects 0.000 claims description 18
- 230000000694 effects Effects 0.000 abstract description 20
- 230000004630 mental health Effects 0.000 abstract description 6
- 230000003760 hair shine Effects 0.000 abstract description 4
- 238000005286 illumination Methods 0.000 abstract 1
- 238000004088 simulation Methods 0.000 abstract 1
- 238000004020 luminiscence type Methods 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 6
- 238000011217 control strategy Methods 0.000 description 6
- 238000010586 diagram Methods 0.000 description 6
- 230000008859 change Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000001795 light effect Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 241000196324 Embryophyta Species 0.000 description 1
- 241001465382 Physalis alkekengi Species 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 230000036651 mood Effects 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 235000013311 vegetables Nutrition 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B15/00—Systems controlled by a computer
- G05B15/02—Systems controlled by a computer electric
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/418—Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/26—Pc applications
- G05B2219/2642—Domotique, domestic, home control, automation, smart house
-
- 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
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Manufacturing & Machinery (AREA)
- Quality & Reliability (AREA)
- Circuit Arrangement For Electric Light Sources In General (AREA)
Abstract
本发明提供了一种分布式智能家居设备的调节方法及装置,包括:在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;根据所述光线信息调节所述目标区域内的目标灯具的发光参数。通过本发明,解决了由于受地理位置的影响,建筑物内受无法获取到阳光,进而影响人们心理健康的技术问题,进而达到了在室内模拟出太阳光自然照入时所呈现的颜色和光照渐变的效果。
The present invention provides a method and device for adjusting distributed smart home equipment, including: when a target object is monitored to perform a predetermined operation in a target area, acquiring the outdoor light within the range set by the geographical location where the target object is located. Light information; adjust the light-emitting parameters of the target lamps in the target area according to the light information. The invention solves the technical problem that the building cannot obtain sunlight due to the influence of geographical location, thereby affecting people's mental health, and thus achieves the simulation of the color and illumination in the room when the sun shines naturally. Gradient effect.
Description
技术领域technical field
本发明涉及通信领域,具体而言,涉及一种智能家居操作系统中灯具的调节方法及装置。The present invention relates to the communication field, in particular, to a method and device for adjusting lamps in a smart home operating system.
背景技术Background technique
随着科学技术的不断进步,人们对智能生活的需求越来越高。然而,现有技术中的智能家居操作系统对生活中的有些场景是无法满足的。With the continuous advancement of science and technology, people's demand for smart life is getting higher and higher. However, the smart home operating system in the prior art cannot satisfy some scenes in life.
对于有些建筑物受其地理位置的影响,无法接收到阳光的照射。例如,某些建筑物被其它建筑物遮挡,或者对于朝向是背向阳光的房间,室内均无法接收到阳光。而长期在生活在没有阳光的环境中,会影响心情,产生心理问题。Some buildings are affected by their geographical location and cannot receive sunlight. For example, certain buildings are shaded by other buildings, or for rooms facing away from the sun, the interior cannot receive sunlight. Living in an environment without sunlight for a long time will affect your mood and cause psychological problems.
针对相关技术中,由于受地理位置的影响,建筑物内受无法获取到阳光,进而影响人们心理健康的技术问题,尚未存在有效的解决方案。In related technologies, due to the influence of geographical location, sunlight cannot be obtained in buildings, thereby affecting the technical problems of people's mental health, and there is no effective solution yet.
发明内容SUMMARY OF THE INVENTION
本发明实施例提供了一种智能家居操作系统中灯具的调节方法及装置,以至少解决相关技术中由于受地理位置的影响,建筑物内受无法获取到阳光,进而影响人们心理健康的问题。Embodiments of the present invention provide a method and device for adjusting lamps in a smart home operating system, so as to at least solve the problem in the related art that sunlight cannot be obtained in buildings due to the influence of geographical location, thereby affecting people's mental health.
根据本发明的一个实施例,提供了一种智能家居操作系统中灯具的调节方法,包括:在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;根据所述光线信息调节所述目标区域内的目标灯具的发光参数。According to an embodiment of the present invention, there is provided a method for adjusting lamps in a smart home operating system, including: when it is detected that a target object performs a predetermined operation in a target area, obtaining the set range of the geographic location of the target object The light information of the outdoor light in the target area; adjust the luminous parameters of the target lamps in the target area according to the light information.
可选地,所述光线信息包括:户外光线的光线强度和/或光线颜色,其中,根据所述光线信息调节所述目标区域内的目标灯具的发光参数,包括:根据所述户外光线的光线强度调节所述目标区域内的目标灯具的发光强度;和/或根据所述户外光线的光线颜色调节所述目标区域内的目标灯具的发光颜色;其中,所述发光参数包括:所述发光强度、所述发光颜色。Optionally, the light information includes: light intensity and/or light color of outdoor light, wherein adjusting the lighting parameters of the target lamps in the target area according to the light information includes: according to the light of the outdoor light intensity adjusting the luminous intensity of the target lamps in the target area; and/or adjusting the luminous color of the target lamps in the target area according to the light color of the outdoor light; wherein the luminous parameters include: the luminous intensity , the luminescent color.
可选地,根据所述光线信息调节所述目标区域内的目标灯具的发光参数,还包括:根据所述户外光线在所述目标区域内的入射区域,确定所述目标区域的基准点;根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,其中,所述目标发光参数,包括:目标发光强度和/或目标发光颜色;根据所述目标发光参数,调节所述目标灯具的所述发光参数。Optionally, adjusting the lighting parameters of the target lamps in the target area according to the light information further includes: determining a reference point of the target area according to the incident area of the outdoor light in the target area; The target distance between the target lamp and the reference point, and the light information determine the target lighting parameters of the target lighting, wherein the target lighting parameters include: target lighting intensity and/or target lighting color ; Adjusting the lighting parameter of the target lamp according to the target lighting parameter.
可选地,根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,包括:在所述目标距离小于第一阈值时,确定所述目标灯具的发光参数为第一目标发光参数;在所述目标距离大于等于所述第一阈值时,确定所述目标灯具的发光参数为第二目标发光参数;其中,所述第二目标发光参数小于所述第一目标发光参数,所述第一目标发光参数包括:第一目标发光强度和/或第一目标发光颜色的光学三原色数值,所述第二目标发光参数包括:第二目标发光强度和/或第二目标发光颜色的光学三原色数值。Optionally, determining the target lighting parameter of the target lamp according to the target distance between the target lamp and the reference point and the light information includes: when the target distance is less than a first threshold, determining The luminous parameter of the target lamp is the first target luminous parameter; when the target distance is greater than or equal to the first threshold, the luminous parameter of the target lamp is determined to be the second target luminous parameter; wherein, the second target The luminous parameters are smaller than the first target luminous parameters, the first target luminous parameters include: the first target luminous intensity and/or the optical three primary color values of the first target luminous color, and the second target luminous parameters include: a second target Luminous intensity and/or optical tristimulus values for the second target luminous color.
可选地,根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,包括:在所述目标距离小于第三阈值时,确定所述目标灯具的发光参数为第三目标发光参数;在所述目标距离大于等于所述第三阈值时,确定所述目标灯具的发光参数为第四目标发光参数;其中,所述第三目标发光参数小于所述第四目标发光参数,所述第三目标发光参数包括:第三目标发光强度和/或第三目标发光颜色的光学三原色数值,所述第四目标发光参数包括:第四目标发光强度和/或第四目标发光颜色的光学三原色数值。Optionally, determining the target lighting parameter of the target lamp according to the target distance between the target lamp and the reference point and the light information includes: when the target distance is less than a third threshold, determining The luminous parameter of the target lamp is a third target luminous parameter; when the target distance is greater than or equal to the third threshold, the luminous parameter of the target lamp is determined to be a fourth target luminous parameter; wherein, the third target The luminescence parameter is smaller than the fourth target luminescence parameter, the third target luminescence parameter includes: the third target luminous intensity and/or the optical three primary color values of the third target luminous color, and the fourth target luminescence parameter includes: a fourth target Luminous intensity and/or optical tristimulus values for the fourth target luminous color.
可选地,根据所述户外光线在所述目标区域内的入射区域,确定所述目标区域的基准点,包括:在所述户外光线在所述目标区域内的入射区域的数量为一个的情况下,确定所述入射区域的中心点为所述基准点;在所述户外光线在所述目标区域内的入射区域的数量为两个的情况下,确定第一中心点和第二中心点的连线的中点为所述基准点,其中,所述第一中心点是第一入射区域的中心点,所述第二中心点是第二入射区域的中心点,所述入射区域包括所述第一入射区域和所述第二入射区域;在所述户外光线在所述目标区域内的入射区域的数量为N个的情况下,以N个所述入射区域中每个所述入射区域的中心点所构成的外接圆的圆心作为所述基准点,其中,N大于2。Optionally, determining the reference point of the target area according to the incident area of the outdoor light in the target area includes: when the number of incident areas of the outdoor light in the target area is one Next, determine the center point of the incident area as the reference point; when the number of incident areas of the outdoor light in the target area is two, determine the first center point and the second center point The midpoint of the connecting line is the reference point, wherein the first center point is the center point of the first incidence area, the second center point is the center point of the second incidence area, and the incidence area includes the The first incident area and the second incident area; when the number of incident areas of the outdoor light in the target area is N, each of the incident areas in the N incident areas The center of the circumscribed circle formed by the center points is used as the reference point, wherein N is greater than 2.
可选地,在获取所述目标对象所处地理位置设定范围内的户外光线的光线信息之前,包括:获取所述目标区域内的光照强度;获取所述目标对象所处地理位置设定范围内的户外光线的光线信息包括:在确定所述目标区域内的所述光照强度小于预设光照强度的情况下,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息。Optionally, before acquiring the light information of the outdoor light within the set range of the geographical position where the target object is located, it includes: acquiring the light intensity in the target area; acquiring the set range of the geographical position where the target object is located The light information of the outdoor light in the target area includes: acquiring the light information of the outdoor light within the set range of the geographic location where the target object is located when it is determined that the light intensity in the target area is less than a preset light intensity.
根据本发明的另一个实施例,提供了一种智能家居操作系统中灯具的调节装置,包括:第一获取模块,用于在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;调节模块,用于根据所述光线信息调节所述目标区域内的目标灯具的发光参数。According to another embodiment of the present invention, there is provided a device for adjusting lamps and lanterns in a smart home operating system, including: a first acquisition module, configured to acquire the target object when it is detected that the target object performs a predetermined operation in the target area The light information of the outdoor light within the set range of the geographic location of the object; an adjustment module, configured to adjust the luminous parameters of the target lamps in the target area according to the light information.
根据本发明的又一个实施例,还提供了一种计算机可读的存储介质,所述计算机可读的存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to execute any one of the above-mentioned The steps in the method embodiment.
根据本发明的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present invention, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.
通过本发明,由于在监测到目标对象在目标区域内执行预定操作时,获取目标对象所处地理位置设定范围内的户外光线的光线信息;根据光线信息调节目标区域内的目标灯具的发光参数。因此,可以解决由于受地理位置的影响,建筑物内受无法获取到阳光,进而影响人们心理健康的技术问题,达到在室内模拟出太阳光自然照入时所呈现的颜色和光照渐变效果。Through the present invention, when the target object is detected to perform a predetermined operation in the target area, the light information of the outdoor light within the set range of the geographical position where the target object is located is acquired; the luminous parameters of the target lamps in the target area are adjusted according to the light information . Therefore, it can solve the technical problem that the building cannot get sunlight due to the influence of geographical location, which in turn affects people's mental health, and achieve the effect of simulating the color and light gradient indoors when the sun shines naturally.
附图说明Description of drawings
此处所说明的附图用来提供对本发明的进一步理解,构成本申请的一部分,本发明的示意性实施例及其说明用于解释本发明,并不构成对本发明的不当限定。在附图中:The accompanying drawings described here are used to provide a further understanding of the present invention and constitute a part of the application. The schematic embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations to the present invention. In the attached image:
图1是本发明实施例的一种智能家居操作系统中灯具的调节方法的移动终端的硬件结构框图;1 is a block diagram of the hardware structure of a mobile terminal of a method for adjusting a lamp in a smart home operating system according to an embodiment of the present invention;
图2是根据本发明实施例的智能家居操作系统中灯具的调节的流程图;Fig. 2 is a flow chart of adjusting lamps in the smart home operating system according to an embodiment of the present invention;
图3是本发明可选的实施例一种目标区域内摆放灯具的示意图;Fig. 3 is a schematic diagram of placing lamps in a target area according to an optional embodiment of the present invention;
图4是根据本发明可选的实施例在目标区域内有两面窗户的情况下基准点的位置示意图;Fig. 4 is a schematic diagram of the position of the reference point when there are two windows in the target area according to an optional embodiment of the present invention;
图5是是根据本发明可选的实施例的基于智慧家庭操作系统的光线管理方法流程图;Fig. 5 is a flowchart of a light management method based on a smart home operating system according to an optional embodiment of the present invention;
图6是根据本发明实施例的智能家居操作系统中灯具装置的结构框图。Fig. 6 is a structural block diagram of a lighting device in a smart home operating system according to an embodiment of the present invention.
具体实施方式Detailed ways
下文中将参考附图并结合实施例来详细说明本发明。需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的特征可以相互组合。Hereinafter, the present invention will be described in detail with reference to the drawings and examples. It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.
需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first", "second" and the like in the description and claims of the present invention and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific sequence or sequence.
实施例1Example 1
本申请实施例一所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本发明实施例的一种智能家居操作系统中灯具的调节方法的移动终端的硬件结构框图。如图1所示,移动终端10可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,可选地,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端10还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiment provided in
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本发明实施例中的智能家居操作系统中灯具的调节方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端10。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。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 method for adjusting lamps in the smart home operating system in the embodiment of the present invention, and the processor 102 runs the program stored in the memory 104. A computer program to perform various functional applications and data processing, that is, to realize the above-mentioned methods. The memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory that is remotely located relative to the processor 102, and these remote memories may be connected to the mobile terminal 10 through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
传输装置106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端10的通信供应商提供的无线网络。在一个实例中,传输装置106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输装置106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。The
在本实施例中提供了一种运行于上述移动终端的智能家居操作系统中灯具的调节方法,图2是根据本发明实施例的智能家居操作系统中灯具的调节的流程图,如图2所示,该流程包括如下步骤:In this embodiment, a method for adjusting lamps in the smart home operating system running on the mobile terminal is provided. FIG. 2 is a flow chart of adjusting lamps in the smart home operating system according to an embodiment of the present invention, as shown in FIG. 2 The process includes the following steps:
步骤S202,在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;Step S202, when it is detected that the target object is performing a predetermined operation in the target area, the light information of the outdoor light within the set range of the geographic location where the target object is located is acquired;
其中,目标区域是无法接收阳光照射的区域,可以是房间、卧室、办公区等,目标对象是在目标区域中活动的对象,可以是房间内的住户,也可以是动物。执行的预定操作可以是进入目标区域或者是起床等,服务器可以通过智能家居的摄像设备或通过用户的可穿戴智能设备获取用户当前活动区域。可以通过传感器获取户外光线的光照强度和光照颜色,例如,可以通过光线传感器实时采集室外实时光照,通过颜色传感器实时采集室外颜色。可选地,光照传感器和颜色传感器可以设置在用户窗户附近的室外。Wherein, the target area is an area that cannot receive sunlight, which may be a room, bedroom, office area, etc., and the target object is an object active in the target area, which may be a resident in the room or an animal. The predetermined operation to be performed may be entering the target area or getting out of bed, etc., and the server may obtain the current active area of the user through the camera device of the smart home or through the user's wearable smart device. The light intensity and light color of the outdoor light can be obtained through the sensor, for example, the real-time outdoor light can be collected through the light sensor, and the outdoor color can be collected in real time through the color sensor. Optionally, the light sensor and the color sensor can be placed outdoors near the user's window.
步骤S204,根据所述光线信息调节所述目标区域内的目标灯具的发光参数。Step S204, adjusting the lighting parameters of the target lamps in the target area according to the light information.
其中,目标区域内预先设置了多个灯具,如图3所示是本发明可选的实施例一种目标区域内摆放灯具的示意图,其中,目标区域为卧室1,卧室1内设置有6个灯具,分别由标号1、2、3、4、5、6表示。为了更好的模拟出光照渐变的效果,需要有层次的设置灯具的位置,图3仅作为一种摆放方式来说明本申请,具体的实际摆放方式要根据目标区域的形状和大小,以及需要模拟的效果进行设置。Wherein, a plurality of lamps are pre-set in the target area, as shown in FIG. lamps, represented by
通过上述步骤,由于在监测到目标对象在目标区域内执行预定操作时,获取目标对象所处地理位置设定范围内的户外光线的光线信息;根据光线信息调节目标区域内的目标灯具的发光参数。因此,可以解决由于受地理位置的影响,建筑物内受无法获取到阳光,进而影响人们心理健康的技术问题,达到在室内模拟出太阳光自然照入时所呈现的颜色和光照渐变效果。Through the above steps, when the target object is detected to perform a predetermined operation in the target area, the light information of the outdoor light within the set range of the geographical position where the target object is located is obtained; the luminous parameters of the target lamps in the target area are adjusted according to the light information . Therefore, it can solve the technical problem that the building cannot get sunlight due to the influence of geographical location, which in turn affects people's mental health, and achieve the effect of simulating the color and light gradient indoors when the sun shines naturally.
可选地,上述步骤的执行主体可以为终端等,但不限于此。Optionally, the execution subject of the above steps may be a terminal, etc., but is not limited thereto.
在一个可选实施例,所述光线信息包括:户外光线的光线强度和/或光线颜色,其中,根据所述光线信息调节所述目标区域内的目标灯具的发光参数,包括:根据所述户外光线的光线强度调节所述目标区域内的目标灯具的发光强度;和/或根据所述户外光线的光线颜色调节所述目标区域内的目标灯具的发光颜色;其中,所述发光参数包括:所述发光强度、所述发光颜色。在本实施例中,可以仅对室内的光照强度进行调整,也可以仅对室内的光照颜色进行调整,还可以既调整室内的光照强度,也调整室内的光照颜色。In an optional embodiment, the light information includes: light intensity and/or light color of outdoor light, wherein adjusting the lighting parameters of the target lamps in the target area according to the light information includes: The light intensity of the light adjusts the luminous intensity of the target lamps in the target area; and/or adjusts the luminous color of the target lamps in the target area according to the light color of the outdoor light; wherein the luminous parameters include: The luminous intensity, the luminous color. In this embodiment, only the indoor light intensity may be adjusted, or only the indoor light color may be adjusted, or both the indoor light intensity and the indoor light color may be adjusted.
在一个可选实施例,根据所述光线信息调节所述目标区域内的目标灯具的发光参数,还包括:根据所述户外光线在所述目标区域内的入射区域,确定所述目标区域的基准点;根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,其中,所述目标发光参数,包括:目标发光强度和/或目标发光颜色;根据所述目标发光参数,调节所述目标灯具的所述发光参数。在本实施例中,为了在目标区域内营造出阳光照射的效果,需要确定一个基准点,根据目标区域内每个灯具距离基准点的距离确定每个灯具的亮度和颜色。服务器可以根据预存的灯具在目标区域的位置数据,确定目标区域内每个灯具距离基准点之间的距离,根据距离确定每个灯具的发光参数。In an optional embodiment, adjusting the lighting parameters of the target lamps in the target area according to the light information further includes: determining the benchmark of the target area according to the incident area of the outdoor light in the target area point; according to the target distance between the target lamp and the reference point, and the light information, determine the target luminous parameters of the target luminaire, wherein the target luminous parameters include: target luminous intensity and/or A target luminous color; adjusting the luminous parameters of the target lamp according to the target luminous parameters. In this embodiment, in order to create the effect of sunlight in the target area, a reference point needs to be determined, and the brightness and color of each lamp are determined according to the distance between each lamp in the target area and the reference point. The server can determine the distance between each lamp in the target area and the reference point according to the pre-stored position data of the lamps in the target area, and determine the luminous parameters of each lamp according to the distance.
在一个可选实施例,根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,包括:在所述目标距离小于第一阈值时,确定所述目标灯具的发光参数为第一目标发光参数;在所述目标距离大于等于所述第一阈值时,确定所述目标灯具的发光参数为第二目标发光参数;其中,所述第二目标发光参数小于所述第一目标发光参数,所述第一目标发光参数包括:第一目标发光强度和/或第一目标发光颜色的光学三原色数值,所述第二目标发光参数包括:第二目标发光强度和/或第二目标发光颜色的光学三原色数值。在本实施例中,距离基准点越近的灯具的光照强度和光照颜色的值越大,由此可以模拟出太阳从窗户照射进室内的效果。具体地,可以根据服务器中预存的距离和照明控制策略的对应关系,设置照明设备的亮度和颜色,模拟出太阳光自然照入时所呈现的颜色和光照渐变的效果。其中,预设条件可以是基于距离基准点的距离区间进行分档,总体规则从档1到档4由近及远,亮度依次减弱。以表1为例,其中x为照明设备距离基准点的距离(米);U为室外实时照度(lx)。In an optional embodiment, according to the target distance between the target lamp and the reference point, and the light information, determining the target lighting parameter of the target lamp includes: when the target distance is less than a first threshold When the luminous parameter of the target lamp is determined to be the first target luminous parameter; when the target distance is greater than or equal to the first threshold, the luminous parameter of the target lamp is determined to be the second target luminous parameter; wherein, the The second target luminous parameter is smaller than the first target luminous parameter, the first target luminous parameter includes: the first target luminous intensity and/or the optical three primary color values of the first target luminous color, and the second target luminous parameter includes: The optical three primary color values of the second target luminous intensity and/or the second target luminous color. In this embodiment, the closer the light fixture is to the reference point, the greater the light intensity and light color are, thereby simulating the effect of the sun shining into the room through the window. Specifically, the brightness and color of lighting equipment can be set according to the corresponding relationship between the distance stored in the server and the lighting control strategy, simulating the effect of color and light gradient when the sun shines naturally. Among them, the preset condition can be based on the distance interval from the reference point to classify the bins. The general rule is that from
表1Table 1
在本实施例中,颜色控制策略也可以是划分档位的方式,例如,从档1(室外颜色)到档4,各通道三原色像素值的变化策略为:In this embodiment, the color control strategy can also be the mode of classifying gears, for example, from gear 1 (outdoor color) to
(1)R,档2比档1(+2),档3比档2(+4),档4比档3(+6);(1) R,
(2)G,档2比档1(+60),档3比档2(+30),档4比档3(+20);(2) G,
(3)B,档2比档1(+60),档3比档2(+20),档4比档3(+60)。(3) B,
下面图3所示的目标区域内摆放灯具的方式,举例说明颜色控制策略对室内灯具的控制,以室外颜色传感器获得的颜色数据为:R240,G129,B17为例,对于图3中的各个灯具的三原色数值如下表2所示。The way of placing lamps in the target area shown in Figure 3 below is an example to illustrate the control of indoor lamps by the color control strategy. Taking the color data obtained by the outdoor color sensor as: R240, G129, B17 as an example, for each in Figure 3 The values of the three primary colors of the lamps are shown in Table 2 below.
表2Table 2
结合上述亮度控制策略,即可在室内呈现和室外相似的光线效果,且亮度和颜色以基准点渐进变化,呈现出从入射区域照进光线的自然效果。Combining the above-mentioned brightness control strategy, the lighting effect similar to that of the outdoor can be presented indoors, and the brightness and color change gradually based on the reference point, presenting the natural effect of light entering from the incident area.
在一个可选实施例,根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,包括:在所述目标距离小于第三阈值时,确定所述目标灯具的发光参数为第三目标发光参数;在所述目标距离大于等于所述第三阈值时,确定所述目标灯具的发光参数为第四目标发光参数;其中,所述第三目标发光参数小于所述第四目标发光参数,所述第三目标发光参数包括:第三目标发光强度和/或第三目标发光颜色的光学三原色数值,所述第四目标发光参数包括:第四目标发光强度和/或第四目标发光颜色的光学三原色数值。在本实施例中,在大多数场景中的窗户中是可以照射进阳光的,而对于有些场景来说,希望在节约电能的情况下,使得室内的光照强度和光照颜色与室外一样。例如,在室内种植蔬菜,通常是希望植物能够像在室外一样能够充分的得到光照。对于此种情况,可以在室内通过灯具模拟出室外阳光照射的效果。在本实施例中,由于入射区域会存在部分太阳光照射进来,也就是说,基准点附近会存在一部分太阳光。因此,距离基准点越近的灯具光照强度和光照颜色的值越小,距离基准点越远的灯具光照强度和光照颜色的值越大。这样可以使得室内的光照强度和光照颜色与室外的太阳光照强度和颜色保持一致。In an optional embodiment, according to the target distance between the target lamp and the reference point, and the light information, determining the target lighting parameter of the target lamp includes: when the target distance is less than a third threshold When the luminous parameter of the target lamp is determined to be the third target luminous parameter; when the target distance is greater than or equal to the third threshold, the luminous parameter of the target lamp is determined to be the fourth target luminous parameter; wherein, the The third target luminous parameter is smaller than the fourth target luminous parameter, the third target luminous parameter includes: the third target luminous intensity and/or the optical three primary color values of the third target luminous color, and the fourth target luminous parameter includes: The fourth target luminous intensity and/or the optical three primary color values of the fourth target luminous color. In this embodiment, sunlight can shine through the windows in most scenes, and for some scenes, it is desired to make the indoor light intensity and light color the same as the outdoor light while saving electric energy. For example, when growing vegetables indoors, it is usually hoped that the plants can get as much light as they do outdoors. In this case, the effect of outdoor sunlight can be simulated indoors through lamps. In this embodiment, part of the sunlight will be irradiated in the incident area, that is to say, there will be part of the sunlight near the reference point. Therefore, the closer to the reference point, the smaller the value of light intensity and light color, and the farther away from the reference point, the larger the value of light intensity and light color. This can make the indoor light intensity and light color consistent with the outdoor sun light intensity and color.
在一个可选实施例,根据所述户外光线在所述目标区域内的入射区域,确定所述目标区域的基准点,包括:在所述户外光线在所述目标区域内的入射区域的数量为一个的情况下,确定所述入射区域的中心点为所述基准点;在所述户外光线在所述目标区域内的入射区域的数量为两个的情况下,确定第一中心点和第二中心点的连线的中点为所述基准点,其中,所述第一中心点是第一入射区域的中心点,所述第二中心点是第二入射区域的中心点,所述入射区域包括所述第一入射区域和所述第二入射区域;在所述户外光线在所述目标区域内的入射区域的数量为N个的情况下,以N个所述入射区域中每个所述入射区域的中心点所构成的外接圆的圆心作为所述基准点,其中,N大于2。在本实施例中,基准点的确定与入射区域内窗户的位置和数量有关入射区域可以是窗户或者是门。例如,用户当前位于的卧室中仅有一面窗户,则基准点位于该面窗户的中心位置。又例如,用户当前位于的卧室中有两面窗户,则基准点位于两面窗户的中心点连线的中点。又例如当前卧室有三面窗户,则基准点位于三面窗户的中心点组成的外接圆的圆心。对于基准点的确定方式,还存在一种情况,由于卧室内窗户的窗帘不一定为完全打开状态,以及卧室中有两面窗户时,用户也可能仅打开了一面窗户的窗帘,因此,基准点并不是固定点,基准点和实际的入射区域相关,需要根据实际情况进行确定。如图4所示是根据本发明可选的实施例在目标区域内有两面窗户的情况下基准点的位置示意图,服务器确定用户当前活动区域为卧室1,卧室1内包含两面窗户分别是窗户A和窗户B,则可以根据卧室1的智能窗帘的当前状态数据,确定窗户A和窗户B的入射区域,如在图4中a点所在的空白区域和与其相邻的网格区域为窗户A,网格区域为窗帘的状态,服务器可以根据窗帘的状态确定出在窗户A中的入射区域为a点所在的空白区域。窗户B同理于窗户A。通过服务器预存的家居户型图中窗户A和窗户B的位置数据,确定窗户A和窗户B的入射区域的中心点a和b,随后确定a、b两点连线的中点c,即为用户当前活动区域的基准点,c点的坐标即为基准点的位置。In an optional embodiment, determining the reference point of the target area according to the incident area of the outdoor light in the target area includes: the number of incident areas of the outdoor light in the target area is In the case of one, determine the central point of the incident area as the reference point; in the case that the number of incident areas of the outdoor light in the target area is two, determine the first central point and the second The midpoint of the line connecting the central points is the reference point, wherein the first central point is the central point of the first incident area, the second central point is the central point of the second incident area, and the incident area Including the first incident area and the second incident area; when the number of incident areas of the outdoor light in the target area is N, each of the N incident areas The center of a circumscribed circle formed by the center points of the incident area is used as the reference point, wherein N is greater than 2. In this embodiment, the determination of the reference point is related to the position and number of windows in the incident area. The incident area may be a window or a door. For example, if there is only one window in the bedroom where the user is currently located, the reference point is located at the center of the window. For another example, if there are two windows in the bedroom where the user is currently located, the reference point is located at the midpoint of the line connecting the center points of the two windows. Another example is that there are three windows in the current bedroom, then the reference point is located at the center of the circumscribed circle formed by the center points of the three windows. Regarding the way of determining the reference point, there is another situation, because the curtains of the windows in the bedroom are not necessarily fully opened, and when there are two windows in the bedroom, the user may only open the curtains of one window, so the reference point does not It is not a fixed point. The reference point is related to the actual incident area and needs to be determined according to the actual situation. As shown in Figure 4, according to an optional embodiment of the present invention, there are two windows in the target area. The server determines that the current active area of the user is
在一个可选实施例,在获取所述目标对象所处地理位置设定范围内的户外光线的光线信息之前,包括:获取所述目标区域内的光照强度;获取所述目标对象所处地理位置设定范围内的户外光线的光线信息包括:在确定所述目标区域内的所述光照强度小于预设光照强度的情况下,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息。在本实施例中,若室内的自然光照效果已经可以达到无需额外照明的程度,即便开启照明装置也效果不明显。因此,预先设定一个阈值,在检测到室内的光照强度小于该阈值的情况下,获取室外的光线信息,基于室外的光线信息对室内的灯具进行调节。In an optional embodiment, before acquiring the light information of the outdoor light within the set range of the geographic location where the target object is located, the steps include: acquiring the light intensity in the target area; acquiring the geographic location of the target object The light information of the outdoor light within the set range includes: obtaining the light information of the outdoor light within the set range of the geographic location where the target object is located when it is determined that the light intensity in the target area is less than the preset light intensity. Ray information. In this embodiment, if the indoor natural lighting effect has reached the level that no additional lighting is needed, the effect will not be obvious even if the lighting device is turned on. Therefore, a threshold is preset, and when it is detected that the indoor light intensity is less than the threshold, the outdoor light information is obtained, and the indoor lamps are adjusted based on the outdoor light information.
下面通过一个具体实施例说明本申请。The present application is illustrated below through a specific embodiment.
本申请主要提供了一种基于智慧家庭操作系统的光线管理方法,如图5所示是根据本发明可选的实施例的基于智慧家庭操作系统的光线管理方法流程图,其中,主要包括如下步骤:This application mainly provides a light management method based on a smart home operating system, as shown in FIG. 5 , which is a flowchart of a light management method based on a smart home operating system according to an optional embodiment of the present invention, which mainly includes the following steps :
S1、在预设时间段内,当服务器监测到用户的目标活动时,通过光照传感器和颜色传感器采集室外实时光照和颜色;S1. During the preset time period, when the server monitors the target activity of the user, collect the outdoor real-time light and color through the light sensor and the color sensor;
具体地,预设时间段可以为早晨和傍晚,具体时间点可以由用户设置,如,早晨5:00~7:00,傍晚19:00~20:00;也可以基于每日日出和日落时间动态设置,如日出时间为5:30,相应的,时间段可以为5:20:~6:20,日落时间为19:30,相应的,时间段可以为19:10:~20:10。每天的日出和日落时间,可以从天气app中获取。用户的目标活动,在早晨时间段,可以为服务器监测到用户起床,傍晚时间段,则可以为服务器监测到用户回到家。Specifically, the preset time period can be morning and evening, and the specific time point can be set by the user, such as 5:00-7:00 in the morning and 19:00-20:00 in the evening; it can also be based on daily sunrise and sunset Time dynamic setting, such as sunrise time is 5:30, correspondingly, the time period can be 5:20:~6:20, sunset time is 19:30, correspondingly, the time period can be 19:10:~20: 10. The daily sunrise and sunset times can be obtained from the weather app. For the user's target activity, the server can detect that the user gets up in the morning time period, and the server can detect that the user returns home in the evening time period.
在一个例子中,用户设置早晨时间段为5:00~7:00,在该时间段内,当服务器监测到用户起床(如用户6:00起床),则获取室外实时光照数据和颜色数据,如表3所示:In one example, the user sets the morning time period from 5:00 to 7:00. During this time period, when the server detects that the user wakes up (for example, the user wakes up at 6:00), the outdoor real-time lighting data and color data are obtained. as shown in Table 3:
表3table 3
S2、服务器获取室内光照强度数据,当室内光照强度数据低于预设数值时,则执行S3;反之,则执行结束;S2. The server obtains the indoor light intensity data. When the indoor light intensity data is lower than the preset value, S3 is executed; otherwise, the execution ends;
具体的,服务器通过设置于室内的光照传感器采集室内实时光照强度,当室内光照强度数据低于预设数值(例如,预设数值可以是200lx),则继续执行下一个步骤S3;若高于200lx,则执行结束。Specifically, the server collects the indoor real-time light intensity through the light sensor installed in the room, and when the indoor light intensity data is lower than the preset value (for example, the preset value can be 200lx), then continue to execute the next step S3; if it is higher than 200lx , the execution ends.
从光照数据来看,夏天中午直射的室外光照强度通常为6万~10万lx,阴天时室外光照通常为1千~1万lx,夏天阳光直射的室内光照强度通常为550lx左右,通常办公区域的光照强度为300~400lx。也就是说,一般室内光照超过200lx时,室内的自然光照效果已经可以达到无需额外照明的程度,即超过200lx,即便开启照明装置也效果不明显。从另一个角度来说,自然光情况下,室外光照远远高于室内光照,如室内自然光照强度高于200lx,则室外的光照强度已远高于该值,此时的天光已呈现自然白光的效果,基本无颜色变化,室内颜色无需调整,因此可以执行结束。From the perspective of light data, the outdoor light intensity of direct sunlight at noon in summer is usually 60,000 to 100,000 lx, the outdoor light intensity is usually 1,000 to 10,000 lx on cloudy days, and the indoor light intensity of direct sunlight in summer is usually about 550 lx. The light intensity is 300~400lx. That is to say, when the general indoor light exceeds 200lx, the indoor natural light effect can reach the level without additional lighting, that is, if it exceeds 200lx, the effect will not be obvious even if the lighting device is turned on. From another point of view, in the case of natural light, the outdoor light is much higher than the indoor light. If the indoor natural light intensity is higher than 200lx, the outdoor light intensity is much higher than this value, and the sky light at this time has shown the appearance of natural white light. Effect, there is basically no color change, and the indoor color does not need to be adjusted, so it can be finished.
S3、服务器获取用户当前活动区域的照明设备距离基准点的距离数据;S3. The server obtains the distance data of the lighting equipment in the current active area of the user from the reference point;
S4、根据服务器预存的距离和照明控制策略的对应关系,设置照明设备的亮度和颜色。S4. According to the corresponding relationship between the distance stored in the server and the lighting control strategy, the brightness and color of the lighting equipment are set.
由此可以模拟出太阳光自然照入时所呈现的颜色和光照渐变的效果。本申请避免了现有的智能家居照明系统未充分考虑用户体验,无法满足用户的个性化需求的技术问题。服务器获取用户当前活动区域的照明设备距离基准点的距离数据;根据距离和照明控制策略的对应关系,设置照明设备的亮度和颜色。可在室内呈现和室外相似的光线效果,且以基准点渐进亮度和颜色的层次变化,呈现出从入射区域照进光线的自然效果。通过本提案的方案,让用户在户型限制的情况下,依然能享受到自然实时的天光效果,有利于用户身心健康。In this way, the effect of color and light gradients presented when sunlight is naturally illuminated can be simulated. This application avoids the technical problem that the existing smart home lighting system does not fully consider user experience and cannot meet the individual needs of users. The server obtains the distance data of the lighting equipment in the user's current active area from the reference point; according to the corresponding relationship between the distance and the lighting control strategy, the brightness and color of the lighting equipment are set. It can present a similar light effect indoors and outdoors, and the gradual brightness and color changes of the reference point can present a natural effect of light entering from the incident area. Through the scheme of this proposal, users can still enjoy the natural and real-time skylight effect under the condition of limited apartment size, which is beneficial to the physical and mental health of users.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个计算机可读的存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本发明各个实施例所述的方法。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-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present invention can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a computer-readable storage medium (such as ROM/RAM , magnetic disk, optical disk), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present invention.
实施例2Example 2
在本实施例中还提供了一种智能家居操作系统中灯具装置,该装置用于实现上述实施例及优选实施方式,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。This embodiment also provides a lighting device in a smart home operating system, which is used to implement the above embodiments and preferred implementation modes, and those that have already been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.
图6是根据本发明实施例的智能家居操作系统中灯具装置的结构框图,如图6所示,该装置包括:第一获取模块62,在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;调节模块64,用于根据所述光线信息调节所述目标区域内的目标灯具的发光参数。Fig. 6 is a structural block diagram of a lighting device in a smart home operating system according to an embodiment of the present invention. As shown in Fig. 6, the device includes: a
在一个可选实施例,所述光线信息包括:户外光线的光线强度和/或光线颜色,所述调节模块64还用于根据所述户外光线的光线强度调节所述目标区域内的目标灯具的发光强度;根据所述户外光线的光线颜色调节所述目标区域内的目标灯具的发光颜色;其中,所述发光参数包括:所述发光强度、所述发光颜色。In an optional embodiment, the light information includes: light intensity and/or light color of outdoor light, and the
在一个可选实施例,所述调节模块64还用于,根据所述户外光线在所述目标区域内的入射区域,确定所述目标区域的基准点;根据所述目标灯具与所述基准点之间的目标距离,以及所述光线信息,确定所述目标灯具的目标发光参数,其中,所述目标发光参数,包括:目标发光强度和/或目标发光颜色;根据所述目标发光参数,调节所述目标灯具的所述发光参数。In an optional embodiment, the
在一个可选实施例,所述调节模块64还用于,在所述目标距离小于第一阈值时,确定所述目标灯具的发光参数为第一目标发光参数;在所述目标距离大于等于所述第一阈值时,确定所述目标灯具的发光参数为第二目标发光参数;其中,所述第二目标发光参数小于所述第一目标发光参数,所述第一目标发光参数包括:第一目标发光强度和/或第一目标发光颜色的光学三原色数值,所述第二目标发光参数包括:第二目标发光强度和/或第二目标发光颜色的光学三原色数值。In an optional embodiment, the
在一个可选实施例,所述调节模块64还用于,在所述目标距离小于第三阈值时,确定所述目标灯具的发光参数为第三目标发光参数;在所述目标距离大于等于所述第三阈值时,确定所述目标灯具的发光参数为第四目标发光参数;其中,所述第三目标发光参数小于所述第四目标发光参数,所述第三目标发光参数包括:第三目标发光强度和/或第三目标发光颜色的光学三原色数值,所述第四目标发光参数包括:第四目标发光强度和/或第四目标发光颜色的光学三原色数值。In an optional embodiment, the
在一个可选实施例,所述调节模块64还用于,在所述户外光线在所述目标区域内的入射区域的数量为一个的情况下,确定所述入射区域的中心点为所述基准点;在所述户外光线在所述目标区域内的入射区域的数量为两个的情况下,确定第一中心点和第二中心点的连线的中点为所述基准点,其中,所述第一中心点是第一入射区域的中心点,所述第二中心点是第二入射区域的中心点,所述入射区域包括所述第一入射区域和所述第二入射区域;在所述户外光线在所述目标区域内的入射区域的数量为N个的情况下,以N个所述入射区域中每个所述入射区域的中心点所构成的外接圆的圆心作为所述基准点,其中,N大于2。In an optional embodiment, the
在一个可选实施例,所述装置包括:第二获取模块,用于在获取所述目标对象所处地理位置设定范围内的户外光线的光线信息之前,获取所述目标区域内的光照强度;所述第一获取模块还用于在确定所述目标区域内的所述光照强度小于预设光照强度的情况下,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息。In an optional embodiment, the device includes: a second acquiring module, configured to acquire the light intensity in the target area before acquiring the light information of the outdoor light within the set range of the geographic location where the target object is located ; The first acquisition module is also used to acquire the light information of the outdoor light within the set range of the geographic location where the target object is located when it is determined that the light intensity in the target area is less than a preset light intensity .
需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors.
实施例3Example 3
本发明的实施例还提供了一种计算机可读的存储介质,该计算机可读的存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。Embodiments of the present invention also provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is set to execute any one of the above method embodiments when running. step.
可选地,在本实施例中,上述计算机可读的存储介质可以被设置为存储用于执行以下步骤的计算机程序:Optionally, in this embodiment, the above-mentioned computer-readable storage medium may be configured to store a computer program for performing the following steps:
S1,在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;S1, when it is detected that the target object is performing a predetermined operation in the target area, acquiring the light information of the outdoor light within the set range of the geographic location where the target object is located;
S2,根据所述光线信息调节所述目标区域内的目标灯具的发光参数。S2. Adjust lighting parameters of target lamps in the target area according to the light information.
可选地,在本实施例中,上述计算机可读的存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。Optionally, in this embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, Read-Only Memory (Read-Only Memory, ROM for short), Random Access Memory (Random Access Memory, Various media that can store computer programs such as RAM), mobile hard disk, magnetic disk or optical disk.
本发明的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。An embodiment of the present invention also provides an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any one of the above method embodiments.
可选地,上述电子装置还可以包括传输设备以及输入输出设备,其中,该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。Optionally, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned processor, and the input-output device is connected to the above-mentioned processor.
可选地,在本实施例中,上述处理器可以被设置为通过计算机程序执行以下步骤:Optionally, in this embodiment, the above-mentioned processor may be configured to execute the following steps through a computer program:
S1,在监测到目标对象在目标区域内执行预定操作时,获取所述目标对象所处地理位置设定范围内的户外光线的光线信息;S1, when it is detected that the target object is performing a predetermined operation in the target area, acquiring the light information of the outdoor light within the set range of the geographic location where the target object is located;
S2,根据所述光线信息调节所述目标区域内的目标灯具的发光参数。S2. Adjust lighting parameters of target lamps in the target area according to the light information.
可选地,本实施例中的具体示例可以参考上述实施例及可选实施方式中所描述的示例,本实施例在此不再赘述。Optionally, for specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and optional implementation manners, and details are not repeated in this embodiment.
显然,本领域的技术人员应该明白,上述的本发明的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本发明不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that each module or each step of the above-mentioned present invention can be realized by a general-purpose computing device, and they can be concentrated on a single computing device, or distributed in a network formed by multiple computing devices Alternatively, they may be implemented in program code executable by a computing device so that they may be stored in a storage device to be executed by a computing device, and in some cases in an order different from that shown here The steps shown or described are carried out, or they are separately fabricated into individual integrated circuit modules, or multiple modules or steps among them are fabricated into a single integrated circuit module for implementation. As such, the present invention is not limited to any specific combination of hardware and software.
以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. 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 (9)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910936044.8A CN110597079B (en) | 2019-09-29 | 2019-09-29 | Adjusting method and device for distributed intelligent household equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910936044.8A CN110597079B (en) | 2019-09-29 | 2019-09-29 | Adjusting method and device for distributed intelligent household equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110597079A CN110597079A (en) | 2019-12-20 |
CN110597079B true CN110597079B (en) | 2022-10-28 |
Family
ID=68864768
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910936044.8A Active CN110597079B (en) | 2019-09-29 | 2019-09-29 | Adjusting method and device for distributed intelligent household equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110597079B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112752373B (en) * | 2020-12-31 | 2022-11-15 | 青岛易来智能科技股份有限公司 | Lamp strip configuration method and device, storage medium and electronic device |
CN112867210B (en) * | 2021-01-19 | 2023-09-22 | 深圳云联智能光电科技有限公司 | Individual identification illumination control method, device and illumination control system |
Family Cites Families (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103906325B (en) * | 2014-04-18 | 2016-01-20 | 北京三个太阳科技有限公司 | Illumination control method and system |
CN103997825A (en) * | 2014-04-28 | 2014-08-20 | 东南大学 | Intelligent indoor light intensity control system and working method thereof |
CN204498440U (en) * | 2015-04-23 | 2015-07-22 | 张裕一 | Classroom lighting control system |
CN106488623A (en) * | 2015-08-28 | 2017-03-08 | 苏州市星创宇智能科技有限公司 | Interior illumination control system based on the sampling of outdoor illumination and method |
CN106658920A (en) * | 2017-01-10 | 2017-05-10 | 齐鲁工业大学 | Intelligent control illumination method and device |
CN107277989B (en) * | 2017-06-16 | 2019-08-13 | 深圳市盛路物联通讯技术有限公司 | Intelligent House Light control method and device |
CN206835433U (en) * | 2017-06-20 | 2018-01-02 | 无锡太湖学院 | A kind of classroom intelligent light control system |
CN107172789A (en) * | 2017-06-29 | 2017-09-15 | 合肥同益信息科技有限公司 | A kind of multimedia office intelligent Light-control System |
CN107172790B (en) * | 2017-06-29 | 2019-05-17 | 合肥同益信息科技有限公司 | A kind of office's light intelligent regulating system |
CN108811271A (en) * | 2018-04-28 | 2018-11-13 | 上海与德科技有限公司 | A kind of light adjusting method, device, intelligent desk lamp and storage medium |
CN108596972A (en) * | 2018-04-28 | 2018-09-28 | 上海与德科技有限公司 | A kind of light adjusting method, device, intelligent desk lamp and storage medium |
CN110167243B (en) * | 2019-06-17 | 2022-02-22 | 青岛亿联客信息技术有限公司 | Intelligent lamp control method, device and system and computer readable storage equipment |
-
2019
- 2019-09-29 CN CN201910936044.8A patent/CN110597079B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN110597079A (en) | 2019-12-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Görgülü et al. | Energy saving in lighting system with fuzzy logic controller which uses light-pipe and dimmable ballast | |
CN110324937B (en) | Healthy lighting method for simulating natural light variation trend and intelligent control system | |
KR101583624B1 (en) | Dynamic lighting control system for underground space | |
CN104540264A (en) | Intelligent control system of indoor light environment | |
CN108777900B (en) | Lighting method for relieving human emotion in building room and intelligent lighting control system | |
CN204305399U (en) | A kind of Interior Illumination Environment intelligence control system | |
Gentile et al. | Daylight harvesting control systems design recommendations based on a literature review | |
WO2020015396A1 (en) | Intelligent lighting system and intelligent lighting method based on full-spectrum led | |
CN103314646A (en) | Light system and method | |
CN112867210B (en) | Individual identification illumination control method, device and illumination control system | |
CN110597079B (en) | Adjusting method and device for distributed intelligent household equipment | |
CN111757569B (en) | Intelligent illumination control method for simulating sunlight spectrum mode | |
Gentile et al. | Lighting control systems in peripheral offices rooms at high latitude: measurements of electricity savings and users preferences | |
CN203279315U (en) | Semiconductor light source with functions of lighting and plant growth supplementary light | |
Jiang et al. | Development of an intelligent LED lighting control testbed for IoT-based smart greenhouses | |
CN113543422A (en) | Household light environment regulation and control method, device and system | |
US20190098715A1 (en) | Systems and methods for lighting controls and sensors | |
Riffat et al. | Energy-efficient lighting technologies for building applications | |
CN107299730A (en) | A kind of segmentation shading system and its parameter optimization method for volumed space building | |
Rampinelli et al. | Development of artificial lighting system for light supplementation in smart greenhouses with agrivoltaic systems | |
CN113677072B (en) | Panel lamp based on WIFI intelligent control | |
CN117336931A (en) | A lighting control method and system based on the Internet of Things and big data | |
CN211119274U (en) | Simulation window wall system | |
Araji et al. | Paradigm in sustainability and environmental design: lighting utilization contributing to surplus-energy office buildings | |
CN207211559U (en) | A kind of segmentation shading system for volumed space building |
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 |