CN103136557A - Card writing method and card reading and writing system - Google Patents

Card writing method and card reading and writing system Download PDF

Info

Publication number
CN103136557A
CN103136557A CN2013100677493A CN201310067749A CN103136557A CN 103136557 A CN103136557 A CN 103136557A CN 2013100677493 A CN2013100677493 A CN 2013100677493A CN 201310067749 A CN201310067749 A CN 201310067749A CN 103136557 A CN103136557 A CN 103136557A
Authority
CN
China
Prior art keywords
card
writer
bluetooth
card reader
write
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
CN2013100677493A
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.)
SHENZHEN YIPUSEN TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN YIPUSEN TECHNOLOGY Co 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 SHENZHEN YIPUSEN TECHNOLOGY Co Ltd filed Critical SHENZHEN YIPUSEN TECHNOLOGY Co Ltd
Priority to CN2013100677493A priority Critical patent/CN103136557A/en
Publication of CN103136557A publication Critical patent/CN103136557A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a card writing method and a card writing and reading system. According to the method, a terminal of the Android system is operated to control a card reading and writing device through the Bluetooth to write card information into a card. The method carrying our card reading and writing through the Bluetooth includes: the terminal is connected with the card reading and writing device through the Bluetooth; the terminal judges the type of the card through the card reading and writing device; the terminal acquires the reading and writing state of the card through the card reading and writing device to judge whether the card can be written in; and if the card can be written in, the terminal sends an instruction to the card reading and writing device to carry out writing in the card. Information transmission between the card reading and writing device and the Android system is carried out through the Bluetooth, so that wireless connection between the Android system and the card reading and writing device is achieved, and the problem that in the prior art, a mobile self-service terminal adopting the Android system is poor in mobility is avoided.

Description

A kind of card writing method and read-write card system
Technical field
The present invention relates to communication field, relate in particular to a kind of card writing method and read-write card system.
Background technology
Along with the use of Android system in the Mobile self-service terminal of every profession and trade, each business function of corresponding A ndroid system is also continually developed, wherein, the hair fastener business is traditional front-end business, coordinates the card reader/writer of Android system to use in the prior art very wide.But, the Android system of prior art due to multiplex in the Mobile self-service terminal, so wired card reader/writer of the prior art uses very inconvenient, mobility is poor, and bluetooth card reader/writer of the prior art all is based on the WINDOWS system, not based on the function of reading and writing by bluetooth of Android system.
Summary of the invention
The technical problem to be solved in the present invention is to overcome the deficiency that above-mentioned prior art exists, and proposes a kind of card writing method and read-write card system, to solve the poor problem of bluetooth read-write mobility based on the Android system of the prior art.
For solving the problems of the technologies described above, the present invention proposes a kind of card writing method, and the terminal of operation Android system writes card image by the Bluetooth control card reader/writer in card, and the described method of writing card comprises: described terminal connects card reader/writer by bluetooth; Described terminal judges type of card by card reader/writer; Can described terminal obtain the card read-write state by card reader/writer and write with the judgement card; If can be described terminal sends instruction and carries out card to card reader/writer and write card image.
Preferably, terminal comprises by the step that bluetooth connects card reader/writer: described terminal sends link information by bluetooth to card reader/writer; Described terminal and bluetooth card reader/writer match; Described terminal is accepted the successful matching information of card reader/writer feedback.
Preferably, terminal judges that by card reader/writer the step of type of card comprises: described terminal sends instruction by bluetooth and to card reader/writer, the card in card reader/writer is carried out electrification reset; Described terminal is accepted the ATR information of card reader/writer feedback by bluetooth.
Preferably, can terminal obtain the card read-write state by card reader/writer and comprise with the judgement card step that write: described terminal sends instruction to card reader/writer by bluetooth, reads card mode information by card reader/writer; Described terminal is accepted the card mode information of card reader/writer feedback by bluetooth; Can described terminal judges card write.
Preferably, carry out the step that card writes to card reader/writer and comprise if can be described terminal sends instruction: described terminal sends instruction by bluetooth and carries out card to card reader/writer with the control card reader/writer and write card image; Described terminal is write the card successful information by what bluetooth was accepted card reader/writer feedback.
The present invention also provides a kind of read-write card system, and described read-write card system comprises terminal and bluetooth card reader/writer, and described terminal comprises the processor of operation Android system, described terminal be connected card reader/writer and connect by bluetooth.
Preferably, the bluetooth card reader/writer comprises: controller; The bluetooth serial ports converter, described bluetooth serial ports converter connects described controller, and described bluetooth serial ports converter is accepted instruction and is converted the signal type of controller to; Signal level converter, described signal level converter connects described controller, and the signal that described controller sends is changed; The IC-card seat, described IC-card seat connects described signal level converter, and described IC-card seat carries out read-write operation to IC-card.
Preferably, the bluetooth card reader/writer also comprises a power supply, and said power supply provides described bluetooth card reader/writer electric power.
Preferably, the bluetooth card reader/writer also comprises an electric pressure converter, and described electric pressure converter is connected between described power supply and described controller.
Preferably, power supply is 5V, and described electric pressure converter is transformed into 3.3V with supply voltage by 5V.
Compared with prior art, beneficial effect of the present invention comprises: the present invention is transmitted information between card reader/writer and Android system by bluetooth, thereby realized the wireless connections between Android system and card reader/writer, avoided the poor problem of mobility of the Mobile self-service terminal of employing of the prior art Android system.
Description of drawings
Fig. 1 is the process flow diagram of the method for writing card of the embodiment of the present invention.
Fig. 2 is the particular flow sheet of the step S1 of Fig. 1.
Fig. 3 is the particular flow sheet of the step S2 of Fig. 1.
Fig. 4 is the particular flow sheet of the step S3 of Fig. 1.
Fig. 5 is the particular flow sheet of the step S4 of Fig. 1.
Fig. 6 is the structured flowchart of the read-write card system of the embodiment of the present invention.
Description of drawings: controller 11, signal level converter 12, IC-card seat 13, bluetooth serial ports converter 14, power supply 15, electric pressure converter 16 and terminal 2.
Embodiment
In order to further illustrate principle of the present invention and structure, existing by reference to the accompanying drawings to a preferred embodiment of the present invention will be described in detail.
See also Fig. 1, the invention provides a kind of method of writing card, the terminal of the method operation Android system writes card image by the Bluetooth control card reader/writer in card, and described card writing method comprises:
Step S1: described terminal connects card reader/writer by bluetooth.
See also Fig. 2, step S1 comprises: step S11: described terminal sends link information by bluetooth to card reader/writer.
When needs used, at first the Android system sent link information to card reader/writer, and card reader/writer is ready to be connected with the Android system like this.
Step S12: described terminal and bluetooth card reader/writer match.
After card reader/writer receives link information, card reader/writer and Android system match, the effect of pairing is the correctness that guarantees connection, because connecting by bluetooth is wireless connections, when a plurality of bluetooth card reader/writer was arranged, pairing can be avoided occurring being connected on other bluetooth card reader/writer.
Step S13: described terminal is accepted the successful matching information of card reader/writer feedback.
After card reader/writer successfully matches and is connected to the Android system, feed back an information, represent the bluetooth successful connection after the Android system receives.
Step S2: described terminal judges type of card by card reader/writer.
See also Fig. 3, step S2 comprises: step S21: described terminal sends instruction by bluetooth and to card reader/writer, the card in card reader/writer is carried out electrification reset;
Electrification reset plays an initialized effect here, and the chip of card is restarted.
Step S22: described terminal is accepted the ATR information of card reader/writer feedback by bluetooth.
Can produce a series of character string (being ATR information) after the chip reset of card, to the Android system, the Android system judges the type of card to card reader/writer by ATR information with these ATR communications.
Step S3: can described terminal obtain the card read-write state by card reader/writer and write with the judgement card;
See also Fig. 4, step S3 comprises:
Step S31: described terminal sends instruction to card reader/writer by bluetooth, reads card mode information by card reader/writer.
In the chip of card, some data has represented the status information of card, and card reader/writer can read this part information.
Step S32: described terminal is accepted the card mode information of card reader/writer feedback by bluetooth.
The card mode information that the Android system receives feedback is namely known the state of card, judges then whether the storage of card is full.
Step S33: can described terminal judges card write.
Step S4: carry out card to card reader/writer and write card image if can be described terminal sends instruction.In the present embodiment, if the transmission of card instruction can not can not be write, in other embodiments, can add other response mode, such as sending prompting.
See also Fig. 5, step S4 comprises: step S41: described terminal sends instruction by bluetooth and carries out card and write card image to control card reader/writer to card reader/writer.
Step S42: described terminal is write the card successful information by what bluetooth was accepted card reader/writer feedback.
When writing when complete, card reader/writer can feed back one and write the card successful information, just can learn after the Android system has received to have write successfully.
In once writing the card process normally, step S4 need to carry out repeatedly.
The present invention also provides a kind of read-write card system, sees also Fig. 6, and described read-write card system comprises terminal 2 and bluetooth card reader/writer 1, described terminal 2 be connected card reader/writer 1 and connect by bluetooth.
Bluetooth card reader/writer 1, described bluetooth card reader/writer comprises controller 11, signal level converter 12, IC-card seat 13, bluetooth serial ports converter 14, power supply 15 and electric pressure converter 16.
Controller 11, the effect of controller 11 are other all parts of operation bluetooth card reader/writer, and process information.In the present embodiment, controller 11 is single-chip microcomputer, and concrete signal is STC89C52, and in other embodiments, the concrete model of controller 1 can change.
Signal level converter 12, described signal level converter 12 connects described controller 11, the signal that described controller 11 is sent carries out level conversion, because the level of the signal of controller 11 output is different from the level of IC-card seat, so need signal level converter 12 to change.
In the present embodiment, IC-card seat 13, described IC-card seat 13 connects described signal level converter 12, and 13 pairs of IC-cards of described IC-card seat carry out read-write operation.
Bluetooth serial ports converter 14, described bluetooth serial ports converter 14 connects described controller 11, and described bluetooth serial ports converter 14 is accepted instruction and is converted the signal type of controller 11 to.
Power supply 15, said power supply 15 provide described bluetooth card reader/writer electric power.In the present embodiment, power supply 15 is 5V, in other embodiments, can adopt the power supply of different voltages according to the difference of each accessory.In the present embodiment, power supply 15 is dry cell, and in other embodiments, power supply 15 can be other power supply type.
Electric pressure converter 16, described electric pressure converter 16 is connected between described power supply 15 and described controller 11.So the power supply that needs due to controller 11 is 3.3V, electric pressure converter 16 is converted to 3.3V with the 5V of power supply 15 inputs.
Described terminal 2 comprises the processor (not shown) of operation Android system.
The Android system of terminal 2 sends instruction by bluetooth to bluetooth card reader/writer 1, matches, checks that card mode information has write etc. function.
In sum, the present invention is transmitted information between card reader/writer and Android system by bluetooth, thereby realized the wireless connections between Android system and card reader/writer, avoided the poor problem of mobility of the Mobile self-service terminal of employing of the prior art Android system.
The above is only better possible embodiments of the present invention, and unrestricted protection scope of the present invention.Every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to do, or directly or indirectly be used in other relevant technical fields, all in like manner be included in scope of patent protection of the present invention.

Claims (10)

1. a card writing method, is characterized in that, the terminal of operation Android system writes card image by the Bluetooth control card reader/writer in card, and the described method of writing card comprises:
Described terminal connects card reader/writer by bluetooth;
Described terminal judges type of card by card reader/writer;
Can described terminal obtain the card read-write state by card reader/writer and write with the judgement card;
If can be described terminal sends instruction and carries out card to card reader/writer and write card image.
2. card writing method according to claim 1, is characterized in that, described terminal comprises by the step that bluetooth connects card reader/writer:
Described terminal sends link information by bluetooth to card reader/writer;
Described terminal and bluetooth card reader/writer match;
Described terminal is accepted the successful matching information of card reader/writer feedback.
3. card writing method according to claim 1, is characterized in that, described terminal judges that by card reader/writer the step of type of card comprises:
Described terminal sends instruction by bluetooth and to card reader/writer, the card in card reader/writer is carried out electrification reset;
Described terminal is accepted the ATR information of card reader/writer feedback by bluetooth.
4. card writing method according to claim 1, is characterized in that, described terminal obtains the card read-write state by card reader/writer and comprises with the step that can the judgement card write:
Described terminal sends instruction to card reader/writer by bluetooth, reads card mode information by card reader/writer;
Described terminal is accepted the card mode information of card reader/writer feedback by bluetooth;
Can described terminal judges card write.
5. card writing method according to claim 1, is characterized in that, carries out the step that card writes to card reader/writer and comprise if described described terminal sends instruction:
Described terminal sends instruction by bluetooth and carries out card and write card image to control card reader/writer to card reader/writer;
Described terminal is write the card successful information by what bluetooth was accepted card reader/writer feedback.
6. a read-write card system, is characterized in that, described read-write card system comprises terminal and bluetooth card reader/writer, and described terminal comprises the processor of operation Android system, described terminal be connected card reader/writer and connect by bluetooth.
7. read-write card according to claim 6 system, is characterized in that, described bluetooth card reader/writer comprises:
Controller;
The bluetooth serial ports converter, described bluetooth serial ports converter connects described controller, and described bluetooth serial ports converter is accepted instruction and is converted the signal type of controller to;
Signal level converter, described signal level converter connects described controller, and the signal that described controller sends is changed;
The IC-card seat, described IC-card seat connects described signal level converter, and described IC-card seat carries out read-write operation to IC-card.
8. read-write card according to claim 7 system, is characterized in that, described bluetooth card reader/writer also comprises a power supply, and said power supply provides described bluetooth card reader/writer electric power.
9. read-write card according to claim 8 system, is characterized in that, described bluetooth card reader/writer also comprises an electric pressure converter, and described electric pressure converter is connected between described power supply and described controller.
10. read-write card according to claim 9 system, is characterized in that, described power supply is 5V, and described electric pressure converter is transformed into 3.3V with supply voltage by 5V.
CN2013100677493A 2013-03-04 2013-03-04 Card writing method and card reading and writing system Pending CN103136557A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100677493A CN103136557A (en) 2013-03-04 2013-03-04 Card writing method and card reading and writing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100677493A CN103136557A (en) 2013-03-04 2013-03-04 Card writing method and card reading and writing system

Publications (1)

Publication Number Publication Date
CN103136557A true CN103136557A (en) 2013-06-05

Family

ID=48496365

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100677493A Pending CN103136557A (en) 2013-03-04 2013-03-04 Card writing method and card reading and writing system

Country Status (1)

Country Link
CN (1) CN103136557A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115828972A (en) * 2023-02-22 2023-03-21 广州市易售宝互联网科技有限公司 Method and system for simultaneously reading and writing multiple cards and intelligent terminal
CN116318270A (en) * 2023-02-16 2023-06-23 惠州市乐亿通科技有限公司 Bluetooth-written serial port tool

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1041520A2 (en) * 1999-03-29 2000-10-04 Nokia Mobile Phones Ltd. Transfer of electronic money
CN1489755A (en) * 2001-02-08 2004-04-14 ��˹��ŵ�� Smart card reader
CN101316118A (en) * 2007-05-29 2008-12-03 上海市七宝中学 Wireless data transmission device and method
CN201278548Y (en) * 2008-05-09 2009-07-22 北京宇浩通达科贸有限公司 Multi-industry intelligent handhold terminal
CN101699416A (en) * 2009-10-30 2010-04-28 北京飞天诚信科技有限公司 Communication method and system between host computer and card reader with multiple card holders
CN101706864A (en) * 2009-11-23 2010-05-12 北京飞天诚信科技有限公司 Method for identifying logical encryption card
CN202166938U (en) * 2011-05-30 2012-03-14 信亿科技股份有限公司 Expansion handle of tablet personal computer
CN202632309U (en) * 2012-06-18 2012-12-26 成都鼎安华物联网工程应用有限公司 Portable card reader
CN203054889U (en) * 2013-03-04 2013-07-10 深圳市易普森科技有限公司 Read-write card system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1041520A2 (en) * 1999-03-29 2000-10-04 Nokia Mobile Phones Ltd. Transfer of electronic money
CN1489755A (en) * 2001-02-08 2004-04-14 ��˹��ŵ�� Smart card reader
CN101316118A (en) * 2007-05-29 2008-12-03 上海市七宝中学 Wireless data transmission device and method
CN201278548Y (en) * 2008-05-09 2009-07-22 北京宇浩通达科贸有限公司 Multi-industry intelligent handhold terminal
CN101699416A (en) * 2009-10-30 2010-04-28 北京飞天诚信科技有限公司 Communication method and system between host computer and card reader with multiple card holders
CN101706864A (en) * 2009-11-23 2010-05-12 北京飞天诚信科技有限公司 Method for identifying logical encryption card
CN202166938U (en) * 2011-05-30 2012-03-14 信亿科技股份有限公司 Expansion handle of tablet personal computer
CN202632309U (en) * 2012-06-18 2012-12-26 成都鼎安华物联网工程应用有限公司 Portable card reader
CN203054889U (en) * 2013-03-04 2013-07-10 深圳市易普森科技有限公司 Read-write card system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
隋亚刚等: "《智能交通应用于发展第九届多国城市交通学术会议论文集》", 31 January 2006 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116318270A (en) * 2023-02-16 2023-06-23 惠州市乐亿通科技有限公司 Bluetooth-written serial port tool
CN115828972A (en) * 2023-02-22 2023-03-21 广州市易售宝互联网科技有限公司 Method and system for simultaneously reading and writing multiple cards and intelligent terminal
CN115828972B (en) * 2023-02-22 2023-06-16 广州市易售宝互联网科技有限公司 Method and system for simultaneously reading and writing multiple cards and intelligent terminal

Similar Documents

Publication Publication Date Title
JP6193859B2 (en) RFID card management method and terminal
CN205680208U (en) A kind of single node bluetooth controlled in wireless self-help terminal equipment
CN104375855A (en) Device and method for upgrading firmware through storage devices on basis of multiple vehicle-mounted MCUs
CN202956753U (en) Programming device and programming system of flash memory chip in embedded system
CN104239097B (en) A kind of method, system and mobile terminal by updating mobile terminal accessory
CN103559523B (en) The contactless read-write device realized based on SWP SE and method
CN105741208A (en) NFC based intelligent teaching management system and method
CN105891764A (en) Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication
CN105184337B (en) A kind of NFC device carries out application of IC cards detection method and system
CN111756858A (en) Remote development processing system, method and device of embedded equipment
CN103136557A (en) Card writing method and card reading and writing system
CN203054889U (en) Read-write card system
WO2016026468A1 (en) Identification card
CN102647710A (en) Wireless communication device
CN201845341U (en) General card reader
CN107807889A (en) A kind of method of USB device and USB device driving initialization
CN202523087U (en) Radio frequency identification (RFID)-based self-service voice system
CN203941532U (en) A kind of portable IC card read-write equipment
CN106584862A (en) 3D printing WIFI control system with built-in Web service and control method thereof
CN203733139U (en) Combined card reader with SWP interface
CN105427457A (en) IC card-based offline charge management system and method
CN105611668A (en) Intelligent lighting control system and method for acquiring networking data
CN206039701U (en) Data communication system of IC -card table
CN102637398B (en) Self-service audio system based on RFID (radio frequency identification) and digital redirection technology
CN104156761A (en) ID card data transmission system and method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: Futian District shinsa street Shenzhen city Guangdong province 518000 No. 6 6 floor

Applicant after: SHENZHEN EPS TECHNOLOGY CO., LTD.

Address before: Futian District shinsa street Shenzhen city Guangdong province 518000 No. 6 6 floor

Applicant before: Shenzhen Yipusen Technology Co., Ltd.

COR Change of bibliographic data
CB02 Change of applicant information

Address after: 518000 Guangdong city of Shenzhen province Nanshan District South nine road No. 9 Business Park No. 1 floor 3 East Wing room 03A-2

Applicant after: SHENZHEN EPS TECHNOLOGY CO., LTD.

Address before: Futian District shinsa street Shenzhen city Guangdong province 518000 No. 6 6 floor

Applicant before: SHENZHEN EPS TECHNOLOGY CO., LTD.

COR Change of bibliographic data
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130605