Movatterモバイル変換


[0]ホーム

URL:


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
CN103136557ACN2013100677493ACN201310067749ACN103136557ACN 103136557 ACN103136557 ACN 103136557ACN 2013100677493 ACN2013100677493 ACN 2013100677493ACN 201310067749 ACN201310067749 ACN 201310067749ACN 103136557 ACN103136557 ACN 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 LtdfiledCriticalSHENZHEN YIPUSEN TECHNOLOGY Co Ltd
Priority to CN2013100677493ApriorityCriticalpatent/CN103136557A/en
Publication of CN103136557ApublicationCriticalpatent/CN103136557A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

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, bluetoothserial 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 comprisescontroller 11,signal level converter 12, IC-card seat 13, bluetoothserial ports converter 14,power supply 15 andelectric pressure converter 16.
Controller 11, the effect ofcontroller 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, describedsignal level converter 12 connects describedcontroller 11, the signal that describedcontroller 11 is sent carries out level conversion, because the level of the signal ofcontroller 11 output is different from the level of IC-card seat, so needsignal level converter 12 to change.
In the present embodiment, IC-card seat 13, described IC-card seat 13 connects describedsignal level converter 12, and 13 pairs of IC-cards of described IC-card seat carry out read-write operation.
Bluetoothserial ports converter 14, described bluetoothserial ports converter 14 connects describedcontroller 11, and described bluetoothserial ports converter 14 is accepted instruction and is converted the signal type ofcontroller 11 to.
Power supply 15, saidpower 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, describedelectric pressure converter 16 is connected between describedpower supply 15 and described controller 11.So the power supply that needs due tocontroller 11 is 3.3V,electric pressure converter 16 is converted to 3.3V with the 5V ofpower 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)

CN2013100677493A2013-03-042013-03-04Card writing method and card reading and writing systemPendingCN103136557A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN2013100677493ACN103136557A (en)2013-03-042013-03-04Card writing method and card reading and writing system

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN2013100677493ACN103136557A (en)2013-03-042013-03-04Card writing method and card reading and writing system

Publications (1)

Publication NumberPublication Date
CN103136557Atrue CN103136557A (en)2013-06-05

Family

ID=48496365

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN2013100677493APendingCN103136557A (en)2013-03-042013-03-04Card writing method and card reading and writing system

Country Status (1)

CountryLink
CN (1)CN103136557A (en)

Cited By (2)

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

Citations (9)

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

Patent Citations (9)

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

Non-Patent Citations (1)

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

Cited By (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN116318270A (en)*2023-02-162023-06-23惠州市乐亿通科技有限公司Bluetooth-written serial port tool
CN116318270B (en)*2023-02-162024-05-10惠州市乐亿通科技股份有限公司Bluetooth writing serial port tool and use method thereof
CN115828972A (en)*2023-02-222023-03-21广州市易售宝互联网科技有限公司Method and system for simultaneously reading and writing multiple cards and intelligent terminal
CN115828972B (en)*2023-02-222023-06-16广州市易售宝互联网科技有限公司Method and system for simultaneously reading and writing multiple cards and intelligent terminal

Similar Documents

PublicationPublication DateTitle
CN104620564B (en)Apparatus and method for the transmission of the multi-protocol data element via the interface using data tunnel
CN205680208U (en)A kind of single node bluetooth controlled in wireless self-help terminal equipment
CN103559523B (en)The contactless read-write device realized based on SWP SE and method
CN114339700B (en) An intelligent gateway for managing downstream devices based on Hongmeng system and NFC technology
CN105891764A (en)Watt-hour meter data intelligent reading-writing device and watt-hour meter data intelligent reading-writing method based on Bluetooth communication
CN101916950A (en) Secure Chip Hub
CN102982270A (en)Computer fingerprint login system based on BIOS (basic input / output system)
CN103136557A (en)Card writing method and card reading and writing system
CN106354597B (en)A kind of interface circuit and method for supporting SWP and 7816 interfaces while debugging
CN203054889U (en)Read-write card system
WO2016026468A1 (en)Identification card
CN101004782A (en)Intelligent interface of identity card reader
CN104252631A (en)Electronic device and control method of the electronic device
CN102647710A (en)Wireless communication device
CN102568602B (en)Flash memory development system
CN204496480U (en)A kind ofly realize that mobile phone is made out an invoice, certification, printing communication connecting apparatus
US20060208096A1 (en)Flash memory expansion device & method
CN104809494A (en)Tag assembly, method for carrying out burning on tag assembly and electronic system
CN111555943B (en)Intelligent household infrared control system
CN107807889A (en)A kind of method of USB device and USB device driving initialization
CN209134501U (en)A kind of multichannel telephone system
CN203151171U (en)Mobile power supply device with expansion function
CN202404624U (en)Mobile phone plug-in RFID (radio frequency identification) reader-writer based on bluetooth communication
CN106584862A (en)3D printing WIFI control system with built-in Web service and control method thereof
CN206039701U (en)Data communication system of IC -card table

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
CB02Change 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.

CORChange of bibliographic data
CB02Change 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.

CORChange of bibliographic data
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20130605


[8]ページ先頭

©2009-2025 Movatter.jp