Summary of the invention
The objective of the invention is on the prior art basis,, provide a kind of flash memory device and method that improves data access speed at the deficiency of prior art application.
The flash memory device that the present invention improves data access speed can be achieved through the following technical solutions:
A kind of flash memory device that improves data access speed, can carry out data transmission with host computer system, device comprises: the control module that can carry out data transmission by communication protocol and host computer system, be used for storing the memory module of data, can comprise one or more basic storage modules in the memory module, control module is connected with basic storage module by bus, and basic storage module is carried out data access operation.
Basic storage module in the flash memory device of above-mentioned raising data access speed comprises one or more pieces storage mediums.
Control module in the flash memory device of above-mentioned raising data access speed is carried out data access operation with the time-sharing format circulation to basic storage module.
Data bus in the bus of the flash memory device of above-mentioned raising data access speed is selected from one or more in 8,16 or 32 position datawires.
Data bus in the flash memory device of above-mentioned raising data access speed is 16, connects basic storage module respectively by two 8 position datawires.
Data bus in the flash memory device of above-mentioned raising data access speed is 32, connects basic storage module respectively by two 16 position datawires, or connects basic storage module respectively by four 8 position datawires.
The present invention also provides a kind of method that improves data access speed, be used to improve the data access speed of host computer system to flash memory device, flash memory device comprises the control module that can carry out data transmission by communication protocol and host computer system, be used for storing the memory module of data, method comprises:
1) in memory module, provides one or more basic storage modules that are used for storing data;
2) control module is set up the one or more data channel corresponding with basic storage module;
3) will be unit from the data of main frame system with the packet, by the data channel of correspondence basic storage module is carried out accessing operation in the mode of timesharing.
Step 3) comprises in the method for above-mentioned raising data access speed: the step that receives packet; Write the data packet basic storage module, and receive the step of next packet; With the step that next packet is write other basic storage modules.
Step 3) comprises in the method for above-mentioned raising data access speed: the step that packet is divided into a plurality of parts.
A plurality of basic storage modules are connected with same data channel by data line respectively in the method for above-mentioned raising data access speed, a plurality of basic storage modules form a basic unit of storage, and a plurality of parts of packet write respectively in a plurality of basic storage modules of basic unit of storage.
In the method for above-mentioned raising data access speed, circulate successively according to the structure of basic storage module and to choose basic storage module.
The memory module of flash memory device of the present invention is provided with one or more basic storage modules, and can comprise one or more pieces storage mediums in each basic storage module, can be that unit carries out accessing operation with time-sharing format to the basic unit of storage of being made up of one or more basic storage modules with data with the packet, and then improve the speed of read-write storage medium greatly from the main frame system.
Embodiment
See also Fig. 1, the flash memory device 20 of the raising data access speed in the first embodiment of the invention comprises control module 10 and memory module 30.
Described control module 10 is connected with host computer system 50,50 of described control module 10 and host computer systems can be carried out the output data transmission by communication protocol, and described communication protocol comprises but is not limited to usb protocol, the Zigbee agreement, the IEEE1394 agreement, Bluetooth protocol, the serial ATA agreement, the IDE agreement, the SCSI agreement, the HiperLAN agreement, the IrDA infrared protocol, the HomeRF agreement, IEEE802.11x, IEEE802.11a, 802.11b, 802.11d, 802.11g, 802.15,802.16,802.3 agreement, the RS232 agreement, the RS485 agreement, the USB_OTG agreement, the UWB agreement, the GPIO agreement, the UART agreement, the CF agreement, the SM agreement, the MMC agreement, the SD agreement, the MS agreement, the MD agreement, the X-D agreement, the PCMCIA agreement, GSM, GPRS, CDMA, 2.5G and/or 3G agreement or the like.
Described control module 10 can be carried out data access operation to described memory module 30, realizes the data access of 30 of host computer system 50 and memory modules.
Comprise N basic storage module in the described memory module 30, wherein N is a natural number, and described each basic storage module can comprise one or more pieces storage mediums, can reach the effect of extended storage capacity by the quantity that increases described storage medium.
The storage medium that described basic storage module adopts can be selected from but be not limited to following storage medium: flash media (FLASH Memory), SDRAM, DRAM, EPPROM, static RAM (SRAM), ferromagnetic random access memory/ferroelectric memory (FRAM), magnetic random access memory (MRAM), ultrahigh density storage chip (MILLIPEDE) etc.
Described control module 10 is connected with basic storage module in the described memory module 30 by bus, described bus comprises control/status bus, address bus, data bus, and wherein data bus can be chosen but be not limited to 8,16 and/or 32 s' data line.
Described control module 10 can be that method one and method two carry out data access operation to described memory module 30 by dual mode:
Described method one comprises:
After described control module 10 receives first packet from host computer system 50, the data line of this packet by described 8,16 or 32 write in first basic storage module, after described control module 10 receives second packet from host computer system 50, described second packet write in second basic storage module, understandable, similarly, when described control module 10 receives N packet, just it is deposited in N basic storage module;
When described control module 10 received N+1 packet, first basic storage module of return was about to N+1 packet and deposits in first basic storage module;
The flow process that described control module 10 repeats " writing N packet of first packet to the " writes " N+1 to a N+N packet " in the basic storage module in the memory module 30; Circulation according to this is until all packets are write in the memory module 30.
Described packet size can be set, and can be but is not limited to 512 bytes, 528 bytes, 2048 bytes, 2112 bytes or the like.
As can be seen, described control module 10 by above-mentioned steps promptly with the time-sharing format cycling described first to N basic storage module, because the data rate between host computer system 50 and the control module 10 is greater than the data rate between control module 10 and single basic storage module, so can cushion the packet of some in the described control module 10, understandable, so when the data rate between host computer system 50 and the control module 10 during just in time for N times of the data rate between control module 10 and single basic storage module (above illustrated and comprised N basic storage module in the described memory module 30), the idle situation of waiting for packet can not appear in described basic storage module, it is maximum that speeds match, resource utilization reach.
Described method two is operated basic storage module simultaneously for each packet is merotomized.
See also Fig. 2, the flash memory device 22 that improves data access speed in the second embodiment of the invention comprises control module 12 and memory module 32, described control module 12 is connected with host computer system 50,50 of described control module 12 and host computer systems can be carried out the output data transmission by various communications protocols, and described communication protocol comprises but is not limited to usb protocol, the Zigbee agreement, the IEEE1394 agreement, Bluetooth protocol, the serial ATA agreement, the IDE agreement, the SCSI agreement, the HiperLAN agreement, the IrDA infrared protocol, the HomeRF agreement, IEEE802.11x, IEEE802.11a, 802.11b, 802.11d, 802.11g, 802.15,802.16,802.3 agreement, the RS232 agreement, the RS485 agreement, the USB_OTG agreement, the UWB agreement, the GPIO agreement, the UART agreement, the CF agreement, the SM agreement, the MMC agreement, the SD agreement, the MS agreement, the MD agreement, the X-D agreement, the PCMCIA agreement, GSM, GPRS, CDMA, 2.5G and/or 3G agreement or the like.
Comprise N basic storage module in the described memory module 32, wherein N is a natural number, and described each basic storage module can comprise one or more pieces storage mediums, and the quantity that increases described storage medium can reach the effect of extended storage capacity.
The storage medium of described basic storage module can be selected from but be not limited to following storage medium: flash media (FLASH Memory), SDRAM, DRAM, EPPROM, static RAM (SRAM), ferromagnetic random access memory/ferroelectric memory (FRAM), magnetic random access memory (MRAM), ultrahigh density storage chip (MILLIPEDE) etc.
Described control module 12 is connected with basic storage module in the described memory module 32 by bus, described bus comprises control/status bus, address bus, data bus, wherein data bus is 16, described 16 data bus connects basic storage module respectively by two 8 position datawires again, comprises one or more pieces 8 storage mediums in the described basic storage module.
As shown in Figure 2,28 the basic storage module that is connected with same 16 bit data bus can be regarded a basic unit of storage as, the data access method of 12 pairs of described memory modules 32 of control module is similar to the data access method of 10 pairs of described memory modules 30 of control module described in first embodiment described in the method for the raising data rate memory in the present embodiment, the basic storage module that described basic unit of storage is substituted in first embodiment gets final product, and does not repeat them here.
See also Fig. 3, the flash memory device 24 of the raising data access speed in the third embodiment of the invention comprises control module 14 and memory module 34, described control module 14 is connected with host computer system 50,50 of described control module 14 and host computer systems can be carried out the output data transmission by various communications protocols, and described communication protocol comprises but is not limited to usb protocol, the Zigbee agreement, the IEEE1394 agreement, Bluetooth protocol, the serial ATA agreement, the IDE agreement, the SCSI agreement, the HiperLAN agreement, the IrDA infrared protocol, the HomeRF agreement, IEEE802.11x, IEEE802.11a, 802.11b, 802.11d, 802.11g, 802.15,802.16,802.3 agreement, the RS232 agreement, the RS485 agreement, the USB_OTG agreement, the UWB agreement, the GPIO agreement, the UART agreement, the CF agreement, the SM agreement, the MMC agreement, the SD agreement, the MS agreement, the MD agreement, the X-D agreement, the PCMCIA agreement, GSM, GPRS, CDMA, 2.5G and/or 3G agreement etc.
Comprise N basic storage module in the described memory module 34, wherein N is a natural number, and described each basic storage module can comprise one or more pieces storage mediums, can reach the effect of extended storage capacity by the quantity that increases described storage medium.
The storage medium that described basic storage module adopts can be selected from but be not limited to following storage medium: flash media (FLASH Memory), SDRAM, DRAM, EPPROM, static RAM (SRAM), ferromagnetic random access memory/ferroelectric memory (FRAM), magnetic random access memory (MRAM), ultrahigh density storage chip (MILLIPEDE) etc.
Described control module 14 is connected with basic storage module in the described memory module 34 by bus, described bus comprises control/status bus, address bus, data bus, wherein data bus is 32, described 32 data bus connects basic storage module respectively by four 8 position datawires again, comprises one or more pieces 8 storage mediums in the described basic storage module.
As shown in Figure 3, four 8 the basic storage module that is connected with same 32 bit data bus can be regarded a basic unit of storage as, the data access method of 14 pairs of described memory modules 34 of control module is similar to the data access method of 10 pairs of described memory modules 30 of control module described in first embodiment described in the method for the raising data rate memory in the present embodiment, the basic storage module that described basic unit of storage is substituted in first embodiment gets final product, and does not repeat them here.
See also Fig. 4, the flash memory device 26 that improves data access speed in the four embodiment of the invention comprises control module 16 and memory module 36, described control module 16 is connected with host computer system 50,50 of described control module 16 and host computer systems can be carried out the output data transmission by various communications protocols, and described communication protocol comprises but is not limited to usb protocol, the Zigbee agreement, the IEEE1394 agreement, Bluetooth protocol, the serial ATA agreement, the IDE agreement, the SCSI agreement, the HiperLAN agreement, the IrDA infrared protocol, the HomeRF agreement, IEEE802.11x, IEEE802.11a, 802.11b, 802.11d, 802.11g, 802.15,802.16,802.3 agreement, RS2 32 agreements, the RS485 agreement, the USB_OTG agreement, the UWB agreement, the GPIO agreement, the UART agreement, the CF agreement, the SM agreement, the MMC agreement, the SD agreement, the MS agreement, the MD agreement, the X-D agreement, the PCMCIA agreement, GSM, GPRS, CDMA, 2.5G and/or 3G agreement or the like.
Comprise N basic storage module in the described memory module 36, wherein N is a natural number, and described each basic storage module can comprise one or more pieces storage mediums, can reach the effect of extended storage capacity by the quantity that increases described storage medium.
The storage medium that described basic storage module adopts can be selected from but be not limited to following storage medium: flash media (FLASH Memory), SDRAM, DRAM, EPPROM, static RAM (SRAM), ferromagnetic random access memory/ferroelectric memory (FRAM), magnetic random access memory (MRAM), ultrahigh density storage chip (MILLIPEDE) etc.
Described control module 16 is connected with basic storage module in the described memory module 36 by bus, described bus comprises control/status bus, address bus, data bus, wherein data bus is 32, described 32 data bus connects basic storage module respectively by two 16 data line, comprises one or more pieces 16 storage mediums in the described basic storage module.
As shown in Figure 4, wherein 2 16 the basic storage module that is connected with same 32 bit data bus can be regarded a basic unit of storage as, the data access method of 16 pairs of described memory modules 36 of control module is similar to the data access method of 10 pairs of described memory modules 30 of control module described in first embodiment described in the method for the raising data rate memory in the present embodiment, the basic storage module that described basic unit of storage is substituted in first embodiment gets final product, and does not repeat them here.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.