CN102662882A - Method and device for unloading mobile storage equipment - Google Patents

Method and device for unloading mobile storage equipment Download PDF

Info

Publication number
CN102662882A
CN102662882A CN2012100900773A CN201210090077A CN102662882A CN 102662882 A CN102662882 A CN 102662882A CN 2012100900773 A CN2012100900773 A CN 2012100900773A CN 201210090077 A CN201210090077 A CN 201210090077A CN 102662882 A CN102662882 A CN 102662882A
Authority
CN
China
Prior art keywords
storage device
movable storage
unloading
taking
takies
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
CN2012100900773A
Other languages
Chinese (zh)
Other versions
CN102662882B (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.)
Beijing Qizhi Business Consulting Co ltd
Beijing Qihoo Technology Co Ltd
360 Digital Security Technology Group Co Ltd
Original Assignee
Qizhi Software Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qizhi Software Beijing Co Ltd filed Critical Qizhi Software Beijing Co Ltd
Priority to CN201210090077.3A priority Critical patent/CN102662882B/en
Publication of CN102662882A publication Critical patent/CN102662882A/en
Application granted granted Critical
Publication of CN102662882B publication Critical patent/CN102662882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a device for unloading mobile storage equipment. The method comprises the steps of: after detecting the access of the mobile storage equipment, establishing a management inlet of the mobile storage equipment; when the management inlet receives the request for unloading the mobile storage equipment, if the mobile storage equipment is occupied by a progress, querying the information of the progress occupying the mobile storage equipment from a driving program operating in an inner core layer; and after relieving the occupation of the progress to the mobile storage equipment according to the queried progress information, executing unloading operation on the mobile storage equipment. According to the invention, on the occasions that the mobile storage equipment cannot be normally and safely ejected due to being occupied by the progress, a solution for effectively unloading the mobile storage equipment is provided.

Description

The method and the device of unloading movable storage device
Technical field
The present invention relates to field of computer technology, particularly relate to the method and the device that unload movable storage device.
Background technology
Movable storage device is meant the memory device that can between different terminals, move, and comprises USB flash disk, portable hard drive or the like, people often use movable storage device carry out file backup, carry and shift.Some movable storage devices have USB (Universal Serial BUS; USB) interface; When needs carry out data write to this movable storage device; Need it be connected on the computing machine through USB, and after finishing using, need program according to the rules that it could be extracted from USB after the computing machine unloading.For example; Usually need the user to click the button that is shown as " safe deleting hardware " in the taskbar lower right corner; After ejecting " safety deletion USB Mass Storage Device-driver " prompting; Click and to point out, after " safe deleting hardware " button disappears by the time, can movable storage device be extracted from USB.
But in practical application, run into following situation through regular meeting: when the small icon of clicking safe deleting hardware from taskbar is come safety deletion movable storage device, system's bullet warning " can't stop now ' general use volume ' equipment, please wait a moment stops this equipment again ".This situation generally causes owing to there being process taking movable storage device; At this moment; As long as the user manually will take the process of movable storage device and close, click the next safety deletion of the small icon movable storage device of safe deleting hardware afterwards once more from taskbar, generally can be successful.But; Often have following problem again: the process of current operation has a plurality of; If the user can't judge which process wherein and take movable storage device, then can only all processes of current operation all be closed, but obviously can influence the normal operation of other processes.Perhaps, common user possibly only can come the end process through the mode of rev down process rev window, but some process does not have window; At this moment, if this exactly process has taken movable storage device, then want the end process; The end process in the affair manager of can only no longer holding the post; But the process list of listing in the task manager is stranger for most of users, therefore, has increased user's operation easier more; In case the user has carried out maloperation, then also possibly influence the normal operation of total system.
In a word, press for the technical matters that those skilled in the art solve and just be: how take and normally under the situation of safety ejection, the solution of effective unloading movable storage device is provided at movable storage device because by process.
Summary of the invention
The invention provides the method and the device of unloading movable storage device, can under the movable storage device situation that normally safety ejects owing to being taken by process, the solution of effective unloading movable storage device be provided.
The invention provides following scheme:
A kind of method that unloads movable storage device comprises:
After detecting the movable storage device access, create the administration portal of said movable storage device;
When receiving the request of the said movable storage device of unloading through said administration portal,, then taking the progress information of said movable storage device to the driver inquiry that operates in inner nuclear layer if there is process taking said movable storage device;
To after the taking of said movable storage device, said movable storage device is carried out unloading operation in the process of removing according to the said progress information that inquires.
Wherein, said in the process of removing according to the said progress information that inquires to after the taking of said movable storage device, said movable storage device is carried out unloading operation comprises:
The progress information that takies said movable storage device is prompted to the user,, initiates the request of the said movable storage device of unloading again so that the user removes process to after the taking of said movable storage device according to information;
When receiving the request of the said movable storage device of unloading again, with said movable storage device unloading.
Wherein, said in the process of removing according to the said progress information that inquires to after the taking of said movable storage device, said movable storage device is carried out unloading operation comprises:
Send message to the said process that takies movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device;
When the said process that takies movable storage device is removed after the taking of said movable storage device, with said movable storage device unloading.
Wherein, said to the said process transmission message that takies movable storage device, so that the said process that takies movable storage device is removed taking of said movable storage device comprised:
To the said message that takies the process transmission end process of movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device.
Wherein, said in the process of removing according to the said progress information that inquires to after the taking of said movable storage device, said movable storage device is carried out unloading operation comprises:
By said driver the handle that process takies movable storage device is closed, so that releasing process taking said movable storage device;
The releasing process is to after the taking of said movable storage device, with said movable storage device unloading.
A kind of device that unloads movable storage device comprises:
Administration portal provides the unit, after being used to detect movable storage device and inserting, creates the administration portal of said movable storage device;
The kernel query unit; Be used for when receiving the request of the said movable storage device of unloading through said administration portal; If there is process taking said movable storage device, then taking the progress information of said movable storage device to the driver inquiry that operates in inner nuclear layer;
Unloading unit is used in the process of removing according to the said progress information that inquires to after the taking of said movable storage device said movable storage device being carried out unloading operation.
Wherein, said unloading unit comprises:
The prompting subelement is used for the progress information that takies said movable storage device is prompted to the user, so that the user removes process to after the taking of said movable storage device according to information, initiates the request of the said movable storage device of unloading again;
The first unloading subelement is used for when receiving the request of the said movable storage device of unloading again, with said movable storage device unloading.
Wherein, said unloading unit comprises:
Message is sent subelement, is used for sending message to the said process that takies movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device;
The second unloading subelement is used for removing after the taking of said movable storage device, with said movable storage device unloading when the said process that takies movable storage device.
Wherein, said message transmission subelement comprises:
Finish process message and send subelement, be used for sending the message of end process, so that the said process that takies movable storage device is removed taking said movable storage device to the said process that takies movable storage device.
Wherein, said unloading unit comprises:
Handle is closed subelement, is used for by said driver the handle that process takies movable storage device being closed, so that releasing process taking said movable storage device;
The 3rd unloading subelement is used for the releasing process to after the taking of said movable storage device, with said movable storage device unloading.
According to specific embodiment provided by the invention, the invention discloses following technique effect:
Through the present invention; Under the movable storage device situation that normally safety ejects owing to being taken by process; Can inquire what take movable storage device through the driver that operates in inner nuclear layer is which or which process; And then can carry out unloading operation to movable storage device in the releasing process to after the taking of movable storage device.It is thus clear that, owing to taken and can't normal safe At time of eject, do not need the user to go manually to search the process that takies movable storage device at movable storage device by process, just can accomplish the associative operation that take of releasing process to movable storage device.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art; To do to introduce simply to the accompanying drawing of required use among the embodiment below; Obviously, the accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills; Under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the process flow diagram of the method that provides of the embodiment of the invention;
Fig. 2 is the schematic representation of apparatus that the embodiment of the invention provides.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those of ordinary skills obtained belongs to the scope that the present invention protects.
Described computing machine is meant the main frame that the operating system of supporting the access peripheral storage device is housed; The operating system that said main frame is adorned comprises Unix, Linux, Windows 98, Windows 2000; The subsequent operation system of Windows me, Window XP and Microsoft company, described main frame includes but not limited to that various personal desktop computer, notebook, handheld computer, small-size computer are with, data processing work station and hand-held personal data treating apparatus.
Said movable storage device can comprise data storage devices such as the flash disk of supporting plug and play on computers, portable hard drive.
The interface of said movable storage device includes but not limited to USB, CF, SM, MMC, SD, MS, MD, X-D, pcmcia interface; Can also comprise that IEEE1394, serial ATA, IDE/SCSI and HiperLAN, bluetooth, IrDA are infrared, HomeRF, IEEE802.11x, IEEE802.11a, 802.11b, 802.11d, 802.11.g, 802.15,802.16,802.3, RS232, RS485, USB_OTG, UWB, GPIO, UART interface, and in GSM, GPRS, CDMA, 2.75G, 3G interface and the parallel interface one or more.For method of the present invention clearly is described, present embodiment is that the movable storage device of USB is that example describes with Flash as storage medium interface.
Referring to Fig. 1, the method for the ejection movable storage device that the embodiment of the invention provides may further comprise the steps:
S101: after detecting the movable storage device access, create the administration portal of said movable storage device;
At first need to prove,
In embodiments of the present invention; The client-side program that is equivalent to for the user management movable storage device is provided is (for ease of describing; In the embodiment of the invention this client-side program become " external unit guard process "), the user can manage the movable storage device that is inserted on the computer through this program.During concrete the realization; Client-side program in the embodiment of the invention is after finding have movable storage device to insert; The administration portal (for example, can be the icon etc. in desktop or the toolbar) of movable storage device can be provided for the user, the user can through this administration portal check movable storage device remaining space, open attribute or the like; In addition; Interfaces such as " safety eject movable storage device " can also be provided in Administration menu, when the user need unload movable storage device, just can select to click this option.
Concrete, the administration portal of movable storage device can be provided for the user on the table, for example,
Clisid represents object, CLSID set up a CLSID key and be used for managing movable storage device, can set up sub-key DefaultIcon under it corresponding icon is set.
If let CLISID show desktop icons, can under NameSpace, set up a sub-key, title is to be exactly this CLSID.
Generate icon at active user's desktop: Software Explorer.
Generate icon at all user's desktops: SOFTWARE Explorer, thereby the administration portal of movable storage device is provided for the user.
When concrete the realization; When movable storage device inserts a computer; Operating system can be found this movable storage device at first, and under traditional mode, operating system can be given tacit consent at the interface that provides an ejection; And can generate drive for movable storage device, in " my computer " interface, provide the icon of this movable storage device then.But in embodiments of the present invention, be to realize management to movable storage device through an external unit guard process, therefore, can be different on the mechanism that realizes with traditional mode.Concrete, because operating system can be broadcasted a system message (WM_DEVICECHANGE) after finding that a movable storage device inserts, therefore, the external unit guard process can be found the access of movable storage device through listening to this broadcast.Just can carry out the operation that generates administration portal then.Specifically when generating administration portal, what can also at first judge access specifically is the movable storage device type, for example is USB flash disk or portable hard drive or the like; To different movable storage device types, (for example, USB flash disk is blue icon to generate different icons then; Portable hard drive is green icon or the like), that is to say, if the user inserts a USB flash disk and a portable hard drive simultaneously in computer; Behind the icon in right-click desktop or the taskbar; Can list the selection of USB flash disk and portable hard drive in the menu that ejects successively, when needs unloading USB flash disk/portable hard drive, can carry out accordingly through the corresponding administration portal of the option of this USB flash disk/portable hard drive and operate.In addition, the user is at needs.Open movable storage device when the user need carry out through this administration portal, or when checking operation such as movable storage device remaining space, the external unit guard process can also provide corresponding response.
Wherein, No matter be the type of obtaining movable storage device; Still obtain the remaining space of movable storage device, the information such as file that comprise, the external unit guard process can realize inquiring about the relevant information of movable storage device through the api function of operating system.For example, in Windows NT/2000/XP system, application program can realize the visit to equipment through api function DeviceIoControl, comprises the information of obtaining, sends order, swap data etc.Utilize this interface function to send correct control code and data, analyze its response then, just can reach corresponding target to the appointed equipment driver.During concrete the realization, can know through WMDeviceChange message and insert USB flash disk, obtain movable storage device, obtain movable storage device corresponding drive in system.Wherein, when wParam==DBT_DEVICEARRIVAL, lParam is a pointer that points to the DEV_BROADCAST_VOLUME structure; Dbcv_unitmask in the structure representes drive; Then, can open equipment with drive, can taking equipment information with DeviceIoControl.Wherein, The function prototype of DeviceIoControl is BOOLDeviceIoControl (HANDLE hDevice; // equipment handle DWORD dwIoControlCode, // control code LPVOID lpInBuffer, // input data buffer pointer DWORD nInBufferSize; // input data buffer length LPVOID lpOutBuffer; // data output buffer district pointer DWORD nOutBufferSize, // data output buffer section length LPDWORD lpBytesReturned, // output data physical length element length LPOVERLAPPED lpOverlapped//overlapping processing structured fingers).Wherein, the equipment handle is used for identifying the equipment of being visited.
S102: when receiving the request of the said movable storage device of unloading through said administration portal; If there is process taking said movable storage device, then taking the progress information of said movable storage device to the driver inquiry that operates in inner nuclear layer;
If the user unloads movable storage device through the external unit guard process for its mobile storage device management that provides enters the mouth; The user can select " safety ejects movable storage device " in the management interface menu); Then the external unit guard process can learn that the user wants to unload movable storage device; At this moment, the external unit guard process can judge currently whether have process just taking this movable storage device through the api function that system provides.If have, then can take the progress information of movable storage device to the driver inquiry that operates in inner nuclear layer, also promptly, inquiring about has which or which process taking movable storage device.
Need to prove that in the process that the file or folder in the movable storage device is operated, operating system can be carried out corresponding record, comprises which process of having opened, which file of operation or the like.Through these information, just can know which the process that is taking movable storage device has.But these information generally all are recorded in the inner nuclear layer of operating system, and common upper level applications can't directly be known.Therefore, in embodiments of the present invention, in order to obtain these information; Can be driver of external unit guard process configuration in advance; This driver can start along with the startup of external unit guard process, and operates in inner nuclear layer, can get access to the information that inner nuclear layer is preserved.Need to prove; If being in program under the user model attempts from kernel spacing, to read a byte or attempts to carry out assembly instruction and all can be stopped immediately; And driver is the code that operates under ring 0 (Ring0) environment that system trusts, and it has the access rights to any software and hardware of system.This means that Kernel Driver can visit all system resource, can read all memory headrooms, and be allowed to carry out the privileged instruction of CPU, as, read the currency of CPU control register etc.Therefore; Driver just because of kernel level has These characteristics; Therefore, the external unit guard process in the embodiment of the invention just can be obtained with movable storage device through this driver and take relevant information, thereby reaches the purpose of unloading movable storage device.
S103: to after the taking of said movable storage device, said movable storage device is carried out unloading operation in the process of removing according to the said progress information that inquires.
Because the process that takies movable storage device that inquires through driver, therefore, just can be at first take releasing with this, just can normally accomplish unloading operation then to movable storage device.Certainly, if find the current process that does not take movable storage device, the unloading operation of directly carrying out movable storage device gets final product.Wherein, the external unit guard process can realize equally that when carrying out unloading operation the concrete api function that uses still can be DeviceIoControl through the api function of calling system.
Wherein, when removing process according to the progress information that inquires, multiple implementation can be arranged to the taking of movable storage device.For example, wherein a kind of implementation can be the progress information that takies movable storage device to be prompted to the user (for example can to eject dialog box; Information such as title with process in dialog box represent to the user with forms such as tabulations, perhaps can also point out through ejecting modes such as bubble), like this; The user just can point out according to this; Find the current process that takies movable storage device, finish this process then, the administration portal that provides through the external unit guard process is again again initiated the request of unloading movable storage device; The external unit guard process is after receiving new unload request; Still can be at first judge currently whether have process to take movable storage device,, then can accomplish unloading through the api function of calling system to movable storage device if find not had through calling api function.If finding certainly still has process to take movable storage device, then can obtain the current progress information that takies through driver once more, and be prompted to the user, by that analogy.
Perhaps; Under another kind of implementation; The external apparatus guard process is known can directly send message to the process that takies movable storage device after the current progress information that is taking movable storage device, make this process remove taking movable storage device.Wherein, specifically, can directly send the message of this process of end when the process that takies movable storage device is sent message; Like this; After process finishes, generally speaking, will discharge taking to movable storage device; And then, unload movable storage device and get final product through calling api function.Certainly, if whole process is all finished, the realization of normal function in then possibly influencing the course; Therefore; In embodiments of the present invention, also can be directly the handle that takies movable storage device in the process to be closed, like this by driver; The process of will removing is to the taking of movable storage device, and the realization of other functions in can not influencing the course.Certainly; In practical application, also possibly have following situation: the user is using certain accounting process program, but has a bug in the process, to such an extent as to the handle of certain file that when ends file is handled, does not have to store in the release busy movable storage device; To this situation; Both can use the said process to the accounting process program of preamble to send the message of end process, and make this process be all over, process is through with; All relevant with this process have not just existed, and will discharge taking movable storage device certainly yet.Perhaps; Also can directly this should be discharged but because the existence of bug and the handle that discharges, take movable storage device is closed always by driver; Because other processing in the process can't take movable storage device, therefore also can reach the purpose that take of releasing process like this to movable storage device.
In addition, in practical application, can also multiple mode be combined; For example, can after having known the current progress information that takies movable storage device, can at first point out through ejecting modes such as dialog box the user is current to have taking movable storage device for which process; Simultaneously, can also point out out occupied file or folder, and the button that continues use is provided in dialog box; And the button of " releasing takies and safety ejects ", the user can select to continue to use, and perhaps selects the latter; If selected the latter, then can send message to the process that takies movable storage device, make corresponding process remove taking to movable storage device; The api function of call operation system gets final product the movable storage device unloading then.Certainly, after unloading is accomplished, can point out informations such as the user " can extract movable storage device safely " equally.
The method of the unloading movable storage device that provides with the embodiment of the invention is corresponding, and the embodiment of the invention also provides a kind of device that unloads movable storage device, and referring to Fig. 2, this device can comprise:
Administration portal provides unit 201, after being used to detect movable storage device and inserting, creates the administration portal of said movable storage device;
Kernel query unit 202; Be used for when receiving the request of the said movable storage device of unloading through said administration portal; If there is process taking said movable storage device, then taking the progress information of said movable storage device to the driver inquiry that operates in inner nuclear layer;
Unloading unit 203 is used in the process of removing according to the said progress information that inquires to after the taking of said movable storage device said movable storage device being carried out unloading operation.
During concrete the realization, unloading unit 203 specifically can comprise:
The prompting subelement is used for the progress information that takies said movable storage device is prompted to the user, so that the user removes process to after the taking of said movable storage device according to information, initiates the request of the said movable storage device of unloading again;
The first unloading subelement is used for when receiving the request of the said movable storage device of unloading again, with said movable storage device unloading.
Perhaps, under another kind of implementation, unloading unit 203 also can comprise:
Message is sent subelement, is used for sending message to the said process that takies movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device;
The second unloading subelement is used for removing after the taking of said movable storage device, with said movable storage device unloading when the said process that takies movable storage device.
Wherein, message transmission subelement specifically can comprise:
Finish process message and send subelement, be used for sending the message of end process, so that the said process that takies movable storage device is removed taking said movable storage device to the said process that takies movable storage device.
Perhaps, impact for fear of the normal function to process, unloading unit 203 also can comprise:
Handle is closed subelement, is used for by said driver the handle that process takies movable storage device being closed, so that releasing process taking said movable storage device;
The 3rd unloading subelement is used for the releasing process to after the taking of said movable storage device, with said movable storage device unloading.
The said apparatus that provides through the embodiment of the invention; Under the movable storage device situation that normally safety ejects owing to being taken by process; Can inquire what take movable storage device through the driver that operates in inner nuclear layer is which or which process; And then can carry out unloading operation to movable storage device in the releasing process to after the taking of movable storage device.It is thus clear that, owing to taken and can't normal safe At time of eject, do not need the user to go manually to search the process that takies movable storage device at movable storage device by process, just can accomplish the associative operation that take of releasing process to movable storage device.
Description through above embodiment can know, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform.Based on such understanding; The part that technical scheme of the present invention contributes to prior art in essence in other words can be come out with the embodied of software product; This computer software product can be stored in the storage medium, like ROM/RAM, magnetic disc, CD etc., comprises that some instructions are with so that a computer equipment (can be a personal computer; Server, the perhaps network equipment etc.) carry out the described method of some part of each embodiment of the present invention or embodiment.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and identical similar part is mutually referring to getting final product between each embodiment, and each embodiment stresses all is the difference with other embodiment.Especially, for device or system embodiment, because it is basically similar in appearance to method embodiment, so describe fairly simplely, relevant part gets final product referring to the part explanation of method embodiment.Apparatus and system embodiment described above only is schematic; Wherein said unit as the separating component explanation can or can not be physically to separate also; The parts that show as the unit can be or can not be physical locations also; Promptly can be positioned at a place, perhaps also can be distributed on a plurality of NEs.Can realize the purpose of present embodiment scheme according to the needs selection some or all of module wherein of reality.Those of ordinary skills promptly can understand and implement under the situation of not paying creative work.
More than to the method and the device of unloading movable storage device provided by the present invention; Carried out detailed introduction; Used concrete example among this paper principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, part all can change on embodiment and range of application.In sum, this description should not be construed as limitation of the present invention.

Claims (10)

1. a method that unloads movable storage device is characterized in that, comprising:
After detecting the movable storage device access, create the administration portal of said movable storage device;
When receiving the request of the said movable storage device of unloading through said administration portal,, then taking the progress information of said movable storage device to the driver inquiry that operates in inner nuclear layer if there is process taking said movable storage device;
To after the taking of said movable storage device, said movable storage device is carried out unloading operation in the process of removing according to the said progress information that inquires.
2. method according to claim 1 is characterized in that, said in the process of removing according to the said progress information that inquires to after the taking of said movable storage device, said movable storage device is carried out unloading operation comprises:
The progress information that takies said movable storage device is prompted to the user,, initiates the request of the said movable storage device of unloading again so that the user removes process to after the taking of said movable storage device according to information;
When receiving the request of the said movable storage device of unloading again, with said movable storage device unloading.
3. method according to claim 1 is characterized in that, said in the process of removing according to the said progress information that inquires to after the taking of said movable storage device, said movable storage device is carried out unloading operation comprises:
Send message to the said process that takies movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device;
When the said process that takies movable storage device is removed after the taking of said movable storage device, with said movable storage device unloading.
4. method according to claim 3 is characterized in that, and is said to the said process transmission message that takies movable storage device, so that the said process that takies movable storage device is removed taking of said movable storage device comprised:
To the said message that takies the process transmission end process of movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device.
5. method according to claim 1 is characterized in that, said in the process of removing according to the said progress information that inquires to after the taking of said movable storage device, said movable storage device is carried out unloading operation comprises:
By said driver the handle that process takies movable storage device is closed, so that releasing process taking said movable storage device;
The releasing process is to after the taking of said movable storage device, with said movable storage device unloading.
6. a device that unloads movable storage device is characterized in that, comprising:
Administration portal provides the unit, after being used to detect movable storage device and inserting, creates the administration portal of said movable storage device;
The kernel query unit; Be used for when receiving the request of the said movable storage device of unloading through said administration portal; If there is process taking said movable storage device, then taking the progress information of said movable storage device to the driver inquiry that operates in inner nuclear layer;
Unloading unit is used in the process of removing according to the said progress information that inquires to after the taking of said movable storage device said movable storage device being carried out unloading operation.
7. device according to claim 6 is characterized in that, said unloading unit comprises:
The prompting subelement is used for the progress information that takies said movable storage device is prompted to the user, so that the user removes process to after the taking of said movable storage device according to information, initiates the request of the said movable storage device of unloading again;
The first unloading subelement is used for when receiving the request of the said movable storage device of unloading again, with said movable storage device unloading.
8. device according to claim 6 is characterized in that, said unloading unit comprises:
Message is sent subelement, is used for sending message to the said process that takies movable storage device, so that the said process that takies movable storage device is removed taking said movable storage device;
The second unloading subelement is used for removing after the taking of said movable storage device, with said movable storage device unloading when the said process that takies movable storage device.
9. device according to claim 8 is characterized in that, said message is sent subelement and comprised:
Finish process message and send subelement, be used for sending the message of end process, so that the said process that takies movable storage device is removed taking said movable storage device to the said process that takies movable storage device.
10. device according to claim 6 is characterized in that, said unloading unit comprises:
Handle is closed subelement, is used for by said driver the handle that process takies movable storage device being closed, so that releasing process taking said movable storage device;
The 3rd unloading subelement is used for the releasing process to after the taking of said movable storage device, with said movable storage device unloading.
CN201210090077.3A 2012-03-30 2012-03-30 Method and device for unloading mobile storage equipment Active CN102662882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210090077.3A CN102662882B (en) 2012-03-30 2012-03-30 Method and device for unloading mobile storage equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210090077.3A CN102662882B (en) 2012-03-30 2012-03-30 Method and device for unloading mobile storage equipment

Publications (2)

Publication Number Publication Date
CN102662882A true CN102662882A (en) 2012-09-12
CN102662882B CN102662882B (en) 2015-04-29

Family

ID=46772378

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210090077.3A Active CN102662882B (en) 2012-03-30 2012-03-30 Method and device for unloading mobile storage equipment

Country Status (1)

Country Link
CN (1) CN102662882B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866964A (en) * 2012-09-18 2013-01-09 北京奇虎科技有限公司 Method and device for protecting data on storage equipment
CN102902765A (en) * 2012-09-25 2013-01-30 北京奇虎科技有限公司 Method and device for removing file occupation
CN104239023A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Mobile storage equipment managing method and device
CN104461489A (en) * 2013-09-22 2015-03-25 安一恒通(北京)科技有限公司 Method and device for quickly popping up removable device and user device
CN104700048A (en) * 2012-09-18 2015-06-10 北京奇虎科技有限公司 Method and device for protecting data on storage equipment
CN104731633A (en) * 2015-04-15 2015-06-24 上海斐讯数据通信技术有限公司 Method and system for rolling back in Linux system after failure of uninstalling of multi-partition storage equipment
CN107766142A (en) * 2017-11-15 2018-03-06 深圳市沃特沃德股份有限公司 Method and device based on android system unloading storage device
CN113741791A (en) * 2020-05-29 2021-12-03 杭州海康存储科技有限公司 Method, device and system for managing external equipment
CN116382715A (en) * 2023-03-21 2023-07-04 安芯网盾(北京)科技有限公司 Windows driver unloading method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991806A (en) * 2005-12-26 2007-07-04 联想(北京)有限公司 Method for safety load-off of USB apparatus
CN101408865A (en) * 2008-11-20 2009-04-15 徐菲 Rapid deletion of movable storage device by using background monitoring mode
CN101425047A (en) * 2007-11-02 2009-05-06 北京华旗资讯数码科技有限公司 Method for safely uninstalling mobile electronic appliance

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1991806A (en) * 2005-12-26 2007-07-04 联想(北京)有限公司 Method for safety load-off of USB apparatus
CN101425047A (en) * 2007-11-02 2009-05-06 北京华旗资讯数码科技有限公司 Method for safely uninstalling mobile electronic appliance
CN101408865A (en) * 2008-11-20 2009-04-15 徐菲 Rapid deletion of movable storage device by using background monitoring mode

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
封力: "删除USB设备硬件的7种办法", 《计算机与网络》, vol. 33, no. 9, 30 August 2007 (2007-08-30) *
陈贤敏: "USB接口监控系统的研究与实现", 《长江大学学报(自然科学版)》, vol. 8, no. 3, 31 March 2011 (2011-03-31) *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104700048B (en) * 2012-09-18 2018-03-16 北京奇虎科技有限公司 The method and device of data in a kind of protection storage device
CN102866964A (en) * 2012-09-18 2013-01-09 北京奇虎科技有限公司 Method and device for protecting data on storage equipment
CN102866964B (en) * 2012-09-18 2015-06-03 北京奇虎科技有限公司 Method and device for protecting data on storage equipment
CN104700048A (en) * 2012-09-18 2015-06-10 北京奇虎科技有限公司 Method and device for protecting data on storage equipment
CN102902765A (en) * 2012-09-25 2013-01-30 北京奇虎科技有限公司 Method and device for removing file occupation
CN104239023A (en) * 2013-06-24 2014-12-24 腾讯科技(深圳)有限公司 Mobile storage equipment managing method and device
CN104239023B (en) * 2013-06-24 2018-10-09 腾讯科技(深圳)有限公司 Flash memory device management method and device
CN104461489A (en) * 2013-09-22 2015-03-25 安一恒通(北京)科技有限公司 Method and device for quickly popping up removable device and user device
CN104731633B (en) * 2015-04-15 2018-02-13 上海斐讯数据通信技术有限公司 Rollback method and system after multi partition storage device dismount failure under a kind of linux system
CN104731633A (en) * 2015-04-15 2015-06-24 上海斐讯数据通信技术有限公司 Method and system for rolling back in Linux system after failure of uninstalling of multi-partition storage equipment
CN107766142A (en) * 2017-11-15 2018-03-06 深圳市沃特沃德股份有限公司 Method and device based on android system unloading storage device
CN113741791A (en) * 2020-05-29 2021-12-03 杭州海康存储科技有限公司 Method, device and system for managing external equipment
CN116382715A (en) * 2023-03-21 2023-07-04 安芯网盾(北京)科技有限公司 Windows driver unloading method and device
CN116382715B (en) * 2023-03-21 2023-09-08 安芯网盾(北京)科技有限公司 Windows driver unloading method and device

Also Published As

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

Similar Documents

Publication Publication Date Title
CN102662882B (en) Method and device for unloading mobile storage equipment
CN102938039B (en) For the selectivity file access of application
CN103412769B (en) External card parameter configuration, equipment and system
EP1571557A1 (en) A method of sending command and data to movable storage device
CN105335099A (en) Memory cleaning method and terminal
US20080250165A1 (en) USB port access management
CN103699372A (en) Booting a computer system from central storage
CN102929408A (en) Method and device for quickly opening application
CN104123495A (en) Method for neutralizing malicious software blocking computer operation
US10210331B2 (en) Executing full logical paths for malware detection
CN103502933A (en) Dynamically redirecting boot to another operating system
CN106776908B (en) Data cleaning method and device and terminal
WO2017008415A1 (en) Apparatus and method for launching mobile applications from a lock screen
CN104793836A (en) Information processing method and device based on user operations and terminal
CN110543348B (en) Instruction processing method, system, electronic equipment and storage medium
CN109358927B (en) Application program display method and device and terminal equipment
JP6516747B2 (en) Device Binding to Computing Devices
CN101833622B (en) Method and apparatus for checking and killing Trojan of removable storage device of terminal
KR20110037706A (en) System and method for executing applications stored in the external storage apparatus
CN100552630C (en) A kind of bootstrap technique of embedded type operating system mapping file and device
KR101625643B1 (en) Apparatus and method for detecting malicious code based on volatile virtual file
CN102346559A (en) Method and device for deleting lexical items in input method as well as character input tool
US8838546B1 (en) Correcting accidental shortcut usage
CN107368738A (en) A kind of anti-Root method and devices of smart machine
CN111444505A (en) Cloud desktop mobile device security management method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
ASS Succession or assignment of patent right

Owner name: BEIJING QIHU TECHNOLOGY CO., LTD.

Free format text: FORMER OWNER: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20120926

Owner name: QIZHI SOFTWARE (BEIJING) CO., LTD.

Effective date: 20120926

C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 100016 CHAOYANG, BEIJING TO: 100088 XICHENG, BEIJING

SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20120926

Address after: 100088 Beijing city Xicheng District xinjiekouwai Street 28, block D room 112 (Desheng Park)

Applicant after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Applicant after: Qizhi software (Beijing) Co.,Ltd.

Address before: The 4 layer 100016 unit of Beijing city Chaoyang District Jiuxianqiao Road No. 14 Building C

Applicant before: Qizhi software (Beijing) Co.,Ltd.

C14 Grant of patent or utility model
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee after: Beijing Qizhi Business Consulting Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right

Effective date of registration: 20220406

Address after: 100016 1773, 15 / F, 17 / F, building 3, No.10, Jiuxianqiao Road, Chaoyang District, Beijing

Patentee after: Sanliu0 Digital Security Technology Group Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Beijing Qizhi Business Consulting Co.,Ltd.

TR01 Transfer of patent right