CN112230788A - 一种国产计算机上背光控制方法 - Google Patents

一种国产计算机上背光控制方法 Download PDF

Info

Publication number
CN112230788A
CN112230788A CN202011107364.1A CN202011107364A CN112230788A CN 112230788 A CN112230788 A CN 112230788A CN 202011107364 A CN202011107364 A CN 202011107364A CN 112230788 A CN112230788 A CN 112230788A
Authority
CN
China
Prior art keywords
key
volume
computer
down key
volume down
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
CN202011107364.1A
Other languages
English (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.)
Shandong Chaoyue CNC Electronics Co Ltd
Original Assignee
Shandong Chaoyue CNC 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 CNC Electronics Co Ltd filed Critical Shandong Chaoyue CNC Electronics Co Ltd
Priority to CN202011107364.1A priority Critical patent/CN112230788A/zh
Publication of CN112230788A publication Critical patent/CN112230788A/zh
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Circuit Arrangement For Electric Light Sources In General (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

一种国产计算机上背光控制方法,利用国产计算机上的音量加和音量减按键利用判断按下状态或抬起状态来进行自动亮度调节模式与手动亮度调节模式的切花。主要包括按键的检测、判断和执行。提高了计算机亮度模式切换的便利性,使其控制灵活,操作方便,不用依赖操作***进行切换。

Description

一种国产计算机上背光控制方法
技术领域
本发明涉及国产计算机技术领域,具体涉及一种国产计算机上背光控制方法。
背景技术
现有的基于国产处理器的计算机亮度调节实现方式继承了X86平台计算机的实现方法,通常具有手动亮度调节和自动亮度调节两种方式,两种模式的切换通常需要在操作***下选择特定按钮,此种方法给使用上带来不便。
发明内容
本发明为了克服以上技术的不足,提供了一种实现计算机背光自动亮度调节和手段亮度调节方便切换的背光控制方法。
本发明克服其技术问题所采用的技术方案是:
一种国产计算机上背光控制方法包括如下步骤:
a)计算机检测音量加按键及音量减按键的状态;
b)当音量加按键及音量减按键同时按下时,计算机延时N秒后再次判断音量加按键及音量减按键的状态,若果音量加按键及音量减按键没有同时按下,则返回执行步骤a);
c)如果N秒后音量加按键及音量减按键为同时按下状态则执行步骤d),如果N秒后音量加按键及音量减按键没有同时按下则返回执行步骤a);
d)计算机将***亮度模式切换至自动亮度调节模式后计算机检测音量加按键及音量减按键的状态;
e)如果音量加按键及音量减按键为同时抬起状态则执行步骤f),如果音量加按键及音量减按键没有同时抬起则返回执行步骤a);
f)计算机将***亮度模式切换至手动亮度调节模式。
进一步的,步骤b)中N取值为2秒。
本发明的有益效果是:利用国产计算机上的音量加和音量减按键利用判断按下状态或抬起状态来进行自动亮度调节模式与手动亮度调节模式的切花。主要包括按键的检测、判断和执行。提高了计算机亮度模式切换的便利性,使其控制灵活,操作方便,不用依赖操作***进行切换。
附图说明
图1为本发明的方法流程图。
具体实施方式
下面结合附图1对本发明做进一步说明。
一种国产计算机上背光控制方法,包括如下步骤。
a)计算机检测音量加按键及音量减按键的状态;
b)当音量加按键及音量减按键同时按下时,计算机延时N秒后再次判断音量加按键及音量减按键的状态,若果音量加按键及音量减按键没有同时按下,则返回执行步骤a);
c)如果N秒后音量加按键及音量减按键为同时按下状态则执行步骤d),如果N秒后音量加按键及音量减按键没有同时按下则返回执行步骤a);
d)计算机将***亮度模式切换至自动亮度调节模式后计算机检测音量加按键及音量减按键的状态;
e)如果音量加按键及音量减按键为同时抬起状态则执行步骤f),如果音量加按键及音量减按键没有同时抬起则返回执行步骤a);
f)计算机将***亮度模式切换至手动亮度调节模式。
利用国产计算机上的音量加和音量减按键利用判断按下状态或抬起状态来进行自动亮度调节模式与手动亮度调节模式的切花。主要包括按键的检测、判断和执行。提高了计算机亮度模式切换的便利性,使其控制灵活,操作方便,不用依赖操作***进行切换。
进一步的,步骤b)中N取值为2秒。
以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。

Claims (2)

1.一种国产计算机上背光控制方法,其特征在于,包括如下步骤:
a)计算机检测音量加按键及音量减按键的状态;
b)当音量加按键及音量减按键同时按下时,计算机延时N秒后再次判断音量加按键及音量减按键的状态,若果音量加按键及音量减按键没有同时按下,则返回执行步骤a);
c)如果N秒后音量加按键及音量减按键为同时按下状态则执行步骤d),如果N秒后音量加按键及音量减按键没有同时按下则返回执行步骤a);
d)计算机将***亮度模式切换至自动亮度调节模式后计算机检测音量加按键及音量减按键的状态;
e)如果音量加按键及音量减按键为同时抬起状态则执行步骤f),如果音量加按键及音量减按键没有同时抬起则返回执行步骤a);
f)计算机将***亮度模式切换至手动亮度调节模式。
2.根据权利要求1所述的国产计算机上背光控制方法,其特征在于:步骤b)中N取值为2秒。
CN202011107364.1A 2020-10-16 2020-10-16 一种国产计算机上背光控制方法 Pending CN112230788A (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011107364.1A CN112230788A (zh) 2020-10-16 2020-10-16 一种国产计算机上背光控制方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011107364.1A CN112230788A (zh) 2020-10-16 2020-10-16 一种国产计算机上背光控制方法

Publications (1)

Publication Number Publication Date
CN112230788A true CN112230788A (zh) 2021-01-15

Family

ID=74118029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011107364.1A Pending CN112230788A (zh) 2020-10-16 2020-10-16 一种国产计算机上背光控制方法

Country Status (1)

Country Link
CN (1) CN112230788A (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464647A (zh) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 一种背光亮度调节方法及终端
CN104683597A (zh) * 2015-03-17 2015-06-03 广东欧珀移动通信有限公司 移动终端屏幕亮度的调节方法和***
CN104735241A (zh) * 2015-02-12 2015-06-24 广东欧珀移动通信有限公司 一种移动终端及其屏幕亮度控制方法
CN106357925A (zh) * 2016-10-31 2017-01-25 广东欧珀移动通信有限公司 屏幕亮度调节模式的切换方法、装置及终端
CN108234771A (zh) * 2018-01-03 2018-06-29 上海传英信息技术有限公司 一种屏幕亮度调节方法和装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104464647A (zh) * 2014-11-28 2015-03-25 广东欧珀移动通信有限公司 一种背光亮度调节方法及终端
CN104735241A (zh) * 2015-02-12 2015-06-24 广东欧珀移动通信有限公司 一种移动终端及其屏幕亮度控制方法
CN104683597A (zh) * 2015-03-17 2015-06-03 广东欧珀移动通信有限公司 移动终端屏幕亮度的调节方法和***
CN106357925A (zh) * 2016-10-31 2017-01-25 广东欧珀移动通信有限公司 屏幕亮度调节模式的切换方法、装置及终端
CN108234771A (zh) * 2018-01-03 2018-06-29 上海传英信息技术有限公司 一种屏幕亮度调节方法和装置

Similar Documents

Publication Publication Date Title
US7596389B2 (en) Mobile communication terminal, method for controlling execution state of application program, application program, and recording medium wherein application program has been recorded
CN103076973B (zh) 一种窗口切换方法、***及智能终端
US20100056209A1 (en) Mobile terminal and method for switching states thereof
US20140215497A1 (en) Mobile Terminal and Method for Adjusting Operation Load Thereof
EP2849415A1 (en) Method and device for operating mobile terminal based on sensor, and mobile terminal
CN101765236A (zh) 一种移动终端的界面切换方法及移动终端
US20040204016A1 (en) Mobile information device, method of controlling mobile information device, and program
CN101882051A (zh) 行动装置及控制该行动装置用户界面的控制方法
CN103513869A (zh) 终端锁屏界面、Widget小部件的显示方法及装置
WO2007011185A1 (en) Method for controlling power consumption of battery and portable device applied the method
CN103488405A (zh) 电子装置及调节屏幕亮度的方法
CN103853383A (zh) 一种在Uboot中实现触摸屏驱动的方法
CN100388213C (zh) 应用程序切换方法及***
CN101498986A (zh) 触摸屏手机的触摸滑动操作***
WO2011017873A1 (zh) 一种移动终端输入法切换方法及装置
CN106095492A (zh) 一种应用程序的关闭方法和装置
US11054947B2 (en) Key reference updating method and module, and terminal device
CN105100498A (zh) 一种通话音量的调节方法及装置
US20110291942A1 (en) Display method, application program and computer readable medium for computer key function
CN105788565A (zh) 一种亮度调节方法和装置
CN105959473A (zh) 屏幕亮度调整方法及装置
CN112230788A (zh) 一种国产计算机上背光控制方法
CN109756601A (zh) 一种触控方法及移动终端
CN106791065B (zh) 一种移动设备及其指纹触摸控制手电筒开关的方法
CN102736734A (zh) 电子装置以及应用于其的功能执行方法

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: 20210115