CN111696489A - Method for controlling backlight through SIO - Google Patents
Method for controlling backlight through SIO Download PDFInfo
- Publication number
- CN111696489A CN111696489A CN202010557255.3A CN202010557255A CN111696489A CN 111696489 A CN111696489 A CN 111696489A CN 202010557255 A CN202010557255 A CN 202010557255A CN 111696489 A CN111696489 A CN 111696489A
- Authority
- CN
- China
- Prior art keywords
- backlight
- sio
- bios
- shortcut key
- pwm
- 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
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000001514 detection method Methods 0.000 claims abstract description 22
- 230000009467 reduction Effects 0.000 claims description 6
- 230000008569 process Effects 0.000 claims description 5
- 238000012545 processing Methods 0.000 claims description 5
- 230000003247 decreasing effect Effects 0.000 claims description 3
- 238000013507 mapping Methods 0.000 claims description 3
- 230000006870 function Effects 0.000 description 7
- 238000013461 design Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004134 energy conservation Methods 0.000 description 2
- 230000004044 response Effects 0.000 description 2
- 230000033228 biological regulation Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005265 energy consumption Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G3/00—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes
- G09G3/20—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters
- G09G3/34—Control arrangements or circuits, of interest only in connection with visual indicators other than cathode-ray tubes for presentation of an assembly of a number of characters, e.g. a page, by composing the assembly by combination of individual elements arranged in a matrix no fixed position being assigned to or needed to be assigned to the individual characters or partial characters by control of light from an independent source
- G09G3/3406—Control of illumination source
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Liquid Crystal Display Device Control (AREA)
- Control Of Indicators Other Than Cathode Ray Tubes (AREA)
Abstract
The invention discloses a realization method for controlling backlight through SIO, relating to the technical field of backlight control; selecting corresponding pins of an SIO and a PWM register to construct a hardware path of backlight control, initializing firmware on the hardware path through a BIOS, setting a threshold value of backlight adjustment brightness, acquiring a detection signal of a shortcut key of a keyboard through the hardware path, analyzing the detection signal through the BIOS to judge shortcut key composition to determine whether to perform backlight adjustment control, if so, controlling backlight to increase or decrease adjustment according to the shortcut key composition, otherwise, waiting for the acquisition of the next shortcut key composition, and judging whether to perform backlight adjustment control again.
Description
Technical Field
The invention discloses an implementation method, relates to the technical field of backlight control, and particularly relates to an implementation method for controlling backlight through an SIO.
Background
The backlight design of the existing computer terminal can be adjusted only by setting a few simple gears, the more and more exquisite experience requirements of computer terminal users cannot be met, and the problem that the backlight adjustment experience and the energy consumption of the existing computer terminal users are unbalanced is solved.
Disclosure of Invention
Aiming at the problems in the prior art, the invention provides a method for controlling backlight through SIO, so that the dynamic balance between backlight and energy conservation can be quickly and conveniently realized, and the method has a wide application prospect.
The specific scheme provided by the invention is as follows:
a method for controlling backlight by SIO comprises selecting SIO and corresponding pins of PWM register to construct hardware channel for backlight control,
initializing the firmware on the hardware path through BIOS, setting the threshold value of the backlight adjusting brightness,
and acquiring a detection signal of the shortcut key of the keyboard through the hardware access, analyzing the detection signal through the BIOS to judge whether the shortcut key composition is subjected to backlight adjustment control or not, if so, controlling the backlight to increase or decrease adjustment according to the shortcut key composition, otherwise, waiting for the acquisition of the next shortcut key composition, and judging whether the backlight adjustment control is performed or not again.
In the implementation method for controlling the backlight through the SIO, the access mode of the PWM register and the mapping relation between the brightness to be adjusted and the threshold value are set through the BIOS in a one-to-one correspondence mode.
In the implementation method for controlling backlight through SIO, the detection signals of the shortcut keys of the keyboard are circularly acquired through the hardware access, and the detection signals are analyzed by the BIOS to compare ASCII values so as to judge the composition of the shortcut keys.
In the method for realizing the backlight control through the SIO, if the shortcut key composition is judged to be backlight increasing processing, the BIOS controls and adjusts the backlight increasing; and if the shortcut key composition is judged to be backlight reduction processing, the BIOS controls and adjusts the backlight reduction.
In the implementation method for controlling backlight through SIO, when the BIOS controls and adjusts the backlight to increase:
writing the PWM register through the SIO, wherein the PWM value of the PWM register is larger than the PWM value in the current PWM register and is stored;
when the BIOS controls to adjust the backlight to decrease:
and writing the PWM register through the SIO, wherein the PWM value of the PWM register subjected to writing operation is smaller than the PWM value in the current PWM register and is stored.
A realization system for controlling backlight through SIO comprises a hardware path for controlling backlight and a BIOS, wherein the hardware path for controlling backlight is constructed by the SIO and corresponding pins of a PWM register,
the BIOS initializes the firmware on the hardware path and sets a threshold for backlight dimming brightness,
the hardware access acquires a detection signal of a shortcut key of the keyboard, the detection signal is analyzed by the BIOS to judge whether the shortcut key composition is subjected to backlight adjustment control or not, if so, the backlight is controlled to be increased or decreased according to the shortcut key composition, otherwise, the hardware access waits for the acquisition of the next shortcut key composition and judges whether the backlight adjustment control is performed or not again.
An implementation apparatus for controlling backlight through SIO, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to execute the method for implementing backlight control through SIO.
A computer readable medium having computer instructions stored thereon, which, when executed by a processor, cause the processor to perform the method for implementing backlight control by SIO.
The invention has the advantages that:
the invention provides a realization method for controlling backlight through SIO, which selects corresponding pins of SIO and PWM register to construct a hardware channel for backlight control, initializing the firmware on the hardware path through BIOS, setting the threshold value of the backlight adjusting brightness, the method comprises the steps of obtaining a detection signal of a keyboard shortcut key through the hardware channel, analyzing the detection signal through BIOS (basic input output System) to judge whether to perform backlight adjustment control or not, if so, controlling backlight to increase or decrease adjustment according to the shortcut key composition, otherwise, waiting for the next acquisition of the shortcut key composition, and judging whether to perform backlight adjustment control again.
Drawings
FIG. 1 is a schematic flow diagram of the process of the present invention.
Detailed Description
super io is also called I/O chip, and part of I/O control circuit on the mainboard is responsible for providing serial and parallel interfaces, floppy disk drive, keyboard and mouse and other control interfaces.
PWM is pulse width modulation, referred to as pulse width modulation, and is a technique for controlling an analog circuit using digital output of a microprocessor.
The present invention is further described below in conjunction with the following figures and specific examples so that those skilled in the art may better understand the present invention and practice it, but the examples are not intended to limit the present invention.
The invention provides a realization method for controlling backlight through SIO, which selects corresponding pins of SIO and PWM register to construct a hardware channel for backlight control,
initializing the firmware on the hardware path through BIOS, setting the threshold value of the backlight adjusting brightness,
acquiring the detection signal of the shortcut key of the keyboard through the hardware access, analyzing the detection signal by BIOS to judge the shortcut key composition to determine whether to perform backlight adjustment control, if so, controlling the backlight to increase or decrease according to the shortcut key composition, otherwise, waiting for the acquisition of the next shortcut key composition, and judging whether to perform backlight adjustment control again,
wherein the hardware construction stage comprises selecting specific SIO model, selecting appropriate PWM related pins, determining specific pins used for SIO backlight control, establishing hardware channel for backlight control, providing hardware level guarantee for subsequent backlight control and regulation,
the invention can be applied to the design of X86 platform, can be popularized to all domestic platforms such as Loongson, Shenwei, Feiteng, sea light, etc., and can be transplanted to computer related products designed by ARM, single chip, etc., only the designed products have the products of display screens such as LVDS, EDP, etc., the function of controlling backlight can be completed without considering the influence of different systems, the control function of backlight can be realized under BIOSSetup, DOS, Shell, etc., and the method does not depend on whether BIOS supports the function of ACPI, has wide adaptability and good transportability, has effective control, more rapid response, and quick and convenient control, the method provides more exquisite and humanized experience for the current computer terminal user, realizes the dynamic balance of backlight and energy conservation, and has good effect.
In a specific embodiment of the present invention, the BIOS sets a mapping relationship between the access mode of the PWM register and the brightness to be adjusted and the threshold value in a one-to-one correspondence manner, where the brightness value is 0% to 100%, and the register has a value range of [0 to 255], and when setting the minimum brightness, the minimum brightness is set to avoid the occurrence of a black screen, the minimum brightness is ensured to be able to see the display of the screen, and when setting the maximum brightness, a balance between the brightness and power consumption is paid attention to, and the optimal maximum brightness value is set. This embodiment describes the process of the BIOS setting the threshold for the backlight adjustment brightness.
In another embodiment, the detection signal of the keyboard shortcut key is obtained circularly through the hardware path, the BIOS analyzes the detection signal to compare the ASCII value, and the shortcut key composition is judged,
if the shortcut key composition is backlight increasing processing, the BIOS controls and adjusts the backlight increasing, the PWM register is subjected to write operation through the SIO, and the PWM value of the write operation PWM register is larger than the PWM value in the current PWM register and is stored;
if the shortcut key composition is judged to be backlight reduction processing, the BIOS controls and adjusts the backlight reduction, the PWM register is written through the SIO, the PWM value of the PWM register is written to be smaller than the PWM value in the current PWM register and is stored,
the backlight can be ensured to be capable of storing the backlight before operation after the back comes back after the later Sx (Sx is S3, S4 and S5) is turned on next time.
The above embodiments specifically illustrate the backlight adjusting process, and further illustrate that the method of the present invention is effective in control and faster in response.
The invention also provides a system for controlling backlight through SIO, which comprises a hardware path for controlling backlight and a BIOS,
the hardware path for backlight control is constructed by SIO and corresponding pins of the PWM register,
the BIOS initializes the firmware on the hardware path and sets a threshold for backlight dimming brightness,
the hardware access acquires a detection signal of a shortcut key of the keyboard, the detection signal is analyzed by the BIOS to judge whether the shortcut key composition is subjected to backlight adjustment control or not, if so, the backlight is controlled to be increased or decreased according to the shortcut key composition, otherwise, the hardware access waits for the acquisition of the next shortcut key composition and judges whether the backlight adjustment control is performed or not again.
The information interaction, execution process and other contents between the units in the system are based on the same concept as the method embodiment of the present invention, and specific contents can be referred to the description in the method embodiment of the present invention, and are not described herein again.
The invention also provides a device for controlling backlight through SIO, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor is configured to invoke the machine readable program to execute the method for implementing backlight control through SIO.
A computer readable medium having computer instructions stored thereon, which, when executed by a processor, cause the processor to perform the method for implementing backlight control by SIO. Specifically, a system or an apparatus equipped with a storage medium on which software program codes that realize the functions of any of the above-described embodiments are stored may be provided, and a computer (or a CPU or MPU) of the system or the apparatus is caused to read out and execute the program codes stored in the storage medium.
In this case, the program code itself read from the storage medium can realize the functions of any of the above-described embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.
Examples of the storage medium for supplying the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (e.g., CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD + RW), a magnetic tape, a nonvolatile memory card, and a ROM. Alternatively, the program code may be downloaded from a server computer via a communications network.
Further, it should be clear that the functions of any one of the above-described embodiments may be implemented not only by executing the program code read out by the computer, but also by causing an operating system or the like operating on the computer to perform a part or all of the actual operations based on instructions of the program code.
Further, it is to be understood that the program code read out from the storage medium is written to a memory provided in an expansion board inserted into the computer or to a memory provided in an expansion unit connected to the computer, and then causes a CPU or the like mounted on the expansion board or the expansion unit to perform part or all of the actual operations based on instructions of the program code, thereby realizing the functions of any of the above-described embodiments.
It should be noted that not all steps and modules in the above flows and system structure diagrams are necessary, and some steps or modules may be omitted according to actual needs. The execution order of the steps is not fixed and can be adjusted as required. The system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by a plurality of physical entities, or some components in a plurality of independent devices may be implemented together.
In the above embodiments, the hardware unit may be implemented mechanically or electrically. For example, a hardware element may comprise permanently dedicated circuitry or logic (such as a dedicated processor, FPGA or ASIC) to perform the corresponding operations. The hardware elements may also comprise programmable logic or circuitry, such as a general purpose processor or other programmable processor, that may be temporarily configured by software to perform the corresponding operations. The specific implementation (mechanical, or dedicated permanent, or temporarily set) may be determined based on cost and time considerations.
The above-mentioned embodiments are merely preferred embodiments for fully illustrating the present invention, and the scope of the present invention is not limited thereto. The equivalent substitution or change made by the technical personnel in the technical field on the basis of the invention is all within the protection scope of the invention. The protection scope of the invention is subject to the claims.
Claims (8)
1. A method for controlling backlight by SIO features that the SIO and the corresponding pins of PWM register are chosen to constitute the hardware channel for controlling backlight,
initializing the firmware on the hardware path through BIOS, setting the threshold value of the backlight adjusting brightness,
and acquiring a detection signal of the shortcut key of the keyboard through the hardware access, analyzing the detection signal through the BIOS to judge whether the shortcut key composition is subjected to backlight adjustment control or not, if so, controlling the backlight to increase or decrease adjustment according to the shortcut key composition, otherwise, waiting for the acquisition of the next shortcut key composition, and judging whether the backlight adjustment control is performed or not again.
2. The method as claimed in claim 1, wherein the access mode of the PWM register and the mapping relationship between the brightness to be adjusted and the threshold are set by the BIOS.
3. The method as claimed in claim 1 or 2, wherein the detection signals of the shortcut keys of the keyboard are obtained through the hardware path in a loop, and the BIOS analyzes the detection signals to compare ASCII values to determine the composition of the shortcut keys.
4. The method as claimed in claim 3, wherein if the shortcut key composition is determined to be a backlight increasing process, the BIOS controls to adjust the backlight increase; and if the shortcut key composition is judged to be backlight reduction processing, the BIOS controls and adjusts the backlight reduction.
5. The method of claim 4 wherein when the BIOS controls the backlight to increase:
writing the PWM register through the SIO, wherein the PWM value of the PWM register is larger than the PWM value in the current PWM register and is stored;
when the BIOS controls to adjust the backlight to decrease:
and writing the PWM register through the SIO, wherein the PWM value of the PWM register subjected to writing operation is smaller than the PWM value in the current PWM register and is stored.
6. An implementation system for controlling backlight through SIO is characterized by comprising a hardware path for controlling backlight and a BIOS,
the hardware path for backlight control is constructed by SIO and corresponding pins of the PWM register,
the BIOS initializes the firmware on the hardware path and sets a threshold for backlight dimming brightness,
the hardware access acquires a detection signal of a shortcut key of the keyboard, the detection signal is analyzed by the BIOS to judge whether the shortcut key composition is subjected to backlight adjustment control or not, if so, the backlight is controlled to be increased or decreased according to the shortcut key composition, otherwise, the hardware access waits for the acquisition of the next shortcut key composition and judges whether the backlight adjustment control is performed or not again.
7. An apparatus for controlling backlight through SIO, comprising: at least one memory and at least one processor;
the at least one memory to store a machine readable program;
the at least one processor, configured to invoke the machine readable program to execute a method of any one of claims 1 to 5 for implementing backlight control by SIO.
8. Computer readable medium, characterized in that, the computer readable medium has stored thereon computer instructions, which, when executed by a processor, cause the processor to execute an implementation method of controlling a backlight by an SIO according to any of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010557255.3A CN111696489A (en) | 2020-06-18 | 2020-06-18 | Method for controlling backlight through SIO |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010557255.3A CN111696489A (en) | 2020-06-18 | 2020-06-18 | Method for controlling backlight through SIO |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111696489A true CN111696489A (en) | 2020-09-22 |
Family
ID=72481912
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010557255.3A Pending CN111696489A (en) | 2020-06-18 | 2020-06-18 | Method for controlling backlight through SIO |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111696489A (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1607884A (en) * | 2003-09-15 | 2005-04-20 | 英特尔公司 | Automatic image luminance control with backlight adjustment |
KR20070105582A (en) * | 2006-04-27 | 2007-10-31 | 엘지전자 주식회사 | Apparatus and method of controlling for display |
CN101840262A (en) * | 2009-03-18 | 2010-09-22 | 深圳市英德斯电子有限公司 | Single-board computer |
CN205810346U (en) * | 2016-05-18 | 2016-12-14 | 深圳市祈飞科技有限公司 | A kind of backlight regulating system and use the notebook of this system, panel computer |
-
2020
- 2020-06-18 CN CN202010557255.3A patent/CN111696489A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1607884A (en) * | 2003-09-15 | 2005-04-20 | 英特尔公司 | Automatic image luminance control with backlight adjustment |
KR20070105582A (en) * | 2006-04-27 | 2007-10-31 | 엘지전자 주식회사 | Apparatus and method of controlling for display |
CN101840262A (en) * | 2009-03-18 | 2010-09-22 | 深圳市英德斯电子有限公司 | Single-board computer |
CN205810346U (en) * | 2016-05-18 | 2016-12-14 | 深圳市祈飞科技有限公司 | A kind of backlight regulating system and use the notebook of this system, panel computer |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7886164B1 (en) | Processor temperature adjustment system and method | |
US7882369B1 (en) | Processor performance adjustment system and method | |
US6907535B2 (en) | Method and device for adjusting the executing efficiency of an electronic apparatus comprising a CPU | |
US8558839B1 (en) | Displaying critical system screens in a multiple graphics adapter environment | |
JP2010118062A (en) | Picture processing using hybrid system configuration | |
US8982158B2 (en) | Computer screen image displaying method, computer having a vertical display device, and computer program product | |
US10997687B1 (en) | Systems and methods for providing universal support for multiple types of graphics processing units | |
US20160011879A1 (en) | Preconfiguring hardware and speeding up server discovery prior to bios boot | |
US8487945B2 (en) | Methods for setting a pixel clock frequency | |
US7900030B2 (en) | Method for determining a rebooting action of a computer system and related computer system | |
US10460221B1 (en) | Displaying a seeded, continuously updating identifier in a QR code | |
US7003658B2 (en) | Method for user setup of memory throttling register in north bridge via BIOS to save power | |
US7039817B2 (en) | Method and apparatus for supplying power to a processor at a controlled voltage | |
CN102262569A (en) | Control method for preventing system basic input output system (BIOS) instability caused by complementary metal oxide semiconductor (CMOS) improper setting | |
US11977401B2 (en) | Power supply soft-start control method, control apparatus and control device, and storage medium | |
US9933828B2 (en) | Controlling power consumption of a voltage regulator in a computer system | |
US8249819B1 (en) | Virtual binning | |
CN111696489A (en) | Method for controlling backlight through SIO | |
TWI421666B (en) | A display card with overclocking function and the overclocking method thereof | |
CN114927104B (en) | Method and device for displaying picture, storage medium and electronic equipment | |
CN113821265B (en) | Operating system control method and device, computer mainboard and readable storage medium | |
US20050251674A1 (en) | Method and system for automatically initializing SATA controller | |
US11301261B2 (en) | System and method for displaying an image through a platform initialization process | |
CN101303653B (en) | Method for judging whether performing repeat starting up for computer system or not as well as computer system thereof | |
US20070200796A1 (en) | Method and apparatus for avoiding overheating of drivers of a plasma display panel |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200922 |