CN104602415B - A kind of method and device of the black dull application of terminal - Google Patents

A kind of method and device of the black dull application of terminal Download PDF

Info

Publication number
CN104602415B
CN104602415B CN201510036484.XA CN201510036484A CN104602415B CN 104602415 B CN104602415 B CN 104602415B CN 201510036484 A CN201510036484 A CN 201510036484A CN 104602415 B CN104602415 B CN 104602415B
Authority
CN
China
Prior art keywords
terminal
led
black dull
flag bit
embedded controller
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
CN201510036484.XA
Other languages
Chinese (zh)
Other versions
CN104602415A (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.)
Hefei Lianbao Information Technology Co Ltd
Original Assignee
Hefei Lianbao Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Lianbao Information Technology Co Ltd filed Critical Hefei Lianbao Information Technology Co Ltd
Priority to CN201510036484.XA priority Critical patent/CN104602415B/en
Publication of CN104602415A publication Critical patent/CN104602415A/en
Application granted granted Critical
Publication of CN104602415B publication Critical patent/CN104602415B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of black dull application process of terminal and device, it is related to computer utility, methods described includes:Terminal, according to the instruction of all LED of closing a terminal, is cut off the power supply of terminal LED, and is provided for the locking character keeping all LED of terminal to be in off-position;After the power supply of terminal LED is cut off, if terminal receives the instruction of turning on light lighting the single LED of terminal, using described locking character, described instruction of turning on light is verified;After described being verified, light the single LED of described terminal, conversely, then making all LED of terminal keep off-position.The present invention can realize, by providing a kind of method arranging flag bit at EC end, the effect that all of lamp of notebook computer is not all powered, and do not affect user's rest, improve Consumer's Experience sense.

Description

A kind of method and device of the black dull application of terminal
Technical field
The present invention relates to computer utility, the black dull application process particularly to a kind of terminal and device.
Background technology
User is likely to require computer during rest and continues to run with, but the light of computer influences whether to use The rest at family, existing solution has two kinds, and one kind is the notebook computer lid that closes, but still deposits around notebook computer In light emitting diode (LED:Light Emitting Diode) the bright situation of lamp, another kind is to be gone completely by installation of drive software Sufficient user's request, but driving must be installed, and do not control all of lamp.It can be seen that, the user of above two solution Experience sense is all extremely undesirable.
Content of the invention
It is an object of the invention to provide a kind of black dull application process of terminal and device, can solve the problem that in user's rest When, notebook computer normal influence on system operation user rest leads to the problem of Consumer's Experience sense difference.
According to an aspect of the invention, it is provided a kind of black dull application process of terminal, including:
Terminal, according to the instruction of all LED of closing a terminal, cuts off the power supply of terminal LED, and is provided for keeping eventually All LED are held to be in the locking character of off-position;
After the power supply of terminal LED is cut off, if terminal receives the instruction of turning on light lighting the single LED of terminal, profit With described locking character, described instruction of turning on light is verified;
After described being verified, light the single LED of described terminal, conversely, then making all LED of terminal keep Off-position.
Preferably, the preset one black dull mark being used for control terminal all LED working condition in embedded controller Will position.
Preferably, described terminal, according to the instruction of all LED of closing a terminal, cuts off the step of the power supply of terminal LED Rapid inclusion:
Embedded controller receives from all LED of closing a terminal for arranging the hot key of described black dull flag bit Black dull open command;
Embedded controller, according to the black dull open command of described all LED of closing a terminal, cuts off the electricity of terminal LED Source.
Preferably, the step bag of the described locking character being provided for keeping all LED of terminal to be in off-position Include:
The preset black dull flag bit being used for control terminal all LED working condition in described embedded controller is set It is set to TRUE;
Wherein, TRUE refers to keep all LED of terminal to be in off-position, conversely, FALSE refers to that recovering terminal owns LED is in normal operating conditions.
Preferably, described included using the step that described locking character is verified to described instruction of turning on light:
To the preset black dull flag bit for control terminal all LED working condition in described embedded controller Current state is identified;
If the current state of described black dull flag bit is FALSE, it is verified, if the current shape of described black dull flag bit State is TRUE, then authentication failed.
Preferably, described also included before the described step being verified:
Embedded controller receives lights terminal all LED from the hot key for arranging described black dull flag bit Black dull out code;
The preset black dull flag bit being used for control terminal all LED working condition in described embedded controller is set It is set to FALSE, and connect the power supply of terminal LED.
According to a further aspect in the invention, there is provided a kind of black dull application apparatus of terminal, including:
Locking module, for terminal according to the instruction of all LED of closing a terminal, cuts off the power supply of terminal LED, and sets Put for keeping all LED of terminal to be in the locking character of off-position;
Receiver module, for after the power supply of terminal LED is cut off, if terminal receives lights the single LED of terminal Turn on light instruction, then using described locking character, described instruction of turning on light is verified;
Correction verification module, for after described being verified, lighting the single LED of described terminal, conversely, then make terminal own LED keeps off-position.
Preferably, described locking module further includes:
Open submodule, receive from for arranging the closing of the hot key of described black dull flag bit for embedded controller The black dull open command of all LED of terminal;
Cut-out submodule, for embedded controller according to the black dull open command of described all LED of closing a terminal, cuts The power supply of disconnected terminal LED.
Preferably, described locking module further comprises:
Setting submodule, for being used for control terminal all LED work shape by preset in described embedded controller The black dull flag bit of state is set to TRUE.
Preferably, described receiver module further includes:
Identification submodule, for working shape for all LED of control terminal to preset in described embedded controller The current state of the black dull flag bit of state is identified;
Current sub-block, if the current state for described black dull flag bit is FALSE, is verified, if described dark The current state of black designation position is TRUE, then authentication failed.
Compared with prior art, the beneficial effects of the present invention is:Can be by providing one kind in embedded controller (EC:Embedded Controller) hold the method that flag bit is set, realize the effect that all of lamp of notebook computer is not all powered Really, do not affect user's rest, improve Consumer's Experience sense.
Brief description
Fig. 1 is the method schematic of the black dull application of terminal provided in an embodiment of the present invention;
Fig. 2 is the structure drawing of device of the black dull application of terminal provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the flag bit setting of the black dull application of terminal provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the black dull application of terminal provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with accompanying drawing to a preferred embodiment of the present invention will be described in detail it will be appreciated that described below is excellent Select embodiment to be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is the method schematic of the black dull application of terminal provided in an embodiment of the present invention, as shown in figure 1, concrete steps are such as Under:
Step S1:Terminal, according to the instruction of all LED of closing a terminal, is cut off the power supply of terminal LED, and is provided for The all LED of terminal are kept to be in the locking character of off-position.
In step sl, in embedded controller preset one be used for control terminal all LED working condition dark Black designation position.
Further, described terminal, according to the instruction of all LED of closing a terminal, cuts off the power supply of terminal LED Step includes:
Embedded controller receives from all LED of closing a terminal for arranging the hot key of described black dull flag bit Black dull open command;
Embedded controller, according to the black dull open command of described all LED of closing a terminal, cuts off the electricity of terminal LED Source.
Further, the step of the described locking character being provided for keeping all LED of terminal to be in off-position Including:
The preset black dull flag bit being used for control terminal all LED working condition in described embedded controller is set It is set to TRUE;
Wherein, TRUE refers to keep all LED of terminal to be in off-position, conversely, FALSE refers to that recovering terminal owns LED is in normal operating conditions.
Step S2:After the power supply of terminal LED is cut off, if terminal receives the finger of turning on light lighting the single LED of terminal Order, then verified to described instruction of turning on light using described locking character.
In step s 2, described included using the step that described locking character is verified to described instruction of turning on light:
To the preset black dull flag bit for control terminal all LED working condition in described embedded controller Current state is identified;
If the current state of described black dull flag bit is FALSE, it is verified, if the current shape of described black dull flag bit State is TRUE, then authentication failed.
Step S3:After described being verified, light the single LED of described terminal, conversely, then making all LED of terminal Keep off-position.
In step s3, described also included before the described step being verified:
Embedded controller receives lights terminal all LED from the hot key for arranging described black dull flag bit Black dull out code;
The preset black dull flag bit being used for control terminal all LED working condition in described embedded controller is set It is set to FALSE, and connect the power supply of terminal LED.
Fig. 2 is the structure drawing of device of the black dull application of terminal provided in an embodiment of the present invention, as shown in Fig. 2 including:Locking mould Block, receiver module and correction verification module.
Described locking module is used for the instruction according to all LED of closing a terminal for the terminal, cuts off the power supply of terminal LED, And it is provided for the locking character keeping all LED of terminal to be in off-position.Wherein, the unlatching submodule of described locking module Block is used for embedded controller and receives from for arranging the dark of all LED of closing a terminal of the hot key of described black dull flag bit Black open command.The cut-out submodule of described locking module is used for embedded controller according to described all LED of closing a terminal Black dull open command, cut-out terminal LED power supply.The setting submodule of described locking module is used for described embedded control In device processed, the preset black dull flag bit for control terminal all LED working condition is set to TRUE.
Described receiver module is used for after the power supply of terminal LED is cut off, if terminal receives lights the single LED of terminal Instruction of turning on light, then using described locking character described instruction of turning on light is verified.Wherein, identification of described receiver module Module is used for the preset black dull flag bit for control terminal all LED working condition in described embedded controller Current state is identified.The current sub-block of described receiver module, if the current state for described black dull flag bit is FALSE, then be verified, if the current state of described black dull flag bit is TRUE, authentication failed.
Described correction verification module is used for, after described being verified, lighting the single LED of described terminal, conversely, then making terminal All LED keep off-position.
Fig. 3 is the schematic diagram of the flag bit setting of the black dull application of terminal provided in an embodiment of the present invention, as shown in figure 3, It is provided for the black dull flag bit of control terminal all LED working condition in EC, utilize for arranging described black dull flag bit Hot key (or otherwise) and all LED of control terminal on and off switch, and controlled by software, will be used for controlling end The black dull flag bit X holding all LED working conditions is set to true, thus realizing all LED of control terminal to be in power-off State.
Fig. 4 is the schematic flow sheet of the black dull application of terminal provided in an embodiment of the present invention, as shown in figure 4, EC is controlling institute Add a judgement before having the light on and off of LED, the current state of flag bit X is identified, if the current shape of flag bit X State is true, then light the single LED of described terminal, if the current state of flag bit X is not true, return, all LED All do not power, remain powered off state.
In sum, the present invention has following technique effect:Can be by providing a kind of side arranging flag bit at EC end Method, realizes the effect that all of lamp of notebook computer is not all powered, and does not affect user's rest, improves Consumer's Experience sense.
Although being described in detail to the present invention above, the invention is not restricted to this, those skilled in the art of the present technique Various modifications can be carried out according to the principle of the present invention.Therefore, all modifications made according to the principle of the invention, all should be understood to Fall into protection scope of the present invention.

Claims (7)

1. a kind of black dull application process of terminal is it is characterised in that include:
Terminal, according to the instruction of all LED of closing a terminal, cuts off the power supply of terminal LED, and is provided for keeping terminal institute LED is had to be in the locking character of off-position;
After the power supply of terminal LED is cut off, if terminal receives the instruction of turning on light lighting the single LED of terminal, utilize institute State locking character described instruction of turning on light is verified;
After described being verified, light the single LED of described terminal, conversely, then making all LED of terminal keep power-off State;
The preset one black dull flag bit being used for control terminal all LED working condition in embedded controller;
Wherein, described included using the step that described locking character is verified to described instruction of turning on light:
Current to the preset black dull flag bit for control terminal all LED working condition in described embedded controller State is identified;
If the current state of described black dull flag bit is FALSE, it is verified, if the current state of described black dull flag bit is TRUE, then authentication failed.
2. method according to claim 1 is it is characterised in that described terminal is according to the finger of all LED of closing a terminal Order, the step of the power supply of cut-out terminal LED includes:
Embedded controller receives from for arranging the black dull of all LED of closing a terminal of the hot key of described black dull flag bit Open command;
Embedded controller, according to the black dull open command of described all LED of closing a terminal, cuts off the power supply of terminal LED.
3. method according to claim 2 is it is characterised in that the described holding all LED of terminal that are provided for are in The step of the locking character of off-position includes:
The preset black dull flag bit being used for control terminal all LED working condition in described embedded controller is set to TRUE;
Wherein, TRUE refers to keep all LED of terminal to be in off-position, conversely, FALSE refers to recover all LED of terminal Lamp is in normal operating conditions.
4. method according to claim 1 is it is characterised in that described also wrapped before the described step being verified Include:
Embedded controller reception lights the black dull of all LED of terminal from the hot key for arranging described black dull flag bit Out code;
The preset black dull flag bit being used for control terminal all LED working condition in described embedded controller is set to FALSE, and connect the power supply of terminal LED.
5. a kind of black dull application apparatus of terminal is it is characterised in that include:
Locking module, for terminal according to the instruction of all LED of closing a terminal, cuts off the power supply of terminal LED, and arranges use In the locking character keeping all LED of terminal to be in off-position;
Receiver module, for after the power supply of terminal LED is cut off, if terminal receives lights turning on light of the single LED of terminal Instruction, then verified to described instruction of turning on light using described locking character;
Correction verification module, for after described being verified, lighting the single LED of described terminal, conversely, then make all LED of terminal Lamp keeps off-position;
Embedded controller, its preset one black dull flag bit being used for control terminal all LED working condition;
Wherein, described receiver module further includes:
Identification submodule, in described embedded controller preset for control terminal all LED working condition The current state of black dull flag bit is identified;
Current sub-block, if the current state for described black dull flag bit is FALSE, is verified, if described black dull mark The current state of will position is TRUE, then authentication failed.
6. device according to claim 5 is it is characterised in that described locking module further includes:
Open submodule, receive closing a terminal from the hot key for arranging described black dull flag bit for embedded controller The black dull open command of all LED;
Cut-out submodule, for embedded controller according to the black dull open command of described all LED of closing a terminal, cuts off eventually The power supply of end LED.
7. device according to claim 5 is it is characterised in that described locking module further comprises:
Setting submodule, for by the control terminal all LED working condition that is used for preset in described embedded controller Black dull flag bit is set to TRUE.
CN201510036484.XA 2015-01-23 2015-01-23 A kind of method and device of the black dull application of terminal Active CN104602415B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510036484.XA CN104602415B (en) 2015-01-23 2015-01-23 A kind of method and device of the black dull application of terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510036484.XA CN104602415B (en) 2015-01-23 2015-01-23 A kind of method and device of the black dull application of terminal

Publications (2)

Publication Number Publication Date
CN104602415A CN104602415A (en) 2015-05-06
CN104602415B true CN104602415B (en) 2017-03-08

Family

ID=53127800

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510036484.XA Active CN104602415B (en) 2015-01-23 2015-01-23 A kind of method and device of the black dull application of terminal

Country Status (1)

Country Link
CN (1) CN104602415B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101658071A (en) * 2007-03-08 2010-02-24 罗姆股份有限公司 Led illumination device and its drive method
CN201570133U (en) * 2009-12-25 2010-09-01 重庆电子工程职业学院 Automobile anti-theft system demonstrating board
CN103458554A (en) * 2012-05-30 2013-12-18 海洋王照明科技股份有限公司 LED drive circuit and LED lamp

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201153338Y (en) * 2007-12-29 2008-11-19 奥迪通用照明(广州)有限公司 Networked building lighting control system of various light source lamps
US8954654B2 (en) * 2008-06-18 2015-02-10 Super Talent Technology, Corp. Virtual memory device (VMD) application/driver with dual-level interception for data-type splitting, meta-page grouping, and diversion of temp files to ramdisks for enhanced flash endurance
CN102033776B (en) * 2009-09-29 2016-08-17 联想(北京)有限公司 A kind of audio frequency playing method and a kind of calculating equipment
CN103024975A (en) * 2011-09-27 2013-04-03 北京同步科技有限公司 Light control device, light control method and illuminating device
CN102438369A (en) * 2011-11-07 2012-05-02 苏州三诺信息科技有限公司 Realization method for fading function of power source lamp of universal computer in sleep state
CN202738213U (en) * 2012-08-24 2013-02-13 江苏省交通规划设计院股份有限公司 Lighting control device based on wireless Modbus protocol
CN103677239B (en) * 2012-09-24 2017-05-24 联想(北京)有限公司 Wireless display terminal control method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101658071A (en) * 2007-03-08 2010-02-24 罗姆股份有限公司 Led illumination device and its drive method
CN201570133U (en) * 2009-12-25 2010-09-01 重庆电子工程职业学院 Automobile anti-theft system demonstrating board
CN103458554A (en) * 2012-05-30 2013-12-18 海洋王照明科技股份有限公司 LED drive circuit and LED lamp

Also Published As

Publication number Publication date
CN104602415A (en) 2015-05-06

Similar Documents

Publication Publication Date Title
US20150382434A1 (en) Techniques for Remote Communication with a Photocontrol Device
TW200736899A (en) Method and apparatus for controlling power supply in a computer system
JP2011160140A5 (en) Information processing apparatus, control method thereof, and program
GB201121525D0 (en) Information processing apparatus capable of appropriatley executing shutdown processing, method of controlling the information processing apparatus
SG166735A1 (en) Method and devices for controlling power loss
WO2009075102A1 (en) Clock control device, clock control method, clock control program, and integrated circuit
CN104699144A (en) Temperature-controllable liquid crystal display screen
CN104602415B (en) A kind of method and device of the black dull application of terminal
EP2210360A4 (en) Apparatus and method for decoding in mobile communication system
CN104470035A (en) Road lighting intelligent power source system
TW200712851A (en) Controller and method for on-off switching of power supply
CN105307352A (en) Control method and control device of intelligent lighting equipment
CN204598357U (en) A kind of headlight for electric vehicle control circuit
CN201035558Y (en) Safety online/offline dual-purpose programming instrument
TW200727097A (en) A method for executing booting process under a abnormal situation and a control chip for booting process
CN104039035B (en) The energy-saving equipment be energized again after intelligent lighting power-off and processing method
CN201557297U (en) Control device for LED color lamp
CN207150890U (en) A kind of LED dims tinting system
CN107548209A (en) A kind of upper electricity of wireless lighting control system is i.e. to code method
TWI256236B (en) Power saving control method for radio communication module
CN110702159B (en) Method and system for detecting valve body dismantling
TW200713970A (en) System and method for code authentication
CN202338878U (en) Thermal protective device of LED (Light Emitting Diode) road lamp
CN101442862B (en) Method for starting light bulb
CN211123794U (en) Temperature control system of electromagnetic roasting machine

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant