CN116170919A - Household lamplight control method, device, equipment and computer readable storage medium - Google Patents

Household lamplight control method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN116170919A
CN116170919A CN202211093965.0A CN202211093965A CN116170919A CN 116170919 A CN116170919 A CN 116170919A CN 202211093965 A CN202211093965 A CN 202211093965A CN 116170919 A CN116170919 A CN 116170919A
Authority
CN
China
Prior art keywords
light
brightness value
parameter information
adjustment parameter
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211093965.0A
Other languages
Chinese (zh)
Inventor
徐彬
胡旺
彭涛
王飞
黄勇文
陈苗
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Shangwei Smart Education Lighting Co ltd
Shenzhen Shangwei Intelligent Health Lighting Co ltd
Shenzhen Seva Lighting Co Ltd
Original Assignee
Shenzhen Shangwei Smart Education Lighting Co ltd
Shenzhen Shangwei Intelligent Health Lighting Co ltd
Shenzhen Seva Lighting Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Shangwei Smart Education Lighting Co ltd, Shenzhen Shangwei Intelligent Health Lighting Co ltd, Shenzhen Seva Lighting Co Ltd filed Critical Shenzhen Shangwei Smart Education Lighting Co ltd
Priority to CN202211093965.0A priority Critical patent/CN116170919A/en
Publication of CN116170919A publication Critical patent/CN116170919A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/11Controlling the light source in response to determined parameters by determining the brightness or colour temperature of ambient light
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/105Controlling the light source in response to determined parameters
    • H05B47/115Controlling the light source in response to determined parameters by determining the presence or movement of objects or living beings
    • HELECTRICITY
    • H05ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
    • H05BELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
    • H05B47/00Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
    • H05B47/10Controlling the light source
    • H05B47/16Controlling the light source by timing means
    • 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 application relates to a household light control method, a device, equipment and a computer readable storage medium, and relates to the technical field of intelligent home, wherein the method comprises the following steps: acquiring indoor adjusting parameter information; when the lamplight is in a closed state, judging whether the adjusting parameter information meets a lamplight opening condition or not; if the adjustment parameter information meets the light starting condition, controlling the light to be started; when the lamplight is in an on state, judging whether the adjusting parameter information meets a lamplight closing condition or not; and if the adjustment parameter information meets the light closing condition, controlling the light to be closed. The intelligent control lamp has the effect of intelligently controlling the opening and closing of the lamp light.

Description

Household lamplight control method, device, equipment and computer readable storage medium
Technical Field
The present disclosure relates to the technical field of smart home, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for controlling household light.
Background
At present, in the control process of household light, a user is generally required to control the on/off of the light through a remote control device and a light switch, but with the continuous progress of the smart home technology and the improvement of the living standard of the user, more and more household appliances can realize intelligent operation, so how to intelligently control the on/off of the light becomes one of the problems to be solved in the smart home technology.
Disclosure of Invention
In order to intelligently control the on and off of the light, the application provides a household light control method, a household light control device, household light control equipment and a computer readable storage medium.
In a first aspect, the present application provides a method for controlling household light, which adopts the following technical scheme:
a method of controlling household light, comprising:
acquiring indoor adjusting parameter information;
when the lamplight is in a closed state, judging whether the adjusting parameter information meets a lamplight opening condition or not;
if the adjustment parameter information meets the light starting condition, controlling the light to be started;
when the lamplight is in an on state, judging whether the adjusting parameter information meets a lamplight closing condition or not;
and if the adjustment parameter information meets the light closing condition, controlling the light to be closed.
Through adopting above-mentioned technical scheme, through opening and closing of the control light of adjusting parameter information intelligence, not only can reduce the user and open the amount of labour with closing light, can also reduce the user and forget the possibility of closing light to the electric energy has been saved to a certain extent.
Optionally, the adjusting parameter information includes a time of getting up and a first indoor brightness value corresponding to the alarm clock, and the determining whether the adjusting parameter information meets a light starting condition includes:
judging whether the first indoor brightness value corresponding to the starting moment is smaller than a preset brightness value or not;
if yes, judging that the adjustment parameter information meets the light starting condition.
Optionally, the adjusting parameter information further includes a current date and current weather forecast information, and after the controlling the light to be turned on, the adjusting parameter information further includes:
determining current season information based on the current date;
determining an outdoor brightness value corresponding to the getting-up time based on the current season information, the current weather forecast information and the getting-up time;
judging whether the difference value between the outdoor brightness value and the first indoor brightness value is in a preset range or not;
and if the difference value between the outdoor brightness value and the first indoor brightness value is not in the preset range, sending out prompt information, wherein the prompt information is used for prompting a user to open a curtain.
Through adopting above-mentioned technical scheme, when indoor first luminance value reached the luminance value of predetermineeing, send the suggestion sound in order to suggestion user opens the (window) curtain to utilize natural light illumination, and then save the electric energy.
Optionally, after the sending out the prompt information, the method further includes:
judging whether the first indoor brightness value changes or not;
if the first indoor brightness value changes, acquiring a current second indoor brightness value, and judging whether the second indoor brightness value is smaller than a preset brightness value or not;
if the second indoor brightness value is smaller than the preset brightness value, the light is kept in the on state;
and if the second indoor brightness value is not smaller than the preset brightness value, controlling the light to be turned off.
Optionally, the adjusting parameter information includes door opening information, first identifying information and second identifying information, the first identifying information is used for identifying whether the user is indoor, the second identifying information is used for identifying whether the user is outdoor, and the judging whether the adjusting parameter information meets the light opening condition includes:
after the door opening information is acquired, if the first identification information is acquired, judging that the adjustment parameter information meets the light opening condition;
the judging whether the adjusting parameter information meets the light closing condition comprises the following steps:
and after the door opening information is acquired, if the second identification information is acquired, judging that the adjustment parameter information meets the light closing condition.
Optionally, after the determining that the adjustment parameter information meets the light turning-on condition, the method further includes:
acquiring habit information of a user;
acquiring a walking route and residence time of a user based on the habit information;
determining the starting sequence of the lamplight based on the walking route;
and determining the starting time of the lamplight based on the residence time.
Through adopting above-mentioned technical scheme, confirm the open order of light and the open time of fluorescent tube through user's habit information, light opens in proper order according to the open order of light when user gets into indoor, reduces the possibility of opening the extravagant electric energy of indoor all lights simultaneously to according to open time self-closing light, reduce the user and forget the possibility of closing light, also reduced the possibility of extravagant electric energy to a certain extent.
Optionally, the adjusting parameter information includes a third indoor brightness value and a terminal brightness value, and the determining whether the adjusting parameter information meets a light opening condition includes:
when the third indoor brightness value is smaller than a preset brightness value and the terminal brightness value exists in the room, the duration time of the terminal brightness value is timed to obtain timing time;
and if the timing time reaches the preset time, judging that the adjustment parameter information meets the light starting condition.
In a second aspect, the present application provides a home light control device, which adopts the following technical scheme:
a home light control apparatus comprising:
the acquisition module is used for acquiring indoor adjustment parameter information;
the first judging module is used for judging whether the adjusting parameter information meets the light starting condition when the light is in the off state; if the adjustment parameter information meets the light starting condition, controlling the light to be started;
the second judging module is used for judging whether the adjusting parameter information meets the light closing condition when the light is in the on state; and if the adjustment parameter information meets the light closing condition, controlling the light to be closed.
Through adopting above-mentioned technical scheme, through opening and closing of the control light of adjusting parameter information intelligence, not only can reduce the user and open the amount of labour with closing light, can also reduce the user and forget the possibility of closing light to the electric energy has been saved to a certain extent.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device comprising a processor coupled with a memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method according to any one of the first aspects.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any of the first aspects.
Drawings
Fig. 1 is a schematic flow chart of a method for controlling household lamplight according to an embodiment of the present application.
Fig. 2 is a block diagram illustrating a home light control apparatus 200 according to an embodiment of the present application.
Fig. 3 is a flow chart illustrating an electronic device 300 according to an embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to the accompanying drawings.
The present embodiment is merely illustrative of the present application and is not intended to be limiting, and those skilled in the art, after having read the present specification, may make modifications to the present embodiment without creative contribution as required, but is protected by patent laws within the scope of the claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In addition, the term "and/or" herein is merely an association relationship describing an association object, and means that three relationships may exist, for example, a and/or B may mean: a exists alone, A and B exist together, and B exists alone. In this context, unless otherwise specified, the term "/" generally indicates that the associated object is an "or" relationship.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
The embodiment of the application provides a household lamplight control method, which can be executed by electronic equipment, wherein the electronic equipment can be a server or terminal equipment, the server can be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, and a cloud server for providing cloud computing service. The terminal device may be, but is not limited to, a smart phone, a tablet computer, a desktop computer, etc.
As shown in fig. 1, a main flow of the method for controlling household light is described as follows (steps S101 to S105):
step S101, acquiring indoor adjustment parameter information;
step S102, judging whether the adjustment parameter information meets the light starting condition when the light is in the off state, if so, entering step S103;
step S103, controlling the light to be turned on.
Step S104, when the lamplight is in an on state, judging whether the adjustment parameter information meets the lamplight off condition, if so, entering step S105;
step S105, the light is controlled to be turned off.
The first type of adjusting parameter information comprises alarm clock information and indoor first brightness value, the second type of adjusting parameter information comprises door opening information, first identification information and second identification information, and the third type of adjusting parameter information comprises third indoor brightness value and terminal brightness value.
The following description is made with respect to determining whether each type of adjustment parameter information satisfies the light-on condition and the light-off condition, respectively:
first type of adjustment parameter information:
brightness sensors are provided in living rooms, bedrooms, toilets, kitchens and the like, and in this embodiment, the brightness sensors may be photosensitive sensors, and the photosensitive sensors are used for detecting indoor brightness values. The execution body of the embodiment may be an electronic device or a controller, which is not limited in particular.
In this embodiment, the executing body uses an electronic device as an example to describe the alarm clock information, which can be set by the electronic device, or can be set by a mobile terminal, the mobile terminal can be connected with the electronic device wirelessly, or can be connected with the electronic device by bluetooth, wherein the mobile terminal can be a mobile phone, a tablet, or the like.
When the adjustment parameter information acquired by the electronic equipment is alarm clock information and a first indoor brightness value, judging whether the adjustment parameter information meets the light starting condition or not, wherein the adjustment parameter information comprises the following specific steps:
judging whether the first indoor brightness value corresponding to the starting time is smaller than a preset brightness value or not; if yes, judging that the adjustment parameter information meets the light starting condition.
In this embodiment, the electronic device obtains a start time corresponding to the alarm clock information, when the start time is reached, the photosensitive sensor detects a first indoor luminance value and sends the detected first indoor luminance value to the electronic device, the electronic device stores a preset luminance value, and when the first indoor luminance value received by the electronic device is smaller than the preset luminance value, the electronic device controls the light to be turned on for lighting a user.
It should be noted that, the preset brightness value is a brightness value capable of clearly viewing each object in the room. For example, the first luminance value currently acquired by the photosensitive sensor is daytime, and at this time, the first indoor luminance value is not smaller than the preset luminance value; the first brightness value currently acquired by the photosensitive sensor is at night, and at the moment, the first indoor brightness value is smaller than the preset brightness value.
In this embodiment, the light turning-off condition may be that when the indoor brightness value sent by the photosensitive sensor received by the electronic device is greater than a preset brightness value, the electronic device automatically controls the light to be turned off, or may also be that the user is not detected within a preset time, where whether the user is indoor may be detected by using the thermal infrared human body sensor.
The adjusting parameter information also comprises current date and current weather forecast information, and after the light is controlled to be started, the adjusting parameter information also comprises the following steps (step a-step d):
step a, determining current season information based on a current date;
step b, determining an outdoor brightness value corresponding to the getting-up time based on the current season information, the current weather forecast information and the getting-up time;
step c, judging whether the difference value between the outdoor brightness value and the first indoor brightness value is in a preset range, if so, entering a step d;
and d, sending out prompt information, wherein the prompt information is used for prompting a user to open the curtain.
In this embodiment, after the electronic device controls the light to be turned on, the current date is obtained, for example, the current date is 6 months and 5 days, the starting time corresponding to the alarm clock information is six points, and because the time corresponding to the current date is summer, the outdoor brightness value exceeds the preset brightness value when six points, the electronic device obtains the weather forecast information corresponding to the current date, if the weather state corresponding to the weather forecast information is cloudy, the outdoor brightness value is determined to be smaller than the preset brightness threshold, and if the weather state corresponding to the weather forecast information is sunny, the outdoor brightness value is determined to be greater than the preset brightness value.
The electronic device determines whether the first indoor brightness value and the outdoor brightness value are within a preset range, for example, the current outdoor brightness value is in daytime, and the indoor brightness value is at night, and then determines that the difference between the outdoor brightness value and the first indoor brightness value is not within the preset range, at this time, the electronic device sends prompt information to the user to enable the user to open the curtain, wherein the prompt information may be voice awareness information, or other information agreed with the user, such as music information, and is not specifically limited in this embodiment.
After sending the prompt message, the electronic device needs to judge whether the user opens the curtain, which is as follows:
judging whether the first indoor brightness value changes or not; if the first indoor brightness value changes, acquiring a current second indoor brightness value, and judging whether the second indoor brightness value is smaller than a preset brightness value or not; if the second indoor brightness value is smaller than the preset brightness value, the light is kept in the on state; and if the second indoor brightness value is not smaller than the preset brightness value, controlling the light to be turned off.
In this embodiment, after the electronic device sends the prompt information to the user, the first brightness value in the inspection room of the photosensitive sensor is controlled to be multiple times, where the photosensitive sensor may detect once every 10 seconds, or may detect once every 30 seconds, which is not specifically limited.
When the first brightness value obtained by the electronic equipment changes, the current brightness value is used as a second brightness value, when the electronic equipment judges that the second brightness value is smaller than the preset brightness value, the state of the light on is continuously maintained, and when the electronic equipment judges that the second brightness value is not smaller than the preset brightness value, the light is turned off to save electric energy.
It should be noted that, the color tone of the light can be determined by the current season information, the color tone includes a warm color tone and a cold color tone, and when the current season information is summer, the electronic device can control the color tone of the light to be the cold color tone; when the current season information is winter, the electronic equipment can control the color tone of the light on to be warm.
(II) second type of adjustment parameter information:
the first detection module is arranged at the position, close to the entrance door, in the indoor space, the second detection module is arranged at the position, close to the entrance door, in the outdoor space, the first detection module and the second detection module can be cameras or thermal infrared human body sensors, the entrance door is not particularly limited in the embodiment, and an intelligent door lock, such as a fingerprint lock, a face recognition lock or an inductor for detecting the opening and closing of the door, is arranged on the door.
The first identification information is acquired through the first detection module and is used for identifying whether a user is indoors or not, the second identification information is acquired through the first detection module and is used for identifying whether the user is outdoors or not.
Judging that the adjusting parameter information meets the light starting condition through the second type of adjusting parameter information, wherein the adjusting parameter information comprises the following specific steps:
after door opening information is acquired, if first identification information is acquired, judging that the adjustment parameter information meets the light opening condition; and after the door opening information is acquired, if the second identification information is acquired, controlling the light to be turned off.
In this embodiment, after the electronic device obtains the door opening information, when receiving the first identification information, the electronic device determines that the user enters the room from the outside, and because of the layout in the room, the user door is opened to generally enter the living room, so when the electronic device determines that the user enters the room from the outside, the light of the living room is controlled to be turned on; after the electronic equipment acquires the door opening information, when the second identification information is received, the electronic equipment judges that the user enters outdoors from indoors, and at the moment, the electronic equipment controls the light to be turned off.
After the electronic equipment controls and judges that the lamplight is started, the starting time and the starting sequence of the lamplight are required to be formulated according to habit information of a user, and the method specifically comprises the following steps:
acquiring habit information of a user; acquiring a walking route and a stay time of a user based on habit information; determining the starting sequence of the lamplight based on the walking route; the on-time of the light is determined based on the dwell time.
In this embodiment, the electronic device stores habit information of the user in advance, where the user may input the habit information of the user through a mouse, a keyboard, a touch screen, and other modes of the electronic device, and may collect behavior habits of one week and one month, and take the collected behavior habits as habit information of the user.
Wherein the habit information input by the user includes a walking route of the user, for example, the user enters a living room first after entering the room from the outside, then enters a kitchen, then enters a bedroom, and the residence time of the user; the habit of the user collected by the electronic device includes a walking route and a residence time of the user entering the room from the outside, the residence time can be an average time of one week or one month, and also can be a longest time of one week or one month, which is not particularly limited, the walking route can be formulated according to the frequency of the collected route, for example, the user enters a kitchen from a living room on monday to friday, the user enters a bedroom from the living room on friday and on friday, then the light opening sequence from friday to friday can be the first living room and then the kitchen, the light opening sequence from friday and friday is the first living room and then the bedroom, and the light opening sequence from friday to friday is the first living room and then the kitchen.
(III) class III adjustment parameter information
The adjusting parameter information comprises a third indoor brightness value and a terminal brightness value, and whether the adjusting parameter information meets the light starting condition is judged, specifically as follows:
when the brightness value in the third room is smaller than the preset brightness value and the terminal brightness value exists in the room, the duration time of the brightness value is timed to obtain timing time; if the timing time reaches the preset time, judging that the adjustment parameter information meets the light starting condition; wherein the brightness value includes brightness generated when the user uses the mobile phone.
It should be noted that, the third type of adjustment parameter information is directed to the situation that the light is turned off at night.
In this embodiment, the third indoor brightness value is a brightness value in a night state, and when the light sensor detects a brightness value of a mobile phone or a tablet, the electronic device controls the light to be turned on, wherein the brightness of the turned-on light gradually lightens from weak, so that the possibility that the light is too strong at first, and eyes of a user are stimulated is reduced, and the eyes of the user are further protected.
Fig. 2 is a block diagram of a home light control device 200 provided in the present application. As shown in fig. 2, the home light control apparatus 200 mainly includes:
an acquisition module 201, configured to acquire indoor adjustment parameter information;
a first judging module 202, configured to judge whether the adjustment parameter information satisfies a light on condition when the light is in an off state; if the adjustment parameter information meets the light starting condition, controlling the light to be started;
a second judging module 203, configured to judge whether the adjustment parameter information satisfies a light off condition when the light is in an on state; and if the adjustment parameter information meets the light closing condition, controlling the light to be closed.
As an alternative implementation manner of this embodiment, the determining module 202 includes:
the first judging submodule is used for judging whether the first indoor brightness value corresponding to the starting time is smaller than a preset brightness value or not; if yes, judging that the adjustment parameter information meets the light starting condition.
In this alternative embodiment, the home light control apparatus 200 further includes:
the first determining module is used for determining current season information based on the current date after the control light is turned on;
the second determining module is used for determining an outdoor brightness value corresponding to the getting-up time based on the current season information, the current weather forecast information and the getting-up time;
the difference judging module is used for judging whether the difference value between the outdoor brightness value and the first indoor brightness value is in a preset range or not; and if the difference value between the outdoor brightness value and the first indoor brightness value is not in the preset range, sending out prompt information, wherein the prompt information is used for prompting a user to open the curtain.
In this alternative embodiment, the home light control apparatus 200 further includes:
the information judging module is used for judging whether the first indoor brightness value changes after the prompt information is sent out; if the first indoor brightness value changes, acquiring a current second indoor brightness value, and judging whether the second indoor brightness value is smaller than a preset brightness value or not; if the second indoor brightness value is smaller than the preset brightness value, the light is kept in the on state; and if the second indoor brightness value is not smaller than the preset brightness value, controlling the light to be turned off.
As an optional implementation manner of this embodiment, the determining module 202 further includes:
and the judging sub-module is used for judging that the adjusting parameter information meets the light opening condition if the first identifying information is acquired after the door opening information is acquired.
As an optional implementation manner of this embodiment, the determining module 202 further includes:
the control submodule is configured to determine that the adjustment parameter information satisfies the light turning-off condition after the door opening information is acquired and if the second identification information is acquired, in this optional embodiment, the home light control device 200 further includes:
the information acquisition module is used for acquiring habit information of a user after judging that the adjustment parameter information meets the light starting condition;
the route determining module is used for acquiring a walking route and residence time of the user based on habit information;
the lamplight determining module is used for determining the starting sequence of lamplight based on the walking route;
and the time determining module is used for determining the starting time of the lamplight based on the stay time.
As an optional implementation manner of this embodiment, the determining module 202 further includes:
the timing module is used for timing the duration of the brightness value to obtain timing time when the brightness value in the third room is smaller than the preset brightness value and the brightness value exists in the room;
the condition judging module is used for judging that the adjustment parameter information meets the light starting condition if the timing time reaches the preset time; wherein the brightness value includes brightness generated when the user uses the mobile phone.
The functional modules in the embodiments of the present application may be integrated together to form a single part, or each module may exist alone, or two or more modules may be integrated to form a single part. The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored on a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing an electronic device (which may be a personal computer, a server, a network device, or the like) to perform all or part of the steps of the home light control method of the various embodiments of the present application.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, specific working procedures of the above-described system, apparatus and module may refer to corresponding procedures in the foregoing method embodiments, which are not repeated herein.
Fig. 3 is a block diagram of an electronic device 300 according to an embodiment of the present application. As shown in fig. 3, the electronic device 300 includes a memory 301, a processor 302, and a communication bus 303; the memory 301 and the processor 302 are connected by a communication bus 303. The memory 301 has stored thereon a home light control method that can be loaded and executed by the processor 302 as provided in the above-described embodiment.
Memory 301 may be used to store instructions, programs, code sets, or instruction sets. The memory 301 may include a storage program area and a storage data area, wherein the storage program area may store instructions for implementing an operating system, instructions for at least one function, instructions for implementing the home light control method provided by the above-described embodiments, and the like; the data storage area may store data and the like involved in the household light control method provided in the above embodiment.
Processor 302 may include one or more processing cores. The processor 302 performs various functions and processes of the data of the present application by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 301, invoking data stored in the memory 301. The processor 302 may be at least one of an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), a digital signal processor (Digital Signal Processor, DSP), a digital signal processing device (Digital Signal Processing Device, DSPD), a programmable logic device (Programmable Logic Device, PLD), a field programmable gate array (Field Programmable Gate Array, FPGA), a central processing unit (Central Processing Unit, CPU), a controller, a microcontroller, and a microprocessor. It will be appreciated that the electronics for implementing the functions of the processor 302 described above may be other for different devices, and embodiments of the present application are not specifically limited.
Communication bus 303 may include a path to transfer information between the components. The communication bus 303 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or an EISA (Extended Industry Standard Architecture ) bus, or the like. The communication bus 303 may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one double arrow is shown in FIG. 3, but not only one bus or one type of bus.
The present embodiment provides a computer-readable storage medium storing a computer program capable of being loaded by a processor and executing the home light control method provided in the above embodiment.
In this embodiment, the computer-readable storage medium may be a tangible device that holds and stores instructions for use by the instruction execution device. The computer readable storage medium may be, but is not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any combination of the preceding. In particular, the computer readable storage medium may be a portable computer disk, hard disk, USB flash disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), podium random access memory (SRAM), portable compact disc read-only memory (CD-ROM), digital Versatile Disk (DVD), memory stick, floppy disk, optical disk, magnetic disk, mechanical coding device, and any combination of the foregoing.
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.
The foregoing description is only of the preferred embodiments of the present application and is presented as a description of the principles of the technology being utilized. It will be appreciated by persons skilled in the art that the scope of the application referred to in this application is not limited to the specific combinations of features described above, but it is intended to cover other embodiments in which any combination of features described above or their equivalents is possible without departing from the spirit of the application. Such as the above-mentioned features and the technical features having similar functions (but not limited to) applied for in this application are replaced with each other.

Claims (10)

1. A method for controlling household lighting, comprising:
acquiring indoor adjusting parameter information;
when the lamplight is in a closed state, judging whether the adjusting parameter information meets a lamplight opening condition or not;
if the adjustment parameter information meets the light starting condition, controlling the light to be started;
when the lamplight is in an on state, judging whether the adjusting parameter information meets a lamplight closing condition or not;
and if the adjustment parameter information meets the light closing condition, controlling the light to be closed.
2. The method according to claim 1, wherein the adjustment parameter information includes a start time and a first indoor brightness value corresponding to an alarm clock, and the determining whether the adjustment parameter information satisfies a light on condition includes:
judging whether the first indoor brightness value corresponding to the starting moment is smaller than a preset brightness value or not;
if yes, judging that the adjustment parameter information meets the light starting condition.
3. The method of claim 2, wherein the adjustment parameter information further comprises a current date and current weather forecast information, and further comprising, after the controlling the light to be turned on:
determining current season information based on the current date;
determining an outdoor brightness value corresponding to the getting-up time based on the current season information, the current weather forecast information and the getting-up time;
judging whether the difference value between the outdoor brightness value and the first indoor brightness value is in a preset range or not;
and if the difference value between the outdoor brightness value and the first indoor brightness value is not in the preset range, sending out prompt information, wherein the prompt information is used for prompting a user to open a curtain.
4. A method according to claim 3, further comprising, after said issuing a hint,:
judging whether the first indoor brightness value changes or not;
if the first indoor brightness value changes, acquiring a current second indoor brightness value, and judging whether the second indoor brightness value is smaller than a preset brightness value or not;
if the second indoor brightness value is smaller than the preset brightness value, the light is kept in the on state;
and if the second indoor brightness value is not smaller than the preset brightness value, controlling the light to be turned off.
5. The method of claim 1, wherein the adjustment parameter information includes door opening information, first identification information for identifying whether a user is indoors, and second identification information for identifying whether a user is outdoors, and wherein the determining whether the adjustment parameter information satisfies a light on condition includes:
after the door opening information is acquired, if the first identification information is acquired, judging that the adjustment parameter information meets the light opening condition;
the judging whether the adjusting parameter information meets the light closing condition comprises the following steps:
and after the door opening information is acquired, if the second identification information is acquired, judging that the adjustment parameter information meets the light closing condition.
6. The method of claim 5, further comprising, after said determining that said adjustment parameter information satisfies said light-on condition:
acquiring habit information of a user;
acquiring a walking route and residence time of a user based on the habit information;
determining the starting sequence of the lamplight based on the walking route;
and determining the starting time of the lamplight based on the residence time.
7. The method of claim 1, wherein the adjustment parameter information includes a third indoor brightness value and a terminal brightness value, and the determining whether the adjustment parameter information satisfies a light on condition includes:
when the third indoor brightness value is smaller than a preset brightness value and the terminal brightness value exists in the room, the duration time of the terminal brightness value is timed to obtain timing time;
and if the timing time reaches the preset time, judging that the adjustment parameter information meets the light starting condition.
8. A home light control apparatus, comprising:
the acquisition module is used for acquiring indoor adjustment parameter information;
the first judging module is used for judging whether the adjusting parameter information meets the light starting condition when the light is in the off state; if the adjustment parameter information meets the light starting condition, controlling the light to be started;
the second judging module is used for judging whether the adjusting parameter information meets the light closing condition when the light is in the on state; and if the adjustment parameter information meets the light closing condition, controlling the light to be closed.
9. An electronic device comprising a processor coupled to a memory;
the processor is configured to execute a computer program stored in the memory to cause the electronic device to perform the method of any one of claims 1 to 7.
10. A computer readable storage medium comprising a computer program or instructions which, when run on a computer, cause the computer to perform the method of any of claims 1 to 7.
CN202211093965.0A 2022-09-08 2022-09-08 Household lamplight control method, device, equipment and computer readable storage medium Pending CN116170919A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211093965.0A CN116170919A (en) 2022-09-08 2022-09-08 Household lamplight control method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211093965.0A CN116170919A (en) 2022-09-08 2022-09-08 Household lamplight control method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116170919A true CN116170919A (en) 2023-05-26

Family

ID=86416998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211093965.0A Pending CN116170919A (en) 2022-09-08 2022-09-08 Household lamplight control method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116170919A (en)

Similar Documents

Publication Publication Date Title
CN105357842B (en) Master control intelligent lamp
JP6603439B2 (en) Lighting control
WO2019080123A9 (en) Method for controlling illuminating lamp and device thereof, and illuminating lamp
WO2018129716A1 (en) Intelligent light control system and method
CN110131846B (en) Intelligent air conditioner control method and air conditioner
US20180363937A1 (en) Control apparatus, control method, and program
CN110891352B (en) Control method and control system for intelligent lamp
CN111766795A (en) Intelligent home master control system and method based on Internet of things
JP6497624B2 (en) Switch, device control system, program
CN103940037A (en) Control method and device of air conditioner display screen
CN111965991A (en) Authority adjusting method and device of intelligent control switch, intelligent control switch and storage medium
JP2019527456A (en) Lighting control
CN105228321B (en) A kind of Intelligent House Light system and its operation method based on Zigbee and WiFi network
JP6497619B2 (en) Device control apparatus, device control method, and program
CN110578961A (en) wall-mounted boiler control method, control equipment, wall-mounted boiler and computer storage medium
CN112785802B (en) Intelligent household security system control method and device, electronic equipment and medium
CN109447179B (en) Community property management system based on big data
CN105657938A (en) Lamp control system of smart home
CN116170919A (en) Household lamplight control method, device, equipment and computer readable storage medium
US20140285017A1 (en) Electrical Equipment Control Apparatus and Electrical Equipment Control System
CN113873735B (en) Lamplight control method and device for lamplight door, intelligent terminal and storage medium
CN114077265A (en) Temperature control method and system, temperature control equipment and light switch
CN114114949A (en) Intelligent home control system and method based on big data analysis
CN113848746A (en) Control method and device of household equipment, storage medium and household equipment
CN116368947A (en) Determining a position of a presence sensor or an optical switch based on a control history

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