CN101739216B - External device with virtual storage device - Google Patents

External device with virtual storage device Download PDF

Info

Publication number
CN101739216B
CN101739216B CN200810177454.0A CN200810177454A CN101739216B CN 101739216 B CN101739216 B CN 101739216B CN 200810177454 A CN200810177454 A CN 200810177454A CN 101739216 B CN101739216 B CN 101739216B
Authority
CN
China
Prior art keywords
data
main frame
external device
data transmission
memory
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
CN200810177454.0A
Other languages
Chinese (zh)
Other versions
CN101739216A (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.)
Prolific Technology Inc
Original Assignee
Prolific Technology Inc
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 Prolific Technology Inc filed Critical Prolific Technology Inc
Priority to CN200810177454.0A priority Critical patent/CN101739216B/en
Publication of CN101739216A publication Critical patent/CN101739216A/en
Application granted granted Critical
Publication of CN101739216B publication Critical patent/CN101739216B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention relates to an external device with a virtual storage device. The external device comprises a bridge connector and the storage device, wherein the bridge connector is used for connecting to a host according to a first data transmission interface to convert data of the host from the first data transmission interface to a second data transmission interface; the bridge connector comprises a memory unit and a control unit; the memory unit is used for storing virtual device data; the control unit is used for generating the virtual storage device on the host according to the virtual device data; and the storage device is connected with the bridge connector and used for storing the data of the host according to the second data transmission interface.

Description

There is the external device of virtual storage device
Technical field
The present invention relates to an external device, relate in particular to a kind of external device that can produce at a main frame virtual storage device.
Background technology
In order to expand the function of computer system, adapt to the different demand of user, computer system external device miscellaneous also just arises at the historic moment.For example, external connected hand disk or portable memory device, the memory capacity that extendible computer system is originally limited, external optical disk drive and cd-recorder be the multimedia resource access facility of extendible computer system, and the ability of Large Volume Data backup is provided.Wherein memory storage need use a kind of mediating device (can be described as bridge) to come to communicate and data transmission with main frame.
Please refer to Fig. 1, the calcspar that the external device that Fig. 1 is prior art is connected with main frame.External device 15 is connected in main frame 11, is used for receiving and storing the data from main frame 11, and it includes a bridge 151 and a memory storage 152.Bridge 151 is connected between main frame 11 and memory storage 152, be used to provide a data transmission interface, so that main frame 11 can transmit according to a first data transmission interface with bridge 151, and bridge 151 and memory storage 152 can be transmitted according to one second data transmission interface.Therefore, from the data of main frame 11, by bridge 151, be just convertible into can with the data of memory storage 152 performing data transmissions.In addition, bridge 151 includes a control module 153 conventionally, and it is used for according to the instruction of main frame 11, controls running the transmission of executing data according to this of bridge 151.Memory storage can be Winchester disk drive, and memory storage is connected in main frame by bridge, and bridge is responsible for the signal conversion work between memory storage and main frame, and for main frame, bridge and memory storage form an external device.Bridge is changed and can be gone out another external device by dynamic virtual by the design of firmware, this virtual bench can be CD player, on main frame, will there is virtual storage device except real world memory devices, but actually only have a real external connection storage apparatus.
The external device using at present, if simulate another virtual storage device or many virtual storage devices, all need virtual bench data content to be stored in memory storage, except causing memory storage available storage to reduce, also must be by ad hoc fashion ability reading out data.Virtual bench data are stored in memory storage, have taken the storage space of memory storage, and user can only obtain less memory capacity, and user has likely destroyed the file data framework of former memory storage because change physical storage devices.
Summary of the invention
Therefore, the invention provides a kind of external device that can virtual storage device, to solve the above problems.
The invention provides a kind of external device and comprise a bridge and a memory storage.Bridge is used for being connected in a main frame according to a first data transmission interface, taking by the data of this main frame by this first data transmission interface conversion as one second data transmission interface.Bridge comprises a memory cell and a control module.Memory cell is used for storing virtual bench data.Control module is used for producing on this main frame according to these virtual bench data a virtual storage device.Memory storage is connected in this bridge, is used for the data of storing this main frame according to this second data transmission interface.
Brief description of the drawings
Fig. 1 is the calcspar that the external device of prior art is connected with main frame.
Fig. 2 is the calcspar that the external device of first embodiment of the invention is connected with main frame.
Fig. 3 is the calcspar that the external device of second embodiment of the invention is connected with main frame.
Fig. 4 is the process flow diagram that external device of the present invention and main frame communicate.
[main element symbol description]
11,24 main frames
15,20 external devices
151,23 bridges
152,22 memory storages
153,232 control modules
231 memory cells
Embodiment
Please refer to Fig. 2, the calcspar that the external device that Fig. 2 is first embodiment of the invention is connected with main frame.External device 20 includes a memory storage 22 and a bridge 23.Bridge 23 connects main frame 24 according to a first data transmission interface, and whether the data that judge main frame 24 belong to physical storage devices 22, if, be one second data transmission interface by first data transmission interface conversion, then according to the second data transmission interface, the data of main frame be stored in to memory storage 22.First data transmission interface is USB (universal serial bus) (Universal Serial Bus, USB) interface, IEEE1394 interface or eSATA (External Serial ATA) interface.The second data transmission interface is ide interface (IntegratedDevice Electronics), SATA interface (Serial ATA) or small computer system interface (SmallComputer System Interface, SCSI).Bridge 23 comprises a memory cell 231 and a control module 232.Memory cell 231 is used for storing virtual bench data.Virtual bench data can comprise driver, various application program or various data.Control module 232 is connected in memory cell 231, is used for the running of control store unit 231 and the transmission of executing data.
External device 20 of the present invention is stored in virtual bench data in the memory cell 231 on bridge 23, except keeping the full storage space of physical storage devices of memory storage 22 for user, also can avoid user to destroy the function of whole external device because changing entity apparatus.Taking virtual CD machine as example, in the time that external device 30 is connected in main frame 24, control module 232 can read the virtual bench data that are stored in memory cell 231, produces a virtual CD machine in the operating system of main frame 24.In addition, the operating system of main frame 24 also can utilize the automatic executing function of CD player carry out the driver of the virtual CD machine that has memory cell 231, various application program and read various data.In the present embodiment, memory storage 22 can be hard disk, CD player or flash memory, and memory cell 231 can be flash memory, EEPROM or other minimum storages.Virtual storage device can be hard disk, CD player or portable memory.
Please refer to Fig. 3, the calcspar that the external device that Fig. 3 is second embodiment of the invention is connected with main frame.In the present embodiment, memory cell 231 can storage control unit 232 program code and configuration are set.Conventionally on bridge, simulating virtual storage device is that special applications demand is in the majority, therefore, in the memory cell 231 of bridge, can comply with different demands, the program code of the difference in functionality of storage control unit 232 and relevant configuration setting value.In the time that external device starts, can define according to the program code that is stored in memory cell 231 application function of this external device.In addition, whether virtual storage device is connected main frame 24 with memory storage and can controls according to the program code of control module 232.
Please refer to Fig. 4, Fig. 4 is the process flow diagram that external device of the present invention and main frame communicate.External device and main frame communicate comprise following rapid:
Step 111: control module reads after the program code and configuration setting that is stored in memory cell, communicates with main frame, and now control module can inform that main frame has two memory storages to exist, a for example virtual CD machine and a hard disk.
Step 112: control module is waited for the instruction of main frame.
Step 113: control module judges the external device of host accessing, in the time that main frame is assigned instruction and carried out the data of access virtual CD machine, carry out step 121; In the time that main frame is assigned instruction and carried out the data of access hard disk, carry out step 131.
Step 121: control module can determine whether according to program need be by the corresponding data of accessed memory cells, if need, by accessed memory cells data, carry out step 122; If need, by accessed memory cells data, carry out step 123.
Step 122: control module to main frame, carry out step 124 according to program code passback data.
Step 123: control module access is stored in the virtual bench data of memory cell and sends main frame to, carry out step 124.
Step 124: control module completes the requirement of main frame, waits for that next instruction arrives.
Step 131: instruction is conveyed to hard disk by control module, treats the order of hard disk response main frame, carry out step 132.
Step 132: control module completes the requirement of main frame, waits for that next instruction arrives.
In sum, external device of the present invention comprises a bridge and a memory storage.Bridge is used for being connected in a main frame according to a first data transmission interface, taking by the data of this main frame by this first data transmission interface conversion as one second data transmission interface.Bridge comprises a memory cell and a control module.Memory cell is used for storing virtual bench data.Control module is used for producing on this main frame according to these virtual bench data a virtual storage device.Memory storage is connected in this bridge, is used for the data of storing this main frame according to this second data transmission interface.Because virtual data can be stored in the memory cell of bridge, except can not taking the storage space of memory storage, also can avoid destroying the document architecture of memory storage itself.
The foregoing is only the preferred embodiments of the present invention, all equalizations of doing according to the claims in the present invention book change and modify, and all should belong to covering scope of the present invention.

Claims (9)

1. an external device, comprises:
One bridge, is used for being connected in a main frame according to a first data transmission interface, taking by the data of this main frame by this first data transmission interface conversion as one second data transmission interface, comprise:
One memory cell, is used for storing virtual bench data; And
One control module, is used for producing on this main frame according to these virtual bench data a virtual storage device; And
One memory storage, is connected in this bridge, is used for the data of storing this main frame according to this second data transmission interface,
Wherein this control module is used for according to this virtual storage device of the instruction accessing of this main frame or this memory storage.
2. external device as claimed in claim 1, wherein this control module is used for reading the data of this virtual storage device or the data of this memory cell according to the instruction of this main frame.
3. external device as claimed in claim 1, wherein this virtual storage device is hard disk, CD player.
4. external device as claimed in claim 1, wherein this virtual storage device is portable memory.
5. external device as claimed in claim 1, wherein this memory storage is hard disk, CD player or flash memory.
6. external device as claimed in claim 1, wherein this memory cell is also used for store driver, various application program or other various data.
7. external device as claimed in claim 1, wherein this memory cell is also used for storing program code and the configuration setting of this control module.
8. external device as claimed in claim 1, wherein this first data transmission interface is USB interface, IEEE1394 interface or eSATA interface.
9. external device as claimed in claim 1, wherein this second data transmission interface is ide interface, SATA interface or scsi interface.
CN200810177454.0A 2008-11-27 2008-11-27 External device with virtual storage device Active CN101739216B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN200810177454.0A CN101739216B (en) 2008-11-27 2008-11-27 External device with virtual storage device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN200810177454.0A CN101739216B (en) 2008-11-27 2008-11-27 External device with virtual storage device

Publications (2)

Publication Number Publication Date
CN101739216A CN101739216A (en) 2010-06-16
CN101739216B true CN101739216B (en) 2014-11-05

Family

ID=42462749

Family Applications (1)

Application Number Title Priority Date Filing Date
CN200810177454.0A Active CN101739216B (en) 2008-11-27 2008-11-27 External device with virtual storage device

Country Status (1)

Country Link
CN (1) CN101739216B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945521A (en) * 2006-10-13 2007-04-11 中国科学院计算技术研究所 Virtualizing system and method for non-homogeny storage device
TW200842689A (en) * 2007-04-24 2008-11-01 Transcend Information Inc Storage bridge and storage device and method applying for the storage bridge

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1945521A (en) * 2006-10-13 2007-04-11 中国科学院计算技术研究所 Virtualizing system and method for non-homogeny storage device
TW200842689A (en) * 2007-04-24 2008-11-01 Transcend Information Inc Storage bridge and storage device and method applying for the storage bridge

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
JP特开平7-210336A 1995.08.11 *

Also Published As

Publication number Publication date
CN101739216A (en) 2010-06-16

Similar Documents

Publication Publication Date Title
US8074148B2 (en) Memory management method and controller for non-volatile memory storage device
US8054686B2 (en) Flash memory storage apparatus, flash memory controller, and switching method thereof
KR100725271B1 (en) USB-SD Memory with multiple DMA channels, and data storing method thereof
US9519436B1 (en) Memory erasing method, memory controller, and memory storage apparatus
CN101494086B (en) Memory device, controller and switching method for flash memory
US20180239557A1 (en) Nonvolatile memory device, data storage device including the same, and operating method of data storage device
CN102955751A (en) Storer storage device, storer controller and data write-in method
US7925819B2 (en) Non-volatile memory storage system and method for reading an expansion read only memory image thereof
CN102279820A (en) Data storage device and control method based on SPI interface
US9804983B2 (en) Controlling method, connector, and memory storage device
CN103389941B (en) Storer formatting method, Memory Controller and memory storage apparatus
CN202422111U (en) Novel storage device
US20230176733A1 (en) Data storage device and data storage system
CN101739216B (en) External device with virtual storage device
CN202189558U (en) SPI interface-based data storage device
US8370599B2 (en) Storage system and controlling system and method thereof
CN116185907A (en) Bridging device and data storage system
TWI390399B (en) External device having a virtual storage device
US20110119529A1 (en) Virtual hard disk drive
KR20150122823A (en) Memory control unit and data storage device including the same
CN210776642U (en) Automatic disk splicing device for multiple TF cards
CN102023906B (en) Microprocessor of portable terminal as well as portable terminal and repair method thereof
CN102253812A (en) Method for improving soft RAID (redundant array of independent disk) performance based on Loongson processor
CN101782873B (en) External storage device having security function
CN201322935Y (en) Card-reading device and control chip thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant