CN114364106B - Light control method and device, storage medium and terminal equipment - Google Patents

Light control method and device, storage medium and terminal equipment Download PDF

Info

Publication number
CN114364106B
CN114364106B CN202111485545.2A CN202111485545A CN114364106B CN 114364106 B CN114364106 B CN 114364106B CN 202111485545 A CN202111485545 A CN 202111485545A CN 114364106 B CN114364106 B CN 114364106B
Authority
CN
China
Prior art keywords
equipment
lighting
control data
lighting equipment
terminal
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
CN202111485545.2A
Other languages
Chinese (zh)
Other versions
CN114364106A (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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN202111485545.2A priority Critical patent/CN114364106B/en
Publication of CN114364106A publication Critical patent/CN114364106A/en
Application granted granted Critical
Publication of CN114364106B publication Critical patent/CN114364106B/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

Landscapes

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

Abstract

The invention provides a light control method, a light control device, a storage medium and terminal equipment. Acquiring relative position information of a terminal device and a lighting device, and acquiring a preset control data table corresponding to the lighting device, wherein the preset control data table comprises a corresponding relation between the relative position information and control data, and the control data comprises at least one of lighting device starting, lighting device stopping and light brightness level; and determining control data corresponding to the relative position information based on the relative position information and the preset control data table, and controlling the working state of the lighting equipment by utilizing the control data. The problems that in the prior art, the light cannot be adaptively controlled according to the position of a user, the light is unfavorable for energy conservation and the user experience is poor are solved, the lighting effect and the energy-saving effect are effectively improved, and the user experience is improved.

Description

Light control method and device, storage medium and terminal equipment
Technical Field
The invention relates to the technical field of intelligent home, in particular to a light control method, a device, a storage medium and terminal equipment.
Background
The current household scene is controlled by the power switch, the power switch needs to be manually triggered by a user, and the power switch is generally fixed on a wall surface, so that certain limitation is brought to the control operation of the user, the light cannot be adaptively controlled according to the position of the user, the energy conservation of the light is not facilitated, and the user experience is limited by space.
Therefore, the art needs to solve the problems that in the prior art, the light cannot be adaptively controlled according to the user position, so that the light is unfavorable for energy conservation and the user experience is poor.
Disclosure of Invention
In order to solve the problems that in the prior art, light cannot be controlled in a self-adaptive mode according to the position of a user, light energy conservation is not facilitated, and user experience is poor, the embodiment of the invention provides a light control method, a device, a storage medium and terminal equipment.
In a first aspect, an embodiment of the present invention provides a light control method, including:
acquiring relative position information of the terminal equipment and the lighting equipment;
acquiring a preset control data table corresponding to the lighting equipment, wherein the preset control data table comprises a corresponding relation between relative position information and control data, and the control data comprises at least one of lighting equipment on, lighting equipment off and light brightness level;
and determining control data corresponding to the relative position information based on the relative position information and the preset control data table, and controlling the working state of the lighting equipment by utilizing the control data.
In some embodiments, the relative position information comprises a relative distance of the terminal device from the lighting device and/or a direction of movement of the terminal device.
In some embodiments, the operating state includes turning on, off, and/or light brightness of the lighting device.
In some embodiments, the obtaining a preset control data table corresponding to the lighting device includes:
acquiring an area where the lighting equipment is located;
and acquiring a preset control data table corresponding to the area where the lighting equipment is located.
In some embodiments, the step of acquiring the relative position information of the terminal device and the lighting device is performed when the movement of the terminal device is detected.
In some embodiments, the obtaining a preset control data table corresponding to the lighting device includes:
acquiring the ambient brightness of the lighting device;
and acquiring a preset control data table corresponding to the ambient brightness.
In a second aspect, an embodiment of the present invention provides a light control apparatus, including:
the first acquisition module is used for acquiring the relative position information of the terminal equipment and the lighting equipment;
the second acquisition module is used for acquiring a preset control data table corresponding to the lighting equipment, wherein the preset control data table comprises a corresponding relation between relative position information and control data, and the control data comprises at least one of lighting equipment on, lighting equipment off and light brightness level;
and the control module is used for determining control data corresponding to the relative position information based on the relative position information and the preset control data table, and controlling the working state of the lighting equipment by utilizing the control data.
In a third aspect, an embodiment of the present invention provides a storage medium having stored thereon a computer program which, when executed by one or more processors, implements the light control method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a terminal device, including a memory and a processor, where the memory stores a computer program, and the computer program implements the light control method according to the first aspect when executed by the processor.
In some embodiments, the terminal device and the lighting device are both configured with a positioning device, and positioning is performed between the terminal device and the lighting device through the positioning device so as to obtain relative position information of the terminal device and the lighting device.
Compared with the prior art, one or more embodiments of the present invention can provide at least the following advantages:
the invention provides a light control method, a device, a storage medium and a terminal device, wherein relative position information of the terminal device and lighting equipment and a preset control data table corresponding to the lighting equipment are obtained, control data corresponding to the relative position information is determined based on the relative position information and the preset control data table, and the working state of the lighting equipment is controlled by utilizing the control data, so that the problems that in the prior art, light cannot be adaptively controlled according to the position of a user, energy conservation of the light is not facilitated, and user experience is poor are solved, the lighting effect and the energy conservation effect are effectively improved, and the user experience is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a light control method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a light control device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. The components of the embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the invention, as presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be made by a person skilled in the art without making any inventive effort, are intended to be within the scope of the present invention.
Example 1
Fig. 1 shows a flow chart of a light control method, and as shown in fig. 1, the present embodiment provides a light control method, which includes steps S110 to S130:
step S110, acquiring relative position information of the terminal equipment and the lighting equipment, wherein the relative position information at least comprises the relative distance between the terminal equipment and the lighting equipment and/or the moving direction of the terminal equipment.
In some cases, the relative position information also includes a relative angle of the terminal device to the lighting device and/or a position of the terminal device in an area where the lighting device is located.
In some cases, the terminal device and the lighting device are both provided with a positioning device, and the terminal device and the lighting device are positioned through the positioning device so as to acquire the relative position information of the terminal device and the lighting device. By installing the positioning device, communication between the terminal equipment and the lighting equipment is ensured, and mutual positioning of the terminal equipment and the lighting equipment is realized based on a positioning technology, so that the relative distance between the terminal equipment and the lighting equipment, the relative angle between the terminal equipment and the lighting equipment, the moving direction of the terminal equipment, the position of the terminal equipment in the area where the lighting equipment is located and the like are determined.
When the method of this embodiment is executed, the terminal device and the lighting device configured with the positioning device are turned on, communication connection is established through a preset positioning protocol, information transmission is performed between the terminal device and the lighting device through a wireless communication technology, and then current data of the target lighting device is transferred to the terminal device, where the wireless communication technology includes, for example: other wireless transmission technology protocols such as Bluetooth technology, wiFi technology, zigbee technology, UWB technology and the like.
In practical application, the positioning device can be a module or a chip capable of positioning, such as Bluetooth, wifi, UWB and the like. The terminal equipment comprises movable intelligent terminal equipment which can be a mobile intelligent terminal equipment with a communication function such as a smart phone, a smart watch, a smart bracelet, a tablet personal computer and smart glasses, the terminal equipment is carried/worn by a user, the position of the terminal equipment can represent the position of the user, so that the working state of the lighting equipment is controlled according to the relative position information of the user and the lighting equipment, the user experience is obviously improved, and the energy-saving effect is realized. The lighting device may be a lighting device configured with an 86 type switch or panel, or may be a lighting device configured with an intelligent central control, or may be an intelligent lighting device integrating light brightness control and/or switch control functions, which is not limited only in this embodiment.
Step S120, a preset control data table corresponding to the lighting equipment is obtained.
The preset control data table comprises a corresponding relation between relative position information and control data, and the control data comprises at least one of lighting equipment on, lighting equipment off and light brightness level.
In practical application, the application scenario of the method may be a home environment, and the lighting devices in different areas in the home environment are named through the corresponding relation between the lighting devices and the areas, for example, bedrooms, living rooms, kitchens, toilets and the like, and the corresponding lighting devices may be named as bedroom lamps, living room lamps, kitchen lamps, toilet lamps and the like.
The lighting device generally has a plurality of levels of light brightness, such as three light brightness levels of high, medium and low, and it should be understood that these three light brightness levels are merely examples of one case, and that more light brightness levels may be set according to the needs in practical applications and do not constitute a sole limitation of the present invention. The brightness level may be adjusted by different power implementations.
When the preset control data table is built, the optimal light brightness level perceived by eyes can be detected and determined for the lighting equipment of different areas by adjusting the light brightness level of the lighting equipment of each area in the application scene, so that the preset control data table corresponding to the lighting equipment of different areas is built, the light brightness of the different areas is ensured to accord with the visual effect of the area, and the influence of unified control on user experience is avoided. Through the preset control data table established in advance, the lamplight of the lighting equipment can be controlled in a self-adaptive manner based on the preset control table in the lamplight control process according to the position movement condition of the terminal equipment (user), so that the lamplight energy conservation is facilitated, and the user experience is not limited by space.
In one implementation, a preset control data table is established according to the relative distance between the terminal device and the lighting device and the moving direction of the terminal device and the working state of the lighting device, for example, the relative distance between the terminal device and the lighting device a is smaller than a first threshold value, and the moving direction of the terminal device moves towards the lighting device a, the corresponding working state of the lighting device a is on, and in the state that the working state of the lighting device a is on, the smaller the relative distance between the terminal device and the lighting device a is, the closer the moving direction of the terminal device is to the lighting device a, the lower the light brightness level is, the larger the relative distance between the terminal device and the lighting device a is, and the moving direction of the terminal device is far away from the lighting device a, the higher the light brightness level is, so that the visual brightness in the same area is kept uniform. Correspondingly, the relative distance between the terminal equipment and the lighting equipment A is larger than the second threshold value, and the moving direction of the terminal equipment is the direction away from the lighting equipment A, so that the corresponding working state of the lighting equipment A is closed.
In one implementation, a preset control data table is established according to the relative distance between the terminal device and the lighting device, for example, if the relative distance between the terminal device and the lighting device a is smaller than a first threshold, the corresponding working state of the lighting device a is on, and if the working state of the lighting device a is on, the smaller the relative distance between the terminal device and the lighting device a is, the lower the light brightness level is, and the larger the relative distance between the terminal device and the lighting device a is, the higher the light brightness level is, so as to keep the visual brightness uniform and consistent in the same area.
In one implementation, a preset control data table is established according to the moving direction of the terminal device, for example, the moving direction of the terminal device moves towards the lighting device a, so that the corresponding working state of the lighting device a is on, and in the state that the working state of the lighting device a is on, the closer the moving direction of the terminal device is to the lighting device a, the lower the light brightness level is, and the farther the moving direction of the terminal device is from the lighting device a, the higher the light brightness level is, so as to keep the visual brightness uniform and consistent in the same area.
It should also be understood that the correspondence with the control data may also be formed based on the relative angle of the terminal device and the lighting device and/or the location of the terminal device in the area where the lighting device is located, which is not illustrated in this embodiment.
In some cases, the adaptive control of the light may be implemented by using different preset control data tables according to the different areas where the lighting devices are located, so before the step S110 of obtaining the relative position information of the terminal device and the lighting devices, steps S100a1 to S100b1 may further be included:
step S100a1, according to the lighting equipment and the area where the lighting equipment is located, establishing a corresponding relation between the lighting equipment and the area where the lighting equipment is located, and naming the lighting equipment of each area respectively.
Step S100b1, building a corresponding preset control data table for the lighting devices of each area.
Accordingly, step S120 obtains a preset control data table corresponding to the lighting device, including:
step S120a1, acquiring an area where the lighting equipment is located;
step S120b1, acquiring a preset control data table corresponding to the area where the lighting device is located.
In practical application, a preset control data table is established for different areas in advance, so that the corresponding preset control data table is called according to the area where the lighting equipment is located, the working state of the lighting equipment is controlled by determining corresponding control data according to the acquired relative position information, the working state of the lighting equipment can be adaptively controlled according to the preset control data table of the area where the lighting equipment is located, the lighting requirements of the area where the lighting equipment is located are met, and inconvenience in manual operation is reduced.
In some cases, the working state of the lighting device may be controlled by using different preset control data tables according to different environmental brightnesses of environments where the lighting device is located, so before the step S110 of obtaining the relative position information of the terminal device and the lighting device, the method may further include:
step S100a2, under different environmental brightnesses, obtaining the corresponding relation between the relative position information and control data of the terminal equipment and the lighting equipment;
step S100b2, establishing a corresponding preset control data table aiming at different environmental brightnesses;
accordingly, when the operating state of the lighting device is controlled based on the relative position information, the control data is immediately determined by calling a preset control data table corresponding to the ambient brightness, and the operating state of the lighting device is controlled based on the relative position information and the control data. Therefore, the step S120 of obtaining the preset control data table corresponding to the lighting device may include:
step S120a2, obtaining the ambient brightness of the lighting device;
step S120b2, determining a preset control data table corresponding to the ambient brightness.
In practical application, a preset control data table is established for different environmental brightnesses in advance, so that the corresponding preset control data table is called according to the environmental brightness of the lighting equipment, the working state of the lighting equipment is controlled by combining the acquired relative position information, corresponding control data is determined, the working state of the lighting equipment can be adaptively controlled according to the preset control data table corresponding to the environmental brightness of the lighting equipment, the working state can meet the requirement of the environmental brightness, and inconvenience of manual operation is reduced.
In some implementations, the control data in the corresponding relationship between the relative position information and the control data of the terminal device and the lighting device, which are acquired under different environmental brightnesses, may be control data that can enable the environmental brightness to reach the same target environmental brightness based on the different relative position information under different environmental brightnesses, so as to achieve the effect that the visual effects of the users are consistent under the condition of different environmental brightnesses.
Step S130, based on the relative position information and a preset control data table, determining control data corresponding to the relative position information, and controlling the working state of the lighting equipment by using the control data, wherein the working state comprises the on/off state and/or the light brightness of the lighting equipment.
In this embodiment, the operating state of the lighting device is controlled by calling a preset control data table to determine control data corresponding to the current relative position information. The relative position information comprises the relative distance between the terminal equipment and the lighting equipment and/or the moving direction of the terminal equipment, and the control data in the preset control data table is called, so that the light brightness level and the switching state of the lighting equipment can be automatically adjusted.
To further achieve energy saving, the method may be performed only when the terminal device moves, so in some embodiments, when the movement of the terminal device is detected, step S110 is performed to obtain the relative position information of the terminal device and the lighting device. In the state that the terminal device remains unchanged in position, step S110 is not required to be executed, so as to realize further energy-saving control.
In practical application, the light control flow of step S110 to step S130 may be executed for each area of the home environment, so as to perform light control on the lighting device of each area, so as to implement adaptive control of the light of each area according to the user position in the application scene such as the home environment.
It should be understood that, although the steps in the flowchart of fig. 1 are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in fig. 1 may include multiple sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, nor do the order in which the sub-steps or stages are performed necessarily performed in sequence, but may be performed alternately or alternately with at least a portion of other steps or sub-steps of other steps.
In this embodiment, the on-off state and the light brightness of the lighting device are controlled according to the change of the relative position information of the terminal device and the lighting device, so that the on-off state and the light brightness of the lighting device in the corresponding area can be adaptively adjusted, the lighting device can be automatically turned off in the area without lighting, the lighting device is automatically turned on in the area without lighting, and the light brightness is adjusted by combining the relative position information, so that the vision brightness of a person is kept uniform and consistent, the purpose of saving energy is achieved, inconvenience of manual operation is reduced, and user experience is obviously improved.
Example two
Fig. 2 shows a schematic diagram of a light control device, and as shown in fig. 2, this embodiment provides a light control device, including:
the first obtaining module 210 is configured to obtain relative position information of the terminal device and the lighting device, where the relative position information includes at least a relative distance between the terminal device and the lighting device and/or a moving direction of the terminal device.
The second obtaining module 220 is configured to obtain a preset control data table corresponding to the lighting device, where the preset control data table includes a correspondence between relative position information and control data, and the control data includes at least one of turning on the lighting device, turning off the lighting device, and a light brightness level.
The control module 230 is configured to determine control data corresponding to the relative position information based on the relative position information and a preset control data table, and control an operating state of the lighting device using the control data, where the operating state includes on/off of the lighting device and/or brightness of light.
In some cases, the relative position information also includes a relative angle of the terminal device to the lighting device and/or a position of the terminal device in an area where the lighting device is located.
In some embodiments, when the second obtaining module 220 obtains the preset control data table corresponding to the lighting device, the method may include:
acquiring an area where the lighting equipment is located;
and acquiring a preset control data table corresponding to the area where the lighting equipment is located.
In some embodiments, when the second obtaining module 220 obtains the preset control data table corresponding to the lighting device, the method may include:
acquiring the ambient brightness of the lighting device;
and acquiring a preset control data table corresponding to the ambient brightness.
In some embodiments, the apparatus further comprises:
the establishing module 200 is configured to establish a preset control data table before acquiring the relative position information of the terminal device and the lighting device.
In some cases, when the setup module 200 sets up the preset control data table, it includes:
according to the lighting equipment and the area where the lighting equipment is located, establishing a corresponding relation between the lighting equipment and the area where the lighting equipment is located, and naming the lighting equipment of each area respectively; and
and establishing a corresponding preset control data table for the lighting equipment of each area.
Accordingly, when the second obtaining module 220 obtains the preset control data table corresponding to the lighting device, the method includes:
acquiring an area where the lighting equipment is located; and
and acquiring a preset control data table corresponding to the area where the lighting equipment is located.
In other cases, when the second obtaining module 220 obtains the preset control data table corresponding to the lighting device, the method includes: corresponding preset control data tables are established for different environmental brightnesses.
Accordingly, when the second obtaining module 220 obtains the preset control data table corresponding to the lighting device, the method includes:
acquiring the ambient brightness of the lighting device; and
and determining a preset control data table corresponding to the ambient brightness.
When the preset control data table is built, the optimal light brightness level perceived by eyes can be detected and determined for the lighting equipment of different areas by adjusting the light brightness level of the lighting equipment of each area in the application scene, so that the preset control data table corresponding to the lighting equipment of different areas is built, the light brightness of the different areas is ensured to accord with the visual effect of the area, and the influence of unified control on user experience is avoided. Through the preset control data table established in advance, the lamplight of the lighting equipment can be controlled in a self-adaptive manner based on the preset control table in the lamplight control process according to the position movement condition of the terminal equipment (user), so that the lamplight energy conservation is facilitated, and the user experience is not limited by space.
In one implementation, a preset control data table is established according to the relative distance between the terminal device and the lighting device and the moving direction of the terminal device and the working state of the lighting device, for example, the relative distance between the terminal device and the lighting device a is smaller than a first threshold value, and the moving direction of the terminal device moves towards the lighting device a, the corresponding working state of the lighting device a is on, and in the state that the working state of the lighting device a is on, the smaller the relative distance between the terminal device and the lighting device a is, the closer the moving direction of the terminal device is to the lighting device a, the lower the light brightness level is, the larger the relative distance between the terminal device and the lighting device a is, and the moving direction of the terminal device is far away from the lighting device a, the higher the light brightness level is, so that the visual brightness in the same area is kept uniform. Correspondingly, the relative distance between the terminal equipment and the lighting equipment A is larger than the second threshold value, and the moving direction of the terminal equipment is the direction away from the lighting equipment A, so that the corresponding working state of the lighting equipment A is closed.
In one implementation, a preset control data table is established according to the relative distance between the terminal device and the lighting device, for example, if the relative distance between the terminal device and the lighting device a is smaller than a first threshold, the corresponding working state of the lighting device a is on, and if the working state of the lighting device a is on, the smaller the relative distance between the terminal device and the lighting device a is, the lower the light brightness level is, and the larger the relative distance between the terminal device and the lighting device a is, the higher the light brightness level is, so as to keep the visual brightness uniform and consistent in the same area.
In one implementation, a preset control data table is established according to the moving direction of the terminal device, for example, the moving direction of the terminal device moves towards the lighting device a, so that the corresponding working state of the lighting device a is on, and in the state that the working state of the lighting device a is on, the closer the moving direction of the terminal device is to the lighting device a, the lower the light brightness level is, and the farther the moving direction of the terminal device is from the lighting device a, the higher the light brightness level is, so as to keep the visual brightness uniform and consistent in the same area.
In this embodiment, the operating state of the lighting device is controlled by calling a preset control data table to determine control data corresponding to the current relative position information. The relative position information comprises the relative distance between the terminal equipment and the lighting equipment and/or the moving direction of the terminal equipment, and the control data in the preset control data table is called, so that the light brightness level and the switching state of the lighting equipment can be automatically adjusted.
To further achieve energy saving, the method may be performed only when the terminal device moves, so in some embodiments, the obtaining module 210 obtains the relative position information of the terminal device and the lighting device when the movement of the terminal device is detected. And under the state that the position of the terminal equipment is kept unchanged, the relative position information of the terminal equipment and the lighting equipment is not required to be acquired, so that the further energy-saving control is realized.
In this embodiment, the corresponding preset control data table is called according to the area or the ambient brightness of the lighting device, and the control data is determined from the preset control data table according to the change of the relative position information of the terminal device and the lighting device, so as to control the on-off state and the light brightness adjustment of the lighting device in the corresponding area, and realize the self-adaptive adjustment of the on-off state and the light brightness of the lighting device in the corresponding area, so that the lighting device can be automatically turned off in the area without lighting, the lighting device is automatically turned on in the area with lighting, and the light brightness is adjusted by combining the relative position information, so that the visual brightness of a person is kept uniform and consistent.
It will be appreciated by those skilled in the art that the modules or steps described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, or they may alternatively be implemented in program code executable by computing devices, such that they may be stored in a memory device for execution by the computing devices, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps within them may be fabricated into a single integrated circuit module. The present invention is not limited to any defined combination of hardware and software.
Example III
The present embodiment provides a storage medium having a computer program stored thereon, which when executed by one or more processors, implements the light control method as in the first embodiment.
In this embodiment, the storage medium may be implemented by any type of volatile or nonvolatile Memory device or combination thereof, such as a static random access Memory (Static Random Access Memory, SRAM for short), an electrically erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory, EPROM for short), a programmable Read-Only Memory (Programmable Read-Only Memory, PROM for short), a Read-Only Memory (ROM for short), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk. The details of the method are described in the first embodiment, and are not repeated here.
Example IV
The embodiment provides a terminal device, which comprises a memory and a processor, wherein a computer program is stored in the memory, and the computer program realizes the light control method as in the first embodiment when being executed by the processor.
In some cases, the terminal device and the lighting device are both provided with a positioning device, and the terminal device and the lighting device are positioned through the positioning device so as to acquire the relative position information of the terminal device and the lighting device. By installing the positioning device, communication between the terminal equipment and the lighting equipment is ensured, and mutual positioning of the terminal equipment and the lighting equipment is realized based on a positioning technology, so that the relative distance between the terminal equipment and the lighting equipment, the relative angle between the terminal equipment and the lighting equipment, the moving direction of the terminal equipment, the position of the terminal equipment in the area where the lighting equipment is located and the like are determined.
When the light control is performed, starting a terminal device provided with a positioning device and the lighting device, establishing communication connection through a preset positioning protocol, performing information transmission between the terminal device and the lighting device through a wireless communication technology, and further transmitting current data of the target lighting device to the terminal device, wherein the wireless communication technology comprises the following steps: other wireless transmission technology protocols such as Bluetooth technology, wiFi technology, zigbee technology, UWB technology and the like.
In practical application, the positioning device can be a module or a chip capable of positioning, such as Bluetooth, wifi, UWB and the like. The terminal equipment comprises movable intelligent terminal equipment which can be a mobile intelligent terminal equipment with a communication function such as a smart phone, a smart watch, a smart bracelet, a tablet personal computer and smart glasses, and the position of the terminal equipment can represent the position of a user so as to control the working state of the lighting equipment according to the relative position information of the user and the lighting equipment, so that the user experience is obviously improved, and the energy-saving effect is realized. The lighting device may be a lighting device configured with an 86 type switch or panel, or may be a lighting device configured with an intelligent central control, or may be an intelligent lighting device integrating light brightness control and/or switch control functions, which is not limited only in this embodiment.
In this embodiment, the processor may be an application specific integrated circuit (Application Specific Integrated Circuit, abbreviated as ASIC), a digital signal processor (Digital Signal Processor, abbreviated as DSP), a digital signal processing device (Digital Signal Processing Device, abbreviated as DSPD), a programmable logic device (Programmable Logic Device, abbreviated as PLD), a field programmable gate array (Field Programmable Gate Array, abbreviated as FPGA), a controller, a microcontroller, a microprocessor, or other electronic component implementation for performing the method in the above embodiment. The method implemented when the computer program running on the processor is executed may refer to the method embodiment provided in the present invention, and will not be described herein.
In the several embodiments provided in the embodiments of the present invention, it should be understood that the disclosed system and method may be implemented in other manners. The system and method embodiments described above are merely illustrative.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
Although the embodiments of the present invention are described above, the embodiments are only used for facilitating understanding of the present invention, and are not intended to limit the present invention. Any person skilled in the art can make any modification and variation in form and detail without departing from the spirit and scope of the present disclosure, but the scope of the present disclosure is still subject to the scope of the appended claims.

Claims (6)

1. A method of controlling light comprising:
when the movement of the terminal equipment is detected, acquiring the relative position information of the terminal equipment and the lighting equipment; the relative position information comprises the relative distance between the terminal equipment and the lighting equipment and the moving direction of the terminal equipment;
acquiring the area where the lighting equipment is located and the ambient brightness of the lighting equipment;
acquiring a preset control data table corresponding to the area where the lighting equipment is located and the environment brightness, wherein the preset control data table comprises a corresponding relation between relative position information and control data, and the control data comprises at least one of lighting equipment on, lighting equipment off and light brightness level;
determining control data corresponding to the relative position information based on the relative position information and the preset control data table, and controlling the working state of the lighting equipment by using the control data;
establishing a preset control data table according to the relative distance between the terminal equipment and the lighting equipment and the moving direction of the terminal equipment and the working state of the lighting equipment, wherein the relative distance between the terminal equipment and the lighting equipment A is smaller than a first threshold value, the moving direction of the terminal equipment moves towards the lighting equipment A, the corresponding working state of the lighting equipment A is on, the smaller the relative distance between the terminal equipment and the lighting equipment A is, the closer the moving direction of the terminal equipment is to the lighting equipment A, the lower the light brightness level is, the larger the relative distance between the terminal equipment and the lighting equipment A is, and the moving direction of the terminal equipment is far away from the lighting equipment A, the higher the light brightness level is, so that the visual brightness in the same area is kept uniform; correspondingly, the relative distance between the terminal equipment and the lighting equipment A is larger than the second threshold value, and the moving direction of the terminal equipment is the direction away from the lighting equipment A, so that the corresponding working state of the lighting equipment A is closed.
2. A light control method as claimed in claim 1, characterized in that the operating state comprises switching on, switching off and/or the brightness of the light of the lighting device.
3. A light control apparatus, comprising:
the first acquisition module is used for acquiring the relative position information of the terminal equipment and the lighting equipment when the movement of the terminal equipment is detected;
the second acquisition module is used for acquiring the area where the lighting equipment is located and the environment brightness of the lighting equipment, and acquiring a preset control data table corresponding to the area where the lighting equipment is located and the environment brightness, wherein the preset control data table comprises the corresponding relation between relative position information and control data, and the control data comprises at least one of turning on the lighting equipment, turning off the lighting equipment and light brightness level;
the control module is used for determining control data corresponding to the relative position information based on the relative position information and the preset control data table, and controlling the working state of the lighting equipment by utilizing the control data;
the relative position information comprises the relative distance between the terminal equipment and the lighting equipment and the moving direction of the terminal equipment; establishing a preset control data table according to the relative distance between the terminal equipment and the lighting equipment and the moving direction of the terminal equipment and the working state of the lighting equipment, wherein the relative distance between the terminal equipment and the lighting equipment A is smaller than a first threshold value, the moving direction of the terminal equipment moves towards the lighting equipment A, the corresponding working state of the lighting equipment A is on, the smaller the relative distance between the terminal equipment and the lighting equipment A is, the closer the moving direction of the terminal equipment is to the lighting equipment A, the lower the light brightness level is, the larger the relative distance between the terminal equipment and the lighting equipment A is, and the moving direction of the terminal equipment is far away from the lighting equipment A, the higher the light brightness level is, so that the visual brightness in the same area is kept uniform; correspondingly, the relative distance between the terminal equipment and the lighting equipment A is larger than the second threshold value, and the moving direction of the terminal equipment is the direction away from the lighting equipment A, so that the corresponding working state of the lighting equipment A is closed.
4. A storage medium having stored thereon a computer program which, when executed by one or more processors, implements the light control method of claim 1 or 2.
5. A terminal device comprising a memory and a processor, the memory having stored thereon a computer program which, when executed by the processor, implements the light control method as claimed in claim 1 or 2.
6. The terminal device according to claim 5, wherein the terminal device and the lighting device are both provided with positioning means, and the terminal device and the lighting device are positioned by the positioning means to obtain the relative position information of the terminal device and the lighting device.
CN202111485545.2A 2021-12-07 2021-12-07 Light control method and device, storage medium and terminal equipment Active CN114364106B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111485545.2A CN114364106B (en) 2021-12-07 2021-12-07 Light control method and device, storage medium and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111485545.2A CN114364106B (en) 2021-12-07 2021-12-07 Light control method and device, storage medium and terminal equipment

Publications (2)

Publication Number Publication Date
CN114364106A CN114364106A (en) 2022-04-15
CN114364106B true CN114364106B (en) 2023-05-16

Family

ID=81097657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111485545.2A Active CN114364106B (en) 2021-12-07 2021-12-07 Light control method and device, storage medium and terminal equipment

Country Status (1)

Country Link
CN (1) CN114364106B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116406058A (en) * 2023-04-12 2023-07-07 永林电子股份有限公司 LED intelligent control system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929577A (en) * 2021-02-04 2021-06-08 广东小天才科技有限公司 Flash lamp control method and terminal equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102152643B1 (en) * 2013-07-04 2020-09-08 엘지이노텍 주식회사 The light system using the mobile device
CA2942104A1 (en) * 2014-03-13 2015-09-17 Kortek Industries Pty Ltd Wireless and power line light pairing, dimming and control
CN109429415B (en) * 2017-08-29 2020-09-15 美智光电科技有限公司 Illumination control method, device and system
CN110691451B (en) * 2019-09-10 2020-10-23 珠海格力电器股份有限公司 Intelligent household electrical appliance light control method, equipment and storage medium
CN111278199A (en) * 2020-03-02 2020-06-12 珠海格力电器股份有限公司 Lamp brightness control method, system and storage medium
CN113015104A (en) * 2021-03-05 2021-06-22 深圳小窝科技有限公司 Illumination control method and device based on Bluetooth proximity recognition and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929577A (en) * 2021-02-04 2021-06-08 广东小天才科技有限公司 Flash lamp control method and terminal equipment

Also Published As

Publication number Publication date
CN114364106A (en) 2022-04-15

Similar Documents

Publication Publication Date Title
US9717132B2 (en) Intelligent lighting control system and method
US10932347B2 (en) Intelligent lighting control system electrical connector apparatuses, systems, and methods
US9820359B2 (en) Methods and apparatus for configuration of control devices
CN105431891B (en) lighting controller
CN105137774B (en) Intelligent household appliance control method and device and mobile terminal
EP3570643B1 (en) A configurable lighting system and method
US11469916B2 (en) Bridging mesh device controller for implementing a scene
CN106597860A (en) Household electrical appliance control system, and control device, construction method and control method thereof
CN114364106B (en) Light control method and device, storage medium and terminal equipment
CN111817931A (en) Intelligent household equipment configuration method
WO2019227425A1 (en) Light intensity control method, apparatus and system, user terminal, and computer readable medium
CN114488880A (en) Intelligent control method and device of equipment, intelligent switch and storage medium
CN113485140A (en) Intelligent household regulation and control method, device, equipment and storage medium based on Internet of things
CN111262763A (en) Intelligent household equipment control system and method based on live-action picture
CA2964915A1 (en) Commissioning a configurable user control device for a lighting control system
WO2016112815A1 (en) Method for brightness level adjustment, led lighting device, and lighting system
CN106774783B (en) Energy-saving control method and server
CN208657143U (en) Intelligent House Light control system
CN113692095B (en) Intelligent lighting wall control panel configuration method and intelligent lighting wall control panel
US11337291B2 (en) Smart light bulb with switch control
CN114995179A (en) Smart home control method and device and electronic equipment
CN116939929A (en) Main-free control method and intelligent positioning LED lamp
CN115509137A (en) Electronic equipment control method, device, equipment and storage medium
CN114637217A (en) Intelligent switch system, intelligent household control method, system and storage medium
CN104216345A (en) Intelligent switch control device and control method thereof

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