CN102193742A - Virtual storage device and control method thereof - Google Patents

Virtual storage device and control method thereof Download PDF

Info

Publication number
CN102193742A
CN102193742A CN2010101184644A CN201010118464A CN102193742A CN 102193742 A CN102193742 A CN 102193742A CN 2010101184644 A CN2010101184644 A CN 2010101184644A CN 201010118464 A CN201010118464 A CN 201010118464A CN 102193742 A CN102193742 A CN 102193742A
Authority
CN
China
Prior art keywords
storage media
virtual
serial bus
universal serial
storage
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.)
Pending
Application number
CN2010101184644A
Other languages
Chinese (zh)
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.)
ZERO ONE TECHNOLOGY Co Ltd
Original Assignee
ZERO ONE TECHNOLOGY 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 ZERO ONE TECHNOLOGY Co Ltd filed Critical ZERO ONE TECHNOLOGY Co Ltd
Priority to CN2010101184644A priority Critical patent/CN102193742A/en
Publication of CN102193742A publication Critical patent/CN102193742A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Systems (AREA)

Abstract

The invention discloses a virtual storage device and a control method thereof for solving the problems of high cost and the like in the prior art. The device comprises at least one universal serial bus (USB) equipment controller, a plurality of storage devices, a processor and a virtual storage medium. The processor detects selection signals corresponding to the storage devices, and the specified storage device is switched by software, so that the data of the storage device are temporarily stored in the virtual storage medium; and finally, a USB host accesses the data temporarily stored in the virtual storage medium through a few USB equipment controllers and the processor. Therefore, when a large amount of storage devices need to be accessed, the effect of the required components is reduced.

Description

Virtual memory device and control method thereof
Technical field
The present invention is a kind of virtual memory device and control method thereof, and particularly the content in this virtual memory device is switched by software and kept in the user and specify true storage device.
Background technology
The access architecture of present common single general-purpose universal serial bus mass storage, as shown in Figure 1.It comprises a USB host and a USB (universal serial bus) mass storage; This USB host comprises a controller; This USB (universal serial bus) mass storage comprises a universal serial bus device controller and a storage device; This storage device further comprises a Storage Media controller and a Storage Media.
Wherein, the controller of this USB host electrically connects this universal serial bus device controller, this universal serial bus device controller electrically connects the Storage Media controller of this storage device, and the Storage Media controller of this storage device electrically connects the Storage Media of this storage device.After transmitting by this USB host and this universal serial bus device controller message, data through this Storage Media controller of this storage device and in the Storage Media of this storage device of access again.
Though the framework of this this USB (universal serial bus) mass storage of USB host access is very convenient; And this USB host is when desiring a plurality of this USB (universal serial bus) mass storage of access, and as shown in Figure 2, it comprises a USB host, at least one universal serial bus concentrator and a plurality of USB (universal serial bus) mass storage; This USB host comprises a controller; This USB (universal serial bus) mass storage comprises a universal serial bus device controller and a storage device; This storage device further comprises a Storage Media controller and a Storage Media.
Wherein, the controller of this USB host electrically connects this universal serial bus concentrator, this universal serial bus concentrator electrically connects respectively this universal serial bus device controller, respectively this universal serial bus device controller electrically connects the Storage Media controller of this corresponding storage device, and respectively the Storage Media controller of this storage device electrically connects the Storage Media of this corresponding storage device.By this USB host through this USB (universal serial bus) line concentration, after corresponding this universal serial bus device controller message is transmitted, again through to this Storage Media controller that should storage device and access to data in should the Storage Media of storage device.
Compared to the access architecture of above-mentioned single general-purpose universal serial bus mass storage, this universal serial bus concentrator is the assembly that increases newly with this universal serial bus device controller of part, and required on the whole assembly will improve more; Relatively, cost also improves much.
So the framework of access a plurality of USB (universal serial bus) mass storages, still have the space of improvement.
Summary of the invention
For overcoming the problems referred to above, the present invention provides a kind of virtual memory device and control method thereof, and the content in this virtual memory device is switched by software and kept in the user and specify true storage device, reduces required on the whole assembly, to reduce cost.
In order to achieve the above object, virtual memory device of the present invention, this virtual memory device is can deal with data and signal, and detects one and choose signal this is chosen signal pairing one true storage device and further comprises at least one universal serial bus device controller, a plurality of storage device, a processor and a virtual Storage Media with access.This universal serial bus device controller electrically connects a USB host.This storage device is true storage device and more comprises a Storage Media controller and a Storage Media that this Storage Media electrically connects this Storage Media controller.This processor electrically connects this universal serial bus device controller and this Storage Media controller, and detecting is specified this storage device corresponding to the signal of choosing of this storage device respectively to choose.This virtual Storage Media is specified this storage device temporal data for a contiguous memory space and the storage of being disposed in this virtual memory device, and electrically connects this processor.
Further, this Storage Media is calculating punch and memory card, universal serial bus (USB) hard disk or the carry-on dish of universal serial bus (Pen Drive); This virtual Storage Media is a volatile memory.
For achieving the above object, the control method of virtual memory device of the present invention, this method comprises the following steps:
A) this processor (44) receive this storage device (42) corresponding one signal of choosing of choosing assembly (50);
B) the inner temporal data of this virtual Storage Media (43) returns and deposits this storage device (42) of choosing to the last time;
C) this processor (44) transmits a cancellation binding signal to this USB host (10);
D) up-to-date this storage device (42) Data Update of choosing is to this virtual Storage Media (43);
E) this processor (44) rebulids this virtual memory device (40) and this USB host (10) binding;
F) this USB host (10) is through these virtual Storage Media (43) data of this universal serial bus device controller (41) access.
Virtual memory device of the present invention and control method thereof, except that above-mentioned formation and effect are arranged, its control be by this processor receive this storage device corresponding one signal of choosing of choosing assembly, the inner temporal data of this virtual Storage Media returns earlier deposits this storage device of choosing to the last time; Then, this processor transmits a cancellation and links signal to this USB host, and then, up-to-date this storage device Data Update of choosing is to this virtual Storage Media, and this processor rebulids this virtual memory device and this USB host links; At last, this USB host is through these virtual Storage Media data of this universal serial bus device controller access.
Description of drawings
The block scheme of the known access single general-purpose of Fig. 1 universal serial bus mass storage
The block scheme of a plurality of USB (universal serial bus) mass storages of the known access of Fig. 2
The block scheme of Fig. 3 embodiment of the invention
The synoptic diagram of data stream between Fig. 4 universal serial bus device controller of the present invention and virtual Storage Media
The synoptic diagram of data stream between virtual Storage Media of Fig. 5 the present invention and storage device
Fig. 6 the present invention chooses the control flow synoptic diagram of storage device
Embodiment
Now cooperate and graphic preferred embodiment of the present invention is described in detail as follows.
As shown in Figure 3, it is the block scheme of the embodiment of the invention.Comprising:
One USB host 10; One virtual memory device 40.
Wherein, this virtual memory device 40 further comprises at least one universal serial bus device controller 41, a plurality of storage device 42, a processor 44 and a virtual Storage Media 43.This storage device 42 is for true storage device and more comprise a Storage Media controller 421 and a Storage Media 422.
This universal serial bus device controller 41 electrically connects this USB host 10; This Storage Media 422 electrically connects this Storage Media controller 421; This processor 44 electrically connects this universal serial bus device controller 41, this Storage Media controller 421 and this virtual Storage Media 43.
This processor 44 can be detected corresponding to the signal of choosing of this storage device 42 respectively and specify this storage device 42 to choose, and should virtual Storage Media 43 contiguous memory spaces and temporary these storage device 42 data of appointment for being disposed in this virtual memory device 40.
As Fig. 4 and Fig. 5, it is respectively the synoptic diagram of data stream between the synoptic diagram of data stream between universal serial bus device controller of the present invention and virtual Storage Media and virtual Storage Media and storage device.Comprising:
One USB host 10; At least one universal serial bus device controller 41; A plurality of storage devices 42; One processor 44; One virtual Storage Media 43.
Wherein, this USB host 10, this universal serial bus device controller 41, this storage device 42, this virtual Storage Media 43 and this processor 44, as mentioned above.
Required order between passing interface between this USB host 10 and this universal serial bus device controller 41.As shown in Figure 4, this USB host 10 transmits the order of reading of data block N numbering package to this universal serial bus device controller 41, this processor 44 is obtained the numbering of block N to read the block N data in this virtual Storage Media 43 from this universal serial bus device controller 41, comprise the order of block N data to this USB host 10 through transmitting from this universal serial bus device controller 41; Perhaps, this USB host 10 transmit store block N data order to this universal serial bus device controller 41, this processor 44 again scratch block N data to this virtual Storage Media 43.
As shown in Figure 5, this processor 44 reads all in this virtual Storage Media 43 or changed temporary block data (for example block A data~block Z data), to be stored to this storage device 42 corresponding block; Perhaps, this processor 44 reads the block (for example block A data~block Z data) in this storage device 42, with corresponding block in temporary extremely this virtual Storage Media 43.
As Fig. 6, it chooses the control flow synoptic diagram of storage device for the present invention.Wherein step is as follows: at first in step S10, this processor 44 receives the signal of choosing that 42 correspondences one of this storage device are chosen assembly 50; Then, these virtual Storage Media 43 inner temporal datas return deposits this storage device 42 of choosing to the last time, shown in step S20; Then, this processor 44 transmits a cancellation binding signal to this USB host 10, shown in step S30; Then, up-to-date these storage device 42 Data Update of choosing are to this virtual Storage Media 43, shown in step S40; Then, this processor 44 rebulids this virtual memory device 40 and links with this USB host 10, shown in step S50; At last, shown in step S60, this USB host 10 is through these virtual Storage Media 43 data of these universal serial bus device controller 41 accesses.
The above is specifying of a possible embodiments of the present invention only, is not to be used for limiting scope of the invention process.All equalizations of being done according to the present patent application claim change and modify, and are all the present patent application claim and contain, and also all belong to the present patent application claim at the embodiment that does not change essence of the present invention.

Claims (4)

1. virtual memory device, it comprises a virtual memory device (40), this virtual memory device (40) is can deal with data and signal, and detects one and choose signal this is chosen signal pairing one true storage device and further comprises with access:
A) at least one universal serial bus device controller (41), this universal serial bus device controller (41) electrically connects a USB host (10);
B) a plurality of storage devices (42), this storage device (42) are true storage device and more comprise:
A) a Storage Media controller (421);
B) Storage Media (422), this Storage Media (422) electrically connect this Storage Media controller (421);
C) processor (44), this processor (44) electrically connect this universal serial bus device controller (41) and this Storage Media controller (421), and detecting is specified this storage device (42) corresponding to the signal of choosing of this storage device (42) respectively to choose;
D) a virtual Storage Media (43), a contiguous memory space and temporary appointment this storage device (42) data of this virtual Storage Media (43) for being disposed in this virtual memory device (40), and electrically connect this processor (44).
2. virtual memory device as claimed in claim 1 is characterized in that, this Storage Media (422) is calculating punch, memory card, universal serial bus hard disk or the carry-on dish of universal serial bus.
3. virtual memory device as claimed in claim 1 or 2 is characterized in that, this virtual Storage Media (43) is a volatile memory.
4. control method as virtual memory device as described in the claim 1,2 or 3, this method comprises the following steps:
A) this processor (44) receive this storage device (42) corresponding one signal of choosing of choosing assembly (50);
B) the inner temporal data of this virtual Storage Media (43) returns and deposits this storage device (42) of choosing to the last time;
C) this processor (44) transmits a cancellation binding signal to this USB host (10);
D) up-to-date this storage device (42) Data Update of choosing is to this virtual Storage Media (43);
E) this processor (44) rebulids this virtual memory device (40) and this USB host (10) binding;
F) this USB host (10) is through these virtual Storage Media (43) data of this universal serial bus device controller (41) access.
CN2010101184644A 2010-03-05 2010-03-05 Virtual storage device and control method thereof Pending CN102193742A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010101184644A CN102193742A (en) 2010-03-05 2010-03-05 Virtual storage device and control method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010101184644A CN102193742A (en) 2010-03-05 2010-03-05 Virtual storage device and control method thereof

Publications (1)

Publication Number Publication Date
CN102193742A true CN102193742A (en) 2011-09-21

Family

ID=44601886

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010101184644A Pending CN102193742A (en) 2010-03-05 2010-03-05 Virtual storage device and control method thereof

Country Status (1)

Country Link
CN (1) CN102193742A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107004105A (en) * 2015-09-16 2017-08-01 华为技术有限公司 A kind of release identification circuit and terminal

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761222A (en) * 2005-11-22 2006-04-19 华中科技大学 Storage network adapter of supporting virtual interface
CN101644995A (en) * 2008-08-05 2010-02-10 晶天电子(深圳)有限公司 Multi-layer control multi-flash-memory device, memory device and data partitioning solid state hard disc

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761222A (en) * 2005-11-22 2006-04-19 华中科技大学 Storage network adapter of supporting virtual interface
CN101644995A (en) * 2008-08-05 2010-02-10 晶天电子(深圳)有限公司 Multi-layer control multi-flash-memory device, memory device and data partitioning solid state hard disc

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107004105A (en) * 2015-09-16 2017-08-01 华为技术有限公司 A kind of release identification circuit and terminal
CN107004105B (en) * 2015-09-16 2019-10-25 华为技术有限公司 A kind of release identification circuit and terminal

Similar Documents

Publication Publication Date Title
US9043541B2 (en) Storage control device, storage device, and control method for controlling storage control device
CN105593942B (en) Volatile memory framework and related controller in non-volatile memory device
US20080195833A1 (en) Systems, methods and computer program products for operating a data processing system in which a file system's unit of memory allocation is coordinated with a storage system's read/write operation unit
CN104050097A (en) Selecting between non-volatile memory units having different minimum addressable data unit sizes
CN102591783B (en) Programmable memory controller
EP1983519A3 (en) System and method for providing program information, and recording medium used therefor
CN104202197A (en) Equipment management method and device
CN101118477A (en) Process for enhancing magnetic disc data accessing efficiency
JP2005196769A (en) Data management device and method for flash memory
CN102681946A (en) Memory access method and device
CN104834477A (en) Data writing method and device based on flash memory
CN104571942B (en) Data-storage system and non-signal analysis method
CN102169419A (en) RAID (redundant array of independent disks) data block splitting and assembling method based on SATA (serial advanced technology attachment) controller
US20130275652A1 (en) Methods and structure for transferring additional parameters through a communication interface with limited parameter passing features
US7831758B2 (en) Accelerating input/output (IO) throughput on solid-state memory-based mass storage device
CN109375868B (en) Data storage method, scheduling device, system, equipment and storage medium
CN204390023U (en) A kind of industrial control system
CN106598548A (en) Solution method and device for read-write conflict of storage unit
CN104615565A (en) SAS card device with transmission rate reaching 12Gb
CN102193742A (en) Virtual storage device and control method thereof
CN106776388A (en) Server system and read method
CN104133781A (en) Network storage equipment and method thereof for improving data access speed
CN102207921B (en) Based on system and the method thereof of UASP protocol realization multiport Storage Media
CN201662797U (en) Virtual storage device
CN203217927U (en) Low cost LED synchronous display control system without sending card

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20110921