HK1054451B - Method and apparatus for data exchange and storage - Google Patents
Method and apparatus for data exchange and storage Download PDFInfo
- Publication number
- HK1054451B HK1054451B HK03106693.4A HK03106693A HK1054451B HK 1054451 B HK1054451 B HK 1054451B HK 03106693 A HK03106693 A HK 03106693A HK 1054451 B HK1054451 B HK 1054451B
- Authority
- HK
- Hong Kong
- Prior art keywords
- interface
- storage device
- data
- data exchange
- storage
- Prior art date
Links
Landscapes
- Signal Processing For Digital Recording And Reproducing (AREA)
Description
The invention relates to the technical field of data processing, in particular to a mobile storage method and a mobile storage device.
Background art in recent years, the rapid development of information technology has brought people into a new era of high-speed information transmission, such as high-speed broadband networks, internet with both graphics, texts and sound images, multimedia with sound, animation and video integrated, and the like. Meanwhile, digital technology is rapidly developed, and various novel and practical digital products such as digital cameras, digital video cameras, PDAs, MP3 players, digital recorders and the like are increasingly widely applied and popularized, so that people's daily life is greatly enriched.
The continuous development and wide application of the above information technology and digital technology have enabled the rapid increase of data storage technology according to moore's law, from the development of storage products to the expansion of storage capacity, from the change of storage modes to the innovation of storage media, and so on. In the case of storage media, from early magnetic media storage to optical media storage to today's semiconductor storage media such as Flash Memory (Flash Memory); the storage capacity also ranges from the past tens of KB to MB, and in recent years, to hundreds of GB; the working mode is developed from the past static non-detachable mode to the movable assembled mode, … …, and each new change represents continuous technical innovation and progress in the technical field of data storage.
As a storage device applied to digital products, various Memory cards mainly use a Flash Memory (Flash Memory) as a medium, the Memory cards include SM cards, CF cards, MMC cards, SD cards and the like, and the Memory cards have the advantages of stable performance, expandability and the like, and are widely applied to products such as digital cameras, digital video cameras and the like. However, while the storage device or the storage medium is widely used, the following disadvantages are apparent and mainly appear: 1) the storage capacity is small; the capacities of various memory cards in the current market are mainly 16M, 32M, 64M and 128M, and even though the memory cards reach GB, the prices of the memory cards are hard to bear by common consumers; for example, a 16M SM memory card is used to store digital photos or pictures, only 4 photos can be stored in an SHQ format with a resolution of 2560 × 1920, only 10 photos can be stored in an HQ format with a resolution of 2560 × 1920, only 49 photos can be stored in an SQ format with a resolution of 640 × 480, only one photo or picture can be stored in a TIFF format with a resolution of 2560 × 1920, and when a user has a large number of photos or pictures to be taken and stored, the user can only be willing to choose one of the photos or buy a plurality of memory cards; 2) the memory card can only be used as a passive storage device, and data stored in the memory card can be additionally stored after the memory card is connected to a computer; in the occasions where the portable device is inconvenient or no computer is available, additional storage cannot be realized, so that the utilization rate of the device is low; 3) the special card is special and incompatible, different standards adopted by different digital equipment manufacturers are different, and the standard is different from the interface standard of the computer, when the special card is connected with the computer for data processing, an interface converter is required, namely, a card reader is used for data conversion of the interface; if there are a plurality of different types of memory cards, the user must prepare a plurality of card readers, which is costly and complicated to operate.
Summary of the inventionit is an object of the present invention to avoid the disadvantages of the prior art and to propose a method and a device for exchanging data with and storing data in a storage device even in case the storage device is not connected to a data processing system.
The purpose of the invention can be realized by the following technical scheme: a data exchange and storage method is provided for realizing data exchange between various storage devices including a mobile storage disk and a storage card as external storage devices and between the mobile storage disk and the storage card and a data processing system host, or realizing data read from one party to be stored in any one or two of the three parties, the data exchange and storage method comprises the following steps:
setting a data exchange and storage device, which comprises an internal storage device, a system interface device, an external storage equipment interface device and a controller, wherein the controller contains solidified software;
the controller executes data reading and writing to the internal storage device and/or the external storage equipment according to the system requirement according to the command and the information from the data processing system host received by the system interface device;
the method comprises the following steps under the condition that the data exchange and storage device is not connected with the system host computer:
the controller reads the characteristic information of the external storage device through the external storage device interface device, or reads the characteristic information of the internal storage device, identifies the type of the external storage device and selects a corresponding interface protocol;
the controller reads the data stored in the corresponding external storage device connected to the interface of the external storage device interface device through the external storage device interface device, or reads the data stored in the internal storage device;
the controller stores the data acquired from the external storage device into the internal storage device according to the operation request, or stores the data read from the internal storage device into the external storage device;
sixthly, the controller reads and stores the data of the internal storage device or the external storage device according to the standard protocol of the corresponding interface.
The purpose of the invention is realized by the following technical scheme: a data exchange and storage device is designed for realizing data exchange between various storage devices, including a mobile storage disk and a storage card as external storage devices and between the mobile storage disk and the storage card and a data processing system host, or realize to store the data read from one party into any one or two of the three parties, the data exchange and storage device includes an internal storage device for data storage, a system interface device connected with the data processing system, an external storage device interface device for reading the data of the external storage device, and a controller for controlling each device, and a power supply device for supplying power to each device, the controller is electrically connected with other devices respectively, the controller is provided with solidified software which can carry out data access operation of the data exchange and storage device under the condition of not connecting a data processing system.
Compared with the prior art, the invention has the following advantages: the device of the invention has data processing capacity, and can store the data in the external storage equipment into the internal storage device of the invention or store the data in the internal storage device of the invention into the external storage equipment under the condition of not connecting a data processing system; the internal storage medium of the invention can be expanded and replaced, and if the internal storage device of the invention is a mobile hard disk, mass storage of mobile data can be realized; in addition, the interfaces of the various host interfaces and the external storage equipment can realize the connection of data processing systems with different interface types and the connection of various external storage equipment with different types, and can also realize the data access function of the data processing systems to the internal storage device and the external storage equipment; thus making the present invention a user's personal Mobile Storage Center (MSC).
Drawings
FIG. 1 is a functional block diagram of the data exchange and storage method and apparatus of the present invention
FIG. 2 is a block diagram of a function expansion application of the present invention;
FIG. 3 is a schematic block diagram of the system interface device 63 of the present invention;
FIG. 4 is a schematic block diagram of the external storage device interface apparatus 64 of the present invention;
fig. 5 is a block diagram showing the configuration of the power supply device 65 of the present invention;
FIG. 6 is a block diagram of the present invention implementing application functions using a USB interface and a CF interface;
FIG. 7 is a block diagram of the present invention implementing application functions using an IEEE1394 interface and an SM interface;
FIG. 8 is a block diagram of the present invention implementing application functionality using a variety of external storage device interfaces;
FIG. 9 is a flow chart of the operation of the present invention;
FIG. 10 is a flowchart of a data access procedure when the data processing system is not connected according to the present invention;
FIG. 11 is a flow chart of the operation of an embodiment of the apparatus of the present invention;
fig. 12 is a schematic circuit diagram of the power supply device 65 of the present invention;
FIG. 13 is a schematic circuit diagram of a liquid crystal display device 71 according to the present invention;
FIG. 14 is a circuit schematic diagram of the system interface of the present invention being a USB interface;
FIG. 15 is a circuit schematic of the system interface of the present invention being an IEEE1394 interface;
FIG. 16 is a schematic diagram of the interface circuit of the mobile hard disk drive of the present invention;
FIG. 17 is a schematic diagram of a CF interface circuit for interfacing an external storage device according to the present invention;
FIG. 18 is a schematic diagram of the SM interface circuit for the external storage device of the present invention;
FIG. 19 is a circuit schematic of the external storage device interface of the present invention being a MS interface;
FIG. 20 is a schematic circuit diagram of the SD/MMC interface of the external storage device of the present invention;
fig. 21 is a circuit schematic of the core control chip of the controller 62.
Detailed description of the preferred embodimentsthe following detailed description of the preferred embodiments will be made with reference to the accompanying drawings:
as shown in fig. 1, a data exchange and storage method for implementing data exchange between various storage devices including a removable storage disk 20 and a memory card 30 as external storage devices and between both the removable storage disk 20 and the memory card 30 and a data processing system host 10, or implementing data read from one party to be stored in any one or two parties of the removable storage disk 20, the memory card 30 and the data processing system host 10, the data exchange and storage method includes the steps of:
setting a data exchange and storage device 60, which comprises an internal storage device 61, a system interface device 63, an external storage equipment interface device 64 and a controller 62, wherein the controller 62 contains solidified software;
the controller 62 executes data read-write to the internal storage device 61 and/or the external storage devices 20 and/or 30 according to the system requirements according to the commands and information from the data processing system host 10 received by the system interface device 63;
the method comprises the following steps under the condition that the data exchange and storage device 60 is not connected with the system host 10:
the controller 62 reads the characteristic information of the external storage device 20 and/or 30 through the external storage device interface means 64 or reads the characteristic information of the internal storage means 61, and recognizes the type of the external storage device 20 and/or 30 and selects a corresponding interface protocol;
the controller 62 reads data stored in the corresponding external storage device 20 and/or 30, which has been connected to the interface of the external storage device interface means 64, through the external storage device interface means 64, or reads data stored in the internal storage means 61;
the controller 62 stores the data acquired from the external storage device 20 and/or 30 into the internal storage device 61 according to the operation request, or stores the data read from the internal storage device 61 into the external storage device 20 and/or 30;
sixthly, the controller 62 reads and stores the data from the internal storage device 61 or the external storage devices 20 and/or 30 according to the standard protocol of the corresponding interfaces.
A data exchange and storage device is used for realizing data exchange between various storage devices including a mobile storage disk 20 and a storage card 30 as external storage devices and between the mobile storage disk 20 and the storage card 30 and a data processing system host 10, or realizing data read from one party to be stored in any one or two of the mobile storage disk 20, the storage card 30 and the data processing system host 10, the data exchange and storage device comprises an internal storage device 61 for data storage, a system interface device 63 connected with a data processing system, an external storage device interface device 64 for reading external storage device data, a controller 62 for controlling each device, and a power supply device 65 for supplying power to each device, the controller 62 is respectively and electrically connected with other devices, the data exchange and storage device 60 is arranged in the controller 62, and the data exchange and storage device 60 can carry out data exchange without connecting the data processing system Solidified software for data access operations.
The data processing system of the present invention generally refers to various electronic devices with data processing capability, including but not limited to various personal computers, minicomputers, microcomputers, palm top computers, hand-held computers, notebook computers, data processing workstations, and other types of storage devices, such as disk array systems, etc.
The internal storage device 61 according to the present invention includes, but is not limited to, a hard disk, a portable hard disk, a semiconductor storage medium (device), an optical medium storage drive device; storage media for data storage thereof include magnetic storage media, optical storage media, and semiconductor storage media; the storage medium of the semiconductor memory device is flash memory (flash memory), DRAM, EEPROM, SRAM, FRAM, MRAM, and Millipede, but may be one or more semiconductor chips.
The dynamic random access memory DRAM is widely applied to the field of data storage, and is more suitable for high-speed large-capacity storage due to the expandable performance; but when the memory is in a power-off state, the stored data, namely the row, is lost. Therefore, when the memory is applied to the device of the present invention, the power supply state of the data which needs to be stored in the memory for a long time is required to be kept, that is, when the device of the present invention uses the DRAM memory as a storage medium, the device is required to be provided with a power supply device such as a battery power supply.
When the internal storage device 61 is not arranged, the data access device can be used as a multi-interface card reader device or a connecting device of an external storage device, and the data access between the external storage device and a data processing system is realized.
The system interface device 63 is a general interface, and may be a wired general interface or a wireless general interface. As shown in fig. 3, the system interface device 63 may be a single interface, or a combination of multiple same interfaces or/and multiple different types of interfaces, and each interface is connected to a different data processing system through a respective interface protocol; the interface types of the system interface device 63 include USB interface, IEEE1394 interface, Bluetooth (Bluetooth) interface, IrDA infrared interface, HomeRF interface, IEEE802.11a interface or IEEE802.11b interface, wired wide area/local area network interface, and/or wireless wide area/local area network interface.
The external storage device interface means 64 is an interface for connecting an external storage device. As shown in fig. 4, the external storage device interface means 64 may be a single interface, or a combination of multiple same interfaces or/and multiple different types of interfaces. The interfaces of the external storage device interface means 64 include, but are not limited to, interfaces of SM, CF, MMC, SD, MS, MD, and x-D, and also include serial interfaces of USB, IEEE1394, IDE, SCSI, Bluetooth, IrDA, HomeRF, IEEE802.1x, and the like. The external storage device interface device 64 may be connected to external storage devices such as sm (smartmedia), cf (compactflash), mmc (multimedia Card), sd (secure digital), ms (memorystick), md (microdrive), and x-D (x-D Picture Card), and may also be connected to a hard disk, a portable hard disk, other semiconductor storage devices, and the like.
The power supply unit 65 provides operating power for the device, and the power supply unit 5 draws power from an external and/or self-contained power source and may also obtain power supply from the data processing system via the system interface. In the case of the self-contained power supply, a power control switch is provided which can cut off/connect the power supply of the device of the invention. The self-contained power source is a photovoltaic cell, a primary cell, and/or a rechargeable battery. The power supply device 65 may be provided with a conversion circuit to charge its own rechargeable battery. As shown in fig. 5, the power supply device 65 includes a power conversion device 651, an interface power supply device 652, a power switch device 653, a battery power supply device 654, and a power status indication device 655, and the power supply device 65 can realize both interface power supply of the data processing system through the power conversion device 651, the interface power supply device 652, and the battery power supply device 654, and can realize self-contained power supply through the battery power supply device 654 when the data processing system is not connected.
The circuit principle of the power supply device 65 is shown in fig. 12, and the power supply circuit provides various power supply modes and can provide various supply voltages for the device of the invention. The power supply circuit can realize interface power supply, battery power supply and external power supply, B1 shown in the figure is a battery power supply device, J6 is an external power plug, D1 and D2 can realize that only one of the interface power supply, the battery power supply and the external power supply is selected for supply, and the interface power supply connected with a data processing system is preferentially selected; in the figure, U6, R16, R17, C24 and C27 constitute a +5V power supply voltage adjusting and stabilizing circuit, U7, C36, C37 and C39 constitute a +3.3V power supply voltage adjusting and stabilizing circuit, and U8, R18, R19, C47 and C48 constitute a +2.5V power supply voltage adjusting and stabilizing circuit.
The controller 62 is a function control device of the present invention, and as shown in fig. 1, the controller 62 not only executes a data access command of the data processing system to the internal storage device 61 and/or the external storage device of the present invention, but also can read data in the external storage device and store the data in the internal storage device 61 or read data in the internal storage device 61 and store the data in the external storage device when the data processing system is not connected. The controller 62 supports a number of different standard interfaces including parallel, serial, or wireless interfaces; a protocol for controlling the system interface means 63 and the external storage device interface means 64, interpreting, converting, controlling and transmitting the different standard interfaces; including identifying the type of parallel, serial and/or wireless interface connected and selecting the corresponding interface protocol, initiating the connection of the external storage device 20 and/or 30 connected to the apparatus of the present invention to the data processing system 10, and effecting data exchange or data access between the data processing system 10, the external storage device and the internal storage 61 according to the specification method of the corresponding interface standard protocol.
The controller 62 has independent data processing capabilities, i.e. is capable of data access to data in an external storage device 20 and/or 30 connected to the inventive arrangement in case the inventive arrangement is not connected to the data processing system 10. This independent data processing capability is primarily achieved by the solidified software of controller 62, which forms a small or micro Operating System (OS) as part of the apparatus of the present invention, implementing the various data processing functions of the apparatus of the present invention. The functional flow is shown in fig. 9.
When a user connects the apparatus of the present invention to a corresponding interface of the data processing system, the data processing operating system initializes the system interface while powering on, including initialization of the device driver, and the controller 62 also performs a series of operations:
a) the operating system in controller 62 performs device initialization, including controller 62 and peripheral interface chip circuit initialization, identification and connection of internal storage device 61, identification and connection of other external devices, etc., including generating removable storage device drive letters in data processing system 10;
b) detecting whether an external storage device 20 and/or 30 is inserted into a corresponding interface of the external storage device interface means 64, and if an external storage device is detected, simultaneously detecting the type of the inserted external storage device and selecting a corresponding interface protocol, and establishing a connection with the data processing system 10 according to a specification method of a corresponding interface standard protocol;
c) when the data processing system 10 has an operation request to the internal storage device 61 of the present invention, the data processing system 10 performs data exchange and data access operations with the internal storage device 61 through the controller 62;
d) when the data processing system 10 has an operation request for an external storage device inserted into the interface of the apparatus of the present invention, the data processing system 10 performs data exchange and data access operations with the external storage device 20 and/or 30 through the controller 62.
When the user connects the mobile storage device of the present invention to a data processing system without connecting it to a power-on state, the controller 62 performs the following operations:
a) the operating system in the controller 62 performs device initialization including circuit initialization of the controller 62 and the peripheral interface chip, identification and connection of the internal storage device 61, identification and connection of other external devices, and the like;
b) detecting whether an external storage device 20 and/or 30 is inserted into a corresponding interface of the external storage device interface means 64, and if an external storage device is detected, detecting the type of the inserted external storage device, the type of the interface and the device characteristic information at the same time, and when a plurality of different types of external storage devices are inserted into the corresponding interfaces, repeating the above operations;
c) selecting an interface protocol corresponding to the external storage device 20 and/or 30, and establishing a connection with the internal storage apparatus 61 according to a specification method of a corresponding interface standard protocol;
d) as shown in fig. 10, responding to the user operation request includes reading data in the external storage device 20 and/or 30 or the internal storage device 61, writing the read data into the internal storage device 61 or the external storage device, and prompting the read data with information through an information prompting device, such as displaying the read picture data through liquid crystal;
the controller 62 functionally includes a system interface controller, a core controller, and an external storage device interface controller, and the controller 62 may be a single control chip, or may be formed by connecting a plurality of controller chips such as the system interface controller, the core controller, and the external storage device interface controller according to a standard protocol. The core controller chip of the present invention, shown as U4 in fig. 19, is a S3C44B0 chip manufactured by SAMSUNG corporation, and serves as a core processor of the mobile storage device of the present invention, so that data exchange and data access can be performed between the internal storage device 61 and the external storage device 10, not only between a plurality of or a plurality of different interfaces, different types of data processing systems 10, external storage devices 20 and/or 30, and the internal storage device 61 through the device of the present invention, but also more importantly, in a case where the device of the present invention is not connected to the data processing system 10.
The invention expands the function and application range of the data storage device by arranging one or more expansion modules. As shown in fig. 2, the present invention may further include a manual control device 66, an information prompt device 67, an audio device 68, a video device 69, and other functional modules, which are integrated with the storage device to implement a multifunctional personal Mobile Storage Center (MSC).
The manual control device 66 is included, and the manual control device 66 is mainly used for controlling data acquisition and data transmission, controlling information prompt, switching working modes, serving as an enable switch and the like. The manual control device 66 can realize the manual control of the functions of data acquisition and transmission, information prompt, working mode switching and the like of the device; the manual controls 66 include, but are not limited to, toggle-type switches and buttons.
The information prompting device 67 is electrically connected to the controller 62 to prompt user information and working status information, including user information, product information, device and device characteristic information, working status information, and information of connected external storage devices, such as product type, model, manufacturer, etc. of the external storage devices. The information prompt mode can be liquid crystal display, light emitting diode matrix, LED state prompt, sound prompt, vibration device and the like; the information prompt may also be provided with a manual control device by which manual control of the information prompt is achieved, the manual control device not being limited to a button.
The audio device 68 is combined with an internal storage device or an external storage device to implement multimedia functions of the device of the present invention, such as music playing, sound playing, text reading, recording, etc. The audio device 68 is electrically connected to the controller 62, the internal storage device 61, the power supply device 65, the manual control device 66, and the information prompt device 67, respectively. The controller 62 may control and coordinate the overall operation of the audio devices 68, and all of the audio devices 68 may have separate controllers or may be integrated with the controller 62 and have separate drivers and applications built therein. The audio files of the audio apparatus 68 may be stored in the internal storage device 61, may be stored in an external storage device such as a CF card, an SM card, or may be stored in a connected data processing system. The multimedia functions of the audio device 68 can be manually controlled by the manual control device 66, and the working information, the status information, etc. of the audio device 68 can be prompted by the information prompting device 67.
The video device 69 is used as an extension module of the device of the present invention to implement the functions of a video system device. The video device 69 is provided with a functional interface connected with the video system equipment, the external video system equipment can transmit the video information acquired by the external video system equipment to the storage device controller 62, the controller 62 can store the video information in the internal storage device 61 or the external storage device, and the video information can also be transmitted to the data processing system connected with the storage device controller. The transmission of said video information can be controlled by means of a manual control device 66. The video device 69 may be a miniature video device or an interface for connecting with a video system device.
Fig. 6 is a functional block diagram of an embodiment of the present invention, in which the system interface adopts a USB interface, the external storage device interface adopts a CF interface, a mobile hard disk is used as an internal storage device, and the liquid crystal display device 671 including information prompt, a manually operated key input control device 661, an MP3 player 681 for audio playback, and an image device connection interface 691 for connecting an image capturing device are included. The controller 62 establishes bidirectional connections with the removable hard disk 611, the USB interface 631, the CF interface 641, the liquid crystal display unit 671, the key input control device 661, and the MP3 player 681, respectively, which support bidirectional flow of signals and data.
In this embodiment, The USB interface may be a standard USB interface, such as a standard micro USB (Mini USB, On-The-Go standard), or may be a non-standard USB interface, that is, The USB interface in this embodiment may have an electrical signal, a physical structure, and a physical size both conforming to The USB standard, or may have only an electrical signal symbol USB standard but have a physical structure and a size not conforming to The USB standard.
The USB interface in this embodiment supports the USB2.0 standard protocol, is compatible with the USB1.1 standard protocol, and can implement high-speed data transmission, and when the USB2.0 interface is accessed, the theoretical data transmission rate reaches 480 MB/S.
The data exchange and storage device 60 of the present embodiment can access various data processing systems 10 through USB interfaces, and connect CF interface external storage devices 20 and/or 30 through CF interfaces to transmit and store data and information; the CF interface is compatible with a CF-ATA interface or a PCMCIA or True IDE interface; the data processing system 10 can be connected to the data processing system 10 through a USB interface, and as an external Storage device connected to the data processing system 10, the data processing system 10 can directly read and write data on the removable hard disk 611 and the external Storage device 20 and/or 30, at this time, the removable Storage device of this embodiment can be used as a USB Mass Storage and a card reader device, and supports a USB Mass Storage protocol and a CF interface transmission protocol, and the data processing system can perform data exchange operation not only on the external Storage device, but also on the removable hard disk 611, and can also realize data exchange between the external Storage device and the removable hard disk 611 through the data processing system.
The circuit principle of the USB interface control device 631 using the USB interface in the present embodiment is shown in fig. 14, where the USB interface and the USB controller support the USB2.0 standard protocol. In the figure, J1 is a USB interface socket, U1 is a USB controller chip, CY1 is a 12MHZ crystal oscillator providing U1 with operating pulses, USB _ T, USB _ WK, USB _ CS, USB _ RD, USB _ WR, USB _ INT, USB _ ALE, and USB _ RST of the USB controller chip are respectively connected to corresponding terminals of U4 of the core controller chip of fig. 20 as control signal transmission, and D0 … D7 of U1 is respectively connected to corresponding terminals of U4 as data and address transmission terminals.
The USB interface control device 631 completes the connection with the data processing system, interprets, converts, controls, and transmits the universal interface protocol, completes the initialization and control of the USB interface, accepts commands and data sent from the data processing system, interprets and executes commands sent from the data processing system, and feeds back information and data transmitted by the core controller, thereby establishing the physical and logical connection of the data processing system with the device of the present invention.
Fig. 17 shows a circuit principle of a CF interface control apparatus 641 for an external storage device interface using a CF interface in this embodiment, in which J3 in the figure is a CF card interface connector used for connecting a CF card serving as an external storage device, and the CF interface is compatible with a CF-ATA interface or a PCMCIA or True IDE interface. Such as CD1#, CD2#, a01#, a02#, CS0#, CS1#, IORDY #, RESET #, IOWR #, and IORD # in the figure, are connected as control signal transmission terminals to respective terminals of the core controller chip U4 of fig. 20, and D0 … D15 in J3 is connected as data and address transmission terminals to respective terminals of the core controller chip U4.
In this embodiment, the portable hard disk is used as an internal storage device, as shown in fig. 16, J2 in the figure is a portable hard disk interface connector for connecting the portable hard disk, and the specification of the connected portable hard disk may be 2.5 inches or 1.8 inches. In the figure,/IOW,/IOR,/IO CH _ RD, IRQR,/DA 1,/DA 0,/IDE CS0,/ACTIVE,/IDE CS1, DA2, BACKUP,/IOCS 16 are connected as control signal transmission terminals to corresponding terminals of the core controller chip U4 in FIG. 20, and D0 … D15 in J2 is connected as data and address transmission terminals to corresponding terminals of the core controller chip U4.
Fig. 7 is a functional block diagram of another embodiment of the present invention, in which the system interface adopts an IEEE1394 interface, the external storage device interface adopts an SM interface, the DRAM storage device 612 uses a DRAM memory as an internal storage medium, and the liquid crystal display device 671 including information prompt, a manually operated key input control device 661, an MP3 player 681 for audio playback, and a video device connection interface 691 for connecting a video capture device. The controller 62 establishes bidirectional connections with the DRAM storage device 612, the IEEE1394 interface device 632, the SM interface device 642, the liquid crystal display device 671, the key input control device 661, and the MP3 player 681, respectively, which support bidirectional flow of signals and data. The power supply device 65 is provided with a battery power supply to keep supplying power to the DRAM storage device 612 for a long time, so that effective data loss is prevented.
In this embodiment, the IEEE1394 interface may be a standard IEEE1394 interface or a non-standard IEEE1394 interface, that is, the IEEE1394 interface in this embodiment may have an electrical signal and a physical structure and a physical size both conforming to the IEEE1394 standard, or may have only an electrical signal symbol IEEE1394 standard but have a physical structure and a physical size not conforming to the IEEE1394 standard.
The data exchange and storage device 60 of the present embodiment can access various data processing systems 10 through IEEE1394 interfaces, and connect SM interface external storage devices 20 and/or 30 through SM interfaces to perform data and information transmission and storage; the data processing system is connected to the data processing system through the IEEE1394 interface, and serves as an external storage device connected to the data processing system, so that the data processing system can directly read and write data from and to the DRAM storage device 612 and the external storage device, at this time, the data exchange and storage device 60 of the present embodiment can serve as an IEEE1394 mass storage device and a card reader device, and supports the IEEE1394 protocol and the SM interface transmission protocol, the data processing system 10 can perform data exchange operations not only on the external storage device, but also on the DRAM storage device 12, and data exchange between the external storage device and the DRAM storage device 12 is realized through the data processing system.
Fig. 15 shows a circuit principle of an IEEE1394 interface control device 632 in which an IEEE1394 interface is used as a system interface in this embodiment, and the IEEE1394 interface and the IEEE1394 controller support the IEEE1394 standard protocol. In the figure, J10 is an IEEE1394 interface socket, U10 is an IEEE1394 controller chip, CY10 is a 12MHZ crystal oscillator for providing a working pulse to U10, 1394_ RD and 1394_ WR of the IEEE1394 controller chip are respectively connected with corresponding ends of the U4 of the core controller chip in fig. 20 as control signal transmission, and D0 … D15 in U10 is respectively connected with corresponding ends of the U4 as data and address transmission ends. For ease of illustration, the IEEE1394 corresponding connections to the core controller chip U4 are not shown in FIG. 19.
The IEEE1394 interface control device 632 completes the connection with the data processing system, interprets, converts, controls, and transmits the universal interface protocol, completes the initialization and control of the IEEE1394 interface, accepts commands and data sent from the data processing system, interprets and executes the commands sent from the data processing system, and feeds back information and data transmitted by the core controller, thereby establishing the physical and logical connection of the data processing system and the device of the present invention.
Fig. 18 shows a circuit principle of an SM interface control device 642 using an SM interface as an external storage device interface in this embodiment, where J7 is an SM interface connector for connecting an SM card serving as an external storage device. As shown in the figure, SM ALE, SM CLE, SM RE, SM WE, SM WP, SM RB, SM CE, SM CD, SM SW0, etc. are connected as control signal transmission terminals to corresponding terminals of the core controller chip U4 of fig. 19, respectively, and D0 … D7 in J7 are connected as data and address transmission terminals to corresponding terminals of the core controller chip U4, respectively.
Fig. 8 is a functional block diagram of another embodiment of the present invention, in which the system interface adopts a USB interface, the external storage device interface adopts various interfaces of SM, CF, MS, SD/MMC, and uses a mobile hard disk as an internal storage device, and the liquid crystal display device 671 including information prompt, a manually operated key input control device 661, an MP3 player 681 for audio playback, and an image device connection interface 691 for connecting an image capturing device are included. The controller 62 establishes bidirectional connections with the removable hard disk 611, the USB interface device 633, the external storage device interface (SM, CF, MS, SD/MMC) device 643, the liquid crystal display device 671, the key input control device 661, and the MP3 player 681, respectively, which support bidirectional flow of signals and data.
The mobile storage device of the embodiment can be accessed to various data processing systems through a USB interface, and is connected with various external storage devices through SM, CF, MS and SD/MMC interfaces to transmit and store data and information; the CF interface is compatible with a CF-ATA interface or a PCMCIA or True IDE interface; the data processing system 10 can be connected through a USB interface and used as an external Storage device connected with the data processing system, so that the data processing system can directly read and write data on the mobile hard disk 611 and the external Storage device, at this time, the mobile Storage device of this embodiment can be used as a USB bank Storage and a card reader device, and supports a USB Mass Storage protocol and SM, CF, MS, SD/MMC interface transmission protocols, the data processing system can not only perform data exchange operation on the external Storage device, but also perform data exchange operation on the mobile hard disk 611, and further can realize data exchange between the external Storage device and the mobile hard disk 611 through the data processing system.
Fig. 19 and 20 are schematic circuit diagrams of an MS interface and an SD/MMC interface in this embodiment, and as shown in the figure, J4 is an MS interface connector for connecting MS memory sticks as external storage devices, such as MS SCLK, MS INS, MS SDIO, MS BS, etc. as control signal transmission terminals in the figure, to corresponding terminals of the core controller chip U4 in fig. 21, respectively. J5 in the figure is an SD/MMC interface connector used for connecting an SD CARD or an MMC CARD, SD WRPROTECT, CD/DAT3, CMD, CARD _ DETECT are respectively connected with corresponding ends of the core controller chip U4 in the figure 19 as control signal transmission ends, DAT2, DAT1, DAT0 and the like are connected with corresponding ends of the core controller chip U4 as data and address transmission ends of the SD/MMC. And the data transmission of the MS interface and the SM/MMC interface is carried out in a serial mode.
Fig. 11 is a flow chart of the operation of an embodiment of the apparatus of the present invention. When a user powers on the device to enable the device to be in a working state, the controller 62 performs initialization operations including circuit initialization of the controller 62 and a peripheral interface chip, identification and connection of the internal storage device 61, identification and connection of other external devices, and the like; simultaneously detecting whether an external storage device is inserted into a corresponding interface of the external storage device interface means 64, if an external storage device is detected, detecting the type, interface type and device characteristic information of the inserted external storage device, and repeating the above operations when a plurality of different types of external storage devices are inserted into corresponding interfaces; in the embodiment of the invention, the external storage device comprises a CF card, an MS memory stick, an SD card, an MMC card and an SM card.
When the device is connected with a USB interface of a data processing system, the controller 62 receives commands and information of the data processing system, and when the data processing system has an operation request, the controller 62 carries out data exchange and access operation with the data processing system according to a USB standard protocol, namely, data exchange between the data processing system and an external storage device or/and a mobile hard disk/DRAM storage module is realized.
When the device is not connected with a data processing system for processing and is in a working state, a user can realize data exchange and access between the external storage equipment and the mobile hard disk through a key device (such as a COPY key) on the device; in the embodiment of the present invention, data in the external storage device is mainly stored in the mobile hard disk separately, and a specific working flow thereof is as shown in fig. 11. Meanwhile, the user can display the data read from the external storage device only in the liquid crystal display module, and the user can select to additionally store the data in the mobile hard disk 611 or the DRAM storage device 612 according to the requirement, and the selection operation can be controlled by a key.
After the user confirms the operation of storing the data in the external storage device into the removable hard disk 611 or the DRAM storage device 612, the solidified software, i.e. the operating system, in the controller 2 reads the device information in the external storage device and the removable hard disk 611 or the DRAM storage device 612 of the corresponding interface, including the device type, the storage capacity, the available space, the interface type and other information of the external storage device and the removable hard disk 611 or the DRAM storage device 612; at the same time, the solidified software, i.e. the operating system, creates a directory corresponding to the external storage device under the corresponding directory in the mobile hard disk 611 or the DRAM storage device 612, reads the first file in the corresponding external storage device, transmits the first file to the controller 62, displays the read information in the liquid crystal display device 671, copies the file to the corresponding subdirectory created by the mobile hard disk 611 or the DRAM storage device 612 after the user confirms, detects whether the file which is not copied still exists in the external storage device after the file is copied, and if so, performs the file copying cycle operation until all the files in the external storage device are copied to the mobile hard disk 611 or the DRAM storage device 612.
The above operation processes, including device information, device initialization, user operation, data processing operation, file copy process, and the like, can all be displayed in the liquid crystal display device 671, and the circuit principle of the liquid crystal display device 71 is shown in fig. 13.
Claims (20)
1. A data exchange and storage method for enabling data exchange between various storage devices including a removable storage disk (20) and a memory card (30) as external storage devices and between both the storage disk (20) and the memory card (30) and a data processing system host (10), or enabling data read from one party to be stored in any one or both of three parties, the storage disk (20), the memory card (30) and the data processing system host (10), the data exchange and storage method comprising the steps of:
setting a data exchange and storage device (60), wherein the device comprises an internal storage device (61), a system interface device (63), an external storage equipment interface device (64) and a controller (62), and the controller (62) contains solidified software;
the controller (62) executes data reading and writing to the internal storage device (61) and/or the external storage devices (20, 30) according to the system requirements according to commands and information received by the system interface device (63) from the data processing system host (10);
the method is characterized in that: the method comprises, in the case where the data exchange and storage device (60) is not connected to the system host (10), the steps of:
the controller (62) reads the characteristic information of the external storage device (20, 30) through the external storage device interface device (64), or reads the characteristic information of the internal storage device (61), and identifies the type of the external storage device (20, 30) and selects a corresponding interface protocol;
-the controller (62) reading, via said external storage device interface means (64), data stored in the respective external storage device (20, 30) connected to the interface of said external storage device interface means (64), or data stored in the internal storage means (61);
the controller (62) stores the data acquired from the external storage devices (20, 30) into the internal storage device (61) according to the operation request, or stores the data read from the internal storage device (61) into the external storage devices (20, 30);
sixthly, the controller (62) reads and stores the data of the internal storage device (61) or the external storage devices (20, 30) according to the standard protocol of the corresponding interfaces.
2. A data exchange and storage method according to claim 1, further comprising the steps of:
and a power supply device (65) is arranged in the data exchange and storage device (60) and comprises a conversion circuit and a battery (654), so that the data exchange and storage method can be realized by supplying power through an interface of the system host (10), supplying power through an external power grid or supplying power through a battery of the data exchange and storage device.
3. The data exchange and storage method of claim 1, wherein:
the internal storage device (61) includes, but is not limited to, a hard disk, a portable hard disk, a semiconductor storage device, an optical medium storage drive device.
4. A data exchange and storage method according to claim 3, wherein:
the storage medium of the semiconductor memory device includes, but is not limited to, flash memory, DRAM, EEPROM, SRAM, FRAM, MRAM, and Millipede, and one or more semiconductor chips may be used.
5. The data exchange and storage method of claim 1, wherein:
the interface type of the system interface device (63) is a USB interface, an IEEE1394 interface, a Bluetooth interface, an IrDA infrared interface, a HomeRF interface, an IEEE802.11a interface, an IEEE802.11b interface, an IEEE802.11g interface, a SCSI interface, an RS232 interface and/or a printer parallel interface.
6. The data exchange and storage method of claim 1, wherein:
the interface of the external storage device interface means (64) is an SM, CF, MMC, SD, MS, MD and/or x-D interface.
7. The data exchange and storage method of claim 1, wherein:
the system interface device (63) and the external storage device interface device (64) are a single interface, or a plurality of same interfaces or/and a plurality of combinations of different types of interfaces.
8. The data exchange and storage method of claim 1, wherein:
a manual control device (66) is arranged in the data exchange and storage device (60), and the manual control device (66) can realize the manual control of the acquisition and transmission of data, the information prompt and the switching of working modes; the manual controls (66) include, but are not limited to, toggle-type switches and buttons.
9. The data exchange and storage method of claim 1, wherein:
information prompting device (67) is arranged in the data exchange and storage device (60) and is used for prompting static information and dynamic information, including but not limited to user information, product information, equipment information, transmission file information, working state information and information of connected external storage equipment; the information prompt mode can be liquid crystal display, light emitting diode matrix, LED state prompt, sound prompt, vibration device and the like.
10. The data exchange and storage method of claim 1, wherein:
an audio device (68) and/or a video device (69) are also arranged in the data exchange and storage device (60) and are combined with an internal storage device (61) or an external storage device to realize the function of multimedia playing.
11. A data exchange and storage apparatus for realizing data exchange between various storage devices including a removable storage disk (20) and a memory card (30) as external storage devices and between both the removable storage disk (20) and the memory card (30) and a data processing system host (10), or realizing data read from one party to be stored in any one or both of three parties of the removable storage disk (20), the memory card (30) and the data processing system host (10), characterized in that:
the data exchange and storage device (60) comprises an internal storage device (61) for storing data, a system interface device (63) connected with a data processing system, an external storage device interface device (64) for reading data of an external memory, a controller (62) for controlling each device, and a power supply device (65) for supplying power to each device, wherein the controller (62) is electrically connected with other devices respectively, and the controller (62) is internally provided with solidified software which can carry out data access operation on the data exchange and storage device (60) under the condition that the data processing system is not connected.
12. The data exchange and storage device of claim 11, wherein:
the internal storage device (61) includes but is not limited to a hard disk, a portable hard disk, a semiconductor storage device, and an optical medium storage drive device.
13. The data exchange and storage device of claim 12, wherein:
the storage medium of the semiconductor storage device is a flash memory, a DRAM, an EEPROM, an SRAM, an FRAM, an MRAM or a Millipede, and one or more semiconductor chips can be used.
14. The data exchange and storage device of claim 11, wherein:
the interface types of the system interface device (63) comprise a USB interface, an IEEE1394 interface, a Bluetooth interface, an IrDA infrared interface, a HomeRF interface, an IEEE802.11a interface, an IEEE802.11b interface, an IEEE802.11g interface, SCSI, RS232 and a printer parallel interface.
15. The data exchange and storage device of claim 11, wherein:
the interface in the external storage device interface means (64) comprises an SM, CF, MMC, SD, MS, MD or x-D interface.
16. The data exchange and storage device of claim 11, wherein:
the system interface device (63) and the external storage device interface device (64) are a single interface, or a plurality of same interfaces or/and a plurality of combinations of different types of interfaces.
17. The data exchange and storage device of claim 11, wherein:
the system also comprises a manual control device (66), wherein the manual control device (66) can realize manual control on data acquisition and transmission, information prompt and working mode switching; the manual controls (66) include, but are not limited to, toggle-type switches and buttons.
18. The data exchange and storage device of claim 11, wherein:
the system also comprises an information prompting device (67) used for prompting static information and dynamic information, including but not limited to user information, product information, equipment information, transmission file information, working state information and information of a connected external storage device; the information prompt mode can be liquid crystal display, light emitting diode matrix, LED state prompt, sound prompt, vibration device and the like.
19. The data exchange and storage device of claim 11, wherein:
and an audio device (68) and/or a video device (69) which is combined with the internal storage device (61) or the external storage equipment to realize the multimedia playing function.
20. The data exchange and storage device of claim 11, wherein:
an ejection device is arranged at the interface of the external storage equipment interface device (64), and the ejection device can eject the external storage equipment after being pressed.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| HK03106693.4A HK1054451B (en) | 2003-09-18 | 2003-09-18 | Method and apparatus for data exchange and storage |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| HK03106693.4A HK1054451B (en) | 2003-09-18 | 2003-09-18 | Method and apparatus for data exchange and storage |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| HK1054451A1 HK1054451A1 (en) | 2003-11-28 |
| HK1054451B true HK1054451B (en) | 2005-06-10 |
Family
ID=34685546
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| HK03106693.4A HK1054451B (en) | 2003-09-18 | 2003-09-18 | Method and apparatus for data exchange and storage |
Country Status (1)
| Country | Link |
|---|---|
| HK (1) | HK1054451B (en) |
-
2003
- 2003-09-18 HK HK03106693.4A patent/HK1054451B/en not_active IP Right Cessation
Also Published As
| Publication number | Publication date |
|---|---|
| HK1054451A1 (en) | 2003-11-28 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7587554B2 (en) | Device and method for providing data exchange and storage | |
| EP0917064B1 (en) | Memory card interface apparatus | |
| CN1244869C (en) | Flash devices that can read several types of flash memory cards with or without a PC | |
| US6832281B2 (en) | Flashtoaster for reading several types of flash memory cards with or without a PC | |
| CN1122281C (en) | Multifunctional semiconductor storage device | |
| US20030093606A1 (en) | Multimode controller for intelligent and "dumb" flash cards | |
| CN1403926A (en) | Memory | |
| JP2001216099A (en) | Full electronic flash memory type external storage method and device | |
| JP2007534034A (en) | Memory card compatible with multiple connector standards | |
| JP2002082777A (en) | Portable digital data transfer and storage device and method of operating portable handheld data transfer and storage device | |
| US7496703B2 (en) | Virtual IDE card reader with PCI express interface | |
| US20050002217A1 (en) | Large volume storage device | |
| CN204496922U (en) | There is the mobile storage means of OTG function | |
| HK1054451A1 (en) | Method and apparatus for data exchange and storage | |
| TWM243735U (en) | Controller capable of adapting compact memory card interface to USB interface | |
| JP3090766U (en) | Compact Flash memory card with serial bus interface | |
| CN100501634C (en) | data processing device | |
| WO2004093449A1 (en) | A digital image processing apparatus and the method thereof | |
| JP2005531835A (en) | Method and apparatus for performing information prompt in semiconductor memory device | |
| US20080074299A1 (en) | Electrical signal converting system | |
| KR200369277Y1 (en) | Portable all-in-one digital data storage converter | |
| GB2397191A (en) | A portable digital image and sound recording device providing an interface to an external storage device | |
| US20070291449A1 (en) | OTG type storage device and notebook computer using the same | |
| CN100501659C (en) | Storage device with portable module and notebook computer using same | |
| CN201081782Y (en) | Electronic signal conversion device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| PE | Patent expired |
Effective date: 20220925 |