CN105392257B - Control the method and device of intelligent lamp - Google Patents

Control the method and device of intelligent lamp Download PDF

Info

Publication number
CN105392257B
CN105392257B CN201510886194.4A CN201510886194A CN105392257B CN 105392257 B CN105392257 B CN 105392257B CN 201510886194 A CN201510886194 A CN 201510886194A CN 105392257 B CN105392257 B CN 105392257B
Authority
CN
China
Prior art keywords
intelligent lamp
terminal
current time
instruction
time period
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
CN201510886194.4A
Other languages
Chinese (zh)
Other versions
CN105392257A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510886194.4A priority Critical patent/CN105392257B/en
Publication of CN105392257A publication Critical patent/CN105392257A/en
Application granted granted Critical
Publication of CN105392257B publication Critical patent/CN105392257B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • 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/175Controlling the light source by remote control
    • H05B47/19Controlling the light source by remote control via wireless transmission
    • 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

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)

Abstract

The disclosure is directed to control the method and device of intelligent lamp.This method includes:Obtain the current state information of terminal;Judge the terminal whether in preset state according to the current state information;When the terminal is in preset state, whether monitoring current time is in preset time period;When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is used to control the working condition of the intelligent lamp.The technical solution provides users with the convenient so as to fast and automatically be turned on and off intelligent lamp by the state of monitoring terminal and residing time.

Description

Control the method and device of intelligent lamp
Technical field
This disclosure relates to Smart Home technical field more particularly to the method and device of control intelligent lamp.
Background technology
Smart home is that Thingsization embodies under the influence of internet.Smart home will be in family by technology of Internet of things Various equipment (air-conditioning, such as audio & video equipment, lighting system, curtain control, safety-protection system, Digital Theater System, audio-visual services Device, shadow cabinet system, network home appliance etc.) it connects together, it is distant to provide home wiring control, Lighting control, remote control using telephone, indoor and outdoor The multiple functions such as control, burglar alarm, environmental monitoring, HVAC control, infrared forwarding and programmable Timer control and means.
Illumination in smart home also breaches the limitation of traditional lighting by introducing interconnection technique, makes common lamps and lanterns Become more " clever ", but in terms of user experience is promoted, intelligent lamp need to be further improved.
Invention content
The embodiment of the present disclosure provides the method and device of control intelligent lamp.The technical solution is as follows:
According to the embodiment of the present disclosure in a first aspect, provide it is a kind of control intelligent lamp method, including:
Obtain the current state information of terminal;
Judge the terminal whether in preset state according to the current state information;
When the terminal is in preset state, whether monitoring current time is in preset time period;
When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is used to control The working condition of the intelligent lamp.
In one embodiment,
The preset state may include any one of following state or multinomial:
Network is preset in the terminal access, the terminal passes through near field network and the intelligent lamp establishes connection, the end End and the distance of the intelligent lamp are in the range of pre-determined distance.
In one embodiment,
Whether the monitoring current time is in preset time period, it may include:
Monitor whether current time is in night hours section;
It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is used for The working condition of the intelligent lamp is controlled, including:
When current time is in night hours section, the first instruction is sent to intelligent lamp, described first instructs to open The intelligent lamp.
In one embodiment, the method may also include:
Obtain the current sleep status information of user;
Judge whether user has fallen asleep according to the current sleep status information of the user;
When judging that user has fallen asleep, the second instruction is sent to intelligent lamp, described second instructs to close the intelligence It can lamp.
In one embodiment, the method may also include:
What reception inputted is used to adjust the bright dark regulating command of the intelligent lamp;
According to the regulating command by the brightness regulation of the intelligent lamp to predetermined luminance corresponding with the regulating command.
In one embodiment, whether the monitoring current time is in preset time period, it may include:
Monitor whether current time is in day time period;
It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is used for The working condition of the intelligent lamp is controlled, including:
When current time is in day time period, whether the intelligent lamp is monitored in opening;
When the intelligent lamp is in opening, third instruction is sent to the intelligent lamp, the third instruction is used for Close the intelligent lamp.
According to the second aspect of the embodiment of the present disclosure, a kind of device for controlling intelligent lamp is provided, including:
First acquisition module, for obtaining the current state information of terminal;
First judgment module, for judging the terminal whether in preset state according to the current state information;
Monitoring modular, for when the terminal is in preset state, whether monitoring current time to be in preset time period;
First sending module, it is described for when current time is in preset time period, control instruction to be sent to intelligent lamp Control instruction is used to control the working condition of the intelligent lamp.
In one embodiment,
The preset state may include any one of following state or multinomial:
Network is preset in the terminal access, the terminal passes through near field network and the intelligent lamp establishes connection, the end End and the distance of the intelligent lamp are in the range of pre-determined distance.
In one embodiment, the monitoring modular, it may include:
First monitoring submodule, for whether monitoring current time in night hours section;
First sending module, including:
First sending submodule, for when current time is in night hours section, the first instruction, institute to be sent to intelligent lamp The first instruction is stated for opening the intelligent lamp.
In one embodiment, described device may also include:
Second acquisition module, for obtaining the current sleep status information of user;
Second judgment module judges whether user has fallen asleep for the current sleep status information according to the user;
Second sending module, for when judging that user has fallen asleep, sending the second instruction to intelligent lamp, described second refers to It enables closing the intelligent lamp.
In one embodiment, described device may also include:
Receiving module, for receive input for adjusting the bright dark regulating command of the intelligent lamp;
Adjustment module, for according to the regulating command by the brightness regulation of the intelligent lamp to the regulating command pair The predetermined luminance answered.
In one embodiment, the monitoring modular, it may include:
Second monitoring submodule, for whether monitoring current time in day time period;
First sending module, including:
Third monitors submodule, for when current time is in day time period, monitoring whether the intelligent lamp is in Opening;
Second sending submodule, for when the intelligent lamp is in opening, sending third to the intelligent lamp and referring to It enables, the third instructs to close the intelligent lamp.
According to the third aspect of the embodiment of the present disclosure, a kind of device for controlling intelligent lamp is provided, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the current state information of terminal;
Judge the terminal whether in preset state according to the current state information;
When the terminal is in preset state, whether monitoring current time is in preset time period;
When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is used to control The working condition of the intelligent lamp.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Above-mentioned technical proposal obtains the current state information of terminal;Judge whether terminal is according to current state information Preset state;When terminal is in preset state, whether monitoring current time is in preset time period;When current time is in pre- If during the period, control instruction is sent to intelligent lamp, control instruction is used to control the working condition of intelligent lamp.So as to pass through The state of monitoring terminal and residing time are fast and automatically turned on and off intelligent lamp, provide users with the convenient.
It should be understood that above general description and following detailed description are only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
Attached drawing herein is incorporated into specification and forms the part of this specification, shows the implementation for meeting the disclosure Example, and for explaining the principle of the disclosure together with specification.
Fig. 1 is the flow chart according to the method for the control intelligent lamp shown in an exemplary embodiment.
Fig. 2 is the flow chart according to the method for another control intelligent lamp shown in an exemplary embodiment.
Fig. 3 is the flow chart according to the method for another control intelligent lamp shown in an exemplary embodiment.
Fig. 4 is the flow chart according to the method for another control intelligent lamp shown in an exemplary embodiment.
Fig. 5 is the flow chart according to the method for another control intelligent lamp shown in an exemplary embodiment.
Fig. 6 A are the flow charts according to the method for the control intelligent lamp shown in an exemplary embodiment one.
Fig. 6 B are the block diagrams according to the device of the control intelligent lamp shown in an exemplary embodiment.
Fig. 7 is the block diagram in the device of another control intelligent lamp shown in an exemplary embodiment.
Fig. 8 is the block diagram in the device of another control intelligent lamp shown in an exemplary embodiment.
Fig. 9 is the block diagram in the device of another control intelligent lamp shown in an exemplary embodiment.
Figure 10 is the block diagram in the device of another control intelligent lamp shown in an exemplary embodiment.
Figure 11 is the block diagram according to the device for being suitable for control intelligent lamp shown in an exemplary embodiment.
Specific embodiment
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The technical solution that the embodiment of the present disclosure provides, when terminal is in preset state, whether monitoring current time is in Preset time period;When current time is in preset time period, control instruction is sent to intelligent lamp, control instruction is used to control intelligence The working condition of energy lamp, so as to be fast and automatically turned on and off by the state of monitoring terminal and residing time Intelligent lamp provides users with the convenient.
Fig. 1 is according to a kind of flow chart of the method for control intelligent lamp shown in an exemplary embodiment, and the above method can For in terminal, terminal can be mobile phone, computer, digital broadcast terminal, messaging devices, and game console is put down Any terminals equipment such as panel device, Medical Devices, body-building equipment, personal digital assistant.The embodiment of the present disclosure does not limit.Such as figure Shown in 1, the above method includes the following steps S101-S103:
In step S101, the current state information of terminal is obtained.
The current state information of terminal can include one or more in following information:Whether terminal accesses network;When During accessing terminal to network, the mark of the network accessed, whether terminal is established by near field network and intelligent lamp connects, terminal With the distance of intelligent lamp, whether terminal is established by bluetooth and intelligent lamp connects.
In step s 102, judge terminal whether in preset state according to current state information;
In one embodiment, preset state may include any one of following state or multinomial:
The default network of terminal access, terminal establish the distance of connection, terminal and intelligent lamp by near field network and intelligent lamp In the range of pre-determined distance.
User can pre-set default network, when terminal accesses default network, determine that terminal is in preset state.Than Such as, in WIFI, when terminal connect same WIFI with intelligent lamp, the default network of terminal access is determined.Terminal passes through near Network is established with intelligent lamp and is connected, such as when terminal is connected automatically to intelligent lamp by bluetooth, determines that terminal is in default shape State.Terminal and the distance of intelligent lamp are in the range of pre-determined distance, and pre-determined distance range can be pre-set by user or system, For example can be when terminal and the distance of intelligent lamp are in the range of the pre-determined distance, to determine in the range of pre-determined distance in 50 meters Terminal is in preset state.
In step s 103, when terminal is in preset state, whether monitoring current time is in preset time period;
In step S104, when current time is in preset time period, control instruction, control instruction are sent to intelligent lamp For controlling the working condition of intelligent lamp.
In this step, when terminal is in preset state, it is also predefined whether current time is in preset time period, only When current time is in preset time period, control instruction just is sent to intelligent lamp, when current time is not in preset time period When, then do not send control instruction to intelligent lamp.Can current time be monitored according to the system time of terminal.Preset time period can To be preset by user, one or more can be set.Oneself next period got home can be set as default by user Period when user, which comes off duty, to get home, sends control instruction from trend intelligent lamp, opens intelligent lamp, returned so as to avoid user Pitch-dark scene between family's back room.
The above method of the embodiment of the present disclosure, when terminal is in preset state, whether monitoring current time is in default Period;When current time is in preset time period, control instruction is sent to intelligent lamp, control instruction is used to control intelligent lamp Working condition, so as to fast and automatically be turned on and off intelligence by the state of monitoring terminal and residing time Lamp provides users with the convenient.
In one embodiment, as shown in Fig. 2, whether the monitoring current time in step S103 is in preset time period, It may include following steps S201:
In step s 201, whether monitoring current time is in night hours section;
At this point, step S104 can be embodied as step S202:
In step S202, when current time is in night hours section, the first instruction, the first instruction are sent to intelligent lamp For opening intelligent lamp.
User can pre-set night hours section, and night hours section for example can be evening 6:00-8:00, the period It usually comes off duty for user the period got home, current time is at night 7:When 00, determine that current time is in night hours section, when When current time is in night hours section, the first instruction for opening intelligent lamp is sent to intelligent lamp.
In the present embodiment, when current time is in night hours section, intelligent lamp is automatically turned on, so as to be returned at user's night During family, can intelligent lamp be opened for user automatically, lamp is looked under the pitch-dark situation in room after going home so as to avoid user Switch, provided a convenient to client, improve the usage experience of user.
In one embodiment, as shown in figure 3, the above method can also include the following steps S105-S107:
In step S105, the current sleep status information of user is obtained;
In step s 106, judge whether user has fallen asleep according to the current sleep status information of user;
In step s 107, when judging that user has fallen asleep, the second instruction is sent to intelligent lamp, second instructs to close Close intelligent lamp.
As shown in figure 3, above-mentioned steps can perform after step S104.
In the present embodiment, the current sleep status information of user can be monitored by intelligent wearable device such as bracelet, then Sleep state information is uploaded to terminal device, sleep state information can be that whether user has fallen asleep, user is in sound sleep The status informations such as dormancy or shallow sleep.When judging that user has fallen asleep, the second instruction for closing intelligent lamp is sent to intelligent lamp, To close intelligent lamp.So as to which intelligent lamp be automatically closed for user after user falls asleep, waste electricity is avoided, and without user It is turned off manually, is brought conveniently for user.
In the present embodiment, the state of intelligent lamp when judging that user has fallen asleep, can also be detected, if intelligent lamp is to close It closes, then without sending control instruction to intelligent lamp, sends unnecessary instruction so as to avoid to intelligent lamp, only work as detection When the state for going out intelligent lamp is opening, just the second instruction is sent to intelligent lamp.
In one embodiment, as shown in figure 4, the above method can also include the steps of S108-S109:
In step S108, receive input for adjusting the bright dark regulating command of intelligent lamp;
In step S109, according to regulating command by the brightness regulation of intelligent lamp to corresponding with regulating command default bright Degree.
As shown in figure 4, above-mentioned steps can perform after step S104.It, can be as needed after user opens intelligent lamp Adjust the brightness of intelligent lamp.
In the present embodiment, user can also adjust the bright dark of intelligent lamp by terminal device, so as to easily by intelligence Energy lamp is adjusted to the desired brightness of user.
In one embodiment, as shown in figure 5, whether the monitoring current time in step S103 is in preset time period, It may include following steps S501:
In step S501, whether monitoring current time is in day time period;
At this point, step S104 can be embodied as step S502-S503:
In step S502, when current time is in day time period, whether monitoring intelligent lamp is in opening;
In step S503, when intelligent lamp is in opening, third instruction is sent to intelligent lamp, third instruction is used for Close intelligent lamp.
In the present embodiment, user can pre-set day time period, and day time period for example can be morning 7:00-8: 30, which is the period that user usually goes out to work, and current time is morning 8:When 00, determine that current time is in white Its period when current time is in day time period, the third instruction for closing intelligent lamp is sent to intelligent lamp, to close intelligence It can lamp.The situation of electricity is forgotten to turn off the light and wasted so as to avoid user after going to work.
It is envisioned that day time period can set one or more, user can be according to the actual demand of oneself It is configured.
The above-mentioned technical proposal of embodiment of the present disclosure offer is provided below with specific embodiment.
Embodiment one
The method of control intelligent lamp that embodiment one is provided using the embodiment of the present disclosure, by taking mobile phone as an example, wherein, during night Between section at night 6:30-8:00, preset state accesses consolidated network for terminal and intelligent lamp.As shown in Figure 6A, mobile phone is following It proceeds as follows:
In step s 601, the mark of network that terminal is accessed is obtained.
In step S602, determine whether the network that the network that terminal is accessed is accessed with intelligent lamp is consolidated network,
In step S603, when the network that the network that terminal is accessed is accessed with intelligent lamp is consolidated network, monitoring Whether current time is in night hours section;
In step s 604, when current time is in night hours section, the control for opening intelligent lamp is sent to intelligent lamp Instruction.
Embodiment one, in the present embodiment, when terminal and intelligent lamp access consolidated network and current time is in night hours Duan Shi automatically turns on intelligent lamp, so as to when user goes home at night, open intelligent lamp for user automatically, avoid user The switch of lamp is looked for after going home under the pitch-dark situation in room, is provided a convenient to client, improves the usage experience of user.
Following is embodiment of the present disclosure, can be used for performing embodiments of the present disclosure.
Fig. 6 B are according to a kind of block diagram of the device of control intelligent lamp shown in an exemplary embodiment, which can lead to Cross software, hardware or both be implemented in combination with it is some or all of as electronic equipment.As shown in Figure 6B, control intelligence The device of lamp includes:
First acquisition module 61 is configured as obtaining the current state information of terminal;
Whether the first judgment module 62 is configured as judging terminal in preset state according to current state information;
Monitoring modular 63, when being configured as terminal and being in preset state, whether monitoring current time is in preset time Section;
First sending module 64 when being configured as current time and being in preset time period, sends control to intelligent lamp and refers to It enables, control instruction is used to control the working condition of intelligent lamp.
The above device of the embodiment of the present disclosure, when terminal is in preset state, whether monitoring current time is in default Period;When current time is in preset time period, control instruction is sent to intelligent lamp, control instruction is used to control intelligent lamp Working condition, so as to fast and automatically be turned on and off intelligence by the state of monitoring terminal and residing time Lamp provides users with the convenient.
In one embodiment,
Preset state may include any one of following state or multinomial:
The default network of terminal access, terminal establish the distance of connection, terminal and intelligent lamp by near field network and intelligent lamp In the range of pre-determined distance.
In one embodiment, as shown in fig. 7, monitoring modular 63, it may include:
Whether first monitoring submodule 71 is configured as monitoring current time in night hours section;
First sending module 64, including:
When being configured as current time and being in night hours section, first is sent to intelligent lamp for first sending submodule 72 Instruction, first instructs to open intelligent lamp.
In the present embodiment, when current time is in night hours section, intelligent lamp is automatically turned on, so as to be returned at user's night During family, can intelligent lamp be opened for user automatically, lamp is looked under the pitch-dark situation in room after going home so as to avoid user Switch, provided a convenient to client, improve the usage experience of user.
In one embodiment, as shown in figure 8, above device may also include:
Second acquisition module 65 is configured as obtaining the current sleep status information of user;
Second judgment module 66 is configured as judging whether user has fallen asleep according to the current sleep status information of user;
Second sending module 67 when being configured as judging that user has fallen asleep, sends second to intelligent lamp and instructs, and second It instructs to close intelligent lamp.
In the present embodiment, the current sleep status information of user can be monitored by intelligent wearable device such as bracelet, then Sleep state information is uploaded to terminal device, sleep state information can be that whether user has fallen asleep, user is in sound sleep The status informations such as dormancy or shallow sleep.When judging that user has fallen asleep, the second instruction for closing intelligent lamp is sent to intelligent lamp, To close intelligent lamp.So as to which intelligent lamp be automatically closed for user after user falls asleep, waste electricity is avoided, and without user It is turned off manually, is brought conveniently for user.
In one embodiment, as shown in figure 9, above device may also include:
Receiving module 68, be configured as receiving input for adjusting the bright dark regulating command of intelligent lamp;
Adjustment module 69 is configured as the brightness regulation of intelligent lamp according to regulating command to corresponding with regulating command pre- If brightness.
In the present embodiment, user can also adjust the bright dark of intelligent lamp by terminal device, so as to easily by intelligence Energy lamp is adjusted to the desired brightness of user.
In one embodiment, as shown in Figure 10, monitoring modular 63, it may include:
Whether second monitoring submodule 101 is configured as monitoring current time in day time period;
First sending module 64, including:
Third monitors submodule 102, when being configured as current time and be in day time period, monitors whether intelligent lamp is located In opening;
Second sending submodule 103 when being configured as intelligent lamp and being in opening, sends third to intelligent lamp and refers to It enables, third instructs to close intelligent lamp.
In the present embodiment, user can pre-set day time period, when current time is in day time period, Xiang Zhi Energy lamp sends the third instruction for closing intelligent lamp, to close intelligent lamp.Forget to turn off the light after going to work so as to avoid user and waste The situation of electricity.
The embodiment of the present disclosure also provides a kind of device for controlling intelligent lamp, including:
Processor;
For storing the memory of processor-executable instruction;
Wherein, the processor is configured as:
Obtain the current state information of terminal;
Judge the terminal whether in preset state according to the current state information;
When the terminal is in preset state, whether monitoring current time is in preset time period;
When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is used to control The working condition of the intelligent lamp.
Above-mentioned processor is configured as:
The preset state may include any one of following state or multinomial:
Network is preset in the terminal access, the terminal passes through near field network and the intelligent lamp establishes connection, the end End and the distance of the intelligent lamp are in the range of pre-determined distance.
Above-mentioned processor is configured as:
Monitor whether current time is in night hours section;
When current time is in night hours section, the first instruction is sent to intelligent lamp, described first instructs to open The intelligent lamp.
Above-mentioned processor is configured as:
Obtain the current sleep status information of user;
Judge whether user has fallen asleep according to the current sleep status information of the user;
When judging that user has fallen asleep, the second instruction is sent to intelligent lamp, described second instructs to close the intelligence It can lamp.
Above-mentioned processor is configured as:
What reception inputted is used to adjust the bright dark regulating command of the intelligent lamp;
According to the regulating command by the brightness regulation of the intelligent lamp to predetermined luminance corresponding with the regulating command.
Above-mentioned processor is configured as:
Monitor whether current time is in day time period;
It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is used for The working condition of the intelligent lamp is controlled, including:
When current time is in day time period, whether the intelligent lamp is monitored in opening;
When the intelligent lamp is in opening, third instruction is sent to the intelligent lamp, the third instruction is used for Close the intelligent lamp.
Figure 11 is according to a kind of for controlling the block diagram of the device of intelligent lamp shown in an exemplary embodiment, which fits For terminal device.For example, device 1200 can be mobile phone, and computer, digital broadcast terminal, messaging devices, trip Play console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc..
Device 1200 can include following one or more components:Processing component 1202, memory 1204, power supply module 1206, multimedia component 1208, audio component 1210, the interface 1212 of input/output (I/O), sensor module 1214 and Communication component 1216.
The integrated operation of 1202 usual control device 1200 of processing component, such as with display, call, data communication, Camera operation and record operate associated operation.Processing component 1202 can be performed including one or more processors 1220 Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1202 can include one or more moulds Block, convenient for the interaction between processing component 1202 and other assemblies.For example, processing component 1202 can include multi-media module, To facilitate the interaction between multimedia component 1208 and processing component 1202.
Memory 1204 is configured as storing various types of data to support the operation in equipment 1200.These data Example is included for the instruction of any application program or method that is operated on device 1200, contact data, telephone book data, Message, picture, video etc..Memory 1204 can by any kind of volatibility or non-volatile memory device or they Combination is realized, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM), it is erasable can Program read-only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, flash memory Reservoir, disk or CD.
Power supply module 1206 provides electric power for the various assemblies of device 1200.Power supply module 1206 can include power management System, one or more power supplys and other generate, manage and distribute electric power associated component with for device 1200.
Multimedia component 1208 is included in the screen of one output interface of offer between described device 1200 and user. In some embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, Screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch and passes Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or slide dynamic The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, it is more Media component 1208 includes a front camera and/or rear camera.When equipment 1200 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 1210 is configured as output and/or input audio signal.For example, audio component 1210 includes a wheat Gram wind (MIC), when device 1200 is in operation mode, during such as call model, logging mode and speech recognition mode, microphone quilt It is configured to receive external audio signal.The received audio signal can be further stored in memory 1204 or via communication Component 1216 is sent.In some embodiments, audio component 1210 further includes a loud speaker, for exports audio signal.
I/O interfaces 1212 provide interface, above-mentioned peripheral interface module between processing component 1202 and peripheral interface module Can be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and Locking press button.
Sensor module 1214 includes one or more sensors, and the state for providing various aspects for device 1200 is commented Estimate.For example, sensor module 1214 can detect opening/closed state of equipment 1200, the relative positioning of component, such as institute The display and keypad that component is device 1200 are stated, sensor module 1214 can be with detection device 1200 or device 1,200 1 The position change of a component, the existence or non-existence that user contacts with device 1200,1200 orientation of device or acceleration/deceleration and dress Put 1200 temperature change.Sensor module 1214 can include proximity sensor, be configured in no any physics It is detected the presence of nearby objects during contact.Sensor module 1214 can also include optical sensor, as CMOS or ccd image are sensed Device, for being used in imaging applications.In some embodiments, which can also include acceleration sensing Device, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 1216 is configured to facilitate the communication of wired or wireless way between device 1200 and other equipment.Dress The wireless network based on communication standard, such as WiFi can be accessed by putting 1200,2G or 3G or combination thereof.It is exemplary at one In embodiment, communication component 1216 receives broadcast singal or broadcast correlation from external broadcasting management system via broadcast channel Information.In one exemplary embodiment, the communication component 1216 further includes near-field communication (NFC) module, to promote short distance Communication.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1200 can be by one or more application application-specific integrated circuit (ASIC), number Signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided Such as include the memory 1204 of instruction, above-metioned instruction can be performed to complete the above method by the processor 820 of device 1200.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of device 1200 When device performs so that the method that device 1200 is able to carry out above-mentioned control intelligent lamp, the method includes:
Obtain the current state information of terminal;
Judge the terminal whether in preset state according to the current state information;
When the terminal is in preset state, whether monitoring current time is in preset time period;
When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is used to control The working condition of the intelligent lamp.
In one embodiment,
The preset state may include any one of following state or multinomial:
Network is preset in the terminal access, the terminal passes through near field network and the intelligent lamp establishes connection, the end End and the distance of the intelligent lamp are in the range of pre-determined distance.
In one embodiment,
Whether the monitoring current time is in preset time period, it may include:
Monitor whether current time is in night hours section;
It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is used for The working condition of the intelligent lamp is controlled, including:
When current time is in night hours section, the first instruction is sent to intelligent lamp, described first instructs to open The intelligent lamp.
In one embodiment, the method may also include:
Obtain the current sleep status information of user;
Judge whether user has fallen asleep according to the current sleep status information of the user;
When judging that user has fallen asleep, the second instruction is sent to intelligent lamp, described second instructs to close the intelligence It can lamp.
In one embodiment, the method may also include:
What reception inputted is used to adjust the bright dark regulating command of the intelligent lamp;
According to the regulating command by the brightness regulation of the intelligent lamp to predetermined luminance corresponding with the regulating command.
In one embodiment, whether the monitoring current time is in preset time period, it may include:
Monitor whether current time is in day time period;
It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is used for The working condition of the intelligent lamp is controlled, including:
When current time is in day time period, whether the intelligent lamp is monitored in opening;
When the intelligent lamp is in opening, third instruction is sent to the intelligent lamp, the third instruction is used for Close the intelligent lamp.
Those skilled in the art will readily occur to the disclosure its after considering specification and putting into practice disclosure disclosed herein Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principle of the disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments are considered only as illustratively, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by appended claim.

Claims (12)

  1. A kind of 1. method for controlling intelligent lamp, which is characterized in that including:
    Obtain the current state information of terminal;
    Judge the terminal whether in preset state according to the current state information;
    When the terminal is in preset state, whether monitoring current time is in preset time period;
    When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is described for controlling The working condition of intelligent lamp;
    The preset state includes any one of following state or multinomial:
    The terminal accesses same default network with the intelligent lamp, and the terminal is built by near field network and the intelligent lamp Vertical connection.
  2. 2. the method as described in claim 1, which is characterized in that whether the monitoring current time is in preset time period, packet It includes:
    Monitor whether current time is in night hours section;
    It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is for controlling The working condition of the intelligent lamp, including:
    When current time is in night hours section, the first instruction is sent to intelligent lamp, first instruction is described for opening Intelligent lamp.
  3. 3. method as claimed in claim 2, which is characterized in that the method further includes:
    Obtain the current sleep status information of user;
    Judge whether user has fallen asleep according to the current sleep status information of the user;
    When judging that user has fallen asleep, the second instruction is sent to intelligent lamp, described second instructs to close the intelligent lamp.
  4. 4. method as claimed in claim 2, which is characterized in that the method further includes:
    What reception inputted is used to adjust the bright dark regulating command of the intelligent lamp;
    According to the regulating command by the brightness regulation of the intelligent lamp to predetermined luminance corresponding with the regulating command.
  5. 5. the method as described in claim 1, which is characterized in that whether the monitoring current time is in preset time period, packet It includes:
    Monitor whether current time is in day time period;
    It is described when current time is in preset time period, send control instruction to intelligent lamp, the control instruction is for controlling The working condition of the intelligent lamp, including:
    When current time is in day time period, whether the intelligent lamp is monitored in opening;
    When the intelligent lamp is in opening, third instruction is sent to the intelligent lamp, the third instructs to close The intelligent lamp.
  6. 6. a kind of device for controlling intelligent lamp, which is characterized in that including:
    First acquisition module, for obtaining the current state information of terminal;
    First judgment module, for judging the terminal whether in preset state according to the current state information;
    Monitoring modular, for when the terminal is in preset state, whether monitoring current time to be in preset time period;
    First sending module, for when current time is in preset time period, control instruction, the control to be sent to intelligent lamp Instruct the working condition for controlling the intelligent lamp;
    The preset state includes any one of following state or multinomial:
    The terminal accesses same default network with the intelligent lamp, and the terminal is built by near field network and the intelligent lamp Vertical connection.
  7. 7. device as claimed in claim 6, which is characterized in that the monitoring modular, including:
    First monitoring submodule, for whether monitoring current time in night hours section;
    First sending module, including:
    For when current time is in night hours section, the first instruction is sent to intelligent lamp for first sending submodule, and described the One instructs to open the intelligent lamp.
  8. 8. device as claimed in claim 7, which is characterized in that described device further includes:
    Second acquisition module, for obtaining the current sleep status information of user;
    Second judgment module judges whether user has fallen asleep for the current sleep status information according to the user;
    Second sending module, for when judging that user has fallen asleep, sending the second instruction to intelligent lamp, second instruction is used In the closing intelligent lamp.
  9. 9. device as claimed in claim 7, which is characterized in that described device further includes:
    Receiving module, for receive input for adjusting the bright dark regulating command of the intelligent lamp;
    Adjustment module, for according to the regulating command by the brightness regulation of the intelligent lamp to corresponding with the regulating command Predetermined luminance.
  10. 10. device as claimed in claim 6, which is characterized in that the monitoring modular, including:
    Second monitoring submodule, for whether monitoring current time in day time period;
    First sending module, including:
    Third monitors submodule, for whether when current time is in day time period, monitoring the intelligent lamp in unlatching State;
    Second sending submodule, for when the intelligent lamp is in opening, third instruction, institute to be sent to the intelligent lamp Third instruction is stated for closing the intelligent lamp.
  11. 11. a kind of device for controlling intelligent lamp, which is characterized in that including:
    Processor;
    For storing the memory of processor-executable instruction;
    Wherein, the processor is configured as:
    Obtain the current state information of terminal;
    Judge the terminal whether in preset state according to the current state information;
    When the terminal is in preset state, whether monitoring current time is in preset time period;
    When current time is in preset time period, control instruction is sent to intelligent lamp, the control instruction is described for controlling The working condition of intelligent lamp;
    The preset state includes any one of following state or multinomial:
    The terminal accesses same default network with the intelligent lamp, and the terminal is built by near field network and the intelligent lamp Vertical connection.
  12. 12. a kind of non-transitorycomputer readable storage medium, is stored thereon with computer program, which is characterized in that the journey The step of any one of claim 1 to 5 the method is realized when sequence is executed by processor.
CN201510886194.4A 2015-12-04 2015-12-04 Control the method and device of intelligent lamp Active CN105392257B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510886194.4A CN105392257B (en) 2015-12-04 2015-12-04 Control the method and device of intelligent lamp

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510886194.4A CN105392257B (en) 2015-12-04 2015-12-04 Control the method and device of intelligent lamp

Publications (2)

Publication Number Publication Date
CN105392257A CN105392257A (en) 2016-03-09
CN105392257B true CN105392257B (en) 2018-07-06

Family

ID=55423973

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510886194.4A Active CN105392257B (en) 2015-12-04 2015-12-04 Control the method and device of intelligent lamp

Country Status (1)

Country Link
CN (1) CN105392257B (en)

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657946A (en) * 2016-03-30 2016-06-08 北京小米移动软件有限公司 Method and device for controlling lamps
CN106412564A (en) * 2016-06-01 2017-02-15 乐视致新电子科技(天津)有限公司 Information sending method and device
CN106559950B (en) * 2017-01-16 2019-08-27 上海斐讯数据通信技术有限公司 A kind of location-based home intelligent lamp control method and system
CN106686248A (en) * 2017-01-17 2017-05-17 维沃移动通信有限公司 Illumination control method and mobile terminal
CN107318200A (en) * 2017-03-23 2017-11-03 杨斌 A kind of intelligent lighting controls method controlled in real time
CN107222960B (en) * 2017-06-16 2019-04-02 深圳市盛路物联通讯技术有限公司 A kind of lighting apparatus control method and system
CN107340718B (en) * 2017-06-30 2021-05-18 北京小米移动软件有限公司 Method and device for adjusting parameters of intelligent lamp
CN107333368A (en) * 2017-07-13 2017-11-07 深圳市盛路物联通讯技术有限公司 A kind of control method and Internet of Things server based on Internet of Things
CN108024428A (en) * 2017-11-24 2018-05-11 西安Tcl软件开发有限公司 Control method, intelligent road-lamp, mobile terminal and the control system of intelligent road-lamp
CN108073084A (en) * 2018-01-26 2018-05-25 上海康斐信息技术有限公司 The control method and control system of a kind of smart home device
CN110131846B (en) * 2018-02-07 2021-11-16 广州松下空调器有限公司 Intelligent air conditioner control method and air conditioner
CN109143116A (en) * 2018-07-26 2019-01-04 上海与德科技有限公司 Lamp condition detection method, device, terminal and storage medium
CN109116779A (en) * 2018-08-27 2019-01-01 苏州矽典微智能科技有限公司 A kind of automatic switch controller and method of electrical equipment
CN109235590A (en) * 2018-09-26 2019-01-18 深圳市博电电子技术有限公司 Intelligent closestool control method and intelligent closestool
CN111083022A (en) * 2018-10-22 2020-04-28 奇酷互联网络科技(深圳)有限公司 Mobile terminal, control method thereof and computer storage medium
CN111629492A (en) * 2019-02-28 2020-09-04 松下电气机器(北京)有限公司 Intelligent lighting lamp and control method thereof
CN112291899A (en) * 2019-07-11 2021-01-29 广东小天才科技有限公司 Intelligent switch control system and method
CN111385945B (en) * 2020-02-19 2021-07-20 珠海格力电器股份有限公司 Intelligent panel control method, device and system, electronic equipment and storage medium
CN111726908B (en) * 2020-05-21 2022-05-27 南京大学昆山创新研究院 LED lamp single lamp control device and control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023434A (en) * 2014-05-12 2014-09-03 小米科技有限责任公司 Intelligent lamp turning-on method, device and system
CN104065842A (en) * 2014-07-04 2014-09-24 江苏达伦电子股份有限公司 Wireless illumination system achieving lamp control based on cellphone positioning

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023434A (en) * 2014-05-12 2014-09-03 小米科技有限责任公司 Intelligent lamp turning-on method, device and system
CN104065842A (en) * 2014-07-04 2014-09-24 江苏达伦电子股份有限公司 Wireless illumination system achieving lamp control based on cellphone positioning

Also Published As

Publication number Publication date
CN105392257A (en) 2016-03-09

Similar Documents

Publication Publication Date Title
CN105392257B (en) Control the method and device of intelligent lamp
CN105517277B (en) Lighting apparatus control method and device
CN105137787B (en) For controlling the method and apparatus of home appliance
CN104039040B (en) The control method and device of intelligent lamp
US10015245B2 (en) Method and apparatus for grouping smart device in smart home system
CN105049923B (en) Wake up the method and device of electronic equipment
CN107872576B (en) Alarm clock reminding method and device and computer readable storage medium
CN103926890B (en) Intelligent terminal control method and device
CN104023434B (en) A kind of methods, devices and systems for opening intelligent lamp
WO2017024741A1 (en) Intelligent electrical device operation method and device
CN106527160B (en) Equipment control method and device
WO2017008398A1 (en) Smart device control method and device
CN104330996B (en) Remote control thereof and device
CN106406117B (en) Equipment control method and device
JP6771561B2 (en) Room light intensity adjustment method and equipment
CN105094063B (en) The control method and device of smart home
CN104602204A (en) Visitor informing method and device
US9401814B2 (en) House monitoring system
CN105162945A (en) Method and device for displaying information
WO2016187999A1 (en) Method and apparatus for controlling home smart power supply
CN106292320B (en) Control the method and device of controlled device operation
CN106250138A (en) Method for controlling volume and device
CN106448104B (en) Equipment control method and device
CN108154865A (en) Adjust the method and device of screen color temp
CN112073912B (en) Function control method, function control device, and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant