A kind of device and method by the radio frequency non-contact reading and writing memory card
Technical field
The present invention relates to radio frequency non-contact reading and writing memory card technical field, particularly a kind of device by the radio frequency non-contact reading and writing memory card itself and method.
Background technology
Continuous development along with the modern social science technology, the application of non-contact radio-frequency card technique is ripe gradually, non-contact radio-frequency card common in people's daily life has multiple, as the non-contact IC mass transit card, non-contact IC gate inhibition card etc., but in the non-contact radio-frequency card technique that prior art provides: the memory capacity of its non-contact IC is too little, and technology is not mature enough, can not satisfy the requirement that people need to read and write by radio frequency large-capacity memory card.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art part, the object of the present invention is to provide a kind of device and method by the radio frequency non-contact reading and writing memory card, it makes contactless terminal just can realize read-write to various storage cards by radio frequency, satisfy the requirement of people, provide a convenient by radio frequency read-write large-capacity memory card.
In order to achieve the above object, the present invention has taked following technical scheme:
A kind of device by the radio frequency non-contact reading and writing memory card wherein, comprises the radio-frequency (RF) receiving and transmission module, rf modulations demodulation module, the micro-control unit that connect successively, and the memory card interface module, wherein:
Described radio-frequency (RF) receiving and transmission module is used to receive the radiofrequency signal of contactless terminal reading and writing memory card request, and is first radiofrequency signal with the radiofrequency signal coupling of described contactless terminal reading and writing memory card request, and,
Be used for second radiofrequency signal that received RF modulation module sends over, and described second radiofrequency signal coupling is receivable the 3rd radio frequency signal of contactless terminal, and the 3rd radio frequency signal after described contactless terminal is launched described coupling;
Described rf modulations demodulation module is used to receive first radiofrequency signal that described radio-frequency (RF) receiving and transmission module is sent, and described first radiofrequency signal is modulated into first digital signal, and,
Be used to receive second digital signal that described micro-control unit is sent, and described second digital signal is modulated into second radiofrequency signal sends to described radiofrequency signal transceiver module;
Described micro-control unit is used to receive first digital signal that described rf modulations demodulation module sends, and converts described first digital signal to storage card read write command signal, and,
Be used to receive the storage card read-write consequential signal that described memory card interface module is sent, and convert described storage card read-write consequential signal to second digital signal and send to described rf modulations demodulation module;
Described memory card interface module is used to receive the storage card read write command signal that described micro-control unit sends, and described storage card read write command signal is sent to the storage card processing that connects with it, and,
Be used to receive the storage card read-write consequential signal after described storage card is handled, and send described storage card read-write consequential signal to described micro-control unit.
Described device by the radio frequency non-contact reading and writing memory card, wherein, described radio-frequency (RF) receiving and transmission module comprises antenna element and radio-frequency match unit; Described antenna element connects with described radio-frequency match unit, is used to receive the radiofrequency signal of contactless terminal reading and writing memory card request, and, be used for the 3rd radio frequency signal after described contactless terminal is launched described coupling;
Described radio-frequency match unit connects with described rf modulations demodulation module, be used for the radiofrequency signal coupling of described contactless terminal reading and writing memory card request is first radiofrequency signal and sends to described rf modulations demodulation module, and, be used for second radiofrequency signal that received RF modulation module sends over, and described second radiofrequency signal coupling is receivable the 3rd radio frequency signal of contactless terminal.
Described device by the radio frequency non-contact reading and writing memory card, wherein, described storage card is SD card, mmc card, CF card, T card, MS card, Contact Type Ic Card, smart card or CPU card.
Described device by the radio frequency non-contact reading and writing memory card wherein, also comprises a supply module that connects with described micro-control unit, is used for to described micro-control unit power supply.
Described device by the radio frequency non-contact reading and writing memory card, wherein, described micro-control unit is that a model is the MCU chip of TI MSP430, described rf modulations demodulation module is a non-contact read-write chip NXP PN531.
Described device by the radio frequency non-contact reading and writing memory card, wherein, the input/output terminal IO of described rf modulations demodulation module connects the input/output terminal IO of described MCU, and the CMD of described MCU, DAT0~3, CLK end and described memory card interface module connect.
A kind of method by the radio frequency non-contact reading and writing memory card, wherein, comprise device by the radio frequency non-contact reading and writing memory card, described device by the radio frequency non-contact reading and writing memory card comprises radio-frequency (RF) receiving and transmission module, rf modulations demodulation module, the micro-control unit that connects successively, and memory card interface module, wherein, described method comprises step:
Described radio-frequency (RF) receiving and transmission module receives the radiofrequency signal of contactless terminal reading and writing memory card request, and is first radiofrequency signal with the radiofrequency signal of described contactless terminal reading and writing memory card request coupling;
Described rf modulations demodulation module receives first radiofrequency signal that described radio-frequency (RF) receiving and transmission module is sent, and described first radiofrequency signal is modulated into first digital signal;
Described micro-control unit receives first digital signal that described rf modulations demodulation module sends, and converts described first digital signal to storage card read write command signal;
Described memory card interface module receives the storage card read write command signal that described micro-control unit sends, and described storage card read write command signal is sent to the storage card processing that connects with it.
Described method by the radio frequency non-contact reading and writing memory card, it also comprises step:
Described memory card interface module receives the storage card read-write consequential signal after described storage card is handled, and sends described storage card read-write consequential signal to described micro-control unit;
Described micro-control unit receives the storage card read-write consequential signal that described memory card interface module sends, and converts described storage card read-write consequential signal to second digital signal and send to described rf modulations demodulation module;
Described rf modulations demodulation module receives second digital signal that described micro-control unit is sent, and described second digital signal is modulated into second radiofrequency signal sends to described radiofrequency signal transceiver module;
Second radiofrequency signal that described radio-frequency (RF) receiving and transmission module received RF modulation module sends over, and described second radiofrequency signal coupling is receivable the 3rd radio frequency signal of contactless terminal, and the 3rd radio frequency signal after described contactless terminal is launched described coupling.
Described method, wherein, described storage card is SD card, mmc card, CF card, T card, MS card, Contact Type Ic Card, smart card or CPU card.
Beneficial effect: the invention provides a kind of device and method by the radio frequency non-contact reading and writing memory card, make contactless terminal can read and write large-capacity memory card by radio frequency, satisfy the requirement of people by radio frequency read-write large-capacity memory card, provide a convenient, and it is simple in structure, and is easy to operate.
Description of drawings
Fig. 1 is the structured flowchart that passes through radio frequency non-contact reading and writing memory card device that the embodiment of the invention provides;
Fig. 2 is the structural representation that passes through radio frequency non-contact reading and writing memory card device part of module that the embodiment of the invention provides;
The process flow diagram of the method that Fig. 3 provides for the embodiment of the invention.
Embodiment
The embodiment of the invention provides a kind of device by the radio frequency non-contact reading and writing memory card, and it makes contactless terminal can read and write mass-memory unit by radio frequency.For making purpose of the present invention, technical scheme and advantage clearer, clear and definite, below develop simultaneously with reference to accompanying drawing that the present invention is described in more detail for embodiment.
A kind of device by the radio frequency non-contact reading and writing memory card that the embodiment of the invention provides as shown in Figure 1, comprises the radio-frequency (RF) receiving and transmission module 100, rf modulations demodulation module 200, the micro-control unit 300 that connect successively, and memory card interface module 400, wherein:
Described radio-frequency (RF) receiving and transmission module 100 is used to receive the radiofrequency signal of contactless terminal reading and writing memory card request, and is first radiofrequency signal with the radiofrequency signal coupling of described contactless terminal reading and writing memory card request, and,
Be used for second radiofrequency signal that received RF modulation module 200 sends over, and described second radiofrequency signal coupling is receivable the 3rd radio frequency signal of contactless terminal, and the 3rd radio frequency signal after described contactless terminal is launched described coupling;
Described rf modulations demodulation module 200 is used to receive first radiofrequency signal that described radio-frequency (RF) receiving and transmission module 100 is sent, and described first radiofrequency signal is modulated into first digital signal, and,
Be used to receive second digital signal that described micro-control unit 300 is sent, and described second digital signal is modulated into second radiofrequency signal sends to described radiofrequency signal transceiver module 100;
Described micro-control unit 300 is used to receive first digital signal that described rf modulations demodulation module 200 sends, and converts described first digital signal to storage card read write command signal, and,
Be used to receive the storage card read-write consequential signal that described memory card interface module 400 is sent, and convert described storage card read-write consequential signal to second digital signal and send to described rf modulations demodulation module 200;
Described memory card interface module 400 is used to receive the storage card read write command signal that described micro-control unit 300 sends, and described storage card read write command signal is sent to the storage card processing that connects with it, and,
Be used to receive the storage card read-write consequential signal after described storage card is handled, and send described storage card read-write consequential signal to described micro-control unit 300.
In the present embodiment, more specifically: described radio-frequency (RF) receiving and transmission module 100 comprises antenna element 110 and radio-frequency match unit 120; Described antenna element 110 connects with described radio-frequency match unit 120, is used to receive the radiofrequency signal of contactless terminal reading and writing memory card request, and, be used for the 3rd radio frequency signal after described contactless terminal is launched described coupling; Wherein, described antenna element can be induction antenna.Described antenna element and radio-frequency match unit can be 13.56M, 433M, 915M, 2.4M or other frequencies.
Described radio-frequency match unit 120 connects with described rf modulations demodulation module 200, be used for the radiofrequency signal coupling of described contactless terminal reading and writing memory card request is first radiofrequency signal and sends to described rf modulations demodulation module 200, and, be used for second radiofrequency signal that received RF modulation module 200 sends over, and described second radiofrequency signal coupling is receivable the 3rd radio frequency signal of contactless terminal.
Further, described memory card interface module can connect various types of storage cards for a storage card cutting ferrule, for example, connects jumbo storage card, makes contactless terminal can read and write mass-memory unit by radio frequency.Described storage card can be SD card, mmc card, CF card, T card, MS card, Contact Type Ic Card, smart card or CPU card.
Further, described device by the radio frequency non-contact reading and writing memory card, it also comprises a supply module that connects with described micro-control unit, is used for to described micro-control unit, rf modulations demodulation module and storage card power supply, and described supply module can be a battery.Certainly, described micro-control unit can also for example be converted to the power supply power supply by the rf modulations demodulation module with radio-frequency (RF) energy by the power supply of radio frequency energy delivered.
Further, described rf modulations demodulation module can be a non-contact read-write chip NXPPN531.Described micro-control unit can be the MCU of MSP430 for a model.The input/output terminal IO of described rf modulations demodulation module 200 connects the input/output terminal IO of described MCU, and the CMD of described MCU, DAT0~3, CLK end and described memory card interface module connect.
The device that passes through the radio frequency non-contact reading and writing memory card that present embodiment provides, make contactless terminal can read and write large-capacity memory card, Contact Type Ic Card or smart card by radio frequency, satisfy the requirement of people by radio frequency read-write large-capacity memory card, provide a convenient, and it is simple in structure, and is easy to operate.
Based on above-mentioned device by the radio frequency non-contact reading and writing memory card, the embodiment of the invention also provides a kind of method by the radio frequency non-contact reading and writing memory card, comprise device by the radio frequency non-contact reading and writing memory card, described device by the radio frequency non-contact reading and writing memory card comprises radio-frequency (RF) receiving and transmission module 100, rf modulations demodulation module 200, the micro-control unit 300 that connects successively, and memory card interface module 400, wherein, as shown in Figure 3, described method comprises step:
601, described radio-frequency (RF) receiving and transmission module receives the radiofrequency signal of contactless terminal reading and writing memory card request, and is first radiofrequency signal with the radiofrequency signal of described contactless terminal reading and writing memory card request coupling;
602, described rf modulations demodulation module receives first radiofrequency signal that described radio-frequency (RF) receiving and transmission module is sent, and described first radiofrequency signal is modulated into first digital signal;
603, described micro-control unit receives first digital signal that described rf modulations demodulation module sends, and converts described first digital signal to storage card read write command signal;
604, described memory card interface module receives the storage card read write command signal that described micro-control unit sends, and described storage card read write command signal is sent to the storage card processing that connects with it.
605, described memory card interface module receives the storage card read-write consequential signal after described storage card is handled, and sends described storage card read-write consequential signal to described micro-control unit;
606, described micro-control unit receives the storage card read-write consequential signal that described memory card interface module sends, and converts described storage card read-write consequential signal to second digital signal and send to described rf modulations demodulation module;
607, described rf modulations demodulation module receives second digital signal that described micro-control unit is sent, and described second digital signal is modulated into second radiofrequency signal sends to described radiofrequency signal transceiver module;
608, second radiofrequency signal that sends over of described radio-frequency (RF) receiving and transmission module received RF modulation module, and described second radiofrequency signal coupling is receivable the 3rd radio frequency signal of contactless terminal, and the 3rd radio frequency signal after described contactless terminal is launched described coupling.
Provided by the invention by radio frequency non-contact reading and writing memory card device and method, make contactless terminal can read and write large-capacity memory card, Contact Type Ic Card or smart card by radio frequency, satisfy the requirement of people by radio frequency read-write large-capacity memory card, provide a convenient, and it is simple in structure, and is easy to operate.
Should be understood that, for those of ordinary skills, can be improved according to the above description or conversion, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.