CN1228713C - Method and device for plug and play of function extension card in electronic information device - Google Patents
Method and device for plug and play of function extension card in electronic information device Download PDFInfo
- Publication number
- CN1228713C CN1228713C CN 03134218 CN03134218A CN1228713C CN 1228713 C CN1228713 C CN 1228713C CN 03134218 CN03134218 CN 03134218 CN 03134218 A CN03134218 A CN 03134218A CN 1228713 C CN1228713 C CN 1228713C
- Authority
- CN
- China
- Prior art keywords
- card
- module
- electronic message
- host
- message unit
- 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.)
- Expired - Fee Related
Links
Images
Landscapes
- Storage Device Security (AREA)
Abstract
The present invention relates to a method and a device for the plug and play of functional extension cards in electronic information devices. The method comprises the following procedure that 1) a card is inserted in a host slot; 2) the device judges whether the inserted card is a plug and play card, if it is, to the step 3), and if not, directly to the step 9); 3) the device interrupts the current-running programs of a host; 4) the device loads the functions of the inserted card in the host; 5) the device runs the functions of the card in the host; 6) users pull out the card from the host slot; 7) the device stores host environment, and shuts down the host in order to protect the host; 8) the device detects host states as shutdown, and restores the host to a safe mode; 9) the host is restored to an operational mode before the card is inserted. The present invention can make the functional extension card have the characteristic of plug and play that the functional extension card can automatically execute inside functions without interface operation, makes the functional extension operation of electronic information devices simple and convenient, saves operation time, and prolongs the service life of electronic information devices.
Description
One, technical field
The present invention relates to the method and the device of a kind of function expansion board plug and play in electronic message unit.
Two, background technology
Development and maturation along with computing machine and electronics technology technology, impel as PDA (Personal Digital Assistant) (PDA), MP3 (MPEG Layer3) player, mobile computer (Note Book) and e-dictionary etc. and can support the electronic message unit of plug-in card sheet function to develop rapidly and day by day popularize, therefore, each tame product manufacturer all drops into considerable human and material resources in the research and development of this series products and improvement, wish to release the specification pattern that accords with the demands of the market, in the hope of in the selling market path that dog-eat-dog and trend change all the time, obtaining leading superiority.
It is that can whether product function can download data with the computer interconnection online and support the usable range that plug-in card sheet function expands product that present market demand trend and each tame manufacturer expend emphasis that maximum times carry out R﹠D work, when the user changes the function expansion board sheet of electronic message unit because of various uses is required, the step of present required execution is: at first, need close the power supply of this electronic message unit; Then the function expansion board sheet that desire is changed takes out, and inserts the function expansion board sheet that desire is used, and afterwards, in the working power of opening this electronic message unit, and chooses the card function and could carry out in the device power-up catalogue.
Owing to all need finish said procedure when changing card at every turn, for quite inconvenience of user, and the electronic message unit trend of being released on the market at present is mostly towards compact pattern development, volume is mini not to take up space, carrying easily, electronic message unit is subjected to consumer's favor most, so electronic message unit manufacturer has to the guidance panel button of this equipment is dwindled, to meet the market demand of product miniaturization, when therefore the user changes the flow process of function expansion board sheet on these miniaturization electronics information equipments, difficulty more will seem, often dwindle because of operation push-button, the situation of the operating mistake that button or two keys press simultaneously of occurring misplaying takes place, further increased a kind of especially invisible cost allowance with regard to the business people of processing transactions quite consuming time originally, and for most user, if when driving or carrying out other behavior that need focus one's attention on, use plug-in card chip electronic information equipment as need, when changing the card action, military order user can't be absorbed in driving and wait the operation that need divert one's attention to change card in the behavior, easily cause hazard event to take place, and owing to each all need make electronic message unit carry out start when changing the function expansion board sheet, actions such as shutdown, the electric current that this action is caused changes easily makes this electronic message unit inner body impaired, thereby shortens the serviceable life of this electronic message unit.
Three, summary of the invention
For solving the above-mentioned technical matters that exists in the background technology, the invention provides a kind of function expansion board sheet and can in electronic message unit, promptly insert the method and the device of i.e. running, can make the function expansion board sheet have the promptly slotting characteristics that promptly operate that need not can automatically perform its built-in function via interface operation, make the function extended operation of electronic message unit can be easier, save the running time and prolong serviceable life of electronic message unit.
Technical solution of the present invention is: a kind of function expansion board sheet can promptly be inserted the i.e. method of running in electronic message unit, its special character is: this method may further comprise the steps:
1) card insert is become owner of in the machine transplanting of rice groove;
2) judge whether insert card promptly moves card for promptly inserting, if, then proceed to step 3), if not, then jump directly to step 9);
3) interrupt the program that main frame is just moving at present;
4) will insert the card function and be written into main frame;
5) operation card function in main frame;
6) card is extracted from host slot;
7) preserve hosted environment so that the shutdown protection;
8) close the protected mode that the machine testing Host Status enters temporary transient shutdown;
9) mode of operation before the host response card inserts;
Wherein said electronic message unit is PDA (Personal Digital Assistant), MP3 player, mobile computer and e-dictionary.
A kind of device that uses said method to make function expansion board plug and play in electronic message unit, its special character is: this device comprises and is used for inserting the host slot module of function expansion board sheet for the user; After this host slot module is inserted function expansion board, be used for producing and inform that the electronic message unit card inserts the card insertion signal generator module of message; Whether the function expansion board sheet that is used for differentiating in this insertion electronic message unit host slot module supports the functional attributes card of promptly inserting i.e. running to insert the determined property module; Insert the determined property module at this card and judge this function expansion board for after can supporting promptly to insert the card of i.e. running, the main frame operation procedure interrupt module that the work that this electronic message unit is at present performed is interrupted; In the work that electronic message unit carried out, have no progeny and carry out the card functional operation module of function expansion board sheet built-in function immediately; Be used for cooperating the instruction that is received the electronic message unit state is operated on the host function driver module under its performed instruction mode; Be used for temporary transient storage through differentiating the non-temporary module of card content of promptly inserting the card data content that is operational function that has; When card after this host slot module is extracted, be used for producing alert signal, the card that makes this electronic message unit learn that this card is pulled out is extracted signal generator; After the autonomous machine transplanting of rice channel mould of this function expansion board sheet piece is pulled out, interrupt the card functional operation interrupt module of function in the performed card of this electronic message unit; At this function expansion board sheet after this host slot module is pulled out, with the temporary close of electronic message unit power supply to protect the unlikely impaired main frame shutdown of this device interior assembly protection module; Be used for the electronic message unit of temporary close is activated again, and when activating the situation of this device interior assembly done detection, the mode of operation with this electronic message unit returns back to and the preceding identical main frame start of card insertion detection module then; Insert and pull out wherein under any state according to the function expansion board sheet, make this electronic message unit produce corresponding pulse signal, the CPU module that the just ongoing work of this electronic message unit is stopped making this electronic message unit send look-at-me.
Function expansion board sheet of the present invention can promptly be inserted the method and the device of i.e. running in electronic message unit, its person capable of reducing using changes the time and the program of function expansion board sheet, increase the convenience that uses plug-in card chip electronic information equipment, need not change card and electronic message unit be carried out action such as open and close machine, reduce the coefficient of losses of electronic message unit.And promptly insert the i.e. function of running because of it has,, do not need to automatically perform function appended on the card, exempt time waste because of operating mistake caused by interface operation so meet the trend of product operation interface miniaturization now; When reducing interface operation simultaneously, the too little difficult grasp of operation-interface and easily electronic message unit being dropped on the ground and the probability of damaging takes place.
Four, description of drawings
Fig. 1 is a structural representation of the present invention;
Fig. 2 is the corresponding diagram of pulse signal of the present invention and look-at-me;
Fig. 3 is a method flow diagram of the present invention.
Five, embodiment
Referring to Fig. 1; show that wherein device of the present invention is applied to the system architecture on the MP3 player 100, this MP3 player 100 comprises host slot module 110; card inserts signal generator module 120; card determined property module 121; main frame operation procedure interrupt module 122; card functional operation module 123; host function driver module 124; the card content is kept in module 125; card is extracted signal generator 130; card can operate interrupt module 131; main frame shutdown protection module 132; main frame start detection module 133; the MP3 song card 200 of CPU module 140 and extrapolation.
When MP3 song card 200 inserts the host slot module 110 of MP3 player 100, promptly inserting signal generator module 120 detectings by card learns and transmits signal and inform 121 pairs of these MP3 song cards of card determined property module 200 whether tool is promptly inserted to be the work that operational function carries out interpretation, whether card determined property module 121 has the promptly slotting i.e. attribute mark of running prior to the position, procedural file front that host slot module 110 reads this MP3 song card 200, if do not have and promptly insert the i.e. attribute mark of running, then with the card content prior to storing in the temporary module 125 of card content, and inform that host function driver module 124 need not comprehend this MP3 song card 200 and can continue to carry out previous work, the interface that the card content person then to be used that the temporary module 125 of card content is deposited operates MP3 player 100 is just read the card content for 100 execution of MP3 player when playing the song of this MP3 song card 200; As this archives front this card of tick lables that inserts MP3 song card 200 its internally stored programs of the appended host slot module 110 of MP3 player 100 be promptly to insert the attribute that promptly operates, after 121 inspections of card determined property module are determined, the pulse signal that is about to MP3 song card 200 generation when inserting host slot module 110 wakes the internal memory song that CPU module 140 is play MP3 song cards 200 up, CPU module 140 at first produces a look-at-me to main frame running interrupt module 122, make it that present MP3 player 100 performed work are interrupted changing the work of playing MP3 song card 200 internal memory songs immediately by 123 execution of card functional operation module, at this moment, host function driver module 124 also will cooperate card functional operation module 123 to require the project of supporting, drive the equipment needed thereby part and carry out the work that song is play.
As the user with MP3 song card 200 when pulling out on the host slot module 110; card is extracted signal generator 130 also can detect this state; and the pulse signal that this state produced delivered to CPU module 140; CPU module 140 is when receiving this pulse signal; and produce the MP3 song card 200 internal memory song broadcast work of a look-at-me to card functional operation interrupt module 131 requirements in will carrying out and stop immediately; and impel 132 pairs of MP3 players of main frame shutdown protection module 100 to carry out the protected mode of temporary transient shutdown in case the unexpected electric current that changes causes this player inner body impaired; then re-execute boot action by main frame start detection module 133 again, and whether the assembly of detecting simultaneously in the MP3 player 100 notifies promptly thereafter normally host function driver module 124 to reply the work that MP3 player 100 is operated before MP3 song card 200 inserts.
Referring to Fig. 2, MP3 song card 200 is pulled out and all can be produced a pulse signal A in the process and excite 140 pairs of MP3 players of CPU module 100 to produce corresponding look-at-me B inserting host slot module 110 and autonomous machine transplanting of rice channel mould piece 110, when pulse signal A is falling edge A1, be that MP3 song card 200 inserts under the situation of host slot module 110, CPU module 140 is excited by this falling edge pulse signal A1 also can and MP3 player 100 is sent a look-at-me B at this moment, make it play the internal memory song of this MP3 song card 200 immediately to interrupt MP3 player 100 present duties, if being rising edge A2, pulse signal A represents that promptly the MP3 song just pulls out in the host slot module 110 by MP3 player 100, CPU module 140 also can be sent a look-at-me B ' stopping to carry out the work of the internal memory song of playing MP3 song card 200 to MP3 player 100, and enters the safe mode of of short duration shutdown.
Referring to Fig. 3, the present invention includes the following step:
1) in the host slot module 110 of MP3 player 100, inserts MP3 song card 200;
2) judge by 121 pairs of MP3 song cards 200 that insert in the host slot module 110 of card determined property module whether its position, internal program archives front has this card of expression for promptly inserting the sign that promptly operates attribute, if have, then proceed to step 3),, then jump directly to step 9) if do not have.
3) contained CPU module 140 is to send a look-at-me in the MP3 player 100, and the work that MP3 player 100 is just being carried out is at present stopped.
4) be loaded in the MP3 player 100 depositing song within the MP3 song card 200 by card functional operation module 123.
5) host function driver module 124 is promptly supported at the card content that card functional operation module 123 is loaded, drive the assembly running song broadcast work in the MP3 player 100, these MP3 player 100 main frames are operated in the play mode, when this MP3 song card 200 was pulled out in host slot module 110, the side proceeded to step 6).
6) extract signal generator 130 by card and record and inform CPU module 140 after card is pulled out signal, and send look-at-me to make the song broadcast work that decommissions of MP3 player 100 interior assemblies by 140 pairs of card functional operations of CPU module interrupt module 131.
7) main frame shutdown protection module 132 is carried out the instruction that MP3 player 100 is shut down, and with the of short duration shutdown of this player, and the residing environment of operation of this player is preserved in case run off because of shutdown makes the internal document of this player before will interrupting.
8) main frame start detection module 133 promptly carries out boot action to MP3 player 100, and this player inner assembly data is detected after of short duration shutdown.
9) after start, the mode of operation of MP3 player 100 returned back to originate mode before MP3 song card 200 inserts by host function driver module 124.
Claims (2)
1, the method for a kind of function expansion board plug and play in electronic message unit, it is characterized in that: this method may further comprise the steps:
1) card insert is become owner of in the machine transplanting of rice groove;
2) judge whether insert card promptly moves card for promptly inserting, if, then proceed to step 3), if not, then jump directly to step 9);
3) interrupt the program that main frame is just moving at present;
4) will insert the card function and be written into main frame;
5) operation card function in main frame;
6) card is extracted from host slot;
7) preserve hosted environment so that the shutdown protection;
8) close the protected mode that the machine testing Host Status enters temporary transient shutdown;
9) mode of operation before the host response card inserts;
Wherein said electronic message unit is PDA (Personal Digital Assistant), MP3 player, mobile computer and e-dictionary.
2, a kind of device that uses the method for claim 1 to make function expansion board plug and play in electronic message unit is characterized in that: this device comprises and is used for inserting the host slot module of function expansion board sheet for the user; After this host slot module is inserted function expansion board, be used for producing and inform that the electronic message unit card inserts the card insertion signal generator module of message; Whether the function expansion board sheet that is used for differentiating in this insertion electronic message unit host slot module supports the functional attributes card of promptly inserting i.e. running to insert the determined property module; Insert the determined property module at this card and judge this function expansion board for after can supporting promptly to insert the card of i.e. running, the main frame operation procedure interrupt module that the work that this electronic message unit is at present performed is interrupted; In the work that electronic message unit carried out, have no progeny and carry out the card functional operation module of function expansion board sheet built-in function immediately; Be used for cooperating the instruction that is received the electronic message unit state is operated on the host function driver module under its performed instruction mode; Be used for temporary transient storage through differentiating the non-temporary module of card content of promptly inserting the card data content that is operational function that has; When card after this host slot module is extracted, be used for producing alert signal, the card that makes this electronic message unit learn that this card is pulled out is extracted signal generator; After the autonomous machine transplanting of rice channel mould of this function expansion board sheet piece is pulled out, interrupt the card functional operation interrupt module of function in the performed card of this electronic message unit; At this function expansion board sheet after this host slot module is pulled out, with the temporary close of electronic message unit power supply to protect the unlikely impaired main frame shutdown of this device interior assembly protection module; Being used for electronic message unit with temporary close activates again and when activating the situation of this device interior assembly is done detection, then the mode of operation of this electronic message unit is returned back to and card insert before identical main frame start detection module; Insert and pull out wherein under any state according to the function expansion board sheet, make this electronic message unit produce corresponding pulse signal, the CPU module that the just ongoing work of this electronic message unit is stopped making this electronic message unit send look-at-me.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03134218 CN1228713C (en) | 2003-05-30 | 2003-05-30 | Method and device for plug and play of function extension card in electronic information device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 03134218 CN1228713C (en) | 2003-05-30 | 2003-05-30 | Method and device for plug and play of function extension card in electronic information device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1472639A CN1472639A (en) | 2004-02-04 |
CN1228713C true CN1228713C (en) | 2005-11-23 |
Family
ID=34154415
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 03134218 Expired - Fee Related CN1228713C (en) | 2003-05-30 | 2003-05-30 | Method and device for plug and play of function extension card in electronic information device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN1228713C (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100465891C (en) * | 2005-07-08 | 2009-03-04 | 集嘉通讯股份有限公司 | Method for renewing hand-held device operation function through insert-and-use storage device |
-
2003
- 2003-05-30 CN CN 03134218 patent/CN1228713C/en not_active Expired - Fee Related
Also Published As
Publication number | Publication date |
---|---|
CN1472639A (en) | 2004-02-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103970560B (en) | Starting method and electronic device | |
KR100705047B1 (en) | Low power digital audio decoding/playing system for computing devices | |
KR100715571B1 (en) | Machine-readable medium for computer system and personal computer to play audio files | |
US20040006690A1 (en) | Low power digital audio decoding/playing system for computing devices | |
CN101526901B (en) | Method and device for viewing files in computer | |
US7320112B2 (en) | Information processing apparatus and method, and information processing program | |
EP1156477A4 (en) | Method and apparatus for information processing, and medium for storing program | |
US20100088547A1 (en) | Computer motherboard and power-on self-test method thereof | |
CN2529320Y (en) | Extraction storage card reading machine and its fixed base | |
US5832282A (en) | Method and apparatus for implementing protected battery hot swapping in portable computers | |
US20040039904A1 (en) | Method of booting a computer to play a compact disc without loading an operation system | |
CN103246594A (en) | Automatic user state network card detecting method based on Linux kernel | |
JP2000214963A (en) | Computer system and automatic setting method for setting information | |
CN1228713C (en) | Method and device for plug and play of function extension card in electronic information device | |
CN101093416A (en) | Computer and energy saving method | |
CN102567178A (en) | Electronic device and method for informing remaining electricity and starting method thereof | |
CN1220945C (en) | Computer system backup and restoring method | |
CN100472441C (en) | Method for changing open origin of computer and data reserve reduction employing this method | |
JP2011076387A (en) | Power saving control apparatus, method and program in terminal device having power-saving mode | |
US7418609B2 (en) | Method for instant on multimedia playing | |
CN1430124A (en) | Low power digital audio decoding/broadcasting system for computer device | |
CN2862148Y (en) | Hook mechanism | |
CN1243315C (en) | Computer system possessing optical drive feed-return chip control circuit | |
CN1142470C (en) | Expansion module for inserting computer chassis equipment and its processing method | |
US20040093449A1 (en) | Computer system with collapsible keyboard and alternate display functions and processing method 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C17 | Cessation of patent right | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20051123 |