CN1534480A - Method of realizing instant insersion instant use by palm computer external equipment - Google Patents

Method of realizing instant insersion instant use by palm computer external equipment Download PDF

Info

Publication number
CN1534480A
CN1534480A CNA031212778A CN03121277A CN1534480A CN 1534480 A CN1534480 A CN 1534480A CN A031212778 A CNA031212778 A CN A031212778A CN 03121277 A CN03121277 A CN 03121277A CN 1534480 A CN1534480 A CN 1534480A
Authority
CN
China
Prior art keywords
external device
palm
level
current external
current
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.)
Granted
Application number
CNA031212778A
Other languages
Chinese (zh)
Other versions
CN1534480B (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
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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN 03121277 priority Critical patent/CN1534480B/en
Publication of CN1534480A publication Critical patent/CN1534480A/en
Application granted granted Critical
Publication of CN1534480B publication Critical patent/CN1534480B/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Landscapes

  • Power Sources (AREA)
  • Stored Programmes (AREA)

Abstract

A method for implementing the plug-and-play function of the peripheral for palm computer includes connecting a signal detecting line between CPU and extension interface for connecting peripheral, detecting the potential level on the line to judge if there is a jump toward high level, judging if the palm computer is turned on if there is, waking up the palm computer if it is not, recognizing the type of peripheral, and loading relative device driver.

Description

The palm PC external device is realized the method for plug and play
Technical field
The present invention relates to the palm PC technology, particularly a kind of palm PC external device is realized the method for plug and play.
Background technology
At present, handheld computing devices such as PDA(Personal Digital Assistant) all are provided with external expansion interface and connect external device, get online without being tethered to a cable, make a phone call or receive and dispatch additional functions such as note with realization.Usually in the kernel of palm PC, all be provided with the driver storehouse of these external devices in advance, after external device is connected to palm PC, because palm PC can't detect identification automatically, thereby must restart the operating system of palm PC, the external device that detection and identification make new advances in the self check process of os starting again according to the external device type, is found out corresponding driving in kernel, transfer corresponding system resources, so that this external device can be used.And after external device is extracted from palm PC, because can't reporting system, operating system continues to attempt to communicate by letter with external device, when by after communication does not obtain responding repeatedly, operating system can this interface external device be set to disabled status, and this equipment of prompting user is unavailable.
Yet, the shortcoming of existing this technical scheme is: when external device is installed, need restarting operating systems, because for common handheld computing device, during the palm PC shutdown, just operating system is entered dormant state, during start it is waken up, therefore as wanting the reboot operation system, need press and restart (reset) key, and one period long stand-by period is arranged, and both wasted the time, brought trouble to the user again.After external device is extracted from the interface of palm PC, can't notify palm PC, operating system still can be reserved a part of resource and give this external device, thereby causes the wasting of resources.
Summary of the invention
In view of this, fundamental purpose of the present invention is to provide a kind of palm PC external device to realize the method for plug and play, makes the user not need restarting operating systems just can transfer the installation that system resource is finished external device automatically.
Further purpose of the present invention is after the external device power down or pulling away palm PC, and palm PC can in time detect and discharge the shared system resource of this external device.
A kind of palm PC external device is realized the method for plug and play, it is characterized in that, and connection one bars detection line between the CPU of palm PC and the expansion interface that is used to be connected external device in advance, this method is further comprising the steps of:
A) level on the monitor signal detection line has judged whether that the level saltus step for high, if having, then enters step b), otherwise, return step a);
B) judge that palm PC is current and whether start shooting, if start then enters step c), otherwise, wake palm PC up, return step b);
C) discern current external device type, load the driving of current external device correspondence, return step a).
This method step d) loads described in and further comprise after current external device drives: judge to drive whether load success, if, directly return step a), otherwise, the prompting user drives to load and inserts again after this current external device is extracted in failure again, returns step a) then.
After this method drove and loads successfully, this method further comprised: start current external device corresponding application.
This method step further comprises after a): judged whether that the level saltus step is low,, then discharged current external device and drive shared system resource, returned step a) if having, otherwise, return step a).
This method step further comprises after a): judged whether that the level saltus step is low,, then closed current external device corresponding application, returned step a) if having, otherwise, return step a).
This method preestablish external device power up before and after its hopping amplitude that is used for the FPDP level that is connected with palm PC be the saltus step of regulation amplitude leyel, judge whether described in the step a) that the level saltus step is the level saltus step that judges whether amplitude up to specification.
This method is provided with a storage external device information index table in advance in palm PC, the driving of the current external device of then described loading comprises: obtain and start the driver of current external device according to the information in the concordance list, and distributing corresponding system resources is given current external device.
The described external device information of this method comprises at least: the sign of external device, driving title, driving address and required system resource information.
From such scheme as can be seen, the inventive method just changes by the level of real-time detection external device Extended Capabilities Port, automatically survey the current state that obtains external device, after external device inserts the expansion interface of palm PC and powers up, palm PC can be under the situation of reboot operation not, automatically search current external device driving and transfer system resource and carry out the equipment fitting operation, the plug and play of realization external device; After the external device power down or pulling away palm PC, the system resource that palm PC can be shared with this external device automatically discharges.Thereby simplified user's operation, saved the time, and made system resource in time obtain discharging.
Description of drawings
Fig. 1 is the process flow diagram of better embodiment of the present invention.
Embodiment
The present invention is further described in more detail below in conjunction with drawings and the specific embodiments.
Because the external device of palm PC is an active equipment usually, when external device powered up, its data-interface that is used for being connected with palm PC can be in high level; When the external device power down, this data-interface can be in low level.So, when the data-interface of external device was connected with the palm PC expansion interface, the level of external device data-interface changes also can be transferred to the palm PC expansion interface, caused that the level of this expansion interface changes.In addition, for the external device that is in powering state, when it inserts or pulls away the expansion interface of palm PC, can cause that also the level of this expansion interface changes.Thereby as can be seen, change the state that just can know external device by the level that detects the palm PC expansion interface.Therefore, at this feature, the present invention proposes following technical scheme:
Connect a bars detection line between the expansion interface of CPU in palm PC and connection external device in advance, just change by the level that detects expansion interface, detect the state of external unit, generally, powering up under the situation, when external device inserted, the signal detection line level can uprise, and was continuously height; When external device is extracted, signal detection line level meeting step-down, and be continuously low.In the kernel of palm PC, add control program, and the CPU wake up procedure is so that palm PC enters open state in order to realization the inventive method.Detect the level of expansion interface by signal detection line, judged whether the level saltus step,, judge then that palm PC is current whether to start shooting if having, otherwise, return and continue inquiry; If palm PC is start not, then start.After palm PC is in open state, continue to judge that current level is high or low, if it is high, then explanation has the external device to power up to insert, then discern current external device, load the driving of this current external device, otherwise, illustrate that external device is pulled away or power down, then recover the shared system resource of external device.
The concrete workflow of better embodiment of the present invention is referring to shown in Figure 1:
In the present embodiment, also in palm PC, add a concordance list, in this concordance list, preserve each external device corresponding identification at least, drive title, drive address and required system resource information thereof, being used for searching in the driver storehouse of palm PC kernel external device drives and searches this and move the corresponding resource information of this external device.This concordance list can be arranged in the registration table of kernel.
In addition, because factors such as external interference also can cause the irregular saltus step of palm PC expansion interface level, might influence the accuracy of detection like this.Be directed to this, consider that caused level hopping amplitude was generally fixed when external device for same type powered up with power down, therefore can stipulate to have only the level saltus step of satisfying the regulation amplitude in advance, just be detected as effective.Can add up the external device type in the driver storehouse of palm PC kernel in advance, the external device of adding up these types again has several possible level hopping amplitudes, with the level hopping amplitude of these level hopping amplitudes as regulation.
Step 1: the inquiry control level, judge whether the level saltus step of regulation amplitude, if having, enter next step, otherwise, return step 1.
Step 2: judge that palm PC is current and whether start shooting that if start enters next step, otherwise start promptly wakes the CPU of palm PC up by the CPU wake up procedure, return step 2.
Step 3: the level of judging current expansion interface is a height or low, if high, enters next step, otherwise, enter step 5.
Step 4: discern current external device, charging appliance drives, that is: can find out the position and the corresponding resource information of this device drives by the concordance list that sets in advance, transfer corresponding system resources information equipment can be used, judge whether to load successfully, if, start this external device corresponding application, otherwise the prompting user extracts external device and inserts again, returns step 1.
Step 5: unloading equipment drives, and is about to the shared system resource of this external device and discharges, and closes corresponding application.
Wherein, the order of above-mentioned steps 2,3 can change, and for example: can whether saltus step be arranged first decision level, the decision level height judges whether to start shooting afterwards more again.So can not have any impact to effect of the present invention.
As seen, by the present invention program when external device powers up and is connected with palm PC, the operating system that need not to restart palm PC just can detect and finish apace the installment work of external device automatically, simultaneously after external device pulls away palm PC or power down, automatically system resource waste has been avoided in the just shared system resource recovery of this external device.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (8)

1, a kind of palm PC external device is realized the method for plug and play, it is characterized in that, and connection one bars detection line between the CPU of palm PC and the expansion interface that is used to be connected external device in advance, this method is further comprising the steps of:
A) level on the monitor signal detection line has judged whether that the level saltus step for high, if having, then enters step b), otherwise, return step a);
B) judge that palm PC is current and whether start shooting, if start then enters step c), otherwise, wake palm PC up, return step b);
C) discern current external device type, load the driving of current external device correspondence, return step a).
2, according to the described method of claim 1, it is characterized in that, load described in the step d) and further comprise after current external device drives: judge to drive whether load success, if, directly return step a), otherwise the prompting user drives to load and inserts again after this current external device is extracted in failure again, returns step a) then.
According to the described method of claim 2, it is characterized in that 3, after driving was loaded successfully, this method further comprised: start current external device corresponding application.
4, according to the described method of claim 1, it is characterized in that, if do not have the level saltus step described in the step a) for high, then further comprise: judged whether that the level saltus step is low, if have, then discharge current external device and drive shared system resource, return step a), otherwise, return step a).
5, according to the described method of claim 1, it is characterized in that, if do not have the level saltus step described in the step a) for high, then further comprise: judged whether that the level saltus step is low,, then closed current external device corresponding application if having, return step a), otherwise, step a) returned.
6, according to claim 1,4 or 5 described methods, it is characterized in that, preestablish external device power up before and after its hopping amplitude that is used for the FPDP level that is connected with palm PC be the saltus step of regulation amplitude leyel, judge whether described in the step a) that the level saltus step is the level saltus step that judges whether amplitude up to specification.
7, according to any described method in the claim 1 to 5, it is characterized in that, a storage external device information index table is set in palm PC in advance, the driving of the current external device of then described loading comprises: obtain and start the driver of current external device according to the information in the concordance list, and distributing corresponding system resources is given current external device.
According to the described method of claim 7, it is characterized in that 8, described external device information comprises at least: the sign of external device, driving title, driving address and required system resource information.
CN 03121277 2003-04-01 2003-04-01 Method of realizing plug and play by palm computer external equipment Expired - Lifetime CN1534480B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 03121277 CN1534480B (en) 2003-04-01 2003-04-01 Method of realizing plug and play by palm computer external equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 03121277 CN1534480B (en) 2003-04-01 2003-04-01 Method of realizing plug and play by palm computer external equipment

Publications (2)

Publication Number Publication Date
CN1534480A true CN1534480A (en) 2004-10-06
CN1534480B CN1534480B (en) 2010-04-28

Family

ID=34285642

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 03121277 Expired - Lifetime CN1534480B (en) 2003-04-01 2003-04-01 Method of realizing plug and play by palm computer external equipment

Country Status (1)

Country Link
CN (1) CN1534480B (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100474856C (en) * 2007-03-30 2009-04-01 北京呼啦在线传媒科技有限公司 Method for automatic identifying customer mobile terminal equipment model and providing service and content
CN101005631B (en) * 2007-01-09 2010-10-06 四川长虹电器股份有限公司 Vide frequency display device signal detecting method and its circuit
CN103294617A (en) * 2012-02-29 2013-09-11 鸿富锦精密工业(深圳)有限公司 Method for expanding device drivers of electronic device and portable intelligent electronic device
CN103576815A (en) * 2012-07-19 2014-02-12 福兴达科技实业(深圳)有限公司 Electronic device and connection method of peripheral equipment thereof
CN103713913A (en) * 2012-09-28 2014-04-09 联想(北京)有限公司 Method and device for controlling working states of laptop
CN104244092A (en) * 2014-08-04 2014-12-24 北京视博云科技有限公司 Method, system and device for starting application through set top box
CN104461603A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105208061A (en) * 2014-06-23 2015-12-30 惠州市德赛西威汽车电子股份有限公司 Method for reconnecting vehicular navigation terminal and T-BOX communication module
CN105554186A (en) * 2015-12-10 2016-05-04 Tcl移动通信科技(宁波)有限公司 Method and system for accelerating enabling of TF card
CN105549988A (en) * 2015-12-02 2016-05-04 联想(北京)有限公司 Data processing method, controller and application
CN110795377A (en) * 2019-09-12 2020-02-14 北京比特大陆科技有限公司 Method and device for hot plugging of chip, computer, equipment, medium and product

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6263378B1 (en) * 1996-06-03 2001-07-17 Sun Microsystems, Inc. System and method for rapid development of bootstrap device detection modules
CN1154920C (en) * 2000-05-19 2004-06-23 英业达股份有限公司 Intelligent hardware installing method

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005631B (en) * 2007-01-09 2010-10-06 四川长虹电器股份有限公司 Vide frequency display device signal detecting method and its circuit
CN100474856C (en) * 2007-03-30 2009-04-01 北京呼啦在线传媒科技有限公司 Method for automatic identifying customer mobile terminal equipment model and providing service and content
CN103294617A (en) * 2012-02-29 2013-09-11 鸿富锦精密工业(深圳)有限公司 Method for expanding device drivers of electronic device and portable intelligent electronic device
CN103576815A (en) * 2012-07-19 2014-02-12 福兴达科技实业(深圳)有限公司 Electronic device and connection method of peripheral equipment thereof
CN103713913A (en) * 2012-09-28 2014-04-09 联想(北京)有限公司 Method and device for controlling working states of laptop
CN103713913B (en) * 2012-09-28 2018-02-27 联想(北京)有限公司 A kind of method and device for controlling working with notebook computer state
CN104461603A (en) * 2013-09-25 2015-03-25 联想(北京)有限公司 Information processing method and electronic equipment
CN105208061A (en) * 2014-06-23 2015-12-30 惠州市德赛西威汽车电子股份有限公司 Method for reconnecting vehicular navigation terminal and T-BOX communication module
CN104244092A (en) * 2014-08-04 2014-12-24 北京视博云科技有限公司 Method, system and device for starting application through set top box
CN105549988A (en) * 2015-12-02 2016-05-04 联想(北京)有限公司 Data processing method, controller and application
CN105554186A (en) * 2015-12-10 2016-05-04 Tcl移动通信科技(宁波)有限公司 Method and system for accelerating enabling of TF card
CN105554186B (en) * 2015-12-10 2019-01-29 Tcl移动通信科技(宁波)有限公司 It is a kind of to accelerate the enabled method and system of TF card
CN110795377A (en) * 2019-09-12 2020-02-14 北京比特大陆科技有限公司 Method and device for hot plugging of chip, computer, equipment, medium and product

Also Published As

Publication number Publication date
CN1534480B (en) 2010-04-28

Similar Documents

Publication Publication Date Title
CN1167023C (en) Method for waking up signal control computer system power supply by using local area network and its equipment
CN1224179C (en) Portable electronic device with power source failture restoring function and failture restoring method
CN1133110C (en) Electronic equipment with common connector
CN1534480B (en) Method of realizing plug and play by palm computer external equipment
US7028220B2 (en) Methods for saving data on the basis of the remaining capacity of a battery in a suspend mode and resuming operations using the saved data
US5664203A (en) Peripheral device input-initiated resume system for combined hibernation system and back-up power supply for computer
US8826052B1 (en) Methods and apparatus for power mode control for PDA with separate communications and applications processors
JP2004152304A (en) System and method for holding state data of personal computer in standby state at ac power supply failure
CN1285990C (en) Method for saving and restoring computer system operation state
EP1763727A1 (en) Method and apparatus for automatic realtime power management
WO2006075397A1 (en) Installing method, program, peripheral device and system
CN102693136A (en) Quick starting method and system for computer and starting system of computer
JP2012533106A (en) USB attachment detection
US7240189B2 (en) Fast resume to normal operation of a computer in a power saving mode
CN104460925A (en) Power management implementation method based on ShenWei platform
US6477655B1 (en) System and method to set PME—status bit and wake up the system, and selectively load device driver by searching who set the bit without requiring clock
US6272630B1 (en) Method and device for reserving wake-up functions of computer system after power loss
US7719863B2 (en) Active start judgment circuit
KR20060028850A (en) Power management method in portable information device and power management apparatus
US20030122524A1 (en) Apparatus and method for managing power
CN101436097B (en) Electronic device and wake-up method thereof
JPH07141069A (en) Portable data processor
CN101122814B (en) Method for reducing power consumption of apparatus because of being non-normally awaked
US9122479B2 (en) Network processor and energy saving method thereof
CN217388303U (en) Embedded system power-down protection device based on super capacitor

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
CX01 Expiry of patent term

Granted publication date: 20100428

CX01 Expiry of patent term