CN101499049A - Method for data transfer between memory cards of hand-held electronic equipment - Google Patents

Method for data transfer between memory cards of hand-held electronic equipment Download PDF

Info

Publication number
CN101499049A
CN101499049A CNA2008100334100A CN200810033410A CN101499049A CN 101499049 A CN101499049 A CN 101499049A CN A2008100334100 A CNA2008100334100 A CN A2008100334100A CN 200810033410 A CN200810033410 A CN 200810033410A CN 101499049 A CN101499049 A CN 101499049A
Authority
CN
China
Prior art keywords
storage card
hand
data
pattern
spi
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
CNA2008100334100A
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.)
Shanghai Simcom Ltd
Original Assignee
Shanghai Simcom Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CNA2008100334100A priority Critical patent/CN101499049A/en
Publication of CN101499049A publication Critical patent/CN101499049A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention provides a new method to transfer data among memory cards for a portable electrical terminal. The invention replaces a drive interface of a Nand Flash with a memory card software interface under an SPI drive interface module. A second memory card is connected with the system in an SPI mode. When the second memory card is inserted to a slot, because the drive interface of the Nand Flash is replaced by the SPI drive interfae and memory card software under the mode, therefore, in device enumeration phrase, the portable device system detects insertion of Nand Flash to identify the memory card 2 as Nand Flash. Active progress of the invention lies in realizing rapid transfer of data content among memory cards when no computer is used as an intermediate device. Related to wireless transmission manner for example Bluetooth, it has advantages in transmission speed.

Description

The method that data shift between the memory cards of hand-held electronic equipment
Technical field
The present invention relates to the method that data shift between a kind of memory cards of hand-held electronic equipment, belong to mobile terminal device technical fields such as mobile phone.
Background technology
Under the present hand-held platform, the transfer of content that leaves in the storage card is arrived other place, for example transfers to another storage card, following dual mode is arranged usually:
One, pass through wireless transmission: infrared etc. as bluetooth, shortcoming is the limitation that is subjected to the space, need both sides' equipment can support wireless transmission on function, and speed is relatively slow.
Two, connecting computer by the USB line, is that intermediate equipment is carried out copying data with the computer, and shortcoming is to carry the usb data line, and does not have computer support in many instances.
The more common of two storage card slots arranged on the handheld terminal that has at present, can allow two storage cards to be operated in simultaneously under two kinds of different patterns, but, also lack simple and easy to do scheme when the user needs to leave in wherein transfer of content in the storage card time another storage card.
Summary of the invention
The objective of the invention is to overcome the limitation of prior art, shifting for the handheld terminal data provides the method that data shift between a kind of storage card, especially have under the situation of two storage card slots at hand-hold electronic equipments, the method that can remedy prior art to a certain extent is in quick defective aspect convenient.
The technical scheme that the present invention takes is: hand-hold electronic equipments comprises two or more storage card slots, after storage card is put into slot, storage card one is connected employing SD (Secure Digital) pattern to be connected with MCU, with storage card two and MCU ((Micro Controller Unit, microprocessor) adopts SPI (Serial Peripheral Interface, serial peripheral interface) pattern connects, with a Nand Flash (the NOT AND Flash in the alternative hand-hold electronic equipments of SPI interface drive program, a kind of nonvolatile flash memory technology) interface drive program, the MCU of hand-hold electronic equipments is identified as Nand Flash with the storage card two that inserts.
When using method of the present invention, the driving interface of a Nand Flash in the hand-hold electronic equipments is replaced with the storage card software interface that is operated under the SPI driving interface pattern; Storage card one is operated under the SD pattern, can carry out normal exchanges data with main frame, when storage card two inserts slot, the interface of storage card two is connected with handheld device by the storage card software interface under SPI driving interface and the pattern thereof with the SPI pattern, because the driving interface of described Nand Flash is replaced by the storage card software interface under SPI driving interface and the pattern thereof, therefore in the device enumeration stage, handhold device system can detect Nand Flash and store the card insertion, stores card thereby storage card two is identified as Nand Flash.
Application process of the present invention specifically comprises the steps:
Step 1, storage card one and storage card two put into the storage card slot of hand-hold electronic equipments respectively;
Step 2, in the file management option, enter storage card one, choose the file or folder that need to shift, select to duplicate option;
The destination that step 3, select File or file duplicate is a storage card two, finishes and duplicates,
Finish duplicate after, storage card two can be used on the handheld device of need using.
Positive progressive effect of the present invention is, adopts method of the present invention, and can be implemented in does not have under the prerequisite of computer as intermediate equipment, realizes storing the quick transfer of data content between the card.The present invention is compared to wireless transmission methods such as bluetooth, and then transmission speed has more advantage, more saves cost.
Description of drawings
Fig. 1 is that the present invention will be left transfer of content in the storage card in to the operation steps of another storage card.
Fig. 2 is the connecting bus figure that the SD pattern adopts 6 ray modes.
Fig. 3 is the connecting bus figure that the SPI pattern adopts 4 ray modes.
The high-low level synoptic diagram of Fig. 4 signal wire when to be storage card of the present invention by the SPI pattern connect.
The high-low level synoptic diagram of Fig. 5 sheet choosing and data transmission when to be storage card of the present invention by the SPI pattern connect.
Fig. 6 is the simple and easy connection diagram of hand-hold electronic equipments and two storage cards.
Fig. 7 is the interface connection status synoptic diagram of hand-hold electronic equipments and two storage cards.
Embodiment
The technical scheme that the present invention takes is: storage card one is connected with MCU adopts the SD pattern to connect, adopt the SPI pattern to be connected with MCU storage card two, with a Nand Flash interface drive program in the alternative hand-hold electronic equipments of SPI interface drive program.Storage card one is operated under the SD pattern, can carry out normal exchanges data with main frame, when storage card two inserts slot, the interface of storage card two is connected with handheld device by the storage card software interface under SPI driving interface and the pattern thereof with the SPI pattern, because the driving interface of described Nand Flash is replaced by the storage card software interface under SPI driving interface and the pattern thereof, therefore in the device enumeration stage, handhold device system can detect Nand Flash and store the card insertion, stores card thereby storage card two is identified as Nand Flash.Said memory card adopts the T-Flash storage card.
As shown in Figure 1, application process of the present invention specifically comprises the steps:
Step 1, storage card one and storage card two put into the storage card slot of hand-hold electronic equipments respectively;
Step 2, in the file management option, enter storage card one, choose the file or folder that need to shift, select to duplicate option;
The destination that step 3, select File or file duplicate is a storage card two, finishes and duplicates,
Step 4, storage card two is used on the handheld device of need using.
The storage card of the hand-held platform of the support double memory cards that has is at present supported two kinds of mode of operations: SD pattern and SPI pattern.
As shown in Figure 2, the MTK platform supports that storage card is operated under the SD pattern at present: the SD pattern adopts the connecting bus (signal wire, order wire and four single data transmission lines) of 6 lines.
As shown in Figure 3, the SPI pattern adopts the connecting bus of four lines, is operated in the storage card under the SPI pattern, links to each other with main frame by four main interfaces, is respectively signal wire (CLK), and chip select line (CS) and two data lines (DATAIN, DATAOUT).
Signal wire is used to be provided with storage card and enters battery saving mode, is used for the data stream on the control data line simultaneously.
Chip select line is used for the storage card duty is made as the SPI pattern, and the data sync under the SPI pattern also is to finish by chip select line simultaneously.
Data between main frame and the storage card (comprising CRC) transmission is finished by data line.
Figure 4 shows that putting height and putting the high-low level synoptic diagram that hangs down analog signal line by GPIO (General Programmable Input Output, general programmable input/output port).
As shown in Figure 5, hang down simulated data " 1 " and data " 0 " with putting, reach the purpose of the data transmission of choosing of simulation sheet and data line by putting of GPIO is high.
As shown in Figure 6, realize fast data exchange for making between two storage cards, need two storage cards to work simultaneously, main frame can write data another storage card from a storage card reading of data time simultaneously.
Owing to have only a storage card software interface on the software, therefore for two storage cards can be worked simultaneously, method of the present invention is that the software interface of a Nand Flash of prior art is replaced with the storage card software interface that is operated under the SPI pattern, like this from the angle of main frame, a Nand Flash and a storage card have been inserted in the system, and in fact, be that two storage cards have inserted slot simultaneously, so just reached two purposes that storage card is worked simultaneously.
As shown in Figure 7, storage card 1 is operated under the normal SD pattern, can carry out normal exchanges data with main frame.
Storage card 2 links to each other with system with the SPI pattern, when storage card 2 inserts slot, because the driving interface of NandFlash is replaced by the storage card software interface under SPI driving interface and the pattern thereof, therefore in the device enumeration stage, system can detect Nand Flash and insert, thereby storage card 2 is identified as Nand Flash.
In the reading and writing data stage of reality, the mutual copy of two storage cards is realized in the following manner: main frame is at first from storage card 1 reading of data, the data that read are write Nand Flash simultaneously by main frame, and there is not Nand Flash on the actual hardware, the read-write of Nand Flash such as is wiped at operation-interface also have been replaced by the storage card software interface under SPI driving interface and the pattern thereof, therefore, to writing of Nand Flash, be actually writing to storage card 2; Can realize storage card 2 is arrived in the content replication of storage card 1 with this.

Claims (6)

1, the method that data shift between a kind of memory cards of hand-held electronic equipment, described hand-hold electronic equipments comprises two or more storage card slots, it is characterized in that: after storage card is put into slot, storage card one adopts the SD pattern to be connected with the MCU of hand-hold electronic equipments, storage card two adopts the SPI pattern to be connected with the MCU of hand-hold electronic equipments, with the NandFlash interface drive program in the alternative hand-hold electronic equipments of SPI interface drive program, the MCU of hand-hold electronic equipments is identified as NandFlash with the storage card two that inserts.
2, the method that data shift between the memory cards of hand-held electronic equipment as claimed in claim 1 is characterized in that, described SPI pattern is for adopting the connecting bus pattern of four lines.
3, the method that data shift between the memory cards of hand-held electronic equipment as claimed in claim 2, it is characterized in that, the connecting bus of described four lines comprises: signal wire, order wire and two single data transmission lines, wherein signal wire is used to be provided with storage card and enters data stream on battery saving mode and the control data line, chip select line is used for the storage card duty is made as SPI pattern and data sync, and data line is used for the data transfer between main frame and the storage card.
4, the method that data shift between the memory cards of hand-held electronic equipment as claimed in claim 1, it is characterized in that, storage card one is operated under the SD pattern, carry out normal exchanges data with main frame, when storage card two inserts slot, storage card two is connected with the MCU of hand-hold electronic equipments by the storage card software interface under SPI driving interface and the pattern thereof with the SPI pattern, and in the device enumeration stage, the hand-hold electronic equipments system is identified as Nand Flash with storage card two.
5, the method that data shift between the memory cards of hand-held electronic equipment as claimed in claim 4 is characterized in that, specifically comprises the steps:
Step 1, storage card one and storage card two put into the storage card slot of hand-hold electronic equipments respectively;
Step 2, in the file management option of hand-hold electronic equipments, enter storage card one, choose the file or folder that need to shift, select to duplicate option;
The destination that step 3, select File or file duplicate is a storage card two, finishes and duplicates.
6, the method that shifts as data between the described memory cards of hand-held electronic equipment of claim 1-5 is characterized in that described storage card is the T-Flash storage card.
CNA2008100334100A 2008-02-01 2008-02-01 Method for data transfer between memory cards of hand-held electronic equipment Pending CN101499049A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNA2008100334100A CN101499049A (en) 2008-02-01 2008-02-01 Method for data transfer between memory cards of hand-held electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNA2008100334100A CN101499049A (en) 2008-02-01 2008-02-01 Method for data transfer between memory cards of hand-held electronic equipment

Publications (1)

Publication Number Publication Date
CN101499049A true CN101499049A (en) 2009-08-05

Family

ID=40946126

Family Applications (1)

Application Number Title Priority Date Filing Date
CNA2008100334100A Pending CN101499049A (en) 2008-02-01 2008-02-01 Method for data transfer between memory cards of hand-held electronic equipment

Country Status (1)

Country Link
CN (1) CN101499049A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033828A (en) * 2010-11-24 2011-04-27 中兴通讯股份有限公司 Method and system for accessing external card
CN102609741A (en) * 2012-01-31 2012-07-25 上海艾尚通讯科技有限公司 Mobile device and method for exchange data between internal and external storage cards
CN103389883A (en) * 2013-07-18 2013-11-13 上海斐讯数据通信技术有限公司 Array storage device for handheld equipment and working method of array storage device
CN107832645A (en) * 2017-11-10 2018-03-23 上海应用技术大学 A kind of Multifunctional reading card device

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033828A (en) * 2010-11-24 2011-04-27 中兴通讯股份有限公司 Method and system for accessing external card
WO2012068910A1 (en) * 2010-11-24 2012-05-31 中兴通讯股份有限公司 External card access method and system
CN102609741A (en) * 2012-01-31 2012-07-25 上海艾尚通讯科技有限公司 Mobile device and method for exchange data between internal and external storage cards
CN102609741B (en) * 2012-01-31 2016-03-09 上海艾尚通讯科技有限公司 A kind of method of exchanges data between mobile device and inside and outside portion storage card thereof
CN103389883A (en) * 2013-07-18 2013-11-13 上海斐讯数据通信技术有限公司 Array storage device for handheld equipment and working method of array storage device
CN107832645A (en) * 2017-11-10 2018-03-23 上海应用技术大学 A kind of Multifunctional reading card device

Similar Documents

Publication Publication Date Title
CN101814058A (en) Commonly-used storing device
CN102902650A (en) Data sharing and transfer systems and methods
CN101499046A (en) SPI equipment communication circuit
CN1988701A (en) Multifunctional mobile phone based on general USB chip and its realizing method
CN101923504A (en) Card reader testing tool and card reader testing method
CN101499049A (en) Method for data transfer between memory cards of hand-held electronic equipment
CN110619914A (en) Mass production method for solid state disk with PCIe interface mass production device
CN102609741A (en) Mobile device and method for exchange data between internal and external storage cards
CN103098039A (en) High-speed peripheral-device interconnected-bus port configuration method and apparatus
CN202333338U (en) Connector, sensor module and communication system
CN103049403B (en) Method for communication between embedded terminal device and cell phone
CN102142093A (en) Operation method and device for memory card
CN101833063B (en) Method and device for testing SPI (Serial Peripheral Interface) control chip
TWI447585B (en) Apparatus of storage medium for interfacing both host and mobile device
CN201213265Y (en) Shared interface device for Ethernet power supply and wireless network module
CN101094464A (en) Device and method for handset to manage files in U disk
CN101789803A (en) Method for designing mobile phone supporting two SD cards
CN102110068B (en) Serially connectable sequence bus device and management method and serial connection method thereof
CN101866269A (en) Storing device, storing system and method for controlling storing device
CN2862191Y (en) Semiconductor outer memory device capable of expanding USB interface
CN100458745C (en) Extended flash disk
CN101976100B (en) Asynchronous expansion system compatible with PCI (Programmable Communications Interface) interface
CN100378638C (en) External MS memory card interface switching device
CN214254801U (en) Double-connector structure based on Loongson 1A500
CN103218328A (en) Storage device used for connecting USB mainframe and USB OTG (Universal Serial Bus On-The-Go) device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20090805