Storage card and modular converter thereof with two interfaces
The present invention relates to a kind of storage card and modular converter thereof with two interfaces.
Development along with computer technology, it incorporates daily life gradually, in fact, many products are computerized, as the frequent e-dictionary that uses of modern, translation machine, digital camera etc., this electronic product before use, use in and use after, all relate to and computer between link process, with the digital camera is example, be not as traditional camera, to stay image when it is taken pictures with egative film, but convert numerical data to and be recorded in the storage card of establishing in the camera, deliver to computer by conversion again and store and show or give printing.
Because the progress of science and technology, no matter above-mentioned storage card is all different compared to the traditional soft disk on size or capacity, STONE card, Smart Media card, mmc card, Memory Stick card and Compact Flash card with circulation on the market, roughly all reached compact requirement, the capacity aspect is also more than M byte, this type of storage card has no doubt reached the purpose that cooperates the product miniaturization, the but standard specification of non-computer, when desiring to make storage card and pc connection, necessary by following approach:
1 uses card reader
This type of card reader is established at various storage cards respectively, as Smart Media card, mmc card, Memory Stick card and Compact Flash card etc. special-purpose specific card reader is arranged all, after making this card reader and the interface of computer being connected, again storage card is inserted in the card reader, can read memory card contents by card reader.
2 use the conversion flexible plastic discs: this kind conversion flexible plastic disc size is identical with 3.5 cun flexible plastic discs, which is provided with translation slot, inserts for storage card, after storage card inserts, promptly reads and writes by changing in 3.5 cun disk drives that flexible plastic disc is inserted to computer.
But there is shortcoming respectively in above-mentioned dual mode, only can read as most of card reader, can't be for writing data, read and write by soft disc player by the conversion flexible plastic disc again, then execution speed is obviously on the low side, and because of the multiple conversion by conversion flexible plastic disc and soft disc player, the possibility of mechanical fault also improves relatively; So the connection mode with existing storage card and computer remains further to be studied.
The object of the present invention is to provide a kind of storage card with two class boundary faces and modular converter that improves execution speed minimizing mechanical fault with pc connection that make things convenient for.
Realization for the foregoing invention purpose, a kind of storage card that is provided with two interfaces, it includes a memory set and a micro-control unit that is connected with this memory set, it is characterized in that: this micro-control unit has a USB interface and a HOST interface simultaneously, above-mentioned storage card with two interfaces, wherein, the micro-control unit comprises: a microprocessor, and relevant firmware is contained in its inside; One USB interfacial level controller, be respectively with microprocessor and memory set line, send after its data that memory set can be stored be converted to the USB pattern; One HOST interfacial level controller is respectively with microprocessor and memory set line, so that data-switching is become the data layout identical with corresponding product; One storer interface is as the linkage interface between memory set and microprocessor, USB interfacial level controller and HOST interfacial level controller.
The above-mentioned storage card with two interfaces, said USB interfacial level controller are to hold through storer interface and memory set line with an I/O, are connected with microprocessor with I/O end again, hold as the USB interface with an I/O again; Said HOST interfacial level controller is to hold through storer interface and memory set line with an I/O, is connected with microprocessor with I/O end again, is held as the HOST interface by an I/O again; Said USB interface is and pc connection that so that computer reads and writes data to storage card, said HOST interface is then for the Related product line that storage card is installed, with the read-write record data, by the duty of microprocessor decision storage card.
The above-mentioned storage card with two interfaces, wherein, memory set is made up of several flash memories.
The above-mentioned storage card with two interfaces, wherein, memory set is made up of several ROM (read-only memory).
Be the realization of foregoing invention purpose also simultaneously, the modular converter of a kind of pair of interface storage card that is provided is characterized in that comprising: a housing, have a storage card slot, and insert for storage card; One USB connector is for the USB slot that is plugged on the computer; One terminal base which is provided with several terminals, and the one end is to be connected with aforementioned USB connector, the other end then with storage card on the set corresponding grafting of interface edge sub-interface.
The modular converter of above-mentioned two interfaces storage card, wherein, housing is made of relatively a watchcase and a drain pan, and two ends are formed with relative breach respectively, and the breach that the one end is relative is to form storage card slot, and the relative breach of the other end is for USB connector is installed.
The modular converter of above-mentioned two interfaces storage card, wherein, terminal base is to be made of a H shape framework, and it comprises a two opposite sides frame and a connection rib, wherein forms rail groove respectively on the two side frame relative inner walls, and connection rib then is equipped with several terminals again.
Above-mentioned two interfaces storage card, wherein, described storage card front end is provided with the interface edge sub-interface, and an end at its USB interface is connected with USB interfacial level controller in the micro-control unit, and the other end is connected with USB connector by terminal.
Owing to adopted above-mentioned technical solution, the invention enables computer directly to read the storage card internal storage data, and make the read-write operation of computer more convenient fast by the high speed interface.
Further specify specific structural features of the present invention and purpose below in conjunction with accompanying drawing.
Fig. 1 is the circuit diagram of storage card of the present invention;
Fig. 2 is the circuit diagram of set micro-control unit in the storage card of the present invention;
Fig. 3 is the embodiments of the invention outside drawings;
Fig. 4 is the embodiments of the invention exploded views;
Fig. 5 is the embodiments of the invention cut-open views;
Fig. 6 is one embodiment of the invention user mode reference diagram:
Fig. 7 is further embodiment of this invention user mode reference diagram.
As shown in Figure 1, circuit structure of the present invention, it includes a micro-control unit 10 and a memory set 20, and wherein micro-control unit 10 possesses two groups of I/O interfaces simultaneously, and wherein one group of I/O interface is that interface port corresponding on the power supply brain connects, in the present embodiment, it is a kind of USB interface, and another group I/O interface is then as the HOST interface, for the product line again, in the present embodiment, it is the SPI form; Memory set 20 can be made up of flash memory or ROM (read-only memory) again, in the present embodiment, then is made up of many groups flash memory.
The inner structure of relevant above-mentioned micro-control unit 10 sees also shown in Figure 2, and it includes a microprocessor 11, a storer interface 12, a USB interfacial level controller 13, a HOST interfacial level controller 14 etc.; Wherein:
Microprocessor 11 is provided with relevant execution firmware, can be for the turnover conversion process of carrying out various data.
Storer interface 12 is the linkage interfaces as 14 of memory set 20, microprocessor 11, USB interfacial level controller 13 and HOST interfacial level controllers;
USB interfacial level controller 13 be with I/O end through the storer interface 12 with memory set 20 lines, be connected with microprocessor 11 with I/O end again, hold as the USB linkage interface with an I/O again.
HOST interfacial level controller 14 be with I/O end through the storer interface 12 with memory set 20 lines, be connected with microprocessor 11 with I/O end again, hold as the HOST interface by an I/O again.
Foregoing circuit, it is duty by microprocessor 11 decision storage cards, when storage card passes through USB interface and pc connection, microprocessor 11 will be in memory set 20 sense data, deliver to USB interfacial level controller 13 through storer interface 12 data are converted to the USB form, send into computer via the USB interface thereafter.Simultaneously, computer also can write storage card with data by the USB interface.
When storage card is located at product inside, and during with HOST interface and its line, the data output interface of product is to send into by the HOST interface, is stored in the particular address of memory set 20 after handling via microprocessor 11.
Because storage card of the present invention with two interfaces such as HOST and USB, makes it not only can be located at confession store recording data in the Related product, also can be via the USB interface with the storage data unloading in computer, or write data by computer.
Below provide an embodiment that concrete structure of the present invention and use-pattern are described.
At first see also shown in Figure 3, one storage card 30 and a modular converter 40, wherein storage card 30 inside promptly are arranged with above-mentioned micro-control unit 10 and memory set 20, its front end is provided with interface edge sub-interface 31 again, wherein four groups of terminals are as the USB interface, be to be connected with USB interfacial level controller 13 in the micro-control unit 10, all the other terminals are then as the HOST interface, be to be connected with HOST interfacial level controller 14 in the micro-control unit 10: and be that USB interface with computer links, this storage card 30 will dispose a modular converter 40, utilize connector on this modular converter 40 to be plugged to the USB interface port of computer, to constitute line.
The detailed structure of relevant modular converter 40 sees also shown in Figure 4, and it mainly forms a housing relatively by a watchcase 41 and a drain pan 42 of symmetric shape, and its inside is provided with a terminal base 43, at one end is provided with a USB connector 44 again; Wherein:
Watchcase 41 and drain pan 42 can be by suitable engagement means with relative combinations, watchcase 41 and drain pan 42 are formed with relative breach respectively at two ends again, wherein the relative breach of an end is to form a storage card slot 45, the relative breach of the other end is for being provided with USB connector 44, and said memory card slot 45 is outsides that correspondence is positioned at terminal base 43 again;
Terminal base 43 is one to be the framework of H shape, it includes the connection rib that two relative side frames and connect two side frames, wherein, two side frames are formed with a rail groove 430 respectively in the relative inner wall, slip into for storage card 30 correspondences, be equipped with several terminals 431 again on the connection rib, one end of each terminal 431 is aligned with the interface edge sub-interface 31 on the storage card 30 respectively, its other end then is connected with USB connector 44 respectively, therefore, in storage card 30 insertion modular converters 40, its interface edge sub-interface 31 is 431 corresponding pegging graft (as shown in Figure 5) of each terminal in the terminal base 43, and interface edge sub-interface 31 is connected with USB connector 44 by each terminal 431 immediately.
See also shown in Figure 6, when modular converter 40 is plugged in the USB slot 51 of computer 50 with USB connector 44, storage card 30 in the modular converter 40 constitutes line by USB interface and computer 50 immediately, because storage card 30 is direct and computer 50 lines by the USB interface, it can utilize the characteristic of USB high speed operation, improve reading and writing data speed, make the read-write motion of 50 pairs of storage cards 30 of computer more convenient fast.
Above-mentioned modular converter 40 removes and directly is plugged to USB slot 51 original on the computer 50, also can be plugged to the USB slot 61 on the hub (Hub) 60 as shown in Figure 7, and by hub 60 and computer 50 lines.
Understand concrete structure kenel of the present invention and principle of work by above-mentioned, can be applicable to existing STONE card, Smart Media card, mmc card, Memory Stick card and Compact Flash card etc. with above-mentioned design, make computer can conveniently read and write various storage card.