CN101291319A - Method, system and device for access storage apparatus - Google Patents

Method, system and device for access storage apparatus Download PDF

Info

Publication number
CN101291319A
CN101291319A CNA2007100277014A CN200710027701A CN101291319A CN 101291319 A CN101291319 A CN 101291319A CN A2007100277014 A CNA2007100277014 A CN A2007100277014A CN 200710027701 A CN200710027701 A CN 200710027701A CN 101291319 A CN101291319 A CN 101291319A
Authority
CN
China
Prior art keywords
usb
network interface
sent
data
interface
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
CNA2007100277014A
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNA2007100277014A priority Critical patent/CN101291319A/en
Publication of CN101291319A publication Critical patent/CN101291319A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a storage system. The storage system comprises a USB adapter and a storage device, wherein the USB adapter is provided with a USB interface and a first network interface; the storage device is provided with a second network interface; external USB equipment can be interacted with the storage system by the USB adapter and the storage device so as to operate the storage system.

Description

A kind of method of access to storage device, system and its apparatus
Technical field
The present invention relates to areas of information technology, refer in particular to a kind of method, system and its apparatus of access to storage device.
Background technology
Along with the rise of digital home and enriching constantly of audio-video frequency media content, the new-type audio-visual equipment such as media filter that DVD (the being referred to as network DVD) player and being used for of television set (being referred to as streamium TV), the support media file playing function of increasing support media file playing function couples together computer and television set have appearred on the market.These new-type audio-visual equipment generally all are provided with USB (universal serial bus), i.e. USB interface, and the equipment that this class has USB interface generally is referred to as USB device.USB device has easy to use, and speed is fast, connects flexibly, plug and play, advantage such as bus-powered, USB MASS STORAGE be a kind of in USB device most popular agreement, go up USB flash disk, portable hard drive, the many memory devices such as MP3, MP4 that market occurs at present and all support this agreement.New-type audio-visual equipment recited above is also supported this agreement, Just because of this, we are when using these new-type audio-visual equipment, only need the USB interface of these audio-visual equipment and the USB interface of storage devices such as USB flash disk, portable hard drive to be linked to each other with the USB connecting line, and need not do other configuration, these audio-visual equipment just can communicate according to devices such as USB MASS STORAGE agreement and USB flash disk, portable hard drives, discern these storage devices automatically and play wherein content automatically.
These new-type audio-visual equipment are when visit USB flash disk or portable hard drive, it all is the mode of operation of " monopolizing ", be that USB flash disk or portable hard drive can only be operated by some independent audio-visual equipment, can not be simultaneously by other device accesses, thereby some problems have in use appearred, problem at first is exactly that content in USB flash disk or the portable hard drive is inconvenient to share, the development of digital home has now made increasing family have many new-type audio-visual equipment, many times the situation that many audio-visual equipment are visited same memory device may appear, watch the film of depositing in the portable hard drive such as the one family member by the streamium TV machine, and another kinsfolk thinks to appreciate the music that exists in the portable hard drive by sound equipment this moment, or by the document in the computer access portable hard drive, this is the recurrent situation of meeting, but owing to be the operation of " monopolizing formula " now, these audio-visual equipment or computer be access to storage device simultaneously, event uses very inconvenient, thereby needs a kind of technology or product to satisfy people's this demand.
Moreover, use USB flash disk or portable hard drive to also have a deficiency as the storage device of these new-type audio-visual equipment, it is exactly the growth that the capacity of USB flash disk or portable hard drive can't adapt to storage demand, network technology, digital multimedia technology all develop very fast now, a lot of people obtain media contents such as film, TV, music by network download or alternate manner, and on these new-type audio-visual equipment, play, this has produced very big demand to big capacity storage.With the film is example, the size of the film of 90 minutes single-definition of a duration is about 4.5GB, and the size of 90 minutes high definition film of a duration is about 23GB, one family is just stored the memory space that 10 high definition films just need nearly 250GB, this near or surpass the capacity of single hard disk of main flow on the market.At present portable hard drive has been difficult to satisfy these audio-visual equipment to the demand of big capacity storage.
The continuous growth of family's storage demand is just impelling NAS equipment to enter family.NAS is the abbreviation of NetworkAttached Storage, and Chinese is called network attached storage.In the NAS storage organization, storage system no longer is attached to certain server or client computer by the I/O bus, but directly links to each other with network by network interface, by the user by access to netwoks.NAS equipment has that capacity is big, extendible, storage security, be easy to advantage such as visit, and the capacity of family expenses NAS equipment can reach the TB level, can store hundreds of high-definition movies, owing to adopt a plurality of hard disk redundant techniques, stores safer.Moreover owing to be by access to netwoks, the content in the NAS equipment is shared very convenient by network.These characteristics of NAS equipment, make it be very suitable for being used as the storage center or the media center of family, but because NAS equipment is by access to netwoks and shared, can only connect network by computer traditionally visits it, and these above-mentioned new-type audio-visual equipment generally all conduct interviews to miscellaneous equipment by USB interface, it is not provided with network interface, so these equipment just have no idea by network NAS equipment to be advanced visit, also just have no idea to utilize the big capacity of NAS equipment, conveniently share, can be by advantages such as network remote visits.
Because these new-type audio-visual equipment generally all are provided with USB interface, describe for the ease of the back, we are referred to as external USB equipment with the device of similar above-mentioned these new-type audio-visual equipment.
Summary of the invention
In view of this, the object of the present invention is to provide a kind of method, system and its apparatus of access to storage device.This method, the very convenient a plurality of external USB equipment of system and its apparatus are shared, and can be satisfied the requirement of external USB equipment to memory space.
For reaching above purpose, method of the present invention is as follows:
A, USB adapter receive the request that external USB equipment sends, and are sent to storage device after it is handled accordingly;
B, storage device with the reduction of data of receiving after, reply, and be sent to the USB adapter after this is replied processing;
Replying after C, USB adapter receive and handle will send to external USB equipment after it reduction.
Wherein, the detailed process of steps A is: the USB adapter receives the request of sending from external USB equipment, and this request as data, is become the IP bag with this data encapsulation, with ICP/IP protocol this IP bag is sent to storage device.
The detailed process of step B is:
A, storage device carry out communication with ICP/IP protocol and USB adapter, receive its IP that sends over bag, and the data in the IP bag are taken out;
B, storage device are handled the data of taking out with USB MASS STAORAGE agreement, and generation is replied;
C, storage device reply this as data, and this data encapsulation is become the IP bag, with the TCP/TP agreement these data are sent to the USB adapter.
Step C concrete operations are: the USB adapter receives the I P bag that sends, and takes out data wherein, and sends it to external USB equipment.
Described USB adapter and external USB equipment room carry out communication with USB MASS STORAGE agreement.
The present invention provides a kind of USB adapter again, it comprises USB interface, first protocol conversion module and first network interface, this USB interface and this first network interface are undertaken alternately by first protocol conversion module, this first protocol conversion module is sent to first network interface after being used for the request that USB interface is received or replying processing, or is sent to USB interface after the reduction of data that first network interface is received.
The described request that USB interface is received or reply processing after be sent to first network interface, specifically be meant request or reply to become IP to wrap, and be sent to first network interface as data and with this data encapsulation.
Be sent to USB interface after the described reduction of data that first network interface is received, specifically be meant to receive the IP bag that this first network interface sends over and take out wherein data, then these data are sent to USB interface.
Described this USB adapter can further comprise the virtual partition module.
The present invention also provides a kind of storage device, it is made up of second network interface, second protocol conversion module and memory module, wherein this second network interface and this memory module are undertaken alternately by second protocol conversion module, be sent to memory module after the reduction of data that this second protocol conversion module is used for second network interface is received, or the request that memory module is sent or response are sent to second network interface after handling.
Described this storage device further comprises Magnetic Disk Controler and hard disk.
Be sent to memory module after the described reduction of data that second network interface is received, specifically be meant the data of taking out in the IP bag that second network interface receives, then these data are sent to memory module.
Be sent to second network interface after described request that memory module is sent or response are handled, be meant that specifically request that memory module is sent or response as data, become the IP bag to this data encapsulation, this IP bag is sent to second network interface.
The present invention provides a kind of storage system again, it is made up of USB adapter and storage device, this USB adapter is provided with USB interface, first network interface and first protocol conversion module, this storage device is provided with second network interface, second protocol conversion module and memory module, wherein this USB interface is mutual by this first protocol conversion module and first network interface, this first network interface and this second network interface are mutual, and this second network interface is operated memory module by second protocol conversion module.
Described this USB adapter and external USB equipment room communicate with USB MASS STORAGE agreement.
Described this USB interface is mutual by this first protocol conversion module and first network interface, be sent to first network interface after specifically comprising the request that this first protocol conversion module receives USB interface or replying processing, or be sent to USB interface after the reduction of data that first network interface is received.
The described request that USB interface is received or reply processing after be sent to first network interface, specifically be meant this request or reply to become the IP bag, and be sent to first network interface as data and with this data encapsulation.
Be sent to USB interface after the described reduction of data that first network interface is received, specifically be meant to receive the IP bag that first network interface sends and take out wherein data, then these data are sent to USB interface.
Described this second network interface is operated memory module by second protocol conversion module, be sent to memory module after specifically comprising the reduction of data that this second protocol conversion module receives second network interface, or the request that memory module is sent or response are sent to second network interface after handling.
Be sent to memory module after the described reduction of data that second network interface is received, specifically be meant the data of taking out in the IP bag that second network interface receives, then these data are sent to memory module.
Be sent to second network interface after described request that memory module is sent or response are handled, be meant that specifically request that memory module is sent or response as data, become the IP bag to this data encapsulation, this IP bag is sent to second network interface.
Wherein carry out communication with ICP/IP protocol between this first network interface and second network interface.
Described this memory module further comprises at least one Magnetic Disk Controler and at least one hard disk.
Described this USB adapter further comprises the virtual memory module, and this virtual memory module is provided with virtual partition.
The positional information that has institute's deposit data in this storage device on described this virtual partition.
Described system is provided with a plurality of USB adapters.
There are a plurality of USB interface to be used for communicating on the described USB adapter with external USB equipment.
Described first network interface and described second network interface are mutual by the network switch.
The mthods, systems and devices of access to storage device provided by the invention solved traditional NAS equipment can only be by access to netwoks not can easily with the direct-connected problem of numerous external USB equipment in the family, by method of the present invention, a plurality of external USB equipment can be shared same storage device very easily, make the kinsfolk can use different audio-visual equipment to visit the content of same storage device and be independent of each other.
Moreover, utilize the method via USB adapter access to storage device of the present invention, the advantage of USB device " plug and play " is in the same place with advantages such as the big capacity of NAS equipment, storage security, has solved the demand of external USB equipment big capacity storage space.
The 3rd, described the 2nd USB adapter of the application of the invention is visited the method for a plurality of storage devices, can make a plurality of external USB equipment visit a plurality of storage devices, increase the flexibility of storage system greatly, also expand the access profile of external USB equipment by network remote.
Description of drawings
Fig. 1 is a USB adapter architectural schematic of the present invention;
Fig. 2 is a storage device architectural schematic of the present invention;
Fig. 3 is a kind of application schematic diagram of storage system of the present invention;
Fig. 4 is the another kind of schematic diagram of using of storage system of the present invention;
Fig. 5 is a kind of data transaction schematic diagram of visiting the method for storage system of the present invention;
Fig. 6 is a kind of message conversion schematic diagram of visiting the method for storage system of the present invention;
Fig. 7 is a kind of execution mode schematic diagram that a plurality of external USB equipment of the present invention is shared a storage device;
Fig. 8 is the another kind of execution mode schematic diagram that a plurality of external USB equipment of the present invention is shared a storage device;
Fig. 9 is a plurality of storage device schematic diagrames of an external USB device access of the present invention;
Figure 10 is the 2nd USB adapter architectural schematic in the another execution mode of the present invention;
Figure 11 is a plurality of storage device schematic diagrames of a plurality of external USB device access of the present invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, below in conjunction with embodiment and accompanying drawing, the present invention is described in more detail.
Storage system of the present invention comprises USB adapter and storage device, and this USB adapter is provided with the USB interface and first network interface, and this storage device is provided with second network interface and memory module.
As shown in Figure 1, the USB adapter is made up of USB interface, first protocol conversion module and first network interface.This USB interface is undertaken alternately by this first protocol conversion module and this first network interface, and this first network interface can be various ways, can be Ethernet interface, also can be the WIFI interface, is example in the present embodiment with the Ethernet interface.This first protocol conversion module is used to carry out the data transaction between the USB interface and first network interface.When this USB adapter operate as normal, its USB interface is connected with external USB interface on the external USB equipment by USB cable, its first network interface directly or by the network switch is connected (seeing also Fig. 3 and Fig. 4) with second network interface in the storage device, at this moment, USB interface and external USB equipment room carry out communication with USB MASS STORAGE agreement, carry out communication with ICP/IP protocol between first network interface and second network interface, first protocol conversion module is used to carry out the data transaction between the USB interface and first network interface.
As shown in Figure 2, this storage device comprises second network interface, second protocol conversion module and memory module, and this memory module comprises Magnetic Disk Controler and hard disk.This second network interface is undertaken alternately to carry out operations such as data access by this second protocol conversion module and this memory module.This second network interface also can be various ways, as Ethernet interface, WIFI interface etc., is example here with the Ethernet interface.This second protocol conversion module is mainly used in delivers to memory module after the data that this second network interface is sent here are reduced, or delivers to second network interface after the data that memory module is sent here are handled.This memory module can be operated accordingly according to the request that this second protocol conversion module is sent here, and operating result is back to this second protocol conversion module.Magnetic Disk Controler in this memory module can be IDE controller, SATA controller or scsi controller, and the interface of hard disk can be ide interface, SATA interface or scsi interface in this memory module.In the present embodiment, the Magnetic Disk Controler here is the SATA controller, and hard disk is the hard disk of SATA interface.
Fig. 3 is that of storage system of the present invention uses schematic diagram.An external USB equipment (as the television set of network enabled media play) is connected with storage system of the present invention, in order to play the content in the storage device.This external USB equipment has the external USB interface, and this external USB interface is connected with USB interface on the USB adapter by USB cable, and first network interface on this USB adapter is connected with second network interface on the storage device.
After above-mentioned connection is physically finished, when using system of the present invention for the first time, need carry out initialization to this system, so that setting up with this storage device, this USB adapter is connected.Initialized detailed process is as follows: the first network interface configuring static IP address that at first is the USB adapter, then the IP address of second network interface above the storage device also is configured to the IP address of the same network segment, after first network interface and second network interface have obtained the IP address of the same network segment, first network interface can send some broadcast packets and seek storage device, these broadcast packet the insides include the id information of this USB adapter, because the IP address of first network interface and second network interface is in the same network segment, so second network interface on the storage device can be received these broadcast packets.After receiving these bags, second network interface responds with regard to sending out broadcast packet, the broadcast packet the inside of response includes information such as the IP address of second network interface and storage device ID, first network interface is received after the bag of these responses, just known the IP address of second network interface and the id information of storage device, so, just set up network between first network interface and second network interface and be connected, also promptly set up being connected between USB adapter and storage device, initialized process is finished.Afterwards, external USB equipment will be forwarded to storage device to the request that the USB adapter sends after the USB adapter is handled.
After above-mentioned initialization procedure was finished, the USB adapter just was connected to have set up network with storage device, through following steps, and the content of external USB equipment in just can access to storage device:
A, USB adapter receive the request that external USB equipment sends, and are sent to storage device after it is handled accordingly.Here said handle accordingly be meant the USB adapter this request as data, this data encapsulation is become IP bag, with ICP/IP protocol this IP bag is sent to storage device.
B, storage device with the reduction of data of receiving after, reply, and be sent to the USB adapter after this is replied processing.Here said reduction of data is meant that storage device receives its IP that sends over bag, and the data in the IP bag are taken out; Here said replying is meant that storage device responds the data of taking out with USB MASSSTAORAGE agreement, and production is replied; Here said this is replied is sent to the USB adapter after the processing and is meant that storage device replys this as data, and this data encapsulation is become the IP bag, with the TCP/TP agreement these data is sent to the USB adapter.
Replying after C, USB adapter receive and handle, and, send to external USB equipment then with it reduction.Here be meant specifically that the USB adapter receives the I P bag that sends, and takes out data wherein, and sends it to external USB equipment.
Utilize said method, external USB equipment just can be as visit USB flash disk access to storage device.Describe one embodiment of the invention in detail below in conjunction with the Data Format Transform schematic diagram.Please join Fig. 5 and Fig. 6, when being connected to external USB equipment on the storage system of the present invention, external USB equipment can carry out communication according to the USB adapter in USBMASS STORGAE agreement and the native system, and the case of external USB device is sent a request of reading a certain file on the storage device of the present invention now.This request is one section message A that meets USB MASS STORAGE agreement.This message is sent by the external USB interface of external USB equipment, be sent to USB interface on the USB adapter via USB cable, USB interface on this USB adapter is delivered to first protocol conversion module with this message after receiving this message A, this first protocol conversion module will be handled this section message A after receiving this message A, be about to this section message A as data, add suitable header, be packaged into IP bag one by one, again this message B is delivered to first network interface after forming a new message B, this first network interface is sent to second network interface on the storage device with this message B, after second network interface receives message B, can be sent to second protocol conversion module.Second protocol conversion module reduces the message B that receives, just take out the data during IP wraps one by one, message A has just got back, promptly a USB MASS STORAGE file reads request, this second protocol conversion module should ask A to send to memory module then, this memory module will respond this request, read this file and will produce a USB MASS STORAGE and reply, and this is replied also is one section message C that meets USB MASS STORAGE agreement.This memory module is sent to second protocol conversion module with this message C, this second protocol conversion module is handled this message C, be about to this message C as data, add suitable header, be packaged into IP bag one by one, form a new message D, by second network interface this message D is sent to first network interface then.This first network interface is delivered to this first protocol conversion module with this message D, and this first protocol conversion module will reduce to message D, just takes out the data-message C in the IP bag, then this message C is sent to the external USB interface of external USB equipment.Like this, external USB equipment sends a USBMASS STORAGE request to storage system of the present invention, just obtains a corresponding USB MASS STORAGE and replys.Via such process, external USB equipment just can visit network store system of the present invention as visit common U or portable hard drive.
In the above embodiments, what we described is the situation that the USB adapter directly links to each other with storage device, more general, USB adapter of the present invention also can link to each other with storage device by a network switch, as shown in Figure 4, an external USB equipment links to each other with a USB adapter, and this USB adapter links to each other with storage device by a network switch.When the USB adapter links to each other with storage device by the network switch, its initialized process can be each network interface distributing IP address by the DHCP service of the network switch also except being first network interface and the second network interface assigned ip address on the storage device on the USB adapter by hand automatically.Same, first network interface can send some broadcast packets and seek storage device, these broadcast packet the insides include the id information of USB adapter, these broadcast packets pass to second network interface by the network switch, second network interface receives that these bags send broadcast packet afterwards and respond, the broadcast packet the inside of response includes the IP address of second network interface and the id information of storage device, these broadcast packets are sent to first network interface through behind the network switch, first network interface is received after the bag of these responses, the IP address of second network interface and the id information of storage device have just been known, the USB adapter just and between the storage device has been set up connection like this, has promptly finished initialization.External USB equipment just can access to storage device afterwards, and detailed process is with recited above identical.
If being arranged, a plurality of external USB equipment want to share same storage device, as shown in Figure 7, then only need a USB adapter to be installed for each external USB equipment, then each USB adapter is connected to the network switch, this storage device also is connected to the consolidated network switch, respectively each USB adapter is carried out initialization then.The process of describing among initialized process and the top embodiment is the same, because each USB adapter all is to connect by the id information of USB adapter and the id information of storage device, the id information of each USB adapter is all inequality, so each USB adapter can connect with this storage device of sharing, thereby realize that a plurality of external USB equipment can share the purpose of same storage device very easily.
In addition, also can make a plurality of external USB equipment share totally one storage device by the method that a plurality of USB interface are set on a USB adapter, as shown in Figure 8.
As the another kind of execution mode of the method for the invention, system and device, an external USB equipment also can connect a plurality of storage devices, as shown in Figure 9.External USB equipment links to each other with a USB adapter, and a USB adapter links to each other with the network switch, and this network switch links to each other with a plurality of storage devices.
As another execution mode of USB adapter of the present invention, we are called second adapter for convenience of description, as shown in figure 10.This second adapter also further comprises a virtual memory module.This USB interface is undertaken alternately by this virtual memory module and this first protocol conversion module and this first network interface, this virtual memory module bag expands one or more virtual partitions, and this each virtual partition is corresponding to a certain partition holding in a certain storage device or a certain storage device.
As the another kind of execution mode of storage device of the present invention, the memory module of this storage device is provided with partition holding.This second network interface is undertaken mutual so that the data on this partition holding are carried out corresponding operating by this second protocol conversion module and this memory module.
When the described system of present embodiment operate as normal, its second USB interface is connected by the external USB interface of USB cable and external USB equipment, its first network interface is connected with the network switch, and this network switch is connected with storage device 1 and storage device 2 simultaneously.
After above-mentioned physical connection is finished, when using the described system of present embodiment for the first time, need carry out initialization to this system, so that setting up, the 2nd USB adapter and storage device 1 and storage device 2 be connected, and on the virtual memory module of the 2nd USB adapter, set up virtual partition 1 and virtual partition 2 respectively, this virtual partition 1 is corresponding with partition holding 1 and partition holding 2 on storage device 1 and the storage device 2 respectively with virtual partition 2.Initialized detailed process is as follows: at first be the first network interface configuring static IP address of the 2nd USB adapter, then the IP address of second network interface above the storage device 1 also be configured to the IP address of the same network segment.First network interface can send some broadcast packets and seek storage device 1 then, these broadcast packet the insides include the id information of the 2nd USB adapter, second network interface responds with regard to sending out broadcast packet after receiving these broadcast packets, comprise the IP address of second network interface and the id information of storage device 1 in the broadcast packet of response, first network interface is received after the bag of these responses, the IP address of second network interface and the id information of storage device 1 have just been obtained, storage device 1 is just passed to the 2nd USB adapter with the subregion and the directory information of own partition holding then, has so just formed virtual partition 1 in the virtual memory module of the 2nd USB adapter.Subregion, catalogue and file above the partition information of this virtual partition 1, the bibliographic structure on it and fileinfo and the storage device 1 are corresponding.These information descriptions above this virtual partition 1 positional information of all data in the storage device 1.That is to say that these data are to be stored in the partition holding of storage device 1, but the positional information of these data can obtain via virtual partition 1.When a certain file on this virtual partition 1 sends request, this request will be sent to memory module 1 in the storage device 1 by the 2nd USB adapter, and point to the deposit position of this file reality.So promptly set up being connected of the 2nd USB adapter and 1 of storage device, used the same method, the 2nd USB adapter can be set up and being connected of 2 of storage devices, and forms virtual partition 2 on the 2nd USB adapter, and initialized process is finished.
After initialization procedure is finished, the 2nd USB adapter has just been set up with storage device 1 and storage device 2 respectively and has been connected, corresponding virtual partition 1 and virtual partition 2 have been had on the 2nd USB adapter, when external USB equipment is inserted in the USB interface on the 2nd USB adapter, external USB equipment will carry out communication according to USB MASS STORAGE agreement and the 2nd USB adapter automatically, external USB equipment will identify two virtual partitions on the 2nd USB adapter, when external USB equipment when a certain file sends request on to a certain virtual partition, since this virtual partition with storage device 1 or 2 in corresponding partition holding set up corresponding relation, should request can be sent to corresponding partition holding in the respective memory device this moment, this storage device can respond to produce and replys this request, and this is replied by the 2nd USB adapter turns back in the external USB interface of external USB equipment.The a plurality of storage devices of external USB device access have so then been realized.
And as realizing a plurality of storage devices in a plurality of external USB device access networks, as shown in figure 11, then only be required to be each external USB equipment disposition the 2nd USB adapter, then each the 2nd USB adapter is connected the network switch, each storage device is also connected the network switch, respectively each the 2nd USB adapter is carried out initialization then.Because each the 2nd USB adapter all is to connect by the id information of the 2nd USB adapter and id information and a plurality of storage device of a plurality of storage devices, and in the virtual partition module of each the 2nd USB adapter a plurality of virtual partitions are arranged all, and this each virtual partition is corresponding with a storage device, takes this to realize a plurality of storage devices in a plurality of external USB device access networks.
Certainly, another kind of execution mode as the foregoing description, described system only is provided with one the 2nd USB adapter, and it is mutual with a plurality of external USB equipment that a plurality of USB interface are set on this adapter, and then realizes a plurality of storage devices in a plurality of external USB device access networks.
The mthods, systems and devices of access to storage device provided by the invention solved traditional NAS equipment can only be by access to netwoks not can easily with the direct-connected problem of numerous external USB equipment in the family.By method of the present invention, advantages such as the advantage of external USB equipment " plug and play " and the big capacity of NAS equipment, storage security have solved the demand of external USB equipment to big capacity storage space together.Moreover, visit the method for same storage device by a plurality of USB adapters, the present invention has also realized allowing a plurality of external USB equipment share content in the same storage device, makes the kinsfolk can use different audio-visual equipment to visit the content of same storage device and be independent of each other.In addition, the method for utilizing the present invention's the 2nd USB adapter by the network switch a plurality of storage devices to be conducted interviews can increase the flexibility of whole storage system greatly, has also expanded the access profile of external USB equipment.

Claims (28)

1, a kind of method of access to storage device is characterized in that, said method comprising the steps of:
A, USB adapter receive the request that external USB equipment sends, and are sent to storage device after it is handled accordingly;
B, storage device with the reduction of data of receiving after, reply, and be sent to the USB adapter after this is replied processing;
Replying after C, USB adapter receive and handle will send to external USB equipment after it reduction.
2, the method for claim 1, it is characterized in that the detailed process of steps A is: the USB adapter receives the request of sending from external USB equipment, and this is asked as data, this data encapsulation is become the IP bag, this IP bag is sent to storage device with ICP/IP protocol.
3, method as claimed in claim 2 is characterized in that, the detailed process of step B is:
A, storage device carry out communication with ICP/IP protocol and USB adapter, receive its IP that sends over bag, and the data in the IP bag are taken out;
B, storage device are handled the data of taking out with USB MASS STAORAGE agreement, and generation is replied;
C, storage device reply this as data, and this data encapsulation is become the IP bag, with the TCP/TP agreement these data are sent to the USB adapter.
4, as claim 2 or 3 described methods, it is characterized in that step C concrete operations are: the USB adapter receives the IP bag that sends, and takes out data wherein, and sends it to external USB equipment.
As the described arbitrary method of claim 1 to 4, it is characterized in that 5, USB adapter and external USB equipment room carry out communication with USB MASS STORAGE agreement.
6, a kind of USB adapter, it is characterized in that described adapter comprises USB interface, first protocol conversion module and first network interface, this USB interface and this first network interface are undertaken alternately by first protocol conversion module, this first protocol conversion module is sent to first network interface after being used for the request that USB interface is received or replying processing, or is sent to USB interface after the reduction of data that first network interface is received.
7, device as claimed in claim 6, it is characterized in that, the described request that USB interface is received or reply processing after be sent to first network interface, specifically be meant this request or reply to become the IP bag, and be sent to first network interface as data and with this data encapsulation.
8, device as claimed in claim 6, it is characterized in that, be sent to USB interface after the described reduction of data that first network interface is received, specifically be meant to receive the IP bag that first network interface sends over and take out wherein data, then these data are sent to USB interface.
9, device as claimed in claim 6 is characterized in that, described this USB adapter can further comprise the virtual partition module.
10, a kind of storage device, it is characterized in that described device is made up of second network interface, second protocol conversion module and memory module, this second network interface and this memory module are undertaken alternately by second protocol conversion module, be sent to memory module after the reduction of data that this second protocol conversion module is used for second network interface is received, or the request that memory module is sent or response are sent to second network interface after handling.
11, device as claimed in claim 10 is characterized in that, this storage device further comprises Magnetic Disk Controler and hard disk.
12, device as claimed in claim 10, it is characterized in that, be sent to memory module after the described reduction of data that second network interface is received, specifically be meant the data of taking out in the IP bag that second network interface receives, then these data are sent to memory module.
13. device as claimed in claim 10, it is characterized in that, after handling, described request that memory module is sent or response be sent to second network interface, be meant that specifically request that memory module is sent or response are as data, this data encapsulation is become the IP bag, this IP bag is sent to second network interface.
14, a kind of storage system, it is characterized in that this system is made up of USB adapter and storage device, this USB adapter is provided with USB interface, first network interface and first protocol conversion module, this storage device is provided with second network interface, second protocol conversion module and memory module, described USB interface is mutual by this first protocol conversion module and first network interface, this first network interface and this second network interface are mutual, this second network interface by second protocol conversion module with memory module is operated.
15, system as claimed in claim 14 is characterized in that, this USB adapter and external USB equipment room communicate with USB MASS STORAGE agreement.
16, system as claimed in claim 14, it is characterized in that, described this USB interface is mutual by this first protocol conversion module and first network interface, be sent to first network interface after specifically comprising the request that this first protocol conversion module receives USB interface or replying processing, or be sent to USB interface after the reduction of data that first network interface is received.
17, system as claimed in claim 16, it is characterized in that, the described request that USB interface is received or reply processing after be sent to first network interface, specifically be meant this request or reply to become the IP bag, and be sent to first network interface as data and with this data encapsulation.
18, system as claimed in claim 16, it is characterized in that, be sent to USB interface after the described reduction of data that first network interface is received, specifically be meant to receive the IP bag that first network interface sends and take out wherein data, then these data are sent to USB interface.
19, system as claimed in claim 14, it is characterized in that, described this second network interface is operated memory module by second protocol conversion module, be sent to memory module after specifically comprising the reduction of data that this second protocol conversion module receives second network interface, or the request that memory module is sent or response are sent to second network interface after handling.
20, system as claimed in claim 19, it is characterized in that, be sent to memory module after the described reduction of data that second network interface is received, specifically be meant the data of taking out in the IP bag that this second network interface receives, then these data are sent to memory module.
21, system as claimed in claim 19, it is characterized in that, after handling, described request that memory module is sent or response be sent to second network interface, be meant that specifically request that memory module is sent or response are as data, this data encapsulation is become the IP bag, this IP bag is sent to second network interface.
22, system as claimed in claim 14 is characterized in that, carries out communication with ICP/IP protocol between this first network interface and second network interface.
23, system as claimed in claim 15 is characterized in that, this memory module further comprises at least one Magnetic Disk Controler and at least one hard disk.
24, system as claimed in claim 15 is characterized in that, this USB adapter further comprises the virtual memory module, and this virtual memory module is provided with virtual partition.
25, as claim 15 or 24 described systems, it is characterized in that there is the positional information of institute's deposit data in this storage device on this virtual partition.
26, system as claimed in claim 14 is characterized in that, described system is provided with a plurality of USB adapters.
27, system as claimed in claim 14 is characterized in that, has a plurality of USB interface to be used for communicating with external USB equipment on the described USB adapter.
28, system as claimed in claim 14 is characterized in that, described first network interface and described second network interface are mutual by the network switch.
CNA2007100277014A 2007-04-20 2007-04-20 Method, system and device for access storage apparatus Pending CN101291319A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2007100277014A CN101291319A (en) 2007-04-20 2007-04-20 Method, system and device for access storage apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2007100277014A CN101291319A (en) 2007-04-20 2007-04-20 Method, system and device for access storage apparatus

Publications (1)

Publication Number Publication Date
CN101291319A true CN101291319A (en) 2008-10-22

Family

ID=40035398

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2007100277014A Pending CN101291319A (en) 2007-04-20 2007-04-20 Method, system and device for access storage apparatus

Country Status (1)

Country Link
CN (1) CN101291319A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098309A (en) * 2011-02-22 2011-06-15 杭州华三通信技术有限公司 Device and method for realizing multiuser access to USB equipment
CN101808105B (en) * 2009-02-16 2012-12-05 北京闪联云视信息技术有限公司 Method, device and system for accessing data
CN103197894A (en) * 2012-01-09 2013-07-10 联想(北京)有限公司 Storage device and computer system
CN103383673A (en) * 2012-05-02 2013-11-06 宏碁股份有限公司 Device, system, and method of universal serial bus USB network storage
CN111264049A (en) * 2017-10-24 2020-06-09 株式会社索思未来 Converter and data transmission system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101808105B (en) * 2009-02-16 2012-12-05 北京闪联云视信息技术有限公司 Method, device and system for accessing data
CN102098309A (en) * 2011-02-22 2011-06-15 杭州华三通信技术有限公司 Device and method for realizing multiuser access to USB equipment
CN102098309B (en) * 2011-02-22 2014-04-16 杭州华三通信技术有限公司 Device and method for realizing multiuser access to USB equipment
CN103197894A (en) * 2012-01-09 2013-07-10 联想(北京)有限公司 Storage device and computer system
CN103383673A (en) * 2012-05-02 2013-11-06 宏碁股份有限公司 Device, system, and method of universal serial bus USB network storage
CN111264049A (en) * 2017-10-24 2020-06-09 株式会社索思未来 Converter and data transmission system
CN111264049B (en) * 2017-10-24 2021-10-22 株式会社索思未来 Converter and data transmission system

Similar Documents

Publication Publication Date Title
TWI481239B (en) Discovery of electronic devices in a combined network
CN106161163B (en) High-integration-level multimedia intelligent home gateway, management system and television box
JP5657762B2 (en) Operations to provide two-way communication of media interface
US20060182107A1 (en) Electrical devices with improved communication
CN103430492B (en) Order and the proxy device operation controlled in network
US7882252B2 (en) Providing redundancy for a device within a network
EP1561159A4 (en) Electrical devices with improved communication
EP2840539A1 (en) Communications device utilizing a central discovery mechanism, and respective method
CN102546616A (en) Achieving method for media sharing and interaction and digital household media server
US20090265443A1 (en) Network apparatus, content distribution method and computer program product
CN103858407B (en) File processing method, device and system
CN103856374A (en) Data transmission method, terminal and home interconnected system
CN101291319A (en) Method, system and device for access storage apparatus
CN103391277A (en) Media playing method, device and system
CN105052104A (en) File processing method, device, and system
CA2770391A1 (en) System and method for sharing a payload among multiple homed networks
CN102281307A (en) Remote data information sharing method based on virtual file system mode
WO2008120960A1 (en) Network bridge apparatus and communication method using the same
CN104468526B (en) A kind of content sharing method of digital media server, access method and relevant apparatus
CN109819277A (en) A kind of 4K video broadcasting method and device
EP3149920B1 (en) Technique for mediation in a residential network
JP2013516844A (en) Method and apparatus for interface to layer 2 of an open system interconnection (OSI) communication protocol
MXPA04007194A (en) Physical layer circuit and interface circuit.
JP4320046B1 (en) Device search system and control method thereof
TW201517547A (en) Media playing system and method for playing media file in area network group

Legal Events

Date Code Title Description
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Zhang Chaopeng

Document name: Written notice of preliminary examination of application for patent for invention

C06 Publication
PB01 Publication
C57 Notification of unclear or unknown address
DD01 Delivery of document by public notice

Addressee: Zhang Chaopeng

Document name: Notification of Publication of the Application for Invention

C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
DD01 Delivery of document by public notice

Addressee: Zhang Chaopeng

Document name: Notification of before Expiration of Request of Examination as to Substance

DD01 Delivery of document by public notice

Addressee: Zhang Chaopeng

Document name: the First Notification of an Office Action

DD01 Delivery of document by public notice

Addressee: Zhang Chaopeng

Document name: Notification that Application Deemed to be Withdrawn

C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20081022