CN102117390B - A kind of method controlling working state of computer device and computer - Google Patents

A kind of method controlling working state of computer device and computer Download PDF

Info

Publication number
CN102117390B
CN102117390B CN200910244448.7A CN200910244448A CN102117390B CN 102117390 B CN102117390 B CN 102117390B CN 200910244448 A CN200910244448 A CN 200910244448A CN 102117390 B CN102117390 B CN 102117390B
Authority
CN
China
Prior art keywords
computer
state
host machine
display part
machine part
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
CN200910244448.7A
Other languages
Chinese (zh)
Other versions
CN102117390A (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN200910244448.7A priority Critical patent/CN102117390B/en
Priority to PCT/CN2010/002195 priority patent/WO2011079523A1/en
Priority to US13/259,838 priority patent/US8738946B2/en
Publication of CN102117390A publication Critical patent/CN102117390A/en
Application granted granted Critical
Publication of CN102117390B publication Critical patent/CN102117390B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention provides a kind of method controlling working state of computer device and computer, and method includes: including: detect when the display part of computer is in released state from each other with host machine part;Generate the state event corresponding with described released state or control instruction, described state event or control instruction and be in off working state for the device changing correspondence.The technical scheme that application is provided, when the state of computer changes, the display part of such as portable computer is split with host machine part, operating system control corresponding device conversion work state according to the state event generated, such as, close this device;Avoid owing to this device is in running order and make the power consumption of whole computer increase, and avoid potential safety hazard.

Description

A kind of method controlling working state of computer device and computer
Technical field
The present invention relates to computer technology, particularly relate to a kind of method controlling working state of computer device and Computer.
Background technology
Along with the development of computer technology, occur in that and display part (screen portions) can be split with host machine part Computer, such as in the portable computer of some model, display part is by embedded system and liquid crystal Display screen forms.Host machine part is then to run based on X86, and the display part after fractionation can be put down separately as one Plate computer, again can be as a complete portable computer job after combination.
Inventor, during realizing the present invention, finds that in prior art, at least there are the following problems: not only In the portable computer introduced, but in many situations, it is not required to some devices of host machine part Part unit is in the state of work power consumption all the time.And under special case, if the device list of host machine part Unit is the most in running order, can bring potential safety hazard.
Summary of the invention
It is an object of the invention to provide a kind of method controlling working state of computer device and computer, be used for Under predetermined state, the part of devices unit controlling computer is in off working state.
A kind of method controlling working state of computer device, including: display part and the master of computer detected When machine part is in released state from each other;Generate the state event corresponding with described released state or control Instruction, described state event or control instruction are in off working state for the device changing correspondence.
In said method, described device is video card or input equipment.
Work in said method, when the display part of computer separates with host machine part, after the conversion of described video card It is closed mode as state;When the display part of computer is connected with host machine part, after the conversion of described video card Duty is duty.
In said method, the embedded controller of computer-internal generate described state event or control refers to Order.
In said method, when generating described state event, described embedded controller send described state Event is to operating system;Generated described control instruction by described operating system according to described state event, send To described embedded controller, by the duty of the device of this embedded controller conversion correspondence;Work as generation During described control instruction, described embedded controller directly change the duty of the device of correspondence.
A kind of computer, including: display part and host machine part, also include: detector unit, be used for detecting When the display part of computer and host machine part are in released state from each other, notification controller unit;Control Device unit, for generating the state event corresponding with described released state or control instruction, described state event Or control instruction is in off working state for the device changing correspondence.
In above computer, described device is video card or input equipment.
In above computer, described controller unit also includes: controller first module, for when receiving The notice from described detector unit in, when the display part comprising computer separates with host machine part, then give birth to Comprising the duty after described video card is changed in the state event become or control instruction is closed mode, described Input equipment is in the information of locking input state;Controller second unit, for when receive from institute State in the notice of detector unit, when the display part comprising computer is connected with host machine part, then the state generated Comprising the duty after described video card is changed in event or control instruction is duty, described input equipment It is in the information of open input state.
In above computer, described controller unit is specially by the embedded controller of computer-internal.
In above computer, also include: operating system unit, for when receiving from described controller list Unit described state event time, generate described control instruction, be sent to described controller unit, by this control The duty of the device that device cell translation is corresponding.
In above computer, described host machine part includes that first interface, described display part include the second interface; Described display part is docked and connected by described first interface and described second interface with host machine part, and passes through institute State first interface and described second interface transmission data.
In above computer, described host machine part can be as a single equipment job, this host machine part Master operating system is run on the first interior hardware system;Described display part can be as a single equipment work Make, the second hardware system in this display part runs from operating system, should be embedded behaviour from operating system Make system.
The technical scheme that thered is provided of application, when computer state change time, such as portable computing The display part of machine is split with host machine part, operating system control corresponding device according to the state event generated Part conversion work state, such as, close this device;Avoid owing to this device is in running order and make whole The power consumption of individual computer increases, and avoids potential safety hazard.
Accompanying drawing explanation
Fig. 1 is the method flow schematic diagram that the embodiment of the present invention controls working state of computer device;
Fig. 2 is the structural representation that the embodiment of the present invention controls that video card is powered;
Fig. 3 is the schematic flow sheet that the embodiment of the present invention controls that video card is powered;
Fig. 4 is the structural representation that the embodiment of the present invention controls input equipment state;
Fig. 5 is embodiment of the present invention computer configuation schematic diagram;
Fig. 6 is the notebook structural representation that the embodiment of the present invention has mixed architecture system.
Detailed description of the invention
For making the purpose of the present invention, technical characteristic and implementation result clearer, below in conjunction with accompanying drawing and tool Technical scheme is described in detail by body embodiment.
In the embodiment that the present invention provides, it is provided that a kind of method controlling working state of computer device, such as figure Shown in 1, including:
Step 101, detects when the display part of computer is in predetermined state from each other with host machine part;
Step 102, generates and described predetermined state corresponding states event or control instruction, described state event Or control instruction is for changing the duty of the device of correspondence.
The technical scheme that thered is provided of application, when computer state change time, such as portable computing The display part of machine is split with host machine part, controls corresponding device conversion work according to the state event generated State, such as, close this device;Avoid owing to this device is in running order and make whole computer Power consumption increases, and avoids potential safety hazard.
In embodiment provided by the present invention, in order to as a example by taking formula computer, display part is permissible with host machine part Splitting, wherein, host machine part includes video card 205.After display part separates with host machine part, due to master Machine part is not shut down, and causes consuming electricity, thus should disable video card 205.Therefore as in figure 2 it is shown, Add a plug detector unit 204, for detecting the fractionation action between display part and host machine part, Display part forms released state after splitting with host machine part;Between unit: video card 205 and embedded control Device processed (EC, Embedded Controller) 201 connects;Embedded controller 201 is connected to operating system.
Its job step is as it is shown on figure 3, specifically include:
Step 301, plug detector unit 204 detects display part and the host machine part quilt of portable computer Split, notify embedded controller 201.
Step 302, embedded controller 201 generates corresponding state event according to notice, is sent to operation System.
Step 303, operating system performs corresponding pre-operation for closing video card 205, including;And Generate the first control instruction according to described state event, be sent to embedded controller 201.
Wherein, the closedown of video card 205 function is divided into:
(1) not to video card 205 power-off, operating system it is set to non-operating mode or low-power consumption mode, At this moment plug detector unit 204 need to report the plug time to OS.
(2) cut off power supply to video card 205, but not all operating system all supported, as Windows directly closes video card 205 and can cause system in case of system halt.Operating system judges to receive the shape that transmission comes After state event is for the event of extracting, first does the pre-operation closing video card 205, then notify embedded controller 201 power supplies that can close video card 205.When display part inserts host machine part, embedded controller 201 is given Video card 205 powers on, and then operating system judges that receiving the state event sending initializes as after insertion event Video card 205 so that it is can work.
Step 304, embedded controller 201 receives the first control instruction, cuts off the power supply of video card 205, Video card 205 is made to be in off working state.
Corresponding, plug detector unit 204 is possible not only to detect fractionation action, and can detect To grafting action;Universal input/output interface (GPIO, the General-Purpose of embedded controller 201 IO) pin is connected on connecting-disconnecting interface, and now, GPIO and connecting-disconnecting interface constitute a plug detector unit 204;Plug Action causes the level of GPIO pin to change, and is embedded into formula controller 201 and captures.Work Step specifically includes: embedded controller 201 detects the level change of GPIO pin, and letter is interrupted in output Number to operating system, this interrupt signal can be such as the interruption of the types such as SMI or SCI.Operating system is received After interrupt signal, read the state event of embedded controller 201 transmission and judge.
Step 401, plug detector unit 204 detects display part and the host machine part electricity of portable computer Link together, notify embedded controller 201.
Step 402, embedded controller 201 generates corresponding state event according to notice, is sent to operation System.
Step 403, operating system performs corresponding pre-operation for opening video card 205, including;And Generate the second control instruction according to described state event, be sent to embedded controller 201.
Step 404, embedded controller 201 receives the second control instruction, connects the power supply of video card 205, Make video card 205 in running order.
It should be noted that according to the invention thought of the technical scheme provided, not merely can cut off aobvious The display function of card 205, can also realize controlling purpose for other devices.Still with portable computer As a example by, after display part is split with host machine part, may revise and delete important from keyboard maloperation File, therefore, as shown in Figure 4, needs according to the detection for fractionation action, real-time cut-out keyboard Operation, specifically includes:
Step 501, plug detector unit 204 detects display part and the host machine part quilt of portable computer Split, notify embedded controller 201.
Step 502, embedded controller 201 generates control instruction according to notice.
Step 503, embedded controller 201 cuts off input equipment and south bridge 203 according to the control instruction generated Connection.This is because: in a computer, as a rule, as keyboard and the touch pad of input equipment 202 are connected with the south bridge 203 on mainboard by embedded controller 201, thus, embedded controller 201 Cut off without going through operating system, but cut off keyboard and the input of touch pad 202 voluntarily.Wherein, input Equipment specifically includes keyboard, touch pad (touchpad), special function keys, the mouse-keyboard etc. of usb expansion.
Present invention also offers the computer corresponding with method, as it is shown in figure 5, include:
Detector unit 601, separates for detecting that the display part of computer is in from each other with host machine part During state, notification controller unit 602;
Controller unit 602, for generating and described released state corresponding states event or control instruction, institute State state event or control instruction and be in off working state for the device changing correspondence.
The technical scheme that thered is provided of application, when computer state change time, such as portable computing The display part of machine is split with host machine part, controls corresponding device conversion work according to the state event generated State, such as, close this device;Avoid owing to this device is in running order and make whole computer Power consumption increases, and avoids potential safety hazard.
Computer also includes: described device is video card 205 or input equipment.
Controller unit 602 also includes:
Controller first module, for when in the notice from described detector unit 601 received, comprising When the display part of computer separates with host machine part, then the state event generated or control instruction comprise described Duty after video card 205 is changed is closed mode, and described input equipment is in the letter of locking input state Breath;
Controller second unit, for when in the notice from described detector unit 601 received, comprising When the display part of computer is connected with host machine part, then the state event generated or control instruction comprise described Duty after video card 205 is changed is duty, and described input equipment is in the letter of open input state Breath.
Controller unit 602 is specially by the embedded controller 201 of computer-internal.
Operating system unit, for when receiving the described state event from described controller unit 602 Time, generate described control instruction, be sent to described controller unit 602, right by the conversion of this controller unit The duty of the device answered.
As shown in Figure 6, pocket computer can be specially a notebook calculating with mixed architecture system Machine, the main equipment of this notebook is the host machine part containing keyboard, from equipment for containing display The display part of screen.Running master operating system on the first hardware system (X 86 framework) in host machine part, this is main Operating system typically Windows system, this host machine part can be as a single equipment work Make, for example, it is possible to perform downloading task etc. as home server, or a regular display can be connected Constitute a common computer;The second hardware system (ARM) in display part is upper to be run from operation system System, should be usually embedded OS from operating system, such as winCE.This display part can be as one Individual single equipment works independently, and this display part also has touch function, can calculate as a flat-panel touch Machine uses.Owing to being provided with first interface 206 in host machine part, corresponding, display part is provided with the Two interface (not shown)s, have with the composition one that docks of the second interface thereby through first interface 206 The notebook of hybrid system framework, it is achieved this host machine part and the collaborative work of this display part, passes through First interface 206 after docking and the second interface, it is possible to achieve the transmission of data (includes the letter of system mode Breath), the conducting of circuit, it is achieved main equipment and from equipment form a hybrid system with notebook form The portable terminal device of framework.
Embodiments of the invention have the advantages that, the technical scheme that application is provided, when computer State when changing, the display part of such as portable computer is split with host machine part, operation be Unite and control corresponding device conversion work state according to the state event generated, such as, close this device;Avoid Owing to this device is in running order and make the power consumption of whole computer increase, and when display part moves After walking, owing to have disabled input equipment, it is to avoid damage operating system or destroy the peace that capsule information etc. cause Full hidden danger.
It should be noted that, above example is only in order to illustrate technical scheme and unrestricted, all Parameter value can adjust according to practical situation, and in the range of this rights protection.The common skill of this area Art personnel should be appreciated that and can modify technical scheme or equivalent, without deviating from The scope of technical solution of the present invention, it all should be contained in the middle of scope of the presently claimed invention.

Claims (9)

1. the method controlling working state of computer device, it is characterised in that including:
Detect when the display part of computer and host machine part are in released state from each other;
Generating the state event corresponding with described released state or control instruction, described state event or control refer to Order is in off working state for the device changing correspondence;
When described device is input equipment, embedded controller cut off input according to the control instruction generated Equipment and the connection of south bridge.
Method the most according to claim 1, it is characterised in that
When the display part of computer separates with host machine part, and described device is video card, it is in after video card conversion Closed mode;
When the display part of computer is connected with host machine part, when described device is video card, it is in after video card conversion Duty.
Method the most according to claim 1, it is characterised in that by the embedded control of computer-internal Device processed generates described state event or control instruction.
Method the most according to claim 3, it is characterised in that
When generating described state event, described embedded controller send described state event to operation system System;Generated described control instruction by described operating system according to described state event, be sent to described embedded Controller, by the duty of the device of this embedded controller conversion correspondence;
When generating described control instruction, described embedded controller directly change the work of the device of correspondence State.
5. a computer, including: display part and host machine part, it is characterised in that also include:
Detector unit, for detecting that the display part of computer and host machine part are in released state from each other Time, notification controller unit;
Controller unit, for generating the state event corresponding with described released state or control instruction, described State event or control instruction are in off working state for the device changing correspondence;
Described controller unit is specially the embedded controller of computer-internal, when described device is that input sets Time standby, embedded controller cut off the connection of input equipment and south bridge according to the control instruction generated.
Computer the most according to claim 5, it is characterised in that described controller unit also includes:
Controller first module, for when in the notice from described detector unit received, comprising calculating The display part of machine separates with host machine part, and when described device is video card, then the state event generated or control Comprising in instruction and be closed after making video card conversion, described input equipment is in the letter of locking input state Breath;
Controller second unit, for when in the notice from described detector unit received, comprising calculating The display part of machine is connected with host machine part, and when described device is video card, then the state event generated or control Comprising after making video card conversion in running order in instruction, described input equipment is in the letter of open input state Breath.
Computer the most according to claim 5, it is characterised in that also include:
Operating system unit, for when receiving the described state event from described controller unit, raw Become described control instruction, be sent to described controller unit, by the device of this controller unit conversion correspondence Duty.
Computer the most according to claim 5, it is characterised in that described host machine part includes first Interface, described display part includes the second interface;
Described display part is docked and connected by described first interface and described second interface with host machine part, and leads to Cross described first interface and described second interface transmission data.
Computer the most according to claim 5, it is characterised in that
Described host machine part can be as a single equipment job, the first hardware system in this host machine part Master operating system is run on system;Described display part can be as a single equipment job, in this display part The second hardware system on run from operating system, should from operating system be embedded OS.
CN200910244448.7A 2009-12-31 2009-12-31 A kind of method controlling working state of computer device and computer Active CN102117390B (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN200910244448.7A CN102117390B (en) 2009-12-31 A kind of method controlling working state of computer device and computer
PCT/CN2010/002195 WO2011079523A1 (en) 2009-12-31 2010-12-29 Method and computer for controlling working state of computer components
US13/259,838 US8738946B2 (en) 2009-12-31 2010-12-29 Method for an os to disable a graphics adapter and lock inputs when tablet display is detached on a hybrid laptop

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200910244448.7A CN102117390B (en) 2009-12-31 A kind of method controlling working state of computer device and computer

Publications (2)

Publication Number Publication Date
CN102117390A CN102117390A (en) 2011-07-06
CN102117390B true CN102117390B (en) 2016-12-14

Family

ID=

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564112A (en) * 2004-04-08 2005-01-12 叶小鹏 Keyboard having function of preventing error touch
CN1949165A (en) * 2005-10-13 2007-04-18 鸿富锦精密工业(深圳)有限公司 Displaying device
CN101609360A (en) * 2008-06-16 2009-12-23 联想(北京)有限公司 Computing machine power-economizing method, computing machine and display

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1564112A (en) * 2004-04-08 2005-01-12 叶小鹏 Keyboard having function of preventing error touch
CN1949165A (en) * 2005-10-13 2007-04-18 鸿富锦精密工业(深圳)有限公司 Displaying device
CN101609360A (en) * 2008-06-16 2009-12-23 联想(北京)有限公司 Computing machine power-economizing method, computing machine and display

Similar Documents

Publication Publication Date Title
CN102778943B (en) Condition control method, device and portable terminal device
CN102024108B (en) Single motherboard dual independent safety computer system
JPH08508831A (en) Low power consumption monitor standby system
CN101867221B (en) Single board and method for power monitoring in board
CN103019836A (en) State switching method and electronic equipment
CN107678997A (en) Hot-plug method, system, device and the readable storage medium storing program for executing of PCIE plug-in cards
US8738946B2 (en) Method for an os to disable a graphics adapter and lock inputs when tablet display is detached on a hybrid laptop
CN102508759A (en) Embedded intelligent platform management system
CN102611078B (en) Portable electronic device and system efficiency adjusting method thereof
US9235246B2 (en) Computing device and power supply method of connection module
CN101782802A (en) Standby power-saving system and method for starting and disconnecting power supply of computer
CN101105710A (en) USB apparatus control device and method
CN104424086B (en) Computer error detection module and method
CN102117390B (en) A kind of method controlling working state of computer device and computer
CN111191219A (en) Control circuit with trusted computing function
CN102221867B (en) Circuit for realizing computer soft off and control method thereof
CN102023887B (en) Power supply management method of computer system and computer system
CN101286051A (en) Electric power closed-loop control method and system
CN111338907A (en) Remote state monitoring system and method of PCIE (peripheral component interface express) equipment
CN103970253B (en) Power-saving operation method and electronic device
CN110781111B (en) But real-time supervision's dual-redundancy USB port extension device
WO2007114960A3 (en) Communication between secondary processor and auxiliary display subsystem
CN104050427B (en) Electronic device for preventing false touch and operation method thereof
CN102135792A (en) Method for managing power supply of display and display
CN211454595U (en) Control circuit with trusted computing function

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant