CN102707790B - Automatic switching device for laptop and control method thereof - Google Patents

Automatic switching device for laptop and control method thereof Download PDF

Info

Publication number
CN102707790B
CN102707790B CN201210147599.2A CN201210147599A CN102707790B CN 102707790 B CN102707790 B CN 102707790B CN 201210147599 A CN201210147599 A CN 201210147599A CN 102707790 B CN102707790 B CN 102707790B
Authority
CN
China
Prior art keywords
embedded controller
magnetic detector
notebook computer
upper cover
shutdown
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
CN201210147599.2A
Other languages
Chinese (zh)
Other versions
CN102707790A (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.)
Jiangsu Aerospace dragon dream Information Technology Co., Ltd.
Original Assignee
JIANGSU LEMOTE TECHNOLOGY Corp 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 JIANGSU LEMOTE TECHNOLOGY Corp Ltd filed Critical JIANGSU LEMOTE TECHNOLOGY Corp Ltd
Priority to CN201210147599.2A priority Critical patent/CN102707790B/en
Publication of CN102707790A publication Critical patent/CN102707790A/en
Application granted granted Critical
Publication of CN102707790B publication Critical patent/CN102707790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Power Sources (AREA)

Abstract

The invention discloses an automatic switching device for a laptop, which comprises a south bridge, an embedded controller, a magnetic detector and a permanent magnet, wherein the permanent magnet is arranged on a position of an upper cover of the laptop, corresponding to the magnetic detector, and the south bridge and the magnetic detector are respectively connected with the embedded controller. According to the mode and the automatic switching device of the laptop and the control method of the automatic switching device, which are disclosed by the invention, when the upper cover of the laptop is closed, the system can be normally shut down, and the mainboard except the embedded controller is entirely powered off; and in the power-off state, the laptop can be normally charged and reset when the upper cover of the laptop is started, so that the electric energy of the laptop can be saved, so that the stand-by time is prolonged, and meanwhile, the use of the laptop becomes convenient.

Description

A kind of notebook computer auto powering on/off apparatus and control method
Technical field
The present invention relates to computer realm, particularly relate to notebook computer auto powering on/off apparatus and control method.
Background technology
Embedded controller (Embedded Controller, be called for short EC) is one of important devices on notebook computer, and its status never inferior to north and south bridge, is widely used in notebook computer.Embedded controller is responsible for notebook computer built-in keybad, touch pad (TOUCHPAD) process, start electrification reset sequential, shutdown power-off sequential, battery intelligent management of charging and discharging and the task such as monitoring temperature, fan control.Embedded controller plays an important role in portable, intelligent, the personalized design of notebook computer.In notebook computer, embedded controller is kept on all, and no matter you are at start or off-mode, unless you are battery and the complete removal of power supply adaptor.In the power-offstate, embedded controller keeps running always, and is waiting for the boot-strap information of user.And after powering, embedded controller is more as keyboard controller, battery charging and discharging management and the control of the equipment such as charging indicator light and fan, it even controls the states such as standby, the dormancy of system.
LID is a magnetic switch on main board for notebook computer, and be responsible for the folding condition detecting notebook computer upper cover, be connected with EC, when folding lid, EC can both detect the state of notebook computer upper cover in real time.
In existing notebook computer, during closing lid, system enters standby or dormancy, arousal function of uncapping all has realization, but also do not realize closing lid automatic shutdown, the function of Auto Power On of uncapping.If there is a kind of method, can complete automatic shut-off function by the upper cover of shut of upper side in notebook computer when open state, then power on when opening upper cover start (cold start-up) function automatically, and notebook computer can be made like this to save electric energy, prolongs standby time, and facilitate use.
Summary of the invention
The technical matters that the present invention mainly solves is to provide a kind of notebook computer auto powering on/off apparatus, notebook computer can be made to save electric energy, prolongs standby time, also facilitate use simultaneously.
For solving the problems of the technologies described above, the technical scheme that the present invention adopts is: provide a kind of notebook computer auto powering on/off apparatus, comprise south bridge, embedded controller, magnetic detector and permanent magnet, described permanent magnet is arranged on notebook upper cover and magnetic detector opposite position, and described south bridge is connected with embedded controller respectively with magnetic detector.
In a preferred embodiment of the present invention, described embedded controller is provided with the LPC interface and the GPIO interface being connected magnetic detector that connect south bridge.
For solving the problems of the technologies described above, another technical solution used in the present invention is: the control method providing a kind of notebook computer auto powering on/off apparatus, the folding lid state of described magnetic detector detection notebook computer upper cover informed embed formula controller, embedded controller controls start or shutdown action according to folding condition.
In a preferred embodiment of the present invention, when notebook computer upper cover closes:
By magnetic detector, A1, embedded controller detect that notebook computer is closing lid action;
B1, embedded controller arrange magnetic detector Status Flag, and produce SCI interrupt notification host computer system;
When C1, open state, host system response SCI event, by the ACPI command index in host computer system to inquiry magnetic detector Status Flag, if LID Status Flag equals 1, is closing lid state, calls shutdown command and perform shutdown process;
D1, embedded controller receive the shutdown command of host computer system, perform power down shutdown sequential;
F1, complete shutdown process.
In a preferred embodiment of the present invention, when notebook computer upper cover is opened:
By magnetic detector, A2, embedded controller detect that notebook computer is for action of uncapping;
B2, embedded controller remove magnetic detector Status Flag, and produce SCI interrupt notification host computer system;
When C2, off-mode, embedded controller performs start electrification reset sequential;
D2, complete boot action.
The invention has the beneficial effects as follows: notebook computer auto powering on/off apparatus of the present invention and control method thereof, under open state, when close imperial notebook computer upper cover time, system can normally be closed, and mainboard can all power down, except giving the power supply of embedded controller; In the power-offstate, when opening notebook computer upper cover, normally can start shooting by electrification reset, notebook computer can be made to save electric energy, prolongs standby time, also facilitate use simultaneously.
Accompanying drawing explanation
Fig. 1 is the structured flowchart of notebook computer auto powering on/off apparatus one preferred embodiment in the present invention;
Fig. 2 is the process flow diagram of the control method of notebook computer auto powering on/off apparatus in the present invention.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment of the present invention is described in detail, can be easier to make advantages and features of the invention be readily appreciated by one skilled in the art, thus more explicit defining is made to protection scope of the present invention.
Refer to Fig. 1, the invention provides a kind of notebook computer auto powering on/off apparatus, this auto powering on/off apparatus comprises south bridge, embedded controller, magnetic detector and permanent magnet (figure does not look), and this permanent magnet is arranged on notebook upper cover and magnetic detector opposite position.Wherein, south bridge is connected with embedded controller respectively with magnetic detector.
Embedded controller in the present invention is provided with the LPC interface and the GPIO interface being connected magnetic detector that connect south bridge, and convenient connection south bridge and magnetic detector carry out signal transmission.
Embedded controller in the present invention also comprises EC touch sensitive surface module (figure does not look), Keysheet module (figure does not look), time-sequence control module (figure does not look), power management module (figure does not look), indicating lamp module (figure does not look), fan control module (figure does not look).
Refer to Fig. 2, the invention provides the control method of also a kind of notebook computer auto powering on/off apparatus, the magnetic detector detection folding lid state of notebook computer upper cover informed embed formula controller, embedded controller controls start or shutdown action according to folding condition.
When notebook computer upper cover closes:
By magnetic detector, A1, embedded controller detect that notebook computer is closing lid action;
B1, embedded controller arrange magnetic detector Status Flag, and produce SCI interrupt notification host computer system;
When C1, open state, host system response SCI event, by the ACPI command index in host computer system to inquiry magnetic detector Status Flag, if LID Status Flag equals 1, is closing lid state, calls shutdown command and perform shutdown process;
D1, embedded controller receive the shutdown command of host computer system, perform power down shutdown sequential;
F1, complete shutdown process.
When notebook computer upper cover is opened:
By magnetic detector, A2, embedded controller detect that notebook computer is for action of uncapping;
B2, embedded controller remove magnetic detector Status Flag, and produce SCI interrupt notification host computer system;
When C2, off-mode, embedded controller performs start electrification reset sequential;
D2, complete boot action.
The control method of notebook computer auto powering on/off apparatus of the present invention, goes by embedded controller the state continuing detection magnetic detector, rationally realizes the power on/off function of notebook computer.The folding condition detecting notebook computer upper cover is responsible for by magnetic detector, removed power on/off function by the GPIO pin informed embed formula controller be connected with embedded controller.
The notebook computer auto powering on/off apparatus that the present invention discloses and control method thereof, under open state, when close imperial notebook computer upper cover time, system can normally be closed, and mainboard can all power down, except to the power supply of embedded controller; In the power-offstate, when opening notebook computer upper cover, normally can start shooting by electrification reset, notebook computer can be made to save electric energy, prolongs standby time, also facilitate use simultaneously.
The foregoing is only embodiments of the invention; not thereby the scope of the claims of the present invention is limited; every utilize instructions of the present invention and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present invention.

Claims (4)

1. a notebook computer auto powering on/off apparatus, it is characterized in that, comprise south bridge, embedded controller, magnetic detector and permanent magnet, described permanent magnet is arranged on notebook upper cover and magnetic detector opposite position, described south bridge is connected with embedded controller respectively with magnetic detector, described embedded controller is provided with the LPC interface and the GPIO interface being connected magnetic detector that connect south bridge, EC touch sensitive surface module is comprised in described embedded controller, Keysheet module, time-sequence control module, power management module, indicating lamp module and fan control module, the folding lid state of notebook computer upper cover is detected and informed embed formula controller by magnetic detector, embedded controller controls start or shutdown action according to folding condition.
2. the control method of notebook computer auto powering on/off apparatus according to claim 1, it is characterized in that, the folding lid state of described magnetic detector detection notebook computer upper cover informed embed formula controller, embedded controller controls start or shutdown action according to folding condition.
3. the control method of notebook computer auto powering on/off apparatus according to claim 2, is characterized in that, when notebook computer upper cover closes:
By magnetic detector, A1, embedded controller detect that notebook computer is closing lid action;
B1, embedded controller arrange magnetic detector Status Flag, and produce SCI interrupt notification host computer system;
When C1, open state, host system response SCI event, by the ACPI command index in host computer system to inquiry magnetic detector Status Flag, if LID Status Flag equals 1, is closing lid state, calls shutdown command and perform shutdown process;
D1, embedded controller receive the shutdown command of host computer system, perform power down shutdown sequential;
F1, complete shutdown process.
4. the control method of notebook computer auto powering on/off apparatus according to claim 2, is characterized in that, when notebook computer upper cover is opened:
By magnetic detector, A2, embedded controller detect that notebook computer is for action of uncapping;
B2, embedded controller remove magnetic detector Status Flag, and produce SCI interrupt notification host computer system;
When C2, off-mode, embedded controller performs start electrification reset sequential;
D2, complete boot action.
CN201210147599.2A 2012-05-14 2012-05-14 Automatic switching device for laptop and control method thereof Active CN102707790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210147599.2A CN102707790B (en) 2012-05-14 2012-05-14 Automatic switching device for laptop and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210147599.2A CN102707790B (en) 2012-05-14 2012-05-14 Automatic switching device for laptop and control method thereof

Publications (2)

Publication Number Publication Date
CN102707790A CN102707790A (en) 2012-10-03
CN102707790B true CN102707790B (en) 2014-12-31

Family

ID=46900670

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210147599.2A Active CN102707790B (en) 2012-05-14 2012-05-14 Automatic switching device for laptop and control method thereof

Country Status (1)

Country Link
CN (1) CN102707790B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103399811B (en) * 2013-08-14 2016-06-01 联宝(合肥)电子科技有限公司 Current time date and battery electricity fast display method and system
CN105159708B (en) * 2015-08-25 2019-05-31 联想(北京)有限公司 A kind of information processing method and electronic equipment
CN105760314A (en) * 2016-03-14 2016-07-13 山东超越数控电子有限公司 Method for controlling starting-up screen luminance of system by virtue of EC SCI
CN105844182A (en) * 2016-03-16 2016-08-10 合肥联宝信息技术有限公司 Screen locking method and device of notebook computer and the notebook computer
CN105938384A (en) * 2016-03-31 2016-09-14 联想(北京)有限公司 Electronic equipment and information processing method
CN106095060A (en) * 2016-06-12 2016-11-09 浪潮(苏州)金融技术服务有限公司 A kind of on/off control method for portable multifunctional terminal
CN110134194A (en) * 2019-05-28 2019-08-16 英业达科技有限公司 Laptop
TWI711919B (en) * 2019-06-10 2020-12-01 英業達股份有限公司 Notebook computer
CN114138100A (en) * 2021-12-02 2022-03-04 无锡睿勤科技有限公司 Low-power-consumption startup and shutdown method, startup and shutdown circuit and intelligent terminal
CN117242418A (en) * 2022-04-13 2023-12-15 京东方科技集团股份有限公司 Driving circuit, electronic device and communication method thereof

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387899A (en) * 2007-09-13 2009-03-18 环隆电气股份有限公司 Computer installation with cover auto-opening function and auto-opening and auto-closing method thereof
CN101697089A (en) * 2009-09-29 2010-04-21 深圳顶海电子有限公司 Notebook computer capable of automatically closing and opening cover during booting and shutting down
CN201562199U (en) * 2009-10-19 2010-08-25 联想(北京)有限公司 Portable computer
CN102081448A (en) * 2009-11-30 2011-06-01 英业达股份有限公司 Notebook computer capable of realizing automatic power off through closing cover

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3994071B2 (en) * 2003-06-12 2007-10-17 インターナショナル・ビジネス・マシーンズ・コーポレーション Computer apparatus, system operating state switching control method, and program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101387899A (en) * 2007-09-13 2009-03-18 环隆电气股份有限公司 Computer installation with cover auto-opening function and auto-opening and auto-closing method thereof
CN101697089A (en) * 2009-09-29 2010-04-21 深圳顶海电子有限公司 Notebook computer capable of automatically closing and opening cover during booting and shutting down
CN201562199U (en) * 2009-10-19 2010-08-25 联想(北京)有限公司 Portable computer
CN102081448A (en) * 2009-11-30 2011-06-01 英业达股份有限公司 Notebook computer capable of realizing automatic power off through closing cover

Also Published As

Publication number Publication date
CN102707790A (en) 2012-10-03

Similar Documents

Publication Publication Date Title
CN102707790B (en) Automatic switching device for laptop and control method thereof
CN104777888B (en) Coordinate the energy consumption in control reduction computer system by the software and hardware of more power supplys
US5268845A (en) Method for detecting low battery state without precise calibration
CN103838349B (en) Power supply control system and method thereof
CN204559175U (en) A kind of electric automobile charging pile intelligent monitoring and controlling device
CN102156679A (en) PCIE interface-based solid state disk power-down protection method and device
JP3974510B2 (en) Computer apparatus, power management method, and program
CN202712622U (en) Intelligent energy-saving socket
CN102200826B (en) Power adapter and portable computer
CN107104478B (en) Information processing method and electronic equipment
CN103124097A (en) Intelligent lithium ion charger
CN108179927A (en) A kind of low-power consumption door sensor state-detection controller and system
CN101826685B (en) Power supply socket device special for computer
CN102135921B (en) Protective circuit, protective method and software realizing method for portable terminal low-power system protection
CN204244382U (en) A kind of long distance control system
CN110221679A (en) The method that ruggedized equipment and realization ruggedized equipment work at low temperature
CN102681872A (en) Automatic cold boot method of notebook computer
CN100487996C (en) User operating blocking-up device
CN202661610U (en) Remote controller and detection device for electric quantity of battery thereof
CN107272864A (en) A kind of reset circuit, battery and electronic equipment
CN103699857B (en) The anti-hacking device of electronic equipment and electronic equipment
US11916471B2 (en) Power supply switching from power sources
CN204028614U (en) Switching on and shutting down control circuit and medical imaging device
CN102662454A (en) Finite-state machine design method based on EC (embedded control) power management of loongson 3A notebook computer
CN103257597A (en) Control method and electronic device

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
CB03 Change of inventor or designer information

Inventor after: Zhang Fuxin

Inventor after: Wu Shaogang

Inventor after: Cui Taiyou

Inventor before: Zhang Fuxin

Inventor before: Wu Shaogang

Inventor before: Huang Wei

Inventor before: Zhang Bin

Inventor before: Xu Feng

Inventor before: Cui Taiyou

CB03 Change of inventor or designer information
TR01 Transfer of patent right

Effective date of registration: 20170605

Address after: 215500 Changshou City, Jiangsu Province, Dream Road, No., No. 8

Patentee after: Jiangsu Aerospace dragon dream Information Technology Co., Ltd.

Address before: 215500 Jiangsu city of Suzhou province Changshou City Yushan Town Menglan Industrial Park

Patentee before: Jiangsu Lemote Technology Corporation Limited

TR01 Transfer of patent right