CN104317597A - Software design method for notebook computer brightness self-adaption - Google Patents

Software design method for notebook computer brightness self-adaption Download PDF

Info

Publication number
CN104317597A
CN104317597A CN201410597800.6A CN201410597800A CN104317597A CN 104317597 A CN104317597 A CN 104317597A CN 201410597800 A CN201410597800 A CN 201410597800A CN 104317597 A CN104317597 A CN 104317597A
Authority
CN
China
Prior art keywords
brightness
operating system
self
software
notebook
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201410597800.6A
Other languages
Chinese (zh)
Inventor
孙超
吴登勇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Chaoyue Numerical Control Electronics Co Ltd
Original Assignee
Shandong Chaoyue Numerical Control Electronics 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 Shandong Chaoyue Numerical Control Electronics Co Ltd filed Critical Shandong Chaoyue Numerical Control Electronics Co Ltd
Priority to CN201410597800.6A priority Critical patent/CN104317597A/en
Publication of CN104317597A publication Critical patent/CN104317597A/en
Pending legal-status Critical Current

Links

Landscapes

  • Controls And Circuits For Display Device (AREA)
  • Control Of Indicators Other Than Cathode Ray Tubes (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

The invention provides a software design method for notebook computer brightness self-adaption. Script program self-running brightness calibration software for application layer brightness control is added in an operating system and used for analyzing brightness parameter values obtained from the operating system and comparing the parameter values transmitted from two sensors and designing proper brightness values prior to transmitting the designed proper brightness values to the operating system, the operating system controls the brightness level under a brightness setting menu of the operating system firstly after receiving brightness control values and transmits the information to an EC at the same time, and the EC controls PWM (pulse-width modulation) signals of a liquid crystal screen according to a brightness information value, so that a whole brightness control self-adaption action is completed.

Description

The adaptive software design approach of a kind of notebook brightness
Technical field
The present invention relates to notebook, linux kernel drives exploitation, EC development technique field, by identifying the information that the luminance sensor of notebook inside obtains, the self-adaptative adjustment of brightness is carried out, specifically the adaptive software design approach of a kind of notebook brightness according to current operating environment.
Background technology
Generally carry out manual shift by FN function key in notebook brightness regulation, the brightness regulation instruction of the operation acquisition active user of FN function key is obtained by EC, the magnitude of voltage adjusting notebook liquid crystal display is removed again by pwm signal, thus reach the regulatory function of notebook brightness, because notebook product can use lithium battery, under the independent electric power thus supplied of lithium battery, the power consumption of machine system determines the cruising time of notebook, what so enough automatically control liquid crystal display for the adaptation function of notebook applied environment is presented in a comfortable usable range, decrease operation step gather and reasonably can regulate the power consumption of complete machine, the application such as the mobile phone on market has about the self-regulating relevant design of brightness, but lack relevant adaptive calibration software in application layer, make user can only use identical setting in different environments, Consumer's Experience sense is more weak.
Summary of the invention
The object of this invention is to provide the adaptive software design approach of a kind of notebook brightness.
The object of the invention is to realize in the following manner, concrete steps are as follows:
1) under notebook hardware system, design two luminance sensors, drive in system level design brightness regulation, at application layer design adaptive calibration software;
2) in system layer, the brightness regulation of notebook is corresponding with operating system brightness regulation, brightness is under an operating system arranged finally can by the synchronisation of EC and operating system nucleus to consistent state, after user's start, EC is by obtaining the monochrome information of two luminance sensors of current environment, and this monochrome information is passed to operating system by EC after system start-up;
3) by increasing the shell script self-starting brightness calibration software of application layer brightness regulation in an operating system, this software is analyzed after obtaining the brightness parameter value that transmits of operating system, the parameter value transmitted by comparison two sensors is compared, operating system is sent to after designing suitable brightness value, operating system first adjust after receiving this brightness regulation value operating system brightness menu is set under gray scale, send this information to EC simultaneously, EC is according to the pwm signal of this monochrome information value adjustment liquid crystal display, complete the self-adaptation action of whole brightness regulation.
The invention has the beneficial effects as follows: the parameter value transmitted by comparison two sensors is compared, operating system is sent to after designing suitable brightness value, operating system first adjust after receiving this brightness regulation value operating system brightness menu is set under gray scale, send this information to EC simultaneously, EC, according to the pwm signal of this monochrome information value adjustment liquid crystal display, completes the self-adaptation action of whole brightness regulation.
Accompanying drawing explanation
Fig. 1 is notebook start brightness self adaptive flow figure.
Embodiment
With reference to Figure of description, method of the present invention is described in detail below.
The adaptive software design approach of a kind of notebook brightness, concrete steps are as follows
Under notebook hardware system, design two luminance sensors, drive in system level design brightness regulation, at application layer design adaptive calibration software.
In system layer, the brightness regulation of notebook is corresponding with operating system brightness regulation, brightness is under an operating system arranged finally can by the synchronisation of EC and operating system nucleus to consistent state, first after user starts shooting, EC passes through the monochrome information of two luminance sensors obtaining current environment, this monochrome information is passed to operating system by EC after system start-up, by increasing the shell script self-starting brightness calibration software of application layer brightness regulation in an operating system, this software is analyzed after obtaining the brightness parameter value that transmits of operating system, the parameter value transmitted by comparison two sensors is compared, operating system is sent to after designing suitable brightness value, operating system first adjust after receiving this brightness regulation value operating system brightness menu is set under gray scale, send this information to EC simultaneously, EC is according to the pwm signal of this monochrome information value adjustment liquid crystal display, complete the self-adaptation action of whole brightness regulation.
Embodiment
EC Software for Design:
Luminance sensor information is obtained in EC code;
Sensor1=GetSensorinfo (sensor1); // obtain luminance sensor 1 brightness value
Sensor2=GetSensorinfo (sensor2); // obtain luminance sensor 2 brightness value
Sendtosystem (); // transmit this value to system
Application layer software designs:
Part1=SYSGetSensorinfo (sensor1); // application software obtains sensor 1 brightness value from system
Part2=SYSGetSensorinfo (sensor2); // application software obtains sensor 2 brightness value from system
Value=Compare (Part1, Part2); // brightness value of applicable current environment is returned by Algorithm Analysis
Setlighttosys (Value); // notice Operation system setting gray scale.
Except the technical characteristic described in instructions, be the known technology of those skilled in the art.

Claims (1)

1. the adaptive software design approach of notebook brightness, it is characterized in that, concrete steps are as follows:
1) under notebook hardware system, design two luminance sensors, drive in system level design brightness regulation, at application layer design adaptive calibration software;
2) in system layer, the brightness regulation of notebook is corresponding with operating system brightness regulation, brightness is under an operating system arranged finally can by the synchronisation of EC and operating system nucleus to consistent state, after user's start, EC is by obtaining the monochrome information of two luminance sensors of current environment, and this monochrome information is passed to operating system by EC after system start-up;
3) by increasing the shell script self-starting brightness calibration software of application layer brightness regulation in an operating system, this software is analyzed after obtaining the brightness parameter value that transmits of operating system, the parameter value transmitted by comparison two sensors is compared, operating system is sent to after designing suitable brightness value, operating system first adjust after receiving this brightness regulation value operating system brightness menu is set under gray scale, send this information to EC simultaneously, EC is according to the pwm signal of this monochrome information value adjustment liquid crystal display, complete the self-adaptation action of whole brightness regulation.
CN201410597800.6A 2014-10-31 2014-10-31 Software design method for notebook computer brightness self-adaption Pending CN104317597A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410597800.6A CN104317597A (en) 2014-10-31 2014-10-31 Software design method for notebook computer brightness self-adaption

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410597800.6A CN104317597A (en) 2014-10-31 2014-10-31 Software design method for notebook computer brightness self-adaption

Publications (1)

Publication Number Publication Date
CN104317597A true CN104317597A (en) 2015-01-28

Family

ID=52372832

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410597800.6A Pending CN104317597A (en) 2014-10-31 2014-10-31 Software design method for notebook computer brightness self-adaption

Country Status (1)

Country Link
CN (1) CN104317597A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760314A (en) * 2016-03-14 2016-07-13 山东超越数控电子有限公司 Method for controlling starting-up screen luminance of system by virtue of EC SCI

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145332A (en) * 2006-09-14 2008-03-19 英华达(上海)科技有限公司 Screen brightness regulating device and method for regulating electronic device screen brightness
CN101778504A (en) * 2009-01-09 2010-07-14 浪潮乐金数字移动通信有限公司 System and method for automatically adjusting brightness of backlight lamps of screen and keys
CN102469204A (en) * 2010-11-16 2012-05-23 沈阳晨讯希姆通科技有限公司 Method for automatically adjusting cellphone backlight
CN103117044A (en) * 2013-01-07 2013-05-22 华为终端有限公司 Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal
US20130328842A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Electronic Device With Display Brightness Control

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101145332A (en) * 2006-09-14 2008-03-19 英华达(上海)科技有限公司 Screen brightness regulating device and method for regulating electronic device screen brightness
CN101778504A (en) * 2009-01-09 2010-07-14 浪潮乐金数字移动通信有限公司 System and method for automatically adjusting brightness of backlight lamps of screen and keys
CN102469204A (en) * 2010-11-16 2012-05-23 沈阳晨讯希姆通科技有限公司 Method for automatically adjusting cellphone backlight
US20130328842A1 (en) * 2012-06-08 2013-12-12 Apple Inc. Electronic Device With Display Brightness Control
CN103117044A (en) * 2013-01-07 2013-05-22 华为终端有限公司 Terminal backlight brightness adjusting method and terminal backlight brightness adjusting device and terminal

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105760314A (en) * 2016-03-14 2016-07-13 山东超越数控电子有限公司 Method for controlling starting-up screen luminance of system by virtue of EC SCI

Similar Documents

Publication Publication Date Title
EP2978283A2 (en) Illumination apparatus and controlling method thereof
US20160109864A1 (en) Wireless Building Automation
EP3568882B1 (en) Apparatus for managing battery of electronic device
CN104866065B (en) Low power driving method and the electronic device for performing low power driving method
US9847018B2 (en) System and method for applying over the air updates to a universal remote control device
CN111313500B (en) Charging management method and device, electronic equipment and computer readable storage medium
US10635391B2 (en) Electronic device and method for controlling an operation thereof
CN106329614B (en) Method for controlling a plurality of batteries and electronic device for implementing the method
KR102143871B1 (en) Apparatus and method for controlling a power of electronic device
CN107681709B (en) Method for transmitting power and electronic device supporting the same
US10331187B2 (en) Selectively controlling power to a connector port
WO2018205487A1 (en) Household appliance control method and apparatus, and terminal device
CN104866418B (en) Automated testing method and system
CN106777009B (en) Intelligent equipment and task plan execution control method and device
CN106330635B (en) Manipulate the method, apparatus and system of smart machine
US20150279203A1 (en) Method and device for transmitting control signal of multi-device system
CN108304151A (en) Method for showing content and its electronic equipment
US20130194968A1 (en) Communication device, program and communication method
KR20170015097A (en) Method and apparatus for power management
CN105391607A (en) Intelligent home system based on intelligent wearable device
EP2985675A1 (en) Method of controlling an electronic device according to a communication state of the electronic device
US20130099569A1 (en) Charging control method
CN106468943A (en) Application control method and device and terminal
TW201407353A (en) Sesing method on a sensing device by a smart terminal and a smart terminal using the same
CN104317597A (en) Software design method for notebook computer brightness self-adaption

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150128

WD01 Invention patent application deemed withdrawn after publication