It is a kind of to have the terminal device that Quick Response Code identification and IC-card are read and write concurrently
Technical field
The utility model belongs to the intelligent payment technical field of public transport, and Quick Response Code identification and IC-card are had concurrently more particularly, to one kind
The terminal device of read-write.
Background technology
Urban public transport is the important infrastructure closely bound up with people's production and living.First develop city public
Traffic is to improve traffic resource utilization ratio altogether, alleviates the important means of traffic congestion.
The vehicle-mounted consumption terminal of IC-card is stored value card using RF IC card, and safe ready, intelligent operation management can be achieved to determine
The multiple functions such as volume, fixed secondary, discount or many tickets, therefore be widely used, RF IC card includes display, voice, data storage, number
According to functions such as upload, downloads.
But the characteristics of RF IC card consumption has certain, these features namely plant shortcoming under certain conditions.
Resident wants to use IC-card, not only to go to business hall to buy card, and normal in use, also needing to fill in the future
Value, it is also possible to which needs are reported the loss, turns card, lifts a ban, and moves back card etc. operation.But above-mentioned a variety of operations, person is not mostly needed to use
Go to business hall to carry out correlation to handle, waste extra time and money.
And the rise of smart mobile phone, then technical another great change has been brought, the life of people is being affected.Instantly
Society, mobile phone A PP applications have become a part indispensable in most of people's lives, and Alipay is paid, wechat branch
Pay etc. give people provide digitized means of payment.This means of payment are applied to Public Transport Trade, compared to tradition
Mass transit card have following advantage:
The existing way of mobile phone two-dimension code is electronic image, and the damage in the absence of physics cards such as demagnetization, folding evil ideas may;
Quick Response Code is encrypted according to related consumer information by mobile phone A PP and generated, and within one minute effectively, security pole
Height, and the cost that need not be applied for card;
Consumer is by mobile phone A PP or webpage, and the technology such as on-line payment is combined, consumer just can on mobile phone from
The payment for realizing ticket fee by bus is helped, configuration and the counter service of counter service personnel is thus eliminated, issued for IC-card
Human cost, Material Cost and monetary cost are eliminated for company, sales counter transacting business can be saved for consumer
Time cost.
The content of the invention
In view of this, the utility model is directed to a kind of terminal device for having Quick Response Code identification and IC-card read-write concurrently, leads to
Cross Quick Response Code identification module and expand payment method of riding, further realize that intelligence is paid and experienced by bus there is provided comprehensive.
To reach above-mentioned purpose, what the technical solution of the utility model was realized in:
It is a kind of have concurrently Quick Response Code identification and IC-card read and write terminal device, including IC-card identification terminal and with IC-card recognize
The two-dimension code identification terminal of terminal electrical connection;
The IC-card identification terminal includes the power supply that processor MCU1 and the processor MCU1 are electrically connected by pin
Control module, voice module, RF radio frequencies module for reading and writing, data memory module, SAM cards module for reading and writing, Keysheet module, display mould
Block;
The two-dimension code identification terminal includes processor MCU2 and electrically connected by pin with the processor MCU2
Energy supply control module, Quick Response Code identification module, memory module, 3G/4G modules;
The IC-card identification terminal transmits data to IC-card background server end by wireless network;
The two-dimension code identification terminal transmits data to Quick Response Code background server by wireless network.
Further, the IC-card identification terminal is electrically connected by RS485 with the two-dimension code identification terminal by pin.
Further, the processor MCU1 is single-chip microcomputer.
Further, the processor MCU2 is i.MX287.
Relative to prior art, a kind of terminal device for having Quick Response Code identification and IC-card read-write concurrently described in the utility model
Have the advantage that:
(1) the utility model enriches means of payment, can make full payment terminal on bus by assembling convenience
Flexible assembling;
(2) the utility model exempts IC-card issuing cost using Quick Response Code identification technology, exempts counter service personnel's kimonos
Business cost, Quick Response Code is generated by the self-service bookings of mobile phone A PP, and passenger can be ridden by scanning Quick Response Code directly checking, be carried
High efficiency by bus, facilitates passenger's trip;
(3) the utility model improves data processing speed by setting two processors;
(4) the utility model realizes multichannel communication by 3G/4G modules, and transmits data to multiple server ends,
Improve communication efficiency and data processing and storage efficiency.
Brief description of the drawings
Constitute a part of accompanying drawing of the present utility model to be used for providing further understanding to of the present utility model, this practicality is new
The schematic description and description of type is used to explain the utility model, does not constitute to improper restriction of the present utility model.
In accompanying drawing:
Fig. 1 is a kind of terminal device principle for having Quick Response Code identification and IC-card read-write concurrently described in the utility model embodiment
Block diagram;
Fig. 2 is a kind of terminal device connection for having Quick Response Code identification and IC-card read-write concurrently described in the utility model embodiment
Schematic diagram.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the utility model can
To be mutually combined.
In description of the present utility model, it is to be understood that term " " center ", " longitudinal direction ", " transverse direction ", " on ", " under ",
The orientation or position relationship of the instruction such as "front", "rear", "left", "right", " vertical ", " level ", " top ", " bottom ", " interior ", " outer " are
Based on orientation shown in the drawings or position relationship, it is for only for ease of description the utility model and simplifies description, rather than indicate
Or imply that the device or element of meaning must have specific orientation, with specific azimuth configuration and operation, therefore be not understood that
For to limitation of the present utility model.In addition, term " first ", " second " etc. are only used for describing purpose, and it is not intended that indicating
Or imply relative importance or the implicit quantity for indicating indicated technical characteristic.Thus, " first ", " second " etc. are defined
Feature can express or implicitly include one or more this feature.In description of the present utility model, unless separately
It is described, " multiple " are meant that two or more.
, it is necessary to which explanation, unless otherwise clearly defined and limited, term " are pacified in description of the present utility model
Dress ", " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected or be detachably connected, or integratedly
Connection;Can be mechanical connection or electrical connection;Can be joined directly together, can also be indirectly connected to by intermediary,
It can be the connection of two element internals.For the ordinary skill in the art, on being understood by concrete condition
State concrete meaning of the term in the utility model.
Describe the utility model in detail below with reference to the accompanying drawings and in conjunction with the embodiments.
As shown in Figure 1, 2, it is a kind of have concurrently Quick Response Code identification and IC-card read and write terminal device, including IC-card identification terminal with
And the two-dimension code identification terminal electrically connected with IC-card identification terminal;The IC-card identification terminal passes through RS485 and the Quick Response Code
Identification terminal is electrically connected by pin;
The IC-card identification terminal includes the power supply that processor MCU1 and the processor MCU1 are electrically connected by pin
Control module, voice module, RF radio frequencies module for reading and writing, data memory module, SAM cards module for reading and writing, Keysheet module, display mould
Block;The processor MCU1 is single-chip microcomputer;
The two-dimension code identification terminal includes processor MCU2 and electrically connected by pin with the processor MCU2
Energy supply control module, Quick Response Code identification module, memory module, 3G/4G modules;The processor MCU2 is i.MX287.
The IC-card identification terminal transmits data to IC-card background server end by wireless network.
The two-dimension code identification terminal transmits data to Quick Response Code background server by wireless network.
The course of work of the present utility model is as follows:
There is terminal device described in the utility model Quick Response Code to pay and IC-card payment function, can both carry out IC-card reading
Write operation, can also carry out the display operation of the voice after Quick Response Code consumption.
1st, IC-card read-write operation idiographic flow is:IC-card by initialization, hair fastener, sell card, supplement with money after, card memory storage chip
Memory storage, holder presses close to the RF radio frequency module for reading and writing of terminal device, and RF radio frequency module for reading and writing detects IC-card and enters recognizable
In the range of, the information such as hair fastener serial number, IC-card hair fastener MAC value, the card term of validity, Card Type in IC-card is read, these information are sent
The card validity judgement of correlation is carried out in processor MCU1, after validity judgement, then the interior wallet balances information of card is carried out
Read, the various consumption prestored in memory module will be extracted by judging in wallet balances information sending processor MCU1 in card
Rule, then carry out judging wallet balances whether Sorry, your ticket has not enough value, if under conditions of remaining sum is met, consumption initialization is sent to IC-card
With consumption order, after the completion of confirmation, in a storage module, MCU sends display module and voice module to storage consumer record afterwards
Information, display module sends display, and voice module sends voice prompt, completes process of consumption.Processor MCU1 is in 3G, 4G network
After information channel is set up, IC-card background server is sent to by realizing that the agreement of setting passes the record of storage in a storage module,
IC-card background server end can carry out sorting, clearance according to record, draw the operation such as account.
2nd, Quick Response Code identification operation idiographic flow is:Consumer selects corresponding circuit fare information by mobile phone A PP,
Quick Response Code background server is shown on interface by the ticket fee calculated by bus, and consumer is realized by on-line payment technology
Ticket fee is paid, and Quick Response Code of the mobile phone A PP generations with this riding information, consumer arrived corresponding line vehicle in 1 minute
On hold Quick Response Code and press close to the Quick Response Code identification module of terminal device and be scanned identification, Quick Response Code identification module detects Quick Response Code
Into in recognizable set, consumption information in Quick Response Code is read, the consumption of correlation will be carried out in consumption information sending processor MCU2
Information validity judgement, after validity judgement, after processor MCU2 judgements are legal, stored record in a storage module, is located
Manage device MCU2 and send display module and voice module information to processor MCU1, display module sends display, and voice module is sent
Voice prompt, completes process of consumption.Led between processor MCU1 and processor MCU2 by 485 set half-duplex modes
News.Processor MCU2 will be stored in memory module after 3G, 4G network information Path Setup by the agreement for realizing setting
Record is sent to Quick Response Code background server end, is sent to while IC-card in processor MCU1 also is consumed into the consumer record to be formed
IC-card background server end, background server end can carry out sorting, clearance according to record, draw the operation such as account.
Terminal device comparatively has Quick Response Code identification concurrently to the utility model compared with prior art and IC-card read-write two is big
Feature, while having the features that Quick Response Code identification and IC-card are read and write, by the read-write feature of two ways, form mutual assisting vehicle
System, is preferably consumer and Ka company services.
Preferred embodiment of the present utility model is the foregoing is only, it is all at this not to limit the utility model
Within the spirit and principle of utility model, any modifications, equivalent substitutions and improvements made etc. should be included in the utility model
Protection domain within.