CN102411554B - 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
CN102411554B
CN102411554B CN201110226790.1A CN201110226790A CN102411554B CN 102411554 B CN102411554 B CN 102411554B CN 201110226790 A CN201110226790 A CN 201110226790A CN 102411554 B CN102411554 B CN 102411554B
Authority
CN
China
Prior art keywords
storage device
usb storage
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.)
Expired - Fee Related
Application number
CN201110226790.1A
Other languages
Chinese (zh)
Other versions
CN102411554A (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

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Storage Device Security (AREA)

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 storage device hot-plug method, device and terminal device
Technical field
The invention belongs to electronic technology field, particularly relate to a kind of USB storage device hot-plug method, device and terminal device.
Background technology
Hot plug, i.e. warm swap, warm connection function allows user in not shutoff operation system exactly, does not complete plug or the replacing of external electronic equipments when cutting system power supply, this function improves the convenience that user uses, and improves the extensibility of system and flexibility etc. simultaneously.But hot plug is while bringing convenience; also certain hidden danger is had to exist; long-term direct unlawful violence plug; without any programmed protection; greatly can increase the fault rate of equipment; also can bring hidden danger to operating system while damage equipment, certain this potential safety hazard is present in the terminal device such as intelligent television platform, computer equally.Unlawful violence plug operation frequently, when plugging because of the peak current of system generation or voltage, can cause hardware damage to USB storage device or interface; The loss of data that USB storage device inside has been deposited can be caused; The resistance to overturning of meeting influential system, and there is the possibility of burning the USB interface of terminal device.Although existing system provides mechanism and method that safety removes USB storage device, but operating process is numerous and diverse, for user, the user of such as television equipment, due to mouse and keyboard cannot be used as PC, user is beyond affordability to be removed the safety of USB storage device for needing the operation of more than at least 5 steps to complete, loaded down with trivial details operation can make user tend to select direct violence illegally to pull out USB storage device, has just comprised USB interface to operating system and user data and bring potential safety hazard so.
Known by above-mentioned analysis, existing USB storage device hot-plug method needs to carry out complicated loaded down with trivial details operation, cause that hot-plug method convenience is low, very flexible, and illegal sudden huge profits removing method easily causes damage to hardware device and data, and cannot ensure to store the safety of data and the stability of terminal device operating system.
Summary of the invention
The object of the embodiment of the present invention is to provide a kind of USB storage device hot-plug method, device and terminal device, be intended to solve because existing USB storage device hot-plug method operating process complexity is loaded down with trivial details, and there are illegal sudden huge profits and remove behavior, cause that hot-plug method convenience is low, very flexible, hardware device and data fragile, and the problem storing the safety of data and the stability of terminal device operating system cannot be ensured.
The embodiment of the present invention is achieved in that a kind of USB storage device hot-plug method, and described method comprises the steps:
Main equipment receives and removes signal from the USB storage device of ancillary equipment, and what generate the USB storage device that described signal specifies removes instruction;
Main equipment perform described USB storage device of specifying remove instruction.
Another object of the embodiment of the present invention is to provide a kind of USB to store hot plug apparatus for removing, and described device comprises:
Signal receiving unit, removes signal for the USB storage device received from ancillary equipment;
Instruction generation unit, removes instruction for what generate the signal USB storage device of specifying that described signal receiving unit exports; And
Instruction execution unit, removes instruction for what perform described USB storage device of specifying.
Another object of the embodiment of the present invention is to provide a kind of terminal device comprising above-mentioned USB storage device hot plug device.
The USB storage device that the embodiment of the present invention is received from ancillary equipment by main equipment removes signal, what generate the USB storage device that this signal specifies removes instruction, and perform this USB storage device of specifying remove instruction, solve because existing USB storage device hot-plug method operating process complexity is loaded down with trivial details, and there are illegal sudden huge profits and remove behavior, cause hot-plug method convenience low, very flexible, hardware device and data fragile, and the problem storing the safety of data and the stability of terminal device operating system cannot be ensured, make USB storage device hot-plug method convenient, flexibly, decrease hardware device and corrupted data probability, and improve the storage safety of data and the stability of terminal device operating system.
Accompanying drawing explanation
Fig. 1 is the flow chart that a kind of USB storage device hot-plug method first of the present invention embodiment provides;
Fig. 2 is the flow chart that a kind of USB storage device hot-plug method second of the present invention embodiment provides;
Fig. 3 is the flow chart that a kind of USB storage device hot-plug method the 3rd of the present invention embodiment provides;
Fig. 4 is the structure chart that a kind of USB storage device hot plug device the 4th of the present invention embodiment provides;
Fig. 5 is the structure chart of the instruction generation unit that a kind of USB storage device hot plug device the 4th of the present invention embodiment provides.
Detailed description of the invention
In order to make object of the present invention, technical scheme and advantage clearly understand, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
The USB storage device that the embodiment of the present invention is received from ancillary equipment by main equipment removes signal, what generate the USB storage device that this signal specifies removes instruction, and perform this USB storage device of specifying remove instruction, make USB storage device hot-plug method more convenient and flexible, decrease hardware device and corrupted data probability, and improve the storage safety of data and the stability of terminal device operating system.
Embodiments provide a kind of USB storage device hot-plug method, described method comprises the steps:
Main equipment receives and removes signal from the USB storage device of ancillary equipment, and what generate the USB storage device that described signal specifies removes instruction;
Main equipment perform described USB storage device of specifying remove instruction.
The embodiment of the present invention additionally provides a kind of USB storage device hot plug device, and described device comprises:
Signal receiving unit, removes signal for the USB storage device received from ancillary equipment;
Instruction generation unit, removes instruction for what generate the signal USB storage device of specifying that described signal receiving unit exports; And
Instruction execution unit, removes instruction for what perform described USB storage device of specifying.
The embodiment of the present invention additionally provides a kind of terminal device comprising above-mentioned USB storage device hot plug device.
The USB storage device that the embodiment of the present invention is received from ancillary equipment by main equipment removes signal, what generate the USB storage device that this signal specifies removes instruction, and perform this USB storage device of specifying remove instruction, solve because existing USB storage device hot-plug method operating process complexity is loaded down with trivial details, and there are illegal sudden huge profits and remove behavior, cause hot-plug method convenience low, very flexible, hardware device and data fragile, and the problem storing the safety of data and the stability of terminal device operating system cannot be ensured, make USB storage device hot-plug method convenient, flexibly, decrease hardware device and corrupted data probability, and improve the storage safety of data and the stability of terminal device operating system.
Below in conjunction with specific embodiment, specific implementation of the present invention is described in detail:
embodiment one:
Fig. 1 shows the realization flow of the USB storage device hot-plug method that first embodiment of the invention provides, and details are as follows:
In step S101, main equipment receives and removes information from the USB storage device of ancillary equipment, and what generate the USB storage device that this signal specifies removes instruction.
Wherein, this ancillary equipment is photoinduction hole or remote controller, when this ancillary equipment is photoinduction hole, also comprised before step S101: when detecting that the light entering this photoinduction hole is covered, main equipment generates the USB storage device corresponding with this photoinduction hole and removes signal, be described as follows described in embodiment two, in addition, also can should be that user remove signal by the USB storage device removing function button transmission on remote controller from the signal that removes of the USB storage device of ancillary equipment, be described as follows described in embodiment three.
In specific implementation process, when this USB storage device from ancillary equipment to remove signal be user by remote controller remove USB storage device that function button sends remove signal time, this step S101 specifically comprises the following steps:
Main equipment removes signal according to user by the USB storage device removing function button transmission on remote controller, and what generate USB storage device removes instruction;
Judge whether USB port exists USB storage device, when there is not USB storage device, main equipment does not do any response; When there is USB storage device, and when the number of this USB storage device is only one, what main equipment generated this USB storage device removes instruction;
When the number of this USB storage device is more than one, main equipment exports the information of all USB storage device in the mode of list;
The USB storage device that main equipment is sent by the direction key on remote controller according to user removes signal, and what generate the USB storage device of specifying removes instruction.
In step s 102, what main equipment performed this USB storage device of specifying removes instruction.
Before step S102, when this USB storage device of specifying is not when doing data read-write operation, what main equipment can perform this USB storage device of specifying safely removes instruction; When this USB storage device of specifying is when doing data read-write operation, in order to avoid the file system data of this memory device is inconsistent, cause file system to be destroyed, main equipment, before execution removes this memory device instruction, needs to carry out write back operations to data.
After step s 102, the hot-plug method of this USB storage device also comprises the information that main equipment display can pull out safely the USB storage device that this is specified, this USB storage device can be directly pulled out with reminding user, particularly, when this main equipment is television set, this USB storage device is connected with television set by USB interface, or the modes such as little prompting frame can be ejected point out user can extract USB storage device by voice, flash of light, even if under being then in the state of watching TV user, the picture interrupting current viewing TV also can be avoided.
In embodiments of the present invention, this USB storage device hot-plug method removes signal by main equipment according to the USB storage device from outside, generate the USB storage device that this signal specifies and remove instruction, when judgement USB port exists this USB storage device of specifying, and this USB storage device of specifying is when doing data read-write operation, write back operations is carried out to the storage data in this USB storage device, and then this USB storage device of specifying of removing command can be removed according to this, achieve when user needs to remove USB storage device, do not need as the hot-plug method of existing USB storage device, need user to carry out complicated loaded down with trivial details operation, decrease illegal sudden huge profits and remove behavior, improve the convenience of hot-plug method, flexibility, reduce
The probability that the damage caused hardware device and data occurs, and improve and store the safety of data and the stability of terminal device operating system.
embodiment two:
Fig. 2 shows the realization flow of the USB storage device hot-plug method that second embodiment of the invention provides, in embodiments of the present invention, with this ancillary equipment for photoinduction hole, this main equipment is television set, and this USB storage device to be connected with television set for example illustrates the realization flow of this USB storage device hot-plug method by USB interface, details are as follows:
In step s 201, when the light entering photoinduction hole is covered, television set generates the USB storage device corresponding with this photoinduction hole and removes signal.
In specific implementation process, corresponding photoinduction hole can be set near each USB port of television set, when user needs to remove USB storage device, the light entering photoinduction hole corresponding to this USB storage device is blocked with hand or other objects, photoinduction module corresponding to this photoinduction hole then sends the USB storage device corresponding with this photoinduction hole site to system for TV set and removes signal, particularly, block the light entering this photoinduction hole for convenience, or prevent from blocking photoinduction hole corresponding to other USB storage device not needing to remove by mistake, within the position in photoinduction hole being arranged on user's nature gesture, between each photoinduction hole site, certain distance is set, in addition, before the generation USB storage device corresponding with this photoinduction hole removes signal, need to keep covering this photoinduction hole within the time of presetting, such as, 1 ~ 2 second, remove or unloading operation with completion system response.
In step S202, remove signal according to this, what television set generated the USB storage device that this signal specifies removes instruction.
Wherein, the instruction that removes of the USB storage device that this signal is specified is the USB storage device corresponding with this photoinduction hole, and particularly, television set can remove signal according to this, and what generate the USB storage device that this signal specifies removes instruction.
In step S203, television set judges whether current USB port has USB storage device, no, then perform step S204, do not respond; Then perform step S205.
In step S205, judge whether this USB storage device is doing data read-write operation, no, then perform step S207, what television set performed this USB storage device removes instruction; Then perform step S206.
In step S206, television set carries out write back operations to the data in this USB storage device.
In step S207, what television set performed this USB storage device removes instruction.
In embodiments of the present invention, when the USB port of television set does not exist the USB storage device of connection, then what do not respond this USB storage device removes instruction, also can show the information that there is not any USB storage device, with reminding user; When there is the USB storage device connected in the USB port of television set, then judge whether system for TV set does data read-write operation to this USB storage device further, if this USB storage device is not when doing data read-write operation, what then television set directly can perform this USB storage device removes instruction, thus completes system for TV set to the unloading of equipment or remove operation.But, when judging that system for TV set does data read-write operation to this USB storage device, needing to carry out write back operations to data, to avoid the file system data of this memory device inconsistent, causing the problem that file system is destroyed.
In specific implementation process, after execution of step S207, television set can also show the information can pulling out safely the USB storage device that this is specified, this USB storage device can be directly pulled out with reminding user, particularly, can according to judging the duty that television set is current, export corresponding information, such as, when user be in watch television image or television set be in ATV/DTV play mode, voice can be passed through, the modes such as flash of light point out user can extract USB storage device, to avoid the picture interrupting current viewing TV, and when television set is in main interface model or non-screen play mode, then can inform that user can pull out safely this USB storage device by the mode ejecting prompting frame.
In embodiments of the present invention, for the particularity of operation removing the USB storage device be connected with television set, send USB storage device remove instruction by arranging the mode covering the light entering photoinduction hole, complete system for TV set further and operation is removed to USB storage device, make the operation of USB storage device removing method more quick, convenient, USB storage device to remove operation more friendly, and by judging whether TV machine USB port has USB storage device and this USB storage device whether doing the step of data read-write operation, maloperation can be prevented, improve the degree of accuracy removing USB storage device.
embodiment three:
Fig. 3 shows the realization flow of the USB storage device hot-plug method that third embodiment of the invention provides, in embodiments of the present invention, this ancillary equipment is remote controller, this main equipment is television set, and this USB storage device to be connected with television set for example illustrates the realization flow of this USB storage device hot-plug method by USB interface, details are as follows:
In step S301, television set removes signal according to user by the USB storage device removing function button transmission on remote controller, and what generate USB storage device removes instruction.
In specific implementation process, TV remote controller is provided with USB storage device and removes function button safely, signal is removed for sending USB storage device by infrared ray to television set, and in television set bottom layer driving module, be provided with detection module, detect the remote controller key signal that receives be USB storage device remove signal time, what export this USB storage device to system for TV set removes instruction.
In step s 302, television set judges whether USB port exists USB storage device, no, then perform step S303, do not respond; Then perform step S304.
In embodiments of the present invention, when the USB port of television set does not exist the USB storage device of connection, then what do not respond this USB storage device removes instruction, also can show the information that there is not any USB storage device, with reminding user.
In step s 304, judge that whether the number of this USB storage device is more than one, is, then perform step S305, what generate this USB storage device removes instruction, and goes to execution step S307; No, then perform step S306.
In step S306, television set exports the information of all USB storage device in the mode of list, and removes signal according to the USB storage device that user is sent by the direction key on remote controller, and what generate the USB storage device of specifying removes instruction.
When the USB port of television set exists the USB storage device connected, and the number of this USB storage device more than one time, then television set exports the information of all USB storage device in the mode of list, the information of this USB storage device can be the device id registered during this USB storage device access system for TV set number, device name etc., and the arrangement mode of this table can be the mode sorted title or time etc.Further, the direction key in user remote controller selects the USB storage device needing to remove, and after acknowledgement key, what send the USB storage device of specifying of this selection removes instruction, by cancel key, then cancels and this time removes operation.
In step S306, television set judges whether this USB storage device is doing data read-write operation, no, then perform step S307, and what television set performed this USB storage device removes instruction; Then perform step S308.
In step S308, television set carries out write back operations to the data in this USB storage device, and performs step S309, and what television set performed this USB storage device removes instruction.
Wherein, judging this USB storage device not when doing data read-write operation, then what television set directly can perform this USB storage device removes instruction, thus completes system for TV set to the unloading of equipment or remove operation.But, when judging that system for TV set does data read-write operation to this USB storage device, need to carry out write back operations to data, to avoid the file system data of this memory device inconsistent, cause the problem that file system is destroyed, the system that completes further is to the unloading of equipment or remove operation
In specific implementation process, after execution of step S309, television set can also show the information can pulling out safely the USB storage device that this is specified, this USB storage device can be directly pulled out with reminding user, particularly, can according to judging the duty that television set is current, export corresponding information, such as, when user be in watch television image or television set be in ATV/DTV play mode, voice can be passed through, the modes such as flash of light point out user can extract USB storage device, to avoid the picture interrupting current viewing TV, and when television set is in main interface model or non-screen play mode, then can inform that user can pull out safely this USB storage device by the mode ejecting prompting frame, now, user can pull out safely this USB storage device.
In embodiments of the present invention, function button is removed safely by using the USB storage device on TV remote controller, direction key, confirm and cancel button etc., can realize quick, remove USB storage device easily, user is avoided to cause equipment impaired because USB storage device is pulled out in illegal sudden huge profits, the appearance of the problems such as loss of data, and pass through the USB storage device hot plug mode of the embodiment of the present invention, proper use of USB device can be guided, reduce the probability that equipment fault occurs, protect television set and USB storage device simultaneously, extend the service life etc. of this equipment.
One of ordinary skill in the art will appreciate that all or part of step realized in above-described embodiment method is that the hardware that can carry out instruction relevant by program has come, described program can be stored in a computer read/write memory medium, described storage medium, as ROM/RAM, disk, CD etc.
embodiment four:
Fig. 4 shows the structure of the USB storage device hot plug device that fourth embodiment of the invention provides, and for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.
This USB storage device hot plug device may be used for television set, or there is the other-end equipment of USB interface, such as, in computer, PAD etc., can be run on the software unit in these terminal devices, also can be integrated in these terminal devices as independently suspension member or run in the application system of these terminal devices, this USB storage device hot plug device comprises signal receiving unit 41, instruction generation unit 42 and instruction execution unit 43, wherein:
Signal receiving unit 41, removes signal for the USB storage device received from ancillary equipment.
Instruction generation unit 42, for generate this signal receiving unit 41 export signal specified by USB storage device remove instruction.
Wherein, the ancillary equipment in this signal receiving unit 41 is photoinduction hole or remote controller, and when this ancillary equipment is photoinduction hole, this USB storage device hot plug device also comprises:
Checkout gear, for when detecting that the light entering this photoinduction hole is covered, generating USB storage device and removing signal.
Also can should be that user remove signal by the USB storage device removing function button transmission on remote controller from the signal that removes of the USB storage device of ancillary equipment, now, 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, for removing signal according to user by the USB storage device removing function button transmission on remote controller, what generate USB storage device removes instruction;
, there is for obtaining USB port the number of USB storage device connected in judging unit 422, and when USB port existence only a USB storage device time, what generate this USB storage device removes instruction;
Information display unit 423, for when this judging unit 422 judges that USB port exists at least one USB storage device, exports the information of all USB storage device in the mode of list; And
Instruction fetch unit 424, removes signal for the USB storage device sent by the direction key on remote controller according to user, and what generate the USB storage device of specifying removes instruction.
Particularly, when this USB storage device of specifying is not when doing data read-write operation, what directly can perform this USB storage device of specifying removes instruction; When this USB storage device of specifying is when doing data read-write operation, in order to avoid the file system data of this memory device is inconsistent, causing file system to be destroyed, before removing this memory device, needing to carry out write back operations to data.
Instruction execution unit 43, removes instruction for what perform this USB storage device of specifying.
This USB storage device hot plug device also comprises prompt signal display device, for showing the information can pulling out safely the USB storage device that this is specified, can directly pull out this USB storage device with reminding user.Particularly, when this USB storage device is connected with terminal device by USB interface, or the modes such as little prompting frame can be ejected point out user can extract USB storage device by voice, flash of light, even if under being then in the state of watching TV user, the picture interrupting current viewing TV also can be avoided.
In embodiments of the present invention, this USB storage device hot plug device comprises the signal receiving unit 41 removing signal for the USB storage device received from ancillary equipment, the instruction generation unit 42 removing instruction of the USB storage device that the signal exported for generating this signal receiving unit 41 is specified, and for performing the instruction execution unit 43 removing instruction of this USB storage device of specifying, achieve when user needs to remove USB storage device, do not need as existing USB storage device hot-plug method, need user to carry out complicated loaded down with trivial details operation, decrease illegal sudden huge profits and remove behavior, improve the convenience of hot-plug method, flexibility, and decrease the damage probability of hardware device and data, and improve the storage safety of data and the stability of terminal device operating system.
The USB storage device that the embodiment of the present invention is received from ancillary equipment by main equipment removes signal, what generate the USB storage device that this signal specifies removes instruction, and perform this USB storage device of specifying remove instruction, solve because existing USB storage device hot-plug method operating process complexity is loaded down with trivial details, and there are illegal sudden huge profits and remove behavior, cause hot-plug method convenience low, very flexible, hardware device and data fragile, and the problem storing the safety of data and the stability of terminal device operating system cannot be ensured, improve the convenient property of USB storage device hot-plug method, flexibility, decrease the damage probability of hardware device and data, and improve the storage safety of data and the stability of terminal device operating system.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.

Claims (6)

1. a USB storage device hot-plug method, is characterized in that, described method comprises the steps:
Television set receives and removes signal from the USB storage device of ancillary equipment, and what generate the USB storage device that described signal specifies removes instruction, and described ancillary equipment is photoinduction hole or remote controller;
Television set perform described USB storage device of specifying remove instruction;
When described ancillary equipment is photoinduction hole, the step that the described television set USB storage device received from ancillary equipment removes signal is specially:
When detecting that the light entering described photoinduction hole is covered, the described USB storage device corresponding with this photoinduction hole site that television set receives photoinduction module transmission corresponding to described photoinduction hole removes signal;
Described television set perform described USB storage device of specifying remove the step of instruction before, further comprising the steps of:
When described USB storage device of specifying is when doing data read-write operation, television set carries out write back operations to data.
2. the method for claim 1, is characterized in that, when described ancillary equipment is remote controller, the signal that removes of the described USB storage device from ancillary equipment is that user removes signal by the USB storage device removing function button transmission on remote controller.
3. method as claimed in claim 2, is characterized in that, the USB storage device that described television set receives from ancillary equipment removes signal, and the step removing instruction generating the USB storage device that described signal is specified is specially:
Television set removes signal according to user by the USB storage device removing function button transmission on remote controller, and what generate USB storage device removes instruction;
When USB port exists USB storage device, and when the number of described USB storage device is only one, what television set generated described USB storage device removes instruction;
When the number of described USB storage device is more than one, television set exports the information of all USB storage device in the mode of list;
The USB storage device that television set is sent by the direction key on remote controller according to user removes signal, and what generate the USB storage device of specifying removes instruction.
4. a USB storage device hot plug device, is characterized in that, is applied to television set, and described device comprises:
Signal receiving unit, removes signal for the USB storage device received from ancillary equipment, and described ancillary equipment is photoinduction hole or remote controller;
Instruction generation unit, removing instruction for what generate the signal USB storage device of specifying that described signal receiving unit exports, when described USB storage device of specifying is when doing data read-write operation, carrying out write back operations to data; And
Instruction execution unit, removes instruction for what perform described USB storage device of specifying;
When described ancillary equipment is photoinduction hole, described signal receiving unit is concrete, for when detecting that the light entering described photoinduction hole is covered, the described USB storage device corresponding with this photoinduction hole site receiving photoinduction module transmission corresponding to described photoinduction hole removes signal.
5. device as claimed in claim 4, it is characterized in that, when described ancillary equipment is remote controller, described instruction generation unit specifically comprises:
Key command sensing unit, for removing signal according to user by the USB storage device removing function button transmission on remote controller, what generate USB storage device removes instruction;
, there is for obtaining USB port the number of USB storage device connected in judging unit, and when USB port existence only a USB storage device time, what generate described USB storage device removes instruction;
Information display unit, for when described judging unit judges that USB port exists at least one USB storage device, exports the information of all USB storage device in the mode of list; And
Instruction fetch unit, removes signal for the USB storage device sent by the direction key on remote controller according to user, and what generate the USB storage device of specifying removes instruction.
6. a terminal device, is characterized in that, described terminal device comprises the device described in any one of claim 4 to 5.
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 CN102411554A (en) 2012-04-11
CN102411554B true 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)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102436425B (en) * 2011-10-21 2015-04-22 珠海全志科技股份有限公司 Hot drawing method for removable storage device and implementation device
US9612991B2 (en) * 2013-10-10 2017-04-04 Nokia Technologies Oy Connector interface pin mapping
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
CN109324990B (en) * 2018-09-21 2021-10-29 郑州云海信息技术有限公司 Server and PCIE equipment hot plug management system thereof

Citations (5)

* 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
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7673090B2 (en) * 2001-12-19 2010-03-02 Intel Corporation Hot plug interface control method and apparatus

Patent Citations (5)

* 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
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

Also Published As

Publication number Publication date
CN102411554A (en) 2012-04-11

Similar Documents

Publication Publication Date Title
CN102411554B (en) Hot-plugging method, apparatus and terminal device for USB (universal serial bus) storage devices
CN112463689B (en) OCP card hot plug device, method and computer readable storage medium
CN103294336A (en) Automatic magnification and selection confirmation
WO2008044837A1 (en) Security system for external data storage apparatus and control method thereof
CN102171653A (en) A removable data storage device comprising a user input device
CN102385671A (en) Method and system for encrypting software
CN102982293A (en) Delivering secured media using a portable memory device
CN106786960A (en) Charge control method, device and terminal
WO2014049686A1 (en) Hdmi device, communication system, and hot-plug control method
CN114624635B (en) Plug detection system and method of VGA display interface and electronic equipment
CN102236378A (en) Method of monitoring connection status of an electronic device and related electronic device
CN110020528A (en) A kind of BMC starting method, apparatus and electronic equipment and storage medium
CN106648857A (en) Method for starting OTG function of mobile terminal and mobile terminal
CN105049937A (en) Method and device for unloading external storage equipment from Android system smart television
CN103425428A (en) Touch input settings management
CN104780360A (en) Set top box debugging method and set top box debugging system
CN110703869A (en) Method and system for controlling plug-pull of NVMe hard disk and related components
CN114595178A (en) External protection equipment and method for protecting HID (human interface device) keyboard and mouse equipment
US20150149677A1 (en) Hot plugging system and method
CN106598487A (en) Data destruction method and device
CN105654003A (en) IC card in-place detection method and IC card in-place detection device
CN103106371A (en) Method and device for protecting safety of data
CN104932908B (en) Brush machine method and system
CN103902395B (en) The control method and electric terminal of information input
CN203039796U (en) Device for unloading hard disk of hard-disk-based digital video recorder in electrified state and hard-disk-based digital video recorder

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