CN103064491A - Electronic device and method of controlling the same - Google Patents
Electronic device and method of controlling the same Download PDFInfo
- Publication number
- CN103064491A CN103064491A CN2011103268282A CN201110326828A CN103064491A CN 103064491 A CN103064491 A CN 103064491A CN 2011103268282 A CN2011103268282 A CN 2011103268282A CN 201110326828 A CN201110326828 A CN 201110326828A CN 103064491 A CN103064491 A CN 103064491A
- Authority
- CN
- China
- Prior art keywords
- mentioned
- electronic installation
- timer
- electronic device
- signal
- 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 24
- WHXSMMKQMYFTQS-UHFFFAOYSA-N Lithium Chemical compound [Li] WHXSMMKQMYFTQS-UHFFFAOYSA-N 0.000 claims description 8
- 229910052744 lithium Inorganic materials 0.000 claims description 8
- 238000009434 installation Methods 0.000 claims 17
- 230000004913 activation Effects 0.000 claims 2
- 238000001514 detection method Methods 0.000 abstract description 18
- 230000007958 sleep Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000002035 prolonged effect Effects 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 201000009310 astigmatism Diseases 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 208000030533 eye disease Diseases 0.000 description 1
- 230000004438 eyesight Effects 0.000 description 1
- 230000006266 hibernation Effects 0.000 description 1
- 230000002427 irreversible effect Effects 0.000 description 1
- 230000007774 longterm Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 208000001491 myopia Diseases 0.000 description 1
- 230000004379 myopia Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
Images
Landscapes
- Power Sources (AREA)
- Debugging And Monitoring (AREA)
Abstract
Description
技术领域 technical field
本发明涉及一种电子装置,特别涉及可避免长时间使用和能保护眼睛的电子装置和控制电子装置的方法。The invention relates to an electronic device, in particular to an electronic device which can avoid prolonged use and protect eyes and a method for controlling the electronic device.
背景技术 Background technique
随着科技的进步,电视、个人电脑、平板电脑、电视游戏机已经十分普及。这些具有显示器的电子装置带来生活上的便利和乐趣,但同时也对人体健康产生不利的影响。例如,长期间使用电脑、电视,对人的视力造成不可逆的伤害,也带来近视、散光等眼睛的疾病。With the advancement of technology, TVs, personal computers, tablet computers, and video game consoles have become very popular. These electronic devices with displays bring convenience and fun to life, but also have adverse effects on human health. For example, long-term use of computers and televisions can cause irreversible damage to people's eyesight, and also cause eye diseases such as myopia and astigmatism.
在家庭当中,又属孩童最容易沉迷于电脑游戏。即使家长限制孩子的电脑使用时间,小孩仍有可能趁家长不在的时候偷偷开机游玩。现有的电脑并无法禁止孩童自行开机。Among families, children are the most likely to be addicted to computer games. Even if parents limit their children's computer usage time, children may still secretly turn on the computer to play while the parents are away. Existing computers cannot prevent children from turning on the computer by themselves.
发明内容 Contents of the invention
为了解决以上问题,本发明提供一种电子装置和控制电子装置的方法,可用以保护眼睛,也能避免长时间使用。In order to solve the above problems, the present invention provides an electronic device and a method for controlling the electronic device, which can be used to protect eyes and avoid prolonged use.
本发明提供一种电子装置,包括一中央处理单元,用来控制上述电子装置的运作;一电源管理器,用以提供电源;一检测单元,耦接于上述中央处理单元,当上述检测单元检测到上述中央处理单元进入一休眠模式或一关机模式时,产生一初始化信号;一计时器,耦接于上述检测单元,在接收到上述初始化信号后,开始计时一第一既定时间,当上述第一既定时间期满时,则产生一致能信号,而当上述第一既定时间尚未期满时,则产生一禁能信号;以及一控制器,耦接于上述电源管理器以及上述计时器,当接收到上述致能信号时,则启动上述电源管理器,而当接收到上述禁能信号时,则关闭上述电源管理器。The present invention provides an electronic device, including a central processing unit, used to control the operation of the electronic device; a power manager, used to provide power; a detection unit, coupled to the central processing unit, when the detection unit detects When the above-mentioned central processing unit enters a sleep mode or a shutdown mode, an initialization signal is generated; a timer, coupled to the detection unit, starts counting a first predetermined time after receiving the initialization signal, and when the above-mentioned first When a predetermined time expires, an enabling signal is generated, and when the first predetermined time has not expired, a disabling signal is generated; and a controller, coupled to the power manager and the timer, when When the enable signal is received, the power manager is started, and when the disable signal is received, the power manager is turned off.
本发明还提供一种控制一电子装置的方法,包括:当检测到上述电子装置进入一休眠模式或一关机模式时,产生一初始化信号;利用上述初始化信号来控制一计时器开始计时一第一既定时间;当上述第一既定时间期满时,则产生一致能信号来启动上述电子装置的一电源管理器;以及当上述第一既定时间尚未期满时,则产生一禁能信号来关闭上述电子装置的上述电源管理器。The present invention also provides a method for controlling an electronic device, including: generating an initialization signal when detecting that the electronic device enters a sleep mode or a power-off mode; using the initialization signal to control a timer to start counting a first Predetermined time; when the above-mentioned first predetermined time expires, then generate a enable signal to start a power manager of the above-mentioned electronic device; and when the above-mentioned first predetermined time has not yet expired, then generate a disabling signal to close the above-mentioned The above-mentioned power manager of an electronic device.
本发明可在一段既定时间中禁止电子装置再开机,既能保护使用者的眼睛(特别是对于自制能力不够的孩童),也能避免过度使用。The invention can prohibit the restarting of the electronic device for a certain period of time, which can not only protect the user's eyes (especially for children with insufficient self-control ability), but also avoid excessive use.
附图说明 Description of drawings
【附图简单说明】【A brief description of the attached picture】
图1是显示根据本发明一实施例所述的电子装置的示意图;FIG. 1 is a schematic diagram showing an electronic device according to an embodiment of the present invention;
图2是显示根据本发明另一实施例所述的电子装置的示意图;2 is a schematic diagram showing an electronic device according to another embodiment of the present invention;
图3A是显示根据本发明一实施例所述的电子装置的示意图;FIG. 3A is a schematic diagram showing an electronic device according to an embodiment of the present invention;
图3B是显示根据本发明另一实施例所述的电子装置的示意图;3B is a schematic diagram showing an electronic device according to another embodiment of the present invention;
图3C是显示根据本发明又一实施例所述的电子装置的示意图;FIG. 3C is a schematic diagram showing an electronic device according to yet another embodiment of the present invention;
图4是显示根据本发明一实施例所述的控制电子装置的方法的流程图;FIG. 4 is a flow chart showing a method for controlling an electronic device according to an embodiment of the present invention;
图5是显示根据本发明另一实施例所述的控制电子装置的方法的流程图;FIG. 5 is a flow chart showing a method for controlling an electronic device according to another embodiment of the present invention;
图6A是显示根据本发明一实施例所述的控制电子装置的方法的流程图;FIG. 6A is a flow chart showing a method for controlling an electronic device according to an embodiment of the present invention;
图6B是显示根据本发明另一实施例所述的控制电子装置的方法的流程图;FIG. 6B is a flowchart showing a method for controlling an electronic device according to another embodiment of the present invention;
图6C是显示根据本发明又一实施例所述的控制电子装置的方法的流程图。FIG. 6C is a flowchart showing a method for controlling an electronic device according to yet another embodiment of the invention.
【主要附图标记说明】[Description of main reference signs]
100、200、310、320、330~电子装置;100, 200, 310, 320, 330~electronic devices;
110~中央处理单元;110~central processing unit;
120~电源管理器;120~power manager;
130~检测单元;130~detection unit;
132~通用型输入输出;132~General input and output;
140~计时器;140~timer;
150~控制器;150~controller;
160~电脑可读介质;160 ~ computer readable medium;
162~应用程序;162 ~ application program;
170~紧急开机键;170~emergency start button;
180~交流电源供应器;180~AC power supply;
190~锂电池;190 ~ lithium battery;
220、331~主机板;220, 331~main board;
400、500、610、620、630~流程图;400, 500, 610, 620, 630~flow chart;
SC1、SC2~控制信号;SC1, SC2~control signal;
SD~禁能信号;SD~disabling signal;
SE~致能信号;SE~enabling signal;
SN~初始化信号;SN~initialization signal;
SX~紧急开机信号;SX~emergency start signal;
UI~使用者输入。UI ~ user input.
具体实施方式 Detailed ways
图1是显示根据本发明一实施例所述的电子装置100的示意图。电子装置100可以是个人电脑(personal computer,PC)、笔记型电脑(notebook)、平板电脑(tablet PC)、电视、电视游戏机。如图1所示,电子装置100可包括:中央处理单元(central processing unit,CPU)110、电源管理器(power manager)120、检测单元(detecting unit)130、计时器(timer)140,以及控制器150。中央处理单元110用以控制电子装置100的运作。电源管理器120用以提供并控制电子装置100的电源,当电源管理器120启动时,电子装置100可以进行开机;而当电源管理器120关闭时,电子装置100将无法开机。检测单元130耦接到中央处理单元110,且检测单元130可以是芯片组、北桥芯片(North bridge)、南桥芯片(South bridge)、PCH芯片、FCH芯片、输出输入芯片(Super IO)、嵌入式控制器(Embedded Controller)或者任何可进行检测并送出信号的元件。FIG. 1 is a schematic diagram showing an
当检测单元130检测到中央处理单元110或电子装置100由开机模式进入休眠模式或关机模式时,立即产生初始化信号SN。计时器140耦接到检测单元130。计时器140在接收到初始化信号SN后,即开始计时一第一既定时间(例如:5小时)。计时器140可以是一计数器(counter),用以计数一既定次数以便计时第一既定时间。当第一既定时间尚未期满时,计时器140产生禁能信号SD;而当第一既定时间期满时,计时器140改而产生致能信号SE。控制器150耦接到计时器140和电源管理器120。控制器150用以控制电源管理器120,当控制器150接收到致能信号SE时,则产生控制信号SC1以便启动电源管理器120,使电子装置100可以正常开机;而当控制器150接收到禁能信号SD时,则产生控制信号SC2以便关闭电源管理器120,使电子装置100无法开机。When the
图2是显示根据本发明另一实施例所述的电子装置200的示意图。如图2所示,电子装置200包括:中央处理单元110、电源管理器120、检测单元130、计时器140、控制器150,以及电脑可读介质(computer readablemedia)160。在一些实施例中,中央处理单元110、电源管理器120、检测单元130、计时器140和控制器150都可以设置于主机板(mother board)220上,而检测单元130可以通过通用型输入输出(General Purpose I/O,GPIO)132,传送初始化信号SN给计时器140。在其他实施例中,检测单元130也可以通过固件(firmware)寄存器传送初始化信号SN给计时器140。FIG. 2 is a schematic diagram showing an
电脑可读介质160可以是硬盘、内存、光盘,并储存一应用程序(application program)162。当中央处理单元110执行应用程序160时,应用程序160可以根据一使用者输入UI,调整上述第一既定时间。此外,当中央处理单元110操作于开机模式且执行应用程序160时,应用程序160也可以根据使用者输入UI,命令中央处理单元110或电子装置200在一第二既定时间(例如:30分钟)之后,进入休眠模式或关机模式。The computer-
当计时器140开始计时之后,控制器150使电源管理器120在第一既定时间内关闭,而电子装置100、200在第一既定时间内将无法正常开机。本发明另外提供一些装置和方法,使电子装置在紧急时刻仍然能强制开机。After the
图3A是显示根据本发明一实施例所述的电子装置310的示意图。如图3A所示,电子装置310还包括紧急开机键170,其耦接到检测单元130。无论任何情况下,当使用者按下时,紧急开机键170可以立即令检测单元130产生紧急开机信号SX,以使计时器140停止计时并且只能产生致能信号SE。此时,控制器150接收到致能信号SE,因而产生控制信号SC1并且启动电源管理器120。值得注意的是,紧急开机键170可以设置于隐密的地方以避免不适合的使用者(例如:孩童)轻易找到。在一些实施例中,紧急开机键170可以设置在电子装置310的底部或背面。而在其他实施例中,紧急开机键170也可以取代为远程控制的紧急开机装置(例如:一红外线接收模块,当使用者按下一遥控器上的一紧急按钮时,红外线接收模块可以接收遥控器产生的红外线信号并立即令检测单元130产生紧急开机信号SX)。FIG. 3A is a schematic diagram showing an
图3B是显示根据本发明另一实施例所述的电子装置320的示意图。如图3B所示,电子装置320还包括交流电源供应器(AC power supply)180,其耦接到计时器140。无论任何情况下,当交流电源供应器180停止供电时(例如:使用者先拔掉电子装置320的电源插座,然后再插上),计时器140将被强制停止计时,并只能产生致能信号SE。此时,控制器150接收到致能信号SE,因而产生控制信号SC1并且启动电源管理器120。FIG. 3B is a schematic diagram showing an
图3C是显示根据本发明又一实施例所述的电子装置330的示意图。如图3C所示,电子装置330还包括锂电池190,其设置于主机板331上,并耦接到计时器140。无论任何情况下,当锂电池190被移除时(例如:使用者可以手动移除锂电池190),计时器140将被强制停止计时,并只能产生致能信号SE。此时,控制器150接收到致能信号SE,因而产生控制信号SC1并且启动电源管理器120。FIG. 3C is a schematic diagram showing an electronic device 330 according to yet another embodiment of the present invention. As shown in FIG. 3C , the electronic device 330 further includes a lithium battery 190 disposed on the motherboard 331 and coupled to the
图4是显示根据本发明一实施例所述的控制电子装置的方法的流程图400。如图4所示,首先开始,在步骤S410,判断电子装置是否进入休眠模式或关机模式。若是,在步骤S420,产生一初始化信号,以控制一计时器开始计时第一既定时间。然后,在步骤S430,判断第一既定时间是否已经期满?若否,在步骤S440,产生一禁能信号以关闭电子装置的电源管理器,使电子装置无法正常开机,然后回到步骤S430;若是,在步骤S450,产生一致能信号以启动电子装置的电源管理器,使电子装置可以正常开机,流程结束。FIG. 4 is a
图5是显示根据本发明另一实施例所述的控制电子装置的方法的流程图500。流程图500和流程图400相似,差异仅在于,流程图500还包括步骤S402、S404和S406。如图5所示,在步骤S402,使电子装置操作于开机模式。接着,在步骤S404,经由执行应用程序,以根据使用者输入来调整第一既定时间以供计数器计时。然后,在步骤S406,经由执行应用程序,使电子装置根据使用者输入在第二既定时间之后,进入休眠模式或关机模式。其余步骤如之前所述,不再重复说明。FIG. 5 is a
图6A是显示根据本发明一实施例所述的控制电子装置的方法的流程图610。流程图610和流程图400相似,差异仅在于,电子装置还包括一紧急开机键,而流程图610还包括步骤S435。在步骤S430,判断第一既定时间是否已经期满。若尚未期满,在步骤S435中,判断电子装置的紧急开机键是否被按下。若电子装置的紧急开机键已被按下,进行到步骤S450,并强制启动电子装置的电源管理器;若否,进行到步骤S440。其余步骤如之前所述,不再重复说明。FIG. 6A is a flowchart 610 showing a method for controlling an electronic device according to an embodiment of the invention. The flowchart 610 is similar to the
图6B是显示根据本发明另一实施例所述的控制电子装置的方法的流程图620。流程图620和流程图400相似,差异仅在于,电子装置还包括一交流电源供应器,而流程图620还包括步骤S436。在步骤S430,判断第一既定时间是否已经期满。若尚未期满,在步骤S436中,判断电子装置的交流电源供应器是否已经停止供电。若是,进行到步骤S450,并强制启动电子装置的电源管理器;若否,进行到步骤S440。其余步骤如之前所述,不再重复说明。FIG. 6B is a
图6C是显示根据本发明又一实施例所述的控制电子装置的方法的流程图630。流程图630和流程图400相似,差异仅在于,电子装置还包括一锂电池设置于一主机板上,而流程图630还包括步骤S437。在步骤S430,判断第一既定时间是否已经期满。若尚未期满,在步骤S437中,判断电子装置的主机板的锂电池是否已经被移除。若是,进行到步骤S450,并强制启动电子装置的电源管理器;若否,进行到步骤S440。其余步骤如之前所述,不再重复说明。FIG. 6C is a
本发明提供的电子装置和控制电子装置的方法,可在一段既定时间中禁止电子装置再开机,既能保护使用者的眼睛(特别是对于自制能力不够的孩童),也能避免过度使用。The electronic device and the method for controlling the electronic device provided by the present invention can prohibit the electronic device from restarting for a certain period of time, which can not only protect the user's eyes (especially for children with insufficient self-control ability), but also avoid excessive use.
本发明虽以优选实施例公开如上,然其并非用以限定本发明的范围,任何本领域普通技术人员,在不脱离本发明的精神和范围内,当可做些许的更动与润饰,因此本发明的保护范围当视所附的权利要求所界定的范围为准。Although the present invention is disclosed above with preferred embodiments, it is not intended to limit the scope of the present invention. Anyone skilled in the art may make some changes and modifications without departing from the spirit and scope of the present invention. Therefore The scope of protection of the present invention should be determined by the scope defined by the appended claims.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103268282A CN103064491A (en) | 2011-10-19 | 2011-10-19 | Electronic device and method of controlling the same |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2011103268282A CN103064491A (en) | 2011-10-19 | 2011-10-19 | Electronic device and method of controlling the same |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103064491A true CN103064491A (en) | 2013-04-24 |
Family
ID=48107147
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2011103268282A Pending CN103064491A (en) | 2011-10-19 | 2011-10-19 | Electronic device and method of controlling the same |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103064491A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634666A (en) * | 2013-12-09 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Method and system for protecting intelligent television in power-on state |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030018854A (en) * | 2001-08-31 | 2003-03-06 | 엘지전자 주식회사 | Apparatus and method for managing a power of portable system |
CN101122812A (en) * | 2007-06-19 | 2008-02-13 | 许智伟 | Timing turn-on turn-off device and the method |
CN101131645A (en) * | 2006-08-25 | 2008-02-27 | 佛山市顺德区顺达电脑厂有限公司 | Firmware burning failure restoring method |
CN201369687Y (en) * | 2009-03-04 | 2009-12-23 | 深圳华为通信技术有限公司 | Self-powered mobile terminal |
CN201489444U (en) * | 2009-04-30 | 2010-05-26 | 庄祖吉 | Multifunctional computer stand-by automatic power-off energy saving device |
CN101788846A (en) * | 2010-02-08 | 2010-07-28 | 厦门四信通信科技有限公司 | Control device of intelligent timing switch machine |
CN101872233A (en) * | 2009-04-22 | 2010-10-27 | 技嘉科技股份有限公司 | Automatic startup and shutdown scheduling control method and system thereof |
-
2011
- 2011-10-19 CN CN2011103268282A patent/CN103064491A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20030018854A (en) * | 2001-08-31 | 2003-03-06 | 엘지전자 주식회사 | Apparatus and method for managing a power of portable system |
CN101131645A (en) * | 2006-08-25 | 2008-02-27 | 佛山市顺德区顺达电脑厂有限公司 | Firmware burning failure restoring method |
CN101122812A (en) * | 2007-06-19 | 2008-02-13 | 许智伟 | Timing turn-on turn-off device and the method |
CN201369687Y (en) * | 2009-03-04 | 2009-12-23 | 深圳华为通信技术有限公司 | Self-powered mobile terminal |
CN101872233A (en) * | 2009-04-22 | 2010-10-27 | 技嘉科技股份有限公司 | Automatic startup and shutdown scheduling control method and system thereof |
CN201489444U (en) * | 2009-04-30 | 2010-05-26 | 庄祖吉 | Multifunctional computer stand-by automatic power-off energy saving device |
CN101788846A (en) * | 2010-02-08 | 2010-07-28 | 厦门四信通信科技有限公司 | Control device of intelligent timing switch machine |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103634666A (en) * | 2013-12-09 | 2014-03-12 | 乐视致新电子科技(天津)有限公司 | Method and system for protecting intelligent television in power-on state |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8553157B2 (en) | Television with energy saving and quick start modes | |
CN103123537B (en) | Electronic display unit and electricity saving method thereof | |
US20130054998A1 (en) | Method and Apparatus to Optimize System Battery-Life While Preventing Disruptive User Experience During System Suspend | |
EP2715481A1 (en) | Waking an electronic device | |
US9038164B2 (en) | Electronic device, electronic device controlling method, and computer program product | |
CN107105346A (en) | A kind of intelligent television standby control method and system | |
CN103702155A (en) | TV control method and device | |
US11216053B2 (en) | Systems, apparatus, and methods for transitioning between multiple operating states | |
CN105828187A (en) | Intelligent playing limiting method and device, intelligent terminal and playing system | |
TW201508465A (en) | Electronic device | |
CN101854501A (en) | Anti-addiction method for TV set used to limit watching TV time | |
US20150113297A1 (en) | Keyboard and control system for the same | |
CN103064491A (en) | Electronic device and method of controlling the same | |
JP2014102609A (en) | Information processing apparatus and control method | |
CN101211269A (en) | Information processing device, power supply control method, and storage medium | |
CN105426166A (en) | Method and device for controlling an electronic device by means of thermal detection | |
JP2011118462A (en) | Information processing apparatus | |
US20150123875A1 (en) | Power management device and method | |
JP5499946B2 (en) | Information processing apparatus, information processing method, and computer-readable recording medium storing information processing program | |
CN105022649A (en) | Terminal booting method and device on the basis of quickboot mode | |
TW201314432A (en) | Electronic device and method for controlling electronic device | |
CN109086083B (en) | Method and device for controlling equipment starting and interactive intelligent panel | |
CN106886414B (en) | Data processing method and electronic equipment | |
CN104253958A (en) | Television control method and related television | |
CN101872233A (en) | Automatic startup and shutdown scheduling control method and system thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20130424 |