CN100507884C - USB portable memory device safe removing method - Google Patents

USB portable memory device safe removing method Download PDF

Info

Publication number
CN100507884C
CN100507884C CN 200610132008 CN200610132008A CN100507884C CN 100507884 C CN100507884 C CN 100507884C CN 200610132008 CN200610132008 CN 200610132008 CN 200610132008 A CN200610132008 A CN 200610132008A CN 100507884 C CN100507884 C CN 100507884C
Authority
CN
China
Prior art keywords
usb
memory device
portable memory
usb portable
removes
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.)
Active
Application number
CN 200610132008
Other languages
Chinese (zh)
Other versions
CN101165670A (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.)
State Grid Shanghai Electric Power Co Ltd
East China Power Transmission and Transformation Engineering Co Ltd
Original Assignee
Inventec 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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200610132008 priority Critical patent/CN100507884C/en
Publication of CN101165670A publication Critical patent/CN101165670A/en
Application granted granted Critical
Publication of CN100507884C publication Critical patent/CN100507884C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • G06F9/4413Plug-and-play [PnP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/442Shutdown

Abstract

The method is used in a USB portable storage device with a button and comprises: when the button is pressed, a control module is started up; the control module sends a removing signal to a USB system software program in host computer connected to the USB portable storage device and sends a starting-up signal to a indicator lamp on said portable storage device in order to light the indicator lamp; after receiving the removing signal, the USB system software program safely removes the USB portable storage device; after safely removing the USB portable storage device, the indicator lamp will black off.

Description

The method of USB portable memory device safe removing
Technical field
The present invention relates to a kind of method of the USB of removing portable memory device, particularly a kind of button operation of external device (ED) that utilizes is controlled the method that safety removes the USB portable memory device.
Background technology
USB (universal serial bus) (Universal Serial Bus, USB), this is the standard that began to promote by 1994, has plug and play (plug and play) function, it does not need to carry out complicated step and just can at any time device be connected and remove, so USB has become one of main flow, most electronic product, especially peripherals of computer, for example external connected hand disk, personal digital assistant (Personal DigitalAssistant, PDA), mobile phone ... etc., nearly all can use USB to be connected with computing machine.
Yet, in general, because 3.5 cun disk sizes commonly used are little, so it is mainly used in the access of archive files.Facility along with the use of diverse network application software, the exhibitor of extensive stock, service is in order to improve the visual effect of displaying merchandise, service, reach the distribution effect of displaying, electronic data archives, the file of existing many commercial shows all include various charts, image file, make that the occupied electronics storage space of each archives is all very big, can not can be held by 3.5 cun disks commonly used, therefore, the USB portable memory device becomes the instrument that makes things convenient for of electronic data file access gradually.
The USB portable memory device, claim again USB with oneself dish have the advantage that volume is little, memory capacity is big, be fit to do much traveling and needs carry various data persons' demand, in addition, because of USB portable memory device user increases, its price is reduced, more meet popular demand.Therefore, the USB portable memory device had become one of main flow device that electronic data portably uses already.
Yet, along with being extensive use of of USB portable memory device, the frequency and the time of its use are all constantly increased, and often when on main frame, removing the USB portable memory device, the user need enter in the operating system by display, click a program that removes that is installed in the usb host device program in the operating system, and select the required USB device that removes, click and just begin the step of utilizing the USB system software to remove after the affirmation, therefore, behind a large amount of frequent use USB portable memory devices, said method usually need expend many times of user, causes user's inconvenience.Yet, if it is patient that the user lacks, then usually carry out and remove step and just the USB portable memory device is extracted in the USB of main frame jack, this action, usually cause the damage of USB portable memory device, or cause the loss and the damage of storing data, cause user's great inconvenience to reach sorry.And, after the step that USB system software execution safety removes is finished, system often utilizes messagewindow to be presented at and informs the action that the user " has finished and removed " on the display device, yet, because the user often places main frame on the ground, when the user stoops waist and desires to remove the USB device, also must note the status information of messagewindow in the display device frequently, or the user is when using mobile computer, using half always closes screen to save power consumption, and when desiring to remove the USB device, still must open screen and carry out the step that safety removes.And above-mentioned various use situation causes the very big inconvenience of user, and expends the more time.Therefore, need to propose the method that a kind of simple fast safety removes the USB portable memory device, to solve the difficulty that the user is run on reality is used.
Summary of the invention
In view of above problem, fundamental purpose of the present invention is to provide a kind of single button or auxiliary method of utilizing on the external device (ED) that removes the USB portable memory device safely of controlling of button, then can solve and to expend a plurality of steps and more time in the known technology by the mouse selection operation in the operating system and finish the step that removes of safety, reduce the user removes the USB portable memory device because of operation the required consumed time of step.
For reaching above-described purpose, the present invention discloses a kind of method of USB portable memory device safe removing, it is applied to have on this USB portable memory device of a button, this button is arranged on the shell body of this USB portable memory device, and be electrically connected to a control module in enclosure interior, this method may further comprise the steps, at first, when button is pressed, start this control module, then, control module transmits one simultaneously and removes in the main frame that signal to USB portable memory device connected on the USB system software and transmit enabling signal pilot lamp to the USB portable memory device and make lamp shinny, and when the USB system software be received from that control module transmits remove signal the time, the USB system software is then carried out safety and is removed the USB portable memory device, and this pilot lamp can extinguish after removing this USB portable memory device finishing safety.
The method of aforesaid USB portable memory device safe removing, wherein this control module is arranged in this USB portable memory device.
The method of aforesaid USB portable memory device safe removing, wherein the USB system software is carried out this step that removes this USB portable memory device safely, and it includes following steps: stop data transmission; And the stop supplies power supply is to this USB portable memory device.
The input media that a kind of method of USB portable memory device safe removing, its utilization are connected on the main frame removes this USB portable memory device, and it may further comprise the steps: in this host-initiated one application program; When this input media detects a specific keys and is pressed, transmit corresponding to a trigger pip of this a specific keys application program to this main frame; This application program receives this trigger pip, then transmits one simultaneously and removes signal to the USB system software and open a messagewindow to show the state of " in removing "; And receive this when removing signal when this USB system software, this USB system software is carried out safety and is removed this USB portable memory device, and return this application program one when removing and finish signal finishing, make this application program change this messagewindow and present the state of " finish and remove ".
The method of aforesaid USB portable memory device safe removing, wherein this application program receives this trigger pip, then transmit one simultaneously and remove signal to the USB system software and open a messagewindow to show the state of " in removing ", and can transmit enabling signal pilot lamp to the USB portable memory device simultaneously and make lamp shinny, and this pilot lamp can extinguish after safety removes this USB portable memory device finishing.
The method of aforesaid USB portable memory device safe removing, wherein this transmission is that processing by a keyboard controller produces corresponding to this trigger pip of this specific keys.
The method of USB portable memory device safe removing as mentioned above, wherein this transmission is that processing by a mouse produces corresponding to this trigger pip of this specific keys.
The method of USB portable memory device safe removing as mentioned above, wherein this USB system software is carried out the step that safety removes this USB portable memory device, and it includes following steps: stop data transmission; The stop supplies power supply is to this USB portable memory device; And transmit one and finish signal to this application program.
Effect of the present invention is only to utilize single button or button to finish safety and removes the USB portable memory device, be used in structural design one button of USB own no matter be, or design one button is carried out the action that removes on input media, the software program interface that can effectively avoid in operating system be provided is removing the operational trouble of action, thereby remove required consumed time of USB portable electronic devices and step because of safety in the minimizing known technology, to increase the convenience that the user uses the USB portable memory device, can also reduce the patient not enough improper possibility that removes the damage that causes because of the user.
Above about content of the present invention explanation and the explanation of following embodiment all in order to demonstration with explain principle of the present invention, and provide claims of the present invention further explained.
Description of drawings
Figure 1A is the synoptic diagram of USB portable memory device in the first embodiment of the invention;
Figure 1B is the flow chart of steps of first embodiment of the invention;
Fig. 2 A is the system schematic of second embodiment of the invention;
Fig. 2 B is the system schematic of third embodiment of the invention; And
Fig. 2 C is the flow chart of steps of second and third embodiment of the present invention.
[primary clustering symbol description]
10 main frames
20 keyboards
30 mouses
100,200 USB portable memory devices
110 memory modules
120 remove button
130 control modules
131 pilot lamp
140 USB port
201,301 remove key
Embodiment
For making purpose of the present invention, structure, feature and function thereof there are further understanding, now cooperate embodiment to be described in detail as follows.
At first, see also Figure 1A, Figure 1A is the synoptic diagram of USB portable memory device 100 in the first embodiment of the invention.Shown in Figure 1A, the USB portable memory device 100 of first embodiment of the invention includes a memory module 110, a button 120, a control module 130, a pilot lamp 131 and a USB port 140.
Yet memory module 110 is made up of flash memory, can store lot of data therein, and can read the wherein mass data of storage by user's operation.And button 120 is arranged on the shell body of USB portable memory device, and is electrically connected to control module 130 in enclosure interior.Yet, the first embodiment of the present invention is embedded with a control module 130 in USB portable memory device 100, it is mainly in order to receive an operation signal from the USB device, and transmit one and remove signal to the USB system software of usb host end, so that the USB system software is carried out the step that safety removes USB portable electronic devices 100.And pilot lamp 131 wherein can also be set, whether finished the step that safety removes in order to show the USB portable memory device, and in the necessary in use USB jack that inserts on the main frame of USB port 140, said apparatus has been connected with main frame.Wherein the USB system software includes two major parts, one is USB (universal serial bus) driver (Universal Serial Bus Driver, USBD) module, another is host computer control chip driver program module, it is formed and function is the known technology of USB system software, so not at this detailed description.
Then, see also Figure 1B, Figure 1B is the flow chart of steps of first embodiment of the invention.Shown in Figure 1B, when the user used USB portable memory device 100 and desires tenth skill and remove said apparatus, the user is pressing button 120 then.When button 120 is pressed, meeting start-up control module 130 (steps 300), wherein control module 130 is embedded in the USB portable memory device 100, and the control module 130 that is activated can transmit simultaneously one remove signal to the USB system software and enabling signal pilot lamp 131 to the USB portable memory device 100 make lamp shinny (step 310), and remove signal earlier through the usb bus interface, be resent to the usb host end, usb host control chip module wherein (figure does not show) can will remove signal again and be sent in the USB system software, and the USB system software can be at once with USB port 140 forbiddings after reception removes signal, and execution safety removes USB portable memory device 100, and pilot lamp 131 extinguishes (step 320), and said apparatus is removed in data structure, will remove signal again and be sent in the computer operating system.Wherein, remove USB portable memory device 100, it includes guarantees to write fully in the USB portable memory device by the data in the operating system buffer zone, and stops data transmission between all said apparatus and main frame and stop supplies direct supply to USB portable memory device 100.Because above step, then can guarantee in the process that removes USB portable memory device 100, data can not take place to be lost, or the circuit that causes because of short circuit, data or even cause the whole USB portable memory device 100 impaired problems that can not re-use.And behind pressing button 120, pilot lamp 131 can continue shinny, represent that promptly USB portable memory device 100 do not finish the step that removes of safety as yet, after pilot lamp 131 extinguishes fully, promptly represent system's stop supplies USB device power supply, and finished safety remove step, the user then can will extract in the jack of USB port 140 on main frame.Therefore, the user can be only lamp indicator signal by pilot lamp 131 judge whether to finish safety and remove, and do not need to utilize display device to judge in the known technology for another example.
See also Fig. 2 A, Fig. 2 A is the system schematic of second embodiment of the invention.Shown in Fig. 2 A, wherein have a main frame 10, a display 11, a keyboard 20, a USB portable memory device 200 and a specific keys 201.Wherein USB portable memory device 200 is inserted on the main frame 10 in the USB jack, and button 201 is arranged on the keyboard 20.
Yet, be different from the first embodiment of the present invention, USB portable memory device 200 does not have the button that self installs in order to remove, and a keyboard 20 with a specific keys 201 is set in the system architecture of the second embodiment of the present invention, wherein specific keys 201 is in order to remove the USB portable memory device 200 that is connected with main frame in the USB jack, and its steps flow chart that removes will be in following explanation.Yet the present invention is not limited to USB portable memory device 200, is connected to the device of main frame applicable to the arbitrary USB of utilization jack.
See also Fig. 2 B, Fig. 2 B is the system schematic of second embodiment of the invention.Shown in Fig. 2 B, wherein have a main frame 10, a display 11, a mouse 30, a USB portable memory device 200 and a specific keys 301.Wherein USB portable memory device 200 is inserted on the main frame 10 in the USB jack, and button 301 is arranged on the mouse 30.When the user desires to remove the USB device that is connected on the main frame 10, only need press the specific keys 301 on the mouse 30, it is then performed that to remove step then identical with the second embodiment of the present invention.Yet the present invention has more than to be defined on keyboard 20 and the mouse 30 specific keys is set, and the present invention goes for setting on arbitrary input media a specific keys in order to shift out the USB device.The present invention can also utilize existing key combination on the general mouse to remove the embodiment of signal as triggering for generating.
See also Fig. 2 C, Fig. 2 C is the flow chart of steps of second and third embodiment of the present invention.Shown in Fig. 2 C, at first, open an application program (step 400) at main frame, and when the user uses USB portable memory device 200 and desires tenth skill and remove said apparatus, the user is the specific keys 201 on the push input device 20 then, when input media 20 detects a specific keys 201 on it and is pressed (step 410), then the transmission line that is connected to main frame 10 by input media 20 transmits corresponding to a trigger pip of specific keys 201 to the application program of main frame 10 (step 420), and application program is after the trigger pip that receives corresponding to specific keys 201, obtain one through judging and remove instruction, and transmit one simultaneously and remove signal to its USB system software and open a messagewindow to show the state (step 430) of one " in removing ", then, when the USB system software receive transmit by application program remove signal the time, then can at once USB port be forbidden, and carry out safety and shift out USB portable memory device 100 and return this application program one when removing and finish signal (step 440) and make this application program changed information window and present the state of " finish and remove " finishing, again the USB portable memory device is removed in data structure.The process that wherein removes USB portable memory device 200 includes the data transmission that stops between all said apparatus and main frame and stop supplies direct supply to USB portable memory device 200.Because above step, then can guarantee in the process that removes USB portable memory device 200, data can not take place to be lost, or the circuit that causes because of short circuit, data or even cause the whole USB portable memory device 200 impaired problems that can not re-use.Yet, similar in appearance to the first embodiment of the present invention, the second embodiment of the present invention also can be in the process that removes the USB portable memory device, pilot lamp 131 can continue shinny, represent that promptly USB portable memory device 200 do not finish the step that removes of safety as yet, after pilot lamp 131 extinguishes fully, promptly represent system's stop supplies USB device power supply, and the expression finished safety remove step, the user can will extract in the jack of USB port on main frame.
First and second embodiment of the present invention, mainly solve in known technology, the method of USB portable memory device safe removing, need the user to enter in the operating system, click the option that removes the USB device, just make operating system carry out the action that safety removes, yet under the frequent a large amount of situations about using of USB device, above-mentioned action often need spend many times, causes the problem of user's inconvenience.Utilize to be provided with one on the USB portable memory device in order to the button 120 and the embedded control module 130 that remove self device or utilize that a specific keys 201 removes the USB device on the input media 20 no matter be, all provide a great convenience, save the required time of USB device that much removes to the user.
Though the present invention discloses as above with aforesaid embodiment, so it is not in order to limit the present invention.Without departing from the spirit and scope of the present invention, change of being done and modification all belong to scope of patent protection of the present invention.Please refer to appending claims about the protection domain that the present invention defined.

Claims (3)

1. the method for a USB portable memory device safe removing, it is applied to have on this USB portable memory device of a button, this button is arranged on the shell body of this USB portable memory device, and is electrically connected to a control module in enclosure interior, and this method may further comprise the steps:
When this button is pressed, start this control module;
This control module transmits one simultaneously and removes the USB system software in the main frame that signal to this USB portable memory device connected and transmit an enabling signal to the pilot lamp on this USB portable memory device and make lamp shinny; And
When this that receives that automatic control molding piece transmitted when this USB system software removed signal, this USB system software was carried out safety and is removed this USB portable memory device, and this pilot lamp extinguishes after safety removes this USB portable memory device finishing.
2. the method for USB portable memory device safe removing as claimed in claim 1, wherein this control module is arranged in this USB portable memory device.
3. the method for USB portable memory device safe removing as claimed in claim 1, wherein this USB system software is carried out the step that safety removes this USB portable memory device, includes following steps:
Stop data transmission; And
The stop supplies power supply is to this USB portable memory device.
CN 200610132008 2006-10-19 2006-10-19 USB portable memory device safe removing method Active CN100507884C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200610132008 CN100507884C (en) 2006-10-19 2006-10-19 USB portable memory device safe removing method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200610132008 CN100507884C (en) 2006-10-19 2006-10-19 USB portable memory device safe removing method

Publications (2)

Publication Number Publication Date
CN101165670A CN101165670A (en) 2008-04-23
CN100507884C true CN100507884C (en) 2009-07-01

Family

ID=39334371

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200610132008 Active CN100507884C (en) 2006-10-19 2006-10-19 USB portable memory device safe removing method

Country Status (1)

Country Link
CN (1) CN100507884C (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101291226B (en) * 2008-05-19 2011-09-21 北京深思洛克软件技术股份有限公司 Method for enhancing security verified by information security device using image information
CN103823772A (en) * 2012-11-19 2014-05-28 创见资讯股份有限公司 Method for enabling electronic device to reconnect with computer host and related electronic device

Also Published As

Publication number Publication date
CN101165670A (en) 2008-04-23

Similar Documents

Publication Publication Date Title
US5878276A (en) Handheld computer which establishes an input device as master over the CPU when it is coupled to the system
CN101359273B (en) Mode-switching in ultra mobile devices
US5873045A (en) Mobile client computer with radio frequency transceiver
US5964847A (en) Mobile client computer interacting with docking device
WO1999021077A1 (en) Modular computer device and computer keyboard for modular device
US9674336B2 (en) Portable processing unit add on for mobile devices
US8589597B2 (en) Computer having removable input/output device
TW200832153A (en) Portable computer
US20080307239A1 (en) Electronic device and power supply method
EP1293876B1 (en) A modular data processing system
CN101772761A (en) Electronic device interface control system
CN100507884C (en) USB portable memory device safe removing method
CN214670566U (en) Computer wake-up circuit and computer
US6813660B2 (en) Wireless portable electronic device capable of receiving
CN104834875A (en) Computer secondary mainboard system for physical isolation for information security and isolation method
CN104571569A (en) Game keyboard
CN101226424B (en) Multimedia electronic type switcher
CN104090860A (en) Display device and operating method thereof
CN203102093U (en) Touch control type student tablet computer
CN209297282U (en) A kind of device for supporting mobile phone and PC to switch
JP2008171378A (en) Usb device mountabie on expresscard adapter
CN202230410U (en) Electronic device with touch pad
CN101587377A (en) Card reading device with keypress function and operation method thereof
CN201203827Y (en) Computer equipment
CN217767328U (en) Nationwide production data transmission equipment

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
ASS Succession or assignment of patent right

Owner name: STATE GRID SHANGHAI ELECTRIC POWER COMPANY

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20141211

Owner name: EAST CHINA POWER TRANSMISSION + SUBSTATION ENGINEE

Effective date: 20141211

C41 Transfer of patent application or patent right or utility model
C53 Correction of patent for invention or patent application
CB03 Change of inventor or designer information

Inventor after: Gao Shan

Inventor after: Hu Yiqi

Inventor after: Yang Binglin

Inventor after: Shen Wei

Inventor after: Zhang Jiajian

Inventor after: Lai Taijie

Inventor before: Lai Taijie

COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: TAIWAN, CHINA TO: 200002 HUANGPU, SHANGHAI

Free format text: CORRECT: INVENTOR; FROM: LAI TAIJIE TO: GAO SHAN HU YIQI YANG BINGLIN SHEN WEI ZHANG JIAJIAN LAI TAIJIE

TR01 Transfer of patent right

Effective date of registration: 20141211

Address after: 200002 Nanjing East Road, Shanghai, No. 181, No.

Patentee after: State Grid Shanghai Municipal Electric Power Company

Patentee after: EAST CHINA POWER TRANSMISSION AND TRANSFORMATION ENGINEERING COMPANY

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation