CN102411554A - Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices - Google Patents

Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices Download PDF

Info

Publication number
CN102411554A
CN102411554A CN2011102267901A CN201110226790A CN102411554A CN 102411554 A CN102411554 A CN 102411554A CN 2011102267901 A CN2011102267901 A CN 2011102267901A CN 201110226790 A CN201110226790 A CN 201110226790A CN 102411554 A CN102411554 A CN 102411554A
Authority
CN
China
Prior art keywords
memory device
usb memory
removes
instruction
signal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011102267901A
Other languages
Chinese (zh)
Other versions
CN102411554B (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.)
TCL Corp
Original Assignee
TCL Corp
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 TCL Corp filed Critical TCL Corp
Priority to CN201110226790.1A priority Critical patent/CN102411554B/en
Publication of CN102411554A publication Critical patent/CN102411554A/en
Application granted granted Critical
Publication of CN102411554B publication Critical patent/CN102411554B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention is suitable to be applied to the field of electronic techniques, and provides a hot-plugging method, a hot-plugging method apparatus and a terminal device for USB (universal serial bus) storage devices, wherein the method comprises the following steps that: a main device receives a USB storage device removed signal from a peripheral device, and generates and executes a removed instruction of a USB storage devices designated by the signal. By using the method, device and terminal device provided by the invention, the problems that the existing hot-plugging method for USB storage devices is complicated in operation process, and because of the presence of illegal violent removal behaviors, the hot-plugging method is low in convenience and poor in flexibility, hardware devices and data are easy to be damaged, and the safety of stored data and the stability of an operating system of the terminal device can not be guaranteed are solved, the more convenient and flexibility of the hot-plugging method for USB storage devices are improved, the damage probabilities of hardware devices and data are reduced, and the safety of stored data and the stability of an operating system of the terminal device are improved.

Description

A kind of USB memory device hot-plug method, device and terminal device
Technical field
The invention belongs to electronic technology field, relate in particular to a kind of USB memory device hot-plug method, device and terminal device.
Background technology
Hot plug; Be warm swap, the hot plug function allows the user in shutoff operation system not exactly, does not cut off to accomplish the plug of external electronic device under the situation of system power supply or change; This function has improved the convenience that the user uses, and has improved extensibility and the dirigibility of system etc. simultaneously.But hot plug is when bringing convenience; Also there is certain hidden danger to exist; Long-term direct unlawful violence plug, the programmed protection that has no can increase rate of breakdown greatly; Also can bring hidden danger to operating system in the time of damage equipment, certain this potential safety hazard is present in the terminal devices such as intelligent television platform, computing machine equally.Frequent unlawful violence plug operation, the peak current or the voltage that can when plug, produce because of system cause hardware damage to USB memory device or interface; The loss of data that can cause USB memory device inside to deposit; Can influence the resistance to overturning of system, and have the possibility of the USB interface that burns terminal device.Though existing system provides safety to remove the mechanism and the method for USB memory device; Yet operating process is numerous and diverse; For the user; The user of television equipment for example, owing to can't use mouse and keyboard as PC, user's safety that the above operation of at least 5 step can be accomplished the USB memory device for needs beyond affordability removes; Loaded down with trivial details operation can make the user tend to select direct violence illegally to pull out the USB memory device, just operating system and user data has been comprised that USB interface brings potential safety hazard since so.
Can know through above-mentioned analysis; Prior USB memory device hot-plug method need carry out complicated loaded down with trivial details operation; Cause low, the very flexible of hot-plug method convenience; And illegal sudden huge profits remove method and easily hardware device and data are caused damage, and can't guarantee to store the safety of data and the stability of terminal device operating system.
Summary of the invention
The purpose of the embodiment of the invention is to provide a kind of USB memory device hot-plug method, device and terminal device; Be intended to solve because prior USB memory device hot-plug method operating process complicacy is loaded down with trivial details; And exist illegal sudden huge profits to remove behavior; Cause low, the very flexible of hot-plug method convenience, hardware device and data are fragile, and can't guarantee to store the problem of stability of safety and the terminal device operating system of data.
The embodiment of the invention is achieved in that a kind of USB memory device hot-plug method, and said method comprises the steps:
The USB memory device that main equipment receives from peripherals removes signal, generate said signal appointment the USB memory device remove instruction;
Main equipment carry out said appointment the USB memory device remove instruction.
Another purpose of the embodiment of the invention is to provide a kind of USB storage hot plug to remove device, and said device comprises:
Signal receiving unit, the USB memory device that is used to receive from peripherals removes signal;
The instruction generation unit, be used to generate said signal receiving unit output the signal appointment the USB memory device remove instruction; And
Instruction execution unit, be used to carry out said appointment the USB memory device remove instruction.
Another purpose of the embodiment of the invention is to provide a kind of terminal device that comprises above-mentioned USB memory device hot plug device.
The embodiment of the invention removes signal through the USB memory device that main equipment receives from peripherals; Generate this signal appointment the USB memory device remove instruction; And carry out this appointment the USB memory device remove instruction, solved because prior USB memory device hot-plug method operating process complicacy is loaded down with trivial details, and existed illegal sudden huge profits to remove behavior; Cause low, the very flexible of hot-plug method convenience; Hardware device and data are fragile, and can't guarantee to store the problem of stability of safety and the terminal device operating system of data, make that USB memory device hot-plug method is more convenient and flexible; Reduce hardware device and corrupted data probability, and improved the safety of storage data and the stability of terminal device operating system.
Description of drawings
Fig. 1 is the process flow diagram that a kind of USB memory device of the present invention hot-plug method first embodiment provides;
Fig. 2 is the process flow diagram that a kind of USB memory device of the present invention hot-plug method second embodiment provides;
Fig. 3 is the process flow diagram that a kind of USB memory device of the present invention hot-plug method the 3rd embodiment provides;
Fig. 4 is the structural drawing that a kind of USB memory device of the present invention hot plug device the 4th embodiment provides;
Fig. 5 is the structural drawing of the instruction generation unit that provides of a kind of USB memory device of the present invention hot plug device the 4th embodiment.
Embodiment
In order to make the object of the invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with accompanying drawing and embodiment.Should be appreciated that specific embodiment described herein only in order to explanation the present invention, and be not used in qualification the present invention.
The embodiment of the invention removes signal through the USB memory device that main equipment receives from peripherals; Generate this signal appointment the USB memory device remove instruction; And carry out this appointment the USB memory device remove instruction; Make that USB memory device hot-plug method is more convenient and flexible, reduced hardware device and corrupted data probability, and improved the safety of storage data and the stability of terminal device operating system.
The embodiment of the invention provides a kind of USB memory device hot-plug method, and said method comprises the steps:
The USB memory device that main equipment receives from peripherals removes signal, generate said signal appointment the USB memory device remove instruction;
Main equipment carry out said appointment the USB memory device remove instruction.
The embodiment of the invention also provides a kind of USB memory device hot plug device, and said device comprises:
Signal receiving unit, the USB memory device that is used to receive from peripherals removes signal;
The instruction generation unit, be used to generate said signal receiving unit output the signal appointment the USB memory device remove instruction; And
Instruction execution unit, be used to carry out said appointment the USB memory device remove instruction.
The embodiment of the invention also provides a kind of terminal device that comprises above-mentioned USB memory device hot plug device.
The embodiment of the invention removes signal through the USB memory device that main equipment receives from peripherals; Generate this signal appointment the USB memory device remove instruction; And carry out this appointment the USB memory device remove instruction, solved because prior USB memory device hot-plug method operating process complicacy is loaded down with trivial details, and existed illegal sudden huge profits to remove behavior; Cause low, the very flexible of hot-plug method convenience; Hardware device and data are fragile, and can't guarantee to store the problem of stability of safety and the terminal device operating system of data, make that USB memory device hot-plug method is more convenient and flexible; Reduce hardware device and corrupted data probability, and improved the safety of storage data and the stability of terminal device operating system.
Below in conjunction with specific embodiment concrete realization of the present invention is described in detail:
Embodiment one:
Fig. 1 shows the realization flow of the USB memory device hot-plug method that first embodiment of the invention provides, and details are as follows:
In step S101, the USB memory device that main equipment receives from peripherals removes information, generate this signal appointment the USB memory device remove instruction.
Wherein, This peripherals is photoinduction hole or telepilot; When this peripherals is the photoinduction hole, before step S101, also comprise: when the light that detects this photoinduction hole of entering was covered, main equipment generated the USB memory device corresponding with this photoinduction hole and removes signal; It is said to specify following embodiment two; In addition, should also can be for the user remove signal through the USB memory device that function button sends that removes on the telepilot from the signal that removes of the USB memory device of peripherals, it is said to specify following embodiment three.
In the practical implementation process, when this USB memory device from peripherals removes signal for the user during through removing USB memory device that function button sends and remove signal on the telepilot, this step S101 specifically may further comprise the steps:
Main equipment removes signal according to the user through the USB memory device that removes the function button transmission on the telepilot, generates the instruction that removes of USB memory device;
Judge whether USB port exists the USB memory device, when not having the USB memory device, main equipment is not done any response; When there being the USB memory device, and the number of this USB memory device is when being merely one, and main equipment generates the instruction that removes of this USB memory device;
When this USB memory device outnumber one the time, main equipment is exported the information of all USB memory devices with the mode of tabulation;
Main equipment removes signal according to the user through the USB memory device that the direction button on the telepilot sends, generate appointment the USB memory device remove instruction.
In step S102, main equipment carry out this appointment the USB memory device remove instruction.
Before step S102, when the USB of this appointment memory device not when doing data read-write operation, main equipment can carry out safely this appointment the USB memory device remove instruction; When the USB of this appointment memory device when doing data read-write operation, inconsistent for fear of the file system data of this memory device, cause file system to be destroyed, main equipment need carry out write back operations to data before execution removes the instruction of this memory device.
After step S102; The hot-plug method of this USB memory device comprises that also main equipment shows the information of the USB memory device that can pull out this appointment safely; To remind the user can directly pull out this USB memory device, particularly, when this main equipment is televisor; This USB memory device is connected with televisor through USB interface; Can or eject little modes such as prompting frame and point out the user can extract the USB memory device through voice, flash of light,, also can avoid interrupting the current picture of watching TV even then be under the state of watching TV the user.
In embodiments of the present invention; This USB memory device hot-plug method removes signal through main equipment according to the USB memory device from the outside, and the USB memory device that generates this signal appointment removes instruction, when judging that there is the USB memory device of this appointment in USB port; And the USB memory device of this appointment is when doing data read-write operation; Storage data in this USB memory device are carried out write back operations, and then can realize when the user need remove the USB memory device according to this USB memory device that removes this appointment of removing command; Need as the hot-plug method of prior USB memory device, not need the user to carry out complicated loaded down with trivial details operation; Reduced illegal sudden huge profits and removed behavior, improved convenience, the dirigibility of hot-plug method, reduced
The probability that occurs of damage that hardware device and data are caused, and improved the safety of storage data and the stability of terminal device operating system.
Embodiment two:
Fig. 2 shows the realization flow of the USB memory device hot-plug method that second embodiment of the invention provides; In embodiments of the present invention; With this peripherals is the photoinduction hole; This main equipment is a televisor, and this USB memory device is connected with televisor through USB interface the realization flow of this USB memory device hot-plug method is described for example, and details are as follows:
In step S201, when the light that gets into the photoinduction hole was covered, televisor generated the USB memory device corresponding with this photoinduction hole and removes signal.
In the practical implementation process, corresponding photoinduction hole can be set, when the user need remove the USB memory device near each USB port of televisor; Block the light that gets into the corresponding photoinduction hole of this USB memory device with hand or other objects, the corresponding photoinduction module in this photoinduction hole is then sent the USB memory device corresponding with this photoinduction hole site to system for TV set and is removed signal, particularly; For conveniently blocking the light that gets into this photoinduction hole; Prevent that perhaps mistake from blocking the corresponding photoinduction hole of other USB memory devices that need not remove, the position in photoinduction hole is arranged in user's nature gesture, between each photoinduction hole site certain distance is set; In addition; Before the generation USB memory device corresponding with this photoinduction hole removes signal, need in the preset time, keep covering this photoinduction hole, for example; 1~2 second, system responses removed or unloading operation to accomplish.
In step S202, remove signal according to this, televisor generate this signal appointment the USB memory device remove instruction.
Wherein, the USB memory device of this signal appointment remove instruction for the USB memory device corresponding with this photoinduction hole, particularly, televisor can remove signal according to this, generate this signal appointment the USB memory device remove instruction.
In step S203, televisor judges whether current USB port has the USB memory device, and not, then execution in step S204 does not do response; Be, then execution in step S205.
In step S205, judge whether this USB memory device is doing data read-write operation, not, and execution in step S207 then, televisor is carried out the instruction that removes of this USB memory device; Be, then execution in step S206.
In step S206, televisor carries out write back operations to the data in this USB memory device.
In step S207, televisor is carried out the instruction that removes of this USB memory device.
In embodiments of the present invention, when there is not the USB memory device of connection in the USB port of televisor, then do not respond the instruction that removes of this USB memory device, can show the information that does not have any USB memory device yet, to remind the user; When there is the USB memory device that connects in the USB port of televisor; Judge further then whether system for TV set does data read-write operation to this USB memory device; If this USB memory device is not when doing data read-write operation; Then televisor can directly be carried out the instruction that removes of this USB memory device, thereby accomplishes system for TV set to the unloading of equipment or remove operation.Yet, when judging that system for TV set is being done data read-write operation to this USB memory device, need carry out write back operations to data, inconsistent with the file system data of avoiding this memory device, cause the ruined problem of file system.
In the practical implementation process, after execution of step S207, televisor can also show the information of the USB memory device that can pull out this appointment safely; To remind the user can directly pull out this USB memory device; Particularly, can be according to judging the televisor current working state, output corresponding prompt information; For example; Be under the situation of watching television image or televisor to be in the ATV/DTV play mode the user, can point out the user can extract the USB memory device, to avoid interrupting the current picture of watching TV through modes such as voice, flashes of light; And when televisor is in main interface model or non-and looks the screen play mode, then can inform that the user can pull out this USB memory device safely through the mode that ejects prompting frame.
In embodiments of the present invention; Singularity to the operation that removes the USB memory device that is connected with televisor; The mode that covers the light that gets into the photoinduction hole through setting is sent the USB memory device and is removed instruction, further accomplishes the remove operation of system for TV set to the USB memory device, and it is more quick, convenient to make that the USB memory device removes the operation of method; The USB memory device to remove operation friendly more; And through judging whether whether current televisor USB port have USB memory device and this USB memory device doing the step of data read-write operation, can prevent maloperation, improved the accuracy that removes the USB memory device.
Embodiment three:
Fig. 3 shows the realization flow of the USB memory device hot-plug method that third embodiment of the invention provides; In embodiments of the present invention; This peripherals is telepilot; This main equipment is a televisor, and this USB memory device is connected with televisor through USB interface the realization flow of this USB memory device hot-plug method is described for example, and details are as follows:
In step S301, televisor removes signal according to the user through the USB memory device that removes the function button transmission on the telepilot, generates the instruction that removes of USB memory device.
In the practical implementation process; TV remote controller is provided with USB memory device safety and removes function button; Be used for sending the USB memory device to televisor and remove signal through infrared ray; And in televisor bottom layer driving module, be provided with detection module, when the remote controller key signal that receives in detection removes signal for the USB memory device, to the instruction that removes of this USB memory device of system for TV set output.
In step S302, televisor judges whether USB port exists the USB memory device, and not, then execution in step S303 does not do response; Be, then execution in step S304.
In embodiments of the present invention, when there is not the USB memory device of connection in the USB port of televisor, then do not respond the instruction that removes of this USB memory device, can show the information that does not have any USB memory device yet, to remind the user.
In step S304, judge whether the number of this USB memory device surpasses one, be that then execution in step S305 generates the instruction that removes of this USB memory device, and goes to execution in step S307; Deny, then execution in step S306.
In step S306, televisor is exported the information of all USB memory devices with the mode of tabulation, and removes signal according to the user through the USB memory device that the direction button on the telepilot sends, generate appointment the USB memory device remove instruction.
The USB memory device that has connection when the USB port of televisor; And this USB memory device outnumber one the time; Then televisor is exported the information of all USB memory devices with the mode of tabulation; The device id of registering when the information of this USB memory device can insert system for TV set for this USB memory device number, device name etc., the arrangement mode of this table can be the mode of orderings such as title or time.Further, the USB memory device that the direction button selection on the user remote controller need remove, press acknowledgement key after, send this selection appointment the USB memory device remove instruction, press cancel key, then cancellation this time removing operation.
In step S306, televisor judges whether this USB memory device is doing data read-write operation, not, execution in step S307 then, televisor is carried out the instruction that removes of this USB memory device; Be, then execution in step S308.
In step S308, televisor carries out write back operations to the data in this USB memory device, and execution in step S309, and televisor is carried out the instruction that removes of this USB memory device.
Wherein, judging this USB memory device not when doing data read-write operation, then televisor can directly be carried out the instruction that removes of this USB memory device, thereby accomplishes system for TV set to the unloading of equipment or remove operation.Yet; When judging that system for TV set is being done data read-write operation to this USB memory device; Need carry out write back operations to data, inconsistent with the file system data of avoiding this memory device, cause the ruined problem of file system; The system that accomplished further is to the unloading of equipment or remove operation
In the practical implementation process, after execution of step S309, televisor can also show the information of the USB memory device that can pull out this appointment safely; To remind the user can directly pull out this USB memory device, particularly, can be according to judging the televisor current working state; Output corresponding prompt information for example, is under the situation of watching television image or televisor to be in the ATV/DTV play mode the user; Can point out the user can extract the USB memory device through modes such as voice, flashes of light; Avoiding interrupting the current picture of watching TV, and be in main interface model or non-when looking the screen play mode, then can inform that the user can pull out this USB memory device safely through the mode that ejects prompting frame at televisor; At this moment, the user can pull out this USB memory device safely.
In embodiments of the present invention; Through using the USB memory device safety on the TV remote controller to remove function button, direction button, affirmation and cancellation button etc., can realize removing quickly and easily the USB memory device, avoid the user to pull out the USB memory device and cause equipment impaired because of illegal sudden huge profits; The appearance of problems such as loss of data; And the USB memory device hot plug mode through the embodiment of the invention can guide correct use USB device, reduces the probability that equipment failure occurs; Protect televisor and USB memory device simultaneously, prolong the serviceable life of this equipment etc.
One of ordinary skill in the art will appreciate that all or part of step that realizes in the foregoing description method is to instruct relevant hardware to accomplish through program; Described program can be stored in the computer read/write memory medium; Described storage medium is like ROM/RAM, disk, CD etc.
Embodiment four:
Fig. 4 shows the structure of the USB memory device hot plug device that fourth embodiment of the invention provides, and for the ease of explanation, only shows the part relevant with the embodiment of the invention.
This USB memory device hot plug device can be used for televisor; The other-end equipment that perhaps has USB interface; Among computing machine, the PAD etc., can be the software unit that runs in these terminal devices for example, also can be used as independently, suspension member be integrated in these terminal devices or runs in the application system of these terminal devices; This USB memory device hot plug device comprises signal receiving unit 41, instruction generation unit 42 and instruction execution unit 43, wherein:
Signal receiving unit 41, the USB memory device that is used to receive from peripherals removes signal.
Instruction generation unit 42 is used to generate the instruction that removes of the specified USB memory device of the signal of these signal receiving unit 41 outputs.
Wherein, the peripherals in this signal receiving unit 41 is photoinduction hole or telepilot, and when this peripherals was the photoinduction hole, this USB memory device hot plug device also comprised:
Pick-up unit is used for when the light that detects this photoinduction hole of entering is covered, generating the USB memory device and removing signal.
Should from the USB memory device of peripherals remove signal also can for the user through removing the USB memory device that function button sends and remove signal on the telepilot; At this moment; This instruction generation unit 42 specifically comprises key command sensing unit 421, judging unit 422, information display unit 423 and instruction fetch unit 424; As shown in Figure 5, wherein:
Key command sensing unit 421 is used for removing signal according to the user through the USB memory device that removes the function button transmission on the telepilot, generates the instruction that removes of USB memory device;
Judging unit 422 is used to obtain the number that there is the USB memory device that connects in USB port, and when USB port existence only during a USB memory device, generates the instruction that removes of this USB memory device;
Information display unit 423 is used for when this judging unit 422 judges that there is at least one USB memory device in USB port, exporting the information of all USB memory devices with the mode of tabulation; And
Instruction fetch unit 424 is used for removing signal according to the user through the USB memory device that the direction button on the telepilot sends, generate appointment the USB memory device remove instruction.
Particularly, when the USB of this appointment memory device not when doing data read-write operation, can directly carry out this appointment the USB memory device remove instruction; When the USB of this appointment memory device when doing data read-write operation, inconsistent for fear of the file system data of this memory device, cause file system to be destroyed, before removing this memory device, need carry out write back operations to data.
Instruction execution unit 43, be used to carry out this appointment the USB memory device remove instruction.
This USB memory device hot plug device also comprises prompt signal display device, is used to show the information of the USB memory device that can pull out this appointment safely, can directly pull out this USB memory device to remind the user.Particularly; When this USB memory device is connected with terminal device through USB interface; Can or eject little modes such as prompting frame and point out the user can extract the USB memory device through voice, flash of light; Even then be under the state of watching TV, also can avoid interrupting the current picture of watching TV the user.
In embodiments of the present invention; This USB memory device hot plug device comprises and is used to receive the signal receiving unit 41 that removes signal from the USB memory device of peripherals; Be used to generate the instruction generation unit 42 that removes instruction of USB memory device of the signal appointment of these signal receiving unit 41 outputs; And the instruction execution unit that removes instruction 43 that is used to carry out the USB memory device of this appointment, realized when the user need remove the USB memory device, need as prior USB memory device hot-plug method, not need the user to carry out complicated loaded down with trivial details operation; Reduce illegal sudden huge profits and removed behavior; Improved convenience, the dirigibility of hot-plug method, and the damage probability that has reduced hardware device and data, and improved the safety of storage data and the stability of terminal device operating system.
The embodiment of the invention removes signal through the USB memory device that main equipment receives from peripherals; Generate this signal appointment the USB memory device remove instruction; And carry out this appointment the USB memory device remove instruction, solved because prior USB memory device hot-plug method operating process complicacy is loaded down with trivial details, and existed illegal sudden huge profits to remove behavior; Cause low, the very flexible of hot-plug method convenience; Hardware device and data are fragile, and can't guarantee to store the problem of stability of safety and the terminal device operating system of data, have improved the convenient property of USB memory device hot-plug method, dirigibility; Reduce the damage probability of hardware device and data, and improved the safety of storage data and the stability of terminal device operating system.
The above is merely preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of within spirit of the present invention and principle, being done, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. a USB memory device hot-plug method is characterized in that said method comprises the steps:
The USB memory device that main equipment receives from peripherals removes signal, generate said signal appointment the USB memory device remove instruction;
Main equipment carry out said appointment the USB memory device remove instruction.
2. the method for claim 1 is characterized in that, said peripherals is photoinduction hole or telepilot.
3. method as claimed in claim 2 is characterized in that, when said peripherals is the photoinduction hole, receives before USB memory device from peripherals removes the step of signal at said main equipment, and is further comprising the steps of:
When the light that detects the said photoinduction of entering hole was covered, main equipment generated the USB memory device corresponding with said photoinduction hole and removes signal.
4. method as claimed in claim 2 is characterized in that, when said peripherals was telepilot, the signal that removes of said USB memory device from peripherals removed signal for the user through the USB memory device that function button sends that removes on the telepilot.
5. method as claimed in claim 4 is characterized in that, the USB memory device that said main equipment receives from peripherals removes signal, and the step that removes instruction that generates the USB memory device of said signal appointment is specially:
Main equipment removes signal according to the user through the USB memory device that removes the function button transmission on the telepilot, generates the instruction that removes of USB memory device;
When there is the USB memory device in USB port, and the number of said USB memory device is when being merely one, and main equipment generates the instruction that removes of said USB memory device;
When said USB memory device outnumber one the time, main equipment is exported the information of all USB memory devices with the mode of tabulation;
Main equipment removes signal according to the user through the USB memory device that the direction button on the telepilot sends, generate appointment the USB memory device remove instruction.
6. USB memory device hot plug device is characterized in that said device comprises:
Signal receiving unit, the USB memory device that is used to receive from peripherals removes signal;
The instruction generation unit, be used to generate said signal receiving unit output the signal appointment the USB memory device remove instruction; And
Instruction execution unit, be used to carry out said appointment the USB memory device remove instruction.
7. device as claimed in claim 6 is characterized in that, said peripherals is photoinduction hole or telepilot.
8. device as claimed in claim 7 is characterized in that, when said peripherals was the photoinduction hole, said device also comprised:
Pick-up unit is used for when the light that detects the said photoinduction of entering hole is covered, generating the USB memory device and removing signal.
9. device as claimed in claim 7 is characterized in that, when said peripherals was telepilot, said instruction generation unit specifically comprised:
The key command sensing unit is used for removing signal according to the user through the USB memory device that removes the function button transmission on the telepilot, generates the instruction that removes of USB memory device;
Judging unit is used to obtain the number that there is the USB memory device that connects in USB port, and when USB port existence only during a USB memory device, generates the instruction that removes of said USB memory device;
Information display unit is used for when said judging unit judges that there is at least one USB memory device in USB port, exporting the information of all USB memory devices with the mode of tabulation; And
Instruction fetch unit is used for removing signal according to the user through the USB memory device that the direction button on the telepilot sends, generate appointment the USB memory device remove instruction.
10. a terminal device is characterized in that, said terminal device comprises each described device of claim 6 to 9.
CN201110226790.1A 2011-08-09 2011-08-09 Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices Expired - Fee Related CN102411554B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110226790.1A CN102411554B (en) 2011-08-09 2011-08-09 Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110226790.1A CN102411554B (en) 2011-08-09 2011-08-09 Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices

Publications (2)

Publication Number Publication Date
CN102411554A true CN102411554A (en) 2012-04-11
CN102411554B CN102411554B (en) 2015-04-29

Family

ID=45913633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110226790.1A Expired - Fee Related CN102411554B (en) 2011-08-09 2011-08-09 Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices

Country Status (1)

Country Link
CN (1) CN102411554B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436425A (en) * 2011-10-21 2012-05-02 珠海全志科技股份有限公司 Hot drawing method for removable storage device and implementation device
CN104503925A (en) * 2014-12-24 2015-04-08 乐视致新电子科技(天津)有限公司 Uninstalling method and device of storage equipment
CN104794081A (en) * 2013-10-10 2015-07-22 诺基亚公司 Connector interface pin mapping
CN105049937A (en) * 2015-08-17 2015-11-11 青岛海信电器股份有限公司 Method and device for unloading external storage equipment from Android system smart television
CN107221144A (en) * 2017-07-10 2017-09-29 台州市日昌晶灯饰有限公司 Usb device and control device
CN107656842A (en) * 2017-09-20 2018-02-02 惠州Tcl移动通信有限公司 A kind of SIM card hot plug method for testing performance, storage device and mobile terminal
CN107861839A (en) * 2017-10-18 2018-03-30 深圳市汉普电子技术开发有限公司 USB hot plug data anti-loss method, equipment and storage medium
CN109324990A (en) * 2018-09-21 2019-02-12 郑州云海信息技术有限公司 A kind of server and its PCIE device hot plug management system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400602A (en) * 2001-07-31 2003-03-05 台均实业有限公司 Portable readable and writable memory with USB interface and its data management method
CN1523512A (en) * 2003-02-19 2004-08-25 ���ǵ�����ʽ���� Apparatus and method for generating hot-plug signal
CN1639702A (en) * 2001-12-19 2005-07-13 英特尔公司 Hot plug interface control method and apparatus
CN1877550A (en) * 2006-01-13 2006-12-13 深圳创维-Rgb电子有限公司 Method for implementing real-time hot-plug of USB memory under TV embedded Linux system
CN101017451A (en) * 2006-12-05 2007-08-15 深圳创维-Rgb电子有限公司 Method and system for controlling insertion and extraction of USB on television
CN201594881U (en) * 2010-01-05 2010-09-29 青岛海信电器股份有限公司 Plug-in high-definition digital module and television pluggable to same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1400602A (en) * 2001-07-31 2003-03-05 台均实业有限公司 Portable readable and writable memory with USB interface and its data management method
CN1639702A (en) * 2001-12-19 2005-07-13 英特尔公司 Hot plug interface control method and apparatus
CN1523512A (en) * 2003-02-19 2004-08-25 ���ǵ�����ʽ���� Apparatus and method for generating hot-plug signal
CN1877550A (en) * 2006-01-13 2006-12-13 深圳创维-Rgb电子有限公司 Method for implementing real-time hot-plug of USB memory under TV embedded Linux system
CN101017451A (en) * 2006-12-05 2007-08-15 深圳创维-Rgb电子有限公司 Method and system for controlling insertion and extraction of USB on television
CN201594881U (en) * 2010-01-05 2010-09-29 青岛海信电器股份有限公司 Plug-in high-definition digital module and television pluggable to same

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436425A (en) * 2011-10-21 2012-05-02 珠海全志科技股份有限公司 Hot drawing method for removable storage device and implementation device
CN102436425B (en) * 2011-10-21 2015-04-22 珠海全志科技股份有限公司 Hot drawing method for removable storage device and implementation device
CN104794081A (en) * 2013-10-10 2015-07-22 诺基亚公司 Connector interface pin mapping
CN104794081B (en) * 2013-10-10 2018-11-27 诺基亚技术有限公司 Connector interface map pins
CN104503925A (en) * 2014-12-24 2015-04-08 乐视致新电子科技(天津)有限公司 Uninstalling method and device of storage equipment
CN105049937A (en) * 2015-08-17 2015-11-11 青岛海信电器股份有限公司 Method and device for unloading external storage equipment from Android system smart television
CN107221144A (en) * 2017-07-10 2017-09-29 台州市日昌晶灯饰有限公司 Usb device and control device
CN107656842A (en) * 2017-09-20 2018-02-02 惠州Tcl移动通信有限公司 A kind of SIM card hot plug method for testing performance, storage device and mobile terminal
CN107861839A (en) * 2017-10-18 2018-03-30 深圳市汉普电子技术开发有限公司 USB hot plug data anti-loss method, equipment and storage medium
CN109324990A (en) * 2018-09-21 2019-02-12 郑州云海信息技术有限公司 A kind of server and its PCIE device hot plug management system
CN109324990B (en) * 2018-09-21 2021-10-29 郑州云海信息技术有限公司 Server and PCIE equipment hot plug management system thereof

Also Published As

Publication number Publication date
CN102411554B (en) 2015-04-29

Similar Documents

Publication Publication Date Title
CN102411554A (en) Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices
CN101454762B (en) Plug and play peripheral storing driver
KR20120109027A (en) Method and apparatus for preventing a touch malfunction of a portable terminal
US20100017575A1 (en) Security system for external data storage apparatus and control method thereof
CN105229555A (en) The operation of mass-memory unit
JP2006301771A (en) Information processor and operation control method
US20150234771A1 (en) Docking station of portable electronic device and safe removing method thereof
CN100374974C (en) Method for implementing USB port screening control
CN110032473A (en) Data guard method, device, electronic equipment and system
US10013172B2 (en) Electronic data storage device with multiple configurable data storage mediums
CN103425428A (en) Touch input settings management
JP5516296B2 (en) Nonvolatile memory unit
US9423891B2 (en) Shared digitizer
US20150149677A1 (en) Hot plugging system and method
US20140372653A1 (en) Storage Device with Multiple Interfaces and Multiple Levels of Data Protection and Related Method Thereof
US8018433B2 (en) Information processing apparatus
CN111767261A (en) Debugging log output method and device, storage medium and electronic equipment
KR20030084037A (en) Method for securing a usb memory device and method for restricting use of a computer using the device
CN111193826A (en) Terminal protection method and device, storage medium and electronic equipment
CN103106371A (en) Method and device for protecting safety of data
US8566575B2 (en) Computer apparatus and method for charging portable electronic device using the computer apparatus
Guide AGPtek
US20090259793A1 (en) System and method for effectively implementing an erase mode for a memory device
CN202632270U (en) Hard disk data reading device based on universal serial bus (USB) 3.0
CN218122632U (en) Portable hard disk data erasing 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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150429