CN109788616B - Lighting equipment control method, device and system - Google Patents

Lighting equipment control method, device and system Download PDF

Info

Publication number
CN109788616B
CN109788616B CN201811547444.1A CN201811547444A CN109788616B CN 109788616 B CN109788616 B CN 109788616B CN 201811547444 A CN201811547444 A CN 201811547444A CN 109788616 B CN109788616 B CN 109788616B
Authority
CN
China
Prior art keywords
position information
preset area
contained
preset
control
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201811547444.1A
Other languages
Chinese (zh)
Other versions
CN109788616A (en
Inventor
谢剑新
杨文辉
蓝天
林立平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xiamen Yingke Photoelectric Co ltd
Original Assignee
Xiamen Yingke Photoelectric Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xiamen Yingke Photoelectric Co ltd filed Critical Xiamen Yingke Photoelectric Co ltd
Priority to CN201811547444.1A priority Critical patent/CN109788616B/en
Publication of CN109788616A publication Critical patent/CN109788616A/en
Application granted granted Critical
Publication of CN109788616B publication Critical patent/CN109788616B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B20/00Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
    • Y02B20/40Control techniques providing energy savings, e.g. smart controller or presence detection

Abstract

The invention is suitable for the technical field of automatic control, provides a method, a device and a system for controlling lighting equipment, the method includes acquiring position information of a human body, determining whether the position information is contained in a first preset area, determining whether the position information is contained in a second preset area if the position information is contained in the first preset area, transmitting first control information to a lighting device if the position information is contained in the second preset area, the first control information is used for controlling the lighting equipment to switch to a first starting mode, if the position information is not contained in a second preset area, second control information is sent to the lighting equipment, the second control information is used for controlling the lighting equipment to be switched to the second starting mode, so that the lighting equipment is controlled in multiple control modes, and the requirement of diversity of intelligent lighting of a user is met.

Description

Lighting equipment control method, device and system
Technical Field
The invention belongs to the technical field of automatic control, and particularly relates to a lighting device control method, device and system.
Background
With the rapid development of science and technology and the enhancement of the concept of environmental protection of human beings, people put higher demands on the control of lighting devices. In various fields such as the home field, the office field, the business field, the public facility field and the like, the intelligent lighting can achieve safe, energy-saving, comfortable and efficient lighting effects.
Existing intelligent lighting control approaches include voice control, light control, and control based on human detection. Adopt array sensor to be an intelligent lighting control mode based on human body detection, array sensor detects human back, sends control message to lighting apparatus's controller, and the controller control lighting apparatus adjusts to the on-state, need not the user and carries out any operation, compares in acoustic control, light-operated more convenient, receives more and more user's liking.
The array sensor includes a high-resolution array sensor and a low-resolution array sensor. The existing low-resolution array sensor has a small control range and a single control mode, and cannot meet the requirement of intelligent lighting diversity of a user, and the high-resolution array sensor has a large control range, can control a plurality of lighting devices simultaneously, but is expensive, so that the cost is high.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and a system for controlling an illumination device, which solve the problem that the existing low-resolution array sensor has a single control mode and cannot meet the requirement of diversity of intelligent illumination of a user.
A first aspect of an embodiment of the present invention provides a lighting device control method, including:
acquiring human body position information;
judging whether the position information is contained in a first preset area or not;
if the position information is contained in a first preset area, judging whether the position information is contained in a second preset area;
if the position information is contained in a second preset area, sending first control information to the lighting equipment, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode;
and if the position information is not contained in a second preset area, sending second control information to the lighting equipment, wherein the second control information is used for controlling the lighting equipment to be switched to a second starting mode.
In a possible implementation manner, the determining whether the location information is included in a second predetermined area if the location information is included in a first predetermined area includes:
if the position information is contained in a first preset area, acquiring the duration of the position information contained in the first preset area;
judging whether the duration is longer than a preset duration or not;
and when the duration is longer than a preset duration, judging whether the position information is contained in a second preset area.
In a possible implementation manner, before the determining whether the location information is included in the first preset area, the method further includes:
judging whether the position information is contained in a third preset area or not;
when the position information is contained in a third preset area, judging whether the human body moves;
when the human body is moving, judging whether the human body is close to the first preset area;
and when the human body is close to the first preset area, sending third control information to the lighting equipment, wherein the third control information is used for controlling the lighting equipment to be switched to a third on mode.
In a possible implementation manner, the method further includes:
and if the position information is not contained in the first preset area, sending fourth control information to the lighting equipment, wherein the fourth control information is used for controlling the lighting equipment to be switched to a closing mode.
In a possible implementation manner, the boundary of the second preset region is a quadrilateral, the first preset region is a four-connected region of the second preset region, and the third preset region is a four-connected region of the first preset region.
In a possible implementation manner, the boundary of the second preset region is circular, the boundary of the first preset region, the boundary of the third preset region and the boundary of the second preset region are concentric circles, the area of the first preset region is larger than the area of the second preset region, and the area of the third preset region is larger than the area of the first preset region.
A second aspect of embodiments of the present invention provides a lighting device control apparatus, including:
the acquisition module is used for acquiring human body position information;
the judging module is used for judging whether the position information is contained in a first preset area;
the judging module is further configured to judge whether the position information is contained in a second preset area if the position information is contained in a first preset area;
the sending module is used for sending first control information to the lighting equipment if the position information is contained in a second preset area, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode;
the sending module is further configured to send second control information to the lighting device if the location information is not included in a second preset area, where the second control information is used to control the lighting device to switch to a second on mode.
A third aspect of embodiments of the present invention provides a lighting device control system, including:
a plurality of lighting device control apparatuses as described above, a plurality of the lighting device control apparatuses controlling a plurality of lighting devices using any one of the methods as described above, the plurality of lighting device control apparatuses being connected to each other.
A fourth aspect of an embodiment of the present invention provides a terminal device, including:
a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the method as described above when executing the computer program.
A fifth aspect of an embodiment of the present invention provides a computer-readable storage medium, including:
the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the method described above.
The invention provides a method, a device and a system for controlling lighting equipment, which are characterized in that whether position information is contained in a first preset area or not is judged by acquiring human body position information, whether the position information is contained in a second preset area or not is judged if the position information is contained in the first preset area, first control information is sent to the lighting equipment if the position information is contained in the second preset area, the first control information is used for controlling the lighting equipment to be switched to a first starting mode, and second control information is sent to the lighting equipment if the position information is not contained in the second preset area, and the second control information is used for controlling the lighting equipment to be switched to the second starting mode, so that the lighting equipment is controlled in various control modes, and the requirement of diversity of intelligent lighting of a user is met.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of an implementation of a lighting device control method according to an embodiment of the present invention;
FIG. 2 is a schematic view of a distribution of a first predetermined area and a second predetermined area;
FIG. 3 is a schematic view of another arrangement of a first predetermined area and a second predetermined area;
fig. 4 is a schematic flow chart illustrating an implementation of a lighting device control method according to a second embodiment of the present invention;
fig. 5 is a schematic flow chart of an implementation of a lighting device control method according to a third embodiment of the present invention;
FIG. 6 is a schematic diagram of a distribution of a first predetermined area, a second predetermined area and a third predetermined area;
FIG. 7 is a schematic view of the distribution of the first predetermined area, the second predetermined area and the third predetermined area;
fig. 8 is an exemplary diagram of a lighting device control apparatus according to a fourth embodiment of the present invention;
fig. 9 is a control system of a lighting device according to a fifth embodiment of the present invention;
fig. 10 is a schematic diagram of a terminal device according to a sixth embodiment of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic flow chart of an implementation of a lighting device control method according to an embodiment of the present invention, as shown in fig. 1, the embodiment includes:
and step 11, acquiring human body position information.
The implementation subject of the present embodiment is a lighting device control apparatus, and in a possible implementation manner, the control apparatus is integrated in a lighting device, and the lighting device acquires human body position information through an array sensor. The array sensor in this embodiment may be an infrared array sensor, including a high-resolution infrared array sensor and a low-resolution infrared array sensor. The array sensor remotely measures the surface temperature of the human body to monitor whether the human body is included in a certain range, judges whether the human body is static or moving according to the thermal image, and can acquire the relative position information of the human body. A plurality of array sensors are connected through a wireless grid network Mesh with a broadcast communication function, and control over a plurality of lighting devices in a large range can be achieved. After monitoring a human body, the array sensor in the wireless Mesh network acquires human body position information and sends the human body position information to all lighting control devices in the wireless Mesh network. All array sensors which monitor the human body in the wireless Mesh network send human body position information to all lighting control devices, so that each lighting control device can know whether any array sensor monitors the human body, and if the human body is monitored, each lighting control device also obtains the human body position information sent by the array sensors.
In another possible implementation, the control device is integrated in the array sensor. After monitoring a human body, one array sensor in the wireless Mesh network acquires human body position information and sends the human body position information to all other array sensors in the wireless Mesh network, so that each array sensor in the wireless Mesh network can acquire the human body position information.
And step 12, judging whether the position information is contained in a first preset area.
Wherein the first preset area is preset by a user according to the position of the lighting device control device. In this embodiment, the first preset areas of two adjacent lighting device control apparatuses within the range of the wireless Mesh network may overlap. After the lighting equipment control device acquires the position information of the human body, whether the position information is contained in the first preset area is judged. If the position information is contained in the first preset area range, step 13 is executed, otherwise, the lighting device control device acquires the human body position information again.
And step 13, if the position information is contained in the first preset area, judging whether the position information is contained in the second preset area.
Wherein the second preset area is preset by a user according to the position of the lighting device control apparatus and the first preset area. In this embodiment, the second preset areas of two adjacent lighting device control apparatuses within the range of the wireless Mesh network are not overlapped.
Optionally, the boundary of the second preset area is a quadrilateral, and the first preset area is a four-connected area of the second preset area. Fig. 2 is a schematic distribution diagram of a first preset region and a second preset region, as shown in fig. 2, the first preset region is a connected region of the second preset region in four directions, i.e., up, down, left, and right, and the area of the first preset region is larger than that of the second preset region.
Optionally, the boundary of the second preset region is circular, the boundary of the first preset region and the boundary of the second preset region are concentric circles, and the area of the first preset region is larger than that of the second preset region. Fig. 3 is a schematic distribution diagram of another first preset area and a second preset area, and as shown in fig. 3, the boundary of the first preset area and the boundary of the second preset area are concentric circles.
The first preset area and the second preset area may also be in other shapes meeting the condition that the first preset area includes the second preset area, and may be specifically set by a user according to an actual scene.
When the position information of the human body is contained in a first preset area of the lighting equipment control device, whether the position is contained in a second preset area of the lighting equipment control device is judged. If the location information is included in the second predetermined area range, go to step 14, otherwise, go to step 15.
And step 14, if the position information is contained in a second preset area, sending first control information to the lighting equipment, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode.
And step 15, if the position information is not contained in a second preset area, sending second control information to the lighting equipment, wherein the second control information is used for controlling the lighting equipment to be switched to a second starting mode.
When the position of the human body is included in a second preset area range of the lighting equipment control device, the lighting equipment control device sends first control information to the lighting equipment, so that the lighting equipment is switched to a first starting mode according to the first control information. In the first on mode, the brightness of the lighting device is maximum; or, in the first on mode, the color temperature of the lighting device is warm; or, in the first turn-on mode, the flicker frequency of the lighting device is a high frequency; various combinations are possible, such as a maximum brightness of the lighting device and a low frequency of flicker in the first on mode. The first on-mode of the lighting device is in particular set by the user.
And when the position of the human body is not contained in a second preset area range of the lighting equipment control device, the lighting equipment control device sends second control information to the lighting equipment so that the lighting equipment is switched to a second starting mode according to the second control information. In the second starting mode, the brightness of the lighting equipment is second bright; or when the lighting device is in the second starting mode, the color temperature of the lighting device is cold; or, in the second turn-on mode, the flicker frequency of the lighting device is low; various combinations are possible, such as a second on mode in which the intensity of the lighting device is second bright and the blinking frequency is high. The second on-mode of the lighting device is in particular set by the user.
Alternatively, there may be one or more lighting devices. When the number of the lighting devices is multiple, the control information can be sent to the multiple lighting devices at the same time (multi-control), or the number of the lighting device can be carried in the control information, and the corresponding control information is received according to different numbers of the lighting devices, so that the differentiated control (sub-control) of the multiple lighting devices is realized. The number and control mode of the lighting devices may be selected in combination with the actual application scenario, and this embodiment is not particularly limited.
The array sensor sends different control information to the lighting equipment through different judgments in the steps 14 and 15, so that the lighting equipment can be controlled in different starting modes, and the requirement for diversity of intelligent lighting of users is met.
The embodiment provides a lighting device control method, which comprises the steps of obtaining human body position information, judging whether the position information is contained in a first preset area, judging whether the position information is contained in a second preset area if the position information is contained in the first preset area, sending first control information to a lighting device if the position information is contained in the second preset area, wherein the first control information is used for controlling the lighting device to be switched to a first starting mode, and sending second control information to the lighting device if the position information is not contained in the second preset area, wherein the second control information is used for controlling the lighting device to be switched to the second starting mode, so that the lighting device is controlled in multiple control modes, and the diversity requirements of intelligent lighting of users are met.
Fig. 4 is a schematic flow chart of an implementation of a lighting device control method according to a second embodiment of the present invention, and specifically relates to step 13 in the first embodiment, which is a possible implementation manner of step 13 in the first embodiment. As shown in fig. 4, the present embodiment includes:
and step 21, acquiring human body position information.
And step 22, judging whether the position information is contained in a first preset area.
And 23, if the position information is contained in a first preset area, acquiring the duration of the position information contained in the first preset area.
When the human body position information is contained in a first preset area of the lighting equipment control device, the lighting equipment control device continuously updates the human body position information, and if the human body position information is always contained in the first preset area, the duration of the human body position information contained in the first preset area is obtained.
And 24, judging whether the duration is greater than a preset duration or not.
And 25, judging whether the position information is contained in a second preset area or not when the duration is longer than a preset duration.
The lighting device control means determines whether or not the duration in which the human body position information is contained in the first preset region is longer than a preset duration which is set in advance, for example, may be set to 5 seconds. When the duration is longer than the preset duration, the lighting device control device judges whether the duration is contained in the second preset area or not, and determines the specific starting mode of the lighting device, so that unnecessary starting operation of the lighting device caused by instant passing through the first preset area is avoided, and the control of the lighting device is more energy-saving.
And step 26, if the position information is contained in a second preset area, sending first control information to the lighting equipment, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode.
And 27, if the position information is not contained in a second preset area, sending second control information to the lighting device, where the second control information is used to control the lighting device to switch to a second on mode.
Steps 21, 22, 26, and 27 in this embodiment correspond to steps 11, 12, 14, and 15 in the first embodiment, respectively, and reference is made to corresponding descriptions in steps 11, 12, 14, and 15 in the first embodiment, which implement similar principles and technical effects, and are not described herein again.
And step 28, if the position information is not contained in the first preset area, sending fourth control information to the lighting device, where the fourth control information is used to control the lighting device to switch to the off mode.
When the position information of the human body is not in the first preset area of the lighting equipment control device, the fact that the distance between the human body and the lighting equipment control device is far is indicated, any lighting equipment controlled by the lighting equipment control device does not need to be started, and at the moment, fourth control information is sent to the lighting equipment, so that the lighting equipment is in a closing mode, and the energy-saving effect is achieved.
Optionally, when the lighting device control apparatus determines that the duration of the human body position information contained in the first preset region is not greater than the preset duration, the fourth control information is sent to the lighting device, so that the lighting device is in a turn-off mode, and an energy-saving effect is achieved.
Optionally, the turning-off mode may be a dimming mode, so that in a process that the human body is far away from the first preset area, the lighting device control device delays turning off the lighting device in the dimming mode, and safety guarantee is provided for the user to walk in the dark.
When the human body position information is contained in the first preset area, the judgment of the duration time contained in the first preset area avoids unnecessary starting operation of the lighting equipment caused by instant passing through the first preset area, so that the control of the lighting equipment is more energy-saving.
Fig. 5 is a schematic flow chart of an implementation of a lighting device control method according to a third embodiment of the present invention, and this embodiment is a possible implementation manner based on the first embodiment or the second embodiment. As shown in fig. 5, before step 12 of the first embodiment or step 22 of the second embodiment, the method further includes:
and step 31, judging whether the position information is contained in a third preset area.
The third preset area is preset by a user according to the position of the lighting device control device and the first preset area, and the preset area comprises the first preset area. In this embodiment, the third preset areas of two adjacent lighting device control apparatuses within the range of the wireless Mesh network may overlap with the first preset area. .
And step 32, judging whether the human body is moving or not when the position information is contained in a third preset area.
The lighting equipment control device judges whether the position information is contained in a third preset area or not after acquiring the position information of the human body, judges whether the human body is moving or not according to the position information of two times acquired at adjacent time if the position information is contained, indicates that the human body is moving if the position information acquired at the two times is changed, and otherwise, indicates that the human body is static.
And step 33, judging whether the human body is close to the first preset area or not when the human body is moving.
When the human body is moving, whether the human body moves towards the direction close to the first preset area is further judged. Specifically, position information of two times before and after is acquired, a linear distance between the position information of the two times and a first preset area is calculated, and when the linear distance calculated by the position information acquired for the second time is smaller than the linear distance calculated by the position information acquired for the first time, it indicates that the human body is approaching the first preset area gradually.
And step 34, when the human body approaches the first preset area, sending third control information to the lighting equipment, wherein the third control information is used for controlling the lighting equipment to be switched to a third opening mode.
When the human body in the third preset area gradually approaches to the first preset area, the lighting device control device sends third control information to the lighting device, so that the lighting device is switched to the third on mode, lighting according to the predicted driving direction is achieved, and safety guarantee is provided for the user to walk in the dark. Optionally, in the third on mode, the brightness of the lighting device is dark. Optionally, the third turning-on mode may be a gradually-lighting mode, and the lighting device control apparatus turns on the lighting device in the gradually-lighting mode in a process that the human body approaches the first preset region.
Optionally, the boundary of the second preset area is a quadrilateral, the first preset area is a four-connected area of the second preset area, and the third preset area is a four-connected area of the first preset area. Fig. 6 is a schematic distribution diagram of a first preset area, a second preset area and a third preset area, where as shown in fig. 6, the first preset area is a connected area of the second preset area in four directions, i.e., up, down, left and right, and the third preset area is a four-connected area of the first preset area.
Optionally, the boundary of the second preset region is circular, the boundary of the first preset region, the boundary of the third preset region and the boundary of the second preset region are concentric circles, the area of the first preset region is larger than that of the second preset region, and the area of the third preset region is larger than that of the first preset region. Fig. 7 is a schematic distribution diagram of another first preset area, a second preset area and a third preset area, as shown in fig. 7, the boundary of the first preset area, the boundary of the third preset area and the boundary of the second preset area are concentric circles.
The embodiment provides a lighting device control method, wherein when human body position information is not contained in a first preset area but is in a third preset area outside the first preset area and approaches the first preset area, third control information is sent to a lighting device, so that the lighting device is switched to a third on-off mode according to the third control information, lighting according to a predicted driving direction is achieved, safety guarantee is provided for a user to walk in the dark, the lighting device is controlled in multiple control modes, and the requirement for diversity of intelligent lighting of the user is met.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 8 is an exemplary diagram of a lighting device control apparatus according to a fourth embodiment of the present invention, and as shown in fig. 8, the apparatus of the present embodiment includes:
an obtaining module 41, configured to obtain human body position information;
a determining module 42, configured to determine whether the position information is included in a first preset area;
the determining module 42 is further configured to determine whether the position information is included in a second preset area if the position information is included in a first preset area;
a sending module 43, configured to send first control information to the lighting device if the location information is included in a second preset area, where the first control information is used to control the lighting device to switch to a first on mode;
the sending module 43 is further configured to send second control information to the lighting device if the location information is not included in a second preset area, where the second control information is used to control the lighting device to switch to a second on mode.
The lighting device control apparatus provided in this embodiment may specifically be a control apparatus in a lighting device, and may also be a control apparatus in an array sensor, and is configured to implement the lighting device control method described in the first embodiment, where the functions of each module may refer to corresponding descriptions in the method embodiment, and the implementation principle and the technical effect thereof are similar, and are not described here again.
Fig. 9 is a lighting device control system according to a fifth embodiment of the present invention, and as shown in fig. 9, the system of the present embodiment includes:
a plurality of lighting device control apparatuses 51 as described in embodiment four, the plurality of lighting device control apparatuses 51 controlling a plurality of lighting devices by any of the methods as described in embodiment one to embodiment three, the plurality of lighting device control apparatuses 51 being connected to each other.
Optionally, the connection mode between the multiple lighting device control apparatuses 51 may be wired or wireless, and preferably, the connection mode is wireless, so as to avoid the lighting device control system from affecting the aesthetic property of the lighting space.
When the lighting device controlling apparatus 51 is integrated in the lighting device, the plurality of lighting device controlling apparatuses 91 are connected to each other in an indirect manner through the array sensor. When the lighting device control apparatuses 51 are integrated in the array sensor, a plurality of lighting device control apparatuses 51 are connected to each other in a direct manner.
Fig. 10 is a schematic diagram of a terminal device according to a sixth embodiment of the present invention. As shown in fig. 10, the terminal device 6 of this embodiment includes: a processor 60, a memory 61 and a computer program 62, such as a lighting device control program, stored in said memory 61 and executable on said processor 60. The processor 60, when executing the computer program 62, implements the steps in the various lighting device control method embodiments described above, such as steps 11 to 15 shown in fig. 1. Alternatively, the processor 60, when executing the computer program 62, implements the functions of the modules in the above-described device embodiments, such as the functions of the modules 41 to 43 shown in fig. 8.
Illustratively, the computer program 62 may be partitioned into one or more modules/units that are stored in the memory 61 and executed by the processor 60 to implement the present invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution of the computer program 62 in the terminal device 6. For example, the computer program 62 may be divided into an acquisition module, a judgment module, and a transmission module (unit module in a virtual device), and the specific functions of each module are as follows:
the acquisition module is used for acquiring human body position information;
the judging module is used for judging whether the position information is contained in a first preset area;
the judging module is further configured to judge whether the position information is contained in a second preset area if the position information is contained in a first preset area;
the sending module is used for sending first control information to the lighting equipment if the position information is contained in a second preset area, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode;
the sending module is further configured to send second control information to the lighting device if the location information is not included in a second preset area, where the second control information is used to control the lighting device to switch to a second on mode.
The terminal device 6 may be a computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device 6 may include, but is not limited to, a processor 60, a memory 61. It will be understood by those skilled in the art that fig. 6 is only an example of the terminal device 6, and does not constitute a limitation to the terminal device 6, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device 6 may further include an input-output device, a network access device, a bus, etc.
The Processor 60 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 61 may be an internal storage unit of the terminal device 6, such as a hard disk or a memory of the terminal device 6. The memory 61 may also be an external storage device of the terminal device 6, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 6. Further, the memory 61 may also include both an internal storage unit and an external storage device of the terminal device 6. The memory 61 is used for storing the computer programs and other programs and data required by the terminal device 6. The memory 61 may also be used to temporarily store data that has been output or is to be output.
It is obvious to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional units and modules is merely used as an example, and in practical applications, the foregoing function distribution may be performed by different functional units and modules as needed, that is, the internal structure of the terminal device is divided into different functional units or modules to perform all or part of the above-described functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (7)

1. A lighting device control method, comprising:
acquiring human body position information;
judging whether the position information is contained in a first preset area or not;
if the position information is contained in a first preset area, judging whether the position information is contained in a second preset area;
if the position information is contained in a second preset area, sending first control information to the lighting equipment, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode; the first on mode includes one or more of: the brightness of the lighting equipment is maximum, the color temperature of the lighting equipment is warm color, and the flicker frequency of the lighting equipment is preset frequency; if the position information is not contained in a second preset area, sending second control information to the lighting equipment, wherein the second control information is used for controlling the lighting equipment to be switched to a second starting mode;
if the position information is contained in a first preset area, judging whether the position information is contained in a second preset area, including:
if the position information is contained in a first preset area, acquiring the duration of the position information contained in the first preset area;
judging whether the duration is longer than a preset duration or not;
when the duration is longer than a preset duration, judging whether the position information is contained in a second preset area;
if the position information is not contained in the first preset area, sending fourth control information to the lighting equipment, wherein the fourth control information is used for controlling the lighting equipment to be switched to a closing mode; the off mode is a dimming mode;
before the step of judging whether the position information is contained in the first preset area, the method further includes:
judging whether the position information is contained in a third preset area or not;
when the position information is contained in a third preset area, judging whether the human body moves;
when the human body is moving, judging whether the human body is close to the first preset area or not, including: acquiring position information of two times before and after, calculating the linear distance between the position information of the two times and a first preset area, and judging that the human body is approaching the first preset area gradually when the linear distance calculated by the position information acquired for the second time is smaller than the linear distance calculated by the position information acquired for the first time;
and when the human body is close to the first preset area, sending third control information to the lighting equipment, wherein the third control information is used for controlling the lighting equipment to be switched to a third on mode.
2. The method of claim 1, wherein the boundary of the second predetermined area is a quadrilateral, the first predetermined area is a quad-connected area of the second predetermined area, and the third predetermined area is a quad-connected area of the first predetermined area.
3. The method of claim 1, wherein the boundary of the second predetermined region is a circle, the boundary of the first predetermined region, the boundary of the third predetermined region and the boundary of the second predetermined region are concentric circles, the area of the first predetermined region is larger than that of the second predetermined region, and the area of the third predetermined region is larger than that of the first predetermined region.
4. A lighting device control apparatus, comprising:
the acquisition module is used for acquiring human body position information;
the judging module is used for judging whether the position information is contained in a first preset area; before the judging whether the position information is contained in the first preset area, the judging module is further used for judging whether the position information is contained in a third preset area; when the position information is contained in a third preset area, judging whether the human body moves; when the human body is moving, judging whether the human body is close to the first preset area or not, including: acquiring position information of two times before and after, calculating the linear distance between the position information of the two times and a first preset area, and judging that the human body is approaching the first preset area gradually when the linear distance calculated by the position information acquired for the second time is smaller than the linear distance calculated by the position information acquired for the first time; when the human body is close to the first preset area, sending third control information to the lighting equipment, wherein the third control information is used for controlling the lighting equipment to be switched to a third on mode;
the judging module is further configured to judge whether the position information is contained in a second preset area if the position information is contained in a first preset area;
the judging module is further specifically configured to, if the location information is included in a first preset area, obtain a duration that the location information is included in the first preset area;
judging whether the duration is longer than a preset duration or not;
when the duration is longer than a preset duration, judging whether the position information is contained in a second preset area;
the sending module is used for sending first control information to the lighting equipment if the position information is contained in a second preset area, wherein the first control information is used for controlling the lighting equipment to be switched to a first starting mode; the first on mode includes one or more of: the brightness of the lighting equipment is maximum, the color temperature of the lighting equipment is warm color, and the flicker frequency of the lighting equipment is preset frequency;
the sending module is further configured to send second control information to the lighting device if the location information is not included in a second preset area, where the second control information is used to control the lighting device to switch to a second on mode; the mobile terminal is further configured to send fourth control information to the lighting device if the location information is not included in the first preset area, where the fourth control information is used to control the lighting device to switch to an off mode; the off mode is a dim down mode.
5. A lighting device control system, comprising:
a plurality of lighting device control apparatuses as claimed in claim 4, a plurality of said lighting device control apparatuses controlling a plurality of lighting devices using the method as claimed in any one of claims 1 to 3, said plurality of lighting device control apparatuses being interconnected.
6. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 3 when executing the computer program.
7. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 3.
CN201811547444.1A 2018-12-18 2018-12-18 Lighting equipment control method, device and system Active CN109788616B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811547444.1A CN109788616B (en) 2018-12-18 2018-12-18 Lighting equipment control method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811547444.1A CN109788616B (en) 2018-12-18 2018-12-18 Lighting equipment control method, device and system

Publications (2)

Publication Number Publication Date
CN109788616A CN109788616A (en) 2019-05-21
CN109788616B true CN109788616B (en) 2021-01-15

Family

ID=66497036

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811547444.1A Active CN109788616B (en) 2018-12-18 2018-12-18 Lighting equipment control method, device and system

Country Status (1)

Country Link
CN (1) CN109788616B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586950A (en) * 2020-04-28 2020-08-25 栋梁国际照明设计(北京)中心有限公司 Interactive illuminating lamp and interactive illuminating method
CN112460745A (en) * 2020-11-10 2021-03-09 青岛海尔空调电子有限公司 Air conditioner and illumination control method, storage medium and control device thereof
CN112584589B (en) * 2020-11-10 2022-12-20 苏州亚谱讯物联科技有限公司 Multi-user-perception cooperative control system based on large-scale networking
CN114217533B (en) * 2021-12-08 2022-09-09 深圳市星标电子科技有限公司 Control method, device and equipment for smart home and storage medium
CN114659252A (en) * 2022-03-28 2022-06-24 青岛海尔空调器有限总公司 Interconnection control method and device for air conditioner and lighting device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107969057A (en) * 2017-12-21 2018-04-27 北京邮电大学 Indoor light control method and device
CN108601176A (en) * 2018-04-28 2018-09-28 深圳春沐源控股有限公司 Control method, system, computer equipment and the storage medium of brightness regulating apparatus
CN108679462A (en) * 2018-04-27 2018-10-19 东洋工业照明(广东)有限公司 LED light source and its light type adjusting method

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1039044A (en) * 1996-07-25 1998-02-13 Matsushita Electric Works Ltd Infrared human-body sensing device
JP3564991B2 (en) * 1998-01-30 2004-09-15 松下電工株式会社 Human body detection switch
JP5790035B2 (en) * 2011-03-07 2015-10-07 富士ゼロックス株式会社 Power supply control device, image processing device, power supply control program
CN105472851B (en) * 2016-01-07 2018-08-21 彭云 Intelligent illuminating system and sensing device
CN107911269A (en) * 2017-11-24 2018-04-13 北京算云联科科技有限公司 A kind of intelligent home system control method and device
CN108882439A (en) * 2018-05-16 2018-11-23 广东小天才科技有限公司 A kind of illumination control method and lighting apparatus
CN108901108A (en) * 2018-07-06 2018-11-27 北京小米移动软件有限公司 The control method and device of lighting apparatus, lighting apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107969057A (en) * 2017-12-21 2018-04-27 北京邮电大学 Indoor light control method and device
CN108679462A (en) * 2018-04-27 2018-10-19 东洋工业照明(广东)有限公司 LED light source and its light type adjusting method
CN108601176A (en) * 2018-04-28 2018-09-28 深圳春沐源控股有限公司 Control method, system, computer equipment and the storage medium of brightness regulating apparatus

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
智能家居控制系统的设计与研究;李春雨;《中国优秀硕士学位论文全文数据库》;20170115;全文 *

Also Published As

Publication number Publication date
CN109788616A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN109788616B (en) Lighting equipment control method, device and system
US9898910B2 (en) System and method for remote monitoring based on LED lighting device
CN104052878B (en) A kind of Intelligent eyeshield method by the brightness of control mobile terminal screen and device
CN102946663A (en) Image recognition intelligent illumination control system and control method thereof
CN104284486A (en) Intelligent lighting device and system and intelligent lighting control method
CN106303039A (en) A kind of screen control method, device and mobile terminal
CN110753431B (en) Intelligent lamp control method, intelligent home controller and storage medium
CN105404165B (en) A kind of control panel and control method
CN103716955A (en) Classroom zoned intelligent illumination system specific to night classes in universities
CN105320183A (en) Lamp system capable of adjusting lighting atmosphere intelligently and method for implementing atmosphere adjustment
CN104968129A (en) Energy saving illumination control system with wireless mode
CN109285511A (en) LCD panel control method and device, storage medium, washing machine and electric appliance
CN112486105B (en) Equipment control method and device
CN204287781U (en) LED light device, wired home Control Server, intelligent household terminal and smart home control system
CN103916545A (en) Status switching method and electronic device
CN106851943A (en) A kind of switch of gesture control light and its control method of regulation
CN106793409A (en) Lighting device, terminal device and illuminator
CN101516154A (en) Method for using a mobile phone camera to automatic control a flash lamp as a photoinduction flashlight
CN104640318A (en) Intelligent toilet lighting system and control method
CN212013105U (en) Intelligent street lamp control system suitable for smart campus
CN109240585A (en) A kind of method, apparatus of human-computer interaction, terminal and computer readable storage medium
CN104869254A (en) Mobile terminal, incoming call prompting system and method
CA3050204C (en) Multi-mode occupancy sensor and lighting system control
CN204836693U (en) Energy -conserving lighting control system of wireless mode
CN106793369A (en) Human body induction control system, method and its device

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