CN110113851A - Control method, control device, terminal and the lighting device of lighting device - Google Patents
Control method, control device, terminal and the lighting device of lighting device Download PDFInfo
- Publication number
- CN110113851A CN110113851A CN201910409624.1A CN201910409624A CN110113851A CN 110113851 A CN110113851 A CN 110113851A CN 201910409624 A CN201910409624 A CN 201910409624A CN 110113851 A CN110113851 A CN 110113851A
- Authority
- CN
- China
- Prior art keywords
- lighting device
- control
- mode
- control instruction
- event
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/16—Controlling the light source by timing means
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Abstract
This disclosure relates to which a kind of control method of lighting device, control device, terminal and lighting device, belong to Smart Home technical field.The described method includes: whether detection current time reaches the preset time of the first specified event, the first specified event is that characterization user is in dormant dependent event;When the current time reaches the preset time of the described first specified event, according to preset control mode, the first control instruction of generation;First control instruction is sent to lighting device, first control instruction is used to close the lighting device or reduce the brightness of the lighting device.The disclosure, according to preset control mode, generates the first control instruction when current time reaches the preset time of the first specified event, and then by the way that the first control instruction is sent to lighting device, to realize the control to lighting device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the brightness of lighting device, thus control mode is more convenient.
Description
Technical field
This disclosure relates to Smart Home technical field more particularly to a kind of control method of lighting device, control device, end
End and lighting device.
Background technique
In the modern life, many users like playing mobile phone before sleep, in order to protect eyes, it will usually open the head of a bed
Lighting device.After user enters sleep state, if forgetting to close lighting device, the lighting device in illuminating state is not only
Electric energy is wasted, and user's sleep quality may be will affect.In order to save electric energy, the sleep quality of user is improved, needs to compare
Bright device is controlled.
When the relevant technologies control lighting device, need user that the switch button on lighting device is turned off manually, with
Lighting device is closed, or user is needed to manually adjust the mode switch button on lighting device, by lighting device by normal
Operating mode is switched to Night.
Summary of the invention
The disclosure provides control method, control device, terminal and the lighting device of a kind of lighting device.
According to the first aspect of the embodiments of the present disclosure, a kind of control method of lighting device is provided, which comprises
Whether detection current time reaches the preset time of the first specified event, and the first specified event is characterization user
In dormant dependent event;
When the current time reaches the preset time of the described first specified event, according to preset control mode, generation
First control instruction;
First control instruction is sent to lighting device, first control instruction is for closing the lighting device
Or reduce the brightness of the lighting device.
In another embodiment of the disclosure, the first specified event include sleep event, without operation dark screen event,
The handover event of offline mode.
In another embodiment of the disclosure, it is described detection current time whether reach the first specified event it is default when
Between before, further includes:
The preset time of described first specified event is set in event reminder application;Or,
The preset time of described first specified event is set in quarter-bell application;Or,
The preset time of described first specified event is set in schedule application.
It is described according to preset control mode in another embodiment of the disclosure, generate the first control instruction, packet
It includes:
When preset control mode is the control mode closed immediately, instant out code is generated, the instant closing refers to
It enables and executes instant shutoff operation for controlling the lighting device;Or,
When the control mode that preset control mode is late release, late release instruction is generated, the late release refers to
It enables and is gradually reduced brightness for controlling the lighting device, and when brightness is kept to zero, controls the lighting device and execute closing
Operation;Or,
When the control mode that preset control mode is switch mode, first mode switching command, first mould are generated
Formula switching command is switched to Night by normal mode of operation for controlling the lighting device.
In another embodiment of the disclosure, it is described by first control instruction be sent to the lighting device it
Before, further includes:
In another embodiment of the disclosure, it is described first control instruction is sent to lighting device after, also
Include:
Whether detection current time reaches the preset time of the second specified event, and the second specified event is characterization user
Dependent event in awake state;
When the current time reaches the preset time of the described second specified event, according to preset control mode, generation
Second control instruction;
Second control instruction is sent to the lighting device, second control instruction is for opening the illumination
Device or the brightness for increasing the lighting device.
In another embodiment of the disclosure, the second specified event includes the bright screen event of event, terminal, noisy of getting up
Bell event.
It is described according to preset control mode in another embodiment of the disclosure, generate the second control instruction, packet
It includes:
When preset control mode is the control mode opened immediately, instant open command is generated, the instant unlatching refers to
It enables and executes instant opening operation for controlling the lighting device;Or,
When preset control mode is the control mode that delay is opened, generation delay open command, the delay, which is opened, to be referred to
It enables and gradually increases brightness for controlling the lighting device;Or,
When the control mode that preset control mode is pattern switching, second mode switching command, second mould are generated
Formula switching command is switched to normal mode of operation by Night for controlling the lighting device.
According to the second aspect of an embodiment of the present disclosure, a kind of control method of lighting device is provided, which comprises
Receive the first control instruction that terminal is sent;
According to first control instruction, executes shutoff operation or brightness reduces operation.
It is described according to first control instruction in another embodiment of the disclosure, execute shutoff operation or brightness
Reduce operation, comprising:
When first control instruction is instant out code, according to the instant out code, executes to close immediately and grasp
Make;Or,
When first control instruction be late release instruction, according to the late release instruct, be gradually reduced brightness, and
When brightness is kept to zero, shutoff operation is executed;Or,
When first control instruction is first mode switching command, according to the first mode switching command, by normal
Operating mode is switched to Night.
It is described according to first control instruction in another embodiment of the disclosure, execute shutoff operation or brightness
Reduce after operating, further includes:
Receive the second control instruction that terminal is sent;
According to second control instruction, opening operation or brightness increase operation are executed.
It is described according to second control instruction in another embodiment of the disclosure, execute opening operation or brightness
Increase operation, comprising:
When second control instruction is instant open command, according to the instant open command, executes to open immediately and grasp
Make;Or,
When second control instruction is to postpone open command to be gradually increased brightness according to the delay open command;
Or,
When second control instruction is second mode switching command, according to the second mode switching command, by night
Pattern switching is normal mode of operation.
According to the third aspect of an embodiment of the present disclosure, a kind of terminal is provided, the terminal includes:
Whether detection module reaches the preset time of the first specified event for detecting current time, and described first is specified
Event is that characterization user is in dormant dependent event;
Generation module, for reaching the preset time of the described first specified event when the current time, according to preset
Control mode generates the first control instruction;
Sending module, for first control instruction to be sent to lighting device, first control instruction is for closing
It closes the lighting device or reduces the brightness of the lighting device.
In another embodiment of the disclosure, the first specified event include sleep event, without operation dark screen event,
The handover event of offline mode.
In another embodiment of the disclosure, the terminal further include:
Setup module, for the preset time of the described first specified event to be arranged in event reminder application;Or,
Setup module, for the preset time of the described first specified event to be arranged in quarter-bell is applied;Or,
Setup module, for the preset time of the described first specified event to be arranged in schedule is applied.
In another embodiment of the disclosure, the generation module, for being to close immediately when preset control mode
Control mode, generate instant out code, the instant out code is executed for controlling the lighting device and closed immediately
Operation;Or,
When the control mode that preset control mode is late release, late release instruction is generated, the late release refers to
It enables and is gradually reduced brightness for controlling the lighting device, and when brightness is kept to zero, controls the lighting device and execute closing
Operation;Or,
When the control mode that preset control mode is switch mode, first mode switching command, first mould are generated
Formula switching command is switched to Night by normal mode of operation for controlling the lighting device.
In another embodiment of the disclosure, the detection module, for detecting whether current time reaches the second finger
Determine the preset time of event, the second specified event is the dependent event for characterizing user and being in awake state;
The generation module, for reaching the preset time of the described second specified event when the current time, according to pre-
If control mode, generate the second control instruction;
The sending module, for second control instruction to be sent to the lighting device, second control refers to
It enables for opening the lighting device or increasing the brightness of the lighting device.
In another embodiment of the disclosure, the second specified event includes the bright screen event of event, terminal, noisy of getting up
Bell event.
In another embodiment of the disclosure, the generation module, for being to open immediately when preset control mode
Control mode, generate instant open command, the instant open command is executed for controlling the lighting device and opened immediately
Operation;Or,
When preset control mode is the control mode that delay is opened, generation delay open command, the delay, which is opened, to be referred to
It enables and gradually increases brightness for controlling the lighting device;Or,
When the control mode that preset control mode is pattern switching, second mode switching command, second mould are generated
Formula switching command is switched to normal mode of operation by Night for controlling the lighting device.
According to a fourth aspect of embodiments of the present disclosure, a kind of lighting device is provided, the lighting device includes:
Receiving module, for receiving the first control instruction of terminal transmission;
Operation executing module, for executing shutoff operation or brightness reducing operation according to first control instruction.
In another embodiment of the disclosure, the operation executing module, for being i.e. when first control instruction
When out code instant shutoff operation executed according to the instant out code;Or,
When first control instruction be late release instruction, according to the late release instruct, be gradually reduced brightness, and
When brightness is kept to zero, shutoff operation is executed;Or,
When first control instruction is first mode switching command, according to the first mode switching command, by normal
Operating mode is switched to Night.
In another embodiment of the disclosure, the receiving module, for receiving the second control instruction of terminal transmission;
The operation executing module, for executing opening operation or brightness increase operation according to second control instruction.
In another embodiment of the disclosure, the operation executing module, for being i.e. when second control instruction
When open command instant opening operation executed according to the instant open command;Or,
When second control instruction is to postpone open command to be gradually increased brightness according to the delay open command;
Or,
When second control instruction is second mode switching command, according to the second mode switching command, by night
Pattern switching is normal mode of operation.
According to a fifth aspect of the embodiments of the present disclosure, a kind of control device is provided, comprising:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
Whether detection current time reaches the preset time of the first specified event, and the first specified event is characterization user
In dormant dependent event;
When the current time reaches the preset time of the described first specified event, according to preset control mode, generation
First control instruction;
First control instruction is sent to lighting device, first control instruction is for closing the lighting device
Or reduce the brightness of the lighting device.
According to a sixth aspect of an embodiment of the present disclosure, a kind of control device is provided, comprising:
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
Receive the first control instruction that terminal is sent;
According to first control instruction, executes shutoff operation or brightness reduces operation.
The technical scheme provided by this disclosed embodiment can include the following benefits:
When current time reaches the preset time of the first specified event, according to preset control mode, the first control is generated
System instruction, and then by the way that the first control instruction is sent to lighting device, to realize the control to lighting device.Due to without using
Family manual operation can voluntarily close lighting device or reduce the brightness of lighting device, thus control mode is more convenient.
In addition, when current time reaches the preset time of the second specified event, according to preset control mode, the is generated
Two control instructions, and then by the way that the second control instruction is sent to lighting device, it can voluntarily open lighting device or increase and shine
The brightness of bright device.As the scene according to locating for user, lighting device is controlled, is grasped manually without user
Make, the use demand of user under different scenes can be met, control mode is more intelligent.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of signal of the implementation environment of the control method of lighting device shown according to an exemplary embodiment
Figure.
Fig. 2 is a kind of signal of the implementation environment of the control method of lighting device shown according to an exemplary embodiment
Figure.
Fig. 3 is a kind of flow chart of the control method of lighting device shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of the control method of lighting device shown according to an exemplary embodiment.
Fig. 5 is a kind of flow chart of the control method of lighting device shown according to an exemplary embodiment.
Fig. 6 is a kind of schematic diagram that the daily schedule is arranged shown according to an exemplary embodiment.
Fig. 7 is a kind of control process schematic diagram of lighting device shown according to an exemplary embodiment.
Fig. 8 is a kind of flow chart of the control method of lighting device shown according to an exemplary embodiment.
Fig. 9 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment.
Figure 10 is a kind of structural schematic diagram of lighting device shown according to an exemplary embodiment.
Figure 11 is a kind of block diagram of control device shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this 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.
Referring to FIG. 1, it illustrates a kind of realities involved in the control method of the lighting device of embodiment of the present disclosure offer
Apply the schematic diagram of environment.The implementation environment includes terminal 101 and lighting device 102.
Terminal 101 can be smart phone, tablet computer, E-book reader etc., and the embodiment of the present disclosure is not to terminal
Type makees specific restriction, which has the ability communicated by radio frequency method or network mode with other equipment.
Lighting device 102 can be intelligent desk lamp, intelligent electric lamp or other devices with illumination functions etc., the disclosure
Embodiment does not make specific restriction to the type of lighting device, which has through radio frequency method or network mode
The ability communicated with other equipment.
Above-mentioned terminal 101 and lighting device 102 can be communicated by wireless network or cable network.
Referring to FIG. 2, it illustrates another kinds involved in the control method of the lighting device of embodiment of the present disclosure offer
The schematic diagram of implementation environment.The implementation environment includes terminal 101, lighting device 102 and wearable device 103.
Wherein, terminal 101 can be smart phone, tablet computer, E-book reader etc., and the embodiment of the present disclosure is not to end
The type at end make it is specific limit, which, which has, is communicated by radio frequency method or network mode with other equipment
Ability.
Lighting device 102 can be intelligent desk lamp, intelligent electric lamp or other devices with illumination functions etc., the disclosure
Embodiment does not make specific restriction to the type of lighting device, which has through radio frequency method or network mode
The ability communicated with other equipment.
Wearable device 103 can be Intelligent bracelet or intelligent wristwatch etc., and the embodiment of the present disclosure is not to wearable device
Type makees specific restriction, which can configure just like temperature sensor, angular transducer etc. to its carrier
The measurement of different parameters is carried out, which, which has, is led to by radio frequency method or network mode with other equipment
The ability of letter.
Above-mentioned wearable device 103 can be communicated with terminal 101 by wireless network or cable network, terminal 101
It can be communicated by wireless network or cable network with lighting device 102.
Based on implementation environment shown in FIG. 1, Fig. 3 is a kind of control of lighting device shown according to an exemplary embodiment
The flow chart of method, as shown in figure 3, the control method of lighting device is for including the following steps in terminal.
In step S301, whether detection current time reaches the preset time of the first specified event.
Wherein, the first specified event is that characterization user is in dormant dependent event.
In step s 302, when current time reaches the preset time of the first specified event, according to preset control mode,
Generate the first control instruction.
In step S303, the first control instruction is sent to lighting device, the first control instruction is for closing illumination dress
Set or reduce the brightness of lighting device.
In step s 304, whether detection current time reaches the preset time of the second specified event.
Wherein, the second specified event is the dependent event for characterizing user and being in awake state.
In step S305, when current time reaches the preset time of the second specified event, according to preset control mode,
Generate the second control instruction.
In step S306, the second control instruction is sent to lighting device, the second control instruction is for opening illumination dress
Set or increase the brightness of lighting device.
The method that the embodiment of the present disclosure provides, when current time reaches the preset time of the first specified event, terminal root
According to preset control mode, the first control instruction is generated, and then by the way that the first control instruction is sent to lighting device, to realize
Control to lighting device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the bright of lighting device
Degree, thus control mode is more convenient.
In addition, when current time reaches the preset time of the second specified event, according to preset control mode, the is generated
Two control instructions, and then by the way that the second control instruction is sent to lighting device, it can voluntarily open lighting device or increase and shine
The brightness of bright device.As the scene according to locating for user, lighting device is controlled, is grasped manually without user
Make, the use demand of user under different scenes can be met, control mode is more intelligent.
It should be noted that step S301 to step S303 and step S304 to step S306 can both be implemented separately, it can also
To realize simultaneously, it can need be separately provided according to user and close lighting device and (including close, time-delay closing and switch to immediately
Night) function, or be separately provided and open lighting device and (including open immediately, delayed start-up and switch to normal work
Mode) function, can also be arranged simultaneously close lighting device and open lighting device function.
In another implementation of the disclosure, the first specified event includes sleep event, without operation dark screen event, flight mould
The handover event of formula.
In another implementation of the disclosure, detection current time whether reach the first specified event preset time it
Before, further includes:
The preset time of first specified event is set in event reminder application;Or,
The preset time of first specified event is set in quarter-bell application;Or,
The preset time of first specified event is set in schedule application.
In another implementation of the disclosure, according to preset control mode, the first control instruction is generated, comprising:
When preset control mode is the control mode closed immediately, instant out code is generated, instant out code is used
Instant shutoff operation is executed in control lighting device;Or,
When the control mode that preset control mode is late release, late release instruction is generated, late release instruction is used
It is gradually reduced brightness in control lighting device, and when brightness is kept to zero, control lighting device executes shutoff operation;Or,
When the control mode that preset control mode is switch mode, first mode switching command is generated, first mode is cut
It changes instruction and Night is switched to by normal mode of operation for controlling lighting device.
In another implementation of the disclosure, the second specified event includes the bright screen event of event, terminal, quarter-bell thing of getting up
Part.
In another implementation of the disclosure, according to preset control mode, the second control instruction is generated, comprising:
When preset control mode is the control mode opened immediately, instant open command is generated, instant open command is used
Instant opening operation is executed in control lighting device;Or,
When preset control mode is the control mode that delay is opened, generation delay open command postpones open command and uses
Brightness is gradually increased in control lighting device;Or,
When the control mode that preset control mode is pattern switching, second mode switching command is generated, second mode is cut
It changes instruction and normal mode of operation is switched to by Night for controlling lighting device.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
Based on implementation environment shown in FIG. 1, Fig. 4 is a kind of control of lighting device shown according to an exemplary embodiment
The flow chart of method, as shown in figure 4, the control method of lighting device is for including the following steps in lighting device.
In step S401, the first control instruction that terminal is sent is received.Terminal can for smart phone, tablet computer,
E-book reader etc., the embodiment of the present disclosure do not make specific restriction to the type of terminal, which, which has, passes through radio frequency method
Or the ability that network mode is communicated with lighting device.
In step S402, according to the first control instruction, executes shutoff operation or brightness reduces operation.
In step S403, the second control instruction that terminal is sent is received.
In step s 404, according to the second control instruction, opening operation or brightness increase operation are executed.
The method that the embodiment of the present disclosure provides receives the first control instruction, and then according to the first control instruction, control illumination
The brightness of device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the brightness of lighting device, thus
Control mode is more convenient.
In addition, receiving the second control instruction, voluntarily opening lighting device according to the second control instruction or increasing lighting device
Brightness.As the scene according to locating for user, lighting device is controlled, is manually operated without user
Meet the use demand of user under different scenes, control mode is more intelligent.
In another embodiment of the disclosure, according to the first control instruction, executes shutoff operation or brightness reduces operation,
Include:
When the first control instruction executes instant shutoff operation according to instant out code for instant out code;
When the first control instruction be late release instruction, instructed according to late release, be gradually reduced brightness, and subtract in brightness
When being zero, shutoff operation is executed;
When the first control instruction is first mode switching command, according to first mode switching command, by normal mode of operation
It is switched to Night.
In another embodiment of the disclosure, according to the second control instruction, opening operation or brightness increase operation are executed,
Include:
When the second control instruction executes instant opening operation according to instant open command for instant open command;Or,
When the second control instruction be delay open command, according to delay open command, be gradually increased brightness;Or,
When the second control instruction is second mode switching command, according to the second mode switching command, by Night
It is switched to normal mode of operation.
All the above alternatives can form the alternative embodiment of the disclosure, herein no longer using any combination
It repeats one by one.
Based on implementation environment shown in FIG. 1, Fig. 5 is a kind of control of lighting device shown according to an exemplary embodiment
The flow chart of method, as shown in figure 5, the control method of lighting device is for including the following steps in terminal.
In step S501, terminal and lighting device establish connection.
In the embodiments of the present disclosure, terminal and lighting device all have through radio frequency method or network mode and other equipment
The ability communicated is based on this kind of ability, and terminal and lighting device establish the mode of connection, including but not limited to following several
Kind.
First way: terminal and lighting device start WiFi (WirelessFidelity, Wireless Fidelity) function, are based on
WiFi signal establishes connection.
The second way: terminal and lighting device open Bluetooth function, and find each other in equipment discovery phase, later,
Terminal broadcast Bluetooth signal, after lighting device receives the Bluetooth signal of terminal broadcast, according to the Bluetooth signal and end received
Connection is established at end.
The third mode: terminal and lighting device open NFC (Near Field Communication, near-field communication) function
Can, NFC data is established by channel by sending data packet, and then according to the company of foundation between the NFC data channel of foundation
It connects.
4th kind of mode: terminal and lighting device open infrared function, and find each other in equipment discovery phase, later,
Terminal sends infrared signal, and lighting device receives the infrared signal of terminal transmission, according to the infrared signal and terminal received
Establish connection.
Certainly, when establishing connection other modes also can be used, the embodiment of the present disclosure is no longer one by one in terminal and lighting device
Explanation.
In step S502, terminal presets the preset time of the first specified event.
Wherein, the first specified event is that characterization user is in dormant dependent event.First specified event include into
Sleep event, without operation dark screen event, the handover event of offline mode etc..
When terminal presets the preset time of the first specified event, following several modes can be used:
The preset time of the first specified event is arranged in first way, terminal in event reminder application.
Wherein, event reminder application can be memorandum, desktop note etc..To avoid user from omitting any important thing
Part, based on the event set interface that event reminder application provides, user can set in event set interface according to the demand of itself
The first specified event and its preset time are set, terminal detects setting operation of the user in event set interface, and according to user
Setting operation in event set interface, is arranged the preset time of the first specified event.
The preset time of the first specified event is arranged in the second way, terminal in quarter-bell application.
Good living habit is raised on a household basis into use, based on the quarter-bell set interface that quarter-bell application provides, user can be at this
Time for falling asleep is set in quarter-bell set interface and is got up the time, terminal detects setting operation of the user in quarter-bell set interface,
And operated according to setting of the user in quarter-bell set interface, the preset time of the first specified event is set.
The preset time of the first specified event is arranged in the third mode, terminal in schedule application.
In order to preferably plan the life of user, based on the schedule set interface that schedule application provides, user can be
Be set in the schedule set interface, for example, time for falling asleep, time of getting up etc., terminal detects user and is arranged in schedule the daily schedule
Setting operation on interface, and operated according to setting of the user in schedule set interface, the first specified event of setting is preset
Time.
The preset time of the first specified event is arranged in 4th kind of mode, terminal in setting application.
In order to preferably be managed to the operation of terminal, terminal can provide set interface in setting application, and being based on should
Set interface, user is settable without the operation dark screen time, to save electric energy;To avoid bothering, user can also be by the mould of terminal
Formula is switched to offline mode etc..Terminal detects setting operation of the user in set interface, and then is operated according to the setting of user,
The preset time of first specified event is set.
In step S503, whether terminal detection current time reaches the preset time of the first specified event.
In the process of running, terminal obtains current time in real time, and detects whether current time reaches the first specified event
Preset time.For example, the first specified event is sleep event, the time for falling asleep of sleep event is 22:00, and terminal obtains in real time
Current time, and detect whether current time reaches time for falling asleep 22:00.
In step S504, when current time reaches the preset time of the first specified event, terminal is according to preset control
Mode generates the first control instruction.
When detecting that current time reaches the preset time of the first specified event, terminal is raw according to preset control mode
At the first control instruction, which is used to close lighting device or reduce the brightness of lighting device.Wherein, preset
Control mode includes the control mode closed immediately, the control mode of late release and control mode of switch mode etc..
When the brightness to lighting device controls, in order to provide a user more selections, the embodiment of the present disclosure is mentioned
The method of confession will also provide brightness set interface at the terminal, and user can carry out in brightness set interface according to the demand of itself
Setting operation, terminal detect setting operation of the user in brightness set interface, and according to user in brightness set interface
Setting operation, setting control closing mode.Wherein, brightness set interface is for setting the brightness control mode of lighting device
It sets, there are multiple control modes, and different brightness control modes has different control forms in brightness set interface.Example
Such as, when control mode is the control mode closed immediately, the corresponding control form of the control mode closed immediately is control illumination
Device executes instant shutoff operation;When the control mode that control mode is late release, the control mode of late release is corresponding
Control form is that control lighting device is gradually reduced brightness, and when brightness is kept to zero, control lighting device executes shutoff operation;
When the control mode that control mode is switch mode, the corresponding control form of the control mode of switch mode is control lighting device
Night is switched to by normal mode of operation.
Based on preset control mode, terminal generates the first control instruction according to preset control mode, including following several
Kind mode:
First way, when preset control mode is the control mode closed immediately, terminal generates instant out code,
Instant out code executes instant shutoff operation for controlling lighting device.
The second way, when preset control mode be late release control mode, terminal generate late release instruction,
Late release instruction is gradually reduced brightness for controlling lighting device, and when brightness is kept to zero, and control lighting device executes pass
Closed operation.
The third mode, when preset control mode be switch mode control mode, terminal generate first mode switching
Instruction, first mode switching command are switched to Night by normal mode of operation for controlling lighting device.
In step S505, the first control instruction is sent to lighting device by terminal.
When generating the first control instruction, terminal is based on the connection established in advance with lighting device, by the first control instruction
It is sent to lighting device.
In step S506, when the first control instruction for receiving terminal transmission, lighting device according to the first control instruction,
It executes shutoff operation or brightness reduces operation.
When the first control instruction for receiving terminal transmission, lighting device executes shutoff operation according to the first control instruction
Or brightness reduces operation, to avoid the sleep quality for influencing user in normal mode of operation, the biggish lighting device of brightness.
Specifically, lighting device is according to the first control instruction, when executing shutoff operation or brightness reduction operation, including it is following
Several situations:
The first situation, when the first control instruction is instant out code, lighting device is executed according to instant out code
Instant shutoff operation.
Second situation, when the first control instruction is late release instruction, lighting device instructs according to late release, gradually
Reduce brightness, and when brightness is kept to zero, executes shutoff operation.
The third situation, when the first control instruction is first mode switching command, lighting device switches according to first mode
Instruction, is switched to Night by normal mode of operation.
For above-mentioned terminal to the control process of lighting device, it is illustrated by taking Fig. 6 and Fig. 7 as an example below.
Terminal and lighting device are established after connection, and mobile phone breath is arranged at the terminal and shields 15 minutes rear lighting unit passes by user
It closes.After detecting mobile phone breath screen, terminal records the mobile phone breath screen time and generates the when mobile phone, which ceases the screen time, reaches 15 minutes
One control instruction, and the first control instruction is sent to lighting device.Lighting device receives the first control instruction, the first control
It instructs for closing lighting device or reducing the brightness of lighting device.Wherein, shutoff operation can be held according to the mode of user preset
Row, specifically, shutoff operation include instant closing, time-delay closing and the operating mode for switching lighting device.
In step s 507, whether terminal detection current time reaches the preset time of the second specified event.
Wherein, the second specified event is the dependent event for characterizing user and being in awake state.Second specified event includes
Bed event, the bright screen event of terminal, quarter-bell event etc..
The mode of the preset time of the second specified event is arranged in terminal, identical as above-mentioned steps S502, referring specifically to above-mentioned
Step S502, details are not described herein again.
In step S508, when current time reaches the preset time of the second specified event, terminal is according to preset control
Mode generates the second control instruction.
When detecting that current time reaches the preset time of the second specified event, terminal is raw according to preset control mode
At the second control instruction, which is used to open lighting device or increase the brightness of lighting device.Wherein, preset
Control mode includes the control mode opened immediately, the control mode of delay unlatching and control mode of switch mode etc..
Terminal is including but not limited to following several when generating the second control instruction according to preset control mode:
First way, when preset control mode is instant opening ways, terminal generates instant open command, opens immediately
It opens instruction and executes instant opening operation for controlling lighting device.
The second way, when preset control mode be delay open control mode, terminal generate delay open command,
Delay open command gradually increases brightness for controlling lighting device;
The third mode, when preset control mode be pattern switching control mode, terminal generate second mode switching
Instruction, second mode switching command are switched to normal mode of operation by Night for controlling lighting device.
In step S509, the second control instruction is sent to lighting device by terminal.
When being generated to the second control instruction, terminal is referred to the second control based on the connection established in advance with lighting device
Order is sent to lighting device.
In step S510, when the second control instruction for receiving terminal transmission, terminal is opened according to the second control instruction, execution
Open operation or brightness increase operation.
When the second control instruction for receiving terminal transmission, lighting device executes opening operation according to the second control instruction
Or brightness increase operation, it allows the user to preferably carry out daily routines.
Specifically, lighting device executes opening operation or brightness increase operation according to the second control instruction, including following several
Kind situation:
The first situation, when the second control instruction is instant open command, lighting device is executed according to instant open command
Instant opening operation.
Second situation, when the second control instruction be delay open command, lighting device according to delay open command, gradually
Increase brightness.
The third situation, when the second control instruction be second mode switching command, according to second mode switching command, by night
Between pattern switching be normal mode of operation.
The method that the embodiment of the present disclosure provides, when current time reaches the preset time of the first specified event, according to pre-
If control mode, the first control instruction is generated, and then by the way that the first control instruction is sent to lighting device, to realize control
The control of bright device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the brightness of lighting device, because
And control mode is more convenient.
In addition, when current time reaches the preset time of the second specified event, according to preset control mode, the is generated
Two control instructions, and then by the way that the second control instruction is sent to lighting device, it can voluntarily open lighting device or increase and shine
The brightness of bright device.As the scene according to locating for user, lighting device is controlled, is grasped manually without user
Make, the use demand of user under different scenes can be met, control mode is more intelligent.
Based on implementation environment shown in Fig. 2, Fig. 8 is a kind of control of lighting device shown according to an exemplary embodiment
The flow chart of method, as shown in figure 8, the control method of lighting device is used for including wearable device, terminal and lighting device
In scene, include the following steps.
In step 801, wearable device obtains the sleep state information of user, and sleep state information is sent to end
End.
In step 802, when receiving sleep state information, terminal generates the first control according to preset control mode
Instruction, and the first control instruction is sent to lighting device.
Terminal is according to preset control mode, and the mode for generating the first control instruction is identical as above-mentioned steps S504, specifically
Referring to above-mentioned steps S504, details are not described herein again.
In step 803, when receiving the first control instruction, lighting device executes according to the first control instruction and closes behaviour
Make or brightness reduces operation.
Lighting device executes shutoff operation or brightness reduces the mode and above-mentioned steps of operation according to the first control instruction
S505 is identical, and referring specifically to above-mentioned steps S505, details are not described herein again.
In step 804, wearable device obtains the awake state information of user, and awake state information is sent to end
End.
In step 805, when receiving awake state information, terminal generates the second control according to preset control mode
Instruction, and the second control instruction is sent to lighting device.
Terminal is according to preset control mode, and the mode for generating the second control instruction is identical as above-mentioned steps S508, specifically
Referring to above-mentioned steps S508, details are not described herein again.
In step 806, when receiving the second control instruction, lighting device executes according to the second control instruction and opens behaviour
Make or brightness increase operates.
Lighting device executes the mode and above-mentioned steps of opening operation or brightness increase operation according to the second control instruction
S510 is identical, and referring specifically to above-mentioned steps S510, details are not described herein again.
Fig. 9 is a kind of structural schematic diagram of terminal shown according to an exemplary embodiment.Referring to Fig. 9, which includes:
Detection module 901, generation module 902 and sending module 903.
The detection module 901 is configured as detection current time and whether reaches the preset time of the first specified event, and first
Specified event is that characterization user is in dormant dependent event;
The generation module 902 is configured as reaching the preset time of the first specified event when current time, according to preset
Control mode generates the first control instruction;
The sending module 903 is configured as the first control instruction being sent to lighting device, and the first control instruction is for closing
It closes lighting device or reduces the brightness of lighting device.
In another embodiment of the disclosure, the first specified event includes sleep event, without operation dark screen event, flight
The handover event of mode.
In another embodiment of the disclosure, terminal further include: setup module.
The setup module is configured as that the preset time of the first specified event is arranged in event reminder application;Or,
The setup module is configured as that the preset time of the first specified event is arranged in quarter-bell application;Or,
The setup module is configured as that the preset time of the first specified event is arranged in schedule application.
In another embodiment of the disclosure, which is configured as when preset control mode being instant
The control mode of closing, generates instant out code, and instant out code executes instant shutoff operation for controlling lighting device;
Or,
When the control mode that preset control mode is late release, late release instruction is generated, late release instruction is used
It is gradually reduced brightness in control lighting device, and when brightness is kept to zero, control lighting device executes shutoff operation;Or,
When the control mode that preset control mode is switch mode, first mode switching command is generated, first mode is cut
It changes instruction and Night is switched to by normal mode of operation for controlling lighting device.
In another embodiment of the disclosure, which is configured as whether detection current time reaches the
The preset time of two specified events, the second specified event are the dependent event for characterizing user and being in awake state;
The generation module 902 is configured as reaching the preset time of the second specified event when current time, according to preset
Control mode generates the second control instruction;
The sending module 903 is configured as the second control instruction being sent to lighting device, and the second control instruction is for opening
It opens lighting device or increases the brightness of lighting device.
In another embodiment of the disclosure, the second specified event includes the bright screen event of event, terminal, quarter-bell thing of getting up
Part.
In another embodiment of the disclosure, which is configured as when preset control mode being instant
Opening ways, generate the control instruction opened immediately, and instant open command executes instant opening operation for controlling lighting device;
Or,
When preset control mode is the control mode that delay is opened, generation delay open command postpones open command and uses
Brightness is gradually increased in control lighting device;Or,
When the control mode that preset control mode is pattern switching, second mode switching command is generated, second mode is cut
It changes instruction and normal mode of operation is switched to by Night for controlling lighting device.
The terminal that the embodiment of the present disclosure provides, when current time reaches the preset time of the first specified event, according to pre-
If control mode, the first control instruction is generated, and then by the way that the first control instruction is sent to lighting device, to realize control
The control of bright device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the brightness of lighting device, because
And control mode is more convenient.
In addition, when current time reaches the preset time of the second specified event, according to preset control mode, the is generated
Two control instructions, and then by the way that the second control instruction is sent to lighting device, it can voluntarily open lighting device or increase and shine
The brightness of bright device.As the scene according to locating for user, lighting device is controlled, is grasped manually without user
Make, the use demand of user under different scenes can be met, control mode is more intelligent.
About the terminal in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Figure 10 is a kind of structural schematic diagram of lighting device shown according to an exemplary embodiment.Referring to Fig.1 0, the photograph
Bright device includes: receiving module 1001 and operation executing module 1002.
The receiving module 1001 is configured as receiving the first control instruction that terminal is sent;
The operation executing module 1002 is configured as executing shutoff operation according to the first control instruction or brightness reducing behaviour
Make.
In another embodiment of the disclosure, which is configured as when the first control instruction being i.e.
When out code instant shutoff operation executed according to instant out code;Or,
When the first control instruction be late release instruction, instructed according to late release, be gradually reduced brightness, and subtract in brightness
When being zero, shutoff operation is executed;Or,
When the first control instruction is first mode switching command, according to first mode switching command, by normal mode of operation
It is switched to Night.
In another embodiment of the disclosure, which is configured as receiving the second control that terminal is sent
Instruction;
The operation executing module 1002 is configured as executing opening operation or brightness increase behaviour according to the second control instruction
Make.
In another embodiment of the disclosure, which is configured as when the second control instruction being i.e.
When open command instant opening operation executed according to instant open command;Or,
When the second control instruction be delay open command, according to delay open command, be gradually increased brightness;Or,
When the second control instruction is switched according to second mode switching command by Night for second mode switching command
For normal mode of operation.
The lighting device that the embodiment of the present disclosure provides receives the first control instruction, and then according to the first control instruction, control
The brightness of lighting device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the brightness of lighting device,
Thus control mode is more convenient.
In addition, receiving the second control instruction, voluntarily opening lighting device according to the second control instruction or increasing lighting device
Brightness.As the scene according to locating for user, lighting device is controlled, is manually operated without user
Meet the use demand of user under different scenes, control mode is more intelligent.
About the terminal in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
Figure 11 is a kind of block diagram of control device 1100 shown according to an exemplary embodiment.For example, device 1100 can
To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for
Body equipment, personal digital assistant etc..
Referring to Fig.1 1, device 1100 may include following one or more components: processing component 1102, memory 1104,
Power supply module 1106, multimedia component 1108, audio component 1110, input/output (I/O) interface 1112, sensor module
1114 and communication component 1116.
The integrated operation of the usual control device 1100 of processing component 1102, such as with display, telephone call, data communication,
Camera operation and record operate associated operation.Processing component 1102 may include one or more processors 1120 to execute
Instruction, to perform all or part of the steps of the methods described above.In addition, processing component 1102 may include one or more moulds
Block, convenient for the interaction between processing component 1102 and other assemblies.For example, processing component 1102 may include multi-media module,
To facilitate the interaction between multimedia component 1108 and processing component 1102.
Memory 1104 is configured as storing various types of data to support the operation in device 1100.These data
Example includes the instruction of any application or method for operating on device 1100, contact data, telephone book data,
Message, picture, video etc..Memory 1104 can by any kind of volatibility or non-volatile memory device or they
Combination is realized, such as static random access memory (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 1106 provides electric power for the various assemblies of device 1100.Power supply module 1106 may include power management
System, one or more power supplys and other with for device 1100 generate, manage, and distribute the associated component of electric power.
Multimedia component 1108 includes the screen of one output interface of offer between described device 1100 and user.?
In some embodiments, screen may 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 that one or more touch passes
Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding is dynamic
The boundary of work, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more
Media component 1108 includes a front camera and/or rear camera.When device 1100 is in operation mode, as shot mould
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 1110 is configured as output and/or input audio signal.For example, audio component 1110 includes a wheat
Gram wind (MIC), when device 1100 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone quilt
It is configured to receive external audio signal.The received audio signal can be further stored in memory 1104 or via communication
Component 1116 is sent.In some embodiments, audio component 1110 further includes a loudspeaker, is used for output audio signal.
I/O interface 1112 provides interface, above-mentioned peripheral interface module between processing component 1102 and peripheral interface module
It can be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and
Locking press button.
Sensor module 1114 includes one or more sensors, and the state for providing various aspects for device 1100 is commented
Estimate.For example, sensor module 1114 can detecte the state that opens/closes of device 1100, the relative positioning of component, such as institute
The display and keypad that component is device 1100 are stated, sensor module 1114 can be with detection device 1100 or device 1,100 1
The position change of a component, the existence or non-existence that user contacts with device 1100,1100 orientation of device or acceleration/deceleration and dress
Set 1100 temperature change.Sensor module 1114 may include proximity sensor, be configured in not any physics
It is detected the presence of nearby objects when contact.Sensor module 1114 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 1116 is configured to facilitate the communication of wired or wireless way between device 1100 and other equipment.Dress
The wireless network based on communication standard, such as WiFi can be accessed by setting 1100,2G or 3G or 4G or 5G or their combination.One
In a exemplary embodiment, communication component 1116 via broadcast channel receive broadcast singal from external broadcasting management system or
Broadcast related information.In one exemplary embodiment, the communication component 1116 further includes near-field communication (NFC) module, with
Promote short range communication.For example, can be based on radio frequency identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology surpasses
Broadband (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 1100 can be by one or more application specific integrated circuit (ASI11), 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 executing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided
It such as include the memory 1104 of instruction, above-metioned instruction can be executed by the processor 1120 of device 1100 to complete the above method.Example
Such as, the non-transitorycomputer readable storage medium can be ROM, 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 mobile terminal
When device executes, so that mobile terminal is able to carry out a kind of control method of lighting device.
The device that the embodiment of the present disclosure provides, when current time reaches the preset time of the first specified event, according to pre-
If control mode, the first control instruction is generated, and then by the way that the first control instruction is sent to lighting device, to realize control
The control of bright device.Due to being manually operated without user, can voluntarily closing lighting device or reducing the brightness of lighting device, because
And control mode is more convenient.
In addition, when current time reaches the preset time of the second specified event, according to preset control mode, the is generated
Two control instructions, and then by the way that the second control instruction is sent to lighting device, it can voluntarily open lighting device or increase and shine
The brightness of bright device.As the scene according to locating for user, lighting device is controlled, is grasped manually without user
Make, the use demand of user under different scenes can be met, control mode is more intelligent.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing 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 principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, 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 the accompanying claims.
Claims (24)
1. a kind of control method of lighting device, which is characterized in that the described method includes:
Whether detection current time reaches the preset time of the first specified event, and the first specified event is that characterization user is in
Dormant dependent event;
When the current time reaches the preset time of the described first specified event, according to preset control mode, generation first
Control instruction;
First control instruction is sent to lighting device, first control instruction is for closing the lighting device or subtracting
The brightness of the small lighting device.
2. the method according to claim 1, wherein the first specified event includes sleep event, without operation
The handover event of dark screen event, offline mode.
3. the method according to claim 1, wherein whether the detection current time reaches the first specified event
Preset time before, further includes:
The preset time of described first specified event is set in event reminder application;Or,
The preset time of described first specified event is set in quarter-bell application;Or,
The preset time of described first specified event is set in schedule application.
4. the method according to claim 1, wherein described according to preset control mode, the first control of generation
Instruction, comprising:
When preset control mode is the control mode closed immediately, instant out code is generated, the instant out code is used
Instant shutoff operation is executed in controlling the lighting device;Or,
When the control mode that preset control mode is late release, late release instruction is generated, the late release instruction is used
It is gradually reduced brightness in controlling the lighting device, and when brightness is kept to zero, controls the lighting device and executes shutoff operation;
Or,
When the control mode that preset control mode is switch mode, first mode switching command is generated, the first mode is cut
It changes instruction and Night is switched to by normal mode of operation for controlling the lighting device.
5. method according to claim 1 to 4, which is characterized in that described to send out first control instruction
It send to lighting device, further includes:
Whether detection current time reaches the preset time of the second specified event, and the second specified event is that characterization user is in
The dependent event of awake state;
When the current time reaches the preset time of the described second specified event, according to preset control mode, generation second
Control instruction;
Second control instruction is sent to the lighting device, second control instruction is for opening the lighting device
Or increase the brightness of the lighting device.
6. according to the method described in claim 5, it is characterized in that, the second specified event is bright including get up event, terminal
Screen event, quarter-bell event.
7. according to the method described in claim 5, it is characterized in that, described according to preset control mode, the second control of generation
Instruction, comprising:
When preset control mode is the control mode opened immediately, instant open command is generated, the instant open command is used
Instant opening operation is executed in controlling the lighting device;Or,
When preset control mode is the control mode that delay is opened, generation delay open command, the delay open command use
Brightness is gradually increased in controlling the lighting device;Or,
When the control mode that preset control mode is pattern switching, second mode switching command is generated, the second mode is cut
It changes instruction and normal mode of operation is switched to by Night for controlling the lighting device.
8. a kind of control method of lighting device, which is characterized in that the described method includes:
Receive the first control instruction that terminal is sent;
According to first control instruction, executes shutoff operation or brightness reduces operation.
9. according to the method described in claim 8, behaviour is closed in execution it is characterized in that, described according to first control instruction
Make or brightness reduce operation, comprising:
When first control instruction executes instant shutoff operation according to the instant out code for instant out code;
Or,
When first control instruction be late release instruction, according to the late release instruct, be gradually reduced brightness, and bright
When degree is kept to zero, shutoff operation is executed;Or,
When first control instruction is first mode switching command, according to the first mode switching command, by working normally
Pattern switching is Night.
10. method according to claim 8 or claim 9, which is characterized in that it is described according to first control instruction, execute pass
Closed operation or brightness reduce after operation, further includes:
Receive the second control instruction that terminal is sent;
According to second control instruction, opening operation or brightness increase operation are executed.
11. according to the method described in claim 10, executing unlatching it is characterized in that, described according to second control instruction
Operation or brightness increase operation, comprising:
When second control instruction executes instant opening operation according to the instant open command for instant open command;
Or,
When second control instruction is to postpone open command to be gradually increased brightness according to the delay open command;Or,
When second control instruction is second mode switching command, according to the second mode switching command, by Night
It is switched to normal mode of operation.
12. a kind of terminal, which is characterized in that the terminal includes:
Whether detection module reaches the preset time of the first specified event, the first specified event for detecting current time
Dormant dependent event is in for characterization user;
Generation module, for reaching the preset time of the described first specified event when the current time, according to preset control
Mode generates the first control instruction;
Sending module, for first control instruction to be sent to lighting device, first control instruction is for closing institute
It states lighting device or reduces the brightness of the lighting device.
13. terminal according to claim 12, which is characterized in that the first specified event includes sleep event, without behaviour
Make the handover event of dark screen event, offline mode.
14. terminal according to claim 12, which is characterized in that the terminal further include:
Setup module, for the preset time of the described first specified event to be arranged in event reminder application;Or,
Setup module, for the preset time of the described first specified event to be arranged in quarter-bell is applied;Or,
Setup module, for the preset time of the described first specified event to be arranged in schedule is applied.
15. terminal according to claim 12, which is characterized in that the generation module, for working as preset control mode
For the control mode closed immediately, instant out code is generated, the instant out code is held for controlling the lighting device
The instant shutoff operation of row;Or,
When the control mode that preset control mode is late release, late release instruction is generated, the late release instruction is used
It is gradually reduced brightness in controlling the lighting device, and when brightness is kept to zero, controls the lighting device and executes shutoff operation;
Or,
When the control mode that preset control mode is switch mode, first mode switching command is generated, the first mode is cut
It changes instruction and Night is switched to by normal mode of operation for controlling the lighting device.
16. terminal described in any one of 2 to 15 according to claim 1, which is characterized in that
Whether the detection module reaches the preset time of the second specified event for detecting current time, and described second is specified
Event is the dependent event for characterizing user and being in awake state;
The generation module, for reaching the preset time of the described second specified event when the current time, according to preset
Control mode generates the second control instruction;
The sending module, for second control instruction to be sent to the lighting device, second control instruction is used
In the brightness for opening the lighting device or the increase lighting device.
17. terminal according to claim 16, which is characterized in that the second specified event includes the event, terminal of getting up
Bright screen event, quarter-bell event.
18. terminal according to claim 16, which is characterized in that the generation module, for working as preset control mode
For the control mode opened immediately, instant open command is generated, the instant open command is held for controlling the lighting device
The instant opening operation of row;Or,
When preset control mode is the control mode that delay is opened, generation delay open command, the delay open command use
Brightness is gradually increased in controlling the lighting device;Or,
When the control mode that preset control mode is pattern switching, second mode switching command is generated, the second mode is cut
It changes instruction and normal mode of operation is switched to by Night for controlling the lighting device.
19. a kind of lighting device, which is characterized in that the lighting device includes:
Receiving module, for receiving the first control instruction of terminal transmission;
Operation executing module, for executing shutoff operation or brightness reducing operation according to first control instruction.
20. lighting device according to claim 19, which is characterized in that the operation executing module, for when described the
One control instruction executes instant shutoff operation according to the instant out code for instant out code;Or,
When first control instruction be late release instruction, according to the late release instruct, be gradually reduced brightness, and bright
When degree is kept to zero, shutoff operation is executed;Or,
When first control instruction is first mode switching command, according to the first mode switching command, by working normally
Pattern switching is Night.
21. lighting device described in 9 or 20 according to claim 1, which is characterized in that
The receiving module, for receiving the second control instruction of terminal transmission;
The operation executing module, for executing opening operation or brightness increase operation according to second control instruction.
22. lighting device according to claim 21, which is characterized in that the operation executing module, for when described the
Two control instructions execute instant opening operation according to the instant open command for instant open command;Or,
When second control instruction is to postpone open command to be gradually increased brightness according to the delay open command;Or,
When second control instruction is second mode switching command, according to the second mode switching command, by Night
It is switched to normal mode of operation.
23. a kind of control device characterized by comprising
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
Whether detection current time reaches the preset time of the first specified event, and the first specified event is that characterization user is in
Dormant dependent event;
When the current time reaches the preset time of the described first specified event, according to preset control mode, generation first
Control instruction;
First control instruction is sent to lighting device, first control instruction is for closing the lighting device or subtracting
The brightness of the small lighting device.
24. a kind of control device characterized by comprising
Processor;
Memory for the instruction that storage processor can be performed;
Wherein, the processor is configured to:
Receive the first control instruction that terminal is sent;
According to first control instruction, executes shutoff operation or brightness reduces operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910409624.1A CN110113851A (en) | 2019-05-16 | 2019-05-16 | Control method, control device, terminal and the lighting device of lighting device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910409624.1A CN110113851A (en) | 2019-05-16 | 2019-05-16 | Control method, control device, terminal and the lighting device of lighting device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110113851A true CN110113851A (en) | 2019-08-09 |
Family
ID=67490596
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910409624.1A Pending CN110113851A (en) | 2019-05-16 | 2019-05-16 | Control method, control device, terminal and the lighting device of lighting device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110113851A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110493929A (en) * | 2019-09-18 | 2019-11-22 | 中国计量大学 | One kind being based on the movable self-adapting intelligent lighting system of indoor human body and its application method |
CN111867203A (en) * | 2020-07-21 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Working mode switching method, device, equipment and medium of desk lamp |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717807A (en) * | 2015-04-01 | 2015-06-17 | 浙江农林大学 | LED sleep-supporting and awakening lamp and method |
CN104822214A (en) * | 2015-05-29 | 2015-08-05 | 桂林电子科技大学 | Intelligent light controller |
CN204697342U (en) * | 2015-05-29 | 2015-10-07 | 桂林电子科技大学 | Intelligent lamp light controller |
CN105007671A (en) * | 2015-08-10 | 2015-10-28 | 武汉理工大学 | Bluetooth-device-contained LED application system and method thereof |
CN105873319A (en) * | 2016-04-25 | 2016-08-17 | 乐视控股(北京)有限公司 | Light control method and terminal equipment |
CN108419453A (en) * | 2017-10-27 | 2018-08-17 | 深圳和而泰智能控制股份有限公司 | A kind of method for controlling illuminating lamp and its device, headlamp |
CN109556099A (en) * | 2019-01-17 | 2019-04-02 | 珠海格力电器股份有限公司 | Sleep assistant devices, household electrical appliance |
-
2019
- 2019-05-16 CN CN201910409624.1A patent/CN110113851A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104717807A (en) * | 2015-04-01 | 2015-06-17 | 浙江农林大学 | LED sleep-supporting and awakening lamp and method |
CN104822214A (en) * | 2015-05-29 | 2015-08-05 | 桂林电子科技大学 | Intelligent light controller |
CN204697342U (en) * | 2015-05-29 | 2015-10-07 | 桂林电子科技大学 | Intelligent lamp light controller |
CN105007671A (en) * | 2015-08-10 | 2015-10-28 | 武汉理工大学 | Bluetooth-device-contained LED application system and method thereof |
CN105873319A (en) * | 2016-04-25 | 2016-08-17 | 乐视控股(北京)有限公司 | Light control method and terminal equipment |
CN108419453A (en) * | 2017-10-27 | 2018-08-17 | 深圳和而泰智能控制股份有限公司 | A kind of method for controlling illuminating lamp and its device, headlamp |
CN109556099A (en) * | 2019-01-17 | 2019-04-02 | 珠海格力电器股份有限公司 | Sleep assistant devices, household electrical appliance |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110493929A (en) * | 2019-09-18 | 2019-11-22 | 中国计量大学 | One kind being based on the movable self-adapting intelligent lighting system of indoor human body and its application method |
CN111867203A (en) * | 2020-07-21 | 2020-10-30 | 北京字节跳动网络技术有限公司 | Working mode switching method, device, equipment and medium of desk lamp |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105392257B (en) | Control the method and device of intelligent lamp | |
CN104023434B (en) | A kind of methods, devices and systems for opening intelligent lamp | |
CN105049923B (en) | Wake up the method and device of electronic equipment | |
CN105517277B (en) | Lighting apparatus control method and device | |
CN104039040B (en) | The control method and device of intelligent lamp | |
CN105137787B (en) | For controlling the method and apparatus of home appliance | |
CN104302048B (en) | Method for controlling lamp and device | |
EP3133874B1 (en) | Method and apparatus for starting energy saving mode | |
CN105045622A (en) | Terminal alarming method and apparatus | |
CN105162945A (en) | Method and device for displaying information | |
CN104698932B (en) | Apparatus control method and device | |
CN107172307A (en) | Alarm clock jingle bell control method, device and storage medium | |
CN106406117A (en) | Device control method and device | |
CN108710306A (en) | Control method, device and the computer readable storage medium of smart machine | |
CN105182809A (en) | Method for adjusting light transmittance of intelligent curtain, intelligent curtain and device | |
CN104376239A (en) | Terminal unlocking method and device | |
CN105259768B (en) | Smart machine control method and device | |
CN107529699A (en) | Control method of electronic device and device | |
CN108200279A (en) | backlight adjusting method, device and equipment | |
CN105390120B (en) | bright screen control method and device | |
CN110113851A (en) | Control method, control device, terminal and the lighting device of lighting device | |
CN105824474A (en) | Control method and device as well as mobile equipment | |
CN107203264A (en) | The control method of display pattern, device, electronic equipment | |
CN112073912B (en) | Function control method, function control device, and storage medium | |
CN106228933B (en) | Backlight circuit for lamp, method for implementing backlight and electronic equipment |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190809 |
|
RJ01 | Rejection of invention patent application after publication |